I Am Trying To Make A Camp Fire Turn Off Then Turn On
Fire.Parent (heat)(0) wait (10) (heat)(15)
I Do Not Know What I Am Doing
It's really as simple as just setting the Heat property of your fire object. I've written a small piece of code down below, so I'll just explain what happens.
In the first line, we're declaring the variable Fire as the fire object that you want to work with. I've used workspace.Fire as a placeholder, but you might want to change it to script.Parent or whatever you feel like will work. Then, in the second line, we're setting the Heat property of Fire to 0. But, since the value of Fire is the fire object that you want, it actually changes the Heat property of your fire object to 0 In the third line, we're just waiting for 10 seconds In the fourth line, we're doing the same as in the second, but then setting it to 15.
Now, that's your code fixed and explained, and I'm expecting that you at the very least know how to do stuff like Workspace.Part.Fire and script.Parent.Parent.Fire
Fire = workspace.Fire -- Replace this with the path to the fire object that you're working with Fire.Heat = 0 wait(10) Fire.Heat = 15
local Fire = script.Parent Fire.Enabled = false wait(10) Fire.Enabled = true