OnlyFreeSearch library
☰
Game illustration for Campfire Glow.
Lighting

Campfire Glow

Give a campsite in your Roblox Studio project a warm pool of light that rises and falls around the embers.

Get Script ↗

About Campfire Glow

Use this Luau script inside your own Roblox Studio place. Its source is included below.

What it does

  • Amber light

    Warm amber light within a 16-stud radius

  • Brightness pulse

    A smooth repeating brightness pulse

  • Server placement

    One server Script attached to the ember Part

How to run it

  1. Prepare the scene

    In your own Studio place, add an anchored Part at the center of your campfire.

  2. Add the server Script

    Insert a Script under that Part and replace its contents with the Luau source.

  3. Playtest the interaction

    Press Play and inspect the light on nearby surfaces. Adjust Range to change its reach or the two brightness values to change the strength of the pulse.

View Luau source
-- Add this server Script to an anchored Part in your campsite.
local TweenService = game:GetService("TweenService")
local ember = script.Parent
assert(ember:IsA("BasePart"), "Place this Script inside a Part")

local glow = Instance.new("PointLight")
glow.Name = "EmberGlow"
glow.Color = Color3.fromRGB(255, 152, 72)
glow.Range = 16
glow.Brightness = 1.2
glow.Parent = ember

local pulse = TweenInfo.new(1.7, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, -1, true)
TweenService:Create(glow, pulse, { Brightness = 2.1 }):Play()

Questions

Does it create flames or damage?

It lights nearby surfaces. Add your own flame effect if you want visible fire.

How do I slow the pulse down?

Increase 1.7 in TweenInfo.new. That value is the duration of one half of the pulse in seconds.

More scripts

View all ↗