A simple PlayerAdded script won't fire in a LocalScript or a script
Code:
game.Players.PlayerAdded:Connect(function(Plr) Plr.CharacterAdded:Connect(function(Char) print("test") end) end)
If you're trying to wait for a character you can do:
game.Players.PlayerAdded:connect(function(player) repeat wait() until player.Character print("test") end)
PlayerAdded most likely will not fire for the LocalPlayer in testing, but will for everyone else.