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 » Club Houses » Let's Make a Deal
Home Search
 

fix my 19 line script for some R$R$:D

Previous Thread :: Next Thread 
MrPoPoTheHobo is not online. MrPoPoTheHobo
Joined: 04 Dec 2011
Total Posts: 161
15 Jun 2012 03:25 PM
alright, so when you enter my game theres suppose to be a button you can push on this gui that i made, and when you push it another gui opens up with text. but when you join the game that gui is already open? can you help me make it where it starts off closed? heres the script


local button = script.Parent
local sg = button.Parent
local cf = sg.RoleFrame

local showFrame = false

function onMouseButton1Down()
showFrame = not showFrame

if showFrame then
button.Text = "Hide Role Menu"
else
button.Text = "Show Role Menu"
end

cf.Visible = showFrame
end

button.MouseButton1Down:connect(onMouseButton1Down)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » Let's Make a Deal
   
 
   
  • 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