generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: What do I use when

Previous Thread :: Next Thread 
EternaIGod is not online. EternaIGod
Joined: 01 Apr 2011
Total Posts: 23592
08 May 2017 09:20 PM
I equipped a tool and when I hover over a part it'll display something?


I know it's MouseEnter for Gui's but I'm not sure what to use for tools :/


Report Abuse
EternaIGod is not online. EternaIGod
Joined: 01 Apr 2011
Total Posts: 23592
08 May 2017 09:23 PM
b1


Report Abuse
EternaIGod is not online. EternaIGod
Joined: 01 Apr 2011
Total Posts: 23592
08 May 2017 09:25 PM
b2


Report Abuse
pexf is not online. pexf
Joined: 02 Nov 2013
Total Posts: 1195
08 May 2017 09:26 PM
mouse.Target maybe


Report Abuse
EternaIGod is not online. EternaIGod
Joined: 01 Apr 2011
Total Posts: 23592
08 May 2017 09:30 PM
Been trying that :/


Report Abuse
pexf is not online. pexf
Joined: 02 Nov 2013
Total Posts: 1195
08 May 2017 09:31 PM
show me script


Report Abuse
EternaIGod is not online. EternaIGod
Joined: 01 Apr 2011
Total Posts: 23592
08 May 2017 09:35 PM
"The Part the mouse is currently over. If the mouse is not currently over any object (on the skybox, for example) this property is nil."


--[[

just a test script

if mouse.Target ~= nil then
if mouse.Target.Parent.Name == "Blocks" then
print(mouse.Target.Name)
end
end

--]]


Report Abuse
EternaIGod is not online. EternaIGod
Joined: 01 Apr 2011
Total Posts: 23592
08 May 2017 09:43 PM
b3


Report Abuse
EternaIGod is not online. EternaIGod
Joined: 01 Apr 2011
Total Posts: 23592
08 May 2017 09:44 PM
b4


Report Abuse
EternaIGod is not online. EternaIGod
Joined: 01 Apr 2011
Total Posts: 23592
08 May 2017 09:45 PM
b5


Report Abuse
EternaIGod is not online. EternaIGod
Joined: 01 Apr 2011
Total Posts: 23592
08 May 2017 09:45 PM
b6


Report Abuse
EternaIGod is not online. EternaIGod
Joined: 01 Apr 2011
Total Posts: 23592
08 May 2017 09:47 PM
b7


Report Abuse
EternaIGod is not online. EternaIGod
Joined: 01 Apr 2011
Total Posts: 23592
08 May 2017 09:48 PM
b8


Report Abuse
EternaIGod is not online. EternaIGod
Joined: 01 Apr 2011
Total Posts: 23592
08 May 2017 09:48 PM
b9


Report Abuse
EternaIGod is not online. EternaIGod
Joined: 01 Apr 2011
Total Posts: 23592
08 May 2017 09:48 PM
b10


Report Abuse
EternaIGod is not online. EternaIGod
Joined: 01 Apr 2011
Total Posts: 23592
08 May 2017 09:49 PM
b11


Report Abuse
EternaIGod is not online. EternaIGod
Joined: 01 Apr 2011
Total Posts: 23592
08 May 2017 09:49 PM
b12


Report Abuse
EternaIGod is not online. EternaIGod
Joined: 01 Apr 2011
Total Posts: 23592
08 May 2017 09:49 PM
b13


Report Abuse
EternaIGod is not online. EternaIGod
Joined: 01 Apr 2011
Total Posts: 23592
08 May 2017 09:50 PM
b14


Report Abuse
EternaIGod is not online. EternaIGod
Joined: 01 Apr 2011
Total Posts: 23592
08 May 2017 09:50 PM
b15


Report Abuse
EternaIGod is not online. EternaIGod
Joined: 01 Apr 2011
Total Posts: 23592
08 May 2017 09:51 PM
b16


Report Abuse
EternaIGod is not online. EternaIGod
Joined: 01 Apr 2011
Total Posts: 23592
08 May 2017 09:51 PM
b17


Report Abuse
pexf is not online. pexf
Joined: 02 Nov 2013
Total Posts: 1195
08 May 2017 09:52 PM
idk

i just tested this and it only prints when it's == nil

while wait() do
if mouse.Target == "Blocks" then
print("hI")
elseif mouse.Target == nil then
print("searching")
end
end


Report Abuse
EternaIGod is not online. EternaIGod
Joined: 01 Apr 2011
Total Posts: 23592
08 May 2017 09:52 PM
b18


Report Abuse
EternaIGod is not online. EternaIGod
Joined: 01 Apr 2011
Total Posts: 23592
08 May 2017 09:55 PM
adding a loop will cause me problem so I'll have to find another way


Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image