---
title: "Loop a fire flipbook continuously in Roblox"
description: "Loop a fire flipbook in Roblox: FlipbookMode Loop at up to 30 FPS, one long-lived particle at a time, and a short Transparency cross-fade between them."
canonical: https://appliedmanifold.com/guides/roblox-loop-flipbook/
site: "Applied Manifold: The spatial compute cloud for 3D reality"
---

1.  [Home](https://appliedmanifold.com/)
2.  [Guides](https://appliedmanifold.com/guides/)
3.  Loop a flipbook in Roblox

GUIDE // ROBLOX STUDIO

# How to make a Roblox fire flipbook loop continuously

Set your ParticleEmitter's FlipbookMode to Loop and FlipbookFramerate to the sheet's rate, up to 30 frames per second, the Roblox maximum. Keep one long-lived particle on screen at a time, emit the next one just before the last dies, and fade each in and out with Transparency so the hand-off never pops.

[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.

**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)

01 // HOW TO

## Keep one fire burning

1.  Add an anchored Part where the fire sits, with Transparency 1 and CanCollide off, and insert a ParticleEmitter into it.
2.  Set Texture to your fire image, FlipbookLayout to Grid8x8, FlipbookMode to Loop and FlipbookFramerate to 30, the most Roblox allows.
3.  Set Rate to 0, Lifetime to 11.2, Speed to 0 and LockedToPart to true, and leave FlipbookStartRandom off.
4.  Set Transparency to a sequence that goes from 1 to 0 over the first 5 percent of the life and back to 1 over the last 5 percent.
5.  Set Orientation to FacingCameraWorldUp, which keeps the side-on flames upright when the camera looks down.
6.  Add `KeepBurning.lua` to the emitter so a new particle starts every five passes of the loop, 10.67 s.

KeepBurning.lua

```
local emitter = script.Parent -- the fire ParticleEmitter
local PASS = 64 / 30 -- one pass of the 64 frames at 30 frames per second

while true do
	emitter:Emit(1)
	task.wait(PASS * 5)
end
```

02 // WHY IT WORKS

## Why the hand-off does not show

At 30 frames per second, one pass of the 64 frames takes 2.13 s, a little longer than the 2 s the fire was precomputed at. Five passes take 10.67 s, so each new particle starts on frame 0 at the moment the old one wraps back to frame 0. For the half second the two overlap, they show the same frame while one fades in and the other fades out.

Loop mode wraps from frame 63 to frame 0 by itself. A looping compile from Spatial Compiler blends its last frames into its first, so that wrap looks like any other step.

03 // RELATED

## Related pages

-   [Loop a fire sheet Godot 4Find why a fire loop pops in Godot 4 and fix it in the sheet, the AnimatedSprite3D or the GPUParticles3D emitter settings.](https://appliedmanifold.com/guides/godot-loop-fire-sprite-sheet/)
-   [Loop a flipbook in Unity UnityKeep a fire or smoke flipbook looping in a Unity Particle System by matching particle lifetime to whole cycles of the clip.](https://appliedmanifold.com/guides/unity-loop-flipbook/)
-   [Roblox flipbook framerate Roblox StudioWork out and set FlipbookFramerate for a Roblox ParticleEmitter, and see why OneShot mode uses Lifetime instead.](https://appliedmanifold.com/guides/roblox-flipbook-framerate/)
-   [Roblox steady fire Roblox StudioA steady fire about 1.5 m across that loops every 2 seconds, played in Roblox Studio by hand today.](https://appliedmanifold.com/effects/roblox-steady-fire/)
-   [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/)
-   [Loops without a seamA loop with no visible seam blends its last frames into its first, so a fire or smoke effect keeps looping without a pop.](https://appliedmanifold.com/learn/seamless-loop/)
-   [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/)

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

04 // FAQ

## Roblox looping flipbook questions

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

**README.ROBLOX\_LOOP\_FLIPBOOK**

### How do I make a Roblox fire flipbook loop continuously?

Set FlipbookMode to Loop and FlipbookFramerate to the sheet rate up to 30, then emit overlapping particles with short fades. A 64 frame 2 second fire plays in 2.13 seconds.

### How do I make fire particles in Roblox Studio with a flipbook?

Insert a ParticleEmitter in a Part, assign a fire flipbook with FlipbookLayout Grid8x8, set Speed to 0 to keep it in place and set LightEmission to 1.

### How do I make realistic fire in Roblox Studio?

Use a precomputed fire flipbook instead of a single still image, add a PointLight to the same Part and pair the flames with a separate smoke emitter.

### How do I play a sprite sheet animation in Roblox?

For world effects, use a ParticleEmitter flipbook with FlipbookLayout and FlipbookMode. For 2D interfaces, step an ImageLabel ImageRectOffset and ImageRectSize through the frames from a script.

## 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/)
