Moe7887

Infinty RPG Hack Gui

Oct 16th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.24 KB | None | 0 0
  1. local pl = game.Players.LocalPlayer
  2. local character = pl.Character
  3. local hum = character:FindFirstChild("HumanoidRootPart")
  4.  
  5.  
  6. local playerVer = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local openCloseButton = Instance.new("TextButton")
  9. local Background = Instance.new("Frame")
  10. local CreditFrame = Instance.new("Frame")
  11. local credit = Instance.new("TextLabel")
  12. local Info = Instance.new("Frame")
  13. local speedInfo = Instance.new("TextLabel")
  14. local xpInfo = Instance.new("TextLabel")
  15. local moneyInfo = Instance.new("TextLabel")
  16. local ImageLabel = Instance.new("ImageLabel")
  17. local xpButton = Instance.new("TextButton")
  18. local moneyButton = Instance.new("TextButton")
  19. local speedLabel = Instance.new("TextLabel")
  20. local add = Instance.new("TextButton")
  21. local degrease = Instance.new("TextButton")
  22. local speedShower = Instance.new("TextLabel")
  23. local speedCurrent = Instance.new("TextLabel")
  24.  
  25.  
  26.  
  27.  
  28. -- Properties
  29.  
  30. playerVer.Name = "playerVer"
  31. playerVer.Parent = pl.PlayerGui
  32.  
  33. Frame.Parent = playerVer
  34. Frame.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  35. Frame.BackgroundTransparency = 0.10000000149012
  36. Frame.BorderColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  37. Frame.BorderSizePixel = 0
  38. Frame.LayoutOrder = 500
  39. Frame.Position = UDim2.new(0.0308483299, 0, 0.0395480208, 0)
  40. Frame.Size = UDim2.new(0, 370, 0, 50)
  41.  
  42. openCloseButton.Name = "openCloseButton"
  43. openCloseButton.Parent = Frame
  44. openCloseButton.BackgroundColor3 = Color3.new(1, 1, 1)
  45. openCloseButton.BackgroundTransparency = 1
  46. openCloseButton.Size = UDim2.new(0, 370, 0, 50)
  47. openCloseButton.Font = Enum.Font.SourceSans
  48. openCloseButton.Text = "Open/Close"
  49. openCloseButton.TextColor3 = Color3.new(0, 0, 0)
  50. openCloseButton.TextScaled = true
  51. openCloseButton.TextSize = 14
  52. openCloseButton.TextWrapped = true
  53.  
  54. Background.Name = "Background"
  55. Background.Parent = Frame
  56. Background.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  57. Background.BackgroundTransparency = 0.40000000596046
  58. Background.BorderColor3 = Color3.new(0, 0, 0)
  59. Background.BorderSizePixel = 0
  60. Background.LayoutOrder = 100
  61. Background.Position = UDim2.new(0, 0, 1, 0)
  62. Background.Size = UDim2.new(0, 370, 0, 215)
  63.  
  64. CreditFrame.Name = "CreditFrame"
  65. CreditFrame.Parent = Background
  66. CreditFrame.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  67. CreditFrame.BackgroundTransparency = 0.10000000149012
  68. CreditFrame.BorderColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  69. CreditFrame.BorderSizePixel = 0
  70. CreditFrame.LayoutOrder = 101
  71. CreditFrame.Position = UDim2.new(0, 0, 1, 0)
  72. CreditFrame.Size = UDim2.new(0, 370, 0, 35)
  73.  
  74. credit.Name = "credit"
  75. credit.Parent = CreditFrame
  76. credit.BackgroundColor3 = Color3.new(1, 1, 1)
  77. credit.BackgroundTransparency = 0.89999997615814
  78. credit.BorderSizePixel = 0
  79. credit.Size = UDim2.new(0, 370, 0, 35)
  80. credit.Font = Enum.Font.SourceSans
  81. credit.Text = "Xopabyteh's InfinityRpg Gui"
  82. credit.TextColor3 = Color3.new(0, 0, 0)
  83. credit.TextScaled = true
  84. credit.TextSize = 14
  85. credit.TextWrapped = true
  86.  
  87. Info.Name = "Info"
  88. Info.Parent = Background
  89. Info.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  90. Info.BorderColor3 = Color3.new(0, 0, 0)
  91. Info.BorderSizePixel = 2
  92. Info.Position = UDim2.new(0.0945945904, 0, 1.23255813, 0)
  93. Info.Size = UDim2.new(0, 300, 0, 50)
  94.  
  95. speedInfo.Name = "speedInfo"
  96. speedInfo.Parent = Info
  97. speedInfo.BackgroundColor3 = Color3.new(1, 1, 1)
  98. speedInfo.BackgroundTransparency = 0.85000002384186
  99. speedInfo.Size = UDim2.new(0, 300, 0, 50)
  100. speedInfo.Visible = false
  101. speedInfo.Font = Enum.Font.SourceSans
  102. speedInfo.Text = "Change Your Speed Statistics"
  103. speedInfo.TextColor3 = Color3.new(0, 0, 0)
  104. speedInfo.TextScaled = true
  105. speedInfo.TextSize = 14
  106. speedInfo.TextWrapped = true
  107.  
  108. xpInfo.Name = "xpInfo"
  109. xpInfo.Parent = Info
  110. xpInfo.BackgroundColor3 = Color3.new(1, 1, 1)
  111. xpInfo.BackgroundTransparency = 0.85000002384186
  112. xpInfo.Size = UDim2.new(0, 300, 0, 50)
  113. xpInfo.Visible = false
  114. xpInfo.Font = Enum.Font.SourceSans
  115. xpInfo.Text = "Will Give You 50K Levels"
  116. xpInfo.TextColor3 = Color3.new(0, 0, 0)
  117. xpInfo.TextScaled = true
  118. xpInfo.TextSize = 14
  119. xpInfo.TextWrapped = true
  120.  
  121. moneyInfo.Name = "moneyInfo"
  122. moneyInfo.Parent = Info
  123. moneyInfo.BackgroundColor3 = Color3.new(1, 1, 1)
  124. moneyInfo.BackgroundTransparency = 0.85000002384186
  125. moneyInfo.Size = UDim2.new(0, 300, 0, 50)
  126. moneyInfo.Visible = false
  127. moneyInfo.Font = Enum.Font.SourceSans
  128. moneyInfo.Text = "Will Give You 1B Money"
  129. moneyInfo.TextColor3 = Color3.new(0, 0, 0)
  130. moneyInfo.TextScaled = true
  131. moneyInfo.TextSize = 14
  132. moneyInfo.TextWrapped = true
  133.  
  134. ImageLabel.Parent = Background
  135. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  136. ImageLabel.BackgroundTransparency = 0.80000001192093
  137. ImageLabel.BorderSizePixel = 0
  138. ImageLabel.LayoutOrder = 1
  139. ImageLabel.Size = UDim2.new(0, 370, 0, 215)
  140. ImageLabel.Image = "rbxassetid://2045243336"
  141.  
  142. xpButton.Name = "xpButton"
  143. xpButton.Parent = Background
  144. xpButton.BackgroundColor3 = Color3.new(1, 1, 1)
  145. xpButton.BackgroundTransparency = 0.85000002384186
  146. xpButton.Position = UDim2.new(0.0675675645, 0, 0.116279073, 0)
  147. xpButton.Size = UDim2.new(0, 150, 0, 50)
  148. xpButton.Font = Enum.Font.SourceSans
  149. xpButton.Text = "XP"
  150. xpButton.TextColor3 = Color3.new(0, 0, 0)
  151. xpButton.TextScaled = true
  152. xpButton.TextSize = 14
  153. xpButton.TextWrapped = true
  154.  
  155. moneyButton.Name = "MoneyButton"
  156. moneyButton.Parent = Background
  157. moneyButton.BackgroundColor3 = Color3.new(1, 1, 1)
  158. moneyButton.BackgroundTransparency = 0.85000002384186
  159. moneyButton.Position = UDim2.new(0.067567572, 0, 0.38139534, 0)
  160. moneyButton.Size = UDim2.new(0, 150, 0, 50)
  161. moneyButton.Font = Enum.Font.SourceSans
  162. moneyButton.Text = "Money"
  163. moneyButton.TextColor3 = Color3.new(0, 0, 0)
  164. moneyButton.TextScaled = true
  165. moneyButton.TextSize = 14
  166. moneyButton.TextWrapped = true
  167.  
  168. speedLabel.Name = "speedLabel"
  169. speedLabel.Parent = Background
  170. speedLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  171. speedLabel.BackgroundTransparency = 0.85000002384186
  172. speedLabel.Position = UDim2.new(0.068, 0,0.651, 0)
  173. speedLabel.Size = UDim2.new(0, 150, 0, 50)
  174. speedLabel.Font = Enum.Font.SourceSans
  175. speedLabel.Text = "Speed"
  176. speedLabel.TextColor3 = Color3.new(0, 0, 0)
  177. speedLabel.TextScaled = true
  178. speedLabel.TextSize = 14
  179. speedLabel.TextWrapped = true
  180.  
  181. add.Parent = speedLabel
  182. add.BackgroundColor3 = Color3.new(1, 1, 1)
  183. add.BackgroundTransparency = 0.85000002384186
  184. add.Position = UDim2.new(1.04000008, 0, 0, 0)
  185. add.Size = UDim2.new(0, 50, 0, 50)
  186. add.Font = Enum.Font.SourceSans
  187. add.Text = "+"
  188. add.TextColor3 = Color3.new(0, 0, 0)
  189. add.TextScaled = true
  190. add.TextSize = 14
  191. add.TextWrapped = true
  192.  
  193. degrease.Parent = speedLabel
  194. degrease.BackgroundColor3 = Color3.new(1, 1, 1)
  195. degrease.BackgroundTransparency = 0.85000002384186
  196. degrease.Position = UDim2.new(1.41333318, 0, 0, 0)
  197. degrease.Size = UDim2.new(0, 50, 0, 50)
  198. degrease.Font = Enum.Font.SourceSans
  199. degrease.Text = "-"
  200. degrease.TextColor3 = Color3.new(0, 0, 0)
  201. degrease.TextScaled = true
  202. degrease.TextSize = 14
  203. degrease.TextWrapped = true
  204.  
  205. speedShower.Name = "speedShower"
  206. speedShower.Parent = speedLabel
  207. speedShower.BackgroundColor3 = Color3.new(1, 1, 1)
  208. speedShower.BackgroundTransparency = 0.85000002384186
  209. speedShower.Position = UDim2.new(1.78792787, 0, 0, 0)
  210. speedShower.Size = UDim2.new(0, 70, 0, 50)
  211. speedShower.Font = Enum.Font.SourceSans
  212. speedShower.Text = ""
  213. speedShower.TextColor3 = Color3.new(0, 0, 0)
  214. speedShower.TextScaled = true
  215. speedShower.TextSize = 14
  216. speedShower.TextWrapped = true
  217.  
  218.  
  219. speedCurrent.Name = "speedCurrent"
  220. speedCurrent.Parent = speedShower
  221. speedCurrent.BackgroundColor3 = Color3.new(1, 1, 1)
  222. speedCurrent.BackgroundTransparency = 1
  223. speedCurrent.BorderSizePixel = 0
  224. speedCurrent.Size = UDim2.new(0, 73, 0, 50)
  225. speedCurrent.Font = Enum.Font.SourceSans
  226. speedCurrent.Text = "Idk Your Speed Change It"
  227. speedCurrent.TextColor3 = Color3.new(0, 0, 0)
  228. speedCurrent.TextScaled = true
  229. speedCurrent.TextSize = 14
  230. speedCurrent.TextWrapped = true
  231.  
  232.  
  233.  
  234.  
  235. -------------------------------------------------
  236. function xp()
  237. local remote = game.Workspace.Core.TradeStatistics
  238.  
  239. for i=1,50 do
  240.  
  241. game.Workspace.Core.Buy:FireServer("Iron Sword",100)
  242.  
  243. wait(0.03)
  244.  
  245. game.Workspace.Core.Sell:FireServer("Iron Sword",500000100,"SellScript")
  246.  
  247. remote:FireServer()
  248.  
  249. end
  250. end
  251. -------------------------------------------------
  252. function money()
  253. for i=1,4 do
  254.  
  255. game.Workspace.Core.Buy:FireServer("Iron Sword",100)
  256.  
  257. wait(0.03)
  258.  
  259. game.Workspace.Core.Sell:FireServer("Iron Sword",500000100,"SellScript")
  260.  
  261. end
  262. end
  263. -------------------------------------------------
  264. function giveSpeed()
  265. character.Humanoid.WalkSpeed = character.Humanoid.WalkSpeed + 5
  266. local change = Instance.new("BoolValue")
  267. change.Parent = speedCurrent
  268. wait(0.005)
  269. change:Destroy()
  270.  
  271. end
  272. -------------------------------------------------
  273. function degreaseSpeed()
  274. character.Humanoid.WalkSpeed = character.Humanoid.WalkSpeed - 5
  275. local change = Instance.new("BoolValue")
  276. change.Parent = speedCurrent
  277. wait(0.005)
  278. change:Destroy()
  279. end
  280. --------------------------------------------------
  281. function showSpeed()
  282. speedCurrent.Text = character.Humanoid.WalkSpeed
  283.  
  284. end
  285. --------------------------------------------------
  286. speedCurrent.ChildAdded:connect(showSpeed)
  287. degrease.MouseButton1Click:connect(degreaseSpeed)
  288. add.MouseButton1Click:connect(giveSpeed)
  289. xpButton.MouseButton1Click:connect(xp)
  290. moneyButton.MouseButton1Click:connect(money)
  291. ------------------------------------------------
  292. ------------------------------------------------
  293. function openClose()
  294. if Background.Visible == false then
  295. Background.Visible = true
  296. else
  297. Background.Visible = false
  298. end
  299. end
  300. -------------------------------------------------
  301. speedLabel.MouseEnter:connect(function()
  302. speedInfo.Visible = true
  303. end)
  304.  
  305. speedLabel.MouseLeave:connect(function()
  306. speedInfo.Visible = false
  307. end)
  308. ---------------------------------------------------
  309. xpButton.MouseEnter:connect(function()
  310. xpInfo.Visible = true
  311. end)
  312.  
  313. xpButton.MouseLeave:connect(function()
  314. xpInfo.Visible = false
  315. end)
  316. ---------------------------------------------------
  317. moneyButton.MouseEnter:connect(function()
  318. moneyInfo.Visible = true
  319. end)
  320.  
  321. moneyButton.MouseLeave:connect(function()
  322. moneyInfo.Visible = false
  323. end)
  324. ---------------------------------------------------
  325.  
  326. openCloseButton.MouseButton1Click:connect(openClose)
Add Comment
Please, Sign In to add comment