Advertisement
gdfcwdq

Slap battles but bad fanmade OP Script (nothing is client side)

Apr 20th, 2023 (edited)
37,771
2
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.68 KB | Gaming | 3 1
  1. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
  2. local Window = Library.CreateLib("Slap Battles But Bad | WaponGameHolder", "BloodTheme")
  3.  
  4. local MainTab = Window:NewTab("Main")
  5. local MainTab1 = MainTab:NewSection("MainScripts")
  6.  
  7. --Buttons
  8.  
  9. MainTab1:NewButton("Destroy Portal", "Breaks Default Portal", function()
  10. for i,v in pairs(workspace.Lobby:GetChildren()) do
  11.     if v.Name == "default stand" then
  12.         if v:FindFirstChild("Hitbox") then
  13.             if v.Hitbox:FindFirstChild("ClickDetector") then
  14.                 if v.Hitbox.ClickDetector.GloveToChange.Value == "Charge" then
  15.                     fireclickdetector(v.Hitbox.ClickDetector)
  16.                 end
  17.             end
  18.         end
  19.     end
  20. end
  21. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(14.443, 377.948, 411.27)
  22. wait(0.1)
  23. for i,v in pairs(workspace.Lobby:GetChildren()) do
  24.     if v.Name == "default stand" then
  25.         if v:FindFirstChild("Hitbox") then
  26.             if v.Hitbox:FindFirstChild("ClickDetector") then
  27.                 if v.Hitbox.ClickDetector.GloveToChange.Value == "Default" then
  28.                     fireclickdetector(v.Hitbox.ClickDetector)
  29.                 end
  30.             end
  31.         end
  32.     end
  33. end
  34. end)
  35.  
  36. MainTab1:NewButton("AutoGiveAllBadges", "gives all touch badges in game", function()
  37. local startpositionofplayer = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  38. for i,v in pairs(workspace:GetChildren()) do
  39.     if v.Name == "Badge Giver (open me)" then
  40.         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  41.         wait(1)
  42.     end
  43. end
  44. for i,v in pairs(workspace.Lobby:GetChildren()) do
  45.     if v.Name == "Badge Giver (open me)" then
  46.         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  47.         wait(1)
  48.     end
  49. end
  50. for i,v in pairs(workspace.Map:GetChildren()) do
  51.     if v.Name == "Badge Giver (open me)" then
  52.         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  53.         wait(1)
  54.     end
  55. end
  56. for i,v in pairs(workspace["ship map"]:GetChildren()) do
  57.     if v.Name == "Badge Giver (open me)" then
  58.         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  59.         wait(1)
  60.     end
  61. end
  62. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace.Map["ULTRA INSTINCT PART"].CFrame
  63. wait(1)
  64. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(51.82, -3.54, 1279.45)
  65. wait(1)
  66. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = startpositionofplayer
  67. end)
  68. local stop = true
  69. MainTab1:NewButton("SpamSlapEntireLobby", "keep your glove in your inventory and to stop equip the glove", function()
  70. stop = not stop
  71. while wait(1) do
  72. for i,v in pairs(game.Players:GetPlayers()) do
  73.     if v.Name ~= game.Players.LocalPlayer.Name and stop == false then
  74.         game:GetService("Players").LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Event:FireServer("slash", v.Character, Vector3.new(0, 0, 0))
  75.     end
  76. end
  77. end
  78. end)
  79. local username = ""
  80. MainTab1:NewTextBox("FramePersonName", "Frame person textbox for FrameSlapEveryone", function(txt)
  81.     username = txt
  82. end)
  83. MainTab1:NewButton("FrameSlapEveryone", "for this too work they must have a glove equipped", function()
  84. while wait(1) do
  85. for i,v in pairs(game.Players:GetPlayers()) do
  86.     if game.Players:FindFirstChild(username) and v.Name ~= username then
  87.         game:GetService("Players")[username].Character:FindFirstChildOfClass("Tool").Event:FireServer("slash", v.Character, Vector3.new(0, 0, 0))
  88.     end
  89. end
  90. end
  91. end)
  92. MainTab1:NewButton("500Power", "sets any glove you have to 500 power", function()
  93.     game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Tool").Power.Value = 500
  94. end)
  95. MainTab1:NewButton("9999Power", "sets any glove you have to 9999 power", function()
  96.     game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Tool").Power.Value = 9999
  97. end)
  98. local reachenabled = false
  99. MainTab1:NewToggle("ReachGlove", "Click on someone from far away and you slap them", function(state)
  100.     if state then
  101.         reachenabled = true
  102.         local mouse = game.Players.LocalPlayer:GetMouse()
  103. mouse.Button1Down:Connect(function()
  104.     local hit = mouse.Target
  105.     if hit and hit:IsA("BasePart") and hit.Parent:FindFirstChild("Humanoid") and reachenabled == true then
  106.         -- the player clicked on a part
  107.         local tool = game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Tool")
  108.         local char = game:GetService("Players").LocalPlayer.Character
  109.         local velocity=char:WaitForChild("HumanoidRootPart").CFrame.LookVector*tool:WaitForChild("Power").Value
  110.         local victimplayer = hit.Parent
  111.         game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Tool").Event:FireServer("slash", victimplayer, velocity)
  112.         -- do something with the part, like changing its color or position
  113.     end
  114. end)
  115. else
  116.     reachenabled = false
  117.     end
  118. end)
  119. MainTab1:NewToggle("Anti Kick Glove", "as soon as anyone pulls out the kick glove it slaps themself", function(state)
  120. print(state)
  121.     while wait(0.1) do
  122.         if state then
  123.             for i,v in pairs(game.Players:GetPlayers()) do
  124.                 if v.Character:FindFirstChild("sus") then
  125.                 local tool = v.Character.sus
  126.                     local velocity=game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart").CFrame.LookVector*tool:WaitForChild("Power").Value
  127.                     local victimplayer = v.Character
  128.                     v.Character:FindFirstChild("sus").Event:FireServer("slash", victimplayer, velocity)
  129.                 end
  130.             end
  131.         end
  132.     end
  133. end)
  134. MainTab1:NewToggle("Show Admin Panel", "shows the admin panel like THE REAL ONE", function(state)
  135. print(state)
  136. if game.Players.LocalPlayer.PlayerGui:FindFirstChild("Dien't") then
  137. game.Players.LocalPlayer.PlayerGui["Dien't"].TextButton.Visible = state
  138. else
  139. warn("show admin panel broke cuz of update")
  140. end
  141. if game.Players.LocalPlayer.PlayerGui:FindFirstChild("touchey") then
  142. game.Players.LocalPlayer.PlayerGui["touchey"].TextButton.Visible = state
  143. else
  144. warn("show admin panel broke cuz of update")
  145. end
  146. end)
  147. MainTab1:NewToggle("Show Killstreak buttons", "gives you kills for kill streak(IM NOT KIDDING THIS IS SERVER SIDE)", function(state)
  148. print(state)
  149. if game.Players.LocalPlayer.PlayerGui:FindFirstChild("kill button 1") then
  150. game.Players.LocalPlayer.PlayerGui["kill button 1"].SlapsUIButton.Visible = state
  151. else
  152. warn("show admin panel broke cuz of update")
  153. end
  154. if game.Players.LocalPlayer.PlayerGui:FindFirstChild("kill bitton 2") then
  155. game.Players.LocalPlayer.PlayerGui["kill bitton 2"].SlapsUIButton.Visible = state
  156. else
  157. warn("show admin panel broke cuz of update")
  158. end
  159. end)
Tags: Roblox
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement