N10U
|
  |
| Joined: 26 Feb 2011 |
| Total Posts: 57 |
|
|
| 10 Mar 2012 02:52 PM |
texture = "http://www.roblox.com/a1693a2949c4da65bb5cdfa0ab301e96-item?id=66603681" permission = { "N10U" } collectors = {"Ro-Nike"} function checkShirt(torso) local rbx = torso:findFirstChild("roblox") if rbx ~= nil then if rbx.Texture == texture then return true end end return false end function checkOwner(name) for i = 1,#permission do if (string.upper(name) == string.upper(permission[i])) then return true end end return false end function giveWeps(name) for i = 1,#collectors do if (string.upper(name) == string.upper(collectors[i])) then return true end end return false end function new(newPlayer) local char = game.Players:playerFromCharacter(newPlayer) if char == nil then return end
wait(1) --VIP Stuff if checkShirt(char.Character.Torso) then local rbx = char.Character.Torso:findFirstChild("roblox") if rbx.texture then --People with the t-shirt get this amount of health. gui=Instance.new("BillboardGui") gui.Parent=newPlayer.Character.Head gui.Adornee=newPlayer.Character.Head gui.Size=UDim2.new(3,0,3,0) gui.StudsOffset=Vector3.new(0,3,0) text=Instance.new("ImageLabel") text.Image = "http://www.roblox.com/asset/?id=65999681" text.Size=UDim2.new(1.25,0,1.25,0) text.Position=UDim2.new(-0.125,0,-0.125,0) text.BackgroundTransparency = 1 text.Parent=gui char.Character.Humanoid.MaxHealth = 250 --Max health you get. char.Character.Humanoid.Health = 250 --Health you start with. local weps = game.Lighting.NormalVip:GetChildren() --Level3 is t-shirt access for i =1, #weps do if weps[i].className == "Tool" or weps[i].className == "HopperBin" then local weps2 = weps[i]:clone() weps2.Parent = char.Backpack end end end elseif checkOwner(char.Name) then --This is the main owner that can just be one person (you) or your personal close friend. char.Character.Humanoid.MaxHealth = 5000 --Max health you get. char.Character.Humanoid.Health = 5000 --Health you start out with. local weps = game.Lighting.Admins:GetChildren() --Level1 is for the owner or a really close friend for i =1, #weps do if weps[i].className == "Tool" or weps[i].className == "HopperBin" then local weps2 = weps[i]:clone() weps2.Parent = char.Backpack end end elseif giveWeps(char.Name) then --here your friends can be like super admins or another way of thinking get free VIP. char.Character.Humanoid.MaxHealth = 1000 --The max health you can have. char.Character.Humanoid.Health = 1000 --what you start off with. local weps = game.Lighting.Collectors:GetChildren() --Level2 is for your friends that you want to get free admin equal as t-shirt admins or a bit more. for i =1, #weps do if weps[i].className == "Tool" or weps[i].className == "HopperBin" then local weps2 = weps[i]:clone() weps2.Parent = char.Backpack end end end end
game.Workspace.ChildAdded:connect(new)
Please Help Dosent work |
|
|
| Report Abuse |
|
|
| 10 Mar 2012 04:13 PM |
| I think you copied the texture wrong. You don't copy the t-shirts link, you go into the game, wear the t-shirt, and look at the t-shirts actual texture id. The texture id and the link are two different things |
|
|
| Report Abuse |
|
| |
N10U
|
  |
| Joined: 26 Feb 2011 |
| Total Posts: 57 |
|
| |
|
| 27 Mar 2012 02:25 PM |
| This thing is not active enough xD |
|
|
| Report Abuse |
|