local Player = game.Players.LocalPlayer local Mouse = Player:GetMouse() Mouse.Move:connect(function() if Mouse.Target ~= nil then if Mouse.Target.Name == "Center" then for i,v in pairs (Mouse.Target.Parent:GetChildren()) do if v.Name == "Placed" then if v.Value == true then --Code deleted due to confusion end end end end end end)
I want to make a model (with a center part) be moved at an increment of 4 studs via mouse movement.I tried using Mouse.Move:connect(function() but then didn't know how to make it only move by 4 studs at a time. Please help?