So I have a basic script:
local plr = game.Players.LocalPlayer
spawn(function()
game:GetService('RunService').Stepped:Connect(function()
local m = plr:GetMouse()
print(m.Hit.p)
workspace.SawBlade.Position = Vector3.new(m.Hit.p.X,m.Hit.p.Y,92)
end)
end)
It is suppose to take the SawBlade and put it on the mouse cursor then it is suppose to move the saw to Vector3.new(m.Hit.p.X,m.Hit.p.Y,92) but in doing so 92 isn't part of the mouses coordinate and when I move the mouse anywhere, the model lags behind it but the cursor doesn't, is there any math to fix it? I tried multiplying it by .001 even larger values and smaller but the model simply vanishes...
Help please..?
By lag I mean the everything is smooth but the model goes half the direction from the center to the mouse.

3 comments
mouse.Move
Should probably answer with that, Elixcore
That isn't the question Ankur... That isn't the answer Elixcore