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

how to teleport players to a map?

i want to teleport players to a map like murder mystery i really need help.

1 answer

local point=Vector3.new()
for _,v in pairs(game.Players:GetPlayers())do
	if v.Character then
		v.Character:MoveTo(point+Vector3.new(math.random(-10,10),0,math.random(-10,10))
	end
end

Moves everyone's character to point offset by up to 10 studs in any horizontal direction.

1 comment

0

so i just place this in workspace? and the map?

This discussion is preserved as it was. New answers, comments, and votes are closed.