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

how do I make a spawn for people ID only?

1 answer

✓ Accepted answer
local ids = {3252953,43583248965} --put ids in table here
local newSpawn = game.Workspace.VipSpawn --were you want them to spawn, make it a spawn location
game.Players.PlayerAdded:Connect(function(p)
	local isVip = false
	for i,v in pairs(ids) do
		if v==p.UserId then
			isVip = true
			break
		end
	end
	if isVip then
		p.RespawnLocation = newSpawn
		p.CharacterAdded:Connect(function(c)
			c:MoveTo(newSpawn.Position)
		end)
	end
end)

Put the id's of people you want to be accepted into the brackets, and make the newSpawn variable your spawn location. If you do the above correctly, anyone with a id in the table above will be teleported & spawn at the spawn location. If you have any questions, feel free to ask, until then, have a great day.

-REALTimothy0812

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