local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() local RunService = game:GetService("RunService") local Players = game:GetService("Players") local player = Players.LocalPlayer local camera = workspace.CurrentCamera -- Helper functions local function getHumanoid(plr) return plr.Character and plr.Character:FindFirstChildOfClass("Humanoid") end local function getHRP(plr) return plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") end -- === Window & Tabs === local Window = Rayfield:CreateWindow({ Name = "Jfert Universal", LoadingTitle = "Universal", LoadingSubtitle = "by Jfert", ConfigurationSaving = { Enabled = false, }, Discord = { Enabled = true, Invite = "jdd5dD8qey", RememberJoins = false }, KeySystem = true, KeySettings = { Title = "Key | Jfert Universal", Subtitle = "Key System", Note = "Key In Discord Server discord.gg/jdd5dD8qey", FileName = "JfertHub", SaveKey = false, GrabKeyFromSite = true, Key = {"https://pastebin.com/raw/smb9dymB"} } }) local MainTab = Window:CreateTab("🏠 Home", nil) local MainSection = MainTab:CreateSection("Main") local EspTab = Window:CreateTab("🕶️ Esp's", nil) local EspSection = EspTab:CreateSection("ESP Options") -- === Notifications on load === Rayfield:Notify({ Title = "You executed this script", Content = "Jfert Universal", Duration = 5, Image = 13047715178, Actions = { Ignore = { Name = "Okay!", Callback = function() print("User tapped Okay!") end }, }, }) -- === Infinite Jump === local infiniteJumpActive = false MainTab:CreateButton({ Name = "Infinite Jump Toggle", Callback = function() infiniteJumpActive = not infiniteJumpActive Rayfield:Notify({ Title = "Infinite Jump", Content = infiniteJumpActive and "Activated" or "Deactivated", Duration = 3 }) end }) -- Infinite jump implementation (runs once) if not _G.infiniteJumpConnection then _G.infiniteJumpConnection = player:GetMouse().KeyDown:Connect(function(key) if infiniteJumpActive and key == " " then local humanoid = getHumanoid(player) if humanoid then humanoid:ChangeState(Enum.HumanoidStateType.Jumping) end end end) end -- === WalkSpeed Slider === MainTab:CreateSlider({ Name = "WalkSpeed Slider", Range = {1, 350}, Increment = 1, Suffix = "Speed", CurrentValue = 16, Flag = "sliderws", Callback = function(Value) local humanoid = getHumanoid(player) if humanoid then humanoid.WalkSpeed = Value end end, }) -- === JumpPower Slider === MainTab:CreateSlider({ Name = "JumpPower Slider", Range = {1, 350}, Increment = 1, Suffix = "Power", CurrentValue = 50, Flag = "sliderjp", Callback = function(Value) local humanoid = getHumanoid(player) if humanoid then humanoid.JumpPower = Value end end, }) -- === Noclip Button === local noclipActive = false local noclipConnection = nil MainTab:CreateButton({ Name = "Noclip Toggle", Callback = function() noclipActive = not noclipActive if noclipActive then noclipConnection = RunService.Stepped:Connect(function() if player.Character then for _, part in pairs(player.Character:GetChildren()) do if part:IsA("BasePart") and part.CanCollide == true then part.CanCollide = false end end end end) Rayfield:Notify({Title="Noclip", Content="Noclip Enabled", Duration=3}) else if noclipConnection then noclipConnection:Disconnect() noclipConnection = nil end -- Re-enable collisions for parts (optional) if player.Character then for _, part in pairs(player.Character:GetChildren()) do if part:IsA("BasePart") then part.CanCollide = true end end end Rayfield:Notify({Title="Noclip", Content="Noclip Disabled", Duration=3}) end end, }) -- === Fly Button and Speed Slider === local flyActive = false local flySpeed = 2 local bodyGyro = nil local bodyVelocity = nil local function stopFly() if bodyGyro then bodyGyro:Destroy() bodyGyro = nil end if bodyVelocity then bodyVelocity:Destroy() bodyVelocity = nil end flyActive = false end local function startFly() local character = player.Character if not character then return end local hrp = character:FindFirstChild("HumanoidRootPart") if not hrp then return end bodyGyro = Instance.new("BodyGyro") bodyGyro.P = 9e4 bodyGyro.MaxTorque = Vector3.new(9e9, 9e9, 9e9) bodyGyro.CFrame = hrp.CFrame bodyGyro.Parent = hrp bodyVelocity = Instance.new("BodyVelocity") bodyVelocity.Velocity = Vector3.new(0, 0, 0) bodyVelocity.MaxForce = Vector3.new(9e9, 9e9, 9e9) bodyVelocity.Parent = hrp flyActive = true local userInputService = game:GetService("UserInputService") local runService = game:GetService("RunService") local function update() if not flyActive or not hrp then return end local moveDirection = Vector3.new() if userInputService:IsKeyDown(Enum.KeyCode.W) then moveDirection = moveDirection + workspace.CurrentCamera.CFrame.LookVector end if userInputService:IsKeyDown(Enum.KeyCode.S) then moveDirection = moveDirection - workspace.CurrentCamera.CFrame.LookVector end if userInputService:IsKeyDown(Enum.KeyCode.A) then moveDirection = moveDirection - workspace.CurrentCamera.CFrame.RightVector end if userInputService:IsKeyDown(Enum.KeyCode.D) then moveDirection = moveDirection + workspace.CurrentCamera.CFrame.RightVector end if userInputService:IsKeyDown(Enum.KeyCode.Space) then moveDirection = moveDirection + Vector3.new(0, 1, 0) end if userInputService:IsKeyDown(Enum.KeyCode.LeftShift) then moveDirection = moveDirection - Vector3.new(0, 1, 0) end moveDirection = moveDirection.Unit * flySpeed if moveDirection ~= moveDirection then -- NaN check moveDirection = Vector3.new(0,0,0) end bodyVelocity.Velocity = moveDirection bodyGyro.CFrame = workspace.CurrentCamera.CFrame end -- Disconnect previous update if any if _G.flyConnection then _G.flyConnection:Disconnect() _G.flyConnection = nil end _G.flyConnection = RunService.Heartbeat:Connect(update) end MainTab:CreateButton({ Name = "Fly", Callback = function() if flyActive then stopFly() Rayfield:Notify({Title="Fly", Content="Fly Disabled", Duration=3}) else startFly() Rayfield:Notify({Title="Fly", Content="Fly Enabled", Duration=3}) end end, }) MainTab:CreateSlider({ Name = "Fly Speed", Range = {2, 300}, Increment = 1, Suffix = "Speed", CurrentValue = 2, Flag = "flyspeed", Callback = function(value) flySpeed = value end, }) -- === ESP IMPLEMENTATIONS === local espHighlightFolder = Instance.new("Folder", workspace) espHighlightFolder.Name = "ESPHighlights" local function clearHighlights() for _, h in pairs(espHighlightFolder:GetChildren()) do h:Destroy() end end local espActive = false local skeletonActive = false local boxActive = false local distanceActive = false -- Rainbow ESP (Highlight with rainbow colors) local espConnection = nil local function toggleESP(state) espActive = state if espConnection then espConnection:Disconnect() espConnection = nil end if not espActive then clearHighlights() return end espConnection = RunService.Heartbeat:Connect(function() local time = tick() if not espHighlightFolder or not espHighlightFolder.Parent then espHighlightFolder = Instance.new("Folder", workspace) espHighlightFolder.Name = "ESPHighlights" end for _, p in pairs(Players:GetPlayers()) do if p ~= player and p.Character and p.Character:FindFirstChild("HumanoidRootPart") and getHumanoid(p) and getHumanoid(p).Health > 0 then local h = espHighlightFolder:FindFirstChild(p.Name) if not h then h = Instance.new("Highlight", espHighlightFolder) h.Name = p.Name h.Adornee = p.Character h.AlwaysOnTop = true h.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop end local c = Color3.fromHSV((time + p.UserId * 0.1) % 1, 1, 1) h.FillColor = c h.OutlineColor = c else local h = espHighlightFolder:FindFirstChild(p.Name) if h then h:Destroy() end end end end) end EspSection:CreateButton({ Name = "Toggle Rainbow ESP", Callback = function() toggleESP(not espActive) Rayfield:Notify({Title="ESP", Content=(espActive and "Enabled" or "Disabled"), Duration=3}) end }) -- Skeleton ESP local skeletonLines = {} local skeletonConnection = nil local joints = { {"Head", "UpperTorso"}, {"UpperTorso", "LowerTorso"}, {"UpperTorso", "LeftUpperArm"}, {"LeftUpperArm", "LeftLowerArm"}, {"LeftLowerArm", "LeftHand"}, {"UpperTorso", "RightUpperArm"}, {"RightUpperArm", "RightLowerArm"}, {"RightLowerArm", "RightHand"}, {"LowerTorso", "LeftUpperLeg"}, {"LeftUpperLeg", "LeftLowerLeg"}, {"LeftLowerLeg", "LeftFoot"}, {"LowerTorso", "RightUpperLeg"}, {"RightUpperLeg", "RightLowerLeg"}, {"RightLowerLeg", "RightFoot"}, } local function clearSkeleton() for _, line in pairs(skeletonLines) do line:Destroy() end skeletonLines = {} end local function toggleSkeleton(state) skeletonActive = state clearSkeleton() if skeletonConnection then skeletonConnection:Disconnect() skeletonConnection = nil end if not skeletonActive then return end skeletonConnection = RunService.RenderStepped:Connect(function() clearSkeleton() for _, p in pairs(Players:GetPlayers()) do if p ~= player and p.Character and getHumanoid(p) and getHumanoid(p).Health > 0 then local c = p.Character for _, joint in pairs(joints) do local part0 = c:FindFirstChild(joint[1]) local part1 = c:FindFirstChild(joint[2]) if part0 and part1 then local line = Drawing and Drawing.new and Drawing.new("Line") or nil if line then local pos0, visible0 = camera:WorldToViewportPoint(part0.Position) local pos1, visible1 = camera:WorldToViewportPoint(part1.Position) if visible0 and visible1 then line.From = Vector2.new(pos0.X, pos0.Y) line.To = Vector2.new(pos1.X, pos1.Y) line.Color = Color3.new(1,1,1) line.Thickness = 1.5 line.Visible = true table.insert(skeletonLines, line) else line.Visible = false end end end end end end end) end EspSection:CreateButton({ Name = "Toggle Skeleton ESP", Callback = function() toggleSkeleton(not skeletonActive) Rayfield:Notify({Title="Skeleton ESP", Content=(skeletonActive and "Enabled" or "Disabled"), Duration=3}) end }) -- Box ESP (Highlight with box style) local function toggleBoxESP(state) boxActive = state clearHighlights() if boxActive then for _, p in pairs(Players:GetPlayers()) do if p ~= player and p.Character and getHumanoid(p) and getHumanoid(p).Health > 0 then local h = Instance.new("Highlight", espHighlightFolder) h.Name = p.Name h.Adornee = p.Character h.FillTransparency = 0.75 h.OutlineColor = Color3.new(1, 0, 0) h.OutlineTransparency = 0 h.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop end end else clearHighlights() end end EspSection:CreateButton({ Name = "Toggle Box ESP", Callback = function() toggleBoxESP(not boxActive) Rayfield:Notify({Title="Box ESP", Content=(boxActive and "Enabled" or "Disabled"), Duration=3}) end }) -- Distance ESP (shows distance text above players) local distanceLabels = {} local distanceConnection = nil local function clearDistanceLabels() for _, label in pairs(distanceLabels) do label:Destroy() end distanceLabels = {} end local function toggleDistanceESP(state) distanceActive = state clearDistanceLabels() if distanceConnection then distanceConnection:Disconnect() distanceConnection = nil end if not distanceActive then return end distanceConnection = RunService.Heartbeat:Connect(function() clearDistanceLabels() for _, p in pairs(Players:GetPlayers()) do if p ~= player and p.Character and getHumanoid(p) and getHumanoid(p).Health > 0 then local hrp = getHRP(p) if hrp then local screenPos, visible = camera:WorldToViewportPoint(hrp.Position + Vector3.new(0,3,0)) if visible then local distance = (hrp.Position - (player.Character and player.Character:FindFirstChild("HumanoidRootPart") and player.Character.HumanoidRootPart.Position or Vector3.new())).Magnitude local textLabel = Drawing and Drawing.new and Drawing.new("Text") or nil if textLabel then textLabel.Text = string.format("%s\n%.1f studs", p.Name, distance) textLabel.Position = Vector2.new(screenPos.X, screenPos.Y) textLabel.Size = 15 textLabel.Color = Color3.new(1, 1, 1) textLabel.Center = true textLabel.Outline = true textLabel.Visible = true table.insert(distanceLabels, textLabel) end end end end end end) end EspSection:CreateButton({ Name = "Toggle Distance ESP", Callback = function() toggleDistanceESP(not distanceActive) Rayfield:Notify({Title="Distance ESP", Content=(distanceActive and "Enabled" or "Disabled"), Duration=3}) end }) -- === Kill All Button === local killAllActive = false local killAllIndex = 1 local killAllCurrentTarget = nil local killAllConnection = nil local targetDiedConnection = nil local playerDiedConnection = nil local function cleanupKillAll() killAllActive = false killAllIndex = 1 killAllCurrentTarget = nil if killAllConnection then killAllConnection:Disconnect() killAllConnection = nil end if targetDiedConnection then targetDiedConnection:Disconnect() targetDiedConnection = nil end if playerDiedConnection then playerDiedConnection:Disconnect() playerDiedConnection = nil end camera.CameraSubject = getHumanoid(player) or player.Character or camera -- reset camera focus end local function teleportNearPlayer(target) local hrp = getHRP(target) local myHrp = getHRP(player) if not hrp or not myHrp then return end -- Teleport close to target with slight offset to avoid clipping inside them local offset = Vector3.new(2, 0, 2) player.Character:SetPrimaryPartCFrame(hrp.CFrame * CFrame.new(offset)) end local function getNextTarget() local playersList = {} for _, plr in pairs(Players:GetPlayers()) do if plr ~= player and getHumanoid(plr) and getHumanoid(plr).Health > 0 then table.insert(playersList, plr) end end if #playersList == 0 then return nil end if killAllIndex > #playersList then killAllIndex = 1 end return playersList[killAllIndex], #playersList end MainTab:CreateButton({ Name = "Kill All", Callback = function() if killAllActive then cleanupKillAll() Rayfield:Notify({Title="Kill All", Content="Kill All Disabled", Duration=5}) return end killAllActive = true killAllIndex = 1 local function onTargetDied() killAllIndex = killAllIndex + 1 local nextTarget = getNextTarget() if not nextTarget then cleanupKillAll() Rayfield:Notify({Title="Kill All", Content="No targets left! Kill All Disabled", Duration=5}) return end killAllCurrentTarget = nextTarget if targetDiedConnection then targetDiedConnection:Disconnect() targetDiedConnection = nil end targetDiedConnection = getHumanoid(killAllCurrentTarget).Died:Connect(onTargetDied) end local function onPlayerDied() cleanupKillAll() Rayfield:Notify({Title="Kill All", Content="You died! Kill All Disabled", Duration=5}) end local target, count = getNextTarget() if not target then killAllActive = false Rayfield:Notify({Title="Kill All", Content="No targets available", Duration=5}) return end killAllCurrentTarget = target camera.CameraSubject = getHumanoid(killAllCurrentTarget) or killAllCurrentTarget.Character or camera if targetDiedConnection then targetDiedConnection:Disconnect() targetDiedConnection = nil end targetDiedConnection = getHumanoid(killAllCurrentTarget).Died:Connect(onTargetDied) local myHumanoid = getHumanoid(player) if myHumanoid then if playerDiedConnection then playerDiedConnection:Disconnect() playerDiedConnection = nil end playerDiedConnection = myHumanoid.Died:Connect(onPlayerDied) end killAllConnection = RunService.Heartbeat:Connect(function() if not killAllActive or not killAllCurrentTarget then return end local targetHumanoid = getHumanoid(killAllCurrentTarget) if not targetHumanoid or targetHumanoid.Health <= 0 then return end teleportNearPlayer(killAllCurrentTarget) end) Rayfield:Notify({Title="Kill All", Content="Kill All Enabled ("..count.." targets)", Duration=5}) end, }) -- === END OF SCRIPT ===