#how can a variable be on two scripts
1 messages · Page 1 of 1 (latest)
you need to stop wathcing whatever tutorial ur wathcing fast
no im self teaching myself
dont know how
for global value remove local
yeah i already figure that out but i cant figure out how to make one part of one of the script active another script
** You are now Level 2! **
o
yeah
Just watch BrawlDev and get a friend who knows scripting
then Hop on a call with them for 5 hrs
per day
or just learn module scripts?
Use a value
From the explorer
Can be a number value, bool value, etc.
and you can set it and get it from scripts
you could do
-- in script 1:
_G.variable = SomeValue
-- in script 2:
variable = _G.variable
But most of the time you dont want to use _G