TextLabel not showing up?
I made a script to show a GUI changing texts giving people, who click the "Play"button, information.
It used to work before, now it won't. After I changed one of the texts, it broke.
All the GUIs start off Visible.
01 | mouse = game.Players.LocalPlayer:GetMouse() |
02 | txt = script.Parent.TextLabel |
03 | script.Parent.MouseButton 1 Click:connect( function () |
04 | game.Players.LocalPlayer.CameraMaxZoomDistance = 0.5 |
05 | script.Parent.Visible = false |
06 | txt.Text = "Okay, " ..game.Players.LocalPlayer.Name.. "." |
08 | txt.Text = "Your task is simple." |
10 | script.Parent.Sound:Play() |
11 | txt.Text = "Run from him." |
13 | txt.BackgroundTransparency = 0.1 |
14 | txt.TextTransparency = 0.1 |
16 | txt.BackgroundTransparency = 0.2 |
17 | txt.TextTransparency = 0.2 |
19 | txt.BackgroundTransparency = 0.3 |
20 | txt.TextTransparency = 0.3 |
22 | txt.BackgroundTransparency = 0.4 |
23 | txt.TextTransparency = 0.4 |
25 | txt.BackgroundTransparency = 0.5 |
26 | txt.TextTransparency = 0.5 |
28 | txt.BackgroundTransparency = 0.6 |
29 | txt.TextTransparency = 0.6 |
31 | txt.BackgroundTransparency = 0.7 |
32 | txt.TextTransparency = 0.7 |
34 | txt.BackgroundTransparency = 0.8 |
35 | txt.TextTransparency = 0.8 |
37 | txt.BackgroundTransparency = 0.9 |
38 | txt.TextTransparency = 0.9 |
40 | txt.BackgroundTransparency = 1 |
41 | txt.TextTransparency = 1 |
There is nothing in the output.
Could somebody help me out with this?