Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How can I make a seat that when someone sits in it, it will have their arms in a T-pose?

2 answers

✓ Accepted answer

I have stuff here that may work


1.Make T-Pose animation

  1. To make the T-Pose animation, go to Plugins > Animation Editor.

  2. And spawn in a rig: Plugins > Build Rig

  3. Follow the directions in the Animation Editor

  4. Make animation

  5. After you're done, go to the three dots and click 'Export'

  6. Name your animation to whatever you want (i.e. T-Pose)

  7. Get Info for animation


To get the info for the animation, go to roblox.com/develop > Animations. Find your T-Pose animation. Look in the address bar at the top. You will see about 10 numbers or more. Copy that, we're gonna need to use it for the next step.

  1. Paste ID into this script:

Please insert this Server Script (Script) into game.StarterPlayer.StarterCharacterScripts:

script.Parent.Animate.sit.SitAnim.AnimationId = "rbxassetid://0000000000" --animationid

This will make all seats have the T-Pose animation. If just one seat, you need to use this script in the seat:

local currentAnimId = char.Animate.sit.SitAnim.AnimationId

function touch(hit)
	char = hit.Parent
	hit.Parent.Animate.sit.SitAnim.AnimationId = "rbxassetid:/0000000000" --animid
	wait(1)
	hit.Parent.Animate.sit.SitAnim.AnimationId = currentAnimId
end

script.Parent.Touched:Connect(touch)

b_mni

2 comments

0

Thanks! I just have a question, you put "It needs to be global" were you talking about 'local player'

0

no i actually need to edit it

try this:

1: click test

2: while the game is running go to the explorer window and look for a your character

3: open up your character model and find the script called Animate

4: copy the script

5: stop test

6: in the explorer, go to StarterPlayer --> StarterCharacterScripts

7: right click StarterCharacterScripts and select PasteInto

8: inside Animate look for the child called sit or sitting

9: replace the animation for sit with you t-pose animation

10: test again and see if it works

3 comments

0

if this works please accept it

0

The only problem is, how do I make the T-pose animation?

0

Create a dummy then open the animation editor. Inside animate your tpose when you are done click export and select create new. Copy the id it gives you when it is done uploading and use that

This discussion is preserved as it was. New answers, comments, and votes are closed.