Sparkle, smoke, and glow — add ParticleEmitters to parts so your game looks as good as it plays.
A game without effects is a movie without color grading — technically functional, but flat. ParticleEmitters turn a plain into a fountain of sparkles, a cloud of smoke, or a shower of coins. They're one of the fastest ways to make a game feel polished.
A ParticleEmitter is an object you parent to a . It spews particles automatically:
local emitter = Instance.new("ParticleEmitter")
emitter.Rate = 20 -- particles per second
emitter.Lifetime = NumberRange.new(0.5, 1.5) -- each particle lives 0.5–1.5s
emitter.Speed = NumberRange.new(5, 10) -- speed when emitted
emitter.Parent = part
Rate — how many particles per second. Higher = denser effect.Lifetime — how long each particle lives (randomized between the two numbers).Speed — how fast particles fly outward.To make a ParticleEmitter produce 50 particles per second, set its property to 50.
By default, particles spray upward from the 's surface. Change where they go:
emitter.SpreadAngle = Vector2.new(45, 45) -- spread in a cone
emitter.EmissionDirection = Enum.NormalId.Top -- emit from the top face
SpreadAngle widens the spray cone — Vector2.new(0, 0) means a straight line, Vector2.new(360, 360) means everywhere.
For a coin pickup, you want particles flying outward from the center. For a torch, you want them rising from the top. Match the shape to the moment.
The real magic: particles can change as they age.
emitter.Color = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 215, 0)), -- gold at start
ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 100, 0)), -- orange at end
})
emitter.Size = NumberSequence.new({
NumberSequenceKeypoint.new(0, 0.5), -- start small
NumberSequenceKeypoint.new(1, 0), -- shrink to nothing
})
Color — a ColorSequence: what color at the start (0) and end (1).Size — a NumberSequence: what size at the start and end.These let you make sparkles that fade from gold to transparent, smoke that shrinks as it rises, or coins that shrink as they fly up.
How do you make particles start large and shrink to nothing?
Enable and disable emitters from a :
emitter.Enabled = false -- stop emitting (existing particles finish)
emitter.Enabled = true -- start again
This is how most game effects work — the emitter sits on the , disabled by default, and a flips it on at the right moment (coin pickup, explosion, level-up).
A coin pickup should sparkle for 2 seconds when collected. Enable the emitter, wait, then disable it.
local coin = workspace.Coin
local emitter = coin:WaitForChild("ParticleEmitter")
-- toggle the emitter on, wait, then offNext: smooth movement and polish — .