Answered by
5 years ago Edited 5 years ago
03 | local Players = game:GetService( "Players" ) |
04 | local SitAnimID = 507776043 |
06 | Players.PlayerAdded:Connect( function (Player) |
07 | Player.CharacterAdded:Connect( function (Character) |
08 | local Animation = Character:FindFirstChild( 'SitAnim' , true ) |
Hope this has helped, please learn from this and have a good day. If you have anything else you want to add on you can ask me. :)
Requested Script (Ignore)
03 | local Players = game:GetService( "Players" ) |
04 | local SitIdleAnim = 507776043 |
07 | [ workspace.Seat 1 ] = 507770818 ; |
08 | [ workspace.Seat 2 ] = 507770677 ; |
12 | Players.PlayerAdded:Connect( function (Player) |
13 | Player.CharacterAdded:Connect( function (Character) |
14 | local Animation = Character:FindFirstChild( 'SitAnim' , true ) |
15 | local Humanoid = Character.Humanoid |
17 | Humanoid:GetPropertyChangedSignal( 'SeatPart' ):Connect( function () |
18 | local AnimationValue = Seats [ Humanoid.SeatPart ] |
19 | if not AnimationValue then |