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: GUI Visibility Help

Previous Thread :: Next Thread 
Mezur is not online. Mezur
Joined: 29 Jun 2015
Total Posts: 3040
03 Feb 2016 09:47 PM
How do I make the whole GUI's visibility change to 1 (goes invisible) after the text says "You caught a fish!". I want the GUI to only remain invisible for 5 seconds.




while true do--don't change
wait(1)
script.Parent.Text="Fishing.."--change purple
wait(1)
script.Parent.Text="Fishing..."--change purple
wait(1)--change blue
script.Parent.Text="Fishing.."--change purple


script.Parent.Text="Fishing..."--change purple
wait(1)--change blue
script.Parent.Text="Fishing.."--change purple
wait(1)--change blue
script.Parent.Text="Fishing..."--change purple
wait(1)--change blue
script.Parent.Text="Fishing.."--change purple
wait (1) --change blue
script.Parent.Text="Fishing..."--change purple
wait(1)--change blue
script.Parent.Text="Fishing.."--change purple
wait(1)--change blue
script.Parent.Text="Fishing..."--change purple
wait(1)--change blue
script.Parent.Text="Fishing.."--change purple
wait(1)--change blue
script.Parent.Text="Fishing..."--change purple
wait(1)--change blue
script.Parent.Text="Fishing.."--change purple
wait(1)--change blue
script.Parent.Text="You caught a fish!"--change purple
wait (5)
end--don't change
Report Abuse
Mezur is not online. Mezur
Joined: 29 Jun 2015
Total Posts: 3040
03 Feb 2016 09:48 PM
b1
Report Abuse
Mezur is not online. Mezur
Joined: 29 Jun 2015
Total Posts: 3040
03 Feb 2016 09:49 PM
b2
Report Abuse
Mezur is not online. Mezur
Joined: 29 Jun 2015
Total Posts: 3040
03 Feb 2016 09:52 PM
b3
Report Abuse
Mezur is not online. Mezur
Joined: 29 Jun 2015
Total Posts: 3040
03 Feb 2016 09:52 PM
b4
Report Abuse
AdvancedObjects is not online. AdvancedObjects
Joined: 11 Dec 2012
Total Posts: 3354
03 Feb 2016 09:54 PM
script.Parent.Visible = A Bool

bools = true/false (true = visible, false = not visible)



#Code print("Song Link: http://www.roblox.com/Deorro-vs-Swedish-House-Mafia-Save-The-5-Hours-item?id=340827217")
Report Abuse
FearlessBiscuit is not online. FearlessBiscuit
Joined: 16 Jun 2013
Total Posts: 1157
03 Feb 2016 09:54 PM
#182,970,064 - 02-03-2016 07:47 PM
How do I make the whole GUI's visibility change to 1 (goes invisible) after the text says "You caught a fish!". I want the GUI to only remain invisible for 5 seconds.




while true do--don't change
wait(1)
script.Parent.Text="Fishing.."--change purple
wait(1)
script.Parent.Text="Fishing..."--change purple
wait(1)--change blue
script.Parent.Text="Fishing.."--change purple


script.Parent.Text="Fishing..."--change purple
wait(1)--change blue
script.Parent.Text="Fishing.."--change purple
wait(1)--change blue
script.Parent.Text="Fishing..."--change purple
wait(1)--change blue
script.Parent.Text="Fishing.."--change purple
wait (1) --change blue
script.Parent.Text="Fishing..."--change purple
wait(1)--change blue
script.Parent.Text="Fishing.."--change purple
wait(1)--change blue
script.Parent.Text="Fishing..."--change purple
wait(1)--change blue
script.Parent.Text="Fishing.."--change purple
wait(1)--change blue
script.Parent.Text="Fishing..."--change purple
wait(1)--change blue
script.Parent.Text="Fishing.."--change purple
wait(1)--change blue
script.Parent.Text="You caught a fish!"--change purple
for i=1,10 do
script.Parent.BackgroundTransparency = i/10
script.Parent.TextTransparency= i/10
end
script.Parent.Visible = false
wait (5)
end--don't change


