Zeloi
|
  |
| Joined: 27 Sep 2010 |
| Total Posts: 1143 |
|
|
| 22 May 2014 03:28 PM |
How would I have text slowly appear letter by letter.
so it goes like...
a aw awe awes aweso awesome
like every 1/3 of a second the following letter would appear. |
|
|
| Report Abuse |
|
|
|
| 22 May 2014 03:29 PM |
you said earlier that you knew how to do some scripting.
you were obviously lying. |
|
|
| Report Abuse |
|
|
Stefan631
|
  |
| Joined: 23 Dec 2010 |
| Total Posts: 1350 |
|
|
| 22 May 2014 03:29 PM |
a = "Message" for i = 1, a:len() do print(a:sub(1, i)) end
No clue if that will work lol. |
|
|
| Report Abuse |
|
|
Stefan631
|
  |
| Joined: 23 Dec 2010 |
| Total Posts: 1350 |
|
|
| 22 May 2014 03:31 PM |
a = "Message" for i = 1, a:len() do print(a:sub(1, i)) end
Or
a = "Message" for i = 1, a:len() do print(a:sub(1, i)) wait(.33) end |
|
|
| Report Abuse |
|
|
|
| 22 May 2014 03:31 PM |
print(a:sub(1, i))
Should be
print(a:sub(i, i)) |
|
|
| Report Abuse |
|
|
Zeloi
|
  |
| Joined: 27 Sep 2010 |
| Total Posts: 1143 |
|
|
| 22 May 2014 03:38 PM |
@VerifiedName
If I'm not experienced with scripting how did I make this?
Fram = script.Parent.Parent:WaitForChild("Option")
open = false debounce = false
script.Parent.MouseButton1Up:connect(function() if open == false and not debounce and Fram.Parent.Value.Value == false then debounce = true Fram.Parent.Value.Value = true Fram.Visible = true Fram.Position = UDim2.new(0.5, -250, -2, 0) Fram:TweenPosition(UDim2.new(0.5,-250,0.5,-300),"Out","Back",1/2) wait(1) script.Parent.Text = "CLOSE" open = true debounce = false else Fram.Parent.Value.Value = false Fram:TweenPosition(UDim2.new(0.5, -200, -2, 0),"Out","Linear",1/2) wait(1) Fram.Visible = false script.Parent.Text = "OPTIONS" open = false debounce = false end end)
Some people could be amazing at scripting and not know how to do something. |
|
|
| Report Abuse |
|
|
|
| 22 May 2014 03:39 PM |
| @Zeloi, that's not advanced scripting at all, but I'll give you a break since string manipulation can be a little challenging for those who are new to it. |
|
|
| Report Abuse |
|
|
Stefan631
|
  |
| Joined: 23 Dec 2010 |
| Total Posts: 1350 |
|
|
| 22 May 2014 03:44 PM |
@FreeScriptMaker,
He said he wanted it like
M Me Mes Mess Messa Messag Message
Not M e s s a g e
|
|
|
| Report Abuse |
|
|
|
| 22 May 2014 03:45 PM |
| Well I was thinking of concatenating the message instead of resetting the text each time. Anyways it would do the same thing either way because you're using the print function. |
|
|
| Report Abuse |
|
|
Zeloi
|
  |
| Joined: 27 Sep 2010 |
| Total Posts: 1143 |
|
|
| 22 May 2014 03:56 PM |
Sorry if this is stupid but...
why wont this work?
a = "Welcome To Ultimate Sword Fighting" print(a:sub(1,i)) game.Players.PlayerAdded:connect(function(player) for i = 1, a:len() do player[PlayerGui][CoreGui][Intro].Text = (a:sub(1, i)) wait(1/3) end end)
normal script in workspace |
|
|
| Report Abuse |
|
|
Zeloi
|
  |
| Joined: 27 Sep 2010 |
| Total Posts: 1143 |
|
|
| 22 May 2014 03:57 PM |
| Oh I think I see the problem. |
|
|
| Report Abuse |
|
|
|
| 22 May 2014 03:58 PM |
You need quotations around these ["PlayerGui"]
Or you can just use .PlayerGui instead of ["PlayerGui"] |
|
|
| Report Abuse |
|
|
Zeloi
|
  |
| Joined: 27 Sep 2010 |
| Total Posts: 1143 |
|
|
| 22 May 2014 04:01 PM |
Should I do :WaitForChild()'s?
because it says that PlayerGui is not a child of player. |
|
|
| Report Abuse |
|
|
|
| 22 May 2014 04:02 PM |
| No you should use FindFirstChild |
|
|
| Report Abuse |
|
|
Zeloi
|
  |
| Joined: 27 Sep 2010 |
| Total Posts: 1143 |
|
|
| 22 May 2014 04:05 PM |
a = ("Welcome To Ultimate Sword Fighting") game.Players.PlayerAdded:connect(function(player) for i = 1, a:len() do player:FindFirstChild("PlayerGui").CoreGui.Intro.Text = a:sub(1, i) print(a:sub(1,i)) wait(1/3) end end)
Output : Workspace.Intro:4: attempt to index a nil value |
|
|
| Report Abuse |
|
|
Zeloi
|
  |
| Joined: 27 Sep 2010 |
| Total Posts: 1143 |
|
| |
|
transIate
|
  |
| Joined: 20 Jun 2013 |
| Total Posts: 2699 |
|
|
| 22 May 2014 04:18 PM |
| basic for loops you idiots |
|
|
| Report Abuse |
|
|
|
| 22 May 2014 04:19 PM |
| There is no reason to call anyone an idiot. |
|
|
| Report Abuse |
|
|
transIate
|
  |
| Joined: 20 Jun 2013 |
| Total Posts: 2699 |
|
| |
|
|
| 22 May 2014 04:25 PM |
wow translate your profile is about 4 months older than his let us praise you |
|
|
| Report Abuse |
|
|
transIate
|
  |
| Joined: 20 Jun 2013 |
| Total Posts: 2699 |
|
|
| 22 May 2014 04:27 PM |
this is not about age differences noob what does that have to do with anything, i am 2007 member it matters what knowledge and quality you put into things noob |
|
|
| Report Abuse |
|
|
|
| 22 May 2014 04:36 PM |
'you're new sir'
What else does that refer to |
|
|
| Report Abuse |
|
|
transIate
|
  |
| Joined: 20 Jun 2013 |
| Total Posts: 2699 |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 22 May 2014 07:52 PM |
local a = "Hello World";
for x = 1, #a do print(a:sub(1, i)); wait(1/3); end |
|
|
| Report Abuse |
|
|
| |
|