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

Why isn't this working?

		spawns = mapChosenClone.Spawns:GetChildren()
	
		for i,v in pairs(game.Players:GetChildren()) do
    		name = v.Name
			check = game.Workspace:FindFirstChild(name)
			if check then
				checkHumanoid = check:FindFisrtChild("Humanoid")
				if checkHumanoid then
					check:MoveTo(spawns[i].Position)
				end
			end
		end

Anyone?

1 comment

0

WOW, WHAT THE FUCK PEOPLE, WHY DISLIKE CAUSE I ASKED A QUESTION, I MEAN COME ON YOU FUCKING MORONS, GO GET A FUCKING LIFE

2 answers

✓ Accepted answer

You spelled "First" wrong in the "FindFirstChild" at line 07

You misspelled FindFirstChild, you wrote FindFisrtChild.

Fix that and it should work.

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