So I don't really know a single thing when it comes to scripting, but friend of mine made a simple hud script for me a while back to work with a particle fountain which is just a simple click to activate thing(it runs and stops after particles are done) I wanted it to stay on and going until I click the hud button once again.
So how would I go about adding an on and off switch to this?
default
{
state_entry()
{
}
touch_start(integer total_number)
{
llSay(10, "Fountain");
}
}