Report Abuse
Mezur is not online. Mezur
Joined: 29 Jun 2015
Total Posts: 3040
03 Feb 2016 10:12 PM
Also I want it so when the GUI disappears you gain +1 in "Gold" which is a leaderstat. Help me with that also, please.
Report Abuse
Mezur is not online. Mezur
Joined: 29 Jun 2015
Total Posts: 3040
03 Feb 2016 10:14 PM
Also I want it so when the GUI disappears you gain +1 in "Gold" which is a leaderstat. Help me with that also, please. (2)
Report Abuse
AdvancedObjects is not online. AdvancedObjects
Joined: 11 Dec 2012
Total Posts: 3354
03 Feb 2016 10:15 PM
http://wiki.roblox.com/index.php?title=Intro_to_Scripting



#Code print("Song Link: http://www.roblox.com/Deorro-vs-Swedish-House-Mafia-Save-The-5-Hours-item?id=340827217")
Report Abuse
Mezur is not online. Mezur
Joined: 29 Jun 2015
Total Posts: 3040
03 Feb 2016 10:16 PM
....You seriously think I did not try to make it so it gives me "Gold" (leader stat)???
Report Abuse
AdvancedObjects is not online. AdvancedObjects
Joined: 11 Dec 2012
Total Posts: 3354
03 Feb 2016 10:16 PM
no.

I seriously think you can't script.



#Code print("Song Link: http://www.roblox.com/Deorro-vs-Swedish-House-Mafia-Save-The-5-Hours-item?id=340827217")
Report Abuse
Mezur is not online. Mezur
Joined: 29 Jun 2015
Total Posts: 3040
03 Feb 2016 10:17 PM
Correct. I'm definitely not good.
Report Abuse
Mezur is not online. Mezur
Joined: 29 Jun 2015
Total Posts: 3040
03 Feb 2016 10:17 PM
Also I want it so when the GUI disappears you gain +1 in "Gold" which is a leaderstat. Help me with that also, please. (3)
Report Abuse
Mezur is not online. Mezur
Joined: 29 Jun 2015
Total Posts: 3040
03 Feb 2016 10:18 PM
Also I want it so when the GUI disappears you gain +1 in "Gold" which is a leaderstat. Help me with that also, please. (4)
Report Abuse
DevelopmentStatus is not online. DevelopmentStatus
Joined: 22 Apr 2015
Total Posts: 235
03 Feb 2016 10:22 PM
plr.leaderstats.Gold.Value = plr.leaderstats.Gold.Value + 1
Report Abuse
LilMcManiac is not online. LilMcManiac
Joined: 31 Oct 2011
Total Posts: 2812
03 Feb 2016 10:23 PM
local activate = false
local fishies = {"Gar", "Hammerhead", "Great White"}
while wait() do
if activate == true then
activate = not activate
for i = 1,20 do
script.Parent.Text = "Fishing.."
wait(1)
end
end
local fish = fishies[math.random(1,#fishies)]
script.Parent.Text = "You caught a "..fish.."!"
wait(2)
script.Parent.TextTransparency = 1
script.Parent.BackgroundTransparency = 1
game.Players.LocalPlayer.leaderstats.Gold.Value = game.Players.LocalPlayer.leaderstats.Gold.Value + 1

Report Abuse
Mezur is not online. Mezur
Joined: 29 Jun 2015
Total Posts: 3040
03 Feb 2016 10:23 PM
Yeah.. Where do I paste that at? That's the problem.
Report Abuse
DevelopmentStatus is not online. DevelopmentStatus
Joined: 22 Apr 2015
Total Posts: 235
03 Feb 2016 10:23 PM
script.Parent.Text = "You have obtained +1 Gold"

I skimmed through the thread, have no idea really what you're talking about
Report Abuse
Mezur is not online. Mezur
Joined: 29 Jun 2015
Total Posts: 3040
03 Feb 2016 10:26 PM
Near the bottom of my script it changes the visibility to 1. Once it changes to 1 I want to gain +1 "Gold" which is a leader stat. I need help with that.
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