I'm making a skin system where a player gets a skin when they bought, but it'll go back to their og character when they respawn. Heres some code
game.Players.PlayerAdded:Connect(function(Player) local Data = game.ReplicatedStorage.Assets.Remotes.GetTeleportData:InvokeClient(Player).EquippedSkin or "Dummy" local Character = game.ServerStorage.Assets.Skins[Data]:Clone() Player.Character = Character Character.Parent = workspace --Not Showing Player.CharacterAdded:Connect(function(Char) Char.Humanoid.Died:Wait() --Not Showing wait(5) local Data = game.ReplicatedStorage.Assets.Remotes.GetTeleportData:InvokeClient(Player).EquippedSkin or "Dummy" local Character = game.ServerStorage.Assets.Skins[Data]:Clone() Player.Character = Character Character.Parent = workspace end) --Not Showing end)
Any way I can fix it
Might be because it has the wrong character so try to make sure you have the right character