local ting = 0 --debouncer
function onTouched(hit)
if ting == 0 then --debounce check
ting = 1 --activate debounce
local check = hit.Parent:FindFirstChild("Humanoid") --Find the human that touched the button
if check ~= nil then --If a human is found, then
local player = game.Players:GetPlayerFromCharacter(hit.Parent) --get player from touching human
--Fix Arms
local Torso = hit.Parent:FindFirstChild("Torso")
local LA = hit.Parent:FindFirstChild("Left Arm")
local RA = hit.Parent:FindFirstChild("Right Arm")
local LShoulder = Torso:WaitForChild("Left Shoulder")
local RShoulder = Torso:WaitForChild("Right Shoulder")
end
script.Parent.Touched:connect(onTouched)
Where it says --fix arms, I would like it to make a character's arms be into a position as a person in a straight jacket.

6 comments
Use an animation
How?
https://developer.roblox.com/en-us/api-reference/class/Animation
https://developer.roblox.com/en-us/articles/using-animation-editor
Can I use something like a CFrame?
An animation would be the easiest way to do it.