ehm, @UkrainianDeveloper Do you mind helping lol
Probably an error with the link with the asset id. I also need to say, you should use a remote event with a server script to change the clothing, since it will only be shown to the client.
How do I do that?!?!??!?!!?!?
ljngsdfpogsdoåfj
You need to add a RemoteEvent to the ReplicatedStorage which you can name ClothingEvent. Then, in your button, you need to fire that event, so I’ll make you this tiny script for that. Add this inside the localscript you had.
local remote = game:GetService("ReplicatedStorage").ClothingEvent
local button = script.Parent
local player = game.Players.LocalPlayer
button.MouseButton1Click:Connect(function()
remote:FireServer(player)
end)
Inside a server script, put this script
local remote = game:GetService("ReplicatedStorage").ClothingEvent
remote.OnServerEvent:Connect(function(fired, player)
if player:GetRankInGroup >= then
--Here you put the same thing you did to change clothes
--player.Character.Shirt...
end
end)
Sorry for not adding everything, I had something else to do.