Ducksneedhelp1

Red Button Script

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