|
| 07 Nov 2013 10:42 PM |
| Hello, i was wondering how on some GUI's when you join the game it says like "Loading Bricks" then it changes to "Loading scripts". What script do they use to make the words change? |
|
|
| Report Abuse |
|
|
Excellus
|
  |
| Joined: 17 Jun 2013 |
| Total Posts: 3939 |
|
|
| 07 Nov 2013 10:45 PM |
function enter() stuff end game.Players.PlayerAdded:connect(enter) |
|
|
| Report Abuse |
|
|
Ekkoh
|
  |
| Joined: 22 Oct 2012 |
| Total Posts: 524 |
|
|
| 07 Nov 2013 10:46 PM |
You edit the Text property of any GUI element that contains it.
local Label = script.Parent Label.Text = "Hello World!"
"To sing when you live and to sing when you die" - George Ragan |
|
|
| Report Abuse |
|
|
|
| 07 Nov 2013 10:46 PM |
| Where at do i put the words? In the script, or textboxes and add the name of them in the script? |
|
|
| Report Abuse |
|
|
|
| 07 Nov 2013 10:46 PM |
"What script do they use"
Why do people think there is a specific script for stuff...There is not script unless you make it. And there are many ways to make A script... |
|
|
| Report Abuse |
|
|
|
| 07 Nov 2013 10:50 PM |
| I meant like, what was inside the script? Like how do you make a script that makes the words appear then disappear and different words appear on a gui? |
|
|
| Report Abuse |
|
|
Excellus
|
  |
| Joined: 17 Jun 2013 |
| Total Posts: 3939 |
|
|
| 07 Nov 2013 10:51 PM |
| you need to learn how to script first. |
|
|
| Report Abuse |
|
|
|
| 07 Nov 2013 10:53 PM |
| All i want is a simple script that makes a textbox appear, then after a couple seconds it disappears and a new ones appear. You do not really need to learn scripting for guis, like a close button is simple. |
|
|
| Report Abuse |
|
|
|
| 07 Nov 2013 10:53 PM |
| You make it. If it's simple you should be able to make it. |
|
|
| Report Abuse |
|
|
|
| 07 Nov 2013 10:55 PM |
| Well apparently it is not simple enough for me to make, or i would not be here? I did not ask for you to be rude... |
|
|
| Report Abuse |
|
|
Excellus
|
  |
| Joined: 17 Jun 2013 |
| Total Posts: 3939 |
|
|
| 07 Nov 2013 10:56 PM |
| you can't make that happen without knowing how to script. |
|
|
| Report Abuse |
|
|
Ekkoh
|
  |
| Joined: 22 Oct 2012 |
| Total Posts: 524 |
|
|
| 07 Nov 2013 10:57 PM |
You're being ignorant. You obviously can't do this yourself, and we can't nor would we write up a script for you. My suggestion is to start learning the basics of scripting if you're serious about it. Otherwise, let this thread die.
"To sing when you live and to sing when you die" - George Ragan |
|
|
| Report Abuse |
|
|
|
| 07 Nov 2013 10:57 PM |
| I'm not being rude. I am just wondering why we should tolerate a person coming on an expecting us to script for them. Especially when they put no prior effort in. |
|
|
| Report Abuse |
|
|
4567777
|
  |
| Joined: 13 Jul 2013 |
| Total Posts: 128 |
|
|
| 07 Nov 2013 11:09 PM |
don't know why you need it but here you go: sorry if theres any mistakes i didn't test it.
local player = game.Players.LocalPlayer local text = "Loading scripts..." local loadtime = 8
asdf = Instance.new("ScreenGui") asdf2 = Instance.new("TextLabel")
asdf.Parent = player.PlayerGui asdf2.Parent = asdf
asdf2.Size = UDim2.new(1,0,1,0) asdf2.BackgroundColor3 = Color3.new(1,1,1) asdf2.TextColor3 = Color3.new(0,0,0) asdf2.Text = text asdf2.Font = 1 asdf2.FontSize = Enum.FontSize.Size48 wait(loadtime) asdf2.Visible = false
make sure its in a localscript in startergui |
|
|
| Report Abuse |
|
|
|
| 07 Nov 2013 11:28 PM |
Holy crap... I tried, and mine looks alot different from yours. I just came back from a year and 1/2 quit so idk if lua has changed? But i will show you mine i guess just for the hell of it. Alright so here was the gui setup StarterGui>Frame>>Script+Text+Textbox
Here is the script:
Textbox1 = script.Parent.Text.Visible Textbox2 = script.Parent.Textbox.Visible
wait (0.5) Textbox1 = true -- Loading Cars wait (1.5) Textbox1 = false -- Closing the textbox wait (0.1) Textbox2 = true -- Loading Map wait (1.5) Textbox2 = false -- Closing the textbox
|
|
|
| Report Abuse |
|
|
4567777
|
  |
| Joined: 13 Jul 2013 |
| Total Posts: 128 |
|
|
| 07 Nov 2013 11:36 PM |
it should be:
Textbox1 = script.Parent.Text Textbox2 = script.Parent.Textbox
wait (0.5) Textbox1.Visible = true -- Loading Cars wait (1.5) Textbox1.Visible = false -- Closing the textbox wait (0.1) Textbox2.Visible = true -- Loading Map wait (1.5) Textbox2.Visible = false -- Closing the textbox
and your frame should be in a ScreenGui otherwise it wont show up. i also suggest you make the wait time longer |
|
|
| Report Abuse |
|
|
|
| 07 Nov 2013 11:51 PM |
| It was a screengui, sorry. And yeah, on the times i just did it for a test. Thanks for the help:) |
|
|
| Report Abuse |
|
|