For example:
01 | local module = { } |
02 | Dev = "Dev" |
03 | Devid = { 3889301 , 12891821029 , 18209309120293 , 0192093 } |
04 | function module.Plan(argument) |
05 | if argument = = Dev then |
06 | if game.CreatorId = = -- one of the IDs in Devid |
07 | warn( "dev loaded" ) |
08 | print (game.CreatorId) |
09 | end |
10 | end |
11 | end |
12 | return module |
Please Help me awnser this :)
01 | local module = { } |
02 | local devtable = { 3889301 , 12891821029 , 18209309120293 , 0192093 } |
03 | function check(num) |
04 | for _,v in pairs (devtable) do |
05 | if v = = num then |
06 | return true |
07 | end ; end ; end |
08 | function module.Plan(arg) |
09 | if arg = = "Dev" and check(game.CreatorId) = = true then |
10 | warn( "dev loaded." ) |
11 | warn(game.CreatorId) |
12 | end ; end |
13 | return module |