This is a script I use for a landmine, but after about a second of deploying it's still able to be picked up.
function drop()
script.Parent.Parent = game.Workspace
script.Parent.Handle.CFrame = script.Parent.Handle.CFrame + Vector3.new(0,-1,0)
local rotation = CFrame.Angles(0,180,-90)
script.Parent.Handle.CFrame = rotation + script.Parent.Handle.Position
script.Parent.Handle.Name = ("Explode")
wait (2)
script.Parent.Explode.Explode.Disabled = false
end
script.Parent.Activated:connect(drop)
Is there anyway I can edit this script so the landmine can't be picked up?

2 comments
I would recommend you to just uncheck it's a simple way.
I did that before I posted the question :p