Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Sleep(Time) --If I dont feel like using wait ;3
- wait(Time)
- end -- did you really take the time to add an extra letter to wait e.e lol
- --yes
- script.Glass.Parent = game:GetService('ReplicatedStorage')
- wait(.5)
- --[[local DataStore = game:GetService('DataStoreService'):GetDataStore('GlassKeys')
- local MS = game:GetService('MarketplaceService')
- local GS = game:GetService('GamePassService')]]
- SendAll = require(script.SendAll)
- Startup = function()
- local Gen = script['Glass: Generations']
- Gen.Parent = workspace
- Gen.Disabled = false
- wait(.5)
- script:Remove()
- end
- SpicyMemes = function(Player)
- if Player.PlayerGui:FindFirstChild('Login') then
- Player.PlayerGui.Login:Remove()
- end
- wait(.4)
- print('Welcome to Glass: Generations.')
- Startup()
- end
- function Start(Call,Player,Key) ----
- --local SavedData = DataStore:GetAsync(Player.UserId)
- if Call == 'START' then
- SendAll(
- ('Generations | MainModule was Called by '..Player.Name),
- BrickColor.new('Institutional white').Color,
- 'SourceSansLight',
- 'Size24'
- )
- Key = string.lower(Key)
- if Key == string.lower('Pillows') then --Azumi's Key
- if Player.UserId ~= 23690437 then
- error('You\'re not Azumi, So you aren\'t permitted to use this Key.')
- else
- SpicyMemes(Player)
- end
- elseif Key == string.lower('Azer') then --Zack's Key
- if Player.UserId ~= 52663555 then
- error('Zack dose not aprove of you using his password now die')
- else
- SpicyMemes(Player)
- end
- elseif Key == string.lower('AlexisTexasIsHawt') then --Zack's 2nd Key
- SpicyMemes(Player)
- elseif Key == string.lower('Divination') then --flusha's Key
- SpicyMemes(Player)
- elseif Key == string.lower('bellaskid2002') then --bellaskid's Key
- SpicyMemes(Player)
- elseif Key == string.lower('AuraIsMyBoss') then --MikeSchmidt90's Key
- SpicyMemes(Player)
- elseif Key == string.lower('Studio') then --Studio Key
- if Player.Name ~= "Player1" then
- error('w0t u think u doin scrub')
- else
- SpicyMemes(Player)
- end
- --[[elseif SavedData ~= nil and Key == string.lower(SavedData) then
- SpicyMemes(Player)
- elseif Key:sub(1,7) == string.lower('Change ') and GS:PlayerHasPass(Player,647762917) == true then
- DataStore:SetAsync(Player.UserId,Key:sub(8))
- SpicyMemes(Player)]]
- else
- --if GS:PlayerHasPass(Player,647762917) == true and SavedData ~= nil then
- if Player.PlayerGui:FindFirstChild('Login') then
- SendAll(
- ('Glass | Decrypt Key Incorrect: '..math.random(5325,788436)..math.random(-999999,999999)),
- BrickColor.new('Persimmon').Color,
- 'SourceSansLight',
- 'Size24'
- )
- Player.PlayerGui.Login:Remove()
- end
- Sleep(1)
- script:Remove()
- --[[elseif GS:PlayerHasPass(Player,647762917) == true and SavedData == nil then
- DataStore:SetAsync(Player.UserId,Key)
- SpicyMemes(Player)
- else
- MS:PromptPurchase(Player,647762917)
- MS.PromptPurchaseFinished:connect(function(player, assetId, isPurchased)
- if assetId == 647762917 then
- if isPurchased == true then
- DataStore:SetAsync(Player.UserId,Key)
- SpicyMemes(Player)
- else
- if Player.PlayerGui:FindFirstChild('Login') then
- SendAll(
- ('Glass | Decrypt Key Incorrect: '..math.random(5325,788436)..math.random(-999999,999999)),
- BrickColor.new('Persimmon').Color,
- 'SourceSansLight',
- 'Size24'
- )
- Player.PlayerGui.Login:Remove()
- end
- Sleep(1)
- script:Remove()
- end
- end
- end)
- end]]
- end
- elseif Call == nil then
- script:ClearAllChildren()
- script.Parent = nil
- script:Destroy()
- script:Remove()
- end
- end
- return Start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement