I am making a certain tool that I want to have a little gui pop up that will start going up from the mouse but no idea of how to find the mouse position
I think you're looking for this: https://developer.roblox.com/en-us/api-reference/property/Mouse/Hit
Use a LocalScript for this:
1 | local LocalPlayer = game:GetService( "Players" ).LocalPlayer |
2 | local Mouse = LocalPlayer:GetMouse() |
3 | local MX, MY = Mouse.X, Mouse.Y -- Position on screen. |
To check...
1 | while true do |
2 | print (MX, MY) -- prints position on output |
3 | wait(. 05 ) |
4 | end |
More info here: https://developer.roblox.com/en-us/api-reference/class/Mouse