local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local CoreGui = game:GetService("CoreGui")
local player = Players.LocalPlayer
local Window = Rayfield:CreateWindow({
Name = "AXYE Menu",
LoadingTitle = "Loading Menu...",
LoadingSubtitle = "by dupydaj",
ConfigurationSaving = {
Enabled = false,
FolderName = nil,
FileName = "GameHub"
}
})
local MainTab = Window:CreateTab("Main", 4483362458)
local VisualsTab = Window:CreateTab("Visuals", 4483362458)
local ESPEnabled = false
local CustomWalkSpeedEnabled = false
local WalkSpeedValue = 16
local JumpEnabled = false
local JumpPowerValue = 50
local mt = getrawmetatable(game)
local oldNewIndex = mt.__newindex
if setreadonly then setreadonly(mt, false) end
mt.__newindex = newcclosure(function(t, k, v)
if not checkcaller() then
if typeof(t) == "Instance" and t:IsA("Humanoid") then
if k == "WalkSpeed" and CustomWalkSpeedEnabled then
return oldNewIndex(t, k, WalkSpeedValue)
end
if k == "JumpPower" and JumpEnabled then
return oldNewIndex(t, k, JumpPowerValue)
end
end
end
return oldNewIndex(t, k, v)
end)
if setreadonly then setreadonly(mt, true) end
RunService.RenderStepped:Connect(function()
if player.Character then
local humanoid = player.Character:FindFirstChild("Humanoid")
if humanoid then
if CustomWalkSpeedEnabled then
humanoid.WalkSpeed = WalkSpeedValue
end
if JumpEnabled then
humanoid.UseJumpPower = true
humanoid.JumpPower = JumpPowerValue
end
end
end
end)
MainTab:CreateToggle({
Name = "Enable Custom WalkSpeed",
CurrentValue = false,
Flag = "CustomWalkSpeed",
Callback = function(Value)
CustomWalkSpeedEnabled = Value
end,
})
MainTab:CreateSlider({
Name = "WalkSpeed",
Range = {16, 200},
Increment = 1,
Suffix = "Speed",
CurrentValue = 16,
Flag = "WalkSpeedSlider",
Callback = function(Value)
WalkSpeedValue = Value
end,
})
MainTab:CreateToggle({
Name = "Allow Custom Jumping",
CurrentValue = false,
Flag = "CustomJumping",
Callback = function(Value)
JumpEnabled = Value
end,
})
MainTab:CreateSlider({
Name = "JumpPower",
Range = {50, 500},
Increment = 1,
Suffix = "Power",
CurrentValue = 50,
Flag = "JumpPowerSlider",
Callback = function(Value)
JumpPowerValue = Value
end,
})
local ESPFolder = Instance.new("Folder")
ESPFolder.Name = "ModMenuESPFolder"
local success, result = pcall(function() return CoreGui end)
if success and result then
ESPFolder.Parent = CoreGui
else
ESPFolder.Parent = player:WaitForChild("PlayerGui")
end
local espObjects = {}
local function createESPObjects(npc)
if espObjects[npc] then return espObjects[npc] end
local rootPart = npc:WaitForChild("HumanoidRootPart", 5)
if not rootPart then return nil end
local objects = {}
local billboard = Instance.new("BillboardGui")
billboard.Name = "ESP"
billboard.AlwaysOnTop = true
billboard.Size = UDim2.new(0, 100, 0, 50)
billboard.StudsOffset = Vector3.new(0, 3, 0)
billboard.Adornee = rootPart
billboard.Parent = ESPFolder
local textLabel = Instance.new("TextLabel")
textLabel.Size = UDim2.new(1, 0, 1, 0)
textLabel.BackgroundTransparency = 1
textLabel.TextColor3 = Color3.new(1, 0.2, 0.2)
textLabel.TextStrokeTransparency = 0
textLabel.TextStrokeColor3 = Color3.new(0, 0, 0)
textLabel.TextScaled = false
textLabel.TextSize = 14
textLabel.Font = Enum.Font.Code
textLabel.Parent = billboard
local highlight = Instance.new("Highlight")
highlight.Name = "ESPHighlight"
highlight.FillColor = Color3.new(1, 0, 0)
highlight.OutlineColor = Color3.new(1, 1, 1)
highlight.FillTransparency = 0.5
highlight.OutlineTransparency = 0.2
highlight.Adornee = npc
highlight.Parent = ESPFolder
objects.Billboard = billboard
objects.TextLabel = textLabel
objects.Highlight = highlight
espObjects[npc] = objects
return objects
end
local function cleanESP(npc)
if espObjects[npc] then
espObjects[npc].Billboard:Destroy()
espObjects[npc].Highlight:Destroy()
espObjects[npc] = nil
end
end
local function updateESP()
local camera = workspace.CurrentCamera
if not camera then return end
for _, npc in ipairs(workspace:GetChildren()) do
if npc.Name == "NPC" then
local humanoid = npc:FindFirstChild("Humanoid")
local rootPart = npc:FindFirstChild("HumanoidRootPart")
local isValid = ESPEnabled and rootPart and humanoid
if isValid then
local objects = createESPObjects(npc)
if objects then
objects.Billboard.Enabled = true
objects.Highlight.Enabled = true
local dist = math.floor((rootPart.Position - camera.CFrame.Position).Magnitude)
local state = npc:GetAttribute("State")
local stateName = state and tostring(state) or "Enemy"
if humanoid.Health <= 0 then stateName = "Dead" end
objects.TextLabel.Text = stateName .. "\n[" .. dist .. "m]"
local espColor = Color3.new(1, 0, 0)
if state == "Dead" or humanoid.Health <= 0 then
espColor = Color3.new(1, 0, 0)
elseif state == "Idle" then
espColor = Color3.new(0, 1, 0)
elseif state == "Surrendered" then
espColor = Color3.new(1, 1, 0)
end
objects.TextLabel.TextColor3 = espColor
objects.Highlight.FillColor = espColor
end
else
if espObjects[npc] then
espObjects[npc].Billboard.Enabled = false
espObjects[npc].Highlight.Enabled = false
end
end
end
end
for npc, objects in pairs(espObjects) do
if typeof(npc) == "Instance" then
if not npc.Parent then
cleanESP(npc)
end
else
cleanESP(npc)
end
end
end
RunService.RenderStepped:Connect(updateESP)
VisualsTab:CreateToggle({
Name = "Enemy ESP",
CurrentValue = false,
Flag = "ESP",
Callback = function(Value)
ESPEnabled = Value
if Value then
Rayfield:Notify({
Title = "ESP Enabled",
Content = "Enemy ESP is now on.",
Duration = 3,
Image = 4483362458,
})
else
Rayfield:Notify({
Title = "ESP Disabled",
Content = "Enemy ESP is now off.",
Duration = 3,
Image = 4483362458,
})
for _, objects in pairs(espObjects) do
objects.Billboard.Enabled = false
objects.Highlight.Enabled = false
end
end
end,
})
Comments
Thank you i got banned from roblox
Cool script
ass script