Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Teleport = "" --The Name Of The Other Teleporter,Other Teleporter Has To Have A Different Name Than The Other Teleporter
- function Touch (hit)
- if script.Parent.Locked == false and script.Parent.Parent : FindFirstChild(Teleport).Locked == false then script.Parent.Locked = true script.Parent.Parent:FindFirstChild(Teleport).Locked=true
- local Pos = script.Parent.Parent:FindFirstChild(Teleport)
- hit.parent:moveTo(Pos.Position) wait(1)script.Parent.Locked = false script.Parent.Parent:FindFirstChild(Teleport).Locked = false
- end
- end
- script.Parent.Touched:connect(Touch)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement