-- Warning: This script was automatically generated using the EventBlocks plugin. -- Any modification to this script using Roblox’s default scripting editor may result in a broken script in the EventBlocks editor. -- Therefore, to edit this please use EventBlocks (find on devforum) -- Do not modify anything below here! -- coroutine.wrap(function() local clickDetector = script.Parent:FindFirstChild("ClickDetector") or Instance.new("ClickDetector") clickDetector.Parent = script.Parent clickDetector.MouseClick:Connect(function(__player) EB_clickedPlayer = __player game:GetService("MarketplaceService"):PromptPurchase(EB_clickedPlayer, tonumber(_G.ReviveID)) while true do if (game:GetService("MarketplaceService"):UserOwnsGamePassAsync(EB_clickedPlayer.UserId, tonumber(_G.ReviveID))) then break end task.wait(0.05) end _G.(EB_clickedPlayer and _G.Revives) += tonumber((tonumber(1))) if (not EB_DS) then EB_DS = game:GetService("DataStoreService"):GetDataStore("EB_AllSavedData") end EB_DS:SetAsync(tostring((tostring([[ReviveDATA]]))), _G.Revives) print((tostring([[Purchace Completed]]))) end) end)() coroutine.wrap(function() game.ReplicatedStorage.ChildAdded:Connect(function(EB_c) if EB_c.Name == "EB_MSG_"..tostring((tostring([[ReviveClicked]]))) then spawn(function() task.wait(0.1) EB_c:Destroy() end) while true do if (game:GetService("MarketplaceService"):UserOwnsGamePassAsync(EB_clickedPlayer.UserId, tonumber(_G.ReviveID))) then break end task.wait(0.05) end end end) end)() coroutine.wrap(function() --START-- _G.ReviveID = (tonumber(1312788826)) --[[Gamepass ID--]]_G.Revives = EB_DS_loadedData[tostring((tostring([[RevivesDATA]])))] if (not EB_DS) then EB_DS = game:GetService("DataStoreService"):GetDataStore("EB_AllSavedData") end if not (EB_DS_loadedData) then EB_DS_loadedData = {} end EB_DS_loadedData[tostring((tostring([[ReviveDATA]])))] = EB_DS:GetAsync(tostring((tostring([[ReviveDATA]])))) ------- end)()