Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
0

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

Asked by 2 years ago

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

0
obviously it is possible... Axceed_Xlr 365 — 2y
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). justoboy13 153 — 2y

1 answer

Log in to vote
0
Answered by 2 years ago

:Remote events are used for triggering events throughout multiple scripts in Roblox Studio. Find out how to use them here: (http://wiki.roblox.com/index.php?title=Remote_Functions_%26_Events)

Ad

Answer this question