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

How do i make it so when i sit in a vehicle seat it plays an animation? [closed]

Asked by 5 years ago

I have a motorcycle in my game and to make the character`s riding position i made an animation but i dont know how to make it appear when i sit on the bike.

0
Please understand that this is not a request site. DeceptiveCaster 3761 — 5y

Closed as Not Constructive by DeceptiveCaster and User#24403

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 5 years ago

This question is more of a "How do I this?" with no attempt. The site's rules don't tolerate these requests...

But, here's what it would look like,

Seat.Change:Connect(function(property)
    if property == "Occupant" then
        AnimationTrack:Play()
    end
end)
Ad