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

How do you make one script activate another script?

I have a script that when you shoot a target it actives another script that gives you the point but how do you make the first script activate another script..?

1 answer

✓ Accepted answer

You can just use the "Disabled" value of the script. While disabled, the script will not run, and when you enable it then it will run from the start.

A script like:

local ScriptToActivate = workspace.Script

ScriptToActivate.Disabled = false --It will run

Although the "ScriptToActivate" would have to be disabled in the first place, which can be done via the properties window.

1 comment

0

Thanks!

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