---
title: "Randomize the start frame of Roblox flipbook particles"
description: "Randomize the start frame of Roblox flipbook particles: turn on FlipbookStartRandom with Loop mode, and keep separate emitters for varied one-shots."
canonical: https://appliedmanifold.com/guides/roblox-random-start-frame/
site: "Applied Manifold: The spatial compute cloud for 3D reality"
---

1.  [Home](https://appliedmanifold.com/)
2.  [Guides](https://appliedmanifold.com/guides/)
3.  Random start frame

GUIDE // ROBLOX STUDIO

# How to randomize the starting frame of Roblox flipbook particles

Turn on FlipbookStartRandom on your ParticleEmitter, and each new particle starts its flipbook on a random frame instead of the first one. Use it with FlipbookMode Loop or PingPong, so a cluster of smoke or fire particles sharing one texture stops pulsing together. Leave it off for one-shots, which should start on their first frame.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [See the examples →](https://appliedmanifold.com/docs/pyrofx/examples/)

-   Godot 4 Available
-   Unity Manual setup
-   Unreal Engine Manual setup
-   **Roblox Studio** Manual setup
-   three.js Available

A draft compile is from $0.05, and new accounts start with $5 of usage.

**SMOKE\_PLUMEFINAL**

![First frame of the smoke\_plume bake](/bakes/smoke_plume/poster.webp)

Smoke plume, 7.0 x 10.8 m, compiled with Spatial Compiler. [Spec →](https://appliedmanifold.com/docs/pyrofx/examples/#ex-smoke_plume)

01 // HOW TO

## Fill a battlefield with smoke out of step

1.  Make a large anchored Part over the area, set its Transparency to 1 and insert a ParticleEmitter.
2.  Set Shape to Box so particles spawn across the whole Part.
3.  Set Texture to your smoke image, FlipbookLayout to Grid8x8, FlipbookMode to Loop and FlipbookFramerate to 16, the rate of the 4 s plume.
4.  Turn on FlipbookStartRandom.
5.  Set Rate to 0.5, Lifetime to 12 and Speed to 0, and fade Transparency in and out at the ends of the life.

Each plume now plays the same loop from a different frame. A looping sheet has no special first frame, so any starting point looks natural.

02 // REAL OUTPUT

## Fire works the same way

Several copies of the 2 s fire on random frames read as a spreading blaze. Use FlipbookFramerate 30, the Roblox maximum, for it.

**FIREFINAL**

![First frame of the fire bake](/bakes/fire/poster.webp)

Fire, 4.1 x 7.0 m, compiled with Spatial Compiler. [Spec →](https://appliedmanifold.com/docs/pyrofx/examples/#ex-fire)

03 // ONE-SHOTS

## Vary explosions with separate emitters

An explosion that starts on a random frame skips its flash, so give one-shots variety a different way. Ask your agent for the same explosion with a new seed, upload each version and give each its own ParticleEmitter. Texture applies to every particle of an emitter at once, so swapping it would change blasts already playing.

RandomBlast.lua

```
local variants = {}
for _, child in script.Parent:GetChildren() do
	if child:IsA("ParticleEmitter") then
		table.insert(variants, child)
	end
end

local function explode()
	variants[math.random(#variants)]:Emit(1)
end
```

04 // RELATED

## Related pages

-   [Random start frame Godot 4Use Animation Offset and Particles Anim Loop in Godot 4 so each particle starts its flipbook on a different frame.](https://appliedmanifold.com/guides/godot-random-flipbook-start-frame/)
-   [Random start frame UnityGive each Unity flipbook particle a random start frame so many copies of one looping fire or smoke stop moving in sync.](https://appliedmanifold.com/guides/unity-random-start-frame/)
-   [Loop a flipbook in Roblox Roblox StudioKeep a precomputed fire flipbook looping in Roblox Studio with Loop mode, one long-lived particle and a short Transparency cross-fade.](https://appliedmanifold.com/guides/roblox-loop-flipbook/)
-   [Roblox smoke plume Roblox StudioA smoke plume that leans with the wind and loops every 4 seconds, played in Roblox Studio by hand today.](https://appliedmanifold.com/effects/roblox-smoke-plume/)
-   [Roblox Studio VFX Roblox StudioFire, smoke, explosion and dust effects in Roblox Studio: sprite sheets you set up by hand.](https://appliedmanifold.com/effects/roblox-vfx/)
-   [Particle systemA particle system spawns and updates many small sprites or meshes from an emitter to make sparks, smoke, rain and fire.](https://appliedmanifold.com/learn/particle-system/)
-   [OutputsWith the default export, each view writes four sheets, `<view>_pos.png`, `_neg.png`, `_colour.png` and `_aux.png`, plus `layout.json`, two still previews, the animated `preview_anim.png` and `bake_report.json`. Sheets are 8 x 8 tiles of 256 px by default.](https://appliedmanifold.com/docs/pyrofx/outputs/)

[All pages in Guides →](https://appliedmanifold.com/guides/)

[← Play a flipbook once](https://appliedmanifold.com/guides/roblox-play-flipbook-once/)[Roblox flipbook framerate →](https://appliedmanifold.com/guides/roblox-flipbook-framerate/)

05 // FAQ

## Roblox random start frame questions

[All questions →](https://appliedmanifold.com/faq/)

**README.ROBLOX\_RANDOM\_START\_FRAME**

### How do I randomize the starting frame of Roblox flipbook particles?

Turn on FlipbookStartRandom on your ParticleEmitter so each new particle begins on a random frame of the same flipbook instead of the first frame.

### How do I set up a smoke particle emitter in Roblox Studio?

Add a ParticleEmitter with a smoke flipbook, Grid8x8 and FlipbookMode Loop. Set LightInfluence to 1 for scene lighting and enable FlipbookStartRandom so puffs vary.

### What are flipbook particles in Roblox Studio?

They are ParticleEmitter particles whose texture is a grid of frames set by FlipbookLayout. Each particle plays its own copy of the animation from when it spawns.

### Which texture should Roblox smoke particles use?

Use a square smoke flipbook up to 1024 pixels with light gray shading in RGB and opacity in alpha so the emitter Color property can tint it.

## Compile your first effect

You pay per compile and see the price before it runs. New accounts start with $5 of usage.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [Outputs →](https://appliedmanifold.com/docs/pyrofx/outputs/)

[All effects, guides and explainers →](https://appliedmanifold.com/effects/)
