--[[ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ Jeffrey Hub — v5.0 free. always. ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ toggle ui : K (rebindable) fly : no default key (rebindable) freecam : no default key (rebindable) config : JeffreyHub/Config.json ]] local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UIS = game:GetService("UserInputService") local TeleportService = game:GetService("TeleportService") local Lighting = game:GetService("Lighting") local CoreGui = game:GetService("CoreGui") local TCS = game:GetService("TextChatService") local lp = Players.LocalPlayer local cam = workspace.CurrentCamera -- ============================================================ -- EnvConfig -- flip these to disable entire systems without touching -- anything below. useful for testing or game-specific issues. -- ============================================================ local EnvConfig = { fly = true, freecam = true, esp = true, noclip = true, infJump = true, antivoid = true, godMode = true, chatSpam = true, autoRejoin = true, fullbright = true, clicktp = true, } -- ============================================================ -- cfg (runtime state — ui callbacks only read/write this) -- ============================================================ local cfg = { toggleKey = Enum.KeyCode.RightControl, uiOpen = true, flyOn = false, flySpeed = 50, flySmooth = true, flyKey = nil, fcOn = false, fcSpeed = 40, fcSmooth = true, fcKey = nil, espOn = false, espSkel = false, espTracers = false, espChams = false, espRainbow = false, espFill = Color3.fromRGB(220, 50, 50), espOutline = Color3.fromRGB(255, 80, 80), espFillA = 0.6, espOutlineA = 0, godMode = false, noclip = false, infJump = false, antivoid = false, avFloor = -100, chatSpam = false, spamMsg = "jeffrey hub", spamDelay = 2, autoRejoin = false, } local lightSave = {} local function saveLighting() for _, k in ipairs({"Brightness","ClockTime","FogEnd","FogColor","GlobalShadows","Ambient","OutdoorAmbient"}) do lightSave[k] = Lighting[k] end end saveLighting() -- ============================================================ -- internal fly state -- ============================================================ local flyActive = false local flyVel = Vector3.zero local flyConn local function flyStop() flyActive = false cfg.flyOn = false if flyConn then flyConn:Disconnect(); flyConn = nil end flyVel = Vector3.zero local c = lp.Character local h = c and c:FindFirstChildOfClass("Humanoid") if h then h.PlatformStand = false end end local function flyStart() if not EnvConfig.fly then return end local c = lp.Character local h = c and c:FindFirstChildOfClass("Humanoid") if not h then return end h.PlatformStand = true flyActive = true cfg.flyOn = true flyConn = RunService.RenderStepped:Connect(function(dt) local char = lp.Character local root = char and char:FindFirstChild("HumanoidRootPart") if not root then flyStop(); return end local cf = cam.CFrame local dir = Vector3.zero if UIS:IsKeyDown(Enum.KeyCode.W) then dir += cf.LookVector end if UIS:IsKeyDown(Enum.KeyCode.S) then dir -= cf.LookVector end if UIS:IsKeyDown(Enum.KeyCode.A) then dir -= cf.RightVector end if UIS:IsKeyDown(Enum.KeyCode.D) then dir += cf.RightVector end if UIS:IsKeyDown(Enum.KeyCode.E) then dir += Vector3.yAxis end if UIS:IsKeyDown(Enum.KeyCode.Q) then dir -= Vector3.yAxis end if dir.Magnitude > 0 then dir = dir.Unit end local target = dir * cfg.flySpeed flyVel = cfg.flySmooth and flyVel:Lerp(target, math.min(1, dt * 9)) or target root.CFrame += flyVel * dt end) end -- ============================================================ -- internal freecam state -- ============================================================ local fcActive = false local fcConn local fcPos, fcPitch, fcYaw local fcOrigType, fcOrigSub local function fcStop() fcActive = false cfg.fcOn = false if fcConn then fcConn:Disconnect(); fcConn = nil end UIS.MouseBehavior = Enum.MouseBehavior.Default cam.CameraType = fcOrigType or Enum.CameraType.Custom local c = lp.Character cam.CameraSubject = fcOrigSub or (c and c:FindFirstChildOfClass("Humanoid")) end local function fcStart() if not EnvConfig.freecam then return end fcOrigType = cam.CameraType fcOrigSub = cam.CameraSubject cam.CameraType = Enum.CameraType.Scriptable fcPos = cam.CFrame.Position fcPitch = 0 fcYaw = 0 fcActive = true cfg.fcOn = true UIS.MouseBehavior = Enum.MouseBehavior.LockCenter local smoothPos = fcPos fcConn = RunService.RenderStepped:Connect(function(dt) if not fcActive then fcStop(); return end local md = UIS:GetMouseDelta() fcYaw -= md.X * 0.3 fcPitch = math.clamp(fcPitch - md.Y * 0.3, -89, 89) local rot = CFrame.Angles(0, math.rad(fcYaw), 0) * CFrame.Angles(math.rad(fcPitch), 0, 0) local dir = Vector3.zero if UIS:IsKeyDown(Enum.KeyCode.W) then dir += rot.LookVector end if UIS:IsKeyDown(Enum.KeyCode.S) then dir -= rot.LookVector end if UIS:IsKeyDown(Enum.KeyCode.A) then dir -= rot.RightVector end if UIS:IsKeyDown(Enum.KeyCode.D) then dir += rot.RightVector end if UIS:IsKeyDown(Enum.KeyCode.E) then dir += Vector3.yAxis end if UIS:IsKeyDown(Enum.KeyCode.Q) then dir -= Vector3.yAxis end if dir.Magnitude > 0 then dir = dir.Unit end local want = smoothPos + dir * cfg.fcSpeed * dt * 60 smoothPos = cfg.fcSmooth and smoothPos:Lerp(want, math.min(1, dt * 10)) or want fcPos = smoothPos cam.CFrame = CFrame.new(smoothPos) * rot end) end -- ============================================================ -- esp internals -- ============================================================ local esp = { hls = {}, skels = {}, tags = {}, tracers = {}, conns = {} } local rainbowHue = 0 local LIMBS = { "Head","UpperTorso","LowerTorso", "LeftUpperArm","LeftLowerArm","LeftHand", "RightUpperArm","RightLowerArm","RightHand", "LeftUpperLeg","LeftLowerLeg","LeftFoot", "RightUpperLeg","RightLowerLeg","RightFoot", } local function espCol() return cfg.espRainbow and Color3.fromHSV(rainbowHue, 1, 1) or cfg.espFill end local function cleanESP(p) if esp.hls[p] then esp.hls[p]:Destroy(); esp.hls[p] = nil end if esp.tags[p] then esp.tags[p]:Destroy(); esp.tags[p] = nil end if esp.tracers[p] then esp.tracers[p]:Remove(); esp.tracers[p] = nil end if esp.skels[p] then for _, v in ipairs(esp.skels[p]) do v:Destroy() end esp.skels[p] = nil end end local function buildESP(p) if p == lp then return end cleanESP(p) local char = p.Character if not char then return end local hl = Instance.new("Highlight") hl.FillColor = cfg.espFill hl.OutlineColor = cfg.espOutline hl.FillTransparency = cfg.espFillA hl.OutlineTransparency = cfg.espOutlineA hl.DepthMode = cfg.espChams and Enum.HighlightDepthMode.AlwaysOnTop or Enum.HighlightDepthMode.Occluded hl.Adornee = char hl.Parent = CoreGui esp.hls[p] = hl local head = char:FindFirstChild("Head") if head then local bb = Instance.new("BillboardGui") bb.Adornee = head bb.Size = UDim2.new(0, 80, 0, 20) bb.StudsOffset = Vector3.new(0, 2.8, 0) bb.AlwaysOnTop = true bb.Parent = CoreGui local lbl = Instance.new("TextLabel", bb) lbl.Size = UDim2.fromScale(1, 1) lbl.BackgroundTransparency = 1 lbl.Text = p.Name lbl.TextColor3 = espCol() lbl.TextStrokeTransparency = 0.3 lbl.Font = Enum.Font.GothamBold lbl.TextScaled = true esp.tags[p] = bb end if cfg.espSkel then local boxes = {} for _, name in ipairs(LIMBS) do local part = char:FindFirstChild(name) if part then local box = Instance.new("SelectionBox") box.Color3 = espCol() box.SurfaceColor3 = espCol() box.SurfaceTransparency = 0.5 box.LineThickness = 0.018 box.Adornee = part box.Parent = CoreGui boxes[#boxes + 1] = box end end esp.skels[p] = boxes end if cfg.espTracers then local line = Drawing.new("Line") line.Thickness = 1 line.Color = espCol() line.Visible = true esp.tracers[p] = line end end local function rebuildESP() for _, p in ipairs(Players:GetPlayers()) do cleanESP(p) end if not cfg.espOn then return end for _, p in ipairs(Players:GetPlayers()) do buildESP(p) end end -- ============================================================ -- pcall-protected init functions -- each one is self-contained — swap or remove any of them -- without touching anything else in the script -- ============================================================ local function initESP() if not EnvConfig.esp then return end pcall(function() local c1 = Players.PlayerAdded:Connect(function(p) p.CharacterAdded:Connect(function() task.wait(0.15) if cfg.espOn then buildESP(p) end end) end) local c2 = Players.PlayerRemoving:Connect(cleanESP) esp.conns = {c1, c2} for _, p in ipairs(Players:GetPlayers()) do if p ~= lp then p.CharacterAdded:Connect(function() task.wait(0.15) if cfg.espOn then buildESP(p) end end) end end end) end local function initNoclip() if not EnvConfig.noclip then return end pcall(function() RunService.Stepped:Connect(function() if not cfg.noclip then return end local c = lp.Character if not c then return end for _, p in ipairs(c:GetDescendants()) do if p:IsA("BasePart") then p.CanCollide = false end end end) end) end local function initInfJump() if not EnvConfig.infJump then return end pcall(function() UIS.JumpRequest:Connect(function() if not cfg.infJump then return end local c = lp.Character local h = c and c:FindFirstChildOfClass("Humanoid") if h then h:ChangeState(Enum.HumanoidStateType.Jumping) end end) end) end local function initAntivoid() if not EnvConfig.antivoid then return end pcall(function() local notified = false RunService.Heartbeat:Connect(function() if not cfg.antivoid then notified = false; return end local c = lp.Character local r = c and c:FindFirstChild("HumanoidRootPart") if not r then return end if r.Position.Y < cfg.avFloor then r.CFrame = CFrame.new(r.Position.X, cfg.avFloor + 10, r.Position.Z) if not notified then notified = true task.delay(2, function() notified = false end) end end end) end) end local function initGodMode() if not EnvConfig.godMode then return end pcall(function() lp.CharacterAdded:Connect(function(c) if not cfg.godMode then return end task.wait(0.2) local h = c:FindFirstChildOfClass("Humanoid") if h then h.MaxHealth = math.huge; h.Health = math.huge end end) end) end local function initAutoRejoin() if not EnvConfig.autoRejoin then return end pcall(function() lp.OnTeleport:Connect(function(state) if state == Enum.TeleportState.Failed and cfg.autoRejoin then task.wait(2) TeleportService:TeleportToPlaceInstance(game.PlaceId, game.JobId, lp) end end) end) end local function initRainbowAndTracers() pcall(function() RunService.Heartbeat:Connect(function(dt) rainbowHue = (rainbowHue + dt * 0.18) % 1 if cfg.espRainbow and cfg.espOn then local col = Color3.fromHSV(rainbowHue, 1, 1) for _, hl in pairs(esp.hls) do hl.FillColor = col; hl.OutlineColor = col end for _, boxes in pairs(esp.skels) do for _, b in ipairs(boxes) do b.Color3 = col; b.SurfaceColor3 = col end end for _, tag in pairs(esp.tags) do local lbl = tag:FindFirstChildOfClass("TextLabel") if lbl then lbl.TextColor3 = col end end end if cfg.espTracers and cfg.espOn then local vp = cam.ViewportSize local bottom = Vector2.new(vp.X / 2, vp.Y) for p, line in pairs(esp.tracers) do local char = p.Character local r = char and char:FindFirstChild("HumanoidRootPart") if r then local pos, vis = cam:WorldToViewportPoint(r.Position) line.From = bottom line.To = Vector2.new(pos.X, pos.Y) line.Color = cfg.espRainbow and Color3.fromHSV(rainbowHue, 1, 1) or cfg.espFill line.Visible = vis else line.Visible = false end end end end) end) end local function initKeybinds() pcall(function() UIS.InputBegan:Connect(function(input, gpe) if gpe then return end local kc = input.KeyCode if kc == cfg.toggleKey then cfg.uiOpen = not cfg.uiOpen Rayfield:Toggle() end if cfg.flyKey and kc == cfg.flyKey then if flyActive then flyStop() else flyStart() end end if cfg.fcKey and kc == cfg.fcKey then if fcActive then fcStop() else fcStart() end end end) UIS.WindowFocusReleased:Connect(function() if fcActive then UIS.MouseBehavior = Enum.MouseBehavior.Default end end) UIS.WindowFocused:Connect(function() if fcActive then UIS.MouseBehavior = Enum.MouseBehavior.LockCenter end end) end) end -- run all inits initESP() initNoclip() initInfJump() initAntivoid() initGodMode() initAutoRejoin() initRainbowAndTracers() initKeybinds() -- ============================================================ -- rayfield -- ============================================================ local Rayfield = loadstring(game:HttpGet("https://sirius.menu/rayfield"))() local function toast(t, m, d) Rayfield:Notify({ Title = t, Content = m, Duration = d or 3, Image = 6031763428 }) end local win = Rayfield:CreateWindow({ Name = "jeffrey hub", Icon = 6031763428, LoadingTitle = "jeffrey hub", LoadingSubtitle = "v5 · loading...", Theme = "Default", DisableRayfieldPrompts = false, DisableBuildWarnings = true, ConfigurationSaving = { Enabled = true, FolderName = "JeffreyHub", FileName = "cfg" }, Discord = { Enabled = false }, KeySystem = false, }) -- ============================================================ -- player tab -- ============================================================ local tPlayer = win:CreateTab("Player", 4483362458) tPlayer:CreateSection("movement") tPlayer:CreateSlider({ Name = "Walk Speed", Range = {16, 500}, Increment = 1, Suffix = " u/s", CurrentValue = 16, Flag = "wspeed", Callback = function(v) local c = lp.Character local h = c and c:FindFirstChildOfClass("Humanoid") if h then h.WalkSpeed = v end end, }) tPlayer:CreateSlider({ Name = "Jump Power", Range = {50, 500}, Increment = 1, Suffix = "", CurrentValue = 50, Flag = "jpower", Callback = function(v) local c = lp.Character local h = c and c:FindFirstChildOfClass("Humanoid") if h then h.JumpPower = v end end, }) tPlayer:CreateToggle({ Name = "Infinite Jump", CurrentValue = false, Flag = "infJump", Callback = function(v) cfg.infJump = v end, }) tPlayer:CreateToggle({ Name = "Noclip", CurrentValue = false, Flag = "noclip", Callback = function(v) cfg.noclip = v if not v then local c = lp.Character if c then for _, p in ipairs(c:GetDescendants()) do if p:IsA("BasePart") then p.CanCollide = true end end end end end, }) tPlayer:CreateToggle({ Name = "Anti-Void", CurrentValue = false, Flag = "antivoid", Callback = function(v) cfg.antivoid = v end, }) tPlayer:CreateSlider({ Name = "Anti-Void Floor Y", Range = {-5000, 0}, Increment = 10, Suffix = "", CurrentValue = -100, Flag = "avFloor", Callback = function(v) cfg.avFloor = v end, }) if EnvConfig.clicktp then tPlayer:CreateButton({ Name = "Give ClickTP Tool", Callback = function() local bp = lp.Backpack local existing = bp:FindFirstChild("ClickTP") or (lp.Character and lp.Character:FindFirstChild("ClickTP")) if existing then existing:Destroy() end local tool = Instance.new("Tool") tool.Name = "ClickTP" tool.ToolTip = "click to tp" tool.RequiresHandle = false local ls = Instance.new("LocalScript", tool) ls.Source = [[ local lp = game:GetService("Players").LocalPlayer local mouse = lp:GetMouse() script.Parent.Activated:Connect(function() local c = lp.Character local r = c and c:FindFirstChild("HumanoidRootPart") if r and mouse.Target then r.CFrame = CFrame.new(mouse.Hit.Position + Vector3.new(0, 3, 0)) end end) ]] tool.Parent = bp toast("clicktp", "tool in backpack", 2) end, }) end tPlayer:CreateSection("combat") tPlayer:CreateToggle({ Name = "God Mode", CurrentValue = false, Flag = "godMode", Callback = function(v) cfg.godMode = v local c = lp.Character local h = c and c:FindFirstChildOfClass("Humanoid") if h then h.MaxHealth = v and math.huge or 100 h.Health = v and math.huge or 100 end toast(v and "god on" or "god off", v and "can't die" or "health reset", 2) end, }) tPlayer:CreateButton({ Name = "Reset Character", Callback = function() local c = lp.Character local h = c and c:FindFirstChildOfClass("Humanoid") if h then h.Health = 0 end end, }) -- ============================================================ -- fly tab -- ============================================================ if EnvConfig.fly then local tFly = win:CreateTab("Fly", 4483362458) tFly:CreateSection("controls") tFly:CreateToggle({ Name = "Fly", CurrentValue = false, Flag = "flyOn", Callback = function(v) if v then flyStart() else flyStop() end end, }) tFly:CreateKeybind({ Name = "Fly Keybind", CurrentKeybind = "", HoldToInteract = false, Flag = "flyKey", Callback = function(k) local ok, code = pcall(function() return Enum.KeyCode[k] end) cfg.flyKey = ok and code or nil toast("fly key", k ~= "" and k or "cleared", 2) end, }) tFly:CreateSection("settings") tFly:CreateToggle({ Name = "Smooth Mode", CurrentValue = true, Flag = "flySmooth", Callback = function(v) cfg.flySmooth = v end, }) tFly:CreateSlider({ Name = "Speed", Range = {10, 300}, Increment = 5, Suffix = " u/s", CurrentValue = 50, Flag = "flySpeed", Callback = function(v) cfg.flySpeed = v end, }) tFly:CreateLabel("W/A/S/D = move E = up Q = down") end -- ============================================================ -- freecam tab -- ============================================================ if EnvConfig.freecam then local tFC = win:CreateTab("Freecam", 4483362458) tFC:CreateSection("controls") tFC:CreateToggle({ Name = "Freecam", CurrentValue = false, Flag = "fcOn", Callback = function(v) if v then fcStart() else fcStop() end end, }) tFC:CreateKeybind({ Name = "Freecam Keybind", CurrentKeybind = "", HoldToInteract = false, Flag = "fcKey", Callback = function(k) local ok, code = pcall(function() return Enum.KeyCode[k] end) cfg.fcKey = ok and code or nil toast("freecam key", k ~= "" and k or "cleared", 2) end, }) tFC:CreateSection("settings") tFC:CreateToggle({ Name = "Smooth Mode", CurrentValue = true, Flag = "fcSmooth", Callback = function(v) cfg.fcSmooth = v end, }) tFC:CreateSlider({ Name = "Speed", Range = {5, 200}, Increment = 5, Suffix = " u/s", CurrentValue = 40, Flag = "fcSpeed", Callback = function(v) cfg.fcSpeed = v end, }) tFC:CreateLabel("mouse = look W/A/S/D = move E/Q = up/down") end -- ============================================================ -- esp tab -- ============================================================ if EnvConfig.esp then local tESP = win:CreateTab("ESP", 4483362458) tESP:CreateSection("toggle") tESP:CreateToggle({ Name = "Enable ESP", CurrentValue = false, Flag = "espOn", Callback = function(v) cfg.espOn = v if v then rebuildESP() else for _, p in ipairs(Players:GetPlayers()) do cleanESP(p) end end end, }) tESP:CreateSection("modes") tESP:CreateToggle({ Name = "Skeleton", CurrentValue = false, Flag = "espSkel", Callback = function(v) cfg.espSkel = v; rebuildESP() end, }) tESP:CreateToggle({ Name = "Tracers", CurrentValue = false, Flag = "espTracers", Callback = function(v) cfg.espTracers = v; rebuildESP() end, }) tESP:CreateToggle({ Name = "Chams", CurrentValue = false, Flag = "espChams", Callback = function(v) cfg.espChams = v for _, hl in pairs(esp.hls) do hl.DepthMode = v and Enum.HighlightDepthMode.AlwaysOnTop or Enum.HighlightDepthMode.Occluded end end, }) tESP:CreateToggle({ Name = "Rainbow", CurrentValue = false, Flag = "espRainbow", Callback = function(v) cfg.espRainbow = v end, }) tESP:CreateSection("colors") tESP:CreateColorPicker({ Name = "Fill", Color = Color3.fromRGB(220, 50, 50), Flag = "espFill", Callback = function(v) cfg.espFill = v if cfg.espRainbow then return end for _, hl in pairs(esp.hls) do hl.FillColor = v end end, }) tESP:CreateColorPicker({ Name = "Outline", Color = Color3.fromRGB(255, 80, 80), Flag = "espOutline", Callback = function(v) cfg.espOutline = v if cfg.espRainbow then return end for _, hl in pairs(esp.hls) do hl.OutlineColor = v end end, }) tESP:CreateSection("transparency") tESP:CreateSlider({ Name = "Fill Alpha", Range = {0, 10}, Increment = 1, Suffix = "", CurrentValue = 6, Flag = "espFillA", Callback = function(v) cfg.espFillA = v / 10 for _, hl in pairs(esp.hls) do hl.FillTransparency = cfg.espFillA end end, }) tESP:CreateSlider({ Name = "Outline Alpha", Range = {0, 10}, Increment = 1, Suffix = "", CurrentValue = 0, Flag = "espOutlineA", Callback = function(v) cfg.espOutlineA = v / 10 for _, hl in pairs(esp.hls) do hl.OutlineTransparency = cfg.espOutlineA end end, }) end -- ============================================================ -- visual tab -- ============================================================ local tVis = win:CreateTab("Visual", 4483362458) tVis:CreateSection("world") if EnvConfig.fullbright then tVis:CreateToggle({ Name = "Fullbright", CurrentValue = false, Flag = "fullbright", Callback = function(v) if v then saveLighting() Lighting.Brightness = 10 Lighting.ClockTime = 14 Lighting.FogEnd = 1e6 Lighting.GlobalShadows = false Lighting.Ambient = Color3.fromRGB(255, 255, 255) Lighting.OutdoorAmbient = Color3.fromRGB(255, 255, 255) else for k, val in pairs(lightSave) do Lighting[k] = val end end end, }) end tVis:CreateSection("camera") tVis:CreateSlider({ Name = "Field of View", Range = {60, 120}, Increment = 1, Suffix = "°", CurrentValue = 70, Flag = "fov", Callback = function(v) workspace.CurrentCamera.FieldOfView = v end, }) -- ============================================================ -- teleport tab -- ============================================================ local tTele = win:CreateTab("Teleport", 4483362458) tTele:CreateSection("quick") tTele:CreateButton({ Name = "Go to Spawn", Callback = function() local c = lp.Character local r = c and c:FindFirstChild("HumanoidRootPart") if not r then return end local sp = workspace:FindFirstChildOfClass("SpawnLocation") if sp then r.CFrame = sp.CFrame + Vector3.new(0, 5, 0) toast("tp", "at spawn", 2) else toast("tp", "no spawn found", 2) end end, }) tTele:CreateSection("to player") local function plist() local t = {} for _, p in ipairs(Players:GetPlayers()) do if p ~= lp then t[#t+1] = p.Name end end return #t > 0 and t or {"(nobody)"} end tTele:CreateDropdown({ Name = "Player", Options = plist(), CurrentOption = {plist()[1]}, Flag = "tpTarget", MultipleOptions = false, Callback = function(opt) local target = Players:FindFirstChild(opt[1]) local tr = target and target.Character and target.Character:FindFirstChild("HumanoidRootPart") local c = lp.Character local mr = c and c:FindFirstChild("HumanoidRootPart") if tr and mr then mr.CFrame = tr.CFrame + Vector3.new(3, 0, 0) toast("tp", "→ " .. opt[1], 2) else toast("tp", "couldn't reach " .. opt[1], 2) end end, }) tTele:CreateSection("coords") tTele:CreateInput({ Name = "X, Y, Z", PlaceholderText = "0, 0, 0", RemoveTextAfterFocusLost = false, Flag = "coords", Callback = function(raw) local x, y, z = raw:match("(-?[%d%.]+)%s*,%s*(-?[%d%.]+)%s*,%s*(-?[%d%.]+)") local c = lp.Character local r = c and c:FindFirstChild("HumanoidRootPart") if x and r then r.CFrame = CFrame.new(tonumber(x), tonumber(y), tonumber(z)) elseif not x then toast("tp", "format: X, Y, Z", 2) end end, }) -- ============================================================ -- misc tab -- ============================================================ local tMisc = win:CreateTab("Misc", 4483362458) tMisc:CreateSection("server") tMisc:CreateButton({ Name = "Rejoin", Callback = function() toast("rejoining", "see you", 2) task.delay(1, function() TeleportService:TeleportToPlaceInstance(game.PlaceId, game.JobId, lp) end) end, }) if EnvConfig.autoRejoin then tMisc:CreateToggle({ Name = "Auto-Rejoin on Kick", CurrentValue = false, Flag = "autoRejoin", Callback = function(v) cfg.autoRejoin = v end, }) end if EnvConfig.chatSpam then tMisc:CreateSection("chat") tMisc:CreateInput({ Name = "Message", PlaceholderText = "spam message...", RemoveTextAfterFocusLost = false, Flag = "spamMsg", Callback = function(v) cfg.spamMsg = v ~= "" and v or "jeffrey hub" end, }) tMisc:CreateSlider({ Name = "Delay", Range = {1, 15}, Increment = 1, Suffix = "s", CurrentValue = 2, Flag = "spamDelay", Callback = function(v) cfg.spamDelay = v end, }) tMisc:CreateToggle({ Name = "Chat Spam", CurrentValue = false, Flag = "chatSpam", Callback = function(v) cfg.chatSpam = v if not v then return end task.spawn(function() while cfg.chatSpam do pcall(function() local channel = TCS:FindFirstChild("TextChannels") channel = channel and channel:FindFirstChild("RBXGeneral") if channel then channel:SendAsync(cfg.spamMsg) end end) task.wait(cfg.spamDelay) end end) end, }) end -- ============================================================ -- settings tab -- ============================================================ local tSettings = win:CreateTab("Settings", 4483362458) tSettings:CreateSection("keybind") tSettings:CreateKeybind({ Name = "Toggle UI", CurrentKeybind = "RightControl", HoldToInteract = false, Flag = "toggleKey", Callback = function(k) local ok, code = pcall(function() return Enum.KeyCode[k] end) if ok and code then cfg.toggleKey = code end toast("ui key", k, 2) end, }) tSettings:CreateSection("appearance") tSettings:CreateDropdown({ Name = "Theme", Options = {"Default","Ocean","Amethyst","Green","Light","Dark"}, CurrentOption = {"Default"}, Flag = "theme", MultipleOptions = false, Callback = function(opt) Rayfield:SetTheme(opt[1]) end, }) tSettings:CreateLabel("jeffrey hub · v5 · free") -- done task.wait(0.3) toast("jeffrey hub", "loaded. K to hide.", 5)