Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Name = "Put Your Roblox Name Here" --You must do this else the buttons will not work!!!
- local DBRgui = Instance.new("ScreenGui")
- local ParentOfAll = Instance.new("Frame")
- local OpenClose = Instance.new("TextButton")
- local Frame = Instance.new("Frame")
- local Defense = Instance.new("TextButton")
- local Attack = Instance.new("TextButton")
- local Agility = Instance.new("TextButton")
- local Energy = Instance.new("TextButton")
- local Charge = Instance.new("TextButton")
- local TurnAtckOff = Instance.new("TextButton")
- local TurnDefOff = Instance.new("TextButton")
- local TurnEnergyOff = Instance.new("TextButton")
- local StopCharge = Instance.new("TextButton")
- DBRgui.Name = "DBRgui"
- DBRgui.Parent = game.CoreGui
- ParentOfAll.Name = "ParentOfAll"
- ParentOfAll.Parent = DBRgui
- ParentOfAll.BackgroundColor3 = Color3.new(1, 1, 1)
- ParentOfAll.Position = UDim2.new(1.17427015, 0, 0.79284364, 0)
- ParentOfAll.Size = UDim2.new(0, 100, 0, 100)
- ParentOfAll.Style = Enum.FrameStyle.RobloxRound
- OpenClose.Name = "OpenClose"
- OpenClose.Parent = ParentOfAll
- OpenClose.BackgroundColor3 = Color3.new(1, 0, 0)
- OpenClose.BorderColor3 = Color3.new(0, 0, 0)
- OpenClose.Position = UDim2.new(-6.37482023, 0, -2.67482471, 0)
- OpenClose.Size = UDim2.new(0, 154, 0, 24)
- OpenClose.Text = "Close"
- OpenClose.TextSize = 14
- OpenClose.TextWrapped = true
- OpenClose.MouseButton1Click:connect(function()
- spawn(function()
- local Ting = OpenClose.Frame
- if Ting.Visible == false then
- Ting.Visible = true
- OpenClose.Position = UDim2.new(-6.37482023, 0, -2.67482471, 0)
- OpenClose.Text = "Close"
- elseif Ting.Visible == true then
- OpenClose.Text = "Open"
- OpenClose.Position = UDim2.new(-5.365, 0, 0.885, 0)
- Ting.Visible = false
- end
- end)
- end)
- Frame.Parent = OpenClose
- Frame.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame.Position = UDim2.new(-0.675324678, 0, 1.33333337, 0)
- Frame.Size = UDim2.new(0, 361, 0, 264)
- Frame.Style = Enum.FrameStyle.RobloxRound
- Defense.Name = "Defense"
- Defense.Parent = Frame
- Defense.BackgroundColor3 = Color3.new(0.972549, 0.917647, 1)
- Defense.Position = UDim2.new(0.529085875, 0, 0.0118110254, 0)
- Defense.Size = UDim2.new(0, 161, 0, 46)
- Defense.Style = Enum.ButtonStyle.RobloxRoundButton
- Defense.Text = "Defense"
- Defense.TextSize = 14
- Defense.MouseButton1Click:connect(function()
- spawn(function()
- game.CoreGui.DBRgui.ParentOfAll.OpenClose.Frame.TurnDefOff.Visible = true
- while game.CoreGui.DBRgui.ParentOfAll.OpenClose.Frame.TurnDefOff.Visible == true do
- wait()
- local remote = Game["ReplicatedStorage"]["Remotes"]["Training"]["Defense"]
- local args = {
- [1] = Game["Players"][Name]["Stats"],
- [2] = Game["Players"][Name]["Status"],
- [3] = Game["Workspace"][Name]["Humanoid"],
- [4] = Game["Workspace"][Name]["RightHand"]
- }
- remote:InvokeServer(unpack(args))
- end
- end)
- end)
- Attack.Name = "Attack"
- Attack.Parent = Frame
- Attack.BackgroundColor3 = Color3.new(0.972549, 0.917647, 1)
- Attack.Position = UDim2.new(0.00831024908, 0, 0.0113636367, 0)
- Attack.Size = UDim2.new(0, 162, 0, 46)
- Attack.Style = Enum.ButtonStyle.RobloxRoundButton
- Attack.Text = "Attack"
- Attack.TextSize = 14
- Attack.MouseButton1Click:connect(function()
- spawn(function()
- game.CoreGui.DBRgui.ParentOfAll.OpenClose.Frame.TurnAtckOff.Visible = true
- while game.CoreGui.DBRgui.ParentOfAll.OpenClose.Frame.TurnAtckOff.Visible == true do
- wait()
- local remote = Game["ReplicatedStorage"]["Remotes"]["Training"]["Combat"]
- local args = {
- [1] = {
- LeftLowerArm = Game["Workspace"][Name]["LeftLowerArm"],
- RightUpperArm = Game["Workspace"][Name]["RightUpperArm"],
- LeftFoot = Game["Workspace"][Name]["LeftFoot"],
- RightHand = Game["Workspace"][Name]["RightHand"],
- RightLowerArm = Game["Workspace"][Name]["RightLowerArm"],
- LeftUpperLeg = Game["Workspace"][Name]["LeftUpperLeg"],
- LeftUpperArm = Game["Workspace"][Name]["LeftUpperArm"],
- Character = Game["Workspace"][Name],
- LeftHand = Game["Workspace"][Name]["LeftHand"],
- RightFoot = Game["Workspace"][Name]["RightFoot"],
- Humanoid = Game["Workspace"][Name]["Humanoid"],
- RightLowerLeg = Game["Workspace"][Name]["RightLowerLeg"],
- RightUpperLeg = Game["Workspace"][Name]["RightUpperLeg"],
- LeftLowerLeg = Game["Workspace"][Name]["LeftLowerLeg"]
- }
- }
- remote:InvokeServer(unpack(args))
- end
- end)
- end)
- Agility.Name = "Agility"
- Agility.Parent = Frame
- Agility.BackgroundColor3 = Color3.new(0.972549, 0.917647, 1)
- Agility.Position = UDim2.new(0.00831024908, 0, 0.401515126, 0)
- Agility.Size = UDim2.new(0, 162, 0, 46)
- Agility.Style = Enum.ButtonStyle.RobloxRoundButton
- Agility.Text = "Agility"
- Agility.TextSize = 14
- Agility.Name = "Agility"
- Agility.Parent = Frame
- Agility.BackgroundColor3 = Color3.new(0.972549, 0.917647, 1)
- Agility.Position = UDim2.new(0.00831024908, 0, 0.401515126, 0)
- Agility.Size = UDim2.new(0, 162, 0, 46)
- Agility.Style = Enum.ButtonStyle.RobloxRoundButton
- Agility.Text = "Agility"
- Agility.TextSize = 14
- Agility.MouseButton1Click:connect(function()
- spawn(function()
- for i=1, 10000 do
- game.ReplicatedStorage.Remotes.Training.Agility:FireServer(game.Players.Name.Stats)
- end
- end)
- end)
- Energy.Name = "Energy"
- Energy.Parent = Frame
- Energy.BackgroundColor3 = Color3.new(0.972549, 0.917647, 1)
- Energy.Position = UDim2.new(0.529085875, 0, 0.405303031, 0)
- Energy.Size = UDim2.new(0, 162, 0, 46)
- Energy.Style = Enum.ButtonStyle.RobloxRoundButton
- Energy.Text = "Energy"
- Energy.TextSize = 14
- Energy.Name = "Energy"
- Energy.Parent = Frame
- Energy.BackgroundColor3 = Color3.new(0.972549, 0.917647, 1)
- Energy.Position = UDim2.new(0.529085875, 0, 0.405303031, 0)
- Energy.Size = UDim2.new(0, 162, 0, 46)
- Energy.Style = Enum.ButtonStyle.RobloxRoundButton
- Energy.Text = "Energy"
- Energy.TextSize = 14
- Energy.MouseButton1Click:connect(function()
- spawn(function()
- game.CoreGui.DBRgui.ParentOfAll.OpenClose.Frame.TurnEnergyOff.Visible = true
- while game.CoreGui.DBRgui.ParentOfAll.OpenClose.Frame.TurnEnergyOff.Visible == true do
- wait(0.1)
- local remote = Game["ReplicatedStorage"]["Remotes"]["Actions"]["EnergyBlast"]
- local args = {
- [1] = "Left"
- }
- remote:InvokeServer(unpack(args))
- end
- end)
- end)
- Charge.Name = "Charge"
- Charge.Parent = Frame
- Charge.BackgroundColor3 = Color3.new(0.972549, 0.917647, 1)
- Charge.Position = UDim2.new(0.00831023604, 0, 0.812962234, 0)
- Charge.Size = UDim2.new(0, 162, 0, 46)
- Charge.Style = Enum.ButtonStyle.RobloxRoundButton
- Charge.Text = "Charge"
- Charge.TextSize = 14
- Charge.Name = "Charge"
- Charge.Parent = Frame
- Charge.BackgroundColor3 = Color3.new(0.972549, 0.917647, 1)
- Charge.Position = UDim2.new(0.00831023604, 0, 0.812962234, 0)
- Charge.Size = UDim2.new(0, 162, 0, 46)
- Charge.Style = Enum.ButtonStyle.RobloxRoundButton
- Charge.Text = "Charge"
- Charge.TextSize = 14
- Charge.MouseButton1Click:connect(function()
- spawn(function()
- game.CoreGui.DBRgui.ParentOfAll.OpenClose.Frame.StopCharge.Visible = true
- local remote = Game["ReplicatedStorage"]["Remotes"]["Training"]["Charge"]
- local args = {
- [1] = Game["Players"][Name]["Status"],
- [2] = Game["Workspace"][Name]["UpperTorso"],
- [3] = Game["Workspace"][Name]["Humanoid"]
- }
- remote:InvokeServer(unpack(args))
- end)
- end)
- TurnAtckOff.Name = "TurnAtckOff"
- TurnAtckOff.Parent = Frame
- TurnAtckOff.BackgroundColor3 = Color3.new(0.972549, 0.917647, 1)
- TurnAtckOff.Position = UDim2.new(0.00831024908, 0, 0.212151036, 0)
- TurnAtckOff.Size = UDim2.new(0, 162, 0, 46)
- TurnAtckOff.Visible = false
- TurnAtckOff.Style = Enum.ButtonStyle.RobloxRoundButton
- TurnAtckOff.Text = "Turn off attack AutoTrain"
- TurnAtckOff.TextSize = 9
- TurnAtckOff.Name = "TurnAtckOff"
- TurnAtckOff.Parent = Frame
- TurnAtckOff.BackgroundColor3 = Color3.new(0.972549, 0.917647, 1)
- TurnAtckOff.Position = UDim2.new(0.00831024908, 0, 0.212151036, 0)
- TurnAtckOff.Size = UDim2.new(0, 162, 0, 46)
- TurnAtckOff.Visible = false
- TurnAtckOff.Style = Enum.ButtonStyle.RobloxRoundButton
- TurnAtckOff.Text = "Turn off attack AutoTrain"
- TurnAtckOff.TextSize = 9
- TurnAtckOff.MouseButton1Click:connect(function()
- spawn(function()
- game.CoreGui.DBRgui.ParentOfAll.OpenClose.Frame.TurnAtckOff.Visible = false
- end)
- end)
- TurnDefOff.Name = "TurnDefOff"
- TurnDefOff.Parent = Frame
- TurnDefOff.BackgroundColor3 = Color3.new(0.972549, 0.917647, 1)
- TurnDefOff.Position = UDim2.new(0.529085875, 0, 0.212151036, 0)
- TurnDefOff.Size = UDim2.new(0, 162, 0, 46)
- TurnDefOff.Visible = false
- TurnDefOff.Style = Enum.ButtonStyle.RobloxRoundButton
- TurnDefOff.Text = "Turn off defense AutoTrain"
- TurnDefOff.TextSize = 9
- TurnDefOff.Name = "TurnDefOff"
- TurnDefOff.Parent = Frame
- TurnDefOff.BackgroundColor3 = Color3.new(0.972549, 0.917647, 1)
- TurnDefOff.Position = UDim2.new(0.529085875, 0, 0.212151036, 0)
- TurnDefOff.Size = UDim2.new(0, 162, 0, 46)
- TurnDefOff.Visible = false
- TurnDefOff.Style = Enum.ButtonStyle.RobloxRoundButton
- TurnDefOff.Text = "Turn off defense AutoTrain"
- TurnDefOff.TextSize = 9
- TurnDefOff.MouseButton1Click:connect(function()
- spawn(function()
- game.CoreGui.DBRgui.ParentOfAll.OpenClose.Frame.TurnDefOff.Visible = false
- end)
- end)
- TurnEnergyOff.Name = "TurnEnergyOff"
- TurnEnergyOff.Parent = Frame
- TurnEnergyOff.BackgroundColor3 = Color3.new(0.972549, 0.917647, 1)
- TurnEnergyOff.Position = UDim2.new(0.529085875, 0, 0.605851829, 0)
- TurnEnergyOff.Size = UDim2.new(0, 162, 0, 46)
- TurnEnergyOff.Visible = false
- TurnEnergyOff.Style = Enum.ButtonStyle.RobloxRoundButton
- TurnEnergyOff.Text = "Turn off energy AutoTrain"
- TurnEnergyOff.TextSize = 9
- TurnEnergyOff.Name = "TurnEnergyOff"
- TurnEnergyOff.Parent = Frame
- TurnEnergyOff.BackgroundColor3 = Color3.new(0.972549, 0.917647, 1)
- TurnEnergyOff.Position = UDim2.new(0.529085875, 0, 0.605851829, 0)
- TurnEnergyOff.Size = UDim2.new(0, 162, 0, 46)
- TurnEnergyOff.Visible = false
- TurnEnergyOff.Style = Enum.ButtonStyle.RobloxRoundButton
- TurnEnergyOff.Text = "Turn off energy AutoTrain"
- TurnEnergyOff.TextSize = 9
- TurnEnergyOff.MouseButton1Click:connect(function()
- spawn(function()
- game.CoreGui.DBRgui.ParentOfAll.OpenClose.Frame.TurnEnergyOff.Visible = false
- end)
- end)
- StopCharge.Name = "StopCharge"
- StopCharge.Parent = Frame
- StopCharge.BackgroundColor3 = Color3.new(0.972549, 0.917647, 1)
- StopCharge.Position = UDim2.new(0.529085875, 0, 0.813916683, 0)
- StopCharge.Size = UDim2.new(0, 162, 0, 46)
- StopCharge.Visible = false
- StopCharge.Style = Enum.ButtonStyle.RobloxRoundButton
- StopCharge.Text = "StopCharging"
- StopCharge.TextSize = 9
- StopCharge.MouseButton1Click:connect(function()
- spawn(function()
- game.CoreGui.DBRgui.ParentOfAll.OpenClose.Frame.StopCharge.Visible = false
- local remote = Game["ReplicatedStorage"]["Remotes"]["Training"]["ChargeFinish"]
- local args = {}
- remote:FireServer(unpack(args))
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement