Advertisement
ski1lzhub

infgems

Jun 20th, 2022
1,387
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. local Data = require(game:GetService("ReplicatedStorage"):WaitForChild("ClientModules"):WaitForChild("LocalData"))
  2.  
  3. local module = {}
  4.  
  5. function module:Initialize()
  6. local ch = game.Players.LocalPlayer.Character
  7. local prt = Instance.new("Model", workspace)
  8. local z1 = Instance.new("Part", prt)
  9. z1.Name="Torso"
  10. z1.CanCollide = false
  11. z1.Anchored = true
  12. local z2 =Instance.new("Part", prt)
  13. z2.Name="Head"
  14. z2.Anchored = true
  15. z2.CanCollide = false
  16. local z3 = Instance.new("Humanoid", prt)
  17. z3.Name="Humanoid"
  18. z1.Position = Vector3.new(0,9999,0)
  19. z2.Position = Vector3.new(0,9991,0)
  20. game.Players.LocalPlayer.Character=prt
  21. task.wait()
  22. game.Players.LocalPlayer.Character=ch
  23. task.wait(6)
  24. local plr = game.Players.LocalPlayer
  25.  
  26. local Hum = Instance.new("Humanoid")
  27. Hum.Parent = game.Players.LocalPlayer.Character
  28.  
  29. local root = game.Players.LocalPlayer.Character.HumanoidRootPart
  30. for _, v in next, plr.Character:GetChildren() do
  31. if v.Name ~= 'Humanoid' then v:Destroy() end
  32. end
  33. end
  34.  
  35. function module:Dupe(amount)
  36. amount += Data:GetData("Gems")
  37. while task.wait() do
  38. local data = Data:GetData("Gems")
  39. if data >= amount then
  40. break
  41. end
  42. game:GetService("ReplicatedStorage").Events.Rebirth:FireServer()
  43. end
  44. game.Players.LocalPlayer.Character:Destroy()
  45. end
  46.  
  47. module:Initialize()
  48.  
  49. local amount = 100000000
  50.  
  51. module:Dupe(amount)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement