Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local players = game:GetService("Players")
- local localPlr = players.LocalPlayer
- local mouse = localPlr:GetMouse()
- local UILibrary = loadstring(game:HttpGet("https://pastebin.com/raw/V1ca2q9s"))()
- local window = UILibrary.Load("MOD MENU")
- local gameTab = window.AddPage("GAME")
- local worldTab = window.AddPage("WORLD")
- local movementTab = window.AddPage("MOVEMENT")
- local visualTab = window.AddPage("VISUAL")
- --world tab
- worldTab.AddLabel("WARNING: WILL ONLY APPLY TO YOUR CLIENT")
- worldTab.AddSlider("GRAVITY", {Min=0, Max=499, Def=196.2}, function(gravity)
- workspace.Gravity = gravity
- end)
- worldTab.AddSlider("TIME", {Min=0, Max=24, Def=14.5}, function(hour)
- game.Lighting.ClockTime = hour
- end)
- --movement tab
- local clickTpConnection
- local clickTpToggle = movementTab.AddToggle("CLICK TP", false, function(val) --Click Tp
- if val then
- clickTpConnection = mouse.Button1Up:Connect(function()
- local character = localPlr.Character or localPlr.CharacterAdded:Wait()
- character.HumanoidRootPart.CFrame = mouse.Hit
- end)
- else
- clickTpConnection:Disconnect()
- end
- end)
- local speedSlider = movementTab.AddSlider("WALK SPEED", {Min=0, Max=999, Def=16}, function(speed)
- local character = localPlr.Character or localPlr.CharacterAdded:Wait()
- character.Humanoid.WalkSpeed = speed
- end)
- local jumpSlider = movementTab.AddSlider("JUMP POWER", {Min=0, Max=499, Def=50}, function(power)
- local character = localPlr.Character or localPlr.CharacterAdded:Wait()
- character.Humanoid.UseJumpPower = true
- character.Humanoid.JumpPower = power
- end)
- local infJumpConnection
- local infJumpToggle = movementTab.AddToggle("INF JUMP", false, function(val)
- if val then
- infJumpConnection = game:GetService("RunService").RenderStepped:Connect(function()
- if not game.Players.LocalPlayer.Character then return end
- if not game.Players.LocalPlayer.Character.Humanoid then return end
- if game.Players.LocalPlayer.Character.Humanoid.Jump then
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
- end
- end)
- else
- infJumpConnection:Disconnect()
- end
- end)
- local stalking = false
- local stalk = movementTab.AddToggle("STALK RANDOM PLAYER", false, function(val)
- if val then
- stalking = true
- local ranPlr = players:GetPlayers()[math.random(1, #players:GetPlayers())]
- local ranCharacter = ranPlr.Character or ranPlr.CharacterAdded:Wait()
- task.spawn(function()
- while wait() do
- local character = localPlr.Character or localPlr.CharacterAdded:Wait()
- character.PrimaryPart.CFrame = ranCharacter.PrimaryPart.CFrame
- if stalking == false then return end
- end
- end)
- else
- stalking = false
- end
- end)
- local player = game.Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- local userInputService = game:GetService("UserInputService")
- local runService = game:GetService("RunService")
- local flying = false
- local speed = 50
- local bodyGyro = Instance.new("BodyGyro")
- local bodyVelocity = Instance.new("BodyVelocity")
- bodyGyro.P = 9e4
- bodyGyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
- bodyGyro.cframe = character.PrimaryPart.CFrame
- bodyVelocity.velocity = Vector3.new(0, 0, 0)
- bodyVelocity.maxForce = Vector3.new(9e9, 9e9, 9e9)
- local function startFlying()
- bodyGyro.Parent = character.PrimaryPart
- bodyVelocity.Parent = character.PrimaryPart
- flying = true
- end
- local function stopFlying()
- bodyGyro.Parent = nil
- bodyVelocity.Parent = nil
- flying = false
- end
- local function onRenderStepped()
- if flying then
- local camera = workspace.CurrentCamera
- local moveDirection = Vector3.new()
- if userInputService:IsKeyDown(Enum.KeyCode.W) then
- moveDirection = moveDirection + camera.CFrame.LookVector
- end
- if userInputService:IsKeyDown(Enum.KeyCode.S) then
- moveDirection = moveDirection - camera.CFrame.LookVector
- end
- if userInputService:IsKeyDown(Enum.KeyCode.A) then
- moveDirection = moveDirection - camera.CFrame.RightVector
- end
- if userInputService:IsKeyDown(Enum.KeyCode.D) then
- moveDirection = moveDirection + camera.CFrame.RightVector
- end
- if userInputService:IsKeyDown(Enum.KeyCode.Space) then
- moveDirection = moveDirection + camera.CFrame.UpVector
- end
- if userInputService:IsKeyDown(Enum.KeyCode.LeftShift) then
- moveDirection = moveDirection - camera.CFrame.UpVector
- end
- bodyVelocity.velocity = moveDirection * speed
- bodyGyro.cframe = camera.CFrame
- end
- end
- runService.RenderStepped:Connect(onRenderStepped)
- local flyToggle = movementTab.AddToggle("FLY", false, function(val)
- if val then
- startFlying()
- else
- stopFlying()
- end
- end)
- --visual tab
- local espToggle = visualTab.AddToggle("ESP", false, function(val)
- if val then
- for _, plr:Player in pairs(players:GetPlayers()) do
- local character = plr.Character or plr.CharacterAdded:Wait()
- local highlight = Instance.new("Highlight", character)
- task.wait()
- end
- else
- for _, plr:Player in pairs(players:GetPlayers()) do
- local character = plr.Character or plr.CharacterAdded:Wait()
- if character:FindFirstChildOfClass("Highlight") then
- character:FindFirstChildOfClass("Highlight"):Destroy()
- end
- task.wait()
- end
- end
- end)
- --game tab
- local tagAll = gameTab.AddButton("TAG ALL", function()
- for _, plr in pairs(players:GetPlayers()) do
- if plr.Character then
- local character = localPlr.Character or localPlr.CharacterAdded:Wait()
- character.PrimaryPart.CFrame = plr.Character.PrimaryPart.CFrame
- task.wait(0.2)
- end
- end
- end)
- local creditEsp = gameTab.AddToggle("CREDIT ESP", false, function(val)
- if val then
- for _, part in pairs(workspace.GameObjects:GetChildren()) do
- if part.Name == "Credit" then
- local highlight = Instance.new("Highlight", part)
- highlight.FillColor = Color3.new(1,1)
- end
- end
- else
- for _, part in pairs(workspace.GameObjects:GetChildren()) do
- if part.Name == "Credit" then
- if part:FindFirstChildOfClass("Highlight") then
- part:FindFirstChildOfClass("Highlight"):Destroy()
- end
- end
- end
- end
- end)
- local getAllCredits = gameTab.AddButton("GET ALL CREDITS", function()
- for _, part in pairs(workspace.GameObjects:GetChildren()) do
- if part.Name == "Credit" then
- local character = localPlr.Character or localPlr.CharacterAdded:Wait()
- character.PrimaryPart.CFrame = part.CFrame
- task.wait(0.2)
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement