Advertisement
Marcosmascenablox

Untitled

Apr 7th, 2021
2,968
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ProximityPrompt.Triggered:Connect(function()
  2.  if ProximityPrompt.ActionText == "Open" then
  3.   Door.Transparency = .5
  4.   Door.CanCollide = false
  5.   ProximityPrompt.ActionText = "Close"
  6.  else
  7.   Door.Transparency = 0
  8.   Door.CanCollide = true
  9.   ProximityPrompt.ActionText = "Open"
  10.  end
  11. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement