I want this to move an object named "Center" when it is clicked by the mouse. Will it work? I ask because I do not have access to the studio as of right now.
local Player = game.Players.LocalPlayer local Mouse = Player:GetMouse() Mouse.Button1Down:connect(function() Mouse.Move:connect(function() if Mouse.Target == "Center" then --code to move the objects model end end) end)