Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.47 KB | None | 0 0
  1. rebirthwin:AddLabel("Coins Required")
  2.  
  3. for i,v in pairs(uid["Rebirths"].Container:GetChildren()) do
  4. if v:IsA("TextLabel") and v.Text == "Coins Required" then rereq = v end
  5. end
  6.  
  7.  
  8.  
  9. rebirthwin:AddLabel("Custom Rebirths-")
  10.  
  11. rebirthwin:AddLabel("Can Rebirth")
  12. for i,v in pairs(uid.Rebirths.Container:GetChildren()) do
  13. if v:IsA("TextLabel") and v.Text == "Can Rebirth" then rebamount = v end end
  14.  
  15.  
  16. rebirthwin:AddBox("Rebirth Amount", function(obj, foc)
  17. if foc then
  18. lolreb = obj.Text
  19. end
  20. end)
  21.  
  22. rebirthwin:AddButton("Set Rebirths", function()
  23. currentpos = lp.Character.HumanoidRootPart.CFrame
  24. firetouchinterest(lp.Character.HumanoidRootPart, Workspace.GameComponents.SellStuff.Part, 0)
  25. wait()
  26. firetouchinterest(lp.Character.HumanoidRootPart, Workspace.GameComponents.SellStuff.Part, 1)
  27. wait(0.2)
  28. morerebirths(lolreb)
  29. wait(1)
  30. pack("Infinite Backpack")
  31. gun("Black Hole Vacuum")
  32. lp.Character.HumanoidRootPart.CFrame = currentpos
  33. end)
  34.  
  35. for i,v in pairs(uid.Rebirths.Container:GetChildren()) do
  36. if v:IsA("TextButton") and v.Text == "Set Rebirths" then setrebbutton = v end end
  37.  
  38.  
  39.  
  40. function getVars()
  41. local pcoins = game:GetService("Players").LocalPlayer.leaderstats.Coins.Value
  42. local space = lp.PlayerStats.Space.Value
  43. local multiplier = lp.PlayerStats.Multiplier.Value
  44. local rebonus = lp.leaderstats.Rebirths.Value
  45. local backNum = backNumb + rebonus
  46. local predNum = backNum * multiplier + pcoins
  47. local rebirths = lp.leaderstats.Rebirths.Value * 2000000
  48. rebamount.Text = "Can Rebirth: "..RoundNum(predNum/rebirths, 1).." times"
  49. end
  50.  
  51. function getRebirthVal()
  52. rereq.Text = ConvertShort(onekr).." coins required"
  53. end
  54.  
  55. function RoundNum(Number, RoundBy)
  56. return math.floor((Number/RoundBy)+0.4)*RoundBy
  57. end
  58.  
  59. --SafeSpot
  60. peen:AddButton("-TP to Safe Spot-", function()
  61. lp.Character.HumanoidRootPart.CFrame = CFrame.new(15.5498667, -1.0836612, 241.658035)
  62. end)
  63.  
  64.  
  65. function ConvertShort(Filter_Num, korno)
  66. local x = tostring(Filter_Num)
  67. if #x >= 13 then
  68. local important = #x - 12
  69. if not korno then
  70. return x:sub(0, important) .. "." .. x:sub(#x - 11, #x - 11) .. "T"
  71. else
  72. return x:sub(0, important) .. "." .. x:sub(#x - 11, #x - 11) .. "T+"
  73. end
  74. elseif #x >= 10 then
  75. local important = #x - 9
  76. if not korno then
  77. return x:sub(0, important) .. "." .. x:sub(#x - 8, #x - 8) .. "B"
  78. else
  79. return x:sub(0, important) .. "." .. x:sub(#x - 8, #x - 8) .. "B+"
  80. end
  81. elseif #x >= 7 then
  82. local important = #x - 6
  83. if not korno then
  84. return x:sub(0, important) .. "." .. x:sub(#x - 5, #x - 5) .. "M"
  85. else
  86. return x:sub(0, important) .. "." .. x:sub(#x - 5, #x - 5) .. "M+"
  87. end
  88. elseif #x >= 4 then
  89. local f, k = Filter_Num, nil
  90. while true do
  91. f, k = string.gsub(f, "^(-?%d+)(%d%d%d)", "%1,%2")
  92. if k == 0 then
  93. end
  94. break
  95. end
  96. return f
  97. else
  98. return Filter_Num
  99. end
  100. end
  101.  
  102. rereq.Visible = false
  103. function getRebirthVal()
  104. rereq.Text = ConvertShort(onekr).." coins required"
  105. end
  106.  
  107.  
  108. bean = library:CreateWindow({
  109. text = "Credits",
  110. underline = Color3.new(255,0,0)
  111. })
  112. bean:AddLabel("Credits: Mod3rnWeird\nMrDixnBalls#1999")
  113.  
  114. --Destruction
  115. dest = library:CreateWindow({
  116. text = "Destruction"
  117. })
  118. dest:AddButton("Destroy this GUI", function()
  119. yoyo = false
  120.  
  121. game.CoreGui.UILibrary:Destroy()
  122. end)
  123.  
  124.  
  125. ----Close/Open
  126. function onKeyPress(inputObject, gameProcessedEvent)
  127. if inputObject.KeyCode == Enum.KeyCode.RightControl then
  128. if uid.Enabled == true then
  129. uid.Enabled = False
  130. else
  131. uid.Enabled = true
  132. end
  133. end
  134. end
  135. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  136.  
  137. for i,v in pairs(uid.Rebirths:GetChildren()) do
  138. if v:IsA("Button") and v.Name == "Set Rebirths"
  139. then setrebbutton = v end end
  140.  
  141. spawn(function()
  142. while true do
  143. uid['Auto-Farm'].Underline.BackgroundColor3 = Color3.fromHSV(tick() * 24 % 255/255, 1, 1)
  144. uid.Credits.Underline.BackgroundColor3 = Color3.fromHSV(tick() * 24 % 255/255, 1, 1)
  145. uid.Destruction.Underline.BackgroundColor3 = Color3.fromHSV(tick() * 24 % 255/255, 1, 1)
  146. uid.Destruction.Container.TextButton.TextColor3 = Color3.fromHSV(tick() * 24 % 255/255, 1, 1)
  147. uid.Destruction.Window.TextColor3 = Color3.fromHSV(tick() * 24 % 255/255, 1, 1)
  148. rereq.TextColor3 = Color3.fromHSV(tick() * 24 % 255/255, 1, 1)
  149. setrebbutton.TextColor3 = Color3.fromHSV(tick() * 24 % 255/255, 1, 1)
  150. uid.Rebirths.Underline.BackgroundColor3 = Color3.fromHSV(tick() * 24 % 255/255, 1, 1)
  151. wait()
  152. end
  153. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement