|
| 18 Feb 2017 02:25 PM |
I need to force a player to sit in a given seat via a script. I do NOT want to use a CFrame teleport, or anything like that. I want it to immediately and flawlessly weld them to the seat
I have tried: local weld = Instance.new('Weld') weld.Parent = game.Workspace.Seat weld.Name = "SeatWeld" weld.Part0 = game.Workspace.Seat weld.Part1 = game.Workspace.Player.HumanoidRootPart
in Test mode, which just teleports my player to the seat and sticks me there, it does not make me actually sit in the seat. Suggestions?
Thanks, Royal |
|
|
| Report Abuse |
|
|
yar890
|
  |
| Joined: 10 Apr 2013 |
| Total Posts: 166 |
|
|
| 20 Feb 2017 03:50 PM |
| To make a player run the sit animation, You just need to go to the players humanoid, and set the humanoid property "Sit" to true. Google roblox humanoid to find the specific sit property. |
|
|
| Report Abuse |
|
|
|
| 20 Feb 2017 03:58 PM |
He means putting the player in an actual seat...
|
|
|
| Report Abuse |
|
|
|
| 23 Feb 2017 05:36 PM |
| wound up just creating a seatweld and putting it in the seat, thanks anyways |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 23 Feb 2017 05:37 PM |
humanoid:SetState(Enum.HumanoidStateType.Sitting)
|
|
|
| Report Abuse |
|
|
|
| 23 Feb 2017 05:42 PM |
| still not what was wanted but thanks, I solved it. |
|
|
| Report Abuse |
|
|