Board Thread:Roblox help and discussion/@comment-34773674-20181215183110

I have successfully made two teleportation pads that go back and forward to different places, the problem is that when I teleport from one pad to the other they keep teleporting me back to each other because there isn't enough time for me to step off the pad. Can anyone help on how to create a time/second gap between getting on and getting off the teleportation pad to a new one? I'm not sure if anyone can because the video I got the code from only used one teleportation pad to get to a place. Here's the video I got the code from and the code itself. https://www.youtube.com/watch?v=wUDRHbk-1eI&t=1s

--FireWolf-Gaming Teleporter Script--

function onTouched(hit)

print("Teleport")

local human = hit.Parent:findFirstChild("Torso")

brick = script.Parent

if (human ~=nil) then

human.CFrame= CFrame.new(Vector3.new(-587.168, 128.7, -2561.024))

end

end

script.Parent.Touched:connect(onTouched) 