CharacterAppearanceLoaded not firing sometimes?
Asked by
8 years ago Edited 8 years ago
06 | local plrs = game:GetService( "Players" ) |
07 | local repStore = game:GetService( "ReplicatedStorage" ) |
10 | local charLoaded = repStore:WaitForChild( "CharacterHasLoaded" ) |
17 | plrs.PlayerAdded:Connect( function (plr) |
18 | print ( "PLAYER HAS BEEN ADDED, PLR:" ,plr) |
20 | plr.CharacterAppearanceLoaded:Connect( function (char) |
21 | print ( "Player's character has loaded! Player:" ,plr, ",applying delay..." ) |
24 | print ( "Delay applyed! Firing event for " ,plr) |
26 | charLoaded:InvokeClient(plr,char) |
So, every time the player's character loads, it will fire a RemoteEvent to the player.
It works fine, though sometimes. I've been told by some of the players who played my game, that in random moments, this won't work.
I've been testing with these players, and I've noted that, in some cases, the print in Line 21 won't fire(which means that, CharacterAppearanceLoaded has not fired), when they reset or join the game, while I was using the in-game console.
The system I've made seem to work flawlessly for me, but not for some players.