Ducksneedhelp1

Green Button Script

Dec 13th, 2020
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.27 KB | None | 0 0
  1. local ClickDetector1 = script.Parent.ClickDetector1
  2. local OfficeDoor = game.Workspace.OfficeDoor
  3.  
  4. ClickDetector1.MouseClick:Connect(function()
  5.     OfficeDoor.CanCollide = false
  6.     wait(0.1)
  7.     OfficeDoor.Transparency = 0.2
  8.     wait(0.1)
  9.     OfficeDoor.Material = "Glass"
  10.    
  11. end)
Advertisement
Add Comment
Please, Sign In to add comment