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

Help with clothings?

Asked by 9 years ago

So I have this localscript, which is inside the StarterGui, and when you join, it changes your clothing. It works, but only on my screen. On other people's screens, I still have the clothing i'm wearing on my profile. Any help?

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

character:WaitForChild('Shirt').ShirtTemplate = player:WaitForChild('BikeProperties'):WaitForChild('ShirtID').Value
character:WaitForChild('Pants').PantsTemplate = player:WaitForChild('BikeProperties'):WaitForChild('PantsID').Value

Answer this question