I can't think of a solution to stopping this:
local plr = game.Players.LocalPlayer local m = plr:GetMouse() game:GetService("RunService").RenderStepped:connect(function() local bob = workspace.Bob if bob then bob.Position = m.Hit.p m.TargetFilter = bob m.Button1Down:connect(function() --?? What would stop the above end) end end)
I tried changing the conditions to the "if bob then" for a loop but that did nothing.
It's a better idea to use BindToRenderStep
and UnbindFromRenderStep
. You can get more information on these functions here.