Jump to content
Sign in to follow this  
killer12

Execute variable globally

Recommended Posts

What different, and effective ways can i set a variable globally (needs to be JIP too)

thanks

Share this post


Link to post
Share on other sites

Just use publicVariable, all publicVariable's are synced to clients that JIP, just make sure any scripts that run when the player joins dont set the default value for the variable without checking whether it already exists (isNil).

Share this post


Link to post
Share on other sites
Just use publicVariable, all publicVariable's are synced to clients that JIP, just make sure any scripts that run when the player joins dont set the default value for the variable without checking whether it already exists (isNil).

Worked perfectly. Thank you.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×