Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Universal Bob v1.0
- -- Made by @indonesiangamer777 in scriptblox
- -- Services
- local TweenService = game:GetService("TweenService")
- local UserInputService = game:GetService("UserInputService")
- local RunService = game:GetService("RunService")
- local Players = game:GetService("Players")
- local TeleportService = game:GetService("TeleportService")
- local StarterGui = game:GetService("StarterGui")
- local Lighting = game:GetService("Lighting")
- local LocalPlayer = Players.LocalPlayer
- -- Copy website to clipboard on execute
- pcall(function()
- setclipboard("universalbob.xo.je")
- end)
- -- Welcome notification
- pcall(function()
- StarterGui:SetCore("SendNotification", {
- Title = "Universal Bob v1.0",
- Text = "Successfully loaded! Made by @indonesiangamer777",
- Duration = 5
- })
- end)
- -- Notification helper
- local function notify(title, text, duration)
- pcall(function()
- StarterGui:SetCore("SendNotification", {
- Title = title or "Universal Bob",
- Text = text or "",
- Duration = duration or 3
- })
- end)
- end
- -- Instances:
- local UniversalBob = Instance.new("ScreenGui")
- local Shadow = Instance.new("ImageLabel")
- local Main = Instance.new("Frame")
- local MainCorner = Instance.new("UICorner")
- local Header = Instance.new("Frame")
- local HeaderCorner = Instance.new("UICorner")
- local Title = Instance.new("TextLabel")
- local SubTitle = Instance.new("TextLabel")
- local CloseButton = Instance.new("TextButton")
- local CloseCorner = Instance.new("UICorner")
- local Divider = Instance.new("Frame")
- local Inside = Instance.new("Frame")
- local SearchBar = Instance.new("Frame")
- local SearchBarCorner = Instance.new("UICorner")
- local SearchIcon = Instance.new("TextLabel")
- local SearchInput = Instance.new("TextBox")
- local Inside_ScrollingFrame = Instance.new("ScrollingFrame")
- local UIListLayout = Instance.new("UIListLayout")
- local ListPadding = Instance.new("UIPadding")
- --Properties:
- UniversalBob.Name = "UniversalBob"
- UniversalBob.Parent = LocalPlayer:WaitForChild("PlayerGui")
- UniversalBob.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- UniversalBob.ResetOnSpawn = false
- Shadow.Name = "Shadow"
- Shadow.Parent = UniversalBob
- Shadow.AnchorPoint = Vector2.new(0.5, 0.5)
- Shadow.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- Shadow.BackgroundTransparency = 0.85
- Shadow.BorderSizePixel = 0
- Shadow.Position = UDim2.new(0.5, 3, 0.5, 3)
- Shadow.Size = UDim2.new(0, 435, 0, 475)
- Shadow.Image = ""
- Shadow.ScaleType = Enum.ScaleType.Slice
- do
- local sc = Instance.new("UICorner")
- sc.CornerRadius = UDim.new(0, 12)
- sc.Parent = Shadow
- end
- Main.Name = "Main"
- Main.Parent = UniversalBob
- Main.AnchorPoint = Vector2.new(0.5, 0.5)
- Main.BackgroundColor3 = Color3.fromRGB(250, 250, 250)
- Main.BorderSizePixel = 0
- Main.Position = UDim2.new(0.5, 0, 0.5, 0)
- Main.Size = UDim2.new(0, 430, 0, 470)
- Main.ClipsDescendants = true
- MainCorner.CornerRadius = UDim.new(0, 10)
- MainCorner.Parent = Main
- Header.Name = "Header"
- Header.Parent = Main
- Header.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Header.BorderSizePixel = 0
- Header.Size = UDim2.new(1, 0, 0, 70)
- HeaderCorner.CornerRadius = UDim.new(0, 10)
- HeaderCorner.Parent = Header
- Title.Name = "Title"
- Title.Parent = Header
- Title.BackgroundTransparency = 1
- Title.BorderSizePixel = 0
- Title.Position = UDim2.new(0, 18, 0, 4)
- Title.Size = UDim2.new(0, 300, 0, 34)
- Title.Font = Enum.Font.GothamBold
- Title.Text = "Universal Bob v1.0"
- Title.TextColor3 = Color3.fromRGB(30, 30, 30)
- Title.TextSize = 20
- Title.TextXAlignment = Enum.TextXAlignment.Left
- SubTitle.Name = "SubTitle"
- SubTitle.Parent = Header
- SubTitle.BackgroundTransparency = 1
- SubTitle.BorderSizePixel = 0
- SubTitle.Position = UDim2.new(0, 18, 0, 36)
- SubTitle.Size = UDim2.new(0, 300, 0, 24)
- SubTitle.Font = Enum.Font.Gotham
- SubTitle.Text = "Made by @indonesiangamer777 in scriptblox"
- SubTitle.TextColor3 = Color3.fromRGB(140, 140, 140)
- SubTitle.TextSize = 12
- SubTitle.TextXAlignment = Enum.TextXAlignment.Left
- CloseButton.Name = "CloseButton"
- CloseButton.Parent = Header
- CloseButton.AnchorPoint = Vector2.new(1, 0.5)
- CloseButton.BackgroundColor3 = Color3.fromRGB(255, 60, 60)
- CloseButton.BorderSizePixel = 0
- CloseButton.Position = UDim2.new(1, -14, 0.5, 0)
- CloseButton.Size = UDim2.new(0, 36, 0, 36)
- CloseButton.Font = Enum.Font.GothamBold
- CloseButton.Text = "X"
- CloseButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- CloseButton.TextSize = 18
- CloseButton.AutoButtonColor = true
- CloseCorner.CornerRadius = UDim.new(0, 8)
- CloseCorner.Parent = CloseButton
- Divider.Name = "Divider"
- Divider.Parent = Main
- Divider.BackgroundColor3 = Color3.fromRGB(225, 225, 225)
- Divider.BorderSizePixel = 0
- Divider.Position = UDim2.new(0.05, 0, 0, 70)
- Divider.Size = UDim2.new(0.9, 0, 0, 1)
- Inside.Name = "Inside"
- Inside.Parent = Main
- Inside.BackgroundTransparency = 1
- Inside.BorderSizePixel = 0
- Inside.Position = UDim2.new(0, 0, 0, 76)
- Inside.Size = UDim2.new(1, 0, 1, -76)
- SearchBar.Name = "SearchBar"
- SearchBar.Parent = Inside
- SearchBar.AnchorPoint = Vector2.new(0.5, 0)
- SearchBar.BackgroundColor3 = Color3.fromRGB(235, 235, 235)
- SearchBar.BorderSizePixel = 0
- SearchBar.Position = UDim2.new(0.5, 0, 0, 12)
- SearchBar.Size = UDim2.new(0.88, 0, 0, 42)
- SearchBarCorner.CornerRadius = UDim.new(0, 10)
- SearchBarCorner.Parent = SearchBar
- SearchIcon.Name = "SearchIcon"
- SearchIcon.Parent = SearchBar
- SearchIcon.BackgroundTransparency = 1
- SearchIcon.Position = UDim2.new(0, 10, 0, 0)
- SearchIcon.Size = UDim2.new(0, 30, 1, 0)
- SearchIcon.Font = Enum.Font.GothamBold
- SearchIcon.Text = "Q"
- SearchIcon.TextColor3 = Color3.fromRGB(160, 160, 160)
- SearchIcon.TextSize = 16
- SearchInput.Name = "SearchInput"
- SearchInput.Parent = SearchBar
- SearchInput.BackgroundTransparency = 1
- SearchInput.BorderSizePixel = 0
- SearchInput.Position = UDim2.new(0, 42, 0, 0)
- SearchInput.Size = UDim2.new(1, -52, 1, 0)
- SearchInput.Font = Enum.Font.Gotham
- SearchInput.PlaceholderColor3 = Color3.fromRGB(175, 175, 175)
- SearchInput.PlaceholderText = "Search features..."
- SearchInput.Text = ""
- SearchInput.TextColor3 = Color3.fromRGB(40, 40, 40)
- SearchInput.TextSize = 16
- SearchInput.TextXAlignment = Enum.TextXAlignment.Left
- SearchInput.ClearTextOnFocus = false
- Inside_ScrollingFrame.Name = "Inside_ScrollingFrame"
- Inside_ScrollingFrame.Parent = Inside
- Inside_ScrollingFrame.Active = true
- Inside_ScrollingFrame.AnchorPoint = Vector2.new(0.5, 0)
- Inside_ScrollingFrame.BackgroundTransparency = 1
- Inside_ScrollingFrame.BorderSizePixel = 0
- Inside_ScrollingFrame.Position = UDim2.new(0.5, 0, 0, 64)
- Inside_ScrollingFrame.Size = UDim2.new(0.92, 0, 1, -74)
- Inside_ScrollingFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
- Inside_ScrollingFrame.AutomaticCanvasSize = Enum.AutomaticSize.Y
- Inside_ScrollingFrame.ScrollBarThickness = 3
- Inside_ScrollingFrame.ScrollBarImageColor3 = Color3.fromRGB(180, 180, 180)
- Inside_ScrollingFrame.ScrollingDirection = Enum.ScrollingDirection.Y
- UIListLayout.Parent = Inside_ScrollingFrame
- UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
- UIListLayout.Padding = UDim.new(0, 8)
- UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
- ListPadding.Parent = Inside_ScrollingFrame
- ListPadding.PaddingTop = UDim.new(0, 4)
- ListPadding.PaddingBottom = UDim.new(0, 4)
- -- =======================================
- -- UI CREATION HELPERS
- -- =======================================
- local layoutOrder = 0
- local function nextOrder()
- layoutOrder = layoutOrder + 1
- return layoutOrder
- end
- local function createToggle(name, labelText)
- local frame = Instance.new("Frame")
- frame.Name = name
- frame.Parent = Inside_ScrollingFrame
- frame.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
- frame.BorderSizePixel = 0
- frame.Size = UDim2.new(1, 0, 0, 50)
- frame.LayoutOrder = nextOrder()
- local corner = Instance.new("UICorner")
- corner.CornerRadius = UDim.new(0, 10)
- corner.Parent = frame
- local label = Instance.new("TextLabel")
- label.Name = "Label"
- label.Parent = frame
- label.BackgroundTransparency = 1
- label.BorderSizePixel = 0
- label.Position = UDim2.new(0, 16, 0, 0)
- label.Size = UDim2.new(0.6, 0, 1, 0)
- label.Font = Enum.Font.GothamMedium
- label.Text = labelText
- label.TextColor3 = Color3.fromRGB(40, 40, 40)
- label.TextSize = 16
- label.TextXAlignment = Enum.TextXAlignment.Left
- local btn = Instance.new("TextButton")
- btn.Name = "ToggleButton"
- btn.Parent = frame
- btn.AnchorPoint = Vector2.new(1, 0.5)
- btn.BackgroundColor3 = Color3.fromRGB(255, 70, 70)
- btn.BorderSizePixel = 0
- btn.Position = UDim2.new(1, -12, 0.5, 0)
- btn.Size = UDim2.new(0, 80, 0, 32)
- btn.Font = Enum.Font.GothamBold
- btn.Text = "OFF"
- btn.TextColor3 = Color3.fromRGB(255, 255, 255)
- btn.TextSize = 14
- btn.AutoButtonColor = true
- local btnCorner = Instance.new("UICorner")
- btnCorner.CornerRadius = UDim.new(0, 8)
- btnCorner.Parent = btn
- frame.MouseEnter:Connect(function()
- TweenService:Create(frame, TweenInfo.new(0.15), {BackgroundColor3 = Color3.fromRGB(230, 230, 230)}):Play()
- end)
- frame.MouseLeave:Connect(function()
- TweenService:Create(frame, TweenInfo.new(0.15), {BackgroundColor3 = Color3.fromRGB(240, 240, 240)}):Play()
- end)
- return frame, btn
- end
- local function createButton(name, labelText)
- local frame = Instance.new("Frame")
- frame.Name = name
- frame.Parent = Inside_ScrollingFrame
- frame.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
- frame.BorderSizePixel = 0
- frame.Size = UDim2.new(1, 0, 0, 50)
- frame.LayoutOrder = nextOrder()
- local corner = Instance.new("UICorner")
- corner.CornerRadius = UDim.new(0, 10)
- corner.Parent = frame
- local btn = Instance.new("TextButton")
- btn.Name = "ActionButton"
- btn.Parent = frame
- btn.BackgroundTransparency = 1
- btn.BorderSizePixel = 0
- btn.Position = UDim2.new(0, 16, 0, 0)
- btn.Size = UDim2.new(1, -16, 1, 0)
- btn.Font = Enum.Font.GothamMedium
- btn.Text = labelText
- btn.TextColor3 = Color3.fromRGB(40, 40, 40)
- btn.TextSize = 16
- btn.TextXAlignment = Enum.TextXAlignment.Left
- btn.AutoButtonColor = true
- local btnCorner = Instance.new("UICorner")
- btnCorner.CornerRadius = UDim.new(0, 10)
- btnCorner.Parent = btn
- frame.MouseEnter:Connect(function()
- TweenService:Create(frame, TweenInfo.new(0.15), {BackgroundColor3 = Color3.fromRGB(230, 230, 230)}):Play()
- end)
- frame.MouseLeave:Connect(function()
- TweenService:Create(frame, TweenInfo.new(0.15), {BackgroundColor3 = Color3.fromRGB(240, 240, 240)}):Play()
- end)
- return frame, btn
- end
- local function createTextBox(name, labelText, placeholder)
- local frame = Instance.new("Frame")
- frame.Name = name
- frame.Parent = Inside_ScrollingFrame
- frame.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
- frame.BorderSizePixel = 0
- frame.Size = UDim2.new(1, 0, 0, 50)
- frame.LayoutOrder = nextOrder()
- local corner = Instance.new("UICorner")
- corner.CornerRadius = UDim.new(0, 10)
- corner.Parent = frame
- local label = Instance.new("TextLabel")
- label.Name = "Label"
- label.Parent = frame
- label.BackgroundTransparency = 1
- label.BorderSizePixel = 0
- label.Position = UDim2.new(0, 16, 0, 0)
- label.Size = UDim2.new(0.55, 0, 1, 0)
- label.Font = Enum.Font.GothamMedium
- label.Text = labelText
- label.TextColor3 = Color3.fromRGB(40, 40, 40)
- label.TextSize = 16
- label.TextXAlignment = Enum.TextXAlignment.Left
- local input = Instance.new("TextBox")
- input.Name = "InputBox"
- input.Parent = frame
- input.AnchorPoint = Vector2.new(1, 0.5)
- input.BackgroundColor3 = Color3.fromRGB(220, 220, 220)
- input.BorderSizePixel = 0
- input.Position = UDim2.new(1, -12, 0.5, 0)
- input.Size = UDim2.new(0, 100, 0, 32)
- input.Font = Enum.Font.Gotham
- input.PlaceholderColor3 = Color3.fromRGB(160, 160, 160)
- input.PlaceholderText = placeholder or "..."
- input.Text = ""
- input.TextColor3 = Color3.fromRGB(40, 40, 40)
- input.TextSize = 14
- input.ClearTextOnFocus = false
- local inputCorner = Instance.new("UICorner")
- inputCorner.CornerRadius = UDim.new(0, 8)
- inputCorner.Parent = input
- frame.MouseEnter:Connect(function()
- TweenService:Create(frame, TweenInfo.new(0.15), {BackgroundColor3 = Color3.fromRGB(230, 230, 230)}):Play()
- end)
- frame.MouseLeave:Connect(function()
- TweenService:Create(frame, TweenInfo.new(0.15), {BackgroundColor3 = Color3.fromRGB(240, 240, 240)}):Play()
- end)
- return frame, input
- end
- local function flashInput(input, success)
- local color = success and Color3.fromRGB(75, 200, 100) or Color3.fromRGB(255, 100, 100)
- TweenService:Create(input, TweenInfo.new(0.15), {BackgroundColor3 = color}):Play()
- task.delay(0.3, function()
- TweenService:Create(input, TweenInfo.new(0.15), {BackgroundColor3 = Color3.fromRGB(220, 220, 220)}):Play()
- end)
- end
- local function flashButton(frame)
- TweenService:Create(frame, TweenInfo.new(0.15), {BackgroundColor3 = Color3.fromRGB(75, 200, 100)}):Play()
- task.delay(0.3, function()
- TweenService:Create(frame, TweenInfo.new(0.15), {BackgroundColor3 = Color3.fromRGB(240, 240, 240)}):Play()
- end)
- end
- local function setupToggleVisual(button, state)
- if state then
- TweenService:Create(button, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(75, 200, 100)}):Play()
- button.Text = "ON"
- else
- TweenService:Create(button, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(255, 70, 70)}):Play()
- button.Text = "OFF"
- end
- end
- -- =======================================
- -- CREATE ALL ELEMENTS
- -- =======================================
- -- Toggles
- local flyFrame, flyBtn = createToggle("FlyToggle", "Fly")
- local infJumpFrame, infJumpBtn = createToggle("InfJumpToggle", "Infinite Jump")
- local floatFrame, floatBtn = createToggle("FloatToggle", "Float")
- local swimFrame, swimBtn = createToggle("SwimToggle", "Swim")
- local espFrame, espBtn = createToggle("ESPToggle", "ESP")
- local xrayFrame, xrayBtn = createToggle("XRayToggle", "X-Ray")
- local dayFrame, dayBtn = createToggle("DayToggle", "Day (Client)")
- local nightFrame, nightBtn = createToggle("NightToggle", "Night (Client)")
- local shadowsFrame, shadowsBtn = createToggle("ShadowsToggle", "Shadows")
- local nakedFrame, nakedBtn = createToggle("NakedToggle", "Naked (Client)")
- local autoJumpFrame, autoJumpBtn = createToggle("AutoJumpToggle", "Auto Jump")
- local noFogFrame, noFogBtn = createToggle("NoFogToggle", "No Fog (Client)")
- -- Buttons
- local consoleFrame, consoleBtn = createButton("ConsoleButton", "Console")
- local rejoinFrame, rejoinBtn = createButton("RejoinButton", "Rejoin")
- local tpToolFrame, tpToolBtn = createButton("TeleportToolButton", "Teleport Tool")
- local resetFrame, resetBtn = createButton("ResetButton", "Reset")
- local sitFrame, sitBtn = createButton("SitButton", "Sit")
- local danceFrame, danceBtn = createButton("DanceButton", "Dance")
- local jumpBtnFrame, jumpBtnBtn = createButton("JumpButton", "Jump")
- -- TextBoxes
- local speedFrame, speedInput = createTextBox("SpeedTextBox", "Walk Speed", "16")
- local jumpFrame, jumpInput = createTextBox("JumpTextBox", "Jump Power", "50")
- local gravityFrame, gravityInput = createTextBox("GravityTextBox", "Gravity", "196.2")
- local volumeFrame, volumeInput = createTextBox("VolumeTextBox", "Volume (0-10)", "10")
- local maxZoomFrame, maxZoomInput = createTextBox("MaxZoomTextBox", "Max Zoom", "128")
- local minZoomFrame, minZoomInput = createTextBox("MinZoomTextBox", "Min Zoom", "0.5")
- local fovFrame, fovInput = createTextBox("FOVTextBox", "FOV", "70")
- local brightnessFrame, brightnessInput = createTextBox("BrightnessTextBox", "Brightness (Client)", "1")
- local loopSpeedFrame, loopSpeedInput = createTextBox("LoopSpeedTextBox", "Loop Speed", "16")
- local loopJumpFrame, loopJumpInput = createTextBox("LoopJumpTextBox", "Loop Jump Power", "50")
- local spinFrame, spinInput = createTextBox("SpinTextBox", "Spin Speed", "10")
- local reachFrame, reachInput = createTextBox("ReachTextBox", "Reach", "10")
- local dynLightFrame, dynLightInput = createTextBox("DynLightTextBox", "Dynamic Light", "30, 2")
- -- =======================================
- -- DRAGGING
- -- =======================================
- local dragging, dragInput, dragStart, startPos
- Header.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- dragStart = input.Position
- startPos = Main.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- Header.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- dragInput = input
- end
- end)
- UserInputService.InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- local delta = input.Position - dragStart
- local newPos = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- Main.Position = newPos
- Shadow.Position = UDim2.new(newPos.X.Scale, newPos.X.Offset + 3, newPos.Y.Scale, newPos.Y.Offset + 3)
- end
- end)
- CloseButton.MouseEnter:Connect(function()
- TweenService:Create(CloseButton, TweenInfo.new(0.15), {BackgroundColor3 = Color3.fromRGB(220, 40, 40)}):Play()
- end)
- CloseButton.MouseLeave:Connect(function()
- TweenService:Create(CloseButton, TweenInfo.new(0.15), {BackgroundColor3 = Color3.fromRGB(255, 60, 60)}):Play()
- end)
- -- =======================================
- -- CLOSE BUTTON
- -- =======================================
- local flyEnabled = false
- CloseButton.MouseButton1Click:Connect(function()
- flyEnabled = false
- notify("Universal Bob", "GUI closed. Goodbye!", 2)
- TweenService:Create(Main, TweenInfo.new(0.25, Enum.EasingStyle.Back, Enum.EasingDirection.In), {
- Size = UDim2.new(0, 430, 0, 0),
- BackgroundTransparency = 1
- }):Play()
- TweenService:Create(Shadow, TweenInfo.new(0.25, Enum.EasingStyle.Back, Enum.EasingDirection.In), {
- Size = UDim2.new(0, 435, 0, 0),
- BackgroundTransparency = 1
- }):Play()
- task.delay(0.3, function()
- UniversalBob:Destroy()
- end)
- end)
- -- =======================================
- -- FLY SYSTEM
- -- =======================================
- local flySpeed = 50
- local flyBodyVelocity = nil
- local flyBodyGyro = nil
- local function startFly()
- local character = LocalPlayer.Character
- if not character then return end
- local hrp = character:FindFirstChild("HumanoidRootPart")
- local humanoid = character:FindFirstChildOfClass("Humanoid")
- if not hrp or not humanoid then return end
- flyBodyVelocity = Instance.new("BodyVelocity")
- flyBodyVelocity.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- flyBodyVelocity.Velocity = Vector3.new(0, 0, 0)
- flyBodyVelocity.Parent = hrp
- flyBodyGyro = Instance.new("BodyGyro")
- flyBodyGyro.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
- flyBodyGyro.D = 200
- flyBodyGyro.P = 10000
- flyBodyGyro.Parent = hrp
- humanoid.PlatformStand = true
- RunService:BindToRenderStep("FlyUpdate", Enum.RenderPriority.Character.Value + 1, function()
- if not flyEnabled then return end
- local char = LocalPlayer.Character
- if not char then return end
- local root = char:FindFirstChild("HumanoidRootPart")
- if not root or not flyBodyVelocity or not flyBodyGyro then return end
- local camera = workspace.CurrentCamera
- local moveDir = Vector3.new(0, 0, 0)
- if UserInputService:IsKeyDown(Enum.KeyCode.W) then moveDir = moveDir + camera.CFrame.LookVector end
- if UserInputService:IsKeyDown(Enum.KeyCode.S) then moveDir = moveDir - camera.CFrame.LookVector end
- if UserInputService:IsKeyDown(Enum.KeyCode.A) then moveDir = moveDir - camera.CFrame.RightVector end
- if UserInputService:IsKeyDown(Enum.KeyCode.D) then moveDir = moveDir + camera.CFrame.RightVector end
- if UserInputService:IsKeyDown(Enum.KeyCode.Space) then moveDir = moveDir + Vector3.new(0, 1, 0) end
- if UserInputService:IsKeyDown(Enum.KeyCode.LeftShift) then moveDir = moveDir - Vector3.new(0, 1, 0) end
- if moveDir.Magnitude > 0 then moveDir = moveDir.Unit end
- flyBodyVelocity.Velocity = moveDir * flySpeed
- flyBodyGyro.CFrame = camera.CFrame
- end)
- end
- local function stopFly()
- pcall(function() RunService:UnbindFromRenderStep("FlyUpdate") end)
- local character = LocalPlayer.Character
- if character then
- local humanoid = character:FindFirstChildOfClass("Humanoid")
- if humanoid then humanoid.PlatformStand = false end
- end
- if flyBodyVelocity then flyBodyVelocity:Destroy() flyBodyVelocity = nil end
- if flyBodyGyro then flyBodyGyro:Destroy() flyBodyGyro = nil end
- end
- flyBtn.MouseButton1Click:Connect(function()
- flyEnabled = not flyEnabled
- setupToggleVisual(flyBtn, flyEnabled)
- if flyEnabled then
- startFly()
- notify("Fly", "Fly enabled! Use WASD + Space/Shift", 3)
- else
- stopFly()
- notify("Fly", "Fly disabled", 2)
- end
- end)
- LocalPlayer.CharacterAdded:Connect(function()
- if flyEnabled then
- flyEnabled = false
- setupToggleVisual(flyBtn, false)
- pcall(function() RunService:UnbindFromRenderStep("FlyUpdate") end)
- flyBodyVelocity = nil
- flyBodyGyro = nil
- end
- end)
- -- =======================================
- -- INFINITE JUMP SYSTEM
- -- =======================================
- local infJumpEnabled = false
- local infJumpConnection = nil
- infJumpBtn.MouseButton1Click:Connect(function()
- infJumpEnabled = not infJumpEnabled
- setupToggleVisual(infJumpBtn, infJumpEnabled)
- if infJumpEnabled then
- infJumpConnection = UserInputService.JumpRequest:Connect(function()
- if not infJumpEnabled then return end
- local char = LocalPlayer.Character
- if not char then return end
- local humanoid = char:FindFirstChildOfClass("Humanoid")
- if humanoid then humanoid:ChangeState(Enum.HumanoidStateType.Jumping) end
- end)
- notify("Infinite Jump", "Infinite jump enabled", 2)
- else
- if infJumpConnection then infJumpConnection:Disconnect() infJumpConnection = nil end
- notify("Infinite Jump", "Infinite jump disabled", 2)
- end
- end)
- -- =======================================
- -- FLOAT SYSTEM
- -- =======================================
- local floatEnabled = false
- local floatPart = nil
- local function startFloat()
- local char = LocalPlayer.Character
- if not char then return end
- local hrp = char:FindFirstChild("HumanoidRootPart")
- if not hrp then return end
- if floatPart then floatPart:Destroy() end
- floatPart = Instance.new("Part")
- floatPart.Name = "FloatPlatform"
- floatPart.Size = Vector3.new(6, 1, 6)
- floatPart.Position = hrp.Position - Vector3.new(0, 3.5, 0)
- floatPart.Anchored = true
- floatPart.CanCollide = true
- floatPart.Transparency = 0.7
- floatPart.Color = Color3.fromRGB(200, 200, 200)
- floatPart.Material = Enum.Material.SmoothPlastic
- floatPart.Parent = workspace
- RunService:BindToRenderStep("FloatUpdate", Enum.RenderPriority.Character.Value, function()
- if not floatEnabled or not floatPart then return end
- local c = LocalPlayer.Character
- if not c then return end
- local r = c:FindFirstChild("HumanoidRootPart")
- if r then floatPart.Position = r.Position - Vector3.new(0, 3.5, 0) end
- end)
- end
- local function stopFloat()
- pcall(function() RunService:UnbindFromRenderStep("FloatUpdate") end)
- if floatPart then floatPart:Destroy() floatPart = nil end
- end
- floatBtn.MouseButton1Click:Connect(function()
- floatEnabled = not floatEnabled
- setupToggleVisual(floatBtn, floatEnabled)
- if floatEnabled then
- startFloat()
- notify("Float", "Float platform enabled", 2)
- else
- stopFloat()
- notify("Float", "Float platform disabled", 2)
- end
- end)
- LocalPlayer.CharacterAdded:Connect(function()
- if floatEnabled then
- task.wait(1)
- startFloat()
- end
- end)
- -- =======================================
- -- SWIM SYSTEM
- -- =======================================
- local swimEnabled = false
- local swimConnection = nil
- swimBtn.MouseButton1Click:Connect(function()
- swimEnabled = not swimEnabled
- setupToggleVisual(swimBtn, swimEnabled)
- if swimEnabled then
- swimConnection = RunService.Heartbeat:Connect(function()
- if not swimEnabled then return end
- local char = LocalPlayer.Character
- if not char then return end
- local humanoid = char:FindFirstChildOfClass("Humanoid")
- if humanoid then humanoid:ChangeState(Enum.HumanoidStateType.Swimming) end
- end)
- notify("Swim", "Air swimming enabled", 2)
- else
- if swimConnection then swimConnection:Disconnect() swimConnection = nil end
- notify("Swim", "Air swimming disabled", 2)
- end
- end)
- -- =======================================
- -- ESP SYSTEM
- -- =======================================
- local espEnabled = false
- local espFolder = nil
- local espConnections = {}
- local function getTeamColor(player)
- if player.Team then return player.TeamColor.Color end
- return Color3.fromRGB(255, 255, 255)
- end
- local function createESPForPlayer(player)
- if player == LocalPlayer then return end
- local function setupESP(character)
- if not espEnabled then return end
- if not character then return end
- local hrp = character:WaitForChild("HumanoidRootPart", 5)
- local humanoid = character:WaitForChild("Humanoid", 5)
- local head = character:WaitForChild("Head", 5)
- if not hrp or not humanoid or not head then return end
- if espFolder then
- local old = espFolder:FindFirstChild(player.Name .. "_ESP")
- if old then old:Destroy() end
- end
- local espGui = Instance.new("BillboardGui")
- espGui.Name = player.Name .. "_ESP"
- espGui.Parent = espFolder
- espGui.Adornee = head
- espGui.Size = UDim2.new(0, 200, 0, 50)
- espGui.StudsOffset = Vector3.new(0, 3, 0)
- espGui.AlwaysOnTop = true
- espGui.MaxDistance = 10000
- local nameLabel = Instance.new("TextLabel")
- nameLabel.Parent = espGui
- nameLabel.BackgroundTransparency = 1
- nameLabel.Size = UDim2.new(1, 0, 0.5, 0)
- nameLabel.Font = Enum.Font.GothamBold
- nameLabel.TextColor3 = getTeamColor(player)
- nameLabel.TextStrokeTransparency = 0.5
- nameLabel.TextSize = 14
- nameLabel.Text = player.Name
- local healthLabel = Instance.new("TextLabel")
- healthLabel.Parent = espGui
- healthLabel.BackgroundTransparency = 1
- healthLabel.Position = UDim2.new(0, 0, 0.5, 0)
- healthLabel.Size = UDim2.new(1, 0, 0.3, 0)
- healthLabel.Font = Enum.Font.Gotham
- healthLabel.TextColor3 = Color3.fromRGB(100, 255, 100)
- healthLabel.TextStrokeTransparency = 0.5
- healthLabel.TextSize = 12
- healthLabel.Text = "HP: " .. math.floor(humanoid.Health) .. "/" .. math.floor(humanoid.MaxHealth)
- local distLabel = Instance.new("TextLabel")
- distLabel.Parent = espGui
- distLabel.BackgroundTransparency = 1
- distLabel.Position = UDim2.new(0, 0, 0.75, 0)
- distLabel.Size = UDim2.new(1, 0, 0.25, 0)
- distLabel.Font = Enum.Font.Gotham
- distLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
- distLabel.TextStrokeTransparency = 0.5
- distLabel.TextSize = 11
- distLabel.Text = ""
- local highlight = Instance.new("Highlight")
- highlight.Name = player.Name .. "_Highlight"
- highlight.Parent = character
- highlight.FillColor = getTeamColor(player)
- highlight.FillTransparency = 0.7
- highlight.OutlineColor = getTeamColor(player)
- highlight.OutlineTransparency = 0.3
- local updateConn
- updateConn = RunService.Heartbeat:Connect(function()
- if not espEnabled or not character or not character.Parent then
- if updateConn then updateConn:Disconnect() end
- return
- end
- local h = character:FindFirstChildOfClass("Humanoid")
- if h then
- healthLabel.Text = "HP: " .. math.floor(h.Health) .. "/" .. math.floor(h.MaxHealth)
- local healthPercent = h.Health / h.MaxHealth
- if healthPercent > 0.5 then
- healthLabel.TextColor3 = Color3.fromRGB(100, 255, 100)
- elseif healthPercent > 0.25 then
- healthLabel.TextColor3 = Color3.fromRGB(255, 255, 50)
- else
- healthLabel.TextColor3 = Color3.fromRGB(255, 50, 50)
- end
- end
- local myChar = LocalPlayer.Character
- if myChar and myChar:FindFirstChild("HumanoidRootPart") and hrp and hrp.Parent then
- local dist = (myChar.HumanoidRootPart.Position - hrp.Position).Magnitude
- distLabel.Text = math.floor(dist) .. " studs"
- end
- local tc = getTeamColor(player)
- nameLabel.TextColor3 = tc
- if highlight and highlight.Parent then
- highlight.FillColor = tc
- highlight.OutlineColor = tc
- end
- end)
- table.insert(espConnections, updateConn)
- end
- if player.Character then setupESP(player.Character) end
- local charConn = player.CharacterAdded:Connect(function(char)
- task.wait(1)
- if espEnabled then setupESP(char) end
- end)
- table.insert(espConnections, charConn)
- end
- local function enableESP()
- espFolder = Instance.new("Folder")
- espFolder.Name = "ESPFolder"
- espFolder.Parent = workspace.CurrentCamera
- for _, player in ipairs(Players:GetPlayers()) do
- createESPForPlayer(player)
- end
- local joinConn = Players.PlayerAdded:Connect(function(player)
- if espEnabled then createESPForPlayer(player) end
- end)
- table.insert(espConnections, joinConn)
- end
- local function disableESP()
- for _, conn in ipairs(espConnections) do
- if conn then pcall(function() conn:Disconnect() end) end
- end
- espConnections = {}
- if espFolder then espFolder:Destroy() espFolder = nil end
- for _, player in ipairs(Players:GetPlayers()) do
- if player.Character then
- local hl = player.Character:FindFirstChild(player.Name .. "_Highlight")
- if hl then hl:Destroy() end
- end
- end
- end
- espBtn.MouseButton1Click:Connect(function()
- espEnabled = not espEnabled
- setupToggleVisual(espBtn, espEnabled)
- if espEnabled then
- enableESP()
- notify("ESP", "ESP enabled for all players", 2)
- else
- disableESP()
- notify("ESP", "ESP disabled", 2)
- end
- end)
- -- =======================================
- -- X-RAY SYSTEM
- -- =======================================
- local xrayEnabled = false
- local originalTransparencies = {}
- local function enableXray()
- originalTransparencies = {}
- for _, part in ipairs(workspace:GetDescendants()) do
- if part:IsA("BasePart") and not part:IsDescendantOf(LocalPlayer.Character or Instance.new("Folder")) then
- local isPlayerPart = false
- for _, player in ipairs(Players:GetPlayers()) do
- if player.Character and part:IsDescendantOf(player.Character) then
- isPlayerPart = true
- break
- end
- end
- if not isPlayerPart then
- originalTransparencies[part] = part.Transparency
- part.Transparency = 0.8
- end
- end
- end
- end
- local function disableXray()
- for part, transparency in pairs(originalTransparencies) do
- if part and part.Parent then part.Transparency = transparency end
- end
- originalTransparencies = {}
- end
- xrayBtn.MouseButton1Click:Connect(function()
- xrayEnabled = not xrayEnabled
- setupToggleVisual(xrayBtn, xrayEnabled)
- if xrayEnabled then
- enableXray()
- notify("X-Ray", "X-Ray enabled", 2)
- else
- disableXray()
- notify("X-Ray", "X-Ray disabled", 2)
- end
- end)
- -- =======================================
- -- DAY TOGGLE (CLIENT)
- -- =======================================
- local dayEnabled = false
- local originalTimeOfDay = nil
- local dayConnection = nil
- local nightEnabled = false
- local nightConnection = nil
- dayBtn.MouseButton1Click:Connect(function()
- dayEnabled = not dayEnabled
- setupToggleVisual(dayBtn, dayEnabled)
- if dayEnabled and nightEnabled then
- nightEnabled = false
- setupToggleVisual(nightBtn, false)
- if nightConnection then nightConnection:Disconnect() nightConnection = nil end
- end
- if dayEnabled then
- originalTimeOfDay = originalTimeOfDay or Lighting.ClockTime
- dayConnection = RunService.Heartbeat:Connect(function()
- if not dayEnabled then return end
- Lighting.ClockTime = 14
- end)
- notify("Day", "Day time enabled (Client)", 2)
- else
- if dayConnection then dayConnection:Disconnect() dayConnection = nil end
- if originalTimeOfDay then Lighting.ClockTime = originalTimeOfDay end
- notify("Day", "Day time disabled", 2)
- end
- end)
- -- =======================================
- -- NIGHT TOGGLE (CLIENT)
- -- =======================================
- nightBtn.MouseButton1Click:Connect(function()
- nightEnabled = not nightEnabled
- setupToggleVisual(nightBtn, nightEnabled)
- if nightEnabled and dayEnabled then
- dayEnabled = false
- setupToggleVisual(dayBtn, false)
- if dayConnection then dayConnection:Disconnect() dayConnection = nil end
- end
- if nightEnabled then
- originalTimeOfDay = originalTimeOfDay or Lighting.ClockTime
- nightConnection = RunService.Heartbeat:Connect(function()
- if not nightEnabled then return end
- Lighting.ClockTime = 0
- end)
- notify("Night", "Night time enabled (Client)", 2)
- else
- if nightConnection then nightConnection:Disconnect() nightConnection = nil end
- if originalTimeOfDay then Lighting.ClockTime = originalTimeOfDay end
- notify("Night", "Night time disabled", 2)
- end
- end)
- -- =======================================
- -- SHADOWS TOGGLE
- -- =======================================
- local shadowsEnabled = true
- shadowsBtn.MouseButton1Click:Connect(function()
- shadowsEnabled = not shadowsEnabled
- setupToggleVisual(shadowsBtn, shadowsEnabled)
- Lighting.GlobalShadows = shadowsEnabled
- notify("Shadows", shadowsEnabled and "Shadows enabled" or "Shadows disabled", 2)
- end)
- setupToggleVisual(shadowsBtn, true)
- -- =======================================
- -- NAKED TOGGLE (CLIENT)
- -- =======================================
- local nakedEnabled = false
- local savedClothing = {}
- nakedBtn.MouseButton1Click:Connect(function()
- nakedEnabled = not nakedEnabled
- setupToggleVisual(nakedBtn, nakedEnabled)
- local char = LocalPlayer.Character
- if not char then return end
- if nakedEnabled then
- savedClothing = {}
- for _, item in ipairs(char:GetChildren()) do
- if item:IsA("Shirt") or item:IsA("Pants") or item:IsA("ShirtGraphic") then
- table.insert(savedClothing, {Type = item.ClassName, Parent = item.Parent})
- if item:IsA("Shirt") then
- item.ShirtTemplate = ""
- elseif item:IsA("Pants") then
- item.PantsTemplate = ""
- elseif item:IsA("ShirtGraphic") then
- item.Graphic = ""
- end
- end
- end
- -- Remove accessories (hats etc)
- for _, item in ipairs(char:GetChildren()) do
- if item:IsA("Accessory") then
- item.Parent = nil
- end
- end
- -- Remove body colors face
- local head = char:FindFirstChild("Head")
- if head then
- local face = head:FindFirstChildOfClass("Decal")
- if face then face.Transparency = 1 end
- end
- notify("Naked", "Clothing removed (Client)", 2)
- else
- -- Restore by re-applying character appearance
- local humanoid = char:FindFirstChildOfClass("Humanoid")
- if humanoid then
- pcall(function()
- local desc = Players:GetHumanoidDescriptionFromUserId(LocalPlayer.UserId)
- humanoid:ApplyDescription(desc)
- end)
- end
- notify("Naked", "Clothing restored", 2)
- end
- end)
- -- =======================================
- -- AUTO JUMP TOGGLE
- -- =======================================
- local autoJumpEnabled = false
- autoJumpBtn.MouseButton1Click:Connect(function()
- autoJumpEnabled = not autoJumpEnabled
- setupToggleVisual(autoJumpBtn, autoJumpEnabled)
- local char = LocalPlayer.Character
- if char then
- local humanoid = char:FindFirstChildOfClass("Humanoid")
- if humanoid then
- humanoid.AutoJumpEnabled = autoJumpEnabled
- end
- end
- notify("Auto Jump", autoJumpEnabled and "Auto jump enabled" or "Auto jump disabled", 2)
- end)
- -- Persist auto jump on respawn
- LocalPlayer.CharacterAdded:Connect(function(char)
- if autoJumpEnabled then
- local humanoid = char:WaitForChild("Humanoid", 5)
- if humanoid then
- humanoid.AutoJumpEnabled = true
- end
- end
- end)
- -- =======================================
- -- NO FOG TOGGLE (CLIENT)
- -- =======================================
- local noFogEnabled = false
- local originalFogStart = Lighting.FogStart
- local originalFogEnd = Lighting.FogEnd
- local originalFogColor = Lighting.FogColor
- local noFogConnection = nil
- noFogBtn.MouseButton1Click:Connect(function()
- noFogEnabled = not noFogEnabled
- setupToggleVisual(noFogBtn, noFogEnabled)
- if noFogEnabled then
- originalFogStart = Lighting.FogStart
- originalFogEnd = Lighting.FogEnd
- originalFogColor = Lighting.FogColor
- noFogConnection = RunService.Heartbeat:Connect(function()
- if not noFogEnabled then return end
- Lighting.FogStart = 100000
- Lighting.FogEnd = 100000
- end)
- notify("No Fog", "Fog removed (Client)", 2)
- else
- if noFogConnection then noFogConnection:Disconnect() noFogConnection = nil end
- Lighting.FogStart = originalFogStart
- Lighting.FogEnd = originalFogEnd
- Lighting.FogColor = originalFogColor
- notify("No Fog", "Fog restored", 2)
- end
- end)
- -- =======================================
- -- CONSOLE BUTTON
- -- =======================================
- consoleBtn.MouseButton1Click:Connect(function()
- flashButton(consoleFrame)
- StarterGui:SetCore("DevConsoleVisible", true)
- notify("Console", "Developer console opened", 2)
- end)
- -- =======================================
- -- REJOIN BUTTON
- -- =======================================
- rejoinBtn.MouseButton1Click:Connect(function()
- flashButton(rejoinFrame)
- notify("Rejoin", "Rejoining server...", 2)
- task.wait(0.5)
- local gameId = game.PlaceId
- local jobId = game.JobId
- TeleportService:TeleportToPlaceInstance(gameId, jobId, LocalPlayer)
- end)
- -- =======================================
- -- TELEPORT TOOL
- -- =======================================
- tpToolBtn.MouseButton1Click:Connect(function()
- flashButton(tpToolFrame)
- local char = LocalPlayer.Character
- if not char then return end
- local backpack = LocalPlayer:FindFirstChildOfClass("Backpack")
- if not backpack then return end
- for _, tool in ipairs(backpack:GetChildren()) do
- if tool.Name == "Teleport Tool" then
- notify("Teleport Tool", "You already have a teleport tool!", 2)
- return
- end
- end
- if char:FindFirstChild("Teleport Tool") then
- notify("Teleport Tool", "You already have a teleport tool!", 2)
- return
- end
- local tool = Instance.new("Tool")
- tool.Name = "Teleport Tool"
- tool.RequiresHandle = true
- tool.CanBeDropped = true
- local handle = Instance.new("Part")
- handle.Name = "Handle"
- handle.Size = Vector3.new(1, 1, 4)
- handle.Color = Color3.fromRGB(75, 150, 255)
- handle.Material = Enum.Material.Neon
- handle.Parent = tool
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = Enum.MeshType.Brick
- mesh.Scale = Vector3.new(0.3, 0.3, 1)
- mesh.Parent = handle
- tool.Parent = backpack
- tool.Activated:Connect(function()
- local mouse = LocalPlayer:GetMouse()
- local hrp = LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
- if hrp and mouse.Hit then
- hrp.CFrame = mouse.Hit + Vector3.new(0, 3, 0)
- end
- end)
- notify("Teleport Tool", "Teleport tool added to backpack!", 2)
- end)
- -- =======================================
- -- RESET BUTTON
- -- =======================================
- resetBtn.MouseButton1Click:Connect(function()
- flashButton(resetFrame)
- local char = LocalPlayer.Character
- if char then
- local humanoid = char:FindFirstChildOfClass("Humanoid")
- if humanoid then humanoid.Health = 0 end
- end
- notify("Reset", "Character reset", 2)
- end)
- -- =======================================
- -- SIT BUTTON
- -- =======================================
- sitBtn.MouseButton1Click:Connect(function()
- flashButton(sitFrame)
- local char = LocalPlayer.Character
- if char then
- local humanoid = char:FindFirstChildOfClass("Humanoid")
- if humanoid then humanoid.Sit = true end
- end
- notify("Sit", "Character is now sitting", 2)
- end)
- -- =======================================
- -- DANCE BUTTON
- -- =======================================
- danceBtn.MouseButton1Click:Connect(function()
- flashButton(danceFrame)
- local char = LocalPlayer.Character
- if not char then return end
- local humanoid = char:FindFirstChildOfClass("Humanoid")
- if not humanoid then return end
- -- Load dance animation
- local danceAnim = Instance.new("Animation")
- local danceIds = {
- "rbxassetid://182435998", -- Dance1
- "rbxassetid://182491277", -- Dance2
- "rbxassetid://182491423", -- Dance3
- }
- danceAnim.AnimationId = danceIds[math.random(1, #danceIds)]
- local animator = humanoid:FindFirstChildOfClass("Animator")
- if not animator then
- animator = Instance.new("Animator")
- animator.Parent = humanoid
- end
- local track = animator:LoadAnimation(danceAnim)
- track:Play()
- track.Looped = true
- notify("Dance", "Dancing! Move to stop", 3)
- end)
- -- =======================================
- -- JUMP BUTTON
- -- =======================================
- jumpBtnBtn.MouseButton1Click:Connect(function()
- flashButton(jumpBtnFrame)
- local char = LocalPlayer.Character
- if char then
- local humanoid = char:FindFirstChildOfClass("Humanoid")
- if humanoid then
- humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
- end
- end
- end)
- -- =======================================
- -- WALK SPEED
- -- =======================================
- local speedRespawnConn = nil
- speedInput.FocusLost:Connect(function()
- local value = tonumber(speedInput.Text)
- if value then
- value = math.clamp(value, 0, 500)
- speedInput.Text = tostring(value)
- local char = LocalPlayer.Character
- if char then
- local humanoid = char:FindFirstChildOfClass("Humanoid")
- if humanoid then humanoid.WalkSpeed = value end
- end
- if speedRespawnConn then speedRespawnConn:Disconnect() end
- speedRespawnConn = LocalPlayer.CharacterAdded:Connect(function(c)
- local h = c:WaitForChild("Humanoid", 5)
- if h and speedInput.Text ~= "" then
- local v = tonumber(speedInput.Text)
- if v then h.WalkSpeed = v end
- end
- end)
- flashInput(speedInput, true)
- notify("Walk Speed", "Speed set to " .. value, 2)
- else
- if speedInput.Text ~= "" then
- flashInput(speedInput, false)
- notify("Walk Speed", "Invalid number!", 2)
- speedInput.Text = ""
- end
- end
- end)
- -- =======================================
- -- JUMP POWER
- -- =======================================
- local jumpRespawnConn = nil
- jumpInput.FocusLost:Connect(function()
- local value = tonumber(jumpInput.Text)
- if value then
- value = math.clamp(value, 0, 500)
- jumpInput.Text = tostring(value)
- local char = LocalPlayer.Character
- if char then
- local humanoid = char:FindFirstChildOfClass("Humanoid")
- if humanoid then
- humanoid.UseJumpPower = true
- humanoid.JumpPower = value
- end
- end
- if jumpRespawnConn then jumpRespawnConn:Disconnect() end
- jumpRespawnConn = LocalPlayer.CharacterAdded:Connect(function(c)
- local h = c:WaitForChild("Humanoid", 5)
- if h and jumpInput.Text ~= "" then
- local v = tonumber(jumpInput.Text)
- if v then
- h.UseJumpPower = true
- h.JumpPower = v
- end
- end
- end)
- flashInput(jumpInput, true)
- notify("Jump Power", "Jump power set to " .. value, 2)
- else
- if jumpInput.Text ~= "" then
- flashInput(jumpInput, false)
- notify("Jump Power", "Invalid number!", 2)
- jumpInput.Text = ""
- end
- end
- end)
- -- =======================================
- -- GRAVITY
- -- =======================================
- gravityInput.FocusLost:Connect(function()
- local value = tonumber(gravityInput.Text)
- if value then
- value = math.clamp(value, 0, 1000)
- gravityInput.Text = tostring(value)
- workspace.Gravity = value
- flashInput(gravityInput, true)
- notify("Gravity", "Gravity set to " .. value, 2)
- else
- if gravityInput.Text ~= "" then
- flashInput(gravityInput, false)
- notify("Gravity", "Invalid number!", 2)
- gravityInput.Text = ""
- end
- end
- end)
- -- =======================================
- -- VOLUME
- -- =======================================
- volumeInput.FocusLost:Connect(function()
- local value = tonumber(volumeInput.Text)
- if value then
- value = math.clamp(value, 0, 10)
- volumeInput.Text = tostring(value)
- local vol = value / 10
- pcall(function()
- UserSettings():GetService("UserGameSettings").MasterVolume = vol
- end)
- flashInput(volumeInput, true)
- notify("Volume", "Volume set to " .. value .. "/10", 2)
- else
- if volumeInput.Text ~= "" then
- flashInput(volumeInput, false)
- notify("Volume", "Invalid number! (0-10)", 2)
- volumeInput.Text = ""
- end
- end
- end)
- -- =======================================
- -- MAX ZOOM
- -- =======================================
- maxZoomInput.FocusLost:Connect(function()
- local value = tonumber(maxZoomInput.Text)
- if value then
- value = math.clamp(value, 0, 10000)
- maxZoomInput.Text = tostring(value)
- LocalPlayer.CameraMaxZoomDistance = value
- flashInput(maxZoomInput, true)
- notify("Max Zoom", "Max zoom set to " .. value, 2)
- else
- if maxZoomInput.Text ~= "" then
- flashInput(maxZoomInput, false)
- notify("Max Zoom", "Invalid number!", 2)
- maxZoomInput.Text = ""
- end
- end
- end)
- -- =======================================
- -- MIN ZOOM
- -- =======================================
- minZoomInput.FocusLost:Connect(function()
- local value = tonumber(minZoomInput.Text)
- if value then
- value = math.clamp(value, 0, 10000)
- minZoomInput.Text = tostring(value)
- LocalPlayer.CameraMinZoomDistance = value
- flashInput(minZoomInput, true)
- notify("Min Zoom", "Min zoom set to " .. value, 2)
- else
- if minZoomInput.Text ~= "" then
- flashInput(minZoomInput, false)
- notify("Min Zoom", "Invalid number!", 2)
- minZoomInput.Text = ""
- end
- end
- end)
- -- =======================================
- -- FOV
- -- =======================================
- fovInput.FocusLost:Connect(function()
- local value = tonumber(fovInput.Text)
- if value then
- value = math.clamp(value, 1, 120)
- fovInput.Text = tostring(value)
- workspace.CurrentCamera.FieldOfView = value
- flashInput(fovInput, true)
- notify("FOV", "FOV set to " .. value, 2)
- else
- if fovInput.Text ~= "" then
- flashInput(fovInput, false)
- notify("FOV", "Invalid number! (1-120)", 2)
- fovInput.Text = ""
- end
- end
- end)
- -- =======================================
- -- BRIGHTNESS (CLIENT)
- -- =======================================
- brightnessInput.FocusLost:Connect(function()
- local value = tonumber(brightnessInput.Text)
- if value then
- value = math.clamp(value, 0, 10)
- brightnessInput.Text = tostring(value)
- Lighting.Brightness = value
- flashInput(brightnessInput, true)
- notify("Brightness", "Brightness set to " .. value, 2)
- else
- if brightnessInput.Text ~= "" then
- flashInput(brightnessInput, false)
- notify("Brightness", "Invalid number! (0-10)", 2)
- brightnessInput.Text = ""
- end
- end
- end)
- -- =======================================
- -- LOOP SPEED
- -- =======================================
- local loopSpeedEnabled = false
- local loopSpeedConnection = nil
- local loopSpeedValue = 16
- loopSpeedInput.FocusLost:Connect(function()
- local value = tonumber(loopSpeedInput.Text)
- if value then
- value = math.clamp(value, 0, 500)
- loopSpeedInput.Text = tostring(value)
- loopSpeedValue = value
- if not loopSpeedEnabled then
- loopSpeedEnabled = true
- loopSpeedConnection = RunService.Heartbeat:Connect(function()
- if not loopSpeedEnabled then return end
- local char = LocalPlayer.Character
- if char then
- local humanoid = char:FindFirstChildOfClass("Humanoid")
- if humanoid then humanoid.WalkSpeed = loopSpeedValue end
- end
- end)
- end
- flashInput(loopSpeedInput, true)
- notify("Loop Speed", "Looping speed at " .. value, 2)
- else
- if loopSpeedInput.Text ~= "" then
- flashInput(loopSpeedInput, false)
- notify("Loop Speed", "Invalid number!", 2)
- loopSpeedInput.Text = ""
- else
- loopSpeedEnabled = false
- if loopSpeedConnection then
- loopSpeedConnection:Disconnect()
- loopSpeedConnection = nil
- end
- notify("Loop Speed", "Loop speed stopped", 2)
- end
- end
- end)
- -- =======================================
- -- LOOP JUMP POWER
- -- =======================================
- local loopJumpEnabled = false
- local loopJumpConnection = nil
- local loopJumpValue = 50
- loopJumpInput.FocusLost:Connect(function()
- local value = tonumber(loopJumpInput.Text)
- if value then
- value = math.clamp(value, 0, 500)
- loopJumpInput.Text = tostring(value)
- loopJumpValue = value
- if not loopJumpEnabled then
- loopJumpEnabled = true
- loopJumpConnection = RunService.Heartbeat:Connect(function()
- if not loopJumpEnabled then return end
- local char = LocalPlayer.Character
- if char then
- local humanoid = char:FindFirstChildOfClass("Humanoid")
- if humanoid then
- humanoid.UseJumpPower = true
- humanoid.JumpPower = loopJumpValue
- end
- end
- end)
- end
- flashInput(loopJumpInput, true)
- notify("Loop Jump", "Looping jump power at " .. value, 2)
- else
- if loopJumpInput.Text ~= "" then
- flashInput(loopJumpInput, false)
- notify("Loop Jump", "Invalid number!", 2)
- loopJumpInput.Text = ""
- else
- loopJumpEnabled = false
- if loopJumpConnection then
- loopJumpConnection:Disconnect()
- loopJumpConnection = nil
- end
- notify("Loop Jump", "Loop jump stopped", 2)
- end
- end
- end)
- -- =======================================
- -- SPIN SYSTEM
- -- =======================================
- local spinEnabled = false
- local spinConnection = nil
- local spinSpeed = 10
- local spinBodyAngularVelocity = nil
- local function applySpinToCharacter(char)
- if not char then return end
- local hrp = char:FindFirstChild("HumanoidRootPart")
- if not hrp then return end
- local oldSpin = hrp:FindFirstChild("SpinVelocity")
- if oldSpin then oldSpin:Destroy() end
- spinBodyAngularVelocity = Instance.new("BodyAngularVelocity")
- spinBodyAngularVelocity.Name = "SpinVelocity"
- spinBodyAngularVelocity.MaxTorque = Vector3.new(0, math.huge, 0)
- spinBodyAngularVelocity.AngularVelocity = Vector3.new(0, spinSpeed, 0)
- spinBodyAngularVelocity.Parent = hrp
- end
- spinInput.FocusLost:Connect(function()
- local value = tonumber(spinInput.Text)
- if value then
- value = math.clamp(value, 0, 500)
- spinInput.Text = tostring(value)
- spinSpeed = value
- if not spinEnabled then
- spinEnabled = true
- applySpinToCharacter(LocalPlayer.Character)
- spinConnection = RunService.Heartbeat:Connect(function()
- if not spinEnabled then return end
- if spinBodyAngularVelocity and spinBodyAngularVelocity.Parent then
- spinBodyAngularVelocity.AngularVelocity = Vector3.new(0, spinSpeed, 0)
- end
- end)
- else
- if spinBodyAngularVelocity and spinBodyAngularVelocity.Parent then
- spinBodyAngularVelocity.AngularVelocity = Vector3.new(0, spinSpeed, 0)
- end
- end
- flashInput(spinInput, true)
- notify("Spin", "Spinning at speed " .. value, 2)
- else
- if spinInput.Text ~= "" then
- flashInput(spinInput, false)
- notify("Spin", "Invalid number!", 2)
- spinInput.Text = ""
- else
- spinEnabled = false
- if spinConnection then
- spinConnection:Disconnect()
- spinConnection = nil
- end
- if spinBodyAngularVelocity then
- spinBodyAngularVelocity:Destroy()
- spinBodyAngularVelocity = nil
- end
- notify("Spin", "Spin stopped", 2)
- end
- end
- end)
- LocalPlayer.CharacterAdded:Connect(function(char)
- if spinEnabled then
- task.wait(0.5)
- applySpinToCharacter(char)
- end
- end)
- -- =======================================
- -- REACH SYSTEM
- -- =======================================
- local reachEnabled = false
- local reachConnection = nil
- local reachValue = 10
- reachInput.FocusLost:Connect(function()
- local value = tonumber(reachInput.Text)
- if value then
- value = math.clamp(value, 1, 100)
- reachInput.Text = tostring(value)
- reachValue = value
- if reachConnection then reachConnection:Disconnect() end
- reachEnabled = true
- reachConnection = RunService.Heartbeat:Connect(function()
- if not reachEnabled then return end
- local char = LocalPlayer.Character
- if not char then return end
- -- Find equipped tool
- local tool = char:FindFirstChildOfClass("Tool")
- if not tool then return end
- local handle = tool:FindFirstChild("Handle")
- if not handle then return end
- -- Expand handle hitbox
- handle.Size = Vector3.new(reachValue, reachValue, reachValue)
- handle.Transparency = 1
- handle.CanCollide = false
- handle.Massless = true
- end)
- flashInput(reachInput, true)
- notify("Reach", "Reach set to " .. value .. " studs", 2)
- else
- if reachInput.Text ~= "" then
- flashInput(reachInput, false)
- notify("Reach", "Invalid number! (1-100)", 2)
- reachInput.Text = ""
- else
- reachEnabled = false
- if reachConnection then
- reachConnection:Disconnect()
- reachConnection = nil
- end
- notify("Reach", "Reach disabled", 2)
- end
- end
- end)
- -- =======================================
- -- DYNAMIC LIGHT SYSTEM (CLIENT)
- -- =======================================
- local dynLightEnabled = false
- local dynLightPart = nil
- dynLightInput.FocusLost:Connect(function()
- local text = dynLightInput.Text
- if text == "" then
- -- Remove light
- dynLightEnabled = false
- if dynLightPart then dynLightPart:Destroy() dynLightPart = nil end
- notify("Dynamic Light", "Dynamic light removed", 2)
- return
- end
- -- Parse "radius, brightness" or just "radius"
- local parts = string.split(text, ",")
- local radius = tonumber(parts[1])
- local brightness = tonumber(parts[2]) or 2
- if radius then
- radius = math.clamp(radius, 1, 120)
- brightness = math.clamp(brightness, 0.1, 10)
- dynLightInput.Text = radius .. ", " .. brightness
- local char = LocalPlayer.Character
- if not char then
- flashInput(dynLightInput, false)
- return
- end
- local hrp = char:FindFirstChild("HumanoidRootPart")
- if not hrp then
- flashInput(dynLightInput, false)
- return
- end
- -- Remove old light
- if dynLightPart then dynLightPart:Destroy() end
- -- Create point light attached to character
- local existingLight = hrp:FindFirstChild("DynLight")
- if existingLight then existingLight:Destroy() end
- local light = Instance.new("PointLight")
- light.Name = "DynLight"
- light.Range = radius
- light.Brightness = brightness
- light.Color = Color3.fromRGB(255, 255, 255)
- light.Shadows = true
- light.Parent = hrp
- dynLightEnabled = true
- flashInput(dynLightInput, true)
- notify("Dynamic Light", "Light: Range=" .. radius .. " Brightness=" .. brightness, 3)
- else
- flashInput(dynLightInput, false)
- notify("Dynamic Light", "Format: radius, brightness (e.g. 30, 2)", 3)
- dynLightInput.Text = ""
- end
- end)
- -- Persist dynamic light on respawn
- LocalPlayer.CharacterAdded:Connect(function(char)
- if dynLightEnabled and dynLightInput.Text ~= "" then
- task.wait(0.5)
- local parts = string.split(dynLightInput.Text, ",")
- local radius = tonumber(parts[1])
- local brightness = tonumber(parts[2]) or 2
- if radius then
- local hrp = char:WaitForChild("HumanoidRootPart", 5)
- if hrp then
- local light = Instance.new("PointLight")
- light.Name = "DynLight"
- light.Range = math.clamp(radius, 1, 120)
- light.Brightness = math.clamp(brightness, 0.1, 10)
- light.Color = Color3.fromRGB(255, 255, 255)
- light.Shadows = true
- light.Parent = hrp
- end
- end
- end
- end)
- -- =======================================
- -- SEARCH FUNCTIONALITY
- -- =======================================
- local function getSearchableName(item)
- local label = item:FindFirstChild("Label")
- if label and label:IsA("TextLabel") then
- return label.Text:lower()
- end
- local actionBtn = item:FindFirstChild("ActionButton")
- if actionBtn and actionBtn:IsA("TextButton") then
- return actionBtn.Text:lower()
- end
- return item.Name:lower()
- end
- SearchInput:GetPropertyChangedSignal("Text"):Connect(function()
- local searchText = SearchInput.Text:lower()
- for _, child in ipairs(Inside_ScrollingFrame:GetChildren()) do
- if child:IsA("Frame") then
- if searchText == "" then
- if not child.Visible then
- child.Visible = true
- child.BackgroundTransparency = 0
- end
- else
- local itemName = getSearchableName(child)
- if string.find(itemName, searchText, 1, true) then
- if not child.Visible then
- child.Visible = true
- child.BackgroundTransparency = 0
- end
- else
- child.Visible = false
- end
- end
- end
- end
- end)
- -- =======================================
- -- OPEN ANIMATION
- -- =======================================
- Main.Size = UDim2.new(0, 430, 0, 0)
- Main.BackgroundTransparency = 1
- Shadow.Size = UDim2.new(0, 435, 0, 0)
- Shadow.BackgroundTransparency = 1
- TweenService:Create(Main, TweenInfo.new(0.35, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {
- Size = UDim2.new(0, 430, 0, 470),
- BackgroundTransparency = 0
- }):Play()
- TweenService:Create(Shadow, TweenInfo.new(0.35, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {
- Size = UDim2.new(0, 435, 0, 475),
- BackgroundTransparency = 0.85
- }):Play()
Advertisement
Add Comment
Please, Sign In to add comment