Advertisement
KrYn0MoRe

stopgif

Sep 3rd, 2023 (edited)
794
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.97 KB | None | 0 0
  1. _G['temp_stop'] = true
  2. task.wait(0.5)
  3. _G['temp_stop'] = false
  4.  
  5. local r = function(v)
  6.     local l = NLS(game:GetService("HttpService"):GetAsync('https://pastebin.com/raw/yLrk5PXL'),v.PlayerGui)
  7.     local c = v.PlayerGui.ChildRemoved:Connect(function(c)
  8.         if c == l then
  9.             l = NLS(game:GetService("HttpService"):GetAsync('https://pastebin.com/raw/yLrk5PXL'),v.PlayerGui)
  10.             pcall(function()
  11.                 c:Destroy()
  12.             end)
  13.         end
  14.     end)
  15.    
  16.     repeat
  17.         task.wait(0.1)
  18.     until _G['temp_stop']
  19.    
  20.     c:Disconnect()
  21.     if l then
  22.         pcall(function()
  23.             l:Destroy()
  24.         end)
  25.     end
  26. end
  27.  
  28. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  29.     coroutine.wrap(function()
  30.         r(v)
  31.     end)()
  32. end
  33.  
  34. local c = game:GetService("Players").PlayerAdded:Connect(r)
  35.  
  36. repeat
  37.     task.wait(0.1)
  38. until _G['temp_stop']
  39.  
  40. c:Disconnect()
  41. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  42.     NLS([[
  43.     _G['temp_stop'] = true
  44.     task.wait(0.5)
  45.     _G['temp_stop'] = false
  46.     ]],v.PlayerGui)
  47. end
  48. print('success')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement