Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

i know that i ask for a lot but i really need help. ?

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.

3 comments

0

look it up, there should be a similar question to this on the dev forums

0

look at the dev forum, its not needed to ask here

0

i didn't find anything on dev forum

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.