memezisnotded

Untitled

Nov 19th, 2019
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. -- You MUST have a sword for this to work.
  2. -- This only works on sword fighting games like Crossroads, Sword Fight on Bridge, and Fencing (if players are on the black mat)
  3. -- All you have to do is press the "Kill All" button, and then take out your sword and click to kill everyone, and you're done! :)
  4.  
  5. -- Objects
  6.  
  7. local ScreenGui = Instance.new("ScreenGui")
  8. local Frame = Instance.new("Frame")
  9. local TextButton = Instance.new("TextButton")
  10.  
  11. -- Properties
  12.  
  13. ScreenGui.Parent = game.CoreGui
  14.  
  15. Frame.Parent = ScreenGui
  16. Frame.BackgroundColor3 = Color3.new(1, 0.388235, 0.368627)
  17. Frame.BorderColor3 = Color3.new(0.67451, 0.211765, 0.152941)
  18. Frame.Position = UDim2.new(0.293040276, 0, 0.491666675, 0)
  19. Frame.Size = UDim2.new(0.106227107, 0, 0.0833333284, 0)
  20. Frame.Active = true
  21. Frame.Draggable = true
  22.  
  23. TextButton.Parent = Frame
  24. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  25. TextButton.BackgroundTransparency = 0.80000001192093
  26. TextButton.Position = UDim2.new(0.103524067, 0, 0.200333327, 0)
  27. TextButton.Size = UDim2.new(0.793684483, 0, 0.601000011, 0)
  28. TextButton.Font = Enum.Font.SourceSansLight
  29. TextButton.FontSize = Enum.FontSize.Size14
  30. TextButton.Text = "Kill All"
  31. TextButton.TextScaled = true
  32. TextButton.TextSize = 14
  33. TextButton.TextWrapped = true
  34.  
  35. run = false
  36. TextButton.MouseButton1Click:connect(function()
  37. run = not run
  38. local function tp()
  39. for i, player in ipairs(game.Players:GetChildren()) do
  40. if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
  41. player.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.lookVector * 1
  42. end
  43. end
  44. end
  45. if run then
  46. while wait() do
  47. if run then
  48. tp()
  49. end
  50. end
  51. end
  52. end)
Add Comment
Please, Sign In to add comment