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: GUI messed up

Previous Thread :: Next Thread 
DaDesign is not online. DaDesign
Joined: 27 Apr 2014
Total Posts: 53
15 Jun 2014 02:09 PM
It works for calling balls and strikes but won't call the third out?
scoreb = game.Workspace.ScoreBoard
function onClicked(clicked)
if game.Workspace.ScoreBoard.O2.Transparency == 0 then
game.Workspace.ScoreBoard.O3.Transparency = 0
wait(2)
scoreb.S1.Transparency = 1
scoreb.S2.Transparency = 1
scoreb.S3.Transparency = 1
scoreb.O1.Transparency = 1
scoreb.O2.Transparency = 1
scoreb.O3.Transparency = 1
scoreb.B1.Transparency = 1
scoreb.B2.Transparency = 1
scoreb.B3.Transparency = 1
scoreb.B4.Transparency = 1
end
end
script.Parent.MouseButton1Click:connect(onClicked)
Report Abuse
DaDesign is not online. DaDesign
Joined: 27 Apr 2014
Total Posts: 53
15 Jun 2014 02:11 PM
Figured it out :/ sorry.
Report Abuse
DaDesign is not online. DaDesign
Joined: 27 Apr 2014
Total Posts: 53
15 Jun 2014 02:40 PM
when the last strike is called the third out is not called, anyone know why?


scoreb = game.Workspace.ScoreBoard
function onClicked(clicked)
if game.Workspace.ScoreBoard.S2.Transparency == 0 then
game.Workspace.ScoreBoard.S3.Transparency = 0
wait(2)
scoreb.S1.Transparency = 1
scoreb.S2.Transparency = 1
scoreb.S3.Transparency = 1
scoreb.B1.Transparency = 1
scoreb.B2.Transparency = 1
scoreb.B3.Transparency = 1
scoreb.B4.Transparency = 1
if scoreb.O1.Transparency == 1 then
scoreb.O1.Transparency = 0
elseif scoreb.O1.Transparency == 0 then
scoreb.O2.Transparency = 0
elseif scoreb.O2.Transparency == 0 then
scoreb.O3.Transparency = 0
end
end
end
script.Parent.MouseButton1Click:connect(onClicked)
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