Advertisement
SirMeme

BEYBLADE GUI WITH ADD STATS FEATURE

Jun 11th, 2018
5,885
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.14 KB | None | 0 0
  1. --Showcased by youtube/SirMeme
  2. local mob = "GoldRock"
  3. local completeauto = true -- UNTESTED // This will automatically change rocks/pillars depending on level(ONLY WORKS IN NON-CITY) //
  4. local autostats = true -- AUTOMATICALLY SPENDS POINTS ON STRENGTH/STAMINA
  5. local speed = 500 -- Greater = Faster // Higher = Higher Chance of Kick // Only effects Rocks
  6. --[[
  7. == NON-CITY ==
  8. Rock: 50 Health
  9. LargeRock: 600 Health
  10. LargerRock: 3,000 Health
  11. GoldRock: 25,000 Health
  12. LargeGoldRock: 50,000 Health
  13. Pillar: 10,000 Health
  14. SilverPillar: 35,000 Health
  15. GlassPillar: 50,000 Health
  16.  
  17. IT IS HIGHLY RECOMMENDED THAT YOU DO NOT ENTER THE CITY UNTIL GOLD 2/3 UNLESS YOU ARE BUYING AN AWAKENING
  18.  
  19. == CITY MOBS ==
  20. CrackedPillar: 75,000 Health
  21. LavaPillar: 100,000 Health
  22. --]]
  23.  
  24. local player = game.Players.LocalPlayer
  25.  
  26. if game.CoreGui:FindFirstChild("STAT CHECKER") then
  27. game.CoreGui["STAT CHECKER"]:Remove()
  28. end
  29. local frame = player.PlayerGui:FindFirstChild("framework")
  30. if frame then
  31. frame:Remove()
  32. end
  33. if player.PlayerScripts:FindFirstChild("") then
  34. player.PlayerScripts[""]:Remove()
  35. end
  36.  
  37. local part = Instance.new("Part", workspace)
  38. part.Transparency = .5
  39. part.CanCollide = true
  40. part.Anchored = true
  41. part.Size = Vector3.new(500,15,1500)
  42. part.CFrame = CFrame.new(0,math.random(5,50)*1000,0)
  43.  
  44. player.Character.HumanoidRootPart.CFrame = part.CFrame * CFrame.new(0,50,0)
  45.  
  46. local TweenService = game:GetService("TweenService")
  47. local mob2
  48.  
  49. local GUI = Instance.new("ScreenGui", game.CoreGui) GUI.Name = "STAT CHECKER"
  50. local FRAME = Instance.new("Frame", GUI) FRAME.Name = "FRAME"
  51. local HP = Instance.new("TextLabel", FRAME) HP.Name = "HP"
  52. local LVL = Instance.new("TextLabel", FRAME) LVL.Name = "LVL"
  53. local XP = Instance.new("TextLabel", FRAME) XP.Name = "XP"
  54. local CASH = Instance.new("TextLabel", FRAME) CASH.Name = "CASH"
  55. local lvl = player.stats.data.lvl
  56. local xp = player.stats.data.xp
  57. local cash = player.stats.data.cash
  58. HP.BackgroundTransparency = 0.5
  59. HP.BackgroundColor3 = Color3.new(55,55,55)
  60. HP.BorderSizePixel = 0
  61. HP.Position = UDim2.new(0,10,0,265)
  62. HP.Size = UDim2.new(0,290,0,20)
  63. HP.Font = Enum.Font.Highway
  64. HP.Text = "Health : ?"
  65. HP.TextColor3 = Color3.new(0,0,0)
  66. HP.TextSize = 14
  67. LVL.BackgroundTransparency = 0.5
  68. LVL.BackgroundColor3 = Color3.new(55,55,55)
  69. LVL.BorderSizePixel = 0
  70. LVL.Position = UDim2.new(0,10,0,290)
  71. LVL.Size = UDim2.new(0,290,0,20)
  72. LVL.Font = Enum.Font.Highway
  73. LVL.Text = "Level : ?"
  74. LVL.TextColor3 = Color3.new(0,0,0)
  75. LVL.TextSize = 14
  76. XP.BackgroundTransparency = 0.5
  77. XP.BackgroundColor3 = Color3.new(55,55,55)
  78. XP.BorderSizePixel = 0
  79. XP.Position = UDim2.new(0,10,0,315)
  80. XP.Size = UDim2.new(0,290,0,20)
  81. XP.Font = Enum.Font.Highway
  82. XP.Text = "Experience : ?"
  83. XP.TextColor3 = Color3.new(0,0,0)
  84. XP.TextSize = 14
  85. CASH.BackgroundTransparency = 0.5
  86. CASH.BackgroundColor3 = Color3.new(55,55,55)
  87. CASH.BorderSizePixel = 0
  88. CASH.Position = UDim2.new(0,10,0,340)
  89. CASH.Size = UDim2.new(0,290,0,20)
  90. CASH.Font = Enum.Font.Highway
  91. CASH.Text = "Cash : ?"
  92. CASH.TextColor3 = Color3.new(0,0,0)
  93. CASH.TextSize = 14
  94.  
  95. function farm()
  96. if not game.Workspace.beyblades:FindFirstChild(player.Name) then
  97. game.ReplicatedStorage.event:FireServer("launch")
  98. wait(1)
  99. end
  100. repeat wait() until game.Workspace.beyblades:FindFirstChild(player.Name)
  101. local blade = game.Workspace.beyblades[player.Name]
  102. blade.Metal.CanCollide = false
  103. blade.FaceBolt.CanCollide = false
  104. blade.Torso.CanCollide = false
  105. blade.Track.CanCollide = false
  106. blade.Head.CanCollide = false
  107. if autostats then
  108. for i = 1,10 do
  109. game.ReplicatedStorage.event:FireServer("attri", 1528672996.5564, "atk")
  110. game.ReplicatedStorage.event:FireServer("attri", 1528672996.5564, "stam")
  111. wait()
  112. end
  113. end
  114. if completeauto then
  115. if lvl.Value >= 400 then
  116. mob2 = "GlassPillar"
  117. elseif lvl.Value >= 300 then
  118. mob2 = "SilverPillar"
  119. elseif lvl.Value >= 225 then
  120. mob2 = "GoldRock"
  121. elseif lvl.Value >= 85 then
  122. mob2 = "Pillar"
  123. elseif lvl.Value >= 20 then
  124. mob2 = "LargerRock"
  125. elseif lvl.Value >= 10 then
  126. mob2 = "LargeRock"
  127. else
  128. mob2 = "Rock"
  129. end
  130. for k,v in pairs(workspace.mobs:GetChildren()) do
  131. if v.Name == mob2 and game.Workspace.beyblades:FindFirstChild(player.Name) and v:FindFirstChild("Pillar") then
  132. v.Pillar.CanCollide = false
  133. v.Pillar.CFrame = part.CFrame * CFrame.new(0,50,(15*k)-(725))
  134. elseif v.Name == mob2 and game.Workspace.beyblades:FindFirstChild(player.Name) and v:FindFirstChild("Rock") then
  135. v.Rock.CanCollide = false
  136. v.Rock.CFrame = part.CFrame * CFrame.new(0,50,(15*k)-(725))
  137. end
  138. wait()
  139. end
  140. for i = 1,10 do
  141. for k,v in pairs(workspace.mobs:GetChildren()) do
  142. for i = 1,10 do
  143. if v.Name == mob2 and game.Workspace.beyblades:FindFirstChild(player.Name) and v:FindFirstChild("Pillar") then
  144. v.Pillar.CanCollide = false
  145. local tweenInfo = TweenInfo.new(((blade.Torso.CFrame.p - v.Pillar.CFrame.p).magnitude / (5000)))
  146. local goal = {}
  147. goal.CFrame = v.Pillar.CFrame * CFrame.new(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  148. local tween = TweenService:Create(blade.Torso, tweenInfo, goal)
  149. tween:Play()
  150. HP.Text = "Health : "..game.Workspace.beyblades:FindFirstChild(player.Name):FindFirstChild("hum").Health.." / "..game.Workspace.beyblades:WaitForChild(player.Name):FindFirstChild("hum").MaxHealth
  151. LVL.Text = "Level : "..Lvl.Value
  152. XP.Text = "Experience : "..Xp.Value
  153. CASH.Text = "Cash : "..Cash.Value
  154. wait()
  155. local tweenInfo = TweenInfo.new(((blade.Torso.CFrame.p - v.Pillar.CFrame.p).magnitude / (5000)))
  156. local goal = {}
  157. goal.CFrame = v.Pillar.CFrame * CFrame.new(0,35,0)
  158. local tween = TweenService:Create(blade.Torso, tweenInfo, goal)
  159. tween:Play()
  160. wait()
  161. elseif v.Name == mob2 and game.Workspace.beyblades:FindFirstChild(player.Name) then
  162. v.Rock.CanCollide = false
  163. local tweenInfo = TweenInfo.new(((blade.Torso.CFrame.p - v.Rock.CFrame.p).magnitude / (speed)))
  164. local goal = {}
  165. goal.CFrame = v.Rock.CFrame * CFrame.new(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  166. local tween = TweenService:Create(blade.Torso, tweenInfo, goal)
  167. tween:Play()
  168. HP.Text = "Health : "..game.Workspace.beyblades:FindFirstChild(player.Name):FindFirstChild("hum").Health.." / "..game.Workspace.beyblades:WaitForChild(player.Name):FindFirstChild("hum").MaxHealth
  169. LVL.Text = "Level : "..lvl.Value
  170. XP.Text = "Experience : "..xp.Value
  171. CASH.Text = "Cash : "..cash.Value
  172. wait()
  173. local tweenInfo = TweenInfo.new(((blade.Torso.CFrame.p - v.Rock.CFrame.p).magnitude / (5000)))
  174. local goal = {}
  175. goal.CFrame = v.Rock.CFrame * CFrame.new(0,35,0)
  176. local tween = TweenService:Create(blade.Torso, tweenInfo, goal)
  177. tween:Play()
  178. wait()
  179. elseif not game.Workspace.beyblades:FindFirstChild(player.Name) then
  180. farm()
  181. break
  182. end
  183. end
  184. end
  185. end
  186. farm()
  187. else
  188. for k,v in pairs(workspace.mobs:GetChildren()) do
  189. if v.Name == mob and game.Workspace.beyblades:FindFirstChild(player.Name) and v:FindFirstChild("Pillar") then
  190. v.Pillar.CanCollide = false
  191. v.Pillar.CFrame = part.CFrame * CFrame.new(0,50,(5*k)-(725))
  192. elseif v.Name == mob and game.Workspace.beyblades:FindFirstChild(player.Name) and v:FindFirstChild("Rock") then
  193. v.Rock.CanCollide = false
  194. v.Rock.CFrame = part.CFrame * CFrame.new(0,50,(5*k)-(725))
  195. end
  196. wait()
  197. end
  198. for i = 1,100 do
  199. for k,v in pairs(workspace.mobs:GetChildren()) do
  200. for i = 1,10 do
  201. if v.Name == mob and game.Workspace.beyblades:FindFirstChild(player.Name) and v:FindFirstChild("Pillar") then
  202. v.Pillar.CanCollide = false
  203. local tweenInfo = TweenInfo.new(((blade.Torso.CFrame.p - v.Pillar.CFrame.p).magnitude / (5000)))
  204. local goal = {}
  205. goal.CFrame = v.Pillar.CFrame * CFrame.new(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  206. local tween = TweenService:Create(blade.Torso, tweenInfo, goal)
  207. tween:Play()
  208. HP.Text = "Health : "..game.Workspace.beyblades:FindFirstChild(player.Name):FindFirstChild("hum").Health.." / "..game.Workspace.beyblades:WaitForChild(player.Name):FindFirstChild("hum").MaxHealth
  209. LVL.Text = "Level : "..Lvl.Value
  210. XP.Text = "Experience : "..Xp.Value
  211. CASH.Text = "Cash : "..Cash.Value
  212. wait()
  213. local tweenInfo = TweenInfo.new(((blade.Torso.CFrame.p - v.Pillar.CFrame.p).magnitude / (5000)))
  214. local goal = {}
  215. goal.CFrame = v.Pillar.CFrame * CFrame.new(0,50,0)
  216. local tween = TweenService:Create(blade.Torso, tweenInfo, goal)
  217. tween:Play()
  218. wait()
  219. elseif v.Name == mob and game.Workspace.beyblades:FindFirstChild(player.Name) then
  220. v.Rock.CanCollide = false
  221. local tweenInfo = TweenInfo.new(((blade.Torso.CFrame.p - v.Rock.CFrame.p).magnitude / (speed)))
  222. local goal = {}
  223. goal.CFrame = v.Rock.CFrame * CFrame.new(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  224. local tween = TweenService:Create(blade.Torso, tweenInfo, goal)
  225. tween:Play()
  226. HP.Text = "Health : "..game.Workspace.beyblades:FindFirstChild(player.Name):FindFirstChild("hum").Health.." / "..game.Workspace.beyblades:WaitForChild(player.Name):FindFirstChild("hum").MaxHealth
  227. LVL.Text = "Level : "..lvl.Value
  228. XP.Text = "Experience : "..xp.Value
  229. CASH.Text = "Cash : "..cash.Value
  230. wait()
  231. local tweenInfo = TweenInfo.new(((blade.Torso.CFrame.p - v.Rock.CFrame.p).magnitude / (5000)))
  232. local goal = {}
  233. goal.CFrame = v.Rock.CFrame * CFrame.new(0,50,0)
  234. local tween = TweenService:Create(blade.Torso, tweenInfo, goal)
  235. tween:Play()
  236. wait()
  237. elseif not game.Workspace.beyblades:FindFirstChild(player.Name) then
  238. farm()
  239. break
  240. end
  241. end
  242. end
  243. end
  244. farm()
  245. end
  246. end
  247.  
  248. farm()
  249.  
  250. while wait() do
  251. if game.Workspace:FindFirstChild("premiumonly") then
  252. game.Workspace["premiumonly"]:Destroy()
  253. end
  254. if player.PlayerScripts:FindFirstChild("") then
  255. player.PlayerScripts[""]:Remove()
  256. end
  257. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement