So I tried for like 4 days to make a good game teleporter. A game teleporter like in the horror games, with a player counter " 0/4" for example. When the player counter hits " 4/4", players can't join anymore and a 20s timer beggins. When the timer hits 0, players will be teleported to a game. I really tried all my methods but i just can't do it. If anybody would want to help me with this, it would be aswome! Thanks so much if you can help me.
COMMUNITY QUESTION
i know that i ask for a lot but i really need help. ?
1 answer
X = 0
timer = 20
repeat
-- player touching part event
x = x + 1
end
-- player leaving part function
x = x - 1
end
until x == 4
repeat wait(1)
print(timer)
timer = timer - 1
until timer == 0
for _, v(playertouchingpart) in ipairs do
local hrp = player:FindFirstChild("HumanoidRootPart")
hrp.Position.CFrame = Vector3.new(position).CFrame
end
I gave you a simple concept, well you should check roblox developer hub part touching and part leaving function, and stuffs. I cant help you much. If you really have problems, im teaching you more soon
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
look it up, there should be a similar question to this on the dev forums
look at the dev forum, its not needed to ask here
i didn't find anything on dev forum