So basically, I want to have a part following the mouse of the person that is using my plugin, I am perfectly capable of doing this, but for some reason, I cannot get the mouse position?
game:GetService("UserInputService").InputBegan:Connect(function(input)
print('input')
if input.UserInputType == Enum.UserInputType.MouseMovement then
if PluginActive then
print('Ready to move')
if CurrentlySelected == nil then
else
print('move')
CurrentlySelected.CFrame = CFrame.new(Vector3.new(input.Position.X, input.Position.Y, input.Position.Z) + Vector3.new(0,0,0))
end
end
end
end)
LINK
If you know how I would place a block at the mouse position, that would be amazing.