1st I think you need to look at how inefficient this code is, you have a lot of duplicated code which is not good at all.
This is simple to fix with functions, you can also use multiple functions for different tasks:-
02 | local function delayedPrint(text, textLabel, tme) |
04 | textLabel.Text = text:sub( 1 ,i) |
10 | local function delayedTextSwitch(text 1 , text 2 , textLabel, del, repCount) |
13 | textLabel.Text = text 1 |
15 | textLabel.Text = text 2 |
20 | local function delayListProcess(textLabel, list) |
21 | for i,v in pairs (list) do |
22 | textLabel.Text = v [ 'text' ] |
28 | local function runIntro() |
30 | local b = script.Parent.TextLabel |
33 | delayedPrint( 'Welcome to the Amazing Doge Wolrd!' , b, 0.2 ) |
36 | delayedTextSwitch( 'Welcome to the Amazing Doge World!_' , 'Welcome to the Amazing Doge World!' , b, 1.2 , 2 ) |
37 | b.Parent.suchdoge:Play() |
40 | b.Text = "Welcome to the Amazing Doge World!_" |
43 | b.Text = "W2lc0M3 t0 tH3 4M4Zlng D0G3 W-0-r-l-d!" |
45 | wait( 8.593999999999999999994 ) |
50 | table.insert(textList, { [ 'text' ] = 'LEL sorry for u r ear terror m8' , [ 'delay' ] = 4 } ) |
51 | table.insert(textList, { [ 'text' ] = 'SO nvm lets go to the DOGE WORLD(oh and no tutorial just do !!)' , [ 'delay' ] = 3 } ) |
52 | table.insert(textList, { [ 'text' ] = 'No loading loading screen is all fake' , [ 'delay' ] = 2 } ) |
53 | table.insert(textList, { [ 'text' ] = 'Removing The Gui....' , [ 'delay' ] = 2 } ) |
54 | table.insert(textList, { [ 'text' ] = '' , [ 'delay' ] = 0 } ) |
56 | delayListProcess(b, textList) |
58 | b.Parent.BackgroundTransparency = 1 |
There are multiple ways that you can turn off the intro after the player dies but I do not know where you are running this scrip and how it is added to the player.
I hope you can see why I have change this code but pls comment if you do not understand how this works.
Hope this helps