Advertisement
Guest User

Fe tool giver script

a guest
Jun 16th, 2024
8,390
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.96 KB | None | 0 0
  1.  
  2. if game.CoreGui:FindFirstChild("gui") then
  3. game.CoreGui.gui:Destroy()
  4. end
  5.  
  6. local gui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local ImageLabel = Instance.new("ImageLabel")
  9. local player = Instance.new("TextBox")
  10. local explode = Instance.new("TextButton")
  11. local tools = Instance.new("TextButton")
  12. local grid = Instance.new("UIGridLayout")
  13.  
  14. --Properties:
  15.  
  16. gui.Name = "gui"
  17. gui.Parent = game.CoreGui
  18. gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  19.  
  20. Frame.Parent = gui
  21. Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  22. Frame.Position = UDim2.new(0.342989594, 0, 0.27131784, 0)
  23. Frame.Size = UDim2.new(0, 254, 0, 254)
  24. Frame.Active = true
  25. Frame.Draggable = true
  26.  
  27. ImageLabel.Parent = Frame
  28. ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  29. ImageLabel.Size = UDim2.new(0, 254, 0, 254)
  30. ImageLabel.Image = "http://www.roblox.com/asset/?id=6180399057"
  31.  
  32. player.Name = "player"
  33. player.Parent = ImageLabel
  34. player.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  35. player.Position = UDim2.new(0.11023622, 0, 0.677165329, 0)
  36. player.Size = UDim2.new(0, 201, 0, 39)
  37. player.ClearTextOnFocus = true
  38. player.Font = Enum.Font.SourceSans
  39. player.PlaceholderText = "Gear ID"
  40. player.Text = ""
  41. player.TextColor3 = Color3.fromRGB(0, 0, 0)
  42. player.TextScaled = true
  43. player.TextSize = 14.000
  44. player.TextWrapped = true
  45.  
  46. explode.Name = "explode"
  47. explode.Parent = ImageLabel
  48. explode.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  49. explode.Position = UDim2.new(0.11023622, 0, 0.870078743, 0)
  50. explode.Size = UDim2.new(0, 201, 0, 33)
  51. explode.Font = Enum.Font.SourceSans
  52. explode.Text = "Insert Gear"
  53. explode.TextColor3 = Color3.fromRGB(0, 0, 0)
  54. explode.TextScaled = true
  55. explode.TextSize = 14.000
  56. explode.TextWrapped = true
  57.  
  58. tools.Name = "tools"
  59. tools.Parent = ImageLabel
  60. tools.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  61. tools.Position = UDim2.new(0.11023622, 0, 0.170078743, 0)
  62. tools.Size = UDim2.new(0, 201, 0, 33)
  63. tools.Font = Enum.Font.SourceSans
  64. tools.Text = "Unequip Gears"
  65. tools.TextColor3 = Color3.fromRGB(0, 0, 0)
  66. tools.TextScaled = true
  67. tools.TextSize = 14.000
  68. tools.TextWrapped = true
  69.  
  70. grid.Parent = ImageLabel
  71. grid.SortOrder = Enum.SortOrder.LayoutOrder
  72. grid.CellSize = UDim2.new(0, 81, 0, 20)
  73.  
  74. local StarterGui = game:GetService("StarterGui")
  75. StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, true)
  76.  
  77. local dropping = false
  78. local fixing = false
  79.  
  80. local function AddGear(name, id, repair)
  81. btn = Instance.new("TextButton")
  82. btn.Parent = ImageLabel
  83. btn.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  84. btn.Position = UDim2.new(0.11023622, 0, 0.350078743, 0)
  85. btn.Size = UDim2.new(0, 201, 0, 33)
  86. btn.Font = Enum.Font.SourceSans
  87. btn.Text = name
  88. btn.TextColor3 = Color3.fromRGB(0, 0, 0)
  89. btn.TextScaled = true
  90. btn.TextSize = 14.000
  91. btn.TextWrapped = true
  92.  
  93. btn.MouseButton1Click:Connect(function()
  94. if game.PlaceId == 7041939546 then
  95. local args = {
  96. [1] = {
  97. ["Action"] = "ToggleGear",
  98. ["Id"] = id
  99. }
  100. }
  101.  
  102. game:GetService("ReplicatedStorage").CatalogGuiRemote:InvokeServer(unpack(args))
  103. else
  104. local args = {
  105. [1] = "Hair",
  106. [2] = id
  107. }
  108. game:GetService("ReplicatedStorage").Events.AddClothing:FireServer(unpack(args))
  109. if repair == 1 then
  110. fixing = true
  111. wait(0.3)
  112. fixing = false
  113. game:GetService("Players").LocalPlayer.Character.Humanoid:UnequipTools()
  114. end
  115. end
  116. end)
  117. end
  118.  
  119. game:GetService("RunService").RenderStepped:Connect(function()
  120. if dropping and not fixing then
  121. for i,v in pairs(game:GetService("Players").LocalPlayer.Character:GetChildren()) do
  122. if v:IsA("Tool") then
  123. v.Parent = game:GetService("Workspace")
  124. end
  125. end
  126. end
  127. end)
  128.  
  129. local function AddButton(name, func)
  130. btn = Instance.new("TextButton")
  131. btn.Parent = ImageLabel
  132. btn.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  133. btn.Position = UDim2.new(0.11023622, 0, 0.350078743, 0)
  134. btn.Size = UDim2.new(0, 201, 0, 33)
  135. btn.Font = Enum.Font.SourceSans
  136. btn.Text = name
  137. btn.TextColor3 = Color3.fromRGB(0, 0, 0)
  138. btn.TextScaled = true
  139. btn.TextSize = 14.000
  140. btn.TextWrapped = true
  141.  
  142. btn.MouseButton1Click:Connect(function()
  143. func()
  144. end)
  145. end
  146.  
  147. explode.MouseButton1Click:Connect(function()
  148. if game.PlaceId == 7041939546 then
  149. local args = {
  150. [1] = {
  151. ["Action"] = "ToggleGear",
  152. ["Id"] = player.Text
  153. }
  154. }
  155.  
  156. game:GetService("ReplicatedStorage").CatalogGuiRemote:InvokeServer(unpack(args))
  157. else
  158. local args = {
  159. [1] = "Hair",
  160. [2] = player.Text
  161. }
  162.  
  163. game:GetService("ReplicatedStorage").Events.AddClothing:FireServer(unpack(args))
  164. fixing = true
  165. wait(0.3)
  166. game:GetService("Players").LocalPlayer.Character.Humanoid:UnequipTools()
  167. fixing = false
  168. end
  169. end)
  170.  
  171. tools.MouseButton1Click:Connect(function()
  172. game.Players.LocalPlayer.Character.Humanoid:UnequipTools()
  173. end)
  174.  
  175. AddButton("Drop Gears", function()
  176. for i,v in pairs(game:GetService("Players").LocalPlayer.Character:GetChildren()) do
  177. if v:IsA("Tool") then
  178. v.Parent = game:GetService("Workspace")
  179. end
  180. end
  181. end)
  182.  
  183. AddButton("DropOnSpawn", function()
  184. if dropping == true then
  185. dropping = false
  186. print("not dropping")
  187. elseif dropping == false then
  188. dropping = true
  189. print("dropping")
  190. end
  191. end)
  192.  
  193. AddGear("Gravity Coil", 16688968)
  194. AddGear("Body Swap", 78730532)
  195. AddGear("Blackhole Bomb", 28277486)
  196. AddGear("Fuse Bomb", 11563251)
  197. AddGear("Remote Mine", 33383241)
  198. AddGear("Rocket Launcher", 190094159)
  199. AddGear("Troll Pet", 88143060)
  200. AddGear("Polar Mount", 332747874)
  201. AddGear("Rhino", 1178843200)
  202. AddGear("Paint Brush", 18474459, 1)
  203. AddGear("Flashlight", 116040770)
  204. AddGear("Bundle Of TNT", 12902404)
  205. AddGear("Rocket Launcher 2", 32356064)
  206. AddGear("Exponential Rocket Launcher", 90718505)
  207. AddGear("Subspace Tripmine", 11999247)
  208. AddGear("2012 Firework", 67747884)
  209. AddGear("Azure Periastron Alpha", 69499437, 1)
  210. AddGear("Crimson Periastron Mu", 99119240, 1)
  211. AddGear("Amethyst Periastron Kappa", 93136802, 1)
  212. AddGear("Tornado Summoner", 102705454)
  213. AddGear("Boombox", 212641536)
  214. AddGear("Deluxe Rainbow Magic Carpet", 477910063, 1)
  215. AddGear("Red Convertible", 164207580, 1)
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement