Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local gui = script.Parent
- local background = script.Parent.Background
- local logo = background.Logo
- local text = background.Text
- local gradient = logo.UIGradient
- local tweenService = game:GetService("TweenService")
- local offset1 = Vector2.new(-5,0)
- local offset2 = Vector2.new(5,0)
- gradient.Offset = offset1
- local tweenInfo = TweenInfo.new(10, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut)
- local tween = tweenService:Create(gradient, tweenInfo, {Offset = offset2})
- gui.Enabled = true
- text.Text = "Loading"
- game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
- wait(5)
- tween:Play()
- text.Text = "Loading."
- wait(1)
- text.Text = "Loading.."
- wait(1)
- text.Text = "Loading..."
- wait(1)
- text.Text = "Loading"
- wait(1)
- text.Text = "Loading."
- wait(1)
- text.Text = "Loading.."
- wait(1)
- text.Text = "Loading..."
- wait(1)
- text.Text = "Loading"
- wait(1)
- text.Text = "Loading."
- wait(1)
- text.Text = "Loading.."
- wait(1)
- text.Text = "Loading..."
- wait(1)
- text.Text = "Ready!"
- wait(1)
- text.Visible = false
- logo.Visible = false
- game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, true)
- background.BackgroundTransparency = 0.1
- wait(0.05)
- background.BackgroundTransparency = 0.2
- wait(0.05)
- background.BackgroundTransparency = 0.3
- wait(0.05)
- background.BackgroundTransparency = 0.4
- wait(0.05)
- background.BackgroundTransparency = 0.5
- wait(0.05)
- background.BackgroundTransparency = 0.6
- wait(0.05)
- background.BackgroundTransparency = 0.7
- wait(0.05)
- background.BackgroundTransparency = 0.8
- wait(0.05)
- background.BackgroundTransparency = 0.9
- wait(0.05)
- background.BackgroundTransparency = 1
- gui:Destroy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement