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

How can I make a script execute another script?

Hola, necesito un script para llamar a otro o más que ese script que se está ejecutando. Llamar a otro script.

Please look everywhere and nothing


On the other hand, sorry if I write badly ... I speak Spanish

2 answers

✓ Accepted answer

Use events to fire other scripts

Script: script.Parent.Event:Fire() --Depends on where you put your event

Another script

function X()

end

script.Parent.Event.Event:connect(X)

You can modify the script to fit your needs Remember to insert the event first The icon is a lighting bolt.

Hope this helped!

You could make your script that is going to be exicuted only work when a variable in that script is a certain number and then in another script increase the variable to "exicute" it.

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