|
| 11 Mar 2013 10:01 AM |
I tried like a billion times, and I still can't get it to work. It's supposed to give the person a VIP sword if they have the T-shirt.
debounce = false game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(char) if debounce == false then debounce = true if game:GetService("BadgeService"):UserHasBadge(p.userId, 109226853) then a = game.Lighting["VIP Sword"]:Clone() a.Parent = player.Backpack end end debounce = false end) end)
MUST. RUIN. CHILDHOOD. |
|
|
| Report Abuse |
|
|
| |
|
|
| 11 Mar 2013 10:08 AM |
Nope.
MUST. RUIN. CHILDHOOD. |
|
|
| Report Abuse |
|
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 11 Mar 2013 10:09 AM |
| Note that in play solo, player won't have any badges/t-shirts. |
|
|
| Report Abuse |
|
|
|
| 11 Mar 2013 10:10 AM |
Yeah, it doesn't give me the sword when I go into play mode, either. I could test the script in Play mode if I could remember that model that tells you the output.
MUST. RUIN. CHILDHOOD. |
|
|
| Report Abuse |
|
|
|
| 11 Mar 2013 10:10 AM |
Please this isn't even set up for a t-shirt. It's setup for a badge. Here's my explanation I'm giving to you what to do. Find the players t-shirt and compare assets of it.
~RR~ |
|
|
| Report Abuse |
|
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 11 Mar 2013 10:12 AM |
^ Dat guy has hurt his head, don't listen to him. |
|
|
| Report Abuse |
|
|
|
| 11 Mar 2013 10:16 AM |
@Radioactive BadgeService works for everything, not just badges. I want it to work even if they're not wearing it.
MUST. RUIN. CHILDHOOD. |
|
|
| Report Abuse |
|
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 11 Mar 2013 10:19 AM |
Lemme try to do stuff:
game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(char) if game:GetService("BadgeService"):UserHasBadge(player.UserId, 109226853) then a = game.Lighting["VIP Sword"]:Clone() a.Parent = player.Backpack end end) end) |
|
|
| Report Abuse |
|
|
|
| 11 Mar 2013 10:20 AM |
Durrrrr. I put p instead of player. How did I miss that until now?
MUST. RUIN. CHILDHOOD. |
|
|
| Report Abuse |
|
|
|
| 11 Mar 2013 10:24 AM |
Dang it! Now when I get the sword, it doesn't work. Can I fix this? This happened when I created a GUI shop, too.
MUST. RUIN. CHILDHOOD. |
|
|
| Report Abuse |
|
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 11 Mar 2013 10:34 AM |
| Idk, do what ever you want. Like disable and enable the script, or something. Think logically. |
|
|
| Report Abuse |
|
|