Advertisement
plytalent

_G.removedialog()

Aug 12th, 2019
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. function _G.removedialog()
  2. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  3. coroutine.resume(coroutine.create(function()
  4. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  5. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  6. end
  7. end))
  8. end
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement