Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --SETTINGS--
- notls="Script is not a LocalScript!"
- --END SETTINGS--
- function errorMsg(m)
- msg=Instance.new("Hint", game.Players.player)
- msg.Text=m
- wait(4)
- msg:remove()
- print(script.Parent.Name..": "..m)
- end
- --Startup Placements
- if script:IsA("LocalScript")then
- script.Parent.Parent=game.Players.LocalPlayer.PlayerGui
- gui = script.Parent
- playergui = gui.Parent
- player = playergui.Parent
- inf=gui.IntroFrame
- --START INTRO--
- for i=1,20 do
- gui.IntroFrame.BackgroundTransparency=gui.IntroFrame.BackgroundTransparency-.7/20
- wait()
- end
- inf.Label1:TweenPosition(UDim2.new(0,170,0,0),"Out","Quad",2,true)
- wait(1)
- inf.Label2:TweenPosition(UDim2.new(0,170,0,60),"Out","Quad",1)
- wait(3)
- inf.Label1:TweenPosition(UDim2.new(0,170,0,-43),"Out","Quad",1,true)
- wait(.5)
- inf.Label2:TweenPosition(UDim2.new(0,170,0,130),"Out","Quad",1)
- wait(1)
- inf.Label1.Visible=false
- inf.Label2.Visible=false
- wait(.5)
- inf.Label3.Visible=true
- gui:WaitForChild("MainScreen")
- wait(3)
- inf.Label3.Text="Loaded."
- wait(1)
- inf.Label3.Visible=false
- for i=1,20 do
- gui.IntroFrame.BackgroundTransparency=gui.IntroFrame.BackgroundTransparency+.7/20
- wait()
- end
- gui.IntroFrame.Visible=false
- --END INTRO
- --START MAINSCREEN--
- gui.MainScreen.Visible=true
- else errorMsg(notls)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement