Advertisement
Runixer

Untitled

Jul 29th, 2019
549
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.50 KB | None | 0 0
  1. -- Objects
  2.  
  3. local BridgeSwordFightGui = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local TextLabel = Instance.new("TextLabel")
  6. local Kill = Instance.new("TextButton")
  7. local SafeMode = Instance.new("TextButton")
  8. local KillAll = Instance.new("TextButton")
  9. local PrintPlayers = Instance.new("TextButton")
  10. local PlayerText = Instance.new("TextBox")
  11.  
  12. -- Properties
  13.  
  14. BridgeSwordFightGui.Name = "Bridge Sword Fight Gui"
  15. BridgeSwordFightGui.Parent = game.CoreGui
  16. BridgeSwordFightGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  17.  
  18. Frame.Active = true
  19. Frame.Draggable = true
  20. Frame.Parent = BridgeSwordFightGui
  21. Frame.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  22. Frame.BorderColor3 = Color3.new(0, 0, 0)
  23. Frame.BorderSizePixel = 0
  24. Frame.Position = UDim2.new(0.1, 0, 0.5, 0)
  25. Frame.Size = UDim2.new(0, 344, 0, 239)
  26.  
  27. TextLabel.Parent = Frame
  28. TextLabel.BackgroundColor3 = Color3.new(0, 0, 0)
  29. TextLabel.BorderColor3 = Color3.new(1, 1, 1)
  30. TextLabel.Size = UDim2.new(0, 344, 0, 51)
  31. TextLabel.Font = Enum.Font.Cartoon
  32. TextLabel.Text = "Bridge Sword Fight Gui"
  33. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  34. TextLabel.TextScaled = true
  35. TextLabel.TextSize = 14
  36. TextLabel.TextWrapped = true
  37.  
  38. Kill.Name = "Kill"
  39. Kill.Parent = Frame
  40. Kill.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  41. Kill.BorderColor3 = Color3.new(0, 0, 0)
  42. Kill.BorderSizePixel = 0
  43. Kill.Position = UDim2.new(0, 0, 0.443514645, 0)
  44. Kill.Size = UDim2.new(0, 97, 0, 37)
  45. Kill.Font = Enum.Font.Cartoon
  46. Kill.Text = "Kill"
  47. Kill.TextColor3 = Color3.new(0, 0, 0)
  48. Kill.TextScaled = true
  49. Kill.TextSize = 14
  50. Kill.TextWrapped = true
  51.  
  52. SafeMode.Name = "Safe Mode"
  53. SafeMode.Parent = Frame
  54. SafeMode.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  55. SafeMode.BorderColor3 = Color3.new(0, 0, 0)
  56. SafeMode.BorderSizePixel = 0
  57. SafeMode.Position = UDim2.new(0.718023241, 0, 0.443514645, 0)
  58. SafeMode.Size = UDim2.new(0, 97, 0, 37)
  59. SafeMode.Font = Enum.Font.Cartoon
  60. SafeMode.Text = "Safe Mode Toggle (off)"
  61. SafeMode.TextColor3 = Color3.new(0, 0, 0)
  62. SafeMode.TextScaled = true
  63. SafeMode.TextSize = 14
  64. SafeMode.TextWrapped = true
  65.  
  66. KillAll.Name = "Kill All"
  67. KillAll.Parent = Frame
  68. KillAll.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  69. KillAll.BorderColor3 = Color3.new(0, 0, 0)
  70. KillAll.BorderSizePixel = 0
  71. KillAll.Position = UDim2.new(0.357558131, 0, 0.443514645, 0)
  72. KillAll.Size = UDim2.new(0, 97, 0, 37)
  73. KillAll.Font = Enum.Font.Cartoon
  74. KillAll.Text = "Kill All"
  75. KillAll.TextColor3 = Color3.new(0, 0, 0)
  76. KillAll.TextScaled = true
  77. KillAll.TextSize = 14
  78. KillAll.TextWrapped = true
  79.  
  80. PrintPlayers.Name = "Print Players"
  81. PrintPlayers.Parent = Frame
  82. PrintPlayers.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  83. PrintPlayers.BorderColor3 = Color3.new(0, 0, 0)
  84. PrintPlayers.BorderSizePixel = 0
  85. PrintPlayers.Position = UDim2.new(0.642, 0, 0.847, 0)
  86. PrintPlayers.Size = UDim2.new(0, 123, 0, 37)
  87. PrintPlayers.Font = Enum.Font.Cartoon
  88. PrintPlayers.Text = "Print Players"
  89. PrintPlayers.TextColor3 = Color3.new(0, 0, 0)
  90. PrintPlayers.TextScaled = true
  91. PrintPlayers.TextSize = 14
  92. PrintPlayers.TextWrapped = true
  93.  
  94. PlayerText.Name = "PlayerText"
  95. PlayerText.Parent = Frame
  96. PlayerText.BackgroundColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  97. PlayerText.BorderColor3 = Color3.new(0, 0, 0)
  98. PlayerText.BorderSizePixel = 0
  99. PlayerText.Position = UDim2.new(0, 0, 0.598326385, 0)
  100. PlayerText.Size = UDim2.new(0, 97, 0, 21)
  101. PlayerText.ClearTextOnFocus = true
  102. PlayerText.Font = Enum.Font.Cartoon
  103. PlayerText.PlaceholderColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  104. PlayerText.PlaceholderText = "Player"
  105. PlayerText.Text = ""
  106. PlayerText.TextColor3 = Color3.new(0, 0, 0)
  107. PlayerText.TextScaled = true
  108. PlayerText.TextSize = 14
  109. PlayerText.TextWrapped = true
  110.  
  111. function GetPlayer(String)
  112. local Found = {}
  113. local strl = String:lower()
  114. for i,v in pairs(game.Players:GetPlayers()) do
  115. if v.Name:lower():sub(1, #String) == String:lower() then
  116. table.insert(Found,v.Name)
  117. end
  118. end
  119. return Found
  120. end
  121.  
  122. Kill.MouseButton1Click:Connect(function()
  123. for _,Victim in pairs(GetPlayer(PlayerText.Text)) do
  124. if game.Players:FindFirstChild(Victim) then
  125. if game.Players[Victim].Character:FindFirstChild("ForceField") then
  126. game:GetService("StarterGui"):SetCore("SendNotification", {
  127. Title = "Error Code: 01";
  128. Text = "Player currently has ForceField.";
  129. Duration = 5;
  130. })
  131. elseif game.Players[Victim].Character.Humanoid.Health == 0 then
  132. game:GetService("StarterGui"):SetCore("SendNotification", {
  133. Title = "Error Code: 02";
  134. Text = Victim.." is currently is dead.";
  135. Duration = 5;
  136. })
  137. elseif not game.Players.LocalPlayer.Character:FindFirstChild("Right Arm") then
  138. game:GetService("StarterGui"):SetCore("SendNotification", {
  139. Title = "Error Code: 03";
  140. Text = "Right Arm required to kill "..Victim..".";
  141. Duration = 5;
  142. })
  143. elseif game.Players.LocalPlayer.Character.Humanoid.Health == 0 then
  144. game:GetService("StarterGui"):SetCore("SendNotification", {
  145. Title = "Error Code: 04";
  146. Text = "You are currently dead.";
  147. Duration = 5;
  148. })
  149. elseif game.Players.LocalPlayer.Character.Humanoid.Health < (game.Players.LocalPlayer.Character.Humanoid.MaxHealth-10) then
  150. local function CallBack(Value)
  151. if Value == "Yes" then
  152. game.Players.LocalPlayer.Backpack:FindFirstChild("RegSword").Parent = game.Players.LocalPlayer
  153. game.Players.LocalPlayer.Character.Archivable = true
  154. TempClone = game.Players.LocalPlayer.Character:Clone()
  155. TempClone.Parent = workspace
  156. TempClone.Name = ""
  157. workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
  158. for i,v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
  159. if v:IsA("Part") then
  160. if v.Name == "HumanoidRootPart" then
  161. else
  162. v.Transparency = 1
  163. end
  164. end
  165. end
  166. if game.Players.LocalPlayer.Character.Head:FindFirstChildOfClass("Decal") then
  167. game.Players.LocalPlayer.Character.Head:FindFirstChildOfClass("Decal").Transparency = 1
  168. end
  169. pos = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  170. game.Players.LocalPlayer.Character.Humanoid:UnequipTools()
  171. game.Players.LocalPlayer.Backpack:FindFirstChild("LinkedSword").Handle.Transparency = 1
  172. game.Players.LocalPlayer.Backpack:FindFirstChild("LinkedSword").Parent = game.Players.LocalPlayer.Character
  173. repeat
  174. game.Players.LocalPlayer.Character:FindFirstChild("LinkedSword"):Activate()
  175. 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
  176. game:GetService("RunService").Stepped:Wait()
  177. until game.Players[Victim].Character.Humanoid.Health == 0
  178. game.Players.LocalPlayer.Character:FindFirstChild("LinkedSword").Handle.Transparency = 0
  179. game.Players.LocalPlayer.Character.Humanoid:UnequipTools()
  180. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = pos
  181. for i,v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
  182. if v:IsA("Part") then
  183. if v.Name == "HumanoidRootPart" then
  184. else
  185. v.Transparency = 0
  186. end
  187. end
  188. end
  189. if game.Players.LocalPlayer.Character.Head:FindFirstChildOfClass("Decal") then
  190. game.Players.LocalPlayer.Character.Head:FindFirstChildOfClass("Decal").Transparency = 0
  191. end
  192. workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
  193. TempClone:Destroy()
  194. game.Players.LocalPlayer:FindFirstChild("RegSword").Parent = game.Players.LocalPlayer.Backpack
  195. elseif Value == "No" then
  196. end
  197. end
  198. local BindableFunction = Instance.new("BindableFunction")
  199. BindableFunction.OnInvoke = CallBack
  200. game:GetService("StarterGui"):SetCore("SendNotification", {
  201. Title = "Low Health";
  202. Text = "Proceed? "..Victim.." might kill you with a sword.";
  203. Duration = 30;
  204. Button1 = "Yes";
  205. Button2 = "No";
  206. Callback = BindableFunction;
  207. })
  208. else
  209. game.Players.LocalPlayer.Backpack:FindFirstChild("RegSword").Parent = game.Players.LocalPlayer
  210. game.Players.LocalPlayer.Character.Archivable = true
  211. TempClone = game.Players.LocalPlayer.Character:Clone()
  212. TempClone.Parent = workspace
  213. TempClone.Name = ""
  214. workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
  215. for i,v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
  216. if v:IsA("Part") then
  217. if v.Name == "HumanoidRootPart" then
  218. else
  219. v.Transparency = 1
  220. end
  221. end
  222. end
  223. if game.Players.LocalPlayer.Character.Head:FindFirstChildOfClass("Decal") then
  224. game.Players.LocalPlayer.Character.Head:FindFirstChildOfClass("Decal").Transparency = 1
  225. end
  226. pos = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  227. game.Players.LocalPlayer.Character.Humanoid:UnequipTools()
  228. game.Players.LocalPlayer.Backpack:FindFirstChild("LinkedSword").Handle.Transparency = 1
  229. game.Players.LocalPlayer.Backpack:FindFirstChild("LinkedSword").Parent = game.Players.LocalPlayer.Character
  230. repeat
  231. game.Players.LocalPlayer.Character:FindFirstChild("LinkedSword"):Activate()
  232. 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
  233. game:GetService("RunService").Stepped:Wait()
  234. until game.Players[Victim].Character.Humanoid.Health == 0
  235. game.Players.LocalPlayer.Character:FindFirstChild("LinkedSword").Handle.Transparency = 0
  236. game.Players.LocalPlayer.Character.Humanoid:UnequipTools()
  237. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = pos
  238. for i,v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
  239. if v:IsA("Part") then
  240. if v.Name == "HumanoidRootPart" then
  241. else
  242. v.Transparency = 0
  243. end
  244. end
  245. end
  246. if game.Players.LocalPlayer.Character.Head:FindFirstChildOfClass("Decal") then
  247. game.Players.LocalPlayer.Character.Head:FindFirstChildOfClass("Decal").Transparency = 0
  248. end
  249. workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
  250. TempClone:Destroy()
  251. game.Players.LocalPlayer:FindFirstChild("RegSword").Parent = game.Players.LocalPlayer.Backpack
  252. end
  253. elseif not game.Players:FindFirstChild(Victim) then
  254. game:GetService("StarterGui"):SetCore("SendNotification", {
  255. Title = "Error Code: 05";
  256. Text = Victim.." is not a valid player.";
  257. Duration = 5;
  258. })
  259. end
  260. end
  261. end)
  262.  
  263. SafeMode.MouseButton1Click:Connect(function()
  264. if game.Players.LocalPlayer.Character.Humanoid.HipHeight ~= 30 and SafeMode.Text == "Safe Mode Toggle (off)" then
  265. SafeMode.Text = "Safe Mode Toggle (on)"
  266. game.Players.LocalPlayer.Character.Humanoid.HipHeight = 30
  267. elseif game.Players.LocalPlayer.Character.Humanoid.HipHeight == 30 and SafeMode.Text == "Safe Mode Toggle (on)" then
  268. SafeMode.Text = "Safe Mode Toggle (off)"
  269. game.Players.LocalPlayer.Character.Humanoid.HipHeight = 0
  270. end
  271. end)
  272.  
  273. KillAll.MouseButton1Click:Connect(function()
  274. pos = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  275. game.Players.LocalPlayer.Character.Humanoid:UnequipTools()
  276. game.Players.LocalPlayer.Backpack:FindFirstChild("LinkedSword").Parent = game.Players.LocalPlayer.Character
  277. game.Players.LocalPlayer.Character:FindFirstChild("LinkedSword").Handle.Size = Vector3.new(math.huge,math.huge,math.huge)
  278. for i=1,40 do
  279. game.Players.LocalPlayer.Character:FindFirstChild("LinkedSword"):Activate()
  280. wait(.1)
  281. end
  282. game.Players.LocalPlayer.Character.Humanoid:UnequipTools()
  283. game.Players.LocalPlayer.Character.Humanoid.Health = 0
  284. end)
  285.  
  286. PrintPlayers.MouseButton1Click:Connect(function()
  287. game:GetService("StarterGui"):SetCore("DevConsoleVisible", true)
  288. print([[
  289. ==================================================
  290. ]])
  291. for i,v in pairs(game.Players:GetPlayers()) do
  292. print(v)
  293. end
  294. wait(10)
  295. game:GetService("StarterGui"):SetCore("DevConsoleVisible", false)
  296. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement