local Rayfield = loadstring(game:HttpGet("https://sirius.menu/gen2"))() local Window = Rayfield:CreateWindow({ name = "Script stuff", subtitle = "" }) local Tab = Window:CreateTab({ name = "error checker" }) Tab:CreateButton({ name = "Check for Errors", callback = function() pcall(function() game:GetService("StarterGui"):SetCore("DevConsoleVisible", true) end) end }) local ExploitTab = Window:CreateTab({ name = "exploit" }) local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local Workspace = game:GetService("Workspace") local LocalPlayer = Players.LocalPlayer local Camera = Workspace.CurrentCamera local States = { Fly = false, FlySpeed = 50, Noclip = false, InfJump = false, ESP = false, Aimbot = false, WalkSpeed = 16, JumpPower = 50 } local Connections = {} local ESPObjects = {} local function getCharParts() local char = LocalPlayer.Character if not char then return nil, nil, nil end return char, char:FindFirstChildOfClass("Humanoid"), char:FindFirstChild("HumanoidRootPart") end ExploitTab:CreateToggle({ name = "Fly", value = false, callback = function(val) States.Fly = val local char, hum, root = getCharParts() if val and root and hum then local bv = Instance.new("BodyVelocity") bv.Name = "RayfieldFlyVel" bv.MaxForce = Vector3.new(9e9, 9e9, 9e9) bv.Velocity = Vector3.zero bv.Parent = root local bg = Instance.new("BodyGyro") bg.Name = "RayfieldFlyGyro" bg.MaxTorque = Vector3.new(9e9, 9e9, 9e9) bg.P = 9e4 bg.CFrame = Camera.CFrame bg.Parent = root hum.PlatformStand = true Connections.Fly = RunService.RenderStepped:Connect(function() if not States.Fly then return end local _, curHum, curRoot = getCharParts() if not curRoot or not curHum then return end local camCF = Camera.CFrame bg.CFrame = camCF local moveDir = curHum.MoveDirection if moveDir.Magnitude > 0 then local forward = camCF.LookVector local right = camCF.RightVector local flatForward = Vector3.new(forward.X, 0, forward.Z).Unit local flatRight = Vector3.new(right.X, 0, right.Z).Unit local forwardDot = moveDir:Dot(flatForward) local rightDot = moveDir:Dot(flatRight) local flyVec = (forward * forwardDot + right * rightDot) if flyVec.Magnitude > 0 then bv.Velocity = flyVec.Unit * States.FlySpeed else bv.Velocity = Vector3.zero end else bv.Velocity = Vector3.zero end end) else if Connections.Fly then Connections.Fly:Disconnect() Connections.Fly = nil end if hum then hum.PlatformStand = false end if root then if root:FindFirstChild("RayfieldFlyVel") then root.RayfieldFlyVel:Destroy() end if root:FindFirstChild("RayfieldFlyGyro") then root.RayfieldFlyGyro:Destroy() end end end end }) ExploitTab:CreateSlider({ name = "Fly Speed", range = {10, 300}, increment = 5, value = 50, callback = function(val) States.FlySpeed = val end }) ExploitTab:CreateToggle({ name = "Noclip", value = false, callback = function(val) States.Noclip = val if val then Connections.Noclip = RunService.Stepped:Connect(function() if not States.Noclip then return end local char = LocalPlayer.Character if char then for _, part in ipairs(char:GetDescendants()) do if part:IsA("BasePart") and part.CanCollide then part.CanCollide = false end end end end) else if Connections.Noclip then Connections.Noclip:Disconnect() Connections.Noclip = nil end end end }) ExploitTab:CreateToggle({ name = "Infinite Jump", value = false, callback = function(val) States.InfJump = val if val then Connections.InfJump = UserInputService.JumpRequest:Connect(function() if States.InfJump then local _, hum = getCharParts() if hum then hum:ChangeState(Enum.HumanoidStateType.Jumping) end end end) else if Connections.InfJump then Connections.InfJump:Disconnect() Connections.InfJump = nil end end end }) ExploitTab:CreateSlider({ name = "WalkSpeed", range = {16, 250}, increment = 1, value = 16, callback = function(val) States.WalkSpeed = val local _, hum = getCharParts() if hum then hum.WalkSpeed = val end end }) ExploitTab:CreateSlider({ name = "JumpPower", range = {50, 350}, increment = 5, value = 50, callback = function(val) States.JumpPower = val local _, hum = getCharParts() if hum then hum.UseJumpPower = true hum.JumpPower = val end end }) local function clearESP() for _, highlight in pairs(ESPObjects) do if highlight then highlight:Destroy() end end table.clear(ESPObjects) end ExploitTab:CreateToggle({ name = "ESP", value = false, callback = function(val) States.ESP = val if val then Connections.ESP = RunService.Heartbeat:Connect(function() if not States.ESP then return end for _, plr in ipairs(Players:GetPlayers()) do if plr ~= LocalPlayer and plr.Character then if not ESPObjects[plr] or not ESPObjects[plr].Parent then local hl = Instance.new("Highlight") hl.Name = "RayfieldESP" hl.FillColor = Color3.fromRGB(255, 65, 65) hl.OutlineColor = Color3.fromRGB(255, 255, 255) hl.FillTransparency = 0.5 hl.OutlineTransparency = 0 hl.Adornee = plr.Character hl.Parent = plr.Character ESPObjects[plr] = hl end end end end) else if Connections.ESP then Connections.ESP:Disconnect() Connections.ESP = nil end clearESP() end end }) local function getClosestPlayerToCenter() local closestTarget = nil local shortestDist = math.huge local screenCenter = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y / 2) for _, plr in ipairs(Players:GetPlayers()) do if plr ~= LocalPlayer and plr.Character then local head = plr.Character:FindFirstChild("Head") local hum = plr.Character:FindFirstChildOfClass("Humanoid") if head and hum and hum.Health > 0 then local screenPos, onScreen = Camera:WorldToViewportPoint(head.Position) if onScreen then local dist = (Vector2.new(screenPos.X, screenPos.Y) - screenCenter).Magnitude if dist < shortestDist then shortestDist = dist closestTarget = head end end end end end return closestTarget end ExploitTab:CreateToggle({ name = "Aimbot", value = false, callback = function(val) States.Aimbot = val if val then Connections.Aimbot = RunService.RenderStepped:Connect(function() if not States.Aimbot then return end local targetHead = getClosestPlayerToCenter() if targetHead then Camera.CFrame = CFrame.new(Camera.CFrame.Position, targetHead.Position) end end) else if Connections.Aimbot then Connections.Aimbot:Disconnect() Connections.Aimbot = nil end end end }) local GoonTab = Window:CreateTab({ name = "goon" }) GoonTab:CreateButton({ name = "jerk off", callback = function() local p = game:GetService("Players") local rs = game:GetService("RunService") local lp = p.LocalPlayer local s = false local k = {} local function q() local t = Instance.new("Tool") t.Name = "the gooning" t.RequiresHandle = false t.Parent = lp.Backpack return t end local function e(id, t1, t2, id2) local char = lp.Character local hum = char and char:FindFirstChildOfClass("Humanoid") if not hum then return end local a = Instance.new("Animation") a.AnimationId = "rbxassetid://" .. id local tr = hum:LoadAnimation(a) k[id2] = rs.RenderStepped:Connect(function() if s then if tr.TimePosition >= t2 or tr.IsPlaying == false then tr:Play() tr.TimePosition = t1 end else tr:Stop() end end) tr:Play() tr.TimePosition = t1 end local function x() s = true e("72042024", 0.5, 0.9, 1) e("168268306", 1, 1.001, 2) end local function stop() s = false for i, v in pairs(k) do v:Disconnect() end k = {} end lp.CharacterAdded:Connect(function() local old = lp.Backpack:FindFirstChild("Jerk Off") if old then old:Destroy() end local nt = q() nt.Equipped:Connect(x) nt.Unequipped:Connect(stop) end) local st = q() st.Equipped:Connect(x) st.Unequipped:Connect(stop) end }) local DeleteTab = Window:CreateTab({ name = "delete gui" }) DeleteTab:CreateButton({ name = "Delete GUI", callback = function() for _, conn in pairs(Connections) do if conn then conn:Disconnect() end end clearESP() local _, hum, root = getCharParts() if hum then hum.PlatformStand = false hum.WalkSpeed = 16 end if root then if root:FindFirstChild("RayfieldFlyVel") then root.RayfieldFlyVel:Destroy() end if root:FindFirstChild("RayfieldFlyGyro") then root.RayfieldFlyGyro:Destroy() end end Window:Unload() end })