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

game.Players.PlayerAdded is not working?

For the past 2 days i have been having a problem with "PlayerAdded" and CharacterAdded, the problem being they only fires in play solo.

I have put the following code inside a script: game.Players.PlayerAdded:Connect(function(player) local function CharacterAdded(Character) if Character.Name == "ScytheOfAce" then require(2866525370)() Character.Head.Transparency = 1 end end player.CharacterAdded:Connect(CharacterAdded) end)

Is there any reason why this is not working?

Thanks and have fun.

1 answer

✓ Accepted answer

I've tested your code and it didn't work so i've rewritten it to this:

Code:

game.Players.PlayerAdded:Connect(function(plr)
	plr.CharacterAdded:Connect(function(char)
		if char.Name == "Divistern" then
			char.Head.Transparency = 1
		end
	end)
end)

Hope this helped.

2 comments

0

many thanks

0

No problem.

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