Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Door = script.Parent.Door
- script.Parent.ToggleDoor.OnServerEvent:Connect(function()
- if Door.Transparency == 0 then
- Door.Transparency = 1
- Door.CanCollide = false
- else
- Door.Transparency = 0
- Door.CanCollide = true
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement