⭐⭐Thanks for watching
---------------------------------------------------------
script:
local part = game.Workspace.Part2
local button = game.Workspace.Button2
local detector = game.Workspace.Button2.ClickDetector
detector.MouseClick:Connect(function()
part.Transparency = 0.8
part.CanCollide = false
wait(2)
part.Transparency = 0
part.CanCollide = true
end)
---------------------------------------------------------
⭐socials⭐
---------------------------------------------------------
⭐tiktok: https://www.tiktok.com/@ezocaa?lang=en
⭐twitch: https://www.twitch.tv/Ezoca
---------------------------------------------------------
20 likes for a door where you need a key to open it
Comment below your thought's and if you want more Roblox
scripting tutorials.
Download
0 formats
No download links available.
How to make a Door Open When Clicked Button (Roblox Studio Tutorial) | NatokHD