In this video I show you how to make a clickable door in Roblox Studio
JOIN ME ON MY JOURNEY TO 100K SUBSCRIBERS
Subscribe👉🏾http://bit.ly/ShaboNeeno
How To Make A Door Open And Close In Roblox Studio? Watch Here👉🏾 • How to make a door open and close in ...
Roblox Tutorial Playlist ~ Watch Here👉🏾https://bit.ly/ROBLOXTutorial
Thanks for wacthing!
HERE'S THE SCRIPT:
local model = script.Parent.Parent.Parent
local door = model.Door
local value = script.Opened.Value
local close = model.Close
local open = model.Open
script.Parent.MouseClick:Connect(function(player)
if value == false then
value = true
door.Position = open.Position
door.Orientation = open.Orientation
elseif value == true then
value = false
door.Position = close.Position
door.Orientation = close.Orientation
end
end)
#RobloxStudio #RobloxStudioTutorial #RobloxTutorial