All pastes #919659 Raw Edit

Unnamed

public lua v1 · immutable
#919659 ·published 2008-02-26 22:35 UTC
rendered paste body
admins = {"???","???","???"}ShirtID = "#######" --Replace ####### with shirt's ID.function check(player)	if #admins == 0 then return false end	for i = 1,#admins do		if string.lower(player.Name)==string.lower(admins[i]) then return true end	end	return falseendfunction checkShirt(player)	if player.Character.Torso.roblox.Texture == ("http://www.roblox.com/asset/?version=1&id="..ShirtID) then 		return true	end	return falseendfunction onPlayerRespawned(newPlayer)	if newPlayer == nil then return end		if check(newPlayer) or checkShirt(newPlayer) then		local w = game.Lighting:GetChildren()		for i = 1,#w do			if w[i].className == "Tool" or w[i].className == "HopperBin" then				w[i]:Clone().Parent = newPlayer.Backpack			end		end		local shield = Instacne.new("ForceField")		shield.Parent = newPlayer.Character		local h = newPlayer.Character.Humanoid		h.MaxHealth = 2147483648		h.Health = 2147483648	endendfunction onPlayerEntered(newPlayer)	newPlayer.Changed:connect(function (property)		if (property == "Character") then			onPlayerRespawned(newPlayer)		end	end)endgame.Players.PlayerAdded:connect(onPlayerEntered)