I cannot stop my script from printing: 13:47:42.610 - Using Checko 13:47:42.611 - This is a unlicenced game 13:47:42.612 - The creator Id Is: 0 <--- used for loading problems 13:47:42.612 - 1433803989 <-- Place Id 13:47:42.613 - 570245554 <--- Game Id
I need help please.
Loader Script:
module = require(workspace.MainModule) -- will be numbers soon
module.Plan("Dev")
MainModule:
local module = {}
local devtable = {3889301,3889301,0}
local Standardtable = {3889301}
local Premiumtable = {3889301}
local Enterprisetable = {3889301}
--<<<< Checking for licence >>>>----
function check(num)
for _,v in pairs(devtable) do
if v == num then
return true
end;
end;
end
function module.Plan(arg)
if arg == "Dev" and check(game.CreatorId) == true then
warn("This game uses Checko")
warn("The creator Id Is: "..game.CreatorId.." <--- used for loading problems")
warn("Dev mode activated")
warn(game.PlaceId.. " <-- Place Id")
warn(game.GameId.." <--- Game Id")
-- load
else
warn("Using Checko")
warn("This is a unlicenced game")
warn("The creator Id Is: "..game.CreatorId.." <--- used for loading problems")
warn(game.PlaceId.. " <-- Place Id")
warn(game.GameId.." <--- Game Id")
end;
end
----<<<< Checking for licence >>>>----
function check(num)
for _,v in pairs(Standardtable) do
if v == num then
return true
end;
end;
end
function module.Plan(arg)
if arg == "Standard" and check(game.CreatorId) == true then
warn("standard loaded.")
warn("The creator Id Is: "..game.CreatorId.." <--- used for loading problems")
warn(game.PlaceId.. " <-- Place Id")
warn(game.GameId.." <--- Game Id")
-- load
else
warn("Using Checko")
warn("This is a unlicenced game")
warn("The creator Id Is: "..game.CreatorId.." <--- used for loading problems")
warn(game.PlaceId.. " <-- Place Id")
warn(game.GameId.." <--- Game Id")
end;
end
----<<<< Checking for licence >>>>----
function check(num)
for _,v in pairs(Premiumtable) do
if v == num then
return true
end;
end;
end
function module.Plan(arg)
if arg == "Premium" and check(game.CreatorId) == true then
warn("premium loaded.")
warn("The creator Id Is: "..game.CreatorId.." <--- used for loading problems")
warn(game.PlaceId.. " <-- Place Id")
warn(game.GameId.." <--- Game Id")
-- load
else
warn("Using Checko")
warn("This is a unlicenced game")
warn("The creator Id Is: "..game.CreatorId.." <--- used for loading problems")
warn(game.PlaceId.. " <-- Place Id")
warn(game.GameId.." <--- Game Id")
end;
end
----<<<< Checking for licence >>>>----
function check(num)
for _,v in pairs(Standardtable) do
if v == num then
return true
end;
end;
end
function module.Plan(arg)
if arg == "Enterprise" and check(game.CreatorId) == true then
warn("enterprise loaded.")
warn("The creator Id Is: "..game.CreatorId.." <--- used for loading problems")
warn(game.PlaceId.. " <-- Place Id")
warn(game.GameId.." <--- Game Id")
warn(game.CreatorType.." 0 = By user , 1 = by group")
-- load
else
warn("Using Checko")
warn("This is a unlicenced game")
warn("The creator Id Is: "..game.CreatorId.." <--- used for loading problems")
warn(game.PlaceId.. " <-- Place Id")
warn(game.GameId.." <--- Game Id")
end;
end
return module
Please help.

1 comment
Any chance you can describe the problem better? What is your code supposed to do? What have you tried to do to debug it yourself?