123456789qwerty

Pet Simulator GUI New

Dec 15th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.39 KB | None | 0 0
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local Menu = Instance.new("Frame")
  3. local Money = Instance.new("TextButton")
  4. local Walkspeed = Instance.new("TextButton")
  5. local Jumppower = Instance.new("TextButton")
  6. local Frame = Instance.new("Frame")
  7. local TextLabel = Instance.new("TextLabel")
  8. local TextLabel_2 = Instance.new("TextLabel")
  9.  
  10. ScreenGui.Parent = game.CoreGui
  11.  
  12. Menu.Name = "Menu"
  13. Menu.Parent = ScreenGui
  14. Menu.Active = true
  15. Menu.BackgroundColor3 = Color3.new(0, 0, 1)
  16. Menu.BorderColor3 = Color3.new(0, 0, 1)
  17. Menu.Position = UDim2.new(0, 0, 0.689873397, 0)
  18. Menu.Size = UDim2.new(0, 114, 0, 83)
  19.  
  20. Money.Name = "Money"
  21. Money.Parent = Menu
  22. Money.BackgroundColor3 = Color3.new(1, 1, 1)
  23. Money.Position = UDim2.new(0.0526315793, 0, 0.0722891539, 0)
  24. Money.Size = UDim2.new(0, 104, 0, 19)
  25. Money.Font = Enum.Font.SciFi
  26. Money.Text = "Money"
  27. Money.TextColor3 = Color3.new(0, 0, 0)
  28. Money.TextSize = 14
  29. Money.MouseButton1Down:connect(function()
  30.  
  31. local coins = game.Workspace:WaitForChild("__REMOTES"):WaitForChild("Coins")
  32. local save = game.Workspace:WaitForChild("__REMOTES"):WaitForChild("Get Other Stats"):InvokeServer()
  33. local plr = game:GetService("Players").LocalPlayer.Name
  34. local petids = {}
  35. local a = #save[plr]["Save"]["Pets"]
  36. print(a)
  37. function random(t)
  38. local keys = {}
  39. for key, value in pairs(t) do
  40. keys[#keys+1] = key
  41. end
  42. index = keys[math.random(1, #keys)]
  43. return t[index]
  44. end
  45. for i=1,a do
  46. table.insert(petids, save[plr]["Save"]["Pets"][a].id)
  47. a = a - 1
  48. end
  49. for _,b in next, workspace["__THINGS"].Coins:GetChildren() do
  50. coins:FireServer("Mine",b.Name, 10000000, random(petids))
  51. end
  52. end)
  53.  
  54. Walkspeed.Name = "Walkspeed"
  55. Walkspeed.Parent = Menu
  56. Walkspeed.BackgroundColor3 = Color3.new(1, 1, 1)
  57. Walkspeed.Position = UDim2.new(0.0350877196, 0, 0.385542154, 0)
  58. Walkspeed.Size = UDim2.new(0, 106, 0, 19)
  59. Walkspeed.Font = Enum.Font.SciFi
  60. Walkspeed.Text = "Walkspeed"
  61. Walkspeed.TextColor3 = Color3.new(0, 0, 0)
  62. Walkspeed.TextSize = 14
  63. Walkspeed.MouseButton1Down:connect(function()
  64. game:service('Players').LocalPlayer.Character.Humanoid.WalkSpeed = 100
  65. end)
  66.  
  67. Jumppower.Name = "Jumppower"
  68. Jumppower.Parent = Menu
  69. Jumppower.BackgroundColor3 = Color3.new(1, 1, 1)
  70. Jumppower.Position = UDim2.new(0.0350877196, 0, 0.698795199, 0)
  71. Jumppower.Size = UDim2.new(0, 106, 0, 19)
  72. Jumppower.Font = Enum.Font.SciFi
  73. Jumppower.Text = "Jump"
  74. Jumppower.TextColor3 = Color3.new(0, 0, 0)
  75. Jumppower.TextSize = 14
  76. Jumppower.MouseButton1Down:connect(function()
  77. game:service('Players').LocalPlayer.Character.Humanoid.JumpPower = 200
  78. end)
  79.  
  80. Frame.Parent = ScreenGui
  81. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  82. Frame.Position = UDim2.new(0.0113250185, 0, 0.864978909, 0)
  83. Frame.Size = UDim2.new(0, 96, 0, 42)
  84.  
  85. TextLabel.Parent = Frame
  86. TextLabel.BackgroundColor3 = Color3.new(0, 0, 1)
  87. TextLabel.Position = UDim2.new(-4.09781933e-08, 0, -0.00595222414, 0)
  88. TextLabel.Size = UDim2.new(0, 96, 0, 24)
  89. TextLabel.Font = Enum.Font.SourceSans
  90. TextLabel.Text = "V3rmillion:"
  91. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  92. TextLabel.TextSize = 14
  93.  
  94. TextLabel_2.Parent = Frame
  95. TextLabel_2.BackgroundColor3 = Color3.new(0, 0, 1)
  96. TextLabel_2.Position = UDim2.new(0, 0, 0.571428597, 0)
  97. TextLabel_2.Size = UDim2.new(0, 96, 0, 24)
  98. TextLabel_2.Font = Enum.Font.SourceSans
  99. TextLabel_2.Text = "watupdabro"
  100. TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
  101. TextLabel_2.TextSize = 14
Add Comment
Please, Sign In to add comment