this is not working
local Player = game.Players.LocalPlayler local mouse = Player:GetMouse() local tool = game.workspace.Tool
mouse.KeyDown:connect(function(Key) tool:Clone().Parent = player.Backpack end
When using the keybind, make sure to use mouse.target and check if your (torso.Position-object.Position).magnitude is greater than or equal to any number.
Something like this (I am at school right now, so i cant really check if i wrote this right lol): local m = player:GetMouse() local mt = m.Target
if (m.Hit.p - player.Character.Torso.Position) <= 10 then local item = mt --etc, etc...
If this didnt help then please say so.