Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local PlayerGui = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- PlayerGui:SetTopbarTransparency(0)
- -- Creating the Gui
- local screen = Instance.new("ScreenGui",PlayerGui)
- local main = Instance.new("Frame",screen)
- local logo = Instance.new("ImageLabel",main)
- local back = Instance.new("Frame",main)
- local ttl = Instance.new("TextLabel",back)
- local one = Instance.new("Frame",back)
- local two = Instance.new("Frame",back)
- local tre = Instance.new("Frame",back)
- local onef = Instance.new("Frame",one)
- local twof = Instance.new("Frame",two)
- local tref = Instance.new("Frame",tre)
- main.BackgroundColor3 = Color3.new(75/255,75/255,75/255)
- back.BackgroundColor3 = Color3.new(50/255,50/255,50/255)
- one.BackgroundColor3 = Color3.new(20/255,20/255,20/255)
- two.BackgroundColor3 = Color3.new(20/255,20/255,20/255)
- tre.BackgroundColor3 = Color3.new(20/255,20/255,20/255)
- onef.BackgroundColor3 = Color3.new(25/255,0/255,0/255)
- twof.BackgroundColor3 = Color3.new(0/255,25/255,0/255)
- tref.BackgroundColor3 = Color3.new(0/255,0/255,25/255)
- ttl.BackgroundColor3 = Color3.new(25/255,25/255,25/255)
- logo.BackgroundColor3 = Color3.new(255/255,255/255,255/255)
- main.BorderSizePixel = 0
- back.BorderSizePixel = 0
- one.BorderSizePixel = 2
- two.BorderSizePixel = 2
- tre.BorderSizePixel = 2
- onef.BorderSizePixel = 0
- twof.BorderSizePixel = 0
- tref.BorderSizePixel = 0
- ttl.BorderSizePixel = 4
- logo.BorderSizePixel = 2
- one.BorderColor3 = Color3.new(10/255,10/255,10/255)
- two.BorderColor3 = Color3.new(10/255,10/255,10/255)
- tre.BorderColor3 = Color3.new(10/255,10/255,10/255)
- ttl.BorderColor3 = Color3.new(20/255,20/255,20/255)
- logo.BorderColor3 = Color3.new(10/255,10/255,10/255)
- back.Position = UDim2.new(0,0,0.5,50)
- one.Position = UDim2.new(0.25,-25,0.5,-25)
- two.Position = UDim2.new(0.5,-25,0.5,-25)
- tre.Position = UDim2.new(0.75,-25,0.5,-25)
- onef.Position = UDim2.new(0,0,-1,0)
- twof.Position = UDim2.new(0,0,-1,0)
- tref.Position = UDim2.new(0,0,-1,0)
- logo.Position = UDim2.new(0.5,-75,0.25,0)
- main.Size = UDim2.new(1,0,1,0)
- back.Size = UDim2.new(1,0,0.5,-50)
- one.Size = UDim2.new(0,50,0,50)
- two.Size = UDim2.new(0,50,0,50)
- tre.Size = UDim2.new(0,50,0,50)
- onef.Size = UDim2.new(1,0,1,0)
- twof.Size = UDim2.new(1,0,1,0)
- tref.Size = UDim2.new(1,0,1,0)
- ttl.Size = UDim2.new(1,0,0,25)
- logo.Size = UDim2.new(0,150,0,150)
- main.ZIndex = 1
- back.ZIndex = 2
- one.ZIndex = 3
- two.ZIndex = 3
- tre.ZIndex = 3
- onef.ZIndex = 4
- twof.ZIndex = 4
- tref.ZIndex = 4
- ttl.ZIndex = 3
- logo.ZIndex = 2
- main.ClipsDescendants = true
- back.ClipsDescendants = true
- one.ClipsDescendants = true
- two.ClipsDescendants = true
- tre.ClipsDescendants = true
- onef.ClipsDescendants = true
- twof.ClipsDescendants = true
- tref.ClipsDescendants = true
- ttl.ClipsDescendants = true
- logo.ClipsDescendants = true
- ttl.Font = Enum.Font.SourceSansBold
- ttl.FontSize = Enum.FontSize.Size18
- ttl.Text = "Loading"
- ttl.TextColor3 = Color3.new(200/255,200/255,200/255)
- logo.Image = "rbxassetid://306060486"
- --Doing the stuff
- local count = 0
- for i=1,12 do
- onef.Position = UDim2.new(0,0,-1,0)
- twof.Position = UDim2.new(0,0,-1,0)
- tref.Position = UDim2.new(0,0,-1,0)
- if count == 1 then
- onef:TweenPosition(UDim2.new(0,0,0,0),Enum.EasingDirection.In,Enum.EasingStyle.Sine,0.25)
- wait(0.25)
- onef:TweenPosition(UDim2.new(0,0,1,0),Enum.EasingDirection.In,Enum.EasingStyle.Sine,0.25)
- elseif count == 2 then
- twof:TweenPosition(UDim2.new(0,0,0,0),Enum.EasingDirection.In,Enum.EasingStyle.Sine,0.25)
- wait(0.25)
- twof:TweenPosition(UDim2.new(0,0,1,0),Enum.EasingDirection.In,Enum.EasingStyle.Sine,0.25)
- elseif count == 3 then
- tref:TweenPosition(UDim2.new(0,0,0,0),Enum.EasingDirection.In,Enum.EasingStyle.Sine,0.25)
- wait(0.25)
- tref:TweenPosition(UDim2.new(0,0,1,0),Enum.EasingDirection.In,Enum.EasingStyle.Sine,0.25)
- end
- wait(0.25)
- count = (count + 1) % 4
- end
- screen.Parent = nil
Advertisement
Add Comment
Please, Sign In to add comment