Advertisement
Sungmingamerpro13

New Transition(STORY GAME)

Aug 13th, 2022
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. local TransitionEvent = game.ReplicatedStorage:WaitForChild("TransitionEvent")
  2.  
  3. local TransitionFrame = script.Parent.TransitionFrame
  4. local TransitionLogo = TransitionFrame.GameLogo
  5.  
  6. TransitionEvent.OnClientEvent:Connect(function()
  7. TransitionFrame:TweenPosition(UDim2.new(-1,0,0,0),.1)
  8. TransitionFrame:TweenPosition(UDim2.new(0,0,0,0),.1)
  9. wait(3)
  10. TransitionLogo:TweenSize(UDim2.new(0.5,0,0.5,0),.1)
  11. wait(1.1)
  12. TransitionLogo:TweenSize(UDim2.new(0,0,0,0),.1)
  13. wait(3)
  14. TransitionFrame:TweenPosition(UDim2.new(-1,0,0,0),.1)
  15. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement