Advertisement
ThxirdyySharvxkyy

Tower Of Hell Gear Giver

Jul 6th, 2023
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.76 KB | None | 0 0
  1. -- Tower of Hell Geargiver
  2. -- By: Thxirdyy
  3. -- Version: 3.2
  4.  
  5. -- Variables:
  6.  
  7. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  8. local UserInputService = game:GetService("UserInputService")
  9. local Gear = ReplicatedStorage:FindFirstChild("Gear")
  10.  
  11. local Players = game:GetService("Players")
  12. local Player = Players.LocalPlayer
  13.  
  14. -- Gears:
  15.  
  16. local killpart = Gear:FindFirstChild("killpart")
  17. local bomb = Gear:FindFirstChild("bomb")
  18. local cola = Gear:FindFirstChild("cola")
  19. local hourglass = Gear:FindFirstChild("hourglass")
  20. local yxterminator = Gear:FindFirstChild("yxterminator")
  21. local fusion = Gear:FindFirstChild("fusion")
  22. local jump = Gear:FindFirstChild("jump")
  23. local speed = Gear:FindFirstChild("speed")
  24. local hook = Gear:FindFirstChild("hook")
  25. local gravity = Gear:FindFirstChild("gravity")
  26. local trowel = Gear:FindFirstChild("trowel")
  27.  
  28. -- Instances:
  29.  
  30. local geargiver = Instance.new("ScreenGui")
  31. local main = Instance.new("Frame")
  32. local title = Instance.new("TextLabel")
  33. local desc1 = Instance.new("TextLabel")
  34. local desc2 = Instance.new("TextLabel")
  35. local gearBox = Instance.new("TextBox")
  36. local UICorner = Instance.new("UICorner")
  37. local Output = Instance.new("TextLabel")
  38. local UICorner_2 = Instance.new("UICorner")
  39. local list = Instance.new("TextLabel")
  40. local UICorner_3 = Instance.new("UICorner")
  41.  
  42. --Properties:
  43.  
  44. geargiver.Name = "geargiver"
  45. geargiver.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  46. geargiver.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  47. geargiver.ResetOnSpawn = false
  48.  
  49. main.Name = "main"
  50. main.Parent = geargiver
  51. main.BackgroundColor3 = Color3.fromRGB(82, 82, 82)
  52. main.BorderColor3 = Color3.fromRGB(0, 0, 0)
  53. main.BorderSizePixel = 0
  54. main.Position = UDim2.new(0.34473446, 0, 0.307348609, 0)
  55. main.Size = UDim2.new(0.31053105, 0, 0.49967736, 0)
  56.  
  57. main.Selectable = true
  58. main.Active = true
  59. main.Draggable = true
  60.  
  61. title.Name = "title"
  62. title.Parent = main
  63. title.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
  64. title.BorderColor3 = Color3.fromRGB(0, 0, 0)
  65. title.BorderSizePixel = 0
  66. title.Size = UDim2.new(1, 0, 0.151786432, 0)
  67. title.Font = Enum.Font.Gotham
  68. title.Text = "Tower of Hell Geargiver"
  69. title.TextColor3 = Color3.fromRGB(255, 255, 255)
  70. title.TextScaled = true
  71. title.TextSize = 14.000
  72. title.TextWrapped = true
  73.  
  74. desc1.Name = "desc1"
  75. desc1.Parent = main
  76. desc1.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
  77. desc1.BorderColor3 = Color3.fromRGB(0, 0, 0)
  78. desc1.BorderSizePixel = 0
  79. desc1.Position = UDim2.new(0, 0, 0.151786432, 0)
  80. desc1.Size = UDim2.new(1, 0, 0.118583143, 0)
  81. desc1.Font = Enum.Font.Gotham
  82. desc1.Text = "Put the gear you want to receive on the text box below"
  83. desc1.TextColor3 = Color3.fromRGB(255, 255, 255)
  84. desc1.TextScaled = true
  85. desc1.TextSize = 14.000
  86. desc1.TextWrapped = true
  87.  
  88. desc2.Name = "desc2"
  89. desc2.Parent = main
  90. desc2.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
  91. desc2.BorderColor3 = Color3.fromRGB(0, 0, 0)
  92. desc2.BorderSizePixel = 0
  93. desc2.Position = UDim2.new(0, 0, 0.270369589, 0)
  94. desc2.Size = UDim2.new(1, 0, 0.118583143, 0)
  95. desc2.Font = Enum.Font.Gotham
  96. desc2.Text = "If you wanna receive all the gears, just trype there \"all\""
  97. desc2.TextColor3 = Color3.fromRGB(255, 255, 255)
  98. desc2.TextScaled = true
  99. desc2.TextSize = 14.000
  100. desc2.TextWrapped = true
  101.  
  102. gearBox.Name = "gearBox"
  103. gearBox.Parent = main
  104. gearBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  105. gearBox.BorderColor3 = Color3.fromRGB(0, 0, 0)
  106. gearBox.BorderSizePixel = 0
  107. gearBox.Position = UDim2.new(0.049275361, 0, 0.843921959, 0)
  108. gearBox.Size = UDim2.new(0.898550749, 0, 0.117088817, 0)
  109. gearBox.ClearTextOnFocus = false
  110. gearBox.Font = Enum.Font.Gotham
  111. gearBox.PlaceholderColor3 = Color3.fromRGB(0, 0, 0)
  112. gearBox.PlaceholderText = "Put gear here"
  113. gearBox.Text = ""
  114. gearBox.TextColor3 = Color3.fromRGB(0, 0, 0)
  115. gearBox.TextScaled = true
  116. gearBox.TextSize = 14.000
  117. gearBox.TextWrapped = true
  118.  
  119. UICorner.Parent = gearBox
  120.  
  121. Output.Name = "Output"
  122. Output.Parent = main
  123. Output.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
  124. Output.BorderColor3 = Color3.fromRGB(0, 0, 0)
  125. Output.BorderSizePixel = 0
  126. Output.Position = UDim2.new(0.049275361, 0, 0.687716603, 0)
  127. Output.Size = UDim2.new(0.898550749, 0, 0.10552264, 0)
  128. Output.Font = Enum.Font.Gotham
  129. Output.Text = "Output: "
  130. Output.TextColor3 = Color3.fromRGB(255, 255, 255)
  131. Output.TextScaled = true
  132. Output.TextSize = 14.000
  133. Output.TextWrapped = true
  134.  
  135. UICorner_2.Parent = Output
  136.  
  137. list.Name = "list"
  138. list.Parent = main
  139. list.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
  140. list.BorderColor3 = Color3.fromRGB(0, 0, 0)
  141. list.BorderSizePixel = 0
  142. list.Position = UDim2.new(0.049275361, 0, 0.418199331, 0)
  143. list.Size = UDim2.new(0.898550749, 0, 0.22598961, 0)
  144. list.Font = Enum.Font.Gotham
  145. list.Text = "Gear list: killpart, bomb, cola, hourglass, yxterminator, fusion, jump, speed, hook, gravity, trowel"
  146. list.TextColor3 = Color3.fromRGB(255, 255, 255)
  147. list.TextScaled = true
  148. list.TextSize = 14.000
  149. list.TextWrapped = true
  150.  
  151. UICorner_3.Parent = list
  152.  
  153. UserInputService.InputBegan:Connect(function(key)
  154. if key.KeyCode == Enum.KeyCode.LeftAlt then
  155. main.Visible = not main.Visible
  156. end
  157. end)
  158.  
  159. gearBox.FocusLost:Connect(function()
  160. if gearBox.Text == "killpart" then
  161. local newKillPart = killpart:Clone()
  162. newKillPart.Parent = Player.Backpack
  163. Output.Text = "Success! Given killpart!"
  164. task.wait(6)
  165. Output.Text = "Output:"
  166. elseif gearBox.Text == "bomb" then
  167. local newBomb = bomb:Clone()
  168. newBomb.Parent = Player.Backpack
  169. Output.Text = "Success! Given bomb!"
  170. task.wait(6)
  171. Output.Text = "Output:"
  172. elseif gearBox.Text == "cola" then
  173. local newCola = cola:Clone()
  174. newCola.Parent = Player.Backpack
  175. Output.Text = "Success! Given cola!"
  176. task.wait(6)
  177. Output.Text = "Output:"
  178. elseif gearBox.Text == "hourglass" then
  179. local newHourglass = hourglass:Clone()
  180. newHourglass.Parent = Player.Backpack
  181. Output.Text = "Success! Given hourglass!"
  182. task.wait(6)
  183. Output.Text = "Output:"
  184. elseif gearBox.Text == "yxterminator" then
  185. local newYxterminator = yxterminator:Clone()
  186. newYxterminator.Parent = Player.Backpack
  187. Output.Text = "Success! Given yxterminator!"
  188. task.wait(6)
  189. Output.Text = "Output:"
  190. elseif gearBox.Text == "fusion" then
  191. local newFusion = fusion:Clone()
  192. newFusion.Parent = Player.Backpack
  193. Output.Text = "Success! Given fusion!"
  194. task.wait(6)
  195. Output.Text = "Output:"
  196. elseif gearBox.Text == "jump" then
  197. local newJump = jump:Clone()
  198. newJump.Parent = Player.Backpack
  199. Output.Text = "Success! Given jump!"
  200. task.wait(6)
  201. Output.Text = "Output:"
  202. elseif gearBox.Text == "speed" then
  203. local newSpeed = speed:Clone()
  204. newSpeed.Parent = Player.Backpack
  205. Output.Text = "Success! Given speed!"
  206. task.wait(6)
  207. Output.Text = "Output:"
  208. elseif gearBox.Text == "hook" then
  209. local newHook = hook:Clone()
  210. newHook.Parent = Player.Backpack
  211. Output.Text = "Success! Given hook!"
  212. task.wait(6)
  213. Output.Text = "Output:"
  214. elseif gearBox.Text == "gravity" then
  215. local newGravity = gravity:Clone()
  216. newGravity.Parent = Player.Backpack
  217. Output.Text = "Success! Given gravity!"
  218. task.wait(6)
  219. Output.Text = "Output:"
  220. elseif gearBox.Text == "trowel" then
  221. local newTrowel = trowel:Clone()
  222. newTrowel.Parent = Player.Backpack
  223. Output.Text = "Success! Given trowel!"
  224. task.wait(6)
  225. Output.Text = "Output:"
  226. elseif gearBox.Text == "all" then
  227. for i, gear in pairs(Gear:GetChildren()) do
  228. local newallGears = gear:Clone()
  229. newallGears.Parent = Player.Backpack
  230. Output.Text = "Success! Given all the gears!"
  231. end
  232. task.wait(6)
  233. Output.Text = "Output:"
  234. else
  235. Output.Text = "Error: Gear not found!"
  236. task.wait(6)
  237. Output.Text = "Output:"
  238. end
  239. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement