I'm trying to make a building system and whenever i move my mouse it gets closer to the camera and it glitches out. Help? ):
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
mouse.Move:connect(function()
position = mouse.hit.p
game.Workspace.Part.Position = position
end)

2 comments
I did everything so it cant get any closer to the camera but it keeps doing it, i tried the player and the characters model. What should be Ignored?
game.Workspace.Part