-- by Ganondude


ring1 = script.Parent.Parent.Rings.Ring1
lifts1 = ring1.Lifts:getChildren()
parts1 = ring1.Parts:getChildren()
ring2 = script.Parent.Parent.Rings.Ring2
lifts2 = ring2.Lifts:getChildren()
parts2 = ring2.Parts:getChildren()
ring3 = script.Parent.Parent.Rings.Ring3
lifts3 = ring3.Lifts:getChildren()
parts3 = ring3.Parts:getChildren()
ring4 = script.Parent.Parent.Rings.Ring4
lifts4 = ring4.Lifts:getChildren()
parts4 = ring4.Parts:getChildren()
ring5 = script.Parent.Parent.Rings.Ring5
lifts5 = ring5.Lifts:getChildren()
parts5 = ring5.Parts:getChildren()

localdeb = script.Parent.Debounce
foreigndeb = script.Parent.Parent.Parent:findFirstChild(script.Parent.Parent.Destination.Value).Button.Debounce

function onTouched(hit)
if (localdeb.Value~=true) and (foreigndeb.Value~=true) then
localdeb.Value = true
foreigndeb.Value = true
