Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local BridgeSwordFightGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local Kill = Instance.new("TextButton")
- local SafeMode = Instance.new("TextButton")
- local KillAll = Instance.new("TextButton")
- local PrintPlayers = Instance.new("TextButton")
- local PlayerText = Instance.new("TextBox")
- -- Properties
- BridgeSwordFightGui.Name = "Bridge Sword Fight Gui"
- BridgeSwordFightGui.Parent = game.CoreGui
- BridgeSwordFightGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame.Active = true
- Frame.Draggable = true
- Frame.Parent = BridgeSwordFightGui
- Frame.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- Frame.BorderColor3 = Color3.new(0, 0, 0)
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0.1, 0, 0.5, 0)
- Frame.Size = UDim2.new(0, 344, 0, 239)
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel.BorderColor3 = Color3.new(1, 1, 1)
- TextLabel.Size = UDim2.new(0, 344, 0, 51)
- TextLabel.Font = Enum.Font.Cartoon
- TextLabel.Text = "Bridge Sword Fight Gui"
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- Kill.Name = "Kill"
- Kill.Parent = Frame
- Kill.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
- Kill.BorderColor3 = Color3.new(0, 0, 0)
- Kill.BorderSizePixel = 0
- Kill.Position = UDim2.new(0, 0, 0.443514645, 0)
- Kill.Size = UDim2.new(0, 97, 0, 37)
- Kill.Font = Enum.Font.Cartoon
- Kill.Text = "Kill"
- Kill.TextColor3 = Color3.new(0, 0, 0)
- Kill.TextScaled = true
- Kill.TextSize = 14
- Kill.TextWrapped = true
- SafeMode.Name = "Safe Mode"
- SafeMode.Parent = Frame
- SafeMode.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
- SafeMode.BorderColor3 = Color3.new(0, 0, 0)
- SafeMode.BorderSizePixel = 0
- SafeMode.Position = UDim2.new(0.718023241, 0, 0.443514645, 0)
- SafeMode.Size = UDim2.new(0, 97, 0, 37)
- SafeMode.Font = Enum.Font.Cartoon
- SafeMode.Text = "Safe Mode Toggle (off)"
- SafeMode.TextColor3 = Color3.new(0, 0, 0)
- SafeMode.TextScaled = true
- SafeMode.TextSize = 14
- SafeMode.TextWrapped = true
- KillAll.Name = "Kill All"
- KillAll.Parent = Frame
- KillAll.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
- KillAll.BorderColor3 = Color3.new(0, 0, 0)
- KillAll.BorderSizePixel = 0
- KillAll.Position = UDim2.new(0.357558131, 0, 0.443514645, 0)
- KillAll.Size = UDim2.new(0, 97, 0, 37)
- KillAll.Font = Enum.Font.Cartoon
- KillAll.Text = "Kill All"
- KillAll.TextColor3 = Color3.new(0, 0, 0)
- KillAll.TextScaled = true
- KillAll.TextSize = 14
- KillAll.TextWrapped = true
- PrintPlayers.Name = "Print Players"
- PrintPlayers.Parent = Frame
- PrintPlayers.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
- PrintPlayers.BorderColor3 = Color3.new(0, 0, 0)
- PrintPlayers.BorderSizePixel = 0
- PrintPlayers.Position = UDim2.new(0.642, 0, 0.847, 0)
- PrintPlayers.Size = UDim2.new(0, 123, 0, 37)
- PrintPlayers.Font = Enum.Font.Cartoon
- PrintPlayers.Text = "Print Players"
- PrintPlayers.TextColor3 = Color3.new(0, 0, 0)
- PrintPlayers.TextScaled = true
- PrintPlayers.TextSize = 14
- PrintPlayers.TextWrapped = true
- PlayerText.Name = "PlayerText"
- PlayerText.Parent = Frame
- PlayerText.BackgroundColor3 = Color3.new(0.392157, 0.392157, 0.392157)
- PlayerText.BorderColor3 = Color3.new(0, 0, 0)
- PlayerText.BorderSizePixel = 0
- PlayerText.Position = UDim2.new(0, 0, 0.598326385, 0)
- PlayerText.Size = UDim2.new(0, 97, 0, 21)
- PlayerText.ClearTextOnFocus = true
- PlayerText.Font = Enum.Font.Cartoon
- PlayerText.PlaceholderColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- PlayerText.PlaceholderText = "Player"
- PlayerText.Text = ""
- PlayerText.TextColor3 = Color3.new(0, 0, 0)
- PlayerText.TextScaled = true
- PlayerText.TextSize = 14
- PlayerText.TextWrapped = true
- function GetPlayer(String)
- local Found = {}
- local strl = String:lower()
- for i,v in pairs(game.Players:GetPlayers()) do
- if v.Name:lower():sub(1, #String) == String:lower() then
- table.insert(Found,v.Name)
- end
- end
- return Found
- end
- Kill.MouseButton1Click:Connect(function()
- for _,Victim in pairs(GetPlayer(PlayerText.Text)) do
- if game.Players:FindFirstChild(Victim) then
- if game.Players[Victim].Character:FindFirstChild("ForceField") then
- game:GetService("StarterGui"):SetCore("SendNotification", {
- Title = "Error Code: 01";
- Text = "Player currently has ForceField.";
- Duration = 5;
- })
- elseif game.Players[Victim].Character.Humanoid.Health == 0 then
- game:GetService("StarterGui"):SetCore("SendNotification", {
- Title = "Error Code: 02";
- Text = Victim.." is currently is dead.";
- Duration = 5;
- })
- elseif not game.Players.LocalPlayer.Character:FindFirstChild("Right Arm") then
- game:GetService("StarterGui"):SetCore("SendNotification", {
- Title = "Error Code: 03";
- Text = "Right Arm required to kill "..Victim..".";
- Duration = 5;
- })
- elseif game.Players.LocalPlayer.Character.Humanoid.Health == 0 then
- game:GetService("StarterGui"):SetCore("SendNotification", {
- Title = "Error Code: 04";
- Text = "You are currently dead.";
- Duration = 5;
- })
- elseif game.Players.LocalPlayer.Character.Humanoid.Health < (game.Players.LocalPlayer.Character.Humanoid.MaxHealth-10) then
- local function CallBack(Value)
- if Value == "Yes" then
- game.Players.LocalPlayer.Backpack:FindFirstChild("RegSword").Parent = game.Players.LocalPlayer
- game.Players.LocalPlayer.Character.Archivable = true
- TempClone = game.Players.LocalPlayer.Character:Clone()
- TempClone.Parent = workspace
- TempClone.Name = ""
- workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
- for i,v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
- if v:IsA("Part") then
- if v.Name == "HumanoidRootPart" then
- else
- v.Transparency = 1
- end
- end
- end
- if game.Players.LocalPlayer.Character.Head:FindFirstChildOfClass("Decal") then
- game.Players.LocalPlayer.Character.Head:FindFirstChildOfClass("Decal").Transparency = 1
- end
- pos = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- game.Players.LocalPlayer.Character.Humanoid:UnequipTools()
- game.Players.LocalPlayer.Backpack:FindFirstChild("LinkedSword").Handle.Transparency = 1
- game.Players.LocalPlayer.Backpack:FindFirstChild("LinkedSword").Parent = game.Players.LocalPlayer.Character
- repeat
- game.Players.LocalPlayer.Character:FindFirstChild("LinkedSword"):Activate()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[Victim].Character.HumanoidRootPart.CFrame - Vector3.new(0,game.Players.LocalPlayer.Character:FindFirstChild("LinkedSword").Handle.Size.Z-1,0) + game.Players[Victim].Character.HumanoidRootPart.CFrame.lookVector * -2
- game:GetService("RunService").Stepped:Wait()
- until game.Players[Victim].Character.Humanoid.Health == 0
- game.Players.LocalPlayer.Character:FindFirstChild("LinkedSword").Handle.Transparency = 0
- game.Players.LocalPlayer.Character.Humanoid:UnequipTools()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = pos
- for i,v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
- if v:IsA("Part") then
- if v.Name == "HumanoidRootPart" then
- else
- v.Transparency = 0
- end
- end
- end
- if game.Players.LocalPlayer.Character.Head:FindFirstChildOfClass("Decal") then
- game.Players.LocalPlayer.Character.Head:FindFirstChildOfClass("Decal").Transparency = 0
- end
- workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
- TempClone:Destroy()
- game.Players.LocalPlayer:FindFirstChild("RegSword").Parent = game.Players.LocalPlayer.Backpack
- elseif Value == "No" then
- end
- end
- local BindableFunction = Instance.new("BindableFunction")
- BindableFunction.OnInvoke = CallBack
- game:GetService("StarterGui"):SetCore("SendNotification", {
- Title = "Low Health";
- Text = "Proceed? "..Victim.." might kill you with a sword.";
- Duration = 30;
- Button1 = "Yes";
- Button2 = "No";
- Callback = BindableFunction;
- })
- else
- game.Players.LocalPlayer.Backpack:FindFirstChild("RegSword").Parent = game.Players.LocalPlayer
- game.Players.LocalPlayer.Character.Archivable = true
- TempClone = game.Players.LocalPlayer.Character:Clone()
- TempClone.Parent = workspace
- TempClone.Name = ""
- workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
- for i,v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
- if v:IsA("Part") then
- if v.Name == "HumanoidRootPart" then
- else
- v.Transparency = 1
- end
- end
- end
- if game.Players.LocalPlayer.Character.Head:FindFirstChildOfClass("Decal") then
- game.Players.LocalPlayer.Character.Head:FindFirstChildOfClass("Decal").Transparency = 1
- end
- pos = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- game.Players.LocalPlayer.Character.Humanoid:UnequipTools()
- game.Players.LocalPlayer.Backpack:FindFirstChild("LinkedSword").Handle.Transparency = 1
- game.Players.LocalPlayer.Backpack:FindFirstChild("LinkedSword").Parent = game.Players.LocalPlayer.Character
- repeat
- game.Players.LocalPlayer.Character:FindFirstChild("LinkedSword"):Activate()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[Victim].Character.HumanoidRootPart.CFrame - Vector3.new(0,game.Players.LocalPlayer.Character:FindFirstChild("LinkedSword").Handle.Size.Z-1,0) + game.Players[Victim].Character.HumanoidRootPart.CFrame.lookVector * -2
- game:GetService("RunService").Stepped:Wait()
- until game.Players[Victim].Character.Humanoid.Health == 0
- game.Players.LocalPlayer.Character:FindFirstChild("LinkedSword").Handle.Transparency = 0
- game.Players.LocalPlayer.Character.Humanoid:UnequipTools()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = pos
- for i,v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
- if v:IsA("Part") then
- if v.Name == "HumanoidRootPart" then
- else
- v.Transparency = 0
- end
- end
- end
- if game.Players.LocalPlayer.Character.Head:FindFirstChildOfClass("Decal") then
- game.Players.LocalPlayer.Character.Head:FindFirstChildOfClass("Decal").Transparency = 0
- end
- workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
- TempClone:Destroy()
- game.Players.LocalPlayer:FindFirstChild("RegSword").Parent = game.Players.LocalPlayer.Backpack
- end
- elseif not game.Players:FindFirstChild(Victim) then
- game:GetService("StarterGui"):SetCore("SendNotification", {
- Title = "Error Code: 05";
- Text = Victim.." is not a valid player.";
- Duration = 5;
- })
- end
- end
- end)
- SafeMode.MouseButton1Click:Connect(function()
- if game.Players.LocalPlayer.Character.Humanoid.HipHeight ~= 30 and SafeMode.Text == "Safe Mode Toggle (off)" then
- SafeMode.Text = "Safe Mode Toggle (on)"
- game.Players.LocalPlayer.Character.Humanoid.HipHeight = 30
- elseif game.Players.LocalPlayer.Character.Humanoid.HipHeight == 30 and SafeMode.Text == "Safe Mode Toggle (on)" then
- SafeMode.Text = "Safe Mode Toggle (off)"
- game.Players.LocalPlayer.Character.Humanoid.HipHeight = 0
- end
- end)
- KillAll.MouseButton1Click:Connect(function()
- pos = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- game.Players.LocalPlayer.Character.Humanoid:UnequipTools()
- game.Players.LocalPlayer.Backpack:FindFirstChild("LinkedSword").Parent = game.Players.LocalPlayer.Character
- game.Players.LocalPlayer.Character:FindFirstChild("LinkedSword").Handle.Size = Vector3.new(math.huge,math.huge,math.huge)
- for i=1,40 do
- game.Players.LocalPlayer.Character:FindFirstChild("LinkedSword"):Activate()
- wait(.1)
- end
- game.Players.LocalPlayer.Character.Humanoid:UnequipTools()
- game.Players.LocalPlayer.Character.Humanoid.Health = 0
- end)
- PrintPlayers.MouseButton1Click:Connect(function()
- game:GetService("StarterGui"):SetCore("DevConsoleVisible", true)
- print([[
- ==================================================
- ]])
- for i,v in pairs(game.Players:GetPlayers()) do
- print(v)
- end
- wait(10)
- game:GetService("StarterGui"):SetCore("DevConsoleVisible", false)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement