How in the actual world does this not work (0 errors)

I need the UserIds to teleport to the “ownerspawnpart”

local admins = {
	42312299,
	5052029921
}
local ownerspawnpart = workspace.Map.OwnerSpawn

game.Players.PlayerAdded:Connect(function(plr)
	if table.find(admins,plr.UserId) then
		local char = plr.Character or plr.CharacterAdded:Wait()
		local HRP = char:WaitForChild("HumanoidRootPart")
		HRP.Position = ownerspawnpart.Position
	end
end)
1 Like

Could this work?
I’m no coding master.

local admins = {
	42312299,
	5052029921
}
local ownerspawnpart = workspace.Map.OwnerSpawn

game.Players.PlayerAdded:Connect(function(plr)
	if table.find(admins,plr.UserId) then
		local char = plr.Character or plr.CharacterAdded:Wait()
		task.wait(0.05)
		char:PivotTo(ownerspawnpart.CFrame)
	end
end)

ive tried it but not in that way…IT WORKS. I hate CFrame thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.