Is there anyway I can make this script make a tool unable to be picked up?
This is a script I use for a landmine, but after about a second of deploying it's still able to be picked up.
02 | script.Parent.Parent = game.Workspace |
03 | script.Parent.Handle.CFrame = script.Parent.Handle.CFrame + Vector 3. new( 0 ,- 1 , 0 ) |
04 | local rotation = CFrame.Angles( 0 , 180 ,- 90 ) |
05 | script.Parent.Handle.CFrame = rotation + script.Parent.Handle.Position |
06 | script.Parent.Handle.Name = ( "Explode" ) |
08 | script.Parent.Explode.Explode.Disabled = false |
11 | script.Parent.Activated:connect(drop) |
Is there anyway I can edit this script so the landmine can't be picked up?