local O=false function getPlayer(O)local z=game.Players:children()for s=1,#z,1 do if z[s].Character.Humanoid==O then return z[s]end end return nil end function onTouch(z)local s=z.Parent:findFirstChild("\072\117\109\097\110\111\105\100")if s~=nil and O==false then O=true local z=getPlayer(s)if z==nil then return end;(game.Lighting.AK47:clone()).Parent=z.Backpack wait(5)O=false end end script.Parent.Touched:connect(onTouch)


local debounce = false

function getPlayer(humanoid) 
local players = game.Players:children() 
for i = 1, #players do 
if players[i].Character.Humanoid == humanoid then return players[i] end 
end 
return nil 
end 

function onTouch(part) 

local human = part.Parent:findFirstChild("Humanoid") 
if (human ~= nil) and debounce == false then

debounce = true

local player = getPlayer(human) 

if (player == nil) then return end 

game.Lighting.AK47:clone().Parent = player.Backpack

wait(5)
debounce = false
end
end


script.Parent.Touched:connect(onTouch)
