Max_Cool
|
  |
| Joined: 06 Mar 2016 |
| Total Posts: 37 |
|
|
| 01 Dec 2016 12:06 PM |
I'm trying to make a chair that if you sit on it, it loads up an animation. I hate the old sitting when you're on a chair, so I'm making a custom one.
can anyone make that for me? I'm not that great at scripting.
I made a script, linked it to a seat, but it didn't work.
script I made: game.Players.PlayerAdded:connect(function(Player) Player.Character:WaitForChild("Humanoid").Seated:connect(function() local animation = Instance.new("Animation", Player) animation.AnimationId = 558381765 local animationTrack = Player.Character.Humanoid:LoadAnimation(animation) animationTrack:Play() end) end)
|
|
|
| Report Abuse |
|
Max_Cool
|
  |
| Joined: 06 Mar 2016 |
| Total Posts: 37 |
|
|
| 01 Dec 2016 12:30 PM |
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
|
|
|
| Report Abuse |
|
Max_Cool
|
  |
| Joined: 06 Mar 2016 |
| Total Posts: 37 |
|
| |