Advertisement
SYplayzYT

Door

Dec 10th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. script.parent.Touched:Connect(function(hit)
  2. if hit.Parent.Name == "Keycard" then
  3. script.Parent.CanCollide = false
  4. script.Parent.Transparency = 0.5
  5. wait(2)
  6. script.Parent.CanCollide = true
  7. script.Parent.Transparency = 0
  8. end
  9. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement