Mr_3242

Killstreak button test remastered (fixed auto slapple)

Mar 18th, 2026 (edited)
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 11.87 KB | Gaming | 0 0
  1. --Fixed auto slapple toggle it’s now properly working
  2.  
  3. --// SERVICES
  4. local Players = game:GetService("Players")
  5. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  6. local Lighting = game:GetService("Lighting")
  7. local RunService = game:GetService("RunService")
  8. local UserInputService = game:GetService("UserInputService")
  9.  
  10. --// PLAYER
  11. local player = Players.LocalPlayer
  12.  
  13. --// CLEAN RE-EXECUTE
  14. if getgenv().KillstreakUnload then
  15.     pcall(getgenv().KillstreakUnload)
  16. end
  17.  
  18. --// REMOTES
  19. local AddClick = ReplicatedStorage:WaitForChild("AddClick")
  20. local GiveKill = ReplicatedStorage:WaitForChild("AdminEvents"):WaitForChild("GiveKill")
  21. local GiveKill2 = ReplicatedStorage:WaitForChild("AdminEvents"):WaitForChild("GiveKill2")
  22. local GiveKill3 = ReplicatedStorage:WaitForChild("AdminEvents"):WaitForChild("GiveKill3")
  23.  
  24. --// BUTTONS
  25. local ReaperButton, StarfallButton, TimestreakButton, KillstreakButton, DarknessButton
  26. task.spawn(function()
  27.     pcall(function()
  28.         local gui = player:WaitForChild("PlayerGui")
  29.         ReaperButton = gui:WaitForChild("ReaperButton",5):WaitForChild("TextButton",5)
  30.         StarfallButton = gui:WaitForChild("StarfallButton",5):WaitForChild("TextButton",5)
  31.         TimestreakButton = gui:WaitForChild("TimestreakButton",5):WaitForChild("TextButton",5)
  32.         KillstreakButton = gui:WaitForChild("KillstreakButton",5):WaitForChild("TextButton",5)
  33.         DarknessButton = gui:WaitForChild("DarknessButton",5):WaitForChild("TextButton",5)
  34.     end)
  35. end)
  36.  
  37. --// LOAD UI
  38. local Rayfield
  39. repeat
  40.     local s,r = pcall(function()
  41.         return loadstring(game:HttpGet("https://sirius.menu/rayfield"))()
  42.     end)
  43.     if s and r then Rayfield = r else task.wait(2) end
  44. until Rayfield
  45.  
  46. --// FILTER NOTIFICATIONS
  47. local oldNotify = Rayfield.Notify
  48. Rayfield.Notify = function(self, data)
  49.     if data and data.Title then
  50.         local t = tostring(data.Title)
  51.         if t:find("Rayfield") or t:find("Interface") then return end
  52.     end
  53.     return oldNotify(self, data)
  54. end
  55.  
  56. --// NOTIFY
  57. local function Notify(t,c)
  58.     Rayfield:Notify({
  59.         Title=t,
  60.         Content=c,
  61.         Duration=3,
  62.         Image=4483362458
  63.     })
  64. end
  65.  
  66. --// WINDOW
  67. local Window = Rayfield:CreateWindow({
  68.     Name="Killstreak button test remastered",
  69.     LoadingTitle="Killstreak",
  70.     LoadingSubtitle="Follow me on TikTok Mr_3242",
  71.     ConfigurationSaving={Enabled=false},
  72.     KeySystem=false
  73. })
  74.  
  75. --// TABS
  76. local CheatsTab = Window:CreateTab("Cheats",4483362458)
  77. local CreditsTab = Window:CreateTab("Credits",4483362458)
  78. local UnloadTab = Window:CreateTab("Unload",4483362458)
  79.  
  80. --// VARS
  81. local running=true
  82. local delay=0.1
  83.  
  84. --// AUTO CLICK
  85. local autoClick=false
  86. local clickConnection
  87. local lastClick=0
  88.  
  89. local function FireClicks()
  90.     if not running then return end
  91.     pcall(function()
  92.         if ReaperButton then ReaperButton:Activate() end
  93.         if StarfallButton then StarfallButton:Activate() end
  94.         if TimestreakButton then TimestreakButton:Activate() end
  95.         if KillstreakButton then KillstreakButton:Activate() end
  96.         if DarknessButton then DarknessButton:Activate() end
  97.  
  98.         GiveKill2:FireServer()
  99.         GiveKill:FireServer()
  100.         GiveKill3:FireServer()
  101.         AddClick:FireServer()
  102.     end)
  103. end
  104.  
  105. local function StartAutoClick()
  106.     if clickConnection then return end
  107.     clickConnection = RunService.Heartbeat:Connect(function()
  108.         if not autoClick or not running then return end
  109.         if delay<=0 then
  110.             FireClicks()
  111.         else
  112.             if time()-lastClick>=delay then
  113.                 lastClick=time()
  114.                 FireClicks()
  115.             end
  116.         end
  117.     end)
  118. end
  119.  
  120. local function StopAutoClick()
  121.     autoClick=false
  122.     lastClick=0
  123.     if clickConnection then
  124.         clickConnection:Disconnect()
  125.         clickConnection=nil
  126.     end
  127. end
  128.  
  129. --// πŸ” FPS BOOST (REVERSIBLE)
  130. local fpsConnection
  131. local stored = {}
  132.  
  133. local function ApplyFPSBoost(state)
  134.     if state then
  135.         stored = {}
  136.  
  137.         for _,v in pairs(game:GetDescendants()) do
  138.             if v:IsA("ParticleEmitter") or v:IsA("Trail") or v:IsA("Smoke") or v:IsA("Fire") then
  139.                 stored[v] = {Enabled = v.Enabled}
  140.                 v.Enabled = false
  141.             end
  142.  
  143.             if v:IsA("PostEffect") or v:IsA("Atmosphere") then
  144.                 stored[v] = {Enabled = v.Enabled}
  145.                 v.Enabled = false
  146.             end
  147.  
  148.             if v:IsA("BasePart") then
  149.                 stored[v] = stored[v] or {}
  150.                 stored[v].Material = v.Material
  151.                 stored[v].Reflectance = v.Reflectance
  152.  
  153.                 v.Material = Enum.Material.SmoothPlastic
  154.                 v.Reflectance = 0
  155.             end
  156.  
  157.             if v:IsA("Decal") or v:IsA("Texture") then
  158.                 stored[v] = {Transparency = v.Transparency}
  159.                 v.Transparency = 1
  160.             end
  161.         end
  162.  
  163.         stored.Lighting = {
  164.             GlobalShadows = Lighting.GlobalShadows,
  165.             FogEnd = Lighting.FogEnd,
  166.             Brightness = Lighting.Brightness
  167.         }
  168.  
  169.         Lighting.GlobalShadows = false
  170.         Lighting.FogEnd = 1e10
  171.         Lighting.Brightness = 1
  172.  
  173.         settings().Rendering.QualityLevel = Enum.QualityLevel.Level01
  174.  
  175.         fpsConnection = game.DescendantAdded:Connect(function(v)
  176.             if v:IsA("ParticleEmitter") or v:IsA("Trail") then
  177.                 v.Enabled = false
  178.             end
  179.             if v:IsA("Decal") or v:IsA("Texture") then
  180.                 v.Transparency = 1
  181.             end
  182.             if v:IsA("BasePart") then
  183.                 v.Material = Enum.Material.SmoothPlastic
  184.             end
  185.         end)
  186.  
  187.     else
  188.         for obj,data in pairs(stored) do
  189.             if typeof(obj) == "Instance" and obj then
  190.                 pcall(function()
  191.                     for prop,val in pairs(data) do
  192.                         obj[prop] = val
  193.                     end
  194.                 end)
  195.             end
  196.         end
  197.  
  198.         if stored.Lighting then
  199.             Lighting.GlobalShadows = stored.Lighting.GlobalShadows
  200.             Lighting.FogEnd = stored.Lighting.FogEnd
  201.             Lighting.Brightness = stored.Lighting.Brightness
  202.         end
  203.  
  204.         settings().Rendering.QualityLevel = Enum.QualityLevel.Automatic
  205.  
  206.         if fpsConnection then
  207.             fpsConnection:Disconnect()
  208.             fpsConnection=nil
  209.         end
  210.  
  211.         stored = {}
  212.     end
  213. end
  214.  
  215. --// KILL EFFECT
  216. local killConnection
  217. local function ApplyKillBlock(state)
  218.     local sounds=workspace:FindFirstChild("Sounds")
  219.     if not sounds then return end
  220.     if state then
  221.         killConnection=sounds.ChildAdded:Connect(function(c)
  222.             if c.Name=="Kill" then c.Name="DisabledKill" end
  223.         end)
  224.         local e=sounds:FindFirstChild("Kill")
  225.         if e then e.Name="DisabledKill" end
  226.     else
  227.         if killConnection then killConnection:Disconnect(); killConnection=nil end
  228.         for _,v in pairs(sounds:GetChildren()) do
  229.             if v.Name=="DisabledKill" then v.Name="Kill" end
  230.         end
  231.     end
  232. end
  233.  
  234. --// SLAPPLES (FIXED ONLY THIS PART)
  235. local autoSlapple=false
  236. local slappleThread
  237.  
  238. local function Touch(p)
  239.     local char = player.Character
  240.     if not char then return end
  241.  
  242.     local root = char:FindFirstChild("HumanoidRootPart")
  243.     if not root then return end
  244.  
  245.     firetouchinterest(root,p,0)
  246.     firetouchinterest(root,p,1)
  247. end
  248.  
  249. local function GetSlappleParts()
  250.     local parts = {}
  251.  
  252.     local map = workspace:FindFirstChild("Map")
  253.     if not map then return parts end
  254.  
  255.     local arena = map:FindFirstChild("MainArena")
  256.     if not arena then return parts end
  257.  
  258.     local folder = arena:FindFirstChild("Folder") -- FIXED
  259.     if not folder then return parts end
  260.  
  261.     local slapples = folder:FindFirstChild("Slapples")
  262.     if not slapples then return parts end
  263.  
  264.     for _,obj in ipairs(slapples:GetChildren()) do
  265.         local slap = obj:FindFirstChild("Slapple")
  266.         if slap and slap:IsA("BasePart") then
  267.             if slap:FindFirstChildOfClass("TouchTransmitter") then
  268.                 table.insert(parts,slap)
  269.             end
  270.         end
  271.     end
  272.  
  273.     return parts
  274. end
  275.  
  276. local function StartSlapple()
  277.     if slappleThread then return end
  278.  
  279.     slappleThread = task.spawn(function()
  280.         while autoSlapple and running do
  281.             local parts = GetSlappleParts()
  282.  
  283.             for _,part in ipairs(parts) do
  284.                 if not autoSlapple then break end
  285.                 Touch(part)
  286.                 task.wait(0.02)
  287.             end
  288.  
  289.             task.wait(0.1)
  290.         end
  291.         slappleThread=nil
  292.     end)
  293. end
  294.  
  295. local function StopSlapple()
  296.     autoSlapple=false
  297. end
  298.  
  299. --// PLATFORM
  300. local platformPart
  301. local platformTransparency=0
  302.  
  303. local function TogglePlatform(state)
  304.     if state then
  305.         if platformPart then platformPart:Destroy() end
  306.         platformPart=Instance.new("Part")
  307.         platformPart.Size=Vector3.new(2048,1,2048)
  308.         platformPart.Position=Vector3.new(165.5,4345.37,-22.83)
  309.         platformPart.Anchored=true
  310.         platformPart.Transparency=platformTransparency
  311.         platformPart.Parent=workspace
  312.     else
  313.         if platformPart then platformPart:Destroy(); platformPart=nil end
  314.     end
  315. end
  316.  
  317. --// UI
  318. CheatsTab:CreateToggle({
  319.     Name="Auto Click",
  320.     CurrentValue=false,
  321.     Callback=function(v)
  322.         if v then autoClick=true; StartAutoClick()
  323.         else StopAutoClick() end
  324.     end
  325. })
  326.  
  327. CheatsTab:CreateToggle({Name="FPS Boost",CurrentValue=false,Callback=ApplyFPSBoost})
  328.  
  329. CheatsTab:CreateParagraph({
  330.     Title=" ",
  331.     Content="Disable and re-enable if you had it enabled to get the E button if you are on mobile"
  332. })
  333.  
  334. CheatsTab:CreateToggle({Name="Disable Kill Effect",CurrentValue=false,Callback=ApplyKillBlock})
  335.  
  336. CheatsTab:CreateToggle({
  337.     Name="Auto Slapples",
  338.     CurrentValue=false,
  339.     Callback=function(v)
  340.         autoSlapple=v
  341.         if v then StartSlapple() else StopSlapple() end
  342.     end
  343. })
  344.  
  345. CheatsTab:CreateToggle({Name="Spawn Platform",CurrentValue=false,Callback=TogglePlatform})
  346.  
  347. CheatsTab:CreateInput({
  348.     Name="Platform Transparency (0-1)",
  349.     PlaceholderText="Value...",
  350.     Callback=function(t)
  351.         local n=tonumber(t)
  352.         if n then
  353.             n=math.clamp(n,0,1)
  354.             platformTransparency=n
  355.             if platformPart then platformPart.Transparency=n end
  356.         end
  357.     end
  358. })
  359.  
  360. CheatsTab:CreateSlider({
  361.     Name="Click Delay",
  362.     Range={0,1},
  363.     Increment=0.01,
  364.     CurrentValue=0.1,
  365.     Callback=function(v) delay=v end
  366. })
  367.  
  368. CheatsTab:CreateButton({Name="Manual Click",Callback=FireClicks})
  369.  
  370. --// CREDITS
  371. CreditsTab:CreateParagraph({
  372.     Title="Credits",
  373.     Content="Script created by Mr_3242\nThanks for using the script!"
  374. })
  375.  
  376. CreditsTab:CreateButton({
  377.     Name="Copy TikTok Link",
  378.     Callback=function()
  379.         setclipboard("https://www.tiktok.com/@Mr_3242")
  380.         Notify("Copied","TikTok link copied")
  381.     end
  382. })
  383.  
  384. CreditsTab:CreateButton({
  385.     Name="Copy YouTube Link",
  386.     Callback=function()
  387.         setclipboard("https://www.youtube.com/@Mr_3242.")
  388.         Notify("Copied","YouTube link copied")
  389.     end
  390. })
  391.  
  392. CreditsTab:CreateButton({
  393.     Name="Copy Twitch Link",
  394.     Callback=function()
  395.         setclipboard("https://m.twitch.tv/quantumx_42/home")
  396.         Notify("Copied","Twitch link copied")
  397.     end
  398. })
  399.  
  400. --// UNLOAD
  401. getgenv().KillstreakUnload=function()
  402.     running=false
  403.     StopAutoClick()
  404.     StopSlapple()
  405.     ApplyFPSBoost(false)
  406.     ApplyKillBlock(false)
  407.  
  408.     if platformPart then platformPart:Destroy(); platformPart=nil end
  409.     if killConnection then killConnection:Disconnect() end
  410.     if clickConnection then clickConnection:Disconnect() end
  411.  
  412.     pcall(function() Rayfield:Destroy() end)
  413.     getgenv().KillstreakUnload=nil
  414. end
  415.  
  416. UnloadTab:CreateButton({
  417.     Name="Unload Script",
  418.     Callback=function()
  419.         getgenv().KillstreakUnload()
  420.     end
  421. })
Tags: delta
Advertisement
Add Comment
Please, Sign In to add comment