local mouse = game.Players.LocalPlayer:GetMouse()
local Target = mouse.Target
local TargetParent = mouse.Target.Parent
local Hit = mouse.Hit
local Delay = false
mouse.KeyDown:Connect(function(key)
if key == "f" then
print(key)
if Delay == false then
print("delay")
Delay = true
print(TargetParent)
print(Target)
local Humanoid = TargetParent:FindFirstChild("Humanoid")
print(Humanoid)
if Humanoid then
print((Hit - Target.Position).Magnitude)
if (Hit - Target.Position).Magnitude < 10 then
print("Hit")
end
end
wait(1)
Delay = false
end
end
end)
when i aim mouse into dummy it shows other thing
