What do you want to achieve? Keep it simple and clear!
So, today I was writing a script that gave the player starting clothes and it removed the players accessories. But it didn’t work and I got some issues.
What is the issue? Include screenshots / videos if possible!
I got some errors, which I will send a screenshot of:
I think it’s because you have “shirt” not capitalized as a variable and “Shirt” capitalized trying to refer to that variable. You’re also missing and end statement to your for loop.
shirt:Clone().Parent and pants:Clone().Parent = char
Your Shirt was capitalized and you need to match the shirt on line 1.
Change the plr in line 7 to player.
Also move line 1 and 2 into line 5. The variable character wasn’t declared so another error will pop up.
You need to properly declare your instances. For instance, you have “plr” written but have “player” defined as the variable. Also, add a variable for character or instead move shirt and pants inside your event.