isc88
|
  |
| Joined: 30 May 2013 |
| Total Posts: 27545 |
|
|
| 31 Jul 2015 08:06 PM |
Making a script where you mouse over a player and it says that player's name
what siggy |
|
|
| Report Abuse |
|
|
isc88
|
  |
| Joined: 30 May 2013 |
| Total Posts: 27545 |
|
|
| 31 Jul 2015 08:06 PM |
in a gui over the player
what siggy |
|
|
| Report Abuse |
|
|
GianniKun
|
  |
| Joined: 19 Aug 2009 |
| Total Posts: 8101 |
|
| |
|
isc88
|
  |
| Joined: 30 May 2013 |
| Total Posts: 27545 |
|
|
| 31 Jul 2015 08:08 PM |
i assume i would find mouse and check if it is hovering over a model and if that model has a humanoid in it and if so display the player's name
what siggy |
|
|
| Report Abuse |
|
|
GianniKun
|
  |
| Joined: 19 Aug 2009 |
| Total Posts: 8101 |
|
|
| 31 Jul 2015 08:08 PM |
correct!
it would be a billboard Gui in the players torso. It would have to be accessed through PlayerGui so only that player can see it. |
|
|
| Report Abuse |
|
|
|
| 31 Jul 2015 08:14 PM |
| You should also be able to grab the mouse from current camera, and check the position of the mouse vs the position of characters' torsos right? Or did Roblox take the ability to get mouse from current camera away? |
|
|
| Report Abuse |
|
|
GianniKun
|
  |
| Joined: 19 Aug 2009 |
| Total Posts: 8101 |
|
|
| 31 Jul 2015 08:16 PM |
You can get mouse straight from player
local Mouse = Player:GetMouse()
your connection line would be Mouse.etc |
|
|
| Report Abuse |
|
|
isc88
|
  |
| Joined: 30 May 2013 |
| Total Posts: 27545 |
|
|
| 31 Jul 2015 08:16 PM |
arrgghh i can't figure this out!!
what siggy |
|
|
| Report Abuse |
|
|
vacha
|
  |
| Joined: 06 Jan 2011 |
| Total Posts: 1993 |
|
|
| 31 Jul 2015 08:17 PM |
@Robert, I believe so. Its usually done through a local script using game.Players.LocalPlayer:GetMouse() http://wiki.roblox.com/index.php?title=API:Class/Mouse
while true do the do |
|
|
| Report Abuse |
|
|
|
| 31 Jul 2015 08:17 PM |
| i've done this before its easier than you think |
|
|
| Report Abuse |
|
|
|
| 31 Jul 2015 08:18 PM |
| check if the humanoid is apart of the model, then put the billboardgui in the head, or have the billboardgui's adornee be the head |
|
|
| Report Abuse |
|
|
vacha
|
  |
| Joined: 06 Jan 2011 |
| Total Posts: 1993 |
|
|
| 31 Jul 2015 08:18 PM |
mouse.Move:connect(function() if mouse.Hit.Parent:FindFirstChild("Humanoid") then--char print(mouse.Hit.Parent.Name) end end) sth like that
while true do the do |
|
|
| Report Abuse |
|
|
|
| 31 Jul 2015 08:25 PM |
| Gianni, great, I forgot they made that function, and yes Vacha, that is what I was talking about. Thanks for picking up on it. I've never used a GUI in a part before, sounds interesting, I will have to test it out now. |
|
|
| Report Abuse |
|
|
isc88
|
  |
| Joined: 30 May 2013 |
| Total Posts: 27545 |
|
|
| 31 Jul 2015 08:26 PM |
How does one acess a billboaradgui through playergui though?
what siggy |
|
|
| Report Abuse |
|
|
isc88
|
  |
| Joined: 30 May 2013 |
| Total Posts: 27545 |
|
|
| 31 Jul 2015 08:28 PM |
bleh so many spelling errors
what siggy |
|
|
| Report Abuse |
|
|
Iterum
|
  |
| Joined: 30 Jan 2009 |
| Total Posts: 1982 |
|
|
| 31 Jul 2015 08:34 PM |
| put the billboard gui client side that's how |
|
|
| Report Abuse |
|
|
isc88
|
  |
| Joined: 30 May 2013 |
| Total Posts: 27545 |
|
|
| 31 Jul 2015 08:51 PM |
i can't figure out the gui to this
help anyone??
what siggy |
|
|
| Report Abuse |
|
|