FangYX Posted October 9, 2020 Share Posted October 9, 2020 local Data = {} local configFile = gg.getFile()..'.cfg' local Info = loadfile(configFile) if Info ~= nil then Data = Info() Info = nil end if Info == nil then Data = gg.prompt({"Copyright© 2020 FS267\n Please change if it's incorrect️\n\nPlayer Speed", "Crewmate Vision", "Impostor Vision", "Total Task"}, {"1","1","1.5","4"}) if Data == nil then EXIT() else gg.saveVariable(Data, configFile) end else Data = gg.prompt({"Copyright© 2020 FS267\n Please change if it's incorrect️\n\nPlayer Speed", "Crewmate Vision", "Impostor Vision", "Total Task"},{},{"number","number","number","number"}) if Data == nil then EXIT() else gg.saveVariable(Data, configFile) end end Link to comment Share on other sites More sharing options...
HEROGAMEOfficial Posted October 9, 2020 Share Posted October 9, 2020 https://gameguardian.net/help/classgg.html#afe6c5b86ba0ae295899fd259232aac2b Link to comment Share on other sites More sharing options...
Question
FangYX
local Data = {}
local configFile = gg.getFile()..'.cfg'
local Info = loadfile(configFile)
if Info ~= nil then
Data = Info()
Info = nil
end
if Info == nil then
Data = gg.prompt({"Copyright© 2020 FS267\n Please change if it's incorrect️\n\nPlayer Speed",
"Crewmate Vision",
"Impostor Vision",
"Total Task"},
{"1","1","1.5","4"})
if Data == nil then EXIT() else
gg.saveVariable(Data, configFile)
end else
Data = gg.prompt({"Copyright© 2020 FS267\n Please change if it's incorrect️\n\nPlayer Speed",
"Crewmate Vision",
"Impostor Vision",
"Total Task"},{},{"number","number","number","number"})
if Data == nil then EXIT() else
gg.saveVariable(Data, configFile)
end
end
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.