Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- collision = true
- function ButtonDoor()
- if collision == true then
- script.Parent.Mesh.Offset = Vector3.new(0,-0.5,0)
- collision = false
- wait(0.3)
- script.Parent.Mesh.Offset = Vector3.new(0,0,0)
- script.Parent.Parent.Door.CanCollide = false
- script.Parent.Parent.Name = "Enjoy the ride!"
- wait(5)
- script.Parent.Parent.Name = "Click to go!"
- script.Parent.Parent.Door2 .CanCollide = true
- end
- end
- script.Parent.ClickDetector.MouseClick:connect(ButtonDoor)
Advertisement
Add Comment
Please, Sign In to add comment