So, I have this script that turns moves the players character along with your mouse movement, but its slow and doesn’t completely keep up to speed with the mouse, any way to modify this to make it move at the same speed as the mouse? Here is the script.
Tool = script.Parent gyro = Instance.new("BodyGyro") script:WaitForChild("Gyro").Value = gyro onMouseMove=function(mouse) local vCharacter = Tool.Parent if vCharacter ~= nil then local tp = vCharacter.Humanoid.TargetPoint tp = Vector3.new(tp.X,Tool.Parent.UpperTorso.Position.Y,tp.Z) local dir = (tp - Tool.Parent.UpperTorso.Position).unit local spawnPos = Tool.Parent.UpperTorso.Position local pos = spawnPos + (dir * 1000) script.Gyro.Value.cframe = CFrame.new(pos, pos + dir) end end onEquipped=function(mouse) for i,k in pairs(Tool.Parent.UpperTorso:GetChildren()) do if k:IsA("BodyGyro") then k.Parent=nil end end wait(0.1) script.Gyro.Value.Parent = Tool.Parent:findFirstChild("UpperTorso") script.Gyro.Value.maxTorque = Vector3.new(300,300,300) mouse.Move:connect(function() onMouseMove(mouse) end) end onUnequipped=function() script.Gyro.Value.Parent = nil wait(0.01) for i,k in pairs(Tool.Parent.UpperTorso:GetChildren()) do if k:IsA("BodyGyro") then k.Parent=nil end end end Tool.Equipped:connect(onEquipped) Tool.Unequipped:connect(onUnequipped)