Script:
01 | local TweenService = game:GetService( "TweenService" ) |
02 |
03 | local camera = game.Workspace.Camera |
04 |
05 | local cutsceneTime = 12 |
06 |
07 | local tweenInfo = TweenInfo.new( |
08 | cutsceneTime, |
09 | Enum.EasingStyle.Sine, |
10 | Enum.EasingDirection.Out, |
11 | 0 , |
12 | false , |
13 | 0 |
14 | ) |
15 |
01 | local TweenService = game:GetService( "TweenService" ) |
02 | local Button = game.Players.LocalPlayer.PlayerGui -- path |
03 | local PlayB = false |
04 | local sceneplaying = false |
05 | local camera = game.Workspace.Camera |
06 | local cutsceneTime = 12 |
07 |
08 | Button.MouseButton 1 Down:connect( function () |
09 | PlayB = true |
10 | end ) |
11 |
12 | local tweenInfo = TweenInfo.new( |
13 | cutsceneTime, |
14 | Enum.EasingStyle.Sine, |
15 | Enum.EasingDirection.Out, |