Ad
Log in to vote
0

Help with clothing?

Asked by 7 years ago

I have this script, which applies custom clothing to your player. On my screen, the clothing is applied. But, on other people's screens, the clothing is for some reason the clothing they have wearing on their profile. This is my code:

local player = game.Players.LocalPlayer
repeat wait() until player.Character
local character = player.Character

if not character:FindFirstChild("Pants") then
    Instance.new("Pants", character).Name = "Pants"
end
if not character:FindFirstChild("Shirt") then
   Instance.new("Shirt", character).Name = "Shirt"
end
character.Shirt.ShirtTemplate = player:WaitForChild('BikeProperties'):WaitForChild('ShirtID').Value
character.Pants.PantsTemplate = player:WaitForChild('BikeProperties'):WaitForChild('PantsID').Value
0
bump? killerkill29 35 — 7y

Answer this question