generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: HELP!!!

Previous Thread :: Next Thread 
N10U is not online. 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
MilkyWay01 is not online. MilkyWay01
Joined: 22 Feb 2010
Total Posts: 1049
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
WakefulBomb54 is not online. WakefulBomb54
Joined: 11 Jan 2011
Total Posts: 194
10 Mar 2012 04:13 PM
yo
Report Abuse
N10U is not online. N10U
Joined: 26 Feb 2011
Total Posts: 57
11 Mar 2012 09:41 AM
no it's somting else
Report Abuse
WakefulBomb54 is not online. WakefulBomb54
Joined: 11 Jan 2011
Total Posts: 194
27 Mar 2012 02:25 PM
This thing is not active enough xD
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image