Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
2

Is it possible to get the (Current) Speed of a Vehicle Seat?

Asked by
Xduel 211 Moderation Voter
9 years ago

So with a Vehicle Seat, I want to get the variable(or property) that hold the seat's current speed and put it on a Surface GUI. However, I do not know where to find this variable or how to path it in a script. I assume this variable exists, as the ROBLOX built in speed GUI shows it (HeadsUpDisplay = true to see it). So is this possible? All answers appreciated, Thank You. ~Xduel

1 answer

Log in to vote
3
Answered by
Merely 2122 Moderation Voter Community Moderator
9 years ago
local seat = script.Parent
local speed = seat.Velocity.magnitude
print(speed)
Ad

Answer this question