im trying to change the players clothes to prisoner clothes when they click the van button but it just removes the clothes instead. i looked up a few videos and looked thru the forum but no hope so far. i grabbed the shirt + pants template from the catalog.
gif:
https://gyazo.com/492d11b1756e9119897f7d1e42116cce
script:
local function AssignClothes(char)
if not plr:HasAppearanceLoaded() then plr.CharacterAppearanceLoaded:Wait() end
local shirt = char:FindFirstChildOfClass("Shirt") or Instance.new("Shirt", char)
local pants = char:FindFirstChildOfClass("Pants") or Instance.new("Pants", char)
shirt.ShirtTemplate = "rbxassetid://12018511613"
pants.PantsTemplate = "rbxassetid://12018516081"
end
AssignClothes(char)