|
| 02 Sep 2013 10:26 AM |
this isn't working. the local text is a TextLabel. it goes, GUI-Frame-Script, Text why does it not work. i want it to look like something is typing.
local Text = Script.Parent.Text.Text wait(5) Text = ("F_") wait(.2) Text = ("Fi_") wait(.2) Text = ("Fil_") wait(.2) Text = ("File_") wait(.2) Text = ("Files_") wait(.2) Text = ("Files._") wait(.2) Text = ("Files.S_") wait(.2) Text = ("Files.Su_") wait(.2) Text = ("Files.Suc_") wait(.1) Text = ("Files.Succ_") wait(.2) Text = ("Files.Succ_") wait(.2) Text = ("Files.Succe_") wait(.2) Text = ("Files.Succes_") wait(.2) Text = ("Files.Success_") wait(.2) Text.Text = ("Files.Successf_") wait(.2) Text = ("Files.Successfu_") wait(.2) Text = ("Files.Successful_") wait(.2) Text = ("Files.Successfull_") wait(.2) Text = ("Files.Successfully_") wait(.2) Text = ("Files.Successfully._") wait(.2) Text = ("Files.Successfully.L_") wait(.2) Text = ("Files.Successfully.Lo_") wait(.2) Text = ("Files.Successfully.Loa_") wait(.2) Text = ("Files.Successfully.Load_") wait(.2) Text = ("Files.Successfully.Loade_") wait(.2) Text = ("Files.Successfully.Loaded_") wait(.2) Text = ("Files.Successfully.Loaded") wait(.2) Text = ("Files.Successfully.Loaded_") wait(.2) Text = ("Files.Successfully.Loaded") wait(.2) Text = ("Files.Successfully.Loaded_") wait(.2) Text = ("Files.Successfully.Loaded") wait(.2) Text = ("Files.Successfully.Loaded_") wait(1) |
|
|
| Report Abuse |
|
|
|
| 02 Sep 2013 10:28 AM |
:D Text = "Files.Successfully.Loaded_"
try this up and change button named Text to LoadText there should be error
local Text = Script.Parent.LoadText.Text |
|
|
| Report Abuse |
|
|
| |
|
| |
|
Kodran
|
  |
| Joined: 15 Aug 2013 |
| Total Posts: 5330 |
|
|
| 02 Sep 2013 10:35 AM |
| you put script.Parent.Text.Text, I'm not sure if you named a textbox "Text" but if you want to change the text in script.Parent you just have to do script.Parent.Text |
|
|
| Report Abuse |
|
|
| |
|
| |
|
Desperian
|
  |
| Joined: 07 Feb 2012 |
| Total Posts: 3371 |
|
|
| 02 Sep 2013 10:42 AM |
@Sek, 1) script not Script. If you look at your output window, you would notice it would be screaming 'attempt to index global 'Script' (a nil value)' at you. 2) Also, you can clear it up a bit.
local TextObject = script.Parent.Text local Te = "Files.Successfully.Loaded_"
for i = 1, Te:len() do wait(0.2) TextObject.Text = Te:sub(1,i) end |
|
|
| Report Abuse |
|
|
|
| 02 Sep 2013 10:45 AM |
now it says 11:44:10.070 - Players.Player1.PlayerGui.GUI.Frame.Script:3: attempt to index global 'Text' (a nil value)
current script.
local LoadText = script.Parent.LoadText wait(5) Text.Text = ("F_") wait(.2) Text.Text = ("Fi_") wait(.2) Text.Text = ("Fil_") wait(.2) Text.Text = ("File_") wait(.2) Text.Text = ("Files_") wait(.2) Text.Text = ("Files _") wait(.2) Text.Text = ("Files S_") wait(.2) Text.Text = ("Files Su_") wait(.2) Text.Text = ("Files Suc_") wait(.1) Text.Text = ("Files Succ_") wait(.2) Text.Text = ("Files Succ_") wait(.2) Text.Text = ("Files Succe_") wait(.2) Text.Text = ("Files Succes_") wait(.2) Text.Text = ("Files Success_") wait(.2) Text.Text = ("Files Successf_") wait(.2) Text.Text = ("Files Successfu_") wait(.2) Text.Text = ("Files Successful_") wait(.2) Text.Text = ("Files Successfull_") wait(.2) Text.Text = ("Files Successfully_") wait(.2) Text.Text = ("Files Successfully _") wait(.2) Text.Text = ("Files Successfully L_") wait(.2) Text.Text = ("Files Successfully Lo_") wait(.2) Text.Text = ("Files Successfully Loa_") wait(.2) Text.Text = ("Files Successfully Load_") wait(.2) Text.Text = ("Files Successfully Loade_") wait(.2) Text.Text = ("Files Successfully Loaded_") wait(.2) Text.Text = ("Files Successfully Loaded") wait(.2) Text.Text = ("Files Successfully Loaded_") wait(.2) Text.Text = ("Files Successfully Loaded") wait(.2) Text.Text = ("Files Successfully Loaded_") wait(.2) Text.Text = ("Files Successfully Loaded") wait(.2) Text.Text = ("Files Successfully Loaded_") wait(1) |
|
|
| Report Abuse |
|
|
your90
|
  |
| Joined: 06 Mar 2011 |
| Total Posts: 1380 |
|
| |
|
Desperian
|
  |
| Joined: 07 Feb 2012 |
| Total Posts: 3371 |
|
|
| 02 Sep 2013 10:47 AM |
| Makes a variable named 'LoadText', but then attempts to use a non-existant 'Text' variable. |
|
|
| Report Abuse |
|
|
|
| 02 Sep 2013 10:48 AM |
| what do you mean? how do i fix it? |
|
|
| Report Abuse |
|
|
your90
|
  |
| Joined: 06 Mar 2011 |
| Total Posts: 1380 |
|
|
| 02 Sep 2013 10:48 AM |
| despm mv j vjf fjg gmdmdm lol flilike tshusmjrandknm tgexr |
|
|
| Report Abuse |
|
|
Desperian
|
  |
| Joined: 07 Feb 2012 |
| Total Posts: 3371 |
|
|
| 02 Sep 2013 10:49 AM |
...
By changing the variable named to 'Text' or by changing the 'Text.Text = Bleh' bits to 'LoadText.Text'... |
|
|
| Report Abuse |
|
|
|
| 02 Sep 2013 10:50 AM |
| oh i see! in the local area I put LoadText. I am fixing it now. standby please |
|
|
| Report Abuse |
|
|
| |
|