SHARE
TWEET

Jailbreak Hat Spam GUI

Lolzzz1093 Jun 18th, 2019 450 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local GUI = Instance.new("ScreenGui")
  5. local Frame = Instance.new("Frame")
  6. local ToggleOn = Instance.new("TextButton")
  7. local ToggleOff = Instance.new("TextButton")
  8. local Credits1 = Instance.new("TextLabel")
  9. local Credits2 = Instance.new("TextLabel")
  10. --Properties:
  11. GUI.Name = "GUI"
  12. GUI.Parent = game.CoreGui
  13.  
  14. Frame.Parent = GUI
  15. Frame.Active = true
  16. Frame.Draggable = true
  17. Frame.BackgroundColor3 = Color3.new(0.25098, 0.513726, 0.678431)
  18. Frame.BorderColor3 = Color3.new(0.368627, 0.74902, 1)
  19. Frame.BorderSizePixel = 10
  20. Frame.Position = UDim2.new(0.135937497, 0, 0.36360994, 0)
  21. Frame.Size = UDim2.new(0, 303, 0, 157)
  22.  
  23. ToggleOn.Name = "ToggleOn"
  24. ToggleOn.Parent = Frame
  25. ToggleOn.BackgroundColor3 = Color3.new(0.286275, 0.588235, 0.776471)
  26. ToggleOn.BorderSizePixel = 0
  27. ToggleOn.Position = UDim2.new(0.0296138544, 0, 0.0575857162, 0)
  28. ToggleOn.Size = UDim2.new(0, 117, 0, 74)
  29. ToggleOn.Font = Enum.Font.Arial
  30. ToggleOn.Text = "Toggle on"
  31. ToggleOn.TextColor3 = Color3.new(0, 0, 0)
  32. ToggleOn.TextSize = 20
  33. ToggleOn.MouseButton1Click:connect(function()
  34.     _G.Toggle = true
  35. local Container = game:GetService("Workspace").Givers
  36. game:GetService("RunService").RenderStepped:connect(function()
  37. if _G.Toggle == true then
  38. for i,v in pairs(Container:GetChildren()) do
  39.     if v:FindFirstChild("Item") and v:FindFirstChild("ClickDetector") then
  40.         if v.Item.Value == "HatPolice" then
  41.             fireclickdetector(v.ClickDetector)
  42.         end
  43.     end
  44. end
  45. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  46.     if (v:IsA("Accessory")) then
  47.         v.Parent = workspace
  48.     end
  49. end
  50. end
  51. end)
  52. end)
  53.  
  54. ToggleOff.Name = "ToggleOff"
  55. ToggleOff.Parent = Frame
  56. ToggleOff.BackgroundColor3 = Color3.new(0.286275, 0.588235, 0.776471)
  57. ToggleOff.BorderSizePixel = 0
  58. ToggleOff.Position = UDim2.new(0.440635085, 0, 0.0575857125, 0)
  59. ToggleOff.Size = UDim2.new(0, 117, 0, 74)
  60. ToggleOff.Font = Enum.Font.Arial
  61. ToggleOff.Text = "Toggle off"
  62. ToggleOff.TextColor3 = Color3.new(0, 0, 0)
  63. ToggleOff.TextSize = 20
  64. ToggleOff.MouseButton1Click:connect(function()
  65.     _G.Toggle = false
  66. local Container = game:GetService("Workspace").Givers
  67. game:GetService("RunService").RenderStepped:connect(function()
  68. if _G.Toggle == true then
  69. for i,v in pairs(Container:GetChildren()) do
  70.     if v:FindFirstChild("Item") and v:FindFirstChild("ClickDetector") then
  71.         if v.Item.Value == "HatPolice" then
  72.             fireclickdetector(v.ClickDetector)
  73.         end
  74.     end
  75. end
  76. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  77.     if (v:IsA("Accessory")) then
  78.         v.Parent = workspace
  79.     end
  80. end
  81. end
  82. end)
  83. end)
  84.  
  85. Credits1.Name = "Credits1"
  86. Credits1.Parent = Frame
  87. Credits1.BackgroundColor3 = Color3.new(1, 1, 1)
  88. Credits1.BackgroundTransparency = 100
  89. Credits1.BorderSizePixel = 0
  90. Credits1.Position = UDim2.new(0, 0, 0.528670788, 0)
  91. Credits1.Size = UDim2.new(0, 303, 0, 45)
  92. Credits1.Font = Enum.Font.Arial
  93. Credits1.Text = "Credits: Bork#1622 for the script"
  94. Credits1.TextColor3 = Color3.new(0.113725, 0.113725, 0.113725)
  95. Credits1.TextSize = 19
  96.  
  97. Credits2.Name = "Credits2"
  98. Credits2.Parent = Frame
  99. Credits2.BackgroundColor3 = Color3.new(1, 1, 1)
  100. Credits2.BackgroundTransparency = 100
  101. Credits2.BorderSizePixel = 0
  102. Credits2.Position = UDim2.new(0, 0, 0.709643364, 0)
  103. Credits2.Size = UDim2.new(0, 303, 0, 45)
  104. Credits2.Font = Enum.Font.Arial
  105. Credits2.Text = "Lolzzz#7211 for the UI"
  106. Credits2.TextColor3 = Color3.new(0.113725, 0.113725, 0.113725)
  107. Credits2.TextSize = 19
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top