Advertisement
xKuro

DBUW Gui Test

Apr 19th, 2019
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.58 KB | None | 0 0
  1. -- Objects
  2.  
  3. local DBUWGUI = Instance.new("ScreenGui")
  4. local Main = Instance.new("Frame")
  5. local Close = Instance.new("TextButton")
  6. local Ki = Instance.new("TextButton")
  7. local Atk_Agi = Instance.new("TextButton")
  8. local Def = Inscante.new("TextButton")
  9. local Made = Instance.new("TextLabel")
  10. local lp = game.Players.LocalPlayer
  11. local lpc = lp.Character
  12. local ltable = {
  13. Character = lpc;
  14. Humanoid = lpc.Humanoid;
  15. LeftFoot = lpc.LeftFoot;
  16. LeftHand = lpc.LeftHand;
  17. LeftLowerArm = lpc.LeftLowerArm;
  18. LeftLowerLeg = lpc.LeftLowerLeg;
  19. LeftUpperArm = lpc.LeftUpperArm;
  20. LeftUpperLeg = lpc.LeftUpperLeg;
  21. RightFoot = lpc.RightFoot;
  22. RightHand = lpc.RightHand;
  23. RightLowerArm = lpc.RightLowerArm;
  24. RightLowerLeg = lpc.RightLowerLeg;
  25. RightUpperArm = lpc.RightUpperArm;
  26. RightUpperLeg = lpc.RightLowerLeg
  27. }
  28.  
  29.  
  30. -- Properties
  31.  
  32. DBUWGUI.Name = "DBUWGUI"
  33. DBUWGUI.Parent = game.CoreGui
  34.  
  35. Main.Name = "Main"
  36. Main.Parent = DBUWGUI
  37. Main.BackgroundColor3 = Color3.new(0, 0, 0)
  38. Main.BackgroundTransparency = 0.3
  39. Main.BorderSizePixel = 3
  40. Main.Position = UDim2.new(0.036, 0, 0.357, 0)
  41. Main.Size = UDim2.new(0, 241, 0, 195)
  42. Main.Draggable = true
  43. Main.Active = true
  44.  
  45. Close.Name = "Close"
  46. Close.Parent = Main
  47. Close.BackgroundColor3 = Color3.new(0, 255, 255)
  48. Close.BackgroundTransparency = 0.3
  49. Close.Font = Enum.Font.Legacy
  50. Close.Text = "X"
  51. Close.TextColor3 = Color3.new(0, 0, 0)
  52. Close.TextSize = 14
  53. Close.Position = UDim2.new(0.923, 0, -0.064, 0)
  54. Close.Size = UDim2.new(0, 36, 0, 34)
  55.  
  56. Ki.Name = "Ki"
  57. Ki.Parent = Main
  58. Ki.BackgroundColor3 = Color3.new(58, 255, 242)
  59. Ki.BackgroundTransparency = 0.3
  60. Ki.Font = Enum.Font.SciFi
  61. Ki.Text = "Ki Training"
  62. Ki.TextColor3 = Color3.new(0, 0, 0)
  63. Ki.TextSize = 18
  64. Ki.Position = UDim2.new(0.099, 0, 0.083, 0)
  65. Ki.Size = UDim2.new(0, 200, 0, 50)
  66.  
  67. Atk_Agi.Name = "Attack/Agility"
  68. Atk_Agi.Parent = Main
  69. Atk_Agi.BackgroundColor3 = Color3.new(58, 255, 242)
  70. Atk_Agi.BackgroundTransparency = 0.3
  71. Atk_Agi.Font = Enum.Font.SciFi
  72. Atk_Agi.Text = "Attack/Agility Training"
  73. Atk_Agi.TextColor3 = Color3.new(0, 0, 0)
  74. Atk_Agi.TextSize = 18
  75. Atk_Agi.Position = UDim2.new(0.096, 0, 0.343, 0)
  76. Atk_Agi.Size = UDim2.new(0, 200, 0, 50)
  77.  
  78. Def.Name = "Defense"
  79. De.Parent = Main
  80. Def.BackgroundColor3 = Color3.new(58, 255, 242)
  81. Def.BackgroundTransparency = 0.3
  82. Def.Font = Enum.Font.SciFi
  83. Def.Text = "Defense Training"
  84. Def.TextColor3 = Color3.new(0, 0, 0)
  85. Def.TextSize = 18
  86. Def.Position = UDim2.new(0.1, 0, 0.606, 0)
  87. Def.Size = UDim2.new(0, 200, 0, 50)
  88.  
  89. Made.Name = "MadeBy"
  90. Made.Parent = Main
  91. Made.BackgroundColor3 = Color3.new(0, 0, 0)
  92. Made.BackgroundTransparency = 1
  93. Made.Font = Enum.Font.SourceSans
  94. Made.Text = "Made by xKuroko"
  95. Made.TextColor3 = Color3.new(0, 255, 255)
  96. Made.TextSize = 12
  97. Made.Position = UDim2.new(0.315, 0, 0.913, 0)
  98. Made.Size = UDim2.new(0, 88, 0, 11)
  99.  
  100. -- Scripts
  101.  
  102. Ki.MouseButton1Click:connect(function()
  103. for i = 1, 1000 do -- change the 1000 to how often you want to repeat
  104. game.ReplicatedStorage.Remotes.Training.Blast:InvokeServer({Energy = {Value = 1000}}, lp.Stats, lpc.HumanoidRootPart, lpc.RightHand, lpc)
  105. end
  106. end)
  107.  
  108. Atk_Agi.MouseButton1Click:connect(function()
  109. for i = 1, 1000 do -- change the 1000 to how often you want to repeat
  110. game.ReplicatedStorage.Remotes.Training.Combat:InvokeServer(lp.Stats, ltable)
  111. end
  112. end)
  113.  
  114. Def.MouseButton1Click:connect(function()
  115. for i = 1, 1000 do -- change the 1000 to how often you want to repeat
  116. game.ReplicatedStorage.Remotes.Training.Defense:InvokeServer(lp.Stats, lp.Status, lpc.Humanoid, lpc.RightHand)
  117. end
  118. end)
  119.  
  120. Close.MouseButton1Click:connect(function()
  121. game.CoreGui.DBUWGUI:Destroy()
  122. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement