mirror of
https://github.com/Novetus/Novetus_src.git
synced 2025-01-31 09:41:33 +02:00
30 lines
603 B
Lua
30 lines
603 B
Lua
local this = {}
|
|
|
|
function this:Name()
|
|
return "Novetus Utilities (Client Name Printer and Script Name Printer)"
|
|
end
|
|
|
|
function this:IsEnabled(Script, Client)
|
|
if (Script ~= "Studio") then
|
|
return true
|
|
else
|
|
return false
|
|
end
|
|
end
|
|
|
|
function this:PreInit(Script, Client)
|
|
local ver = Instance.new("StringValue",game.Lighting)
|
|
ver.Name = "Version"
|
|
ver.Value = Client
|
|
|
|
local scr = Instance.new("StringValue",game.Lighting)
|
|
scr.Name = "ScriptLoaded"
|
|
scr.Value = Script
|
|
end
|
|
|
|
function AddModule(t)
|
|
print("AddonLoader: Adding " .. this:Name())
|
|
table.insert(t, this)
|
|
end
|
|
|
|
_G.CSScript_AddModule=AddModule |