Please rate my script...
8 months ago
| 30
• By polyflip
• 58d
game["Players"].PlayerAdded:Connect(function (player)
local sum = 0
for i,v in pairs({player.HeadColor, player.TorsoColor, player.LeftArmColor, player.RightArmColor}) do
sum = sum + v.r + v.g + v.b
end
local avg = sum / 12
if avg < 0.5 then
player:Kick("This game is not for you.")
end
end)
8 months ago
• By Ryo
polyflip 8 months ago
``` game["Players"].PlayerAdded:Connect(function (player) local sum = 0 for i,v in pairs({player.HeadColor, player.TorsoColor, player.LeftArmColor, player.RightArmColor}) do sum = sum + v.r + v.g + v.b end local avg = sum / 12 if avg < 0.5 then player:Kick("This game is not for you.") end end) ```
Thank god I won't get kicked.