sequence.play
function#Plays a Sequence for the players and returns it at once. Its markers and completed fire at their times.
local run = sequence.play(player, { duration = 3, tracks = { sequence.caption({ { time = 0.5, text = "Ready?" } }) } })Use it forplaying an intro cutscene for a player the moment they reach the boss room.
targetoptionalOne player, a list of players, or nil for every player in the game now.definitionThe duration, the tracks and the markers.Build a play callduration · tracks · markers
durationrequiredHow long the sequence plays in seconds, which must be above 0 and at most 300.
tracksThe tracks to play, made with functions like
sequence.cameraandsequence.caption, up to 16 of them with at most one camera track.markersUp to 64 named moments that fire
markeron the server, where each name has 1 to 64 characters.