Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --// Speed Run V5 ( Realistic+ ) \\--
- --// 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)
- --// 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
- 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
- end
- end)
- --// Custom Fly Script () \\--
- 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
- --// Cheats \\--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement