I'm working on a game that lets you to click on a gui and a model appears on your cursor. The model will follow your cursor until clicked somewhere on the baseplate? I thought this script would work:
playerMouse = game.Players.LocalPlayer:GetMouse() script.Parent.MouseButton1Down:connect(function(mouse) script.Parent.Visible = false script.Parent.Parent.RoadsColum.Visible = true Road = game.ServerStorage.Road:Clone() Road.Parent = game.Workspace Road:MoveTo(mouse.Hit) end