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

Is it possible to do this? Send messages to other scripts

I mean doing something like a script in a button does this when clicked:

Bsajsjdf = 1

And then a script in a workspace does

If bsajsjdf = 1 then BlahBlahBlah.Play

And then setting the number to different ones like if clicked once turns bsajsjdf into 1 and if clicked twice it turns bsajsjdf into 2 and etcetera etcetera etcetera

Is it possible or messages are only available for local use?

I need help this can be very useful to a game in which you will have to choose an icon

3 comments

0

obviously it is possible...

0

I would try putting a number or string value into workspace and set/check the value of that or try using a global value if it is in a server script(_G.bsajsjsdf).

1 answer

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