So I have 2 image buttons ( let's call them button A and B). Button A makes you spawn as character x (new clothes, and body colors) and Button B makes you spawn as character y (new clothes, and body colors). When I play the game with a friend he cant see my character appearence, I can't see his either but he can see his, and I can see mine. Is there a way to fix this?
P.S: I use this small code to get rid of the original's player's character appearence :
game.Players.PlayerAdded:connect(function(player) player.CanLoadCharacterAppearance = false end)
And this is button A's script (Local Script inside the button) :
--// script by zologo local rp = game.ReplicatedStorage local xchar = rp:WaitForChild('x') local replicatedStorage = game:GetService('ReplicatedStorage') local respawnEvent = replicatedStorage:WaitForChild('Respawn_Plr') script.Parent.MouseButton1Click:connect(function() --Body Colors local plrchar = game.Players.LocalPlayer.Character for name, child in pairs(plrchar:GetChildren()) do -- Looping through all of the children if child:IsA("BasePart") then -- Checking if it's a part child.BrickColor = BrickColor.new('Pastel brown') -- Setting it to pastel end end --Clothing local pa = Instance.new('Pants' ,plrchar) --adds pants to char pa.PantsTemplate="http://www.roblox.com/asset/?id=1023408267"--changes pants id local sh = Instance.new('Shirt',plrchar) --adds shirt to char sh.ShirtTemplate="http://www.roblox.com/asset/?id=817261375"--changes pants id --remove face plrchar.Head.face:Destroy() script.Parent.Parent : destroy() plrchar:LoadCharacterAppearence() respawnEvent:FireServer() end)
Please help me :c