Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local P = game:GetService('Players').LocalPlayer;
- local PS = game:GetService('Players');
- local function getKB(tf)
- if tf == "Knockback True" then
- return false;
- else
- return true;
- end
- end
- local function getLoop(tf)
- if tf == "Looped True" then
- return true;
- else
- return false;
- end
- end
- local JERSEHUB = Instance.new("ScreenGui")
- local MAIN = Instance.new("Frame")
- local turnoff = Instance.new("TextButton")
- local UICorner = Instance.new("UICorner")
- local DMG = Instance.new("TextButton")
- local UICorner_2 = Instance.new("UICorner")
- local WalkspeedButton = Instance.new("TextButton")
- local UICorner_3 = Instance.new("UICorner")
- local Walkspeed2 = Instance.new("TextBox")
- local UICorner_4 = Instance.new("UICorner")
- local JumppowerButton = Instance.new("TextButton")
- local UICorner_5 = Instance.new("UICorner")
- local Jumppower2 = Instance.new("TextBox")
- local UICorner_6 = Instance.new("UICorner")
- local UICorner_7 = Instance.new("UICorner")
- local TeleportUI = Instance.new("Frame")
- local TeleportUiName = Instance.new("TextLabel")
- local UIGradient = Instance.new("UIGradient")
- local Players = Instance.new("Frame")
- local UIGridLayout = Instance.new("UIGridLayout")
- local Dummy = Instance.new("TextButton")
- local _15251 = Instance.new("TextButton")
- local AnimationRig = Instance.new("TextButton")
- local turnoffdamage = Instance.new("TextButton")
- local UICorner_8 = Instance.new("UICorner")
- local UICorner_9 = Instance.new("UICorner")
- local DamageUI = Instance.new("Frame")
- local DamageUiName = Instance.new("TextLabel")
- local UIGradient_2 = Instance.new("UIGradient")
- local Players_2 = Instance.new("Frame")
- local UIGridLayout_2 = Instance.new("UIGridLayout")
- local Dummy_2 = Instance.new("TextButton")
- local _15251_2 = Instance.new("TextButton")
- local AnimationRig_2 = Instance.new("TextButton")
- local turnoffdamage_2 = Instance.new("TextButton")
- local UICorner_10 = Instance.new("UICorner")
- local DamageAll = Instance.new("TextButton")
- local UICorner_11 = Instance.new("UICorner")
- local DamageAmount = Instance.new("TextBox")
- local UICorner_12 = Instance.new("UICorner")
- local DamageWarning = Instance.new("TextLabel")
- local UICorner_13 = Instance.new("UICorner")
- local UICorner_14 = Instance.new("UICorner")
- local Knockback = Instance.new("TextButton")
- local UICorner_15 = Instance.new("UICorner")
- local DMG_2 = Instance.new("TextButton")
- local UICorner_16 = Instance.new("UICorner")
- local gamer = Instance.new("TextLabel");
- local turnon = Instance.new("TextButton");
- local UICorner_17 = Instance.new("UICorner");
- local AnotherCorner = Instance.new('UICorner');
- local KillAllToggle = Instance.new("TextButton");
- local function Damage(Humanoid,HRP)
- coroutine.wrap(function()
- if Humanoid.Health > 0 then
- if getLoop(KillAllToggle.Text) then
- repeat wait()
- if getKB(Knockback.Text) then
- if tonumber(DamageAmount.Text) and tonumber(DamageAmount.Text) <= 150 then
- game:GetService("ReplicatedStorage").Damage:FireServer(Humanoid, HRP.CFrame, tonumber(DamageAmount.Text), .1, Vector3.new(0,0,0), "rbxassetid://241837157", 4, Color3.new(0,0,0), "rbxassetid://5698452679", 1,math.huge)
- else
- game:GetService("ReplicatedStorage").Donut:FireServer(Humanoid.Parent, tonumber(DamageAmount.Text) or DamageAmount.Text)
- end
- else
- if tonumber(DamageAmount.Text) and tonumber(DamageAmount.Text) <= 150 then
- game:GetService("ReplicatedStorage").Damage:FireServer(Humanoid, HRP.CFrame, tonumber(DamageAmount.Text), .1, Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000)), "rbxassetid://241837157", 4, Color3.new(0,0,0), "rbxassetid://5698452679", 1,math.huge)
- else
- game:GetService("ReplicatedStorage").Donut:FireServer(Humanoid.Parent, tonumber(DamageAmount.Text) or DamageAmount.Text)
- end
- end
- until not getLoop(KillAllToggle.Text) or Humanoid.Health < 0 or not Humanoid or not HRP;
- else
- if getKB(Knockback.Text) then
- if tonumber(DamageAmount.Text) and tonumber(DamageAmount.Text) <= 150 then
- game:GetService("ReplicatedStorage").Damage:FireServer(Humanoid, HRP.CFrame, tonumber(DamageAmount.Text), .1, Vector3.new(0,0,0), "rbxassetid://241837157", 4, Color3.new(0,0,0), "rbxassetid://5698452679", 1,math.huge)
- else
- game:GetService("ReplicatedStorage").Donut:FireServer(Humanoid.Parent, tonumber(DamageAmount.Text) or DamageAmount.Text)
- end
- else
- if tonumber(DamageAmount.Text) and tonumber(DamageAmount.Text) <= 150 then
- game:GetService("ReplicatedStorage").Damage:FireServer(Humanoid, HRP.CFrame, tonumber(DamageAmount.Text), .1, Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000)), "rbxassetid://241837157", 4, Color3.new(0,0,0), "rbxassetid://5698452679", 1,math.huge)
- else
- game:GetService("ReplicatedStorage").Donut:FireServer(Humanoid.Parent, tonumber(DamageAmount.Text) or DamageAmount.Text)
- end
- end
- end
- end
- end)()
- end
- --Properties:
- JERSEHUB.Name = "JERSEHUB"
- JERSEHUB.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- JERSEHUB.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- MAIN.Name = "MAIN"
- MAIN.Parent = JERSEHUB
- MAIN.Active = true
- MAIN.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- MAIN.BorderColor3 = Color3.fromRGB(173, 173, 173)
- MAIN.BorderSizePixel = 6
- MAIN.Draggable = true
- MAIN.Position = UDim2.new(0.321252078, 0, 0.24924013, 0)
- MAIN.Size = UDim2.new(0, 538, 0, 353)
- MAIN.Visible = false
- turnoff.Name = "turnoff"
- turnoff.Parent = MAIN
- turnoff.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- turnoff.BackgroundTransparency = 1.000
- turnoff.Position = UDim2.new(0.908921957, 0, 0, 0)
- turnoff.Size = UDim2.new(0, 49, 0, 42)
- turnoff.Font = Enum.Font.Ubuntu
- turnoff.Text = "X"
- turnoff.TextColor3 = Color3.fromRGB(0, 0, 0)
- turnoff.TextSize = 30.000
- turnoff.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
- UICorner.Parent = turnoff
- DMG.Name = "DMG"
- DMG.Parent = MAIN
- DMG.BackgroundColor3 = Color3.fromRGB(90, 90, 90)
- DMG.BackgroundTransparency = 0.700
- DMG.BorderSizePixel = 0
- DMG.Position = UDim2.new(0.204460979, 0, 0.654390931, 0)
- DMG.Size = UDim2.new(0, 200, 0, 50)
- DMG.Font = Enum.Font.Ubuntu
- DMG.Text = "Open damage UI"
- DMG.TextColor3 = Color3.fromRGB(0, 0, 0)
- DMG.TextSize = 14.000
- UICorner_2.Parent = DMG
- WalkspeedButton.Name = "WalkspeedButton"
- WalkspeedButton.Parent = MAIN
- WalkspeedButton.BackgroundColor3 = Color3.fromRGB(90, 90, 90)
- WalkspeedButton.BackgroundTransparency = 0.700
- WalkspeedButton.BorderSizePixel = 0
- WalkspeedButton.Position = UDim2.new(0.644981384, 0, 0.654390991, 0)
- WalkspeedButton.Size = UDim2.new(0, 84, 0, 50)
- WalkspeedButton.Font = Enum.Font.Ubuntu
- WalkspeedButton.Text = "WALKSPEED"
- WalkspeedButton.TextColor3 = Color3.fromRGB(0, 0, 0)
- WalkspeedButton.TextSize = 14.000
- UICorner_3.Parent = WalkspeedButton
- Walkspeed2.Name = "Walkspeed2"
- Walkspeed2.Parent = MAIN
- Walkspeed2.BackgroundColor3 = Color3.fromRGB(211, 211, 211)
- Walkspeed2.BackgroundTransparency = 0.500
- Walkspeed2.Position = UDim2.new(0.644981384, 0, 0.818696916, 0)
- Walkspeed2.Size = UDim2.new(0, 84, 0, 50)
- Walkspeed2.Font = Enum.Font.Ubuntu
- Walkspeed2.Text = "walkspeed"
- Walkspeed2.TextColor3 = Color3.fromRGB(0, 0, 0)
- Walkspeed2.TextSize = 14.000
- UICorner_4.Parent = Walkspeed2
- JumppowerButton.Name = "JumppowerButton"
- JumppowerButton.Parent = MAIN
- JumppowerButton.BackgroundColor3 = Color3.fromRGB(90, 90, 90)
- JumppowerButton.BackgroundTransparency = 0.700
- JumppowerButton.BorderSizePixel = 0
- JumppowerButton.Position = UDim2.new(0.821561337, 0, 0.654390991, 0)
- JumppowerButton.Size = UDim2.new(0, 84, 0, 50)
- JumppowerButton.Font = Enum.Font.Ubuntu
- JumppowerButton.Text = "JUMPPOWER"
- JumppowerButton.TextColor3 = Color3.fromRGB(0, 0, 0)
- JumppowerButton.TextSize = 14.000
- UICorner_5.Parent = JumppowerButton
- Jumppower2.Name = "Jumppower2"
- Jumppower2.Parent = MAIN
- Jumppower2.BackgroundColor3 = Color3.fromRGB(211, 211, 211)
- Jumppower2.BackgroundTransparency = 0.500
- Jumppower2.Position = UDim2.new(0.821561337, 0, 0.818696916, 0)
- Jumppower2.Size = UDim2.new(0, 84, 0, 50)
- Jumppower2.Font = Enum.Font.Ubuntu
- Jumppower2.Text = "jumppower"
- Jumppower2.TextColor3 = Color3.fromRGB(0, 0, 0)
- Jumppower2.TextSize = 14.000
- UICorner_6.Parent = Jumppower2
- UICorner_7.Parent = MAIN
- TeleportUI.Name = "TeleportUI"
- TeleportUI.Parent = MAIN
- TeleportUI.Active = true
- TeleportUI.BackgroundColor3 = Color3.fromRGB(214, 214, 214)
- TeleportUI.BorderSizePixel = 0
- TeleportUI.Draggable = true
- TeleportUI.Position = UDim2.new(0.179553911, -2, -0.388668567, 0)
- TeleportUI.Size = UDim2.new(0, 406, 0, 303)
- TeleportUI.Visible = false
- TeleportUiName.Name = "TeleportUiName"
- TeleportUiName.Parent = TeleportUI
- TeleportUiName.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TeleportUiName.BackgroundTransparency = 1.000
- TeleportUiName.Size = UDim2.new(0, 406, 0, 34)
- TeleportUiName.Font = Enum.Font.Ubuntu
- TeleportUiName.Text = "Teleport UI"
- TeleportUiName.TextColor3 = Color3.fromRGB(255, 255, 255)
- TeleportUiName.TextSize = 25.000
- UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(212, 80, 255)), ColorSequenceKeypoint.new(0.10, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(0.87, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(212, 80, 255))}
- UIGradient.Rotation = 90
- UIGradient.Transparency = NumberSequence.new{NumberSequenceKeypoint.new(0.00, 0.32), NumberSequenceKeypoint.new(0.05, 0.00), NumberSequenceKeypoint.new(0.93, 0.00), NumberSequenceKeypoint.new(1.00, 0.40)}
- UIGradient.Parent = TeleportUiName
- Players.Name = "Players"
- Players.Parent = DamageUI
- Players.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Players.BackgroundTransparency = 0.900
- Players.BorderSizePixel = 0
- Players.Position = UDim2.new(0, 0, 0.408905327, 0)
- Players.Size = UDim2.new(0, 406, 0, 161)
- UIGridLayout.Parent = Players
- UIGridLayout.SortOrder = Enum.SortOrder.LayoutOrder
- UIGridLayout.CellPadding = UDim2.new(0, 2, 0, 2)
- UIGridLayout.CellSize = UDim2.new(0, 100, 0, 15)
- turnoffdamage.Name = "turnoffdamage"
- turnoffdamage.Parent = TeleportUI
- turnoffdamage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- turnoffdamage.BackgroundTransparency = 1.000
- turnoffdamage.Position = UDim2.new(0.876902223, 0, 0, 0)
- turnoffdamage.Size = UDim2.new(0, 49, 0, 42)
- turnoffdamage.Font = Enum.Font.Ubuntu
- turnoffdamage.Text = "X"
- turnoffdamage.TextColor3 = Color3.fromRGB(0, 0, 0)
- turnoffdamage.TextSize = 30.000
- turnoffdamage.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
- UICorner_8.Parent = turnoffdamage
- UICorner_9.Parent = TeleportUI
- DamageUI.Name = "DamageUI"
- DamageUI.Parent = MAIN
- DamageUI.Active = true
- DamageUI.BackgroundColor3 = Color3.fromRGB(214, 214, 214)
- DamageUI.BorderSizePixel = 0
- DamageUI.Draggable = true
- DamageUI.Position = UDim2.new(-0.663568795, 0, 0.118980169, 0)
- DamageUI.Size = UDim2.new(0, 406, 0, 303)
- DamageUI.Visible = false
- DamageUiName.Name = "DamageUiName"
- DamageUiName.Parent = DamageUI
- DamageUiName.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- DamageUiName.BackgroundTransparency = 1.000
- DamageUiName.Size = UDim2.new(0, 406, 0, 34)
- DamageUiName.Font = Enum.Font.Ubuntu
- DamageUiName.Text = "Damage UI"
- DamageUiName.TextColor3 = Color3.fromRGB(255, 255, 255)
- DamageUiName.TextSize = 25.000
- UIGradient_2.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(212, 80, 255)), ColorSequenceKeypoint.new(0.10, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(0.87, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(212, 80, 255))}
- UIGradient_2.Rotation = 90
- UIGradient_2.Transparency = NumberSequence.new{NumberSequenceKeypoint.new(0.00, 0.32), NumberSequenceKeypoint.new(0.05, 0.00), NumberSequenceKeypoint.new(0.93, 0.00), NumberSequenceKeypoint.new(1.00, 0.40)}
- UIGradient_2.Parent = DamageUiName
- Players_2.Name = "Players"
- Players_2.Parent = TeleportUI
- Players_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Players_2.BackgroundTransparency = 0.900
- Players_2.BorderSizePixel = 0
- Players_2.Position = UDim2.new(0, 0, 0.408905327, 0)
- Players_2.Size = UDim2.new(0, 406, 0, 161)
- UIGridLayout_2.Parent = Players_2
- UIGridLayout_2.SortOrder = Enum.SortOrder.LayoutOrder
- UIGridLayout_2.CellPadding = UDim2.new(0, 2, 0, 2)
- UIGridLayout_2.CellSize = UDim2.new(0, 100, 0, 15)
- turnoffdamage_2.Name = "turnoffdamage"
- turnoffdamage_2.Parent = DamageUI
- turnoffdamage_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- turnoffdamage_2.BackgroundTransparency = 1.000
- turnoffdamage_2.Position = UDim2.new(0.876902223, 0, 0, 0)
- turnoffdamage_2.Size = UDim2.new(0, 49, 0, 42)
- turnoffdamage_2.Font = Enum.Font.Ubuntu
- turnoffdamage_2.Text = "X"
- turnoffdamage_2.TextColor3 = Color3.fromRGB(0, 0, 0)
- turnoffdamage_2.TextSize = 30.000
- turnoffdamage_2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
- UICorner_10.Parent = turnoffdamage_2
- DamageAll.Name = "DamageAll"
- DamageAll.Parent = DamageUI
- DamageAll.BackgroundColor3 = Color3.fromRGB(126, 126, 126)
- DamageAll.BackgroundTransparency = 0.500
- DamageAll.Position = UDim2.new(0.0172413792, 0, 0.114406772, 0)
- DamageAll.Size = UDim2.new(0, 139, 0, 41)
- DamageAll.Font = Enum.Font.Ubuntu
- DamageAll.Text = "Damage Everyone"
- DamageAll.TextColor3 = Color3.fromRGB(255, 255, 255)
- DamageAll.TextScaled = true
- DamageAll.TextSize = 14.000
- DamageAll.TextWrapped = true
- UICorner_11.Parent = DamageAll
- DamageAmount.Name = "DamageAmount"
- DamageAmount.Parent = DamageUI
- DamageAmount.BackgroundColor3 = Color3.fromRGB(126, 126, 126)
- DamageAmount.BackgroundTransparency = 0.500
- DamageAmount.Position = UDim2.new(0.687, 0,0.276, 0)
- DamageAmount.Size = UDim2.new(0, 90, 0, 27)
- DamageAmount.Font = Enum.Font.Ubuntu
- DamageAmount.PlaceholderColor3 = Color3.fromRGB(255, 255, 255)
- DamageAmount.Text = "5"
- DamageAmount.TextColor3 = Color3.fromRGB(255, 255, 255)
- DamageAmount.TextSize = 20.000
- DamageAmount.TextWrapped = true
- DamageAmount.TextScaled = true;
- UICorner_12.Parent = DamageAmount
- DamageWarning.Name = "DamageWarning"
- DamageWarning.Parent = DamageUI
- DamageWarning.BackgroundColor3 = Color3.fromRGB(126, 126, 126)
- DamageWarning.Position = UDim2.new(0.440886676, 0, 0.138613865, 0)
- DamageWarning.Size = UDim2.new(0, 210, 0, 34)
- DamageWarning.Font = Enum.Font.Ubuntu
- DamageWarning.Text = "Enter damage below. It can be a text/anything. if number then if more than 150 u tp to enemy and do dmg";
- DamageWarning.TextColor3 = Color3.fromRGB(255, 255, 255)
- DamageWarning.TextScaled = true
- DamageWarning.TextSize = 14.000
- DamageWarning.TextWrapped = true
- UICorner_13.Parent = DamageWarning
- UICorner_14.Parent = DamageUI
- Knockback.Name = "Knockback"
- Knockback.Parent = DamageUI
- Knockback.BackgroundColor3 = Color3.fromRGB(126, 126, 126)
- Knockback.BackgroundTransparency = 0.500
- Knockback.Position = UDim2.new(0.049, 0,0.276, 0)
- Knockback.Size = UDim2.new(0, 113,0, 27)
- Knockback.Font = Enum.Font.Ubuntu
- --Knockback.PlaceholderColor3 = Color3.fromRGB(255, 255, 255)
- Knockback.Text = "Knockback True"
- Knockback.TextColor3 = Color3.fromRGB(255, 255, 255)
- Knockback.TextSize = 20.000
- Knockback.TextWrapped = true
- Knockback.TextScaled = true;
- UICorner_15.Parent = Knockback
- DMG_2.Name = "DMG"
- DMG_2.Parent = MAIN
- DMG_2.BackgroundColor3 = Color3.fromRGB(90, 90, 90)
- DMG_2.BackgroundTransparency = 0.700
- DMG_2.BorderSizePixel = 0
- DMG_2.Position = UDim2.new(0.20631972, 0, 0.818696856, 0)
- DMG_2.Size = UDim2.new(0, 200, 0, 50)
- DMG_2.Font = Enum.Font.Ubuntu
- DMG_2.Text = "Open teleport UI"
- DMG_2.TextColor3 = Color3.fromRGB(0, 0, 0)
- DMG_2.TextSize = 14.000
- UICorner_16.Parent = DMG_2
- gamer.Name = "gamer"
- gamer.Parent = MAIN
- gamer.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- gamer.BackgroundTransparency = 1.000
- gamer.Position = UDim2.new(0.300000012, 0, 0, 0)
- gamer.Size = UDim2.new(0, 200, 0, 50)
- gamer.Font = Enum.Font.Ubuntu
- gamer.Text = "Jerse is gamer"
- gamer.TextColor3 = Color3.fromRGB(0, 0, 0)
- gamer.TextScaled = true
- gamer.TextSize = 14.000
- gamer.TextWrapped = true
- turnon.Name = "turnon"
- turnon.Parent = JERSEHUB
- turnon.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- turnon.BorderSizePixel = 0
- turnon.Position = UDim2.new(0.9171592, 0, 0.600303948, 0)
- turnon.Size = UDim2.new(0, 100, 0, 28)
- turnon.Font = Enum.Font.Ubuntu
- turnon.Text = "TURN ON"
- turnon.TextColor3 = Color3.fromRGB(0, 0, 0)
- turnon.TextScaled = true
- turnon.TextSize = 30.000
- turnon.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
- turnon.TextWrapped = true
- UICorner_17.Parent = turnon
- KillAllToggle.Name = "Knockback"
- KillAllToggle.Parent = DamageUI
- KillAllToggle.BackgroundColor3 = Color3.fromRGB(126, 126, 126)
- KillAllToggle.BackgroundTransparency = 0.500
- KillAllToggle.Position = UDim2.new(0.36, 0,0.276, 0)
- KillAllToggle.Size = UDim2.new(0, 113,0, 27)
- KillAllToggle.Font = Enum.Font.Ubuntu
- KillAllToggle.Text = "Looped False"
- KillAllToggle.TextColor3 = Color3.fromRGB(255, 255, 255)
- KillAllToggle.TextSize = 20.000
- KillAllToggle.TextWrapped = true
- AnotherCorner.Parent = KillAllToggle
- WalkspeedButton.MouseButton1Click:Connect(function()
- if tonumber(Walkspeed2.Text)then
- P.Character.Humanoid.WalkSpeed = tonumber(Walkspeed2.Text)
- end;
- end);
- JumppowerButton.MouseButton1Click:Connect(function()
- if tonumber(Jumppower2.Text)then
- P.Character.Humanoid.JumpPower = tonumber(Jumppower2.Text)
- end;
- end);
- KillAllToggle.MouseButton1Click:Connect(function()
- if (KillAllToggle.Text == "Looped True") then
- KillAllToggle.Text = "Looped False";
- else
- KillAllToggle.Text = "Looped True";
- end
- end);
- Knockback.MouseButton1Click:Connect(function()
- if (Knockback.Text == "Knockback True") then
- Knockback.Text = "Knockback False";
- else
- Knockback.Text = "Knockback True";
- end
- end);
- turnoff.MouseButton1Click:Connect(function()
- MAIN.Visible = false;
- turnon.Visible = true;
- end);
- turnon.MouseButton1Click:Connect(function()
- MAIN.Visible = true;
- turnon.Visible = false;
- end);
- turnoffdamage_2.MouseButton1Click:Connect(function()
- DamageUI.Visible = false;
- end);
- turnoffdamage.MouseButton1Click:Connect(function()
- TeleportUI.Visible = false;
- end);
- DMG.MouseButton1Click:Connect(function()
- DamageUI.Visible = true;
- end);
- DMG_2.MouseButton1Click:Connect(function()
- TeleportUI.Visible = true;
- end);
- DamageAll.MouseButton1Click:Connect(function()
- for i,v in pairs(workspace:GetChildren()) do
- if v:IsA('Model') and v ~= P.Character then
- local Character = v;
- local Humanoid = Character:FindFirstChildWhichIsA('Humanoid');
- if Humanoid then
- local HumanoidRootPart = Character:FindFirstChild('HumanoidRootPart');
- if HumanoidRootPart and Humanoid.Health > 0 then
- print(Character:GetFullName(),Humanoid.Health);
- Damage(Humanoid,HumanoidRootPart)
- --[[spawn(function()
- if getLoop(KillAllToggle.Text) then
- repeat wait()
- if getKB(Knockback.Text) then
- game:GetService("ReplicatedStorage").Damage:FireServer(Humanoid, HumanoidRootPart.CFrame, tonumber(DamageAmount.Text), .1, Vector3.new(0,0,0), "rbxassetid://241837157", 4, Color3.new(0,0,0), "rbxassetid://5698452679", 1,math.huge)
- else
- game:GetService("ReplicatedStorage").Damage:FireServer(Humanoid, HumanoidRootPart.CFrame, tonumber(DamageAmount.Text), .1, Vector3.new(math.random(1,1000),math.random(1,1000),math.random(1,1000)), "rbxassetid://241837157", 4, Color3.new(0,0,0), "rbxassetid://5698452679", 1,math.huge)
- end
- until not getLoop(KillAllToggle.Text);
- else
- if getKB(Knockback.Text) then
- game:GetService("ReplicatedStorage").Damage:FireServer(Humanoid, HumanoidRootPart.CFrame, tonumber(DamageAmount.Text), .1, Vector3.new(0,0,0), "rbxassetid://241837157", 4, Color3.new(0,0,0), "rbxassetid://5698452679", 1,math.huge)
- else
- game:GetService("ReplicatedStorage").Damage:FireServer(Humanoid, HumanoidRootPart.CFrame, tonumber(DamageAmount.Text), .1, Vector3.new(math.random(1,1000),math.random(1,1000),math.random(1,1000)), "rbxassetid://241837157", 4, Color3.new(0,0,0), "rbxassetid://5698452679", 1,math.huge)
- end
- end
- end)]]
- end
- end
- end
- end
- end)
- for i,v in pairs(workspace:GetChildren()) do
- if v:IsA('Model') and v ~= P.Character then
- local Character = v;
- local Humanoid = Character:FindFirstChildWhichIsA('Humanoid');
- if Humanoid then
- local HumanoidRootPart = Character:FindFirstChild('HumanoidRootPart');
- if HumanoidRootPart and not Players:FindFirstChild(Character.Name) then
- spawn(function()
- local RealJerse3 = Instance.new("TextButton");
- RealJerse3.Name = Character.Name
- RealJerse3.Parent = Players_2
- RealJerse3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- RealJerse3.BackgroundTransparency = 0.500
- RealJerse3.BorderSizePixel = 0
- RealJerse3.Size = UDim2.new(0, 130, 0, 23)
- RealJerse3.Font = Enum.Font.Ubuntu
- RealJerse3.Text = Character.Name
- RealJerse3.TextColor3 = Color3.fromRGB(0, 0, 0)
- RealJerse3.TextScaled = true
- RealJerse3.TextSize = 10.000
- RealJerse3.TextWrapped = true
- print('ok',RealJerse3:GetFullName());
- RealJerse3.MouseButton1Click:Connect(function()
- print('ckickc')
- P.Character.HumanoidRootPart.CFrame = HumanoidRootPart.CFrame * CFrame.new(0,2,0);
- end);
- end)
- local RealJerse = Instance.new("TextButton");
- RealJerse.Name = Character.Name
- RealJerse.Parent = Players
- RealJerse.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- RealJerse.BackgroundTransparency = 0.500
- RealJerse.BorderSizePixel = 0
- RealJerse.Size = UDim2.new(0, 130, 0, 23)
- RealJerse.Font = Enum.Font.Ubuntu
- RealJerse.Text = Character.Name
- RealJerse.TextColor3 = Color3.fromRGB(0, 0, 0)
- RealJerse.TextScaled = true
- RealJerse.TextSize = 10.000
- RealJerse.TextWrapped = true
- RealJerse.MouseButton1Click:Connect(function()
- print(Character:GetFullName(),Humanoid.Health);
- Damage(Humanoid,HumanoidRootPart)
- --[[spawn(function()
- if getLoop(KillAllToggle.Text) then
- repeat wait()
- if getKB(Knockback.Text) then
- game:GetService("ReplicatedStorage").Damage:FireServer(Humanoid, HumanoidRootPart.CFrame, tonumber(DamageAmount.Text), .1, Vector3.new(0,0,0), "rbxassetid://241837157", 4, Color3.new(0,0,0), "rbxassetid://5698452679", 1,math.huge)
- else
- game:GetService("ReplicatedStorage").Damage:FireServer(Humanoid, HumanoidRootPart.CFrame, tonumber(DamageAmount.Text), .1, Vector3.new(math.random(1,1000),math.random(1,1000),math.random(1,1000)), "rbxassetid://241837157", 4, Color3.new(0,0,0), "rbxassetid://5698452679", 1,math.huge)
- end
- until not getLoop(KillAllToggle.Text);
- else
- if getKB(Knockback.Text) then
- game:GetService("ReplicatedStorage").Damage:FireServer(Humanoid, HumanoidRootPart.CFrame, tonumber(DamageAmount.Text), .1, Vector3.new(0,0,0), "rbxassetid://241837157", 4, Color3.new(0,0,0), "rbxassetid://5698452679", 1,math.huge)
- else
- game:GetService("ReplicatedStorage").Damage:FireServer(Humanoid, HumanoidRootPart.CFrame, tonumber(DamageAmount.Text), .1, Vector3.new(math.random(1,1000),math.random(1,1000),math.random(1,1000)), "rbxassetid://241837157", 4, Color3.new(0,0,0), "rbxassetid://5698452679", 1,math.huge)
- end
- end
- end)]]
- end);
- end;
- end;
- end;
- game:GetService('RunService').Heartbeat:Wait();
- end;
- spawn(function()
- workspace.ChildRemoved:Connect(function(child)
- if Players:FindFirstChild(child.Name) then
- Players:FindFirstChild(child.Name):Destroy();
- end
- if Players_2:FindFirstChild(child.Name) then
- Players_2:FindFirstChild(child.Name):Destroy();
- end
- end);
- workspace.ChildAdded:Connect(function(child)
- print('Child has been added');
- wait(.5);
- if child:IsA('Model') and child ~= P.Character then
- local Humanoid2 = child:FindFirstChildWhichIsA('Humanoid');
- if Humanoid2 then
- local HumanoidRootPart2 = child:FindFirstChild('HumanoidRootPart');
- if HumanoidRootPart2 and not Players:FindFirstChild(child.Name) then
- spawn(function()
- local RealJerse3 = Instance.new("TextButton");
- RealJerse3.Name = child.Name
- RealJerse3.Parent = Players_2
- RealJerse3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- RealJerse3.BackgroundTransparency = 0.500
- RealJerse3.BorderSizePixel = 0
- RealJerse3.Size = UDim2.new(0, 130, 0, 23)
- RealJerse3.Font = Enum.Font.Ubuntu
- RealJerse3.Text = child.Name
- RealJerse3.TextColor3 = Color3.fromRGB(0, 0, 0)
- RealJerse3.TextScaled = true
- RealJerse3.TextSize = 10.000
- RealJerse3.TextWrapped = true
- RealJerse3.MouseButton1Click:Connect(function()
- P.Character.HumanoidRootPart.CFrame = HumanoidRootPart2.CFrame * CFrame.new(0,2,0);
- end);
- end)
- print(child.Name,'Child is a Character');
- local RealJerse2 = Instance.new("TextButton");
- RealJerse2.Name = child.Name
- RealJerse2.Parent = Players
- RealJerse2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- RealJerse2.BackgroundTransparency = 0.500
- RealJerse2.BorderSizePixel = 0
- RealJerse2.Size = UDim2.new(0, 130, 0, 23)
- RealJerse2.Font = Enum.Font.Ubuntu
- RealJerse2.Text = child.Name
- RealJerse2.TextColor3 = Color3.fromRGB(0, 0, 0)
- RealJerse2.TextScaled = true
- RealJerse2.TextSize = 10.000
- RealJerse2.TextWrapped = true
- RealJerse2.MouseButton1Click:Connect(function()
- print(child:GetFullName(),Humanoid2.Health);
- Damage(Humanoid2,HumanoidRootPart2)
- --[[spawn(function()
- if getLoop(KillAllToggle.Text) then
- repeat wait()
- if getKB(Knockback.Text) then
- game:GetService("ReplicatedStorage").Damage:FireServer(Humanoid2, HumanoidRootPart2.CFrame, tonumber(DamageAmount.Text), .1, Vector3.new(0,0,0), "rbxassetid://241837157", 4, Color3.new(0,0,0), "rbxassetid://5698452679", 1,math.huge)
- else
- game:GetService("ReplicatedStorage").Damage:FireServer(Humanoid2, HumanoidRootPart2.CFrame, tonumber(DamageAmount.Text), .1, Vector3.new(math.random(1,1000),math.random(1,1000),math.random(1,1000)), "rbxassetid://241837157", 4, Color3.new(0,0,0), "rbxassetid://5698452679", 1,math.huge)
- end
- until not getLoop(KillAllToggle.Text);
- else
- if getKB(Knockback.Text) then
- game:GetService("ReplicatedStorage").Damage:FireServer(Humanoid2, HumanoidRootPart2.CFrame, tonumber(DamageAmount.Text), .1, Vector3.new(0,0,0), "rbxassetid://241837157", 4, Color3.new(0,0,0), "rbxassetid://5698452679", 1,math.huge)
- else
- game:GetService("ReplicatedStorage").Damage:FireServer(Humanoid2, HumanoidRootPart2.CFrame, tonumber(DamageAmount.Text), .1, Vector3.new(math.random(1,1000),math.random(1,1000),math.random(1,1000)), "rbxassetid://241837157", 4, Color3.new(0,0,0), "rbxassetid://5698452679", 1,math.huge)
- end
- end
- end)]]
- end)
- end
- end
- end;
- end);
- end);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement