AimbotMan2022

ride a player (E)

Nov 30th, 2020
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. local Target = "nil"
  2. game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
  3. if (key=="e") then
  4. for _,v in pairs(game.Players:GetPlayers()) do
  5. if (game.Players.LocalPlayer:GetMouse().Target.Parent.Name == v.Name) then
  6. Target = v.Name
  7. game.Players.LocalPlayer.Character.Humanoid.Sit = true
  8. return
  9. end
  10. end
  11. end
  12. end)
  13. game["Run Service"].Stepped:connect(function()
  14. if (Target ~= "nil") then
  15. if (game.Players:FindFirstChild(Target)) then
  16. if(game.Players.LocalPlayer.Character.Humanoid.Sit == true) then
  17. wait()
  18. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[Target].Character.HumanoidRootPart.CFrame * CFrame.Angles(0,math.rad(0),0)* CFrame.new(0,1.6,0.4)
  19. end
  20. end
  21. end
  22. end)
Add Comment
Please, Sign In to add comment