How to set minecraft vehicle speed

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Csani10

Member
Feb 23, 2025
3
1
3
Hi. How can i set a vehicle's speed in skript? i want it for a command to change the speed of the current vehicle the player is sitting in (like boat or minecart)
 
Hi. How can i set a vehicle's speed in skript? i want it for a command to change the speed of the current vehicle the player is sitting in (like boat or minecart)
You can try changing velocity of boat/minecart depending on a multiplier.
 
how could i do that?
I can't show you an example because i don't have that much time.

Just listen on spawn event and create a while loop for it. In this loop, you will do:

set velocity of event-entity to velocity of event-entity * 2 # 2 is changeable.

But don't forget to save it's normal velocity so you don't see an endless speed gain.