How do I make things catch on fire? - Roblox Forum

I'm trying to make a games and a house burns and catches fire. How do I do this? πŸ’ŽπŸ’ŽπŸ’ŽFree ROBUXπŸ’ŽπŸ’ŽπŸ’Ž
1 Reply
Anon
AnonOPβ€’3mo ago
[CODE lang="lua" title="Fire Script()"]for _, child in pairs(workspace:GetChildren()) do if child.Name == "Fire_Part" and child:IsA("BasePart") then local fire = Instance.new("Fire") fire.Heat = 10 fire.Color = child.Color fire.SecondaryColor = Color3.new(1, 1, 1) -- White fire.Size = math.max(child.Size.X, child.Size.Z) -- Pick the larger of the two dimensions fire.Parent = child end end[/CODE] For more information you can visit here πŸ’ŽπŸ’ŽπŸ’ŽFree ROBUXπŸ’ŽπŸ’ŽπŸ’Ž

Did you find this page helpful?