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?
Go into the tool and uncheck CanBeDropped.
or use this script
game.StarterPack.ToolName.CanBeDropped = false
Please accept this answer if it worked. :)