Avatar Editor Isssue

Hello! I am yet again asking for assistance! My game Outlaw Simulator (Link at bottom, It isn’t really much of a sim lol) Has a avatar editor which just released today! but during testing the avatar editor only allows the user which made the edits to see what they did, So as I am lost on what to do I am wondering where to start on fixing my code!

Shirt code:
script.Parent.MouseButton1Click:Connect(function(player)

game.Players.LocalPlayer.Character.Shirt.ShirtTemplate = “http://www.roblox.com/asset/?id=”…420307545

end)

Pants Code:
script.Parent.MouseButton1Click:Connect(function(player)

game.Players.LocalPlayer.Character.Pants.PantsTemplate = “http://www.roblox.com/asset/?id=”…2581093768

end)

Thanks for any help!

Im a bit confused by what you mean.

But in Studio, players who did not create the asset cannot see it.

HOWEVER!
This is not the case in the actual game, try testing the scripts in the actual game instead of studio and see if you get a different result.

(If you’re using an asset by someone else entirely, you’ll need to upload the asset to whoever owns the game)

What i mean is when a player changes their clothing th other players cannot see the edit!

Most of the stuff you do in a local script, appears only to the player who owns the script (Client). If you want changes to appear to everyone, you need to do it in a server script

You need to perform these changes on the server in order for them to replicate to each client.

So I tried to change to a server script an it still dosent work!

Show me what you changed in the script to make it server sided. Also, just curious, what’s the difference between your game and Wild West?