why does it print multiple times instead one that i'm trying to do, and how can i fix this?
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
local part = game.Workspace.Part
while true do
mouse.TargetFilter = part
part.Position = mouse.Hit.p
mouse.Button1Down:connect(function()
print(true)
return
end)
wait()
end

2 comments
Is it an infinite loop or only a certain amount of times?
a infinite loop