Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- debounce=false
- function onTouched(hit)
- if debounce==true then return end
- debounce=true
- for i= 1, 60 do
- script.Parent.Parent.LeftDoor.Window.CFrame = script.Parent.Parent.LeftDoor.Window.CFrame * CFrame.new(0.05,0,0)
- script.Parent.Parent.RightDoor.Window.CFrame = script.Parent.Parent.RightDoor.Window.CFrame * CFrame.new(-0.05,0,0)
- wait()
- end
- wait(3)
- for i= 1, 60 do
- script.Parent.Parent.LeftDoor.Window.CFrame = script.Parent.Parent.LeftDoor.Window.CFrame * CFrame.new(-0.05,0,0)
- script.Parent.Parent.RightDoor.Window.CFrame = script.Parent.Parent.RightDoor.Window.CFrame * CFrame.new(0.05,0,0)
- wait()
- end
- debounce=false
- end
- script.Parent.Touched:connect(onTouched)
Advertisement
Add Comment
Please, Sign In to add comment