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
|
  |
| Joined: 29 Jun 2015 |
| Total Posts: 3040 |
|
| |
|
Mezur
|
  |
| Joined: 29 Jun 2015 |
| Total Posts: 3040 |
|
| |
|
Mezur
|
  |
| Joined: 29 Jun 2015 |
| Total Posts: 3040 |
|
| |
|
Mezur
|
  |
| Joined: 29 Jun 2015 |
| Total Posts: 3040 |
|
| |
|
|
| 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 |
|
|
|
| 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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| Joined: 29 Jun 2015 |
| Total Posts: 3040 |
|
|
| 03 Feb 2016 10:17 PM |
| Correct. I'm definitely not good. |
|
|
| Report Abuse |
|
|
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
|
  |
| 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 |
|
|
|
| 03 Feb 2016 10:22 PM |
| plr.leaderstats.Gold.Value = plr.leaderstats.Gold.Value + 1 |
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|