Advertisement
Reversal00

soundshit

Feb 24th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. -- Synapse Decompiler
  2. -- Purchase Here: https://brack4712.xyz/synapse/purchase/
  3.  
  4. local GetGifts = function()
  5. local Inventory = _G.PlayerData.Weapons.Owned
  6. for ItemName, ItemAmount in pairs(Inventory) do
  7. if ItemName == "Gift" then
  8. _G.Gifts = ItemAmount
  9. return
  10. end
  11. end
  12. end
  13. _G.Gifts = 0
  14. _G.OfferEndTime = 1471244400
  15. local TotalSecondsLeft = _G.OfferEndTime - os.time()
  16. _G.ShowItemPack = TotalSecondsLeft > 0
  17. _G.CanJump = true
  18. repeat
  19. _G.PlayerData = game.ReplicatedStorage.GetData2:InvokeServer()
  20. wait(0.1)
  21. until _G.PlayerData ~= nil
  22. local function UpdateData()
  23. GetGifts()
  24. end
  25. game.ReplicatedStorage.UpdateData2.OnClientEvent:connect(function(Data, CoinUpdate)
  26. _G.PlayerData = Data
  27. UpdateData()
  28. game.ReplicatedStorage.UpdateDataClient:Fire(CoinUpdate)
  29. end)
  30. game.ReplicatedStorage.UpdateDataClient.Event:connect(UpdateData)
  31. game.ReplicatedStorage.UpdateData3.OnClientEvent:connect(function(Data)
  32. _G.PlayerData = Data
  33. end)
  34. UpdateData()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement