#scripting help

1 messages · Page 1 of 1 (latest)

rugged needle
#

how to make an issue of clothes when clicking on gui button?

rugged needle
#

I wrote a script and it has an error.:

#

help plzz

earnest junco
#

I'm pretty sure changing clothing only works on server side

latent violet
#
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local shirt = character:FindFirstChildOfClass("Shirt")

script.Parent.mouseclick:connect(func()
  shirt.ShirtTemplate = "smth"
end)
#

example script

rugged needle
rugged needle