Advertisement
SoldierJoao_RBLX

FE Ride players

Nov 21st, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. --Aim your mouse at a player's torso and press E to ride them like a piggyback, Works for r15 and r6
  2. --Not mine
  3. --Credits: LAMOO on v3rmillion
  4. local Target = "nil"
  5. game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
  6. if (key=="e") then
  7. for _,v in pairs(game.Players:GetPlayers()) do
  8. if (game.Players.LocalPlayer:GetMouse().Target.Parent.Name == v.Name) then
  9. Target = v.Name
  10. game.Players.LocalPlayer.Character.Humanoid.Sit = true
  11. return
  12. end
  13. end
  14. end
  15. end)
  16. game["Run Service"].Stepped:connect(function()
  17. if (Target ~= "nil") then
  18. if (game.Players:FindFirstChild(Target)) then
  19. if(game.Players.LocalPlayer.Character.Humanoid.Sit == true) then
  20. wait()
  21. 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)
  22. end
  23. end
  24. end
  25. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement