Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

*help* How do I have something disabled enabled through a script? Mines not working

Hi. I have a part that has fire in it, and i have the fire disabled.

this is the script

local brick = Workspace.Part

function onTouch(part) brick.Fire.Enabled = true wait(3) brick.Fire.Enabled = false end

when i touch it, it does nothing. Help?

1 comment

0

Use code formatting.

2 answers

✓ Accepted answer

You never connected anything to a Touched event, so nothing would happen if you did touch any brick.

1 comment

0

Oh wow how'd I miss that. xd Thanks

This discussion is preserved as it was. New answers, comments, and votes are closed.