Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How can i give someone a group shirt?

I'm looking for some code or something that can allow me to make some group shirts, not allow them to be bought, and then award them to players in my game when they complete a task. Like the egg hunt that gave you an egg hat, but on a lower scale with a couple of shirts, basically allowing them to unlock a shirt that goes in their inventory and that they can wear in all games, upon completing a task.

One method would be to prompt them to buy a free shirt upon completing the task, but how can I make sure they can't just buy the free shirt without completing the task :/

I have no idea if this is possible. Any help would be appreciated.

3 answers

Hi, first of all, you can't make free shirts, you can make free t-shirts, however, I'm not sure that's what you mean. A shirt costs a minimum of 5 Robux. Second, No there is no way to hide a shirt. However, If you really want, you can create a shirt with decals and put it in your game. Prompting the purchase of a shirt is the only way to make someone obtain it. Shirts can not be just put in players' inventories for obvious reasons. There is no code to help you A. Hide a shirt B. Award a shirt without a player's consent. Roblox can do this because they're Roblox

There is no code that allows you to do such a thing. The only reason the Egg Hunts work is because Roblox itself checks if a player has a certain badge. If they have that Badge, then the item is added into the players inventory.

I mean you can set a players shirt in-game, but other then that there's no possible way to actually put it in their inventory.

This discussion is preserved as it was. New answers, comments, and votes are closed.