Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local p = game.Players.LocalPlayer
- local m = p:GetMouse()
- m.KeyDown:Connect(function(k)
- local hum = p.Character:FindFirstChildOfClass("Humanoid")
- if k == " " and (hum:GetState() == Enum.HumanoidStateType.Jumping or hum:GetState() == Enum.HumanoidStateType.Freefall) then
- p.Character.HumanoidRootPart.Velocity = Vector3.new(p.Character.HumanoidRootPart.Velocity.X,50,p.Character.HumanoidRootPart.Velocity.Z)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement