Mr_3242

Chained [2 Player Obby] Script

May 7th, 2026
31
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.28 KB | Gaming | 0 0
  1. --// SERVICES
  2. local Players = game:GetService("Players")
  3. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  4. local RunService = game:GetService("RunService")
  5.  
  6. --// PLAYER
  7. local player = Players.LocalPlayer
  8.  
  9. --// SAFE REEXECUTE
  10. if getgenv().KillstreakUnload then
  11.     pcall(getgenv().KillstreakUnload)
  12. end
  13.  
  14. --// REMOTES
  15. local Remotes = ReplicatedStorage:WaitForChild("Remotes")
  16. local RagdollRemote = Remotes:WaitForChild("Ragdoll")
  17. local MineRemote = Remotes:WaitForChild("PlaceMine")
  18.  
  19. --// LOAD RAYFIELD
  20. local Rayfield
  21. repeat
  22.     local success, result = pcall(function()
  23.         return loadstring(game:HttpGet("https://sirius.menu/rayfield"))()
  24.     end)
  25.     if success and result then
  26.         Rayfield = result
  27.     else
  28.         task.wait(1)
  29.     end
  30. until Rayfield
  31.  
  32. --// NOTIFICATION FILTER
  33. local oldNotify = Rayfield.Notify
  34. Rayfield.Notify = function(self, data)
  35.     if data and data.Title then
  36.         local t = tostring(data.Title)
  37.         if t:find("Rayfield") or t:find("Interface") then
  38.             return
  39.         end
  40.     end
  41.     return oldNotify(self, data)
  42. end
  43.  
  44. --// CUSTOM NOTIFY
  45. local function Notify(title, content)
  46.     Rayfield:Notify({
  47.         Title = title,
  48.         Content = content,
  49.         Duration = 3
  50.     })
  51. end
  52.  
  53. --// WINDOW
  54. local Window = Rayfield:CreateWindow({
  55.     Name = "Chained [2 Player Obby]",
  56.     LoadingTitle = "op trolls",
  57.     LoadingSubtitle = "follow me in TikTok Mr_3242",
  58.     ConfigurationSaving = { Enabled = false },
  59.     KeySystem = false
  60. })
  61.  
  62. --// TABS
  63. local MainTab = Window:CreateTab("Main", 4483362458)
  64. local CreditsTab = Window:CreateTab("Credits", 4483362458)
  65. local UnloadTab = Window:CreateTab("Unload", 4483362458)
  66.  
  67. --// STATES
  68. local running = true
  69.  
  70. local ragdollEnabled = false
  71. local mineEnabled = false
  72.  
  73. local mineDelay = 0.1
  74.  
  75. local mineLoop
  76. local ragdollLoop
  77.  
  78. --------------------------------------------------------
  79. -- RAGDOLL LOOP
  80. --------------------------------------------------------
  81. local function StartRagdoll()
  82.     if ragdollLoop then return end
  83.  
  84.     ragdollLoop = task.spawn(function()
  85.         while ragdollEnabled and running do
  86.             for _, plr in ipairs(Players:GetPlayers()) do
  87.                 if plr ~= player then
  88.                     pcall(function()
  89.                         RagdollRemote:FireServer(plr, true)
  90.                     end)
  91.                 end
  92.             end
  93.             task.wait( )
  94.         end
  95.         ragdollLoop = nil
  96.     end)
  97. end
  98.  
  99. local function StopRagdoll()
  100.     ragdollEnabled = false
  101. end
  102.  
  103. --------------------------------------------------------
  104. -- MINE LOOP
  105. --------------------------------------------------------
  106. local function StartMines()
  107.     if mineLoop then return end
  108.  
  109.     mineLoop = task.spawn(function()
  110.         while mineEnabled and running do
  111.             pcall(function()
  112.                 MineRemote:FireServer()
  113.             end)
  114.             task.wait(mineDelay)
  115.         end
  116.         mineLoop = nil
  117.     end)
  118. end
  119.  
  120. local function StopMines()
  121.     mineEnabled = false
  122. end
  123.  
  124. --------------------------------------------------------
  125. -- UI ELEMENTS
  126. --------------------------------------------------------
  127.  
  128. MainTab:CreateToggle({
  129.     Name = "Ragdoll Spam",
  130.     CurrentValue = false,
  131.     Callback = function(v)
  132.         ragdollEnabled = v
  133.         if v then
  134.             StartRagdoll()
  135.         else
  136.             StopRagdoll()
  137.         end
  138.     end
  139. })
  140.  
  141. MainTab:CreateToggle({
  142.     Name = "Mine Spam",
  143.     CurrentValue = false,
  144.     Callback = function(v)
  145.         mineEnabled = v
  146.         if v then
  147.             StartMines()
  148.         else
  149.             StopMines()
  150.         end
  151.     end
  152. })
  153.  
  154. MainTab:CreateSlider({
  155.     Name = "Mine Delay",
  156.     Range = {0, 1},
  157.     Increment = 0.05,
  158.     CurrentValue = 0.005,
  159.     Callback = function(v)
  160.         mineDelay = v
  161.     end
  162. })
  163.  
  164. ---------------------------------------------------------------------
  165. -- CREDITS
  166. ---------------------------------------------------------------------
  167. CreditsTab:CreateParagraph({
  168.     Title = "Credits",
  169.     Content = "Script created by Mr_3242\nThanks for using the script!"
  170. })
  171.  
  172. CreditsTab:CreateButton({
  173.     Name = "Copy TikTok Link",
  174.     Callback = function()
  175.         setclipboard("https://www.tiktok.com/@Mr_3242")
  176.         Notify("Copied", "TikTok link copied")
  177.     end
  178. })
  179.  
  180. CreditsTab:CreateButton({
  181.     Name = "Copy YouTube Link",
  182.     Callback = function()
  183.         setclipboard("https://www.youtube.com/@Mr_3242.")
  184.         Notify("Copied", "YouTube link copied")
  185.     end
  186. })
  187.  
  188. CreditsTab:CreateButton({
  189.     Name = "Copy Twitch Link",
  190.     Callback = function()
  191.         setclipboard("https://m.twitch.tv/pantherarmy_42/home")
  192.         Notify("Copied", "Twitch link copied")
  193.     end
  194. })
  195.  
  196. --------------------------------------------------------
  197. -- UNLOAD
  198. --------------------------------------------------------
  199.  
  200. getgenv().KillstreakUnload = function()
  201.     running = false
  202.  
  203.     ragdollEnabled = false
  204.     mineEnabled = false
  205.  
  206.     if ragdollLoop then ragdollLoop = nil end
  207.     if mineLoop then mineLoop = nil end
  208.  
  209.     pcall(function()
  210.         Rayfield:Destroy()
  211.     end)
  212.  
  213.     getgenv().KillstreakUnload = nil
  214. end
  215.  
  216. UnloadTab:CreateButton({
  217.     Name = "Unload Script",
  218.     Callback = function()
  219.         getgenv().KillstreakUnload()
  220.     end
  221. })
Tags: delta
Advertisement
Comments
  • User was banned
Add Comment
Please, Sign In to add comment