For some reason mouse.Target deals with the LocalPlayer as a ghost, so when I click it and try to print the target it returns the thing behind the LocalPlayer, how to fix this?
local mouse = player:GetMouse()
tool.Activated:Connect(function()
local target = mouse.Target
print(target) -- treats localplayer as a ghost, but other players/npc normally
Is the player .Locked by any chance? I don’t usually use mouse.Target as I opt for raycasting but you could try checking that the LocalPlayer’s Character isn’t locked.