Clothing Handler (LocalScript)
local Event = game.ReplicatedStorage.GiveClothes local Shirt = "rbxassetid://603018153" local Pants = "rbxassetid://356105132" function ClothesInstance(plr) local character = plr.Character local shirt = character.Shirt local pants = character.Pants shirt.ShirtTemplate = Shirt pants.PantsTemplate = Pants end Event.OnServerEvent:Connect(ClothesInstance)
Give clothes on click script (LocalScript)
local button = script.Parent.Parent.ClothesButton local Event = game.ReplicatedStorage:WaitForChild("GiveClothes") button.MouseButton1Click:Connect(function() Event:FireServer() end)