I need help on how to make the instance.new fires parent the block that's being created by the Instance code.
Here's the coding
-- Yes
local yes = Instance.new("Part",workspace) --Instantiate a Part, as a child of the workspace
yes.Anchored = true
yes.BrickColor = BrickColor.new("Lime green")
yes.Name = "Lime part"
yes.Position = Vector3.new(-210, 1.69, 227)
yes.Material = "Neon"
local boom = Instance.new("Fire", yes.Parent)
boom.Color = Color3.new(0 , 0, 255)
boom.SecondaryColor = Color3.new (0, 255, 127)
boom.Enabled = true
boom.Heat = 15
boom.Name = "Yomi Comobi"
boom.Size = 5
local hint = Instance.new("Hint", workspace)
hint.Text = "The name of the part we created is: " .. yes.Name

1 comment
Thank you! It worked! :D