Uiom19
|
  |
| Joined: 17 Mar 2015 |
| Total Posts: 144 |
|
|
| 17 Apr 2017 11:36 AM |
| i want to have a gui the position of the time of the mouse cursor |
|
|
| Report Abuse |
|
|
| |
|
AxonMega
|
  |
| Joined: 29 Aug 2014 |
| Total Posts: 2403 |
|
| |
|
odem074
|
  |
| Joined: 02 Jun 2013 |
| Total Posts: 277 |
|
|
| 17 Apr 2017 11:37 AM |
mouse.hit or mouse.hit.p
#code |
|
|
| Report Abuse |
|
|
Uiom19
|
  |
| Joined: 17 Mar 2015 |
| Total Posts: 144 |
|
|
| 17 Apr 2017 11:37 AM |
| wait what im confused which one it is |
|
|
| Report Abuse |
|
|
RogueMage
|
  |
| Joined: 28 Jan 2012 |
| Total Posts: 1235 |
|
|
| 17 Apr 2017 11:37 AM |
Axon's is right
Person above him might have misunderstood (it gives world coordinates, not screen coordinates) |
|
|
| Report Abuse |
|
|
AxonMega
|
  |
| Joined: 29 Aug 2014 |
| Total Posts: 2403 |
|
|
| 17 Apr 2017 11:38 AM |
| mouse.Hit.p gives 3D coordinates in studs, mouse.X and mouse.Y give screen coordinates in pixels. |
|
|
| Report Abuse |
|
|
|
| 17 Apr 2017 11:43 AM |
I forgot about that lol Use axons method.
R$1,097 |
|
|
| Report Abuse |
|
|
Uiom19
|
  |
| Joined: 17 Mar 2015 |
| Total Posts: 144 |
|
|
| 17 Apr 2017 11:46 AM |
| i set it to that but the gui appears way lower than the cursor how do i fix this? |
|
|
| Report Abuse |
|
|
|
| 17 Apr 2017 11:48 AM |
that is only in studio because of it being glitchy try it in game |
|
|
| Report Abuse |
|
|
thebayou
|
  |
| Joined: 21 Dec 2014 |
| Total Posts: 628 |
|
|
| 17 Apr 2017 11:54 AM |
You messed up offset and scale.
||THEBAYOU|| - Almost famous dude |
|
|
| Report Abuse |
|
|
sockhouse
|
  |
| Joined: 02 Apr 2017 |
| Total Posts: 52 |
|
|
| 17 Apr 2017 11:59 AM |
UDim2.new(0, game.Players.LocalPlayer:GetMouse().X, 0, game.Players.LocalPlayer:GetMouse().Y)
thats what i did |
|
|
| Report Abuse |
|
|
| |
|
sockhouse
|
  |
| Joined: 02 Apr 2017 |
| Total Posts: 52 |
|
|
| 17 Apr 2017 12:43 PM |
| still doesnt work do u think its because the size of the textlabel is 0,0,0,0? |
|
|
| Report Abuse |
|
|
|
| 17 Apr 2017 01:02 PM |
| local mouse = game.Players.LocalPlayer:getMouse() |
|
|
| Report Abuse |
|
|