I simply need a part to follow localplayer’s cursor in a client. However, my script won’t do anything.
Here is my script (LocalScript)
local me = game.Players.LocalPlayer;
local mouse = me:GetMouse();
while (true) do
local pos = mouse.Hit.Position;
script.Parent.Position = pos + Vector3.new(0, 0.5, 0);
wait();
end;
