I'm currently in the process of making an automatic show. It would be so much easier if I could trigger another script instead of repeating the same lines simply just for fireworks. Any tips? Thanks! -IPhoneDrew
✓ ANSWER ACCEPTED
How do I trigger another script through a script?
2 answers
✓ Accepted answer
you can put it in a while loop your fireworks script. I show two methods.
local function fireworks()
-- idk what you'd do here
end
while true do
fireworks()
wait(1)
end
--//OR\\--
-- from another script
while true do -- change to however long
Fireworks.Disabled = not Fireworks.Disabled -- assuming Fireworks is the name
wait(1)
end
You can just do something like this:
script.Parent.DisabledScript.Disabled = false -- This will enable the script called "DisabledScript"
If you want to disable it, just set it to true.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Scripts have the option in their properties that is called "Disabled" if it's ticked, that means that the script is disabled and will not run in the game unless if an another script enables it.