Ok so I got 2 parts that are grouped together and I managed to make them follow my mouse cursor, however whenever I move my mouse the model seems to be moving towards my screen every time I move my mouse and once it covers up my entire screen it goes back to land (or baseplate) and it would do this repeatedly. How do I prevent it from going to my screen?
Here is the script that makes the model follow my mouse cursor:
local Player = game.Players.LocalPlayer
local Mouse = Player:GetMouse()
local Part = game.Workspace.Model
local CurrentRot = 0
Mouse.Move:Connect(function()
Part:SetPrimaryPartCFrame(CFrame.new(Mouse.Hit.p)*CFrame.Angles(0,math.rad(CurrentRot),0))
end)
Is there something wrong with the script or am I just missing something?
Also I've tried making both of the part's CanCollide property to false.
Please help! Thanks!

1 comment
Wow XD Thanks