local tool = game.Lighting["Raw Big Boi Steak"]
local klone = tool:clone()
script.Parent.ClickDetector.MouseClick:connect(function(plr)
if klone.Parent ~= plr.Backpack then
klone.Parent = plr.Backpack
end
end)
local tool = game.ServerStorage["Raw Chicken Wing"]
local klone = tool:clone()
script.Parent.ClickDetector.MouseClick:connect(function(plr)
if klone.Parent ~= plr.Backpack then
klone.Parent = plr.Backpack
end
end)
Because you’re checking if it is bigger than nil, It checks 1 time and since nothing is in you’re inventory but the 2 time it is already in you’re inventory and you’re checking if it is nil.
local tool = game.ServerStorage["Raw Chicken Wing"]
script.Parent.ClickDetector.MouseClick:connect(function(plr)
local klone = tool:clone()
if klone.Parent ~= plr.Backpack then
klone.Parent = plr.Backpack
end
end)