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

BodyPosition

How do you change the position value and gyro to make an sliding door?

1 answer

✓ Accepted answer

I would suggest using CFrame. this is posible with:

-- THIS IS FOR UP
for i=1,50 do
script.Parent.CFrame = script.Parent.CFrame + Vector3.new(0,0.1,0)
wait(0.02)
end

wait(3)

-- THIS IS FOR DOWN
for i=1,50 do
script.Parent.CFrame = script.Parent.CFrame - Vector3.new(0,0.1,0)
wait(0.02)
end

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