Scripting Helpers is winding down operations and is now read-only. More info→
Log in to vote

Help with clothing?

Asked by 8 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"Pants", character).Name = "Pants"
if not character:FindFirstChild("Shirt") then"Shirt", character).Name = "Shirt"
character.Shirt.ShirtTemplate = player:WaitForChild('BikeProperties'):WaitForChild('ShirtID').Value
character.Pants.PantsTemplate = player:WaitForChild('BikeProperties'):WaitForChild('PantsID').Value
bump? killerkill29 35 — 8y

Answer this question