| |
|
| |
|
kevmartin
|
  |
| Joined: 06 Jan 2012 |
| Total Posts: 34 |
|
|
| 12 Oct 2014 11:42 PM |
| I don't think you can. When you make a function, it's just in that script. If you really want it to be in another script, just copy and paste it into the other script. |
|
|
| Report Abuse |
|
|
|
| 12 Oct 2014 11:42 PM |
| Dang, even if we use globals? |
|
|
| Report Abuse |
|
|
Parlus2
|
  |
| Joined: 16 May 2009 |
| Total Posts: 11272 |
|
|
| 12 Oct 2014 11:43 PM |
| yes can dont listen to these noobs |
|
|
| Report Abuse |
|
|
| |
|
kevmartin
|
  |
| Joined: 06 Jan 2012 |
| Total Posts: 34 |
|
|
| 12 Oct 2014 11:48 PM |
| Geez, I am just a beginner scripter and I don't know much about scripting. I accept that I am a noob, but I don't need to be told. |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 12 Oct 2014 11:58 PM |
ModuleScripts > global functions
In most cases. |
|
|
| Report Abuse |
|
|
bob10110
|
  |
| Joined: 09 Dec 2007 |
| Total Posts: 679 |
|
|
| 13 Oct 2014 12:46 AM |
There's also RemoteEvents, which will basically call a function as soon as it receives a signal that any other script can send.
Wiki link: http://wiki.roblox.com/index.php?title=RemoteFunction_and_RemoteEvent_Tutorial |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 13 Oct 2014 12:47 AM |
| Global functions will work, yes. ModuleScripts are preferable. |
|
|
| Report Abuse |
|
|