generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Script a player into a seat?

Previous Thread :: Next Thread 
RoyalBobby202 is not online. RoyalBobby202
Joined: 16 Apr 2011
Total Posts: 458
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 is not online. 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
JellyJ3eans is not online. JellyJ3eans
Joined: 10 May 2011
Total Posts: 486
20 Feb 2017 03:58 PM
He means putting the player in an actual seat...


Report Abuse
RoyalBobby202 is not online. RoyalBobby202
Joined: 16 Apr 2011
Total Posts: 458
23 Feb 2017 05:36 PM
wound up just creating a seatweld and putting it in the seat, thanks anyways
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
23 Feb 2017 05:37 PM
humanoid:SetState(Enum.HumanoidStateType.Sitting)


Report Abuse
RoyalBobby202 is not online. RoyalBobby202
Joined: 16 Apr 2011
Total Posts: 458
23 Feb 2017 05:42 PM
still not what was wanted but thanks, I solved it.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image