Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ProximityPrompt.Triggered:Connect(function()
- if ProximityPrompt.ActionText == "Open" then
- Door.Transparency = .5
- Door.CanCollide = false
- ProximityPrompt.ActionText = "Close"
- else
- Door.Transparency = 0
- Door.CanCollide = true
- ProximityPrompt.ActionText = "Open"
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement