Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --// Speed Run V5 \\--
- --// Scripted By TeoMessiKing \\--
- wait(2)
- local uis = game:GetService("UserInputService")
- local plr = game.Players.LocalPlayer
- local mouse = plr:GetMouse()
- local jump = false
- local run = false
- local fly = true
- local mag = wait()
- local character = plr.Character or plr.CharacterAdded:Wait()
- local anim = character.Humanoid:LoadAnimation(script.Animation)
- local debounce = false
- local cheats = false
- local speed = false
- local jumpcheat = false
- local ree = false
- local function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
- local counter = 0
- --// Custom Walk Script \\--
- uis.InputBegan:Connect(function(key)
- if key.KeyCode == Enum.KeyCode.W then
- run=true
- print("Running")
- game.Workspace.CurrentCamera.FieldOfView = 70
- plr.Character.Humanoid.WalkSpeed = 16
- for i = 1,20 do
- game.Workspace.CurrentCamera.FieldOfView = game.Workspace.CurrentCamera.FieldOfView + 0.5
- plr.Character.Humanoid.WalkSpeed = plr.Character.Humanoid.WalkSpeed + 0.2
- wait()
- end
- end
- end)
- uis.InputEnded:Connect(function(key)
- if key.KeyCode == Enum.KeyCode.W then
- run=false
- print("Walking")
- for i=1,20 do
- wait()
- game.Workspace.CurrentCamera.FieldOfView = game.Workspace.CurrentCamera.FieldOfView - 0.5
- plr.Character.Humanoid.WalkSpeed = plr.Character.Humanoid.WalkSpeed - 0.2
- end
- end
- end)
- --// Custom Jump Script \\--
- uis.InputBegan:Connect(function(key)
- if key.KeyCode == Enum.KeyCode.Space then
- jump=true
- workspace.CurrentCamera.FieldOfView = 70
- for i=1,10 do
- wait()
- plr.Character.Humanoid.JumpPower = plr.Character.Humanoid.JumpPower + 1
- workspace.CurrentCamera.FieldOfView = workspace.CurrentCamera.FieldOfView + 0.5
- end
- end
- end)
- uis.InputEnded:Connect(function(key)
- if key.KeyCode == Enum.KeyCode.Space then
- jump=false
- for i=1,10 do
- wait()
- plr.Character.Humanoid.JumpPower = plr.Character.Humanoid.JumpPower - 1
- workspace.CurrentCamera.FieldOfView = workspace.CurrentCamera.FieldOfView - 0.5
- end
- workspace.CurrentCamera.FieldOfView = 70
- plr.Character.Humanoid.JumpPower = 50
- end
- end)
- --// Custom Fly Script (With Animation) \\--
- uis.InputBegan:Connect(function(key)
- if key.KeyCode == Enum.KeyCode.F then
- if plr.Character.HumanoidRootPart:findFirstChild("b") then
- plr.Character.HumanoidRootPart.b:Destroy()
- anim:Stop()
- uis.MouseBehavior = Enum.MouseBehavior.Default
- fly = false
- game.Workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
- for i=1,10 do
- wait()
- game.Workspace.CurrentCamera.FieldOfView = game.Workspace.CurrentCamera.FieldOfView - 2
- end
- else
- local bp = Instance.new("BodyVelocity")
- bp.Name = "b"
- bp.Parent = plr.Character.HumanoidRootPart
- bp.P = 7000
- anim:Play()
- for i=1,10 do
- wait()
- game.Workspace.CurrentCamera.FieldOfView = game.Workspace.CurrentCamera.FieldOfView + 2
- end
- game.Workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
- fly = true
- repeat
- uis.MouseBehavior = Enum.MouseBehavior.LockCenter
- bp.Velocity = game.Workspace.CurrentCamera.CFrame.LookVector*100
- wait()
- until fly == false
- end
- end
- end)
- --// Custom Special Abilities \\--
- uis.InputBegan:Connect(function(key)
- if key.KeyCode == Enum.KeyCode.G then
- print("Gravity: Activated")
- for i=1,20 do
- game.Workspace.Gravity = 30
- print(20-i.." Seconds Left")
- wait(1)
- end
- game.Workspace.Gravity = 196.2
- end
- end)
- --// Cheats \\--
- --// Cheat On/Off \\--
- plr.Chatted:Connect(function(msg)
- if msg == "!Cheats" then
- if not cheats then
- cheats = true
- print("Cheats On")
- elseif cheats then
- cheats = false
- print("Cheats Off")
- end
- end
- end)
- --// Commands \\--
- --// Speed Cheat \\--
- plr.Chatted:Connect(function(msg)
- if msg == "!Speed" then
- if cheats then
- if not speed then
- speed = true
- repeat
- plr.Character.Humanoid.WalkSpeed = 100
- wait()
- until speed == false
- print("Speed On/Off")
- end
- if speed then
- speed = false
- end
- elseif not cheats then
- print("U Need To Turn On Cheats U Can Do That By Typing !Cheats")
- end
- end
- end)
- --// Jump Cheat \\--
- plr.Chatted:Connect(function(msg)
- if msg == "!Jump" then
- if cheats then
- if not jumpcheat then
- jumpcheat = true
- repeat
- plr.Character.Humanoid.JumpPower = 100
- wait()
- until jumpcheat == false
- print("Jump On/Off")
- end
- if jumpcheat then
- jumpcheat = false
- end
- elseif not cheats then
- print("U Need To Turn On Cheats U Can Do That By Typing !Cheats")
- end
- end
- end)
- --// Night Cheat \\--
- plr.Chatted:Connect(function(msg)
- if msg == "!Night" then
- if cheats then
- game.Lighting.TimeOfDay = 0.1
- print("its night now spooky")
- end
- if not cheats then
- print("Turn On Cheats")
- end
- end
- end)
- --// Day Cheat \\--
- plr.Chatted:Connect(function(msg)
- if msg == "!Day" then
- if cheats then
- game.Lighting.TimeOfDay = 14
- print("its day now")
- end
- elseif not cheats then
- print("Turn On Cheats")
- end
- end)
- --// Morning Cheat \\--
- plr.Chatted:Connect(function(msg)
- if msg == "!Morning" then
- if cheats then
- game.Lighting.TimeOfDay = 6.13
- print("Its Morning")
- end
- elseif not cheats then
- print("Turn On Cheats")
- end
- end)
- --// REE Cheat \\--
- plr.Chatted:Connect(function(msg)
- if msg == "!REE" then
- if cheats then
- if ree == false then
- ree = true
- print("REE MODE ON!! REEEEE")
- local sound = Instance.new("Sound")
- sound.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
- sound.Playing = true
- sound.SoundId = "rbxassetid://2866646141"
- sound.Volume = 2
- sound.Looped = true
- local anim = Instance.new("Animation")
- anim.AnimationId = "rbxassetid://02944714632"
- sound.MaxDistance = 10000
- game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(anim):Play()
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 100
- game.Workspace.Gravity = 20
- game.Lighting.FogStart = 1
- game.Lighting.FogEnd = 100
- repeat
- for i=1,10 do
- game.Workspace.CurrentCamera.FieldOfView = game.Workspace.CurrentCamera.FieldOfView + 4
- wait()
- end
- wait()
- for i=1,10 do
- wait()
- game.Workspace.CurrentCamera.FieldOfView = game.Workspace.CurrentCamera.FieldOfView - 4
- end
- game.Lighting.FogColor = Color3.fromHSV(zigzag(counter),1,1)
- counter = counter + 0.01
- until ree == false
- elseif ree == true then
- ree = false
- game.Workspace[game.Players.LocalPlayer.Name].HumanoidRootPart.Sound:Destroy()
- game.Lighting.FogEnd = 100000
- game.Lighting.FogStart = 0
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
- game.Workspace.Gravity = 196.2
- end
- if not cheats then
- print("Turn On Cheats")
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement