diff --git a/control.lua b/control.lua index e9077e67..0242b3ef 100644 --- a/control.lua +++ b/control.lua @@ -4,7 +4,7 @@ Explosive Gaming This file can be used with permission but this and the credit below must remain in the file. Contact a member of management on our discord to seek permission to use our code. Any changes that you may make to the code are yours but that does not make the script yours. -Discord: https://discord.gg/XSsBV6b +Discord: https://discord.gg/r6dC2uK ]] --Please Only Edit Below This Line----------------------------------------------------------- --set up to run other code and events diff --git a/locale/ExpGaming-Addons/file-header.lua b/locale/ExpGaming-Addons/file-header.lua index 0a2c382f..f2b6e152 100644 --- a/locale/ExpGaming-Addons/file-header.lua +++ b/locale/ExpGaming-Addons/file-header.lua @@ -4,6 +4,6 @@ Explosive Gaming This file can be used with permission but this and the credit below must remain in the file. Contact a member of management on our discord to seek permission to use our code. Any changes that you may make to the code are yours but that does not make the script yours. -Discord: https://discord.gg/XSsBV6b +Discord: https://discord.gg/r6dC2uK ]] --Please Only Edit Below This Line----------------------------------------------------------- diff --git a/locale/ExpGaming-Core/ExpGaming - Command Maker.lua b/locale/ExpGaming-Core/ExpGaming - Command Maker.lua index a4419829..b969b2c6 100644 --- a/locale/ExpGaming-Core/ExpGaming - Command Maker.lua +++ b/locale/ExpGaming-Core/ExpGaming - Command Maker.lua @@ -4,7 +4,7 @@ Explosive Gaming This file can be used with permission but this and the credit below must remain in the file. Contact a member of management on our discord to seek permission to use our code. Any changes that you may make to the code are yours but that does not make the script yours. -Discord: https://discord.gg/XSsBV6b +Discord: https://discord.gg/r6dC2uK ]] --Please Only Edit Below This Line----------------------------------------------------------- local Exp_commands = {} diff --git a/locale/ExpGaming-Core/ExpGaming - Lib.lua b/locale/ExpGaming-Core/ExpGaming - Lib.lua index a44df05e..f2075674 100644 --- a/locale/ExpGaming-Core/ExpGaming - Lib.lua +++ b/locale/ExpGaming-Core/ExpGaming - Lib.lua @@ -4,7 +4,7 @@ Explosive Gaming This file can be used with permission but this and the credit below must remain in the file. Contact a member of management on our discord to seek permission to use our code. Any changes that you may make to the code are yours but that does not make the script yours. -Discord: https://discord.gg/XSsBV6b +Discord: https://discord.gg/r6dC2uK ]] --Please Only Edit Below This Line----------------------------------------------------------- --Convert ticks to 12H 34M format or 8.97M when less than 10 diff --git a/locale/ExpGaming-Core/ExpGaming - Rank Control.lua b/locale/ExpGaming-Core/ExpGaming - Rank Control.lua index c0383a27..a6b63d8d 100644 --- a/locale/ExpGaming-Core/ExpGaming - Rank Control.lua +++ b/locale/ExpGaming-Core/ExpGaming - Rank Control.lua @@ -4,7 +4,7 @@ Explosive Gaming This file can be used with permission but this and the credit below must remain in the file. Contact a member of management on our discord to seek permission to use our code. Any changes that you may make to the code are yours but that does not make the script yours. -Discord: https://discord.gg/XSsBV6b +Discord: https://discord.gg/r6dC2uK ]] --Please Only Edit Below This Line----------------------------------------------------------- local ranking = {} diff --git a/locale/ExpGaming-Core/ExpGaming - Rank Table.lua b/locale/ExpGaming-Core/ExpGaming - Rank Table.lua index 592c832c..11e7d8f0 100644 --- a/locale/ExpGaming-Core/ExpGaming - Rank Table.lua +++ b/locale/ExpGaming-Core/ExpGaming - Rank Table.lua @@ -4,7 +4,7 @@ Explosive Gaming This file can be used with permission but this and the credit below must remain in the file. Contact a member of management on our discord to seek permission to use our code. Any changes that you may make to the code are yours but that does not make the script yours. -Discord: https://discord.gg/XSsBV6b +Discord: https://discord.gg/r6dC2uK --Please Only Edit Below This Line----------------------------------------------------------- How to use groups: name the name that you can use to refence it. diff --git a/locale/ExpGaming-Core/ExpGaming - Server Interface.lua b/locale/ExpGaming-Core/ExpGaming - Server Interface.lua index 9b0e48e1..602911ed 100644 --- a/locale/ExpGaming-Core/ExpGaming - Server Interface.lua +++ b/locale/ExpGaming-Core/ExpGaming - Server Interface.lua @@ -4,7 +4,7 @@ Explosive Gaming This file can be used with permission but this and the credit below must remain in the file. Contact a member of management on our discord to seek permission to use our code. Any changes that you may make to the code are yours but that does not make the script yours. -Discord: https://discord.gg/XSsBV6b +Discord: https://discord.gg/r6dC2uK ]] --Please Only Edit Below This Line----------------------------------------------------------- local server = {} @@ -74,7 +74,7 @@ end -- converts any value into the uuid the script will use function server.get_uuid(var) if type(var) == 'string' then uuid = var - else uuid = tostring(var) end + else uuid = tostring(global.exp_core.uuids.operator()) end uuid = string.tohex('uuid'..uuid) server.refresh_uuid(uuid) return uuid @@ -136,5 +136,5 @@ Event.register(defines.events.on_tick, function(event) if data.remove_time <= game.tick then global.exp_core.server.temp_varibles[uuid] = nil end end end) -Event.register(Event.soft_init,function() global.exp_core.server = {callback_queue={},callbacks={},temp_varibles={}} end) +Event.register(Event.soft_init,function() global.exp_core.server = {callback_queue={},callbacks={},temp_varibles={}} global.exp_core.uuids = game.create_random_generator() end) return server \ No newline at end of file diff --git a/locale/ExpGaming-Core/GUI/ExpGaming - Center Gui.lua b/locale/ExpGaming-Core/GUI/ExpGaming - Center Gui.lua index 0e7a5735..78044e6f 100644 --- a/locale/ExpGaming-Core/GUI/ExpGaming - Center Gui.lua +++ b/locale/ExpGaming-Core/GUI/ExpGaming - Center Gui.lua @@ -4,7 +4,7 @@ Explosive Gaming This file can be used with permission but this and the credit below must remain in the file. Contact a member of management on our discord to seek permission to use our code. Any changes that you may make to the code are yours but that does not make the script yours. -Discord: https://discord.gg/XSsBV6b +Discord: https://discord.gg/r6dC2uK ]] --Please Only Edit Below This Line----------------------------------------------------------- local ExpGui = require("ExpGaming - Module Setup") diff --git a/locale/ExpGaming-Core/GUI/ExpGaming - Inputs.lua b/locale/ExpGaming-Core/GUI/ExpGaming - Inputs.lua index c217e2b5..93e24edc 100644 --- a/locale/ExpGaming-Core/GUI/ExpGaming - Inputs.lua +++ b/locale/ExpGaming-Core/GUI/ExpGaming - Inputs.lua @@ -4,7 +4,7 @@ Explosive Gaming This file can be used with permission but this and the credit below must remain in the file. Contact a member of management on our discord to seek permission to use our code. Any changes that you may make to the code are yours but that does not make the script yours. -Discord: https://discord.gg/XSsBV6b +Discord: https://discord.gg/r6dC2uK ]] --Please Only Edit Below This Line----------------------------------------------------------- local ExpGui = require("ExpGaming - Module Setup") diff --git a/locale/ExpGaming-Core/GUI/ExpGaming - Left Gui.lua b/locale/ExpGaming-Core/GUI/ExpGaming - Left Gui.lua index fb487fdb..2f3bad2a 100644 --- a/locale/ExpGaming-Core/GUI/ExpGaming - Left Gui.lua +++ b/locale/ExpGaming-Core/GUI/ExpGaming - Left Gui.lua @@ -4,7 +4,7 @@ Explosive Gaming This file can be used with permission but this and the credit below must remain in the file. Contact a member of management on our discord to seek permission to use our code. Any changes that you may make to the code are yours but that does not make the script yours. -Discord: https://discord.gg/XSsBV6b +Discord: https://discord.gg/r6dC2uK ]] --Please Only Edit Below This Line----------------------------------------------------------- local ExpGui = require("ExpGaming - Module Setup") diff --git a/locale/ExpGaming-Core/GUI/ExpGaming - Module Setup.lua b/locale/ExpGaming-Core/GUI/ExpGaming - Module Setup.lua index 75b1630a..b303e26a 100644 --- a/locale/ExpGaming-Core/GUI/ExpGaming - Module Setup.lua +++ b/locale/ExpGaming-Core/GUI/ExpGaming - Module Setup.lua @@ -4,7 +4,7 @@ Explosive Gaming This file can be used with permission but this and the credit below must remain in the file. Contact a member of management on our discord to seek permission to use our code. Any changes that you may make to the code are yours but that does not make the script yours. -Discord: https://discord.gg/XSsBV6b +Discord: https://discord.gg/r6dC2uK ]] --Please Only Edit Below This Line----------------------------------------------------------- -- Mainly used as a plan for how the gui is stored also as a header for the credit diff --git a/locale/ExpGaming-Core/GUI/ExpGaming - Player Table.lua b/locale/ExpGaming-Core/GUI/ExpGaming - Player Table.lua index 822a665a..481cfd4d 100644 --- a/locale/ExpGaming-Core/GUI/ExpGaming - Player Table.lua +++ b/locale/ExpGaming-Core/GUI/ExpGaming - Player Table.lua @@ -4,7 +4,7 @@ Explosive Gaming This file can be used with permission but this and the credit below must remain in the file. Contact a member of management on our discord to seek permission to use our code. Any changes that you may make to the code are yours but that does not make the script yours. -Discord: https://discord.gg/XSsBV6b +Discord: https://discord.gg/r6dC2uK ]] --Please Only Edit Below This Line----------------------------------------------------------- local ExpGui = require("ExpGaming - Module Setup") diff --git a/locale/ExpGaming-Core/GUI/ExpGaming - Popup.lua b/locale/ExpGaming-Core/GUI/ExpGaming - Popup.lua index f2fb91e7..538fee84 100644 --- a/locale/ExpGaming-Core/GUI/ExpGaming - Popup.lua +++ b/locale/ExpGaming-Core/GUI/ExpGaming - Popup.lua @@ -4,7 +4,7 @@ Explosive Gaming This file can be used with permission but this and the credit below must remain in the file. Contact a member of management on our discord to seek permission to use our code. Any changes that you may make to the code are yours but that does not make the script yours. -Discord: https://discord.gg/XSsBV6b +Discord: https://discord.gg/r6dC2uK ]] --Please Only Edit Below This Line----------------------------------------------------------- local ExpGui = require("ExpGaming - Module Setup") diff --git a/locale/ExpGaming-Core/GUI/ExpGaming - Toolbar.lua b/locale/ExpGaming-Core/GUI/ExpGaming - Toolbar.lua index 5856f7ea..20bfda87 100644 --- a/locale/ExpGaming-Core/GUI/ExpGaming - Toolbar.lua +++ b/locale/ExpGaming-Core/GUI/ExpGaming - Toolbar.lua @@ -4,7 +4,7 @@ Explosive Gaming This file can be used with permission but this and the credit below must remain in the file. Contact a member of management on our discord to seek permission to use our code. Any changes that you may make to the code are yours but that does not make the script yours. -Discord: https://discord.gg/XSsBV6b +Discord: https://discord.gg/r6dC2uK ]] --Please Only Edit Below This Line----------------------------------------------------------- local ExpGui = require("ExpGaming - Module Setup") diff --git a/locale/ExpGaming-Core/GUI/file-header.lua b/locale/ExpGaming-Core/GUI/file-header.lua index d04cc4d9..c27f1eab 100644 --- a/locale/ExpGaming-Core/GUI/file-header.lua +++ b/locale/ExpGaming-Core/GUI/file-header.lua @@ -4,7 +4,7 @@ Explosive Gaming This file can be used with permission but this and the credit below must remain in the file. Contact a member of management on our discord to seek permission to use our code. Any changes that you may make to the code are yours but that does not make the script yours. -Discord: https://discord.gg/XSsBV6b +Discord: https://discord.gg/r6dC2uK ]] --Please Only Edit Below This Line----------------------------------------------------------- local function merge(first_table,second_table) for k,v in pairs(second_table) do first_table[k] = v end end diff --git a/locale/ExpGaming-Core/file-header.lua b/locale/ExpGaming-Core/file-header.lua index 8e32ea09..bab45c7d 100644 --- a/locale/ExpGaming-Core/file-header.lua +++ b/locale/ExpGaming-Core/file-header.lua @@ -4,7 +4,7 @@ Explosive Gaming This file can be used with permission but this and the credit below must remain in the file. Contact a member of management on our discord to seek permission to use our code. Any changes that you may make to the code are yours but that does not make the script yours. -Discord: https://discord.gg/XSsBV6b +Discord: https://discord.gg/r6dC2uK ]] --Please Only Edit Below This Line----------------------------------------------------------- --As this is the core file, the order in which the files are loaded does matter. Do not change! diff --git a/locale/Stand-Alone/file-header.lua b/locale/Stand-Alone/file-header.lua index 0a2c382f..f2b6e152 100644 --- a/locale/Stand-Alone/file-header.lua +++ b/locale/Stand-Alone/file-header.lua @@ -4,6 +4,6 @@ Explosive Gaming This file can be used with permission but this and the credit below must remain in the file. Contact a member of management on our discord to seek permission to use our code. Any changes that you may make to the code are yours but that does not make the script yours. -Discord: https://discord.gg/XSsBV6b +Discord: https://discord.gg/r6dC2uK ]] --Please Only Edit Below This Line-----------------------------------------------------------