Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Bindable and Remote Functions?

Asked by
funyun 958 Moderation Voter
8 years ago

Ok, so I want to make a folder of math functions that any of my scripts can access so I won't have to write them out again should I have to use them. So far, I have this empty folder in the game directory called MoreMaths (I used the command line to get it there). Let's say I wanted something stupid, like adding two arguments together. What object would I use, and how would I use it?

1
Depends what type of scripts you want to access the functions: If you have two scripts or two local scripts, use bindable functions or if you have a script and a local script, use remote functions. I would myself recommend using a ModuleScript to put all your math functions into one script that can be required using the require function. Spongocardo 1991 — 8y

Answer this question