Hello, I am trying to make a game where players can find items and click on them to equip them. Any ideas? Also, It would be cool if when you hovered your mouse over the item, it creates a GUI that shows the item's name.
COMMUNITY QUESTION
How would I create a script that allows me to click on an item and pick it up?
1 answer
as iamnoamesa said, you can use mouse.Target and mouse.Hit
You can also use clickdetectors.
As for the name hovering, that is completely possible too!
In a part, you can make a script that creates a billboard GUI over the part that says it's name if Mouse.Target == the part.
Because you gave no code, we cannot either. Good Luck!
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Scripting Helper is not a request size. But youtube and the roblox scripting wiki can help you learn to code these stuff in the future. :)
You can check for mouse.Target and mouse.Hit in order to detect those. Post a script next time so that we may help.