Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local TransitionEvent = game.ReplicatedStorage:WaitForChild("TransitionEvent")
- local TransitionFrame = script.Parent.TransitionFrame
- local TransitionLogo = TransitionFrame.GameLogo
- TransitionEvent.OnClientEvent:Connect(function()
- TransitionFrame:TweenPosition(UDim2.new(-1,0,0,0),.1)
- TransitionFrame:TweenPosition(UDim2.new(0,0,0,0),.1)
- wait(3)
- TransitionLogo:TweenSize(UDim2.new(0.5,0,0.5,0),.1)
- wait(1.1)
- TransitionLogo:TweenSize(UDim2.new(0,0,0,0),.1)
- wait(3)
- TransitionFrame:TweenPosition(UDim2.new(-1,0,0,0),.1)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement