Advertisement
Demonlord27

glass

Feb 26th, 2017
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.63 KB | None | 0 0
  1. function Sleep(Time) --If I dont feel like using wait ;3
  2. wait(Time)
  3. end -- did you really take the time to add an extra letter to wait e.e lol
  4. --yes
  5.  
  6. script.Glass.Parent = game:GetService('ReplicatedStorage')
  7. wait(.5)
  8. --[[local DataStore = game:GetService('DataStoreService'):GetDataStore('GlassKeys')
  9. local MS = game:GetService('MarketplaceService')
  10. local GS = game:GetService('GamePassService')]]
  11.  
  12. SendAll = require(script.SendAll)
  13.  
  14. Startup = function()
  15. local Gen = script['Glass: Generations']
  16. Gen.Parent = workspace
  17. Gen.Disabled = false
  18. wait(.5)
  19. script:Remove()
  20. end
  21.  
  22. SpicyMemes = function(Player)
  23. if Player.PlayerGui:FindFirstChild('Login') then
  24. Player.PlayerGui.Login:Remove()
  25. end
  26. wait(.4)
  27. print('Welcome to Glass: Generations.')
  28. Startup()
  29. end
  30. function Start(Call,Player,Key) ----
  31. --local SavedData = DataStore:GetAsync(Player.UserId)
  32. if Call == 'START' then
  33. SendAll(
  34. ('Generations | MainModule was Called by '..Player.Name),
  35. BrickColor.new('Institutional white').Color,
  36. 'SourceSansLight',
  37. 'Size24'
  38. )
  39. Key = string.lower(Key)
  40. if Key == string.lower('Pillows') then --Azumi's Key
  41. if Player.UserId ~= 23690437 then
  42. error('You\'re not Azumi, So you aren\'t permitted to use this Key.')
  43. else
  44. SpicyMemes(Player)
  45. end
  46. elseif Key == string.lower('Azer') then --Zack's Key
  47. if Player.UserId ~= 52663555 then
  48. error('Zack dose not aprove of you using his password now die')
  49. else
  50. SpicyMemes(Player)
  51. end
  52. elseif Key == string.lower('AlexisTexasIsHawt') then --Zack's 2nd Key
  53. SpicyMemes(Player)
  54. elseif Key == string.lower('Divination') then --flusha's Key
  55. SpicyMemes(Player)
  56. elseif Key == string.lower('bellaskid2002') then --bellaskid's Key
  57. SpicyMemes(Player)
  58. elseif Key == string.lower('AuraIsMyBoss') then --MikeSchmidt90's Key
  59. SpicyMemes(Player)
  60. elseif Key == string.lower('Studio') then --Studio Key
  61. if Player.Name ~= "Player1" then
  62. error('w0t u think u doin scrub')
  63. else
  64. SpicyMemes(Player)
  65. end
  66. --[[elseif SavedData ~= nil and Key == string.lower(SavedData) then
  67. SpicyMemes(Player)
  68. elseif Key:sub(1,7) == string.lower('Change ') and GS:PlayerHasPass(Player,647762917) == true then
  69. DataStore:SetAsync(Player.UserId,Key:sub(8))
  70. SpicyMemes(Player)]]
  71. else
  72. --if GS:PlayerHasPass(Player,647762917) == true and SavedData ~= nil then
  73. if Player.PlayerGui:FindFirstChild('Login') then
  74. SendAll(
  75. ('Glass | Decrypt Key Incorrect: '..math.random(5325,788436)..math.random(-999999,999999)),
  76. BrickColor.new('Persimmon').Color,
  77. 'SourceSansLight',
  78. 'Size24'
  79. )
  80. Player.PlayerGui.Login:Remove()
  81. end
  82. Sleep(1)
  83. script:Remove()
  84. --[[elseif GS:PlayerHasPass(Player,647762917) == true and SavedData == nil then
  85. DataStore:SetAsync(Player.UserId,Key)
  86. SpicyMemes(Player)
  87. else
  88. MS:PromptPurchase(Player,647762917)
  89. MS.PromptPurchaseFinished:connect(function(player, assetId, isPurchased)
  90. if assetId == 647762917 then
  91. if isPurchased == true then
  92. DataStore:SetAsync(Player.UserId,Key)
  93. SpicyMemes(Player)
  94. else
  95. if Player.PlayerGui:FindFirstChild('Login') then
  96. SendAll(
  97. ('Glass | Decrypt Key Incorrect: '..math.random(5325,788436)..math.random(-999999,999999)),
  98. BrickColor.new('Persimmon').Color,
  99. 'SourceSansLight',
  100. 'Size24'
  101. )
  102. Player.PlayerGui.Login:Remove()
  103. end
  104. Sleep(1)
  105. script:Remove()
  106. end
  107. end
  108. end)
  109. end]]
  110. end
  111. elseif Call == nil then
  112. script:ClearAllChildren()
  113. script.Parent = nil
  114. script:Destroy()
  115. script:Remove()
  116. end
  117. end
  118.  
  119. return Start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement