Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do i make the TextLabel show in this script?

Asked by
sad_eyez 162
8 years ago

local m = Instance.new("Sound", game.Workspace) local sg = Instance.new("ScreenGui", game.StarterGui) sg.Name = "Song" local tl = Instance.new("TextLabel", game.StarterGui.Song) tl.Name = "Song"

game.Players.PlayerAdded:connect(function() wait (2) tl.BackgroundTransparency = 0.35 tl.BackgroundColor3 = Color3.new(0,0,0) tl.BorderSizePixel = 3 tl.BorderColor3 = Color3.new(130,203,255) tl.TextColor3 = Color3.new(1,1,1) tl.Size = UDim2.new(1, 0, 0, 25) tl.Position = UDim2.new(0, 0, 0, 300) tl.Visible = false

while true do
wait (1)
m.Volume = 2
m.SoundId = "rbxassetid://255355162"
m:Play()
tl.Text = "AmaLee - Innocence"
tl.Visible = true
wait (2)
tl.Visible = false
wait (118)
m:Stop()
end

end)

Answer this question