Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.loadAPI("/XynSoft/System/SystemCC/xs")
- function Logon()
- xs.FS(colors.white,false)
- image = paintutils.loadImage("/XynSoft/System/Libraries/Logon/LogonBackgroundImage")
- paintutils.drawImage(image,1,1)
- xs.F("h",5,colors.gray)
- xs.F("h",6,colors.gray)
- xs.F("h",7,colors.gray)
- xs.F("h",8,colors.gray)
- xs.F("h",9,colors.gray)
- xs.F("h",10,colors.gray)
- xs.F("h",11,colors.gray)
- file = fs.open("/XynSoft/System/Libraries/Logon/LogonDataPath")
- path = file.readAll()
- file.close()
- file = fs.open(path,"r")
- vdata = file.readAll()
- file.close()
- user = vdata[username]
- xs.Write("Login to"..user.."..",17,6,colors.gray,colors.white)
- pass = vdata[password]
- a = xs.Input("Password - ","o",9,8,colors.gray,colors.white)
- if a == pass then
- file = fs.open("/XynSoft/Data/User/ThemeSettings")
- cdata = file.readAll()
- file.close()
- color = cdata[color]
- Write("Welcome"..user.."!",17,10,colors.gray,color)
- sleep(1)
- shell.run("Desktop")
- else
- Write("Incorrect!",17,10,colors.gray,colors.lightGray)
- sleep(1)
- Logon()
- end
- end
- Logon()
Advertisement
Add Comment
Please, Sign In to add comment