so basically heres the script

repeat wait() until game.Players.LocalPlayer:FindFirstChild("PlayerGui") game.Players.LocalPlayer.PlayerGui:SetTopbarTransparency(0) local ContentService = game:GetService("ContentProvider") local Bar = script.Parent.LoadingFrame.Underlayer.Overlay local logo = script.Parent.Logo --Start intro script.Parent.Title.Position = UDim2.new(0,0,-1,0) logo.Position = UDim2.new(0.15,0,-1,0) script.Parent.LoadingFrame.Position = UDim2.new(0,0,-1,0) --End positioning --Start Moving guis script.Parent.Title:TweenPosition(UDim2.new(0,0,0.2,0), "In", "Bounce", 2) script.Parent.LoadingFrame:TweenPosition(UDim2.new(0,0,0.4,0), "In", "Bounce", 2) wait (3) --Loading Bar Action local AmountOfAssetsLoaded = script.Parent.LoadingFrame.AssetsLoaded local AllAssets = game.ContentProvider.RequestQueueSize AssetsLoaded = game.ContentProvider.RequestQueueSize AmountOfAssetsLoaded.Value = game.ContentProvider.RequestQueueSize while game.ContentProvider.RequestQueueSize > 0 do if game.ContentProvider.RequestQueueSize < AssetsLoaded then AmountOfAssetsLoaded.Value = game.ContentProvider.RequestQueueSize AmountOfAssetsLoaded.Changed:connect(function(assetsToLoad) local newx = 1 - AmountOfAssetsLoaded.Value / AllAssets Bar:TweenSize(UDim2.new(newx,0,1,0),"Out","Quad", 0.5, true) end) end wait() end Bar:TweenSize(UDim2.new(1,0,1,0),"Out","Quad", 0.5, true) --End Loading Bar Action wait(2) --Send Loading Bar To The Right script.Parent.LoadingFrame:TweenPostition(UDim2.new(1,0,0,4,0), "Out", "Elastic", 2) --Send Logo Down logo.Visible = true logo:TweenPosition(UDim2.new(0.15,0,0.24,0), "In", "Bounce", 3) wait (3)

maybe somebody more skilled than me could look this over? i just followed a tutorial so im not sure if its outdated or what. Thanks! :D -PizzaPillz

2 comments

0

WaitForChild is your best friend.

0

ALSO FOR GODS SAKE IT'S ~~~CODE~~~ NOT CODE