Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to make a coop game teleporter that teleports max 2 players?

Asked by 4 years ago

function onTouched(m) p = m.Parent:findFirstChild("Humanoid") if p ~= nil then p.Torso.CFrame = CFrame.new(-154,2,-113) --Change the numbers here to the position you want the humanoid to teleport to. end end

script.Parent.Touched:connect(onTouched)

I have this position teleporter.

I will make a coop game lobby i need a touch teleporter that teleports max 2 players to the teleport room and waits till the real game teleporter to teleport them

if first or second player leaves the room make it teleportable again,

how can i make this

thanks for help,

Answer this question