Advertisement
RandomNewbieScripter

gui

Nov 6th, 2017
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.48 KB | None | 0 0
  1. -- Objects
  2. local plr = game:GetService("Players").LocalPlayer
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local TextLabel = Instance.new("TextLabel")
  6. local TrainKi = Instance.new("TextButton")
  7. local TrainAg = Instance.new("TextButton")
  8. local TrainAt = Instance.new("TextButton")
  9. local TrainDe = Instance.new("TextButton")
  10.  
  11. -- Properties
  12.  
  13. ScreenGui.Parent = plr.PlayerGui
  14. ScreenGui.ResetOnSpawn = false
  15.  
  16. Frame.Parent = ScreenGui
  17. Frame.BackgroundColor3 = Color3.new(0.258824, 0.258824, 0.258824)
  18. Frame.Draggable = true
  19. Frame.Selectable = true
  20. Frame.Position = UDim2.new(0.338909566, 0, 0.227777779, 0)
  21. Frame.Size = UDim2.new(0, 260, 0, 221)
  22. Frame.Active = true
  23.  
  24. TextLabel.Parent = Frame
  25. TextLabel.BackgroundColor3 = Color3.new(0, 0, 0)
  26. TextLabel.Size = UDim2.new(0, 260, 0, 37)
  27. TextLabel.Font = Enum.Font.SourceSans
  28. TextLabel.FontSize = Enum.FontSize.Size24
  29. TextLabel.Text = "DBZ Rage GUI: Updated"
  30. TextLabel.TextColor3 = Color3.new(1, 0, 0)
  31. TextLabel.TextSize = 20
  32.  
  33. TrainKi.Name = "TrainKi"
  34. TrainKi.Parent = Frame
  35. TrainKi.BackgroundColor3 = Color3.new(0.831373, 0.831373, 0.831373)
  36. TrainKi.Position = UDim2.new(0.0384615399, 0, 0.26696834, 0)
  37. TrainKi.Size = UDim2.new(0, 110, 0, 41)
  38. TrainKi.Font = Enum.Font.SourceSans
  39. TrainKi.FontSize = Enum.FontSize.Size14
  40. TrainKi.Text = "Train Ki"
  41. TrainKi.TextSize = 14
  42. TrainKi.MouseButton1Click:connect(function()
  43.     for i=1, 1000 do --Increase or Decrease
  44.         spawn(function()
  45.             game.ReplicatedStorage.Remotes.Training.Blast:InvokeServer({Energy = {Value = 9999999}}, game.Players.LocalPlayer.Stats, game.Players.LocalPlayer.Character.HumanoidRootPart, game.Players.LocalPlayer.Character.RightHand, game.Players.LocalPlayer.Character)
  46.         end)
  47.     end
  48. end)
  49. TrainAg.Name = "TrainAg"
  50. TrainAg.Parent = Frame
  51. TrainAg.BackgroundColor3 = Color3.new(0.831373, 0.831373, 0.831373)
  52. TrainAg.Position = UDim2.new(0.523076952, 0, 0.26696834, 0)
  53. TrainAg.Size = UDim2.new(0, 110, 0, 41)
  54. TrainAg.Font = Enum.Font.SourceSans
  55. TrainAg.FontSize = Enum.FontSize.Size14
  56. TrainAg.Text = "Train Agility"
  57. TrainAg.TextSize = 14
  58. TrainAg.MouseButton1Click:connect(function()
  59.     for i=1, 10000 do --Increase or Decrease
  60.         game.ReplicatedStorage.Remotes.Training.Agility:FireServer(game.Players.LocalPlayer.Stats)
  61.     end
  62. end)
  63.  
  64. TrainAt.Name = "TrainAt"
  65. TrainAt.Parent = Frame
  66. TrainAt.BackgroundColor3 = Color3.new(0.831373, 0.831373, 0.831373)
  67. TrainAt.Position = UDim2.new(0.038461566, 0, 0.542986453, 0)
  68. TrainAt.Size = UDim2.new(0, 110, 0, 41)
  69. TrainAt.Font = Enum.Font.SourceSans
  70. TrainAt.FontSize = Enum.FontSize.Size14
  71. TrainAt.Text = "Train Attack"
  72. TrainAt.TextSize = 14
  73. TrainAt.MouseButton1Click:connect(function()
  74. for i=1, 2000 do --Increase or Decrease
  75.     spawn(function()
  76.         wait()
  77.             game.ReplicatedStorage.Remotes.Training.Combat:InvokeServer(game.Players.LocalPlayer.Stats, {Humanoid = game.Players.LocalPlayer.Character.Humanoid})
  78.         end)
  79.     end
  80. end)
  81.  
  82.  
  83. TrainDe.Name = "TrainDe"
  84. TrainDe.Parent = Frame
  85. TrainDe.BackgroundColor3 = Color3.new(0.831373, 0.831373, 0.831373)
  86. TrainDe.Position = UDim2.new(0.523076952, 0, 0.542986453, 0)
  87. TrainDe.Size = UDim2.new(0, 110, 0, 41)
  88. TrainDe.Font = Enum.Font.SourceSans
  89. TrainDe.FontSize = Enum.FontSize.Size14
  90. TrainDe.Text = "Train Defense"
  91. TrainDe.TextSize = 14
  92. TrainDe.MouseButton1Click:connect(function()
  93.     for i=1, 5000 do
  94.         spawn(function()
  95.             game.ReplicatedStorage.Remotes.Training.Defense:InvokeServer(plr.Stats, plr.Status, plr.Character.Humanoid, plr.Character.RightHand)
  96.         end)
  97.     end
  98. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement