Anyone got any idea on how I could get this to work? My issue is that I need to connect to characteradded so that it loads info on the players character, but I also need to connect to a signal so that the player can change their character by pushing a button. I need this to reset the character so all the new info loads but since characteradded is linked to it it'll load the character twice:
game.Players.PlayerAdded:Connect(function(player)
player:GetAttributeChangedSignal("CurrentCharacter"):Once(function()
self:UpdateCharacter(player, player:GetAttribute("CurrentCharacter"))
end)
player.CharacterAdded:Connect(function()
self:UpdateCharacter(player, player:GetAttribute("CurrentCharacter"))
end)
end)
end
function CharacterService:KnitStart()
self.Client.UpdateCharacter:Connect(function(player, character)
player:LoadCharacter()
self:UpdateCharacter(player, character)
end)
print(Characters)
end