noftaly

Untitled

Jan 4th, 2018
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. on right click with a nether star:
  2. name of player's tool is "&cVoiture"
  3. spawn cow at player
  4. set {_ride} to last spawned cow
  5. make player ride {_ride}
  6. wait 5 ticks
  7. while vehicle of player is {_ride}:
  8. change yaw of vehicle of player to yaw of player
  9. change pitch of vehicle of player to pitch of player
  10. wait 1 ticks
  11. on vehicle steer:
  12. if event-button is space:
  13. push vehicle of player upwards at speed 0.6
  14. if event-button is w:
  15. push vehicle of player in the direction of player at speed 0.6
  16. if event-button is a:
  17. push vehicle of player to the left at speed 0.4
  18. if event-button is d:
  19. push vehicle of player to the right at speed 0.4
  20. if event-button is s:
  21. push vehicle of player backwards at speed 0.4
  22.  
  23. command /giveitem:
  24. trigger:
  25. give a nether star named "&cVoiture"
Advertisement
Add Comment
Please, Sign In to add comment