Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Made by Wizertex, Neonblox Games
- -- Video: https://www.youtube.com/watch?v=5j9QnKn1A7U
- local content = game:GetService("ContentProvider")
- local ReplicatedFirst = game:GetService("ReplicatedFirst")
- ReplicatedFirst:RemoveDefaultLoadingScreen()
- script.Parent.Parent.Parent.Parent.Enabled = true
- while wait(0.2) do
- local assets = game.ContentProvider.RequestQueueSize
- local yes, no = pcall(function()
- script.Parent.Text = tostring(assets)
- end)
- if assets == 0 then
- script.Parent.Text = "0"
- script.Parent.Parent.Parent.LoadingText.Text = "Loaded!"
- wait(0.5)
- script.Parent.Parent.Parent:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(0.5, 0,0, 0),Enum.EasingDirection.In,Enum.EasingStyle.Quart,0.5)
- wait(0.5)
- script.Parent.Parent.Parent:Destroy()
- break
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement