|
| 23 Jun 2015 04:02 PM |
There must be a way right? Thank you.
Blox Brawl Is Back!: http://www.roblox.com/games/257218159/Roblox-Blox-Brawl-ITS-BACK# |
|
|
| Report Abuse |
|
|
Locard
|
  |
| Joined: 13 Apr 2014 |
| Total Posts: 3516 |
|
|
| 23 Jun 2015 04:02 PM |
| remotefunctions are always fun to use. |
|
|
| Report Abuse |
|
|
|
| 23 Jun 2015 04:03 PM |
how can I use them in this situation?
Blox Brawl Is Back!: http://www.roblox.com/games/257218159/Roblox-Blox-Brawl-ITS-BACK# |
|
|
| Report Abuse |
|
|
Locard
|
  |
| Joined: 13 Apr 2014 |
| Total Posts: 3516 |
|
|
| 23 Jun 2015 04:07 PM |
Well, that depends on which global table you're talking about. Are you talking about local global tables or server global tables? They are 2 different things of course, but to access server global tables you would need remotefunctions.
server script
game.ReplicatedStorage.RemoteFunction.OnServerInvoke = function(player,index) if _G[index] then return _G[index] else return nil end end)
local script
local val = game.ReplicatedStorage.RemoteFunction:InvokeServer(index) |
|
|
| Report Abuse |
|
|