Teleport Script
Teleport Script: ``
local Teleport1A = script.Parent
local Teleport1B = script.Parent.Teleport1B
local canTeleport = true
function Teleport1A(part)
local hum = part.Parent:FindFirstChild("HumanoidRootPart")
if hum then
if canTeleport then
canTeleport = false
hum.CFrame = Teleport1B.CFrame + Vector3.new(0,5,0)
wait(5)
canTeleport = true
end
end
end
function Teleport1B(part)
local hum = part.Parent:FindFirstChild("HumanoidRootPart")
if hum then
if canTeleport then
canTeleport = false
hum.CFrame = Teleport1A.CFrame + Vector3.new(0,5,0)
wait(5)
canTeleport = true
end
end
end
Teleport1A.Touched:connect(Teleport1A)
Teleport1B.Touched:connect(Teleport1B)
`> `
Teleport1A.Touched:connect(Teleport1A) Teleport1B.Touched:connect(Teleport1B)
>

19 comments
If Teleport1A and Teleport1B is a model, use hum:MoveTo(Teleport1A.PrimaryPart.Position) and then go to explorer, select the model and go to properties. Then, click on PrimaryPart and then on explorer, click the part taht is the centre of the model.
oh.. model!
WHATS directories?
Directories here means where the part is located in explorer
and the name of the functions and the name of the parts
If it still doesn't work, DM me in discord Samyak#7649
local Teleport = "Part2" 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:findFi
how to check directories?
Do you have discord?
Or can you add Team Create o that I can see what the real issue is
yeah i have discord
and its a test game not an actual game
i made it team create. what do i do next?
Samyak#7649 is my discord DM me there
It will be easier for me to provide help to you in realtime
ok at 6:00 pm IST
i reqested you on discord
https://discord.gg/xvbctS for @BestCreativeBoy
https://discord.gg/dnm692