Luriyuluri

Roblox script FE Drop hats gui

May 17th, 2024
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.48 KB | None | 0 0
  1. local a=Instance.new("ScreenGui")
  2. a.Parent=game.CoreGui
  3. local b=Instance.new("Frame")
  4. b.BackgroundTransparency=1
  5. b.Parent=a
  6. local c=Instance.new("TextButton")
  7. c.Active=true
  8. c.BackgroundColor3=Color3.new(0, 0, 255)
  9. c.BorderSizePixel=0
  10. c.Name="topbar"
  11. c.Position=UDim2.new(4.84556389,0,3.46589231,0)
  12. c.Selectable=true
  13. c.Size=UDim2.new(0,297,0,31)
  14. c.Style=Enum.ButtonStyle.Custom
  15. c.Font=Enum.Font.Legacy
  16. c.FontSize=Enum.FontSize.Size14
  17. c.Text=""
  18. c.Draggable=true
  19. c.Parent=b
  20. local d=Instance.new("Frame")
  21. d.BackgroundColor3=Color3.new(0, 0, 255)
  22. d.BackgroundTransparency=0.55000001192093
  23. d.BorderSizePixel=0
  24. d.Size=UDim2.new(0,297,0,160)
  25. d.Draggable=true
  26. d.Parent=c
  27. local e=Instance.new("TextButton")
  28. e.Active=true
  29. e.BackgroundColor3=Color3.new(0, 0, 255)
  30. e.Position=UDim2.new(0.0404040404,0,0.268750012,0)
  31. e.Selectable=true
  32. e.Size=UDim2.new(0,126,0,73)
  33. e.Style=Enum.ButtonStyle.Custom
  34. e.Font=Enum.Font.Highway
  35. e.FontSize=Enum.FontSize.Size32
  36. e.Text="DROP"e.TextColor3=Color3.new(1,1,1)
  37. e.TextStrokeColor3=Color3.new(0, 0, 255)
  38. e.TextStrokeTransparency=0
  39. e.Parent=d
  40. local f=Instance.new("TextButton")
  41. f.Active=true
  42. f.BackgroundColor3=Color3.new(0, 0, 255)
  43. f.Position=UDim2.new(0.537963867,0,0.268750012,0)
  44. f.Selectable=true
  45. f.Size=UDim2.new(0,126,0,73)
  46. f.Style=Enum.ButtonStyle.Custom
  47. f.Font=Enum.Font.Highway
  48. f.FontSize=Enum.FontSize.Size24
  49. f.Text="Hats = Blocks"
  50. f.TextColor3=Color3.new(1,1,1)
  51. f.TextStrokeColor3=Color3.new(0, 0, 255)
  52. f.TextStrokeTransparency=0
  53. f.TextWrapped=true
  54. f.Parent=d
  55. local g=Instance.new("TextLabel")
  56. g.BackgroundColor3=Color3.new(0, 0, 255)
  57. g.BorderSizePixel=0
  58. g.Position=UDim2.new(0,0,0.837499976,0)
  59. g.Size=UDim2.new(0,297,0,26)
  60. g.Font=Enum.Font.Highway
  61. g.FontSize = Enum.FontSize.Size18
  62. g.Text="This was made by I low/edited by oshawott"
  63. g.TextColor3=Color3.new(1,1,1)
  64. g.Parent=d
  65. local h=Instance.new("TextLabel")
  66. h.BackgroundColor3=Color3.new(0, 0, 255)
  67. h.BackgroundTransparency=1
  68. h.BorderSizePixel=0
  69. h.Size=UDim2.new(0,297,0,31)
  70. h.Font=Enum.Font.Highway
  71. h.FontSize=Enum.FontSize.Size18
  72. h.Text="FE Drop Hats"
  73. h.TextColor3=Color3.new(1,1,1)
  74. h.Parent=d
  75. local i=Instance.new("TextButton")i.Active=true
  76. i.BackgroundColor3=Color3.new(0, 0, 255)
  77. i.Position=UDim2.new(0,0,0.947432756,0)
  78. i.Selectable=true
  79. i.Size=UDim2.new(0,98,0,43)
  80. i.Style=Enum.ButtonStyle.Custom
  81. i.Font=Enum.Font.Highway
  82. i.FontSize=Enum.FontSize.Size14
  83. i.Text="Hide/Show"
  84. i.TextColor3=Color3.new(1,1,1)
  85. i.Parent=a
  86.  
  87. function dropHats()
  88. local j=game.Players.LocalPlayer
  89. for k,l in pairs(j.Character:GetChildren())do
  90. if l:IsA'Accoutrement'then
  91. l.Parent=game.Workspace
  92. end
  93. end
  94. end
  95. function brickHats()
  96. local j=game.Players.LocalPlayer
  97. for k,l in pairs(j.Character:GetChildren())do
  98. if l:IsA'Accoutrement'then
  99. l.Handle.Mesh:Destroy()end
  100. end
  101. end
  102. e.MouseButton1Click:connect(function()
  103. dropHats()
  104. end)
  105. f.MouseButton1Click:connect(function()
  106. brickHats()
  107. end)
  108. i.MouseButton1Click:connect(function()
  109. if b.Visible==true then
  110. b.Visible=false
  111. elseif b.Visible==false then
  112. b.Visible=true
  113. end
  114. end)
  115.  
  116. game:GetService("UserInputService").InputBegan:connect(function(inputObject, gameProcessedEvent)
  117. if not gameProcessedEvent then
  118. if inputObject.KeyCode == Enum.KeyCode.Equals then
  119. dropHats()
  120. end
  121. end
  122. end)
  123.  
  124. game:GetService("UserInputService").InputBegan:connect(function(inputObject, gameProcessedEvent)
  125. if not gameProcessedEvent then
  126. if inputObject.KeyCode == Enum.KeyCode.Zero then
  127. brickHats()
  128. end
  129. end
  130. end)
Add Comment
Please, Sign In to add comment