Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How To Find An Object's Name By Mouse Hovering Over It?

I think it was mouse.target or something? But what is mouse? Basically i just want to make a Dragon Ball Z Scouter Screen thing, i have lvl. and then a bunch of text labels, each one for a different didgit instead of one textlabel, i just wanted to. And i want to make it so i hover mouse over character of anyone (and dont worry i got the string.byte thing or whatever, my mind is blank right now) it makes that textlabels those digits. How Do I Do This?

9 comments

0

i looked in places but i feel bad and i cant focus, and i kind of need the info right now so thats why im askign this question.

0

i want it to be so you dont have to click, but if thats the only way then fine ko

0

Call the function GetMouse, it returns the Player's mouse object. GetMouse is a method of the LocalPlayer. the mouse object has a property named Target which is "The object in 3D space the mouse is pointing to."

0

GETMOUSE IS GONE IDIOT, REMEMBER? IN A RECENT PDATE THEY TOOK IT AWAY

0

I dont see it but maybe get mosue isnt actually taken away idunnobut, omg guys please help! How do i do this?

0

@idunnobut Stop being anecdotal. Roblox does not remove things, only deprecate them. It still exists. Also, don't be rude because that's not welcome on this site. https://developer.roblox.com/api-reference/function/Player/GetMouse

0

OP, read the code on that article to get started.

0

Okay, actually try to code it first, before asking us for help.

0

ok but i still dont know how to do what i need

1 answer

Alright Dude, heres how it goes. You dont need to find the level of target, just do lvl of everyone around like DB final stand!

2 comments

0

i was, but in real dargon ball z it ALSO shows an accurate level of person your looking at. Then all levels near that are not the target/closest average out and levels that and higher are shown as lights on the scouter

0

and thats not even an answer, TAKE THAT OFF

This discussion is preserved as it was. New answers, comments, and votes are closed.