Why isn’t this working?
local ServerStorage = game:GetService(“ServerStorage”)
local PartSize = Vector3.new(5, 5, 5)
local PartColor = BrickColor.new(“Bright red”)
local PartMaterial = Enum.Material.Neon
local PartShape = Enum.PartType.Ball
local FireSize = 30
local FireHeat = 20
local FireColor = Color3.new(1, 0, 0)
local FireSecondaryColor = Color3.new(1, 1, 0)
while true do
local NewPart = Instance.new(“Part”)
NewPart.Size = PartSize
NewPart.Position = Vector3.new(math.random(-50, 50), 50, math.random(-50, 50))
NewPart.BrickColor = PartColor
NewPart.Material = PartMaterial
NewPart.Shape = PartShape
NewPart.CanCollide = true
NewPart.Anchored = false
NewPart.Name = “Fire Part”
NewPart.Parent = ServerStorage
local FireEffect = Instance.new(“Fire”)
FireEffect.Size = FireSize
FireEffect.Heat = FireHeat
FireEffect.Color = FireColor
FireEffect.SecondaryColor = FireSecondaryColor
FireEffect.Parent = NewPart
wait(1)
end