|
| 13 Sep 2011 04:45 PM |
I am trying to make a welcome gui for my place. It will not be huge but I want it to work. I am making it a little at a time. This is the first part of it. It is supposed to make the "Welcome To" appear. But it doesn't do anything. and the output says absolutely nothing is wrong with it. btw this is the whole script so far.
gui = script.Parent text = gui.TextLabel guit = gui.BackgroundTransparency textt = text.TextTransparency
wait (2) textt = 0.9 wait(0.2) textt = 0.8 wait(0.2) textt = 0.7 wait(0.2) textt = 0.6 wait(0.2) textt = 0.5 wait(0.2) textt = 0.4 wait(0.2) textt = 0.3 wait(0.2) textt = 0.2 wait(0.2) textt = 0.1 wait(0.2) textt = 0
|
|
|
| Report Abuse |
|
|
|
| 13 Sep 2011 04:45 PM |
o_O
You know you can use for loop? |
|
|
| Report Abuse |
|
|
|
| 13 Sep 2011 04:47 PM |
I have never used loop but you mean like textt = textt - 0.1 the loop it 9 or 10 times?
bu that would do exactly this but it does nothing. |
|
|
| Report Abuse |
|
|
|
| 13 Sep 2011 04:48 PM |
| I don't care if my scripts are long as long as they work. I have a script that inserts 6 items then changes the stats of all of them seperately. I know I could probably use tables for it but I don't know how to do tables. |
|
|
| Report Abuse |
|
|
|
| 13 Sep 2011 04:48 PM |
for i = 1,10 do textt = txtt - 0.1 end
Let's see the problem now. |
|
|
| Report Abuse |
|
|
|
| 13 Sep 2011 04:49 PM |
| Where exactly is this located? |
|
|
| Report Abuse |
|
|
|
| 13 Sep 2011 04:50 PM |
| inside a frae named "Blocker" and inside that frame is a textlabel named "TextLabel" I will try your script though see if that fixes it. |
|
|
| Report Abuse |
|
|
|
| 13 Sep 2011 04:51 PM |
| You might wanna try adding a wait at the start. It takes a while for everything to settle down. Try using prints to see where it stops. Put a print after 2-3 lines. |
|
|
| Report Abuse |
|
|
|
| 13 Sep 2011 04:52 PM |
| nope your script still won't make the gui work and the output still says absolutely nothing. |
|
|
| Report Abuse |
|
|
|
| 13 Sep 2011 04:53 PM |
you mean before the variables? that might work but i don't think that is the problem otherwise the output would say "TextLabel is not a valid ember of Blocker"
I will try it though and extending the wait before the text |
|
|
| Report Abuse |
|
|
|
| 13 Sep 2011 04:53 PM |
Look at post above your last one.
~Whoever invented the floodcheck must now be hiding from all his haters. |
|
|
| Report Abuse |
|
|
|
| 13 Sep 2011 04:54 PM |
The problem is that you can not rewrite a property like that. Let me rewrite it.
gui = script.Parent text = gui.TextLabel textt = text
for i = 1, 0, 0.1 do textt.TextTransparency = i wait(0.1) end
-Like an __AWESOME__ boss |
|
|
| Report Abuse |
|
|
|
| 13 Sep 2011 04:55 PM |
o_O! How'd I forget that? I totally forgot you can't change it like that! You can only use it for reference.
*facedesk*
~Whoever invented the floodcheck must now be hiding from all his haters. |
|
|
| Report Abuse |
|
|
|
| 13 Sep 2011 04:56 PM |
@city - Lol, I used to forget it all the time, too. But doing it so often has made me stop doing. xD
-Like an __AWESOME__ boss |
|
|
| Report Abuse |
|
|
|
| 13 Sep 2011 04:57 PM |
so what you are saying is you can't have a variable referenced by a variable which was referenced by a variable?
|
|
|
| Report Abuse |
|
|
|
| 13 Sep 2011 04:57 PM |
ElectricBlaze, I know this is a little off topic (well a lot off topic) but do you know any other languages?
~Whoever invented the floodcheck must now be hiding from all his haters. |
|
|
| Report Abuse |
|
|
|
| 13 Sep 2011 04:58 PM |
@greatest No. You just can't tag properties.
tag = game.Workspace.Brick.Name tag = "Hi"
You cannot do that.
tag = game.Workspace.Brick tag.Name = "Hi"
You can do that.
~Whoever invented the floodcheck must now be hiding from all his haters. |
|
|
| Report Abuse |
|
|
|
| 13 Sep 2011 04:58 PM |
oh nevermind I see what you say. I can't have a stat set as a variable.
That explains why my other script I was trying to make kept breaking. |
|
|
| Report Abuse |
|
|
|
| 13 Sep 2011 04:59 PM |
@greatest - No, I'm saying you can't create a variable that equals a property and then change it/
@city - Yes, I do. I actually know a lot, but at least 5 of them I haven't used in years, and most likely forgot a lot of. I'm currently trying to master Java. :3
-Like an __AWESOME__ boss |
|
|
| Report Abuse |
|
|
|
| 13 Sep 2011 05:01 PM |
oh. so like A = stat.Value
you can use it like
if A == 10 then
but you cant use it as
A = 10
Is that right? |
|
|
| Report Abuse |
|
|
|
| 13 Sep 2011 05:01 PM |
Exactly.
-Like an __AWESOME__ boss |
|
|
| Report Abuse |
|
|
|
| 13 Sep 2011 05:02 PM |
| Electric, what would you say is the easiest language to learn after Lua? |
|
|
| Report Abuse |
|
|
|
| 13 Sep 2011 05:05 PM |
still not working
The script now looks like this
gui = script.Parent text = gui.welcome
for i = 1, 0, 0.1 do text.TextTransparency = i wait(0.1) end
but it does nothing and the output still just says it is running but no errors. |
|
|
| Report Abuse |
|
|
|
| 13 Sep 2011 05:06 PM |
I haven't used Python in years, but I remember it taking not long at all. It's also a good preparation for languages such as C++ or Java.
-Like an __AWESOME__ boss |
|
|
| Report Abuse |
|
|
|
| 13 Sep 2011 05:06 PM |
@greatest - Sorry, let me edit one thing:
gui = script.Parent text = gui.welcome
for i = 1, 0, -0.1 do text.TextTransparency = i wait(0.1) end
-Like an __AWESOME__ boss |
|
|
| Report Abuse |
|
|