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 » Scripting Helpers
Home Search
 

Re: Hopperbin arrow

Previous Thread :: Next Thread 
UnBuild is not online. UnBuild
Joined: 22 Mar 2013
Total Posts: 3233
04 Apr 2013 09:45 PM
How do I add a cursor to a hopperbin?
Report Abuse
Colonized is not online. Colonized
Joined: 23 Jul 2011
Total Posts: 160
04 Apr 2013 09:47 PM
http://wiki.roblox.com/index.php/RBX.lua.HopperBin_(Object)
Report Abuse
EchoReaper is not online. EchoReaper
Joined: 14 Oct 2008
Total Posts: 4323
04 Apr 2013 09:48 PM
Use the mouse.Selected event to get the mouse, and then use mouse.Cursor = "cursor" to set the cursor.
Report Abuse
UnBuild is not online. UnBuild
Joined: 22 Mar 2013
Total Posts: 3233
04 Apr 2013 09:52 PM
I really don't know anything about making a hoppebin...I watched a video on how to make one, really all I did was take the script he had that ran print("Hello") and replaced the hello with my script...

It looks like this



function OnClick(Mouse)
--200 lines of my script
end

function ToolOn(Mouse)
Mouse.Button1Down:connect(OnClick)
end

script.Parent.Selected:connect(ToolOn)



How do I add the default ROBLOX tool aim thing?
Report Abuse
EchoReaper is not online. EchoReaper
Joined: 14 Oct 2008
Total Posts: 4323
04 Apr 2013 09:55 PM
function OnClick(Mouse)
--200 lines of my script
end

function ToolOn(Mouse)
mouse.Icon = "rbxasset://Textures/GunCursor.png"
Mouse.Button1Down:connect(function(OnClick)

end)
end

script.Parent.Selected:connect(ToolOn)
Report Abuse
UnBuild is not online. UnBuild
Joined: 22 Mar 2013
Total Posts: 3233
04 Apr 2013 10:01 PM
It made my tool stop working :c
Report Abuse
EchoReaper is not online. EchoReaper
Joined: 14 Oct 2008
Total Posts: 4323
04 Apr 2013 10:09 PM
Can you PM me the whole script?
Report Abuse
UnBuild is not online. UnBuild
Joined: 22 Mar 2013
Total Posts: 3233
04 Apr 2013 10:10 PM
Its really long, but I fixed it.


function ToolOn(Mouse) --Checks for clicks

Mouse.Icon = "rbxasset://textures\\GunCursor.png"

Mouse.Button1Down:connect(OnClick)

end --Ends checking for clicks

script.Parent.Selected:connect(ToolOn) --Checks for selected tool
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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