How To Script A Sliding Door On Roblox
Today i show you how to make a sliding door in roblox studio.
How to script a sliding door on roblox. To do this you can create an animation of the door opening and closing using an animation plugin which you can find on the create page of roblox. Local door script. You can then use mousebutton1down to run the animation when clicked on the door like this. Text 1 00 kb.
Raw download clone embed report print. Lua 0 73 kb. In this tutorial i show how to make a sliding door be sure to subscribe like and comment turn on you re notifications roblox studio tutorial if you. Local door1 script parent parent door1 local door2 script parent parent door2 local tween game getservice tweenservice.
Open false door1 script parent p. Sign up it unlocks many cool features. Sign up it unlocks many cool features. Raw download clone embed print report roblox door script put into the part you want the door to be.
Not a member of pastebin yet. Link to the door script. Local service game getservice tweenservice local gate script parent parent gate local info tweeninfo new 2 script parent clickdetecto. Not a member of pastebin yet.