|
| 28 Aug 2011 01:53 PM |
hi guys i know this forum isnt for requests but ive tried making this script in so many ways but i can get it working im trying to make a script that gives a badge to a player wearing a vip t-shirt when they enter the game can someone help me? |
|
|
| Report Abuse |
|
|
|
| 28 Aug 2011 02:16 PM |
| this post is to get this thread back to the top of the list |
|
|
| Report Abuse |
|
|
Colt324
|
  |
| Joined: 19 Aug 2009 |
| Total Posts: 1562 |
|
|
| 28 Aug 2011 02:26 PM |
search "vip badge script" in freemodels pause before inserting, then look at the script. make sure there's no viruses! |
|
|
| Report Abuse |
|
|
|
| 28 Aug 2011 03:47 PM |
i dont want to use free models because it means other people are making your game |
|
|
| Report Abuse |
|
|
Colt324
|
  |
| Joined: 19 Aug 2009 |
| Total Posts: 1562 |
|
|
| 28 Aug 2011 03:48 PM |
| umg other people would be making your game if they posted the code here |
|
|
| Report Abuse |
|
|
|
| 28 Aug 2011 04:53 PM |
im not asking for people to just giv me the script i made thislots but it never works and many of the script helpers have tried fixing and they all have failed. also free models hardly ever work anyways |
|
|
| Report Abuse |
|
|
|
| 28 Aug 2011 04:54 PM |
this is the script i wrote. can you tell me if there is anything wrong with it?
vip = "http://www.roblox.com/asset/?id=59775054" badge = 60415305 function NP(n) character = game.Workspace.FindFirstChild(n.Name) wait(5) if character ~= nil then if character.Torso:FindFirstChild("roblox") ~= nil then if character.Torso.roblox.Texture == vip then -----You forgot another "=" getbadge = game:GetService("BadgeService") getbadge:AwardBadge(n.userId, badge) end end end end
game.Players.ChildAdded:connect(NP)
|
|
|
| Report Abuse |
|
|
|
| 28 Aug 2011 04:55 PM |
ignore the thing saying you forgot another = when i posted this earlier i made a typing error i corrected it but it still doesnt work |
|
|
| Report Abuse |
|
|
Spectrumw
|
  |
| Joined: 04 Aug 2009 |
| Total Posts: 13510 |
|
|
| 28 Aug 2011 04:56 PM |
vip = "http://www.roblox.com/asset/?id=59775054" badge = 60415305 function NP(n) n.CharacterAdded:wait() character = n.Character wait(5) if character.Torso:FindFirstChild("roblox") ~= nil then if character.Torso.roblox.Texture == vip then - getbadge = game:GetService("BadgeService") getbadge:AwardBadge(n.userId, badge) end end end
game.Players.PlayerAdded:connect(NP) |
|
|
| Report Abuse |
|
|
| |
|
|
| 28 Aug 2011 05:12 PM |
is there an particular part of the explorer were the script is meant to be or does it stay in workspace? |
|
|
| Report Abuse |
|
|