My script has a blue underline under tools. The script is giving me one sand with tools when you should get two. Can this be fixed?
script.Parent.Touched:connect(function(part) if part.Parent:IsA("Tool") and game.Players:FindFirstChild(part.Parent.Parent.Name) then local plr = game.Players:findFirstChild(part.Parent.Parent.Name) wait(1) plr.leaderstats.Sand.Value = plr.leaderstats.Sand.Value + 1 script.Parent:Destroy() end end) script.Parent.Touched:connect(function(part) if part.Parent:IsA("Tools") and game.Players:FindFirstChild(part.Parent.Parent.Name) then local plr = game.Players:findFirstChild(part.Parent.Parent.Name) wait(.1) plr.leaderstats.Sand.Value = plr.leaderstats.Sand.Value + 2 script.Parent:Destroy() end end)