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

Help with On-Touch Sliding Door?

I've been looking for a good On-Touch Sliding Door tutorial but I cant find any good or new ones, does anyone know any newer or good ones that work?

Thanks!

1 answer

-- Try not to do requests all the time but what you can do is do a

x = script.Parent
script.Parent.Touched:connect(function(hit)
if hit.Parent:findFirstChild("Humanoid")~= nil then
     x.CFrame = x.CFrame+Vector3.new(number you want to go sideways,0,number you want to go forward or backward)
wait(5)
   x.CFrame = x.CFrame -Vector3.new(same coordinates as before)

end
end)

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