Anyway make global variables?
#1
Like a variable that can be defined in one script but then used in another?

OOPS posted in wrong thread! Could a mod move it for me?
[Image: AmZJnA9.png]
Reply
#2
1: Sure, I'll move it.

2: I think it's either _G.variable or G_.variable, where "variable" is the variable in question. Just say something like

"_G.noob = workspace.Character"

and then in another script, that has to run a moment afterwards...

"_G.noob.Health = 0"
Reply
#3
_G and/or shared
[Image: 5widdh.png]
Siggy by McNoobster!
[Image: loading.gif]
Reply
#4
Alright thanks!
[Image: AmZJnA9.png]
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)