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
 

GUI onEquipped

Previous Thread :: Next Thread 
Justicepaine99 is not online. Justicepaine99
Joined: 31 Aug 2011
Total Posts: 147
09 Nov 2012 11:11 AM
How would I make it so when one equips a tool they get a Gui?
Report Abuse
cyclone3260 is not online. cyclone3260
Joined: 23 Aug 2010
Total Posts: 1038
09 Nov 2012 11:51 AM
script.Parent.Equipped:connect(function(player)
player.PlayerGui.GUINAMEHERE.Visible = true
end)

script.Parent.UnEquipped:connect(function(player)
player.PlayerGui.GUINAMEHER.Visible = false
end)

~+CClone+~
Report Abuse
Justicepaine99 is not online. Justicepaine99
Joined: 31 Aug 2011
Total Posts: 147
09 Nov 2012 11:52 AM
Ah okay.. so just put the GUI I want into the StarterGui but make it invisible.. good idea, thanks.
Report Abuse
cyclone3260 is not online. cyclone3260
Joined: 23 Aug 2010
Total Posts: 1038
09 Nov 2012 11:53 AM
Mhm.


~+CClone+~
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