Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- prefix = "/"
- NoClip = false
- WSpeed = 200
- FSPrefix = 1
- flying = false
- FSpeed = 1
- function Change()
- WSpeed = WSpeed
- FSpeed = FSpeed
- end
- plr = game:GetService("Players").LocalPlayer
- plr.Chatted:Connect(function(msg)
- -- WSpeed [Value - Speed]
- if string.sub(msg, 1, 7) == (prefix.."WSpeed") then
- WSpeed = string.sub(msg, 9, 50)
- wait()
- Change()
- -- Script
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = WSpeed
- end
- -- UnSpeed
- if string.sub(msg, 1, 9) == (prefix.."UnWSpeed") then
- -- Script
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
- end
- -- R47FGui - R47$ploit Fps Gui
- if string.sub(msg, 1, 8) == (prefix.."R47FGui") then
- -- Script
- loadstring(game:GetObjects("rbxassetid://2486235684")[1].Source)()
- end
- -- NoClip
- if string.sub(msg, 1, 7) == (prefix.."NoClip") then
- NoClip = true
- -- Script
- if NoClip then
- local Workspace = game:GetService("Workspace")
- local Players = game:GetService("Players")
- local Plr = Players.LocalPlayer
- Clipon = true
- Stepped = game:GetService("RunService").Stepped:Connect(function()
- if not Clipon == false then
- for a, b in pairs(Workspace:GetChildren()) do
- if b.Name == Plr.Name then
- for i, v in pairs(Workspace[Plr.Name]:GetChildren()) do
- if v:IsA("BasePart") then
- v.CanCollide = false
- end end end end
- else
- Stepped:Disconnect()
- end
- end)
- else
- Clipon = false
- end
- end
- -- Clip
- if string.sub(msg, 1, 5) == (prefix.."Clip") then
- NoClip = false
- -- Script
- if NoClip then
- local Workspace = game:GetService("Workspace")
- local Players = game:GetService("Players")
- local Plr = Players.LocalPlayer
- Clipon = true
- Stepped = game:GetService("RunService").Stepped:Connect(function()
- if not Clipon == false then
- for a, b in pairs(Workspace:GetChildren()) do
- if b.Name == Plr.Name then
- for i, v in pairs(Workspace[Plr.Name]:GetChildren()) do
- if v:IsA("BasePart") then
- v.CanCollide = false
- end end end end
- else
- Stepped:Disconnect()
- end
- end)
- else
- Clipon = false
- end
- end
- -- FlySpeed
- if string.sub(msg, 1, 9) == (prefix.."FlySpeed") then
- FSpeed = string.sub(msg, 11, 50)
- wait()
- Change()
- end
- -- Fly [Value - Speed]
- local Mouse = plr:GetMouse()
- repeat wait() until plr and plr.Character and plr.Character:FindFirstChild('HumanoidRootPart') and plr.Character:FindFirstChild('Humanoid')
- repeat wait() until Mouse
- -- Fly Script
- local T = plr.Character.HumanoidRootPart
- local CONTROL = {F = 0, B = 0, L = 0, R = 0}
- local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
- local SPEED = FSPrefix
- local function fly()
- flying = true
- local BG = Instance.new('BodyGyro', T)
- local BV = Instance.new('BodyVelocity', T)
- BG.P = 9e4
- BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
- BG.cframe = T.CFrame
- BV.velocity = Vector3.new(0, 0.1, 0)
- BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
- spawn(function()
- repeat wait()
- plr.Character.Humanoid.PlatformStand = true
- if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
- SPEED = 50
- elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
- SPEED = 0
- end
- if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
- BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
- lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
- elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
- BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
- else
- BV.velocity = Vector3.new(0, 0.1, 0)
- end
- BG.cframe = workspace.CurrentCamera.CoordinateFrame
- until not flying
- CONTROL = {F = 0, B = 0, L = 0, R = 0}
- lCONTROL = {F = 0, B = 0, L = 0, R = 0}
- SPEED = 0
- BG:destroy()
- BV:destroy()
- plr.Character.Humanoid.PlatformStand = false
- end)
- end
- Mouse.KeyDown:connect(function(KEY)
- if KEY:lower() == 'w' then
- CONTROL.F = FSpeed
- elseif KEY:lower() == 's' then
- CONTROL.B = -FSpeed
- elseif KEY:lower() == 'a' then
- CONTROL.L = -FSpeed
- elseif KEY:lower() == 'd' then
- CONTROL.R = FSpeed
- end
- end)
- Mouse.KeyUp:connect(function(KEY)
- if KEY:lower() == 'w' then
- CONTROL.F = 0
- elseif KEY:lower() == 's' then
- CONTROL.B = 0
- elseif KEY:lower() == 'a' then
- CONTROL.L = 0
- elseif KEY:lower() == 'd' then
- CONTROL.R = 0
- end
- end)
- fly()
- -- UnFly
- if string.sub(msg, 1, 6) == (prefix.."UnFly") then
- flying = false
- plr.Character.Humanoid.PlatformStand = false
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement