firebudgy

Untitled

Jun 26th, 2018
359
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.33 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Model0 = Instance.new("Model")
  20. Hat1 = Instance.new("Hat")
  21. Model2 = Instance.new("Model")
  22. Part3 = Instance.new("Part")
  23. SpecialMesh4 = Instance.new("SpecialMesh")
  24. Part5 = Instance.new("Part")
  25. SpecialMesh6 = Instance.new("SpecialMesh")
  26. Part7 = Instance.new("Part")
  27. SpecialMesh8 = Instance.new("SpecialMesh")
  28. Part9 = Instance.new("Part")
  29. SpecialMesh10 = Instance.new("SpecialMesh")
  30. Part11 = Instance.new("Part")
  31. SpecialMesh12 = Instance.new("SpecialMesh")
  32. Part13 = Instance.new("Part")
  33. SpecialMesh14 = Instance.new("SpecialMesh")
  34. Part15 = Instance.new("Part")
  35. SpecialMesh16 = Instance.new("SpecialMesh")
  36. Part17 = Instance.new("Part")
  37. SpecialMesh18 = Instance.new("SpecialMesh")
  38. Part19 = Instance.new("Part")
  39. SpecialMesh20 = Instance.new("SpecialMesh")
  40. Part21 = Instance.new("Part")
  41. SpecialMesh22 = Instance.new("SpecialMesh")
  42. Seat23 = Instance.new("Seat")
  43. Part24 = Instance.new("Part")
  44. SpecialMesh25 = Instance.new("SpecialMesh")
  45. RocketPropulsion26 = Instance.new("RocketPropulsion")
  46. RemoteFunction27 = Instance.new("RemoteFunction")
  47. Script28 = Instance.new("Script")
  48. LocalScript29 = Instance.new("LocalScript")
  49. Backpack30 = Instance.new("Backpack")
  50. HopperBin31 = Instance.new("HopperBin")
  51. LocalScript32 = Instance.new("LocalScript")
  52. HopperBin33 = Instance.new("HopperBin")
  53. Sound34 = Instance.new("Sound")
  54. LocalScript35 = Instance.new("LocalScript")
  55. HopperBin36 = Instance.new("HopperBin")
  56. Sound37 = Instance.new("Sound")
  57. LocalScript38 = Instance.new("LocalScript")
  58. ObjectValue39 = Instance.new("ObjectValue")
  59. Weld40 = Instance.new("Weld")
  60. Weld41 = Instance.new("Weld")
  61. Weld42 = Instance.new("Weld")
  62. Weld43 = Instance.new("Weld")
  63. Weld44 = Instance.new("Weld")
  64. Weld45 = Instance.new("Weld")
  65. Weld46 = Instance.new("Weld")
  66. Weld47 = Instance.new("Weld")
  67. Weld48 = Instance.new("Weld")
  68. Weld49 = Instance.new("Weld")
  69. Weld50 = Instance.new("Weld")
  70. Weld51 = Instance.new("Weld")
  71. Tool52 = Instance.new("Tool")
  72. Part53 = Instance.new("Part")
  73. SpecialMesh54 = Instance.new("SpecialMesh")
  74. Sound55 = Instance.new("Sound")
  75. ManualWeld56 = Instance.new("ManualWeld")
  76. LocalScript57 = Instance.new("LocalScript")
  77. Script58 = Instance.new("Script")
  78. Model0.Parent = mas
  79. Hat1.Name = "TeapotTurret"
  80. Hat1.Parent = Model0
  81. Hat1.AttachmentPos = Vector3.new(0, 0.25, 0.100000001)
  82. Model2.Name = "TeapotVehicle"
  83. Model2.Parent = Hat1
  84. Model2.PrimaryPart = Part3
  85. Part3.Name = "Handle"
  86. Part3.Parent = Model2
  87. Part3.Rotation = Vector3.new(-90, 89.8399963, -90)
  88. Part3.RotVelocity = Vector3.new(6.08332275e-20, 4.26090527, 1.26058997e-20)
  89. Part3.Velocity = Vector3.new(6.61759949, -0.631815135, -6.75644112)
  90. Part3.Anchored = true
  91. Part3.FormFactor = Enum.FormFactor.Plate
  92. Part3.Size = Vector3.new(2, 1.60000002, 2)
  93. Part3.CFrame = CFrame.new(-58.0000153, -31.0135288, 40.4999695, -4.51801401e-32, 1.4610643e-21, 0.999995887, -6.27548846e-11, 1, 1.46106481e-21, -0.999991775, 6.27548846e-11, 4.51801401e-32)
  94. Part3.BottomSurface = Enum.SurfaceType.Smooth
  95. Part3.TopSurface = Enum.SurfaceType.Smooth
  96. Part3.Position = Vector3.new(-58.0000153, -31.0135288, 40.4999695)
  97. Part3.Orientation = Vector3.new(0, 90, 0)
  98. SpecialMesh4.Parent = Part3
  99. SpecialMesh4.MeshId = "http://www.roblox.com/asset/?id=1045320"
  100. SpecialMesh4.Scale = Vector3.new(3, 3, 3)
  101. SpecialMesh4.MeshType = Enum.MeshType.FileMesh
  102. SpecialMesh4.Scale = Vector3.new(3, 3, 3)
  103. Part5.Name = "Handle"
  104. Part5.Parent = Model2
  105. Part5.Rotation = Vector3.new(-90, 89.8399963, -90)
  106. Part5.RotVelocity = Vector3.new(6.08332275e-20, 4.26090527, 1.26058997e-20)
  107. Part5.Velocity = Vector3.new(6.75757122, -0.631815135, 1.76421738)
  108. Part5.Anchored = true
  109. Part5.FormFactor = Enum.FormFactor.Plate
  110. Part5.Size = Vector3.new(2, 1.60000002, 2)
  111. Part5.CFrame = CFrame.new(-60.0000153, -31.0135288, 40.4999695, -4.51801401e-32, 1.4610643e-21, 0.999995887, -6.27548846e-11, 1, 1.46106481e-21, -0.999991775, 6.27548846e-11, 4.51801401e-32)
  112. Part5.BottomSurface = Enum.SurfaceType.Smooth
  113. Part5.TopSurface = Enum.SurfaceType.Smooth
  114. Part5.Position = Vector3.new(-60.0000153, -31.0135288, 40.4999695)
  115. Part5.Orientation = Vector3.new(0, 90, 0)
  116. SpecialMesh6.Parent = Part5
  117. SpecialMesh6.MeshId = "http://www.roblox.com/asset/?id=1045320"
  118. SpecialMesh6.Scale = Vector3.new(3, 3, 3)
  119. SpecialMesh6.MeshType = Enum.MeshType.FileMesh
  120. SpecialMesh6.Scale = Vector3.new(3, 3, 3)
  121. Part7.Name = "back"
  122. Part7.Parent = Model2
  123. Part7.Rotation = Vector3.new(-90, 89.8399963, -90)
  124. Part7.RotVelocity = Vector3.new(6.08332275e-20, 4.26090527, 1.26058997e-20)
  125. Part7.Velocity = Vector3.new(-1.90305698, -0.631815135, -6.61647224)
  126. Part7.Anchored = true
  127. Part7.FormFactor = Enum.FormFactor.Plate
  128. Part7.Size = Vector3.new(2, 1.60000002, 2)
  129. Part7.CFrame = CFrame.new(-58.0000153, -31.0135288, 38.4999847, -4.51801401e-32, 1.4610643e-21, 0.999995887, -6.27548846e-11, 1, 1.46106481e-21, -0.999991775, 6.27548846e-11, 4.51801401e-32)
  130. Part7.BottomSurface = Enum.SurfaceType.Smooth
  131. Part7.TopSurface = Enum.SurfaceType.Smooth
  132. Part7.Position = Vector3.new(-58.0000153, -31.0135288, 38.4999847)
  133. Part7.Orientation = Vector3.new(0, 90, 0)
  134. SpecialMesh8.Parent = Part7
  135. SpecialMesh8.MeshId = "http://www.roblox.com/asset/?id=1045320"
  136. SpecialMesh8.Scale = Vector3.new(3, 3, 3)
  137. SpecialMesh8.MeshType = Enum.MeshType.FileMesh
  138. SpecialMesh8.Scale = Vector3.new(3, 3, 3)
  139. Part9.Name = "Handle"
  140. Part9.Parent = Model2
  141. Part9.Rotation = Vector3.new(-90, 89.8399963, -90)
  142. Part9.RotVelocity = Vector3.new(6.08332275e-20, 4.26090527, 1.26058997e-20)
  143. Part9.Velocity = Vector3.new(-1.76309323, -0.631815135, 1.90350723)
  144. Part9.Anchored = true
  145. Part9.FormFactor = Enum.FormFactor.Plate
  146. Part9.Size = Vector3.new(2, 0.400000006, 2)
  147. Part9.CFrame = CFrame.new(-60.0000153, -31.2135391, 38.4999847, -4.51801401e-32, 1.4610643e-21, 0.999995887, -6.27548846e-11, 1, 1.46106481e-21, -0.999991775, 6.27548846e-11, 4.51801401e-32)
  148. Part9.BottomSurface = Enum.SurfaceType.Smooth
  149. Part9.TopSurface = Enum.SurfaceType.Smooth
  150. Part9.Position = Vector3.new(-60.0000153, -31.2135391, 38.4999847)
  151. Part9.Orientation = Vector3.new(0, 90, 0)
  152. SpecialMesh10.Parent = Part9
  153. SpecialMesh10.MeshId = "http://www.roblox.com/asset/?id=1045320"
  154. SpecialMesh10.Scale = Vector3.new(3, 3, 3)
  155. SpecialMesh10.MeshType = Enum.MeshType.FileMesh
  156. SpecialMesh10.Scale = Vector3.new(3, 3, 3)
  157. Part11.Name = "Handle"
  158. Part11.Parent = Model2
  159. Part11.Rotation = Vector3.new(-90, 89.8399963, -90)
  160. Part11.Anchored = true
  161. Part11.FormFactor = Enum.FormFactor.Plate
  162. Part11.Size = Vector3.new(2, 1.60000002, 2)
  163. Part11.CFrame = CFrame.new(-58.0000153, -31.0135288, 36.5, -4.51801401e-32, 1.4610643e-21, 0.999995887, -6.27548846e-11, 1, 1.46106481e-21, -0.999991775, 6.27548846e-11, 4.51801401e-32)
  164. Part11.BottomSurface = Enum.SurfaceType.Smooth
  165. Part11.TopSurface = Enum.SurfaceType.Smooth
  166. Part11.Position = Vector3.new(-58.0000153, -31.0135288, 36.5)
  167. Part11.Orientation = Vector3.new(0, 90, 0)
  168. SpecialMesh12.Parent = Part11
  169. SpecialMesh12.MeshId = "http://www.roblox.com/asset/?id=1045320"
  170. SpecialMesh12.Scale = Vector3.new(3, 3, 3)
  171. SpecialMesh12.MeshType = Enum.MeshType.FileMesh
  172. SpecialMesh12.Scale = Vector3.new(3, 3, 3)
  173. Part13.Name = "Handle"
  174. Part13.Parent = Model2
  175. Part13.Rotation = Vector3.new(-90, 89.8399963, -90)
  176. Part13.RotVelocity = Vector3.new(6.08332275e-20, 4.26090527, 1.26058997e-20)
  177. Part13.Velocity = Vector3.new(-10.2837496, -0.631815135, 2.04415512)
  178. Part13.Anchored = true
  179. Part13.FormFactor = Enum.FormFactor.Plate
  180. Part13.Size = Vector3.new(2, 1.60000002, 2)
  181. Part13.CFrame = CFrame.new(-60.0000153, -31.0135288, 36.5, -4.51801401e-32, 1.4610643e-21, 0.999995887, -6.27548846e-11, 1, 1.46106481e-21, -0.999991775, 6.27548846e-11, 4.51801401e-32)
  182. Part13.BottomSurface = Enum.SurfaceType.Smooth
  183. Part13.TopSurface = Enum.SurfaceType.Smooth
  184. Part13.Position = Vector3.new(-60.0000153, -31.0135288, 36.5)
  185. Part13.Orientation = Vector3.new(0, 90, 0)
  186. SpecialMesh14.Parent = Part13
  187. SpecialMesh14.MeshId = "http://www.roblox.com/asset/?id=1045320"
  188. SpecialMesh14.Scale = Vector3.new(3, 3, 3)
  189. SpecialMesh14.MeshType = Enum.MeshType.FileMesh
  190. SpecialMesh14.Scale = Vector3.new(3, 3, 3)
  191. Part15.Name = "Handle"
  192. Part15.Parent = Model2
  193. Part15.Rotation = Vector3.new(-90, 89.8399963, -90)
  194. Part15.RotVelocity = Vector3.new(6.08332275e-20, 4.26090527, 1.26058997e-20)
  195. Part15.Velocity = Vector3.new(-1.62312138, -0.631815135, 10.4262009)
  196. Part15.Anchored = true
  197. Part15.FormFactor = Enum.FormFactor.Plate
  198. Part15.Size = Vector3.new(2, 1.60000002, 2)
  199. Part15.CFrame = CFrame.new(-62, -30.6135368, 38.4999847, -4.51801401e-32, 1.4610643e-21, 0.999995887, -6.27548846e-11, 1, 1.46106481e-21, -0.999991775, 6.27548846e-11, 4.51801401e-32)
  200. Part15.BottomSurface = Enum.SurfaceType.Smooth
  201. Part15.TopSurface = Enum.SurfaceType.Smooth
  202. Part15.Position = Vector3.new(-62, -30.6135368, 38.4999847)
  203. Part15.Orientation = Vector3.new(0, 90, 0)
  204. SpecialMesh16.Parent = Part15
  205. SpecialMesh16.MeshId = "http://www.roblox.com/asset/?id=1045320"
  206. SpecialMesh16.Scale = Vector3.new(3, 3, 3)
  207. SpecialMesh16.MeshType = Enum.MeshType.FileMesh
  208. SpecialMesh16.Scale = Vector3.new(3, 3, 3)
  209. Part17.Name = "Handle"
  210. Part17.Parent = Model2
  211. Part17.Rotation = Vector3.new(-90, 89.8399963, -90)
  212. Part17.RotVelocity = Vector3.new(6.08332275e-20, 4.26090527, 1.26058997e-20)
  213. Part17.Velocity = Vector3.new(6.89754295, -0.631815135, 10.284874)
  214. Part17.Anchored = true
  215. Part17.FormFactor = Enum.FormFactor.Plate
  216. Part17.Size = Vector3.new(2, 1.60000002, 2)
  217. Part17.CFrame = CFrame.new(-62, -31.0135288, 40.4999695, -4.51801401e-32, 1.4610643e-21, 0.999995887, -6.27548846e-11, 1, 1.46106481e-21, -0.999991775, 6.27548846e-11, 4.51801401e-32)
  218. Part17.BottomSurface = Enum.SurfaceType.Smooth
  219. Part17.TopSurface = Enum.SurfaceType.Smooth
  220. Part17.Position = Vector3.new(-62, -31.0135288, 40.4999695)
  221. Part17.Orientation = Vector3.new(0, 90, 0)
  222. SpecialMesh18.Parent = Part17
  223. SpecialMesh18.MeshId = "http://www.roblox.com/asset/?id=1045320"
  224. SpecialMesh18.Scale = Vector3.new(3, 3, 3)
  225. SpecialMesh18.MeshType = Enum.MeshType.FileMesh
  226. SpecialMesh18.Scale = Vector3.new(3, 3, 3)
  227. Part19.Name = "Handle"
  228. Part19.Parent = Model2
  229. Part19.Rotation = Vector3.new(-90, 89.8399963, -90)
  230. Part19.Anchored = true
  231. Part19.FormFactor = Enum.FormFactor.Plate
  232. Part19.Size = Vector3.new(2, 1.60000002, 2)
  233. Part19.CFrame = CFrame.new(-62, -31.0135288, 36.5, -4.51801401e-32, 1.4610643e-21, 0.999995887, -6.27548846e-11, 1, 1.46106481e-21, -0.999991775, 6.27548846e-11, 4.51801401e-32)
  234. Part19.BottomSurface = Enum.SurfaceType.Smooth
  235. Part19.TopSurface = Enum.SurfaceType.Smooth
  236. Part19.Position = Vector3.new(-62, -31.0135288, 36.5)
  237. Part19.Orientation = Vector3.new(0, 90, 0)
  238. SpecialMesh20.Parent = Part19
  239. SpecialMesh20.MeshId = "http://www.roblox.com/asset/?id=1045320"
  240. SpecialMesh20.Scale = Vector3.new(3, 3, 3)
  241. SpecialMesh20.MeshType = Enum.MeshType.FileMesh
  242. SpecialMesh20.Scale = Vector3.new(3, 3, 3)
  243. Part21.Name = "Front"
  244. Part21.Parent = Model2
  245. Part21.Rotation = Vector3.new(-90, 89.8399963, -90)
  246. Part21.RotVelocity = Vector3.new(6.08332275e-20, 4.26090527, 1.26058997e-20)
  247. Part21.Velocity = Vector3.new(-1.48314953, -0.631815135, 18.9468594)
  248. Part21.Anchored = true
  249. Part21.FormFactor = Enum.FormFactor.Plate
  250. Part21.Size = Vector3.new(2, 1.60000002, 2)
  251. Part21.CFrame = CFrame.new(-63.9999847, -30.6135368, 38.4999847, -4.51801401e-32, 1.4610643e-21, 0.999995887, -6.27548846e-11, 1, 1.46106481e-21, -0.999991775, 6.27548846e-11, 4.51801401e-32)
  252. Part21.BottomSurface = Enum.SurfaceType.Smooth
  253. Part21.TopSurface = Enum.SurfaceType.Smooth
  254. Part21.Position = Vector3.new(-63.9999847, -30.6135368, 38.4999847)
  255. Part21.Orientation = Vector3.new(0, 90, 0)
  256. SpecialMesh22.Parent = Part21
  257. SpecialMesh22.MeshId = "http://www.roblox.com/asset/?id=1045320"
  258. SpecialMesh22.Scale = Vector3.new(3, 3, 3)
  259. SpecialMesh22.MeshType = Enum.MeshType.FileMesh
  260. SpecialMesh22.Scale = Vector3.new(3, 3, 3)
  261. Seat23.Parent = Model2
  262. Seat23.Transparency = 1
  263. Seat23.Rotation = Vector3.new(-90, 89.8399963, -90)
  264. Seat23.RotVelocity = Vector3.new(6.08332275e-20, 4.26090527, 1.26058997e-20)
  265. Seat23.Velocity = Vector3.new(-1.76309323, -0.631815135, 1.90486336)
  266. Seat23.Anchored = true
  267. Seat23.FormFactor = Enum.FormFactor.Plate
  268. Seat23.Size = Vector3.new(2, 0.400000006, 2)
  269. Seat23.CFrame = CFrame.new(-60.0000153, -30.81353, 38.4999847, -4.51801401e-32, 1.4610643e-21, 0.999995887, -6.27548846e-11, 1, 1.46106481e-21, -0.999991775, 6.27548846e-11, 4.51801401e-32)
  270. Seat23.Position = Vector3.new(-60.0000153, -30.81353, 38.4999847)
  271. Seat23.Orientation = Vector3.new(0, 90, 0)
  272. Part24.Name = "Handle"
  273. Part24.Parent = Hat1
  274. Part24.BrickColor = BrickColor.new("Cool yellow")
  275. Part24.Rotation = Vector3.new(180, -23.6199989, -180)
  276. Part24.RotVelocity = Vector3.new(8.4264061e-25, 3.72885967e-22, 5.50971025e-25)
  277. Part24.Velocity = Vector3.new(3.65131998e-20, 0.00671230676, 3.64665255e-20)
  278. Part24.Anchored = true
  279. Part24.Locked = true
  280. Part24.FormFactor = Enum.FormFactor.Plate
  281. Part24.Size = Vector3.new(2, 1.60000002, 2)
  282. Part24.CFrame = CFrame.new(-53.6243019, -36.4648056, 34.4369431, -0.916248977, 3.7252903e-09, -0.400598884, 0, 1, -9.31322575e-10, 0.400597215, 2.32830644e-10, -0.916245341)
  283. Part24.BottomSurface = Enum.SurfaceType.Smooth
  284. Part24.TopSurface = Enum.SurfaceType.Smooth
  285. Part24.Color = Color3.new(0.992157, 0.917647, 0.552941)
  286. Part24.Position = Vector3.new(-53.6243019, -36.4648056, 34.4369431)
  287. Part24.Orientation = Vector3.new(0, -156.37999, 0)
  288. Part24.Color = Color3.new(0.992157, 0.917647, 0.552941)
  289. SpecialMesh25.Parent = Part24
  290. SpecialMesh25.MeshId = "http://www.roblox.com/asset/?id=1045320"
  291. SpecialMesh25.Scale = Vector3.new(3, 3, 3)
  292. SpecialMesh25.MeshType = Enum.MeshType.FileMesh
  293. SpecialMesh25.Scale = Vector3.new(3, 3, 3)
  294. RocketPropulsion26.Name = "Homing"
  295. RocketPropulsion26.Parent = Part24
  296. RocketPropulsion26.MaxSpeed = 25
  297. RocketPropulsion26.CartoonFactor = 1
  298. RocketPropulsion26.MaxThrust = 40000000000
  299. RocketPropulsion26.ThrustD = 3
  300. RocketPropulsion26.ThrustP = 30
  301. RocketPropulsion26.MaxTorque = Vector3.new(3.99999995e+15, 3.99999995e+15, 3.99999995e+15)
  302. RocketPropulsion26.TurnD = 4000
  303. RocketPropulsion26.TurnP = 20000
  304. RemoteFunction27.Name = "MouseConnection"
  305. RemoteFunction27.Parent = Part24
  306. Script28.Name = "Massive"
  307. Script28.Parent = Part24
  308. table.insert(cors,sandbox(Script28,function()
  309. --Made by Luckymaxer
  310.  
  311. Handle = script.Parent
  312. Hat = Handle.Parent
  313.  
  314. Tools = Handle:WaitForChild("Tools")
  315. ControllingPlayer = Handle:WaitForChild("ControllingPlayer")
  316.  
  317. TeapotVehicle = Hat:FindFirstChild("TeapotVehicle")
  318. Delay(2, function()
  319. if TeapotVehicle then
  320. TeapotVehicle:Destroy()
  321. end
  322. end)
  323.  
  324. GravityHammer = Hat:WaitForChild("GravityHammer")
  325. GravityHammerHandle = GravityHammer:WaitForChild("Handle")
  326.  
  327. Homing = Handle:WaitForChild("Homing")
  328. MouseConnection = Handle:WaitForChild("MouseConnection")
  329. ControlScript = script:WaitForChild("ControlScript")
  330.  
  331. Players = game:GetService("Players")
  332. Debris = game:GetService("Debris")
  333.  
  334. PlayerTools = {}
  335.  
  336. Debounce = false
  337.  
  338. for i, v in pairs(Handle:GetChildren()) do
  339. if v:IsA("JointInstance") then
  340. v:Destroy()
  341. end
  342. end
  343.  
  344. function GetPlayer()
  345. if not Player or (not ControllingPlayer.Value or Player == ControllingPlayer.Value) then
  346. Character = Hat.Parent
  347. local TempPlayer = Players:GetPlayerFromCharacter(Character)
  348. if TempPlayer then
  349. Backpack = TempPlayer:FindFirstChild("Backpack")
  350. if Backpack then
  351. Player = TempPlayer
  352. ControllingPlayer.Value = Player
  353. PlayerControlScript = ControlScript:Clone()
  354. MouseConnectionValue = Instance.new("ObjectValue")
  355. MouseConnectionValue.Name = MouseConnection.Name
  356. MouseConnectionValue.Value = MouseConnection
  357. MouseConnectionValue.Parent = PlayerControlScript
  358. PlayerControlScript.Disabled = false
  359. PlayerControlScript.Parent = Backpack
  360. MouseConnection.OnServerInvoke = (function(Player, Script, Action, Value)
  361. if Script and Script ~= PlayerControlScript then
  362. Script.Disabled = true
  363. Script:Destroy()
  364. else
  365. if Action == "KeyDown" then
  366. if Value == "q" then
  367. GiveTeapot(Player)
  368. end
  369. elseif Action == "KeyUp" then
  370. elseif Action == "Button1Down" then
  371. elseif Action == "Button1Up" then
  372. end
  373. end
  374. end)
  375. Character.Changed:connect(function(Property)
  376. if Property == "Parent" and not Character.Parent then
  377. Hat:Destroy()
  378. end
  379. end)
  380. end
  381. end
  382. end
  383. end
  384.  
  385. function TagHumanoid(humanoid, player)
  386. local Creator_Tag = Instance.new("ObjectValue")
  387. Creator_Tag.Name = "creator"
  388. Creator_Tag.Value = player
  389. Debris:AddItem(Creator_Tag, 2)
  390. Creator_Tag.Parent = humanoid
  391. end
  392.  
  393. function UntagHumanoid(humanoid)
  394. for i, v in pairs(humanoid:GetChildren()) do
  395. if v:IsA("ObjectValue") and v.Name == "creator" then
  396. v:Destroy()
  397. end
  398. end
  399. end
  400.  
  401. function FindCharacterAncestor(Parent)
  402. if Parent and Parent ~= game:GetService("Workspace") then
  403. local humanoid = Parent:FindFirstChild("Humanoid")
  404. if humanoid then
  405. return Parent, humanoid
  406. else
  407. return FindCharacterAncestor(Parent.Parent)
  408. end
  409. end
  410. return nil
  411. end
  412.  
  413. function TeapotTouched(Pot, Hit)
  414. if Hit and Hit.Parent and Hit ~= Handle and Hat.Parent ~= Character and not Debounce then
  415. local character, humanoid = FindCharacterAncestor(Hit)
  416. if character ~= Character and humanoid and humanoid.Health > 0 then
  417. Debounce = true
  418. local Explosion = Instance.new("Explosion")
  419. Explosion.BlastRadius = 50
  420. Explosion.BlastPressure = 0
  421. Explosion.Hit:connect(function(Hit2)
  422. if Hit2 ~= Handle then
  423. local character, humanoid = FindCharacterAncestor(Hit2)
  424. if character ~= Character and humanoid and humanoid.Health > 0 then
  425. UntagHumanoid(humanoid)
  426. TagHumanoid(humanoid, Player)
  427. Hit2:BreakJoints()
  428. end
  429. end
  430. end)
  431. Explosion.Position = Pot.Position
  432. Explosion.Parent = game:GetService("Workspace")
  433. wait(0.5)
  434. Debounce = false
  435. elseif character == Character then
  436. if Handle.Parent ~= Hat then
  437. Homing:Abort()
  438. Handle.Parent = Hat
  439. Hat.Parent = Character
  440. Handle.CanCollide = true
  441. end
  442. Hat.Parent = Character
  443. end
  444. end
  445. end
  446.  
  447. function GiveTeapot(Player)
  448. if Player and Hat.Parent ~= Character then
  449. local Character = Player.Character
  450. if Character then
  451. local Torso = Character:FindFirstChild("Torso")
  452. if Torso then
  453. Handle.CanCollide = false
  454. local Position = Torso.CFrame + Vector3.new(0, 1000, 0)
  455. Handle.Elasticity = 0.1
  456. Homing.Target = Torso
  457. Homing:Fire()
  458. Homing.ThrustP = 50000
  459. Homing.MaxTorque = Vector3.new(0, 0, 0)
  460. Homing.TurnP = 0
  461. end
  462. end
  463. end
  464. end
  465.  
  466. function GiveTools()
  467. for i, v in pairs(PlayerTools) do
  468. if v and v.Parent then
  469. v:Destroy()
  470. end
  471. end
  472. PlayerTools = {}
  473. if Hat.Parent == Character then
  474. for i, v in pairs(Tools:GetChildren()) do
  475. local Tool = v:Clone()
  476. table.insert(PlayerTools, Tool)
  477. Tool.Parent = Backpack
  478. end
  479. end
  480. end
  481.  
  482. Hat.Changed:connect(function(Property)
  483. if Property == "Parent" then
  484. if not Player then
  485. GetPlayer()
  486. end
  487. GiveTools()
  488. if Hat.Parent ~= Character then
  489. Spawn(function()
  490. wait()
  491. Handle.Parent = game:GetService("Workspace")
  492. Hat.Parent = nil
  493. end)
  494. end
  495. end
  496. end)
  497.  
  498. GravityHammer.Changed:connect(function(Property)
  499. if Property == "Parent" then
  500. if GravityHammer.Parent ~= Backpack and GravityHammer.Parent ~= Character and GravityHammer.Parent ~= Hat then
  501. wait()
  502. GravityHammer.Parent = Hat
  503. end
  504. end
  505. end)
  506.  
  507. GravityHammerHandle.Touched:connect(function(Hit)
  508. if Hit and Hit.Parent and GravityHammer.Parent ~= Character then
  509. local character, humanoid = FindCharacterAncestor(Hit)
  510. if character and character ~= Character and humanoid and humanoid.Health > 0 then
  511. UntagHumanoid(humanoid)
  512. TagHumanoid(humanoid, Player)
  513. humanoid.Health = 0
  514. end
  515. end
  516. end)
  517.  
  518. GiveTools()
  519.  
  520. Connection = Handle.Touched:connect(function(Hit)
  521. if Player then
  522. TeapotTouched(Handle, Hit)
  523. end
  524. end)
  525.  
  526. GetPlayer()
  527. end))
  528. LocalScript29.Name = "ControlScript"
  529. LocalScript29.Parent = Script28
  530. LocalScript29.Disabled = true
  531. table.insert(cors,sandbox(LocalScript29,function()
  532. --Made by Luckymaxer
  533.  
  534. Backpack = script.Parent
  535. Player = Backpack.Parent
  536. Mouse = Player:GetMouse()
  537.  
  538. MouseConnection = script:WaitForChild("MouseConnection").Value
  539.  
  540. Mouse.Button1Down:connect(function()
  541. MouseConnection:InvokeServer(script, "Button1Down", Mouse.Target)
  542. end)
  543.  
  544. Mouse.Button1Up:connect(function()
  545. MouseConnection:InvokeServer(script, "Button1Up", Mouse.Target)
  546. end)
  547.  
  548. Mouse.KeyDown:connect(function(Key)
  549. MouseConnection:InvokeServer(script, "KeyDown", Key)
  550. end)
  551.  
  552. Mouse.KeyUp:connect(function(Key)
  553. MouseConnection:InvokeServer(script, "KeyUp", Key)
  554. end)
  555. end))
  556. Backpack30.Name = "Tools"
  557. Backpack30.Parent = Part24
  558. HopperBin31.Name = "Fire Shield"
  559. HopperBin31.Parent = Backpack30
  560. LocalScript32.Parent = HopperBin31
  561. table.insert(cors,sandbox(LocalScript32,function()
  562. --clockwork
  563.  
  564. --Fix implemented by Luckymaxer
  565.  
  566. HopperBin = script.Parent
  567.  
  568. Debris = game:GetService("Debris")
  569.  
  570. function GetX(t)
  571. return 41 * math.cos(t) - 18 * math.sin(t) - 83 * math.cos(2 * t) - 11 * math.cos(3 * t) + 27 * math.sin(3 * t)
  572. end
  573.  
  574. function GetY(t)
  575. return 36 * math.cos(t) + 27 * math.sin(t) - 113 * math.cos(2 * t) + 30 * math.sin(2 * t) + 11 * math.cos(3 * t) - 27 * math.sin(3 * t)
  576. end
  577.  
  578. function GetZ(t)
  579. return 45 * math.sin(t) - 30 * math.cos(2 * t) + 113 * math.sin(2 * t) - 11 * math.cos(3 * t) + 27 * math.sin(3 * t)
  580. end
  581.  
  582. Template = Instance.new("Explosion")
  583. Template.BlastRadius = 3
  584. Template.BlastPressure = 0
  585. Template.ExplosionType = Enum.ExplosionType.NoCraters
  586.  
  587. Spaw = false
  588.  
  589. function TagHumanoid(humanoid, player)
  590. local Creator_Tag = Instance.new("ObjectValue")
  591. Creator_Tag.Name = "creator"
  592. Creator_Tag.Value = player
  593. Debris:AddItem(Creator_Tag, 2)
  594. Creator_Tag.Parent = humanoid
  595. end
  596.  
  597. function UntagHumanoid(humanoid)
  598. for i, v in pairs(humanoid:GetChildren()) do
  599. if v:IsA("ObjectValue") and v.Name == "creator" then
  600. v:Destroy()
  601. end
  602. end
  603. end
  604.  
  605. function FindCharacterAncestor(Parent)
  606. if Parent and Parent ~= game:GetService("Workspace") then
  607. local humanoid = Parent:FindFirstChild("Humanoid")
  608. if humanoid then
  609. return Parent, humanoid
  610. else
  611. return FindCharacterAncestor(Parent.Parent)
  612. end
  613. end
  614. return nil
  615. end
  616.  
  617. function ExplosionHit(Explosion)
  618. Explosion.Hit:connect(function(Hit)
  619. if Hit and Hit.Parent then
  620. local character, humanoid = FindCharacterAncestor(Hit)
  621. if character and character ~= Character and humanoid and humanoid.Health > 0 then
  622. UntagHumanoid(humanoid)
  623. TagHumanoid(humanoid, Player)
  624. Hit:BreakJoints()
  625. end
  626. end
  627. end)
  628. end
  629.  
  630. function Button1Down()
  631. Spaw = not Spaw
  632. i = 0
  633. if Spaw then
  634. while Spaw do
  635. i = (i + 0.15)
  636. local Explosion = Template:Clone()
  637. Explosion.Position = Torso.Position + Vector3.new(GetX(i) / 5, GetY(i) / 5, GetZ(i) / 5)
  638. ExplosionHit(Explosion)
  639. Explosion.Parent = game:GetService("Workspace")
  640. Explosion = Template:Clone()
  641. Explosion.Position = Torso.Position - Vector3.new(GetX(i) / 5, GetY(i) / 5, GetZ(i) / 5)
  642. ExplosionHit(Explosion)
  643. Explosion.Parent = game:GetService("Workspace")
  644. wait(0.025)
  645. end
  646. end
  647. end
  648.  
  649. function Selected(Mouse)
  650. Backpack = HopperBin.Parent
  651. Player = Backpack.Parent
  652. Character = Player.Character
  653. Humanoid = Character:FindFirstChild("Humanoid")
  654. Torso = Character:FindFirstChild("Torso")
  655. if not Player or not Character or not Humanoid or Humanoid.Health == 0 or not Torso then
  656. return
  657. end
  658. Mouse.Button1Down:connect(function()
  659. Button1Down()
  660. end)
  661. Mouse.Icon = "rbxasset://textures\\GunCursor.png"
  662. end
  663.  
  664. HopperBin.Selected:connect(Selected)
  665. end))
  666. HopperBin33.Name = "Katon Goukakyou No Jutsu"
  667. HopperBin33.Parent = Backpack30
  668. Sound34.Parent = HopperBin33
  669. Sound34.SoundId = "http://www.roblox.com/asset/?id=1079802"
  670. Sound34.Volume = 0.20000000298023
  671. LocalScript35.Parent = HopperBin33
  672. table.insert(cors,sandbox(LocalScript35,function()
  673. --clockwork
  674.  
  675. --Fix implemented by Luckymaxer
  676.  
  677. HopperBin = script.Parent
  678.  
  679. Sound = HopperBin:WaitForChild("Sound")
  680.  
  681. Debris = game:GetService("Debris")
  682.  
  683. function TagHumanoid(humanoid, player)
  684. local Creator_Tag = Instance.new("ObjectValue")
  685. Creator_Tag.Name = "creator"
  686. Creator_Tag.Value = player
  687. Debris:AddItem(Creator_Tag, 2)
  688. Creator_Tag.Parent = humanoid
  689. end
  690.  
  691. function UntagHumanoid(humanoid)
  692. for i, v in pairs(humanoid:GetChildren()) do
  693. if v:IsA("ObjectValue") and v.Name == "creator" then
  694. v:Destroy()
  695. end
  696. end
  697. end
  698.  
  699. function FindCharacterAncestor(Parent)
  700. if Parent and Parent ~= game:GetService("Workspace") then
  701. local humanoid = Parent:FindFirstChild("Humanoid")
  702. if humanoid then
  703. return Parent, humanoid
  704. else
  705. return FindCharacterAncestor(Parent.Parent)
  706. end
  707. end
  708. return nil
  709. end
  710.  
  711. function ExplosionHit(Explosion)
  712. Explosion.Hit:connect(function(Hit)
  713. if Hit and Hit.Parent then
  714. local character, humanoid = FindCharacterAncestor(Hit)
  715. if character and character ~= Character and humanoid and humanoid.Health > 0 then
  716. UntagHumanoid(humanoid)
  717. TagHumanoid(humanoid, Player)
  718. Hit:BreakJoints()
  719. end
  720. end
  721. end)
  722. end
  723.  
  724. function Explode(Position)
  725. local Explosion = Instance.new("Explosion")
  726. Explosion.BlastRadius = 10
  727. Explosion.BlastPressure = 0
  728. Explosion.ExplosionType = Enum.ExplosionType.NoCraters
  729. Explosion.Position = Position
  730. ExplosionHit(Explosion)
  731. Explosion.Parent = game:GetService("Workspace")
  732. end
  733.  
  734. function Button1Down(Mouse)
  735. local StartPos = Head.Position
  736. local Delta = Mouse.Hit.p - StartPos
  737. local Unit = Delta.unit
  738. Sound:Play()
  739. for i = 0, 75 do
  740. Explode(StartPos + Unit * 20 + i * Unit * i / 25)
  741. wait(0.05)
  742. end
  743. end
  744.  
  745. function Selected(Mouse)
  746. Backpack = HopperBin.Parent
  747. Player = Backpack.Parent
  748. Character = Player.Character
  749. Humanoid = Character:FindFirstChild("Humanoid")
  750. Head = Character:FindFirstChild("Head")
  751. if not Player or not Character or not Humanoid or Humanoid.Health == 0 or not Head then
  752. return
  753. end
  754. Mouse.Button1Down:connect(function()
  755. Button1Down(Mouse)
  756. end)
  757. Mouse.Icon = "rbxasset://textures\\GunCursor.png"
  758. end
  759.  
  760. HopperBin.Selected:connect(Selected)
  761. end))
  762. HopperBin36.Name = "SpinFire"
  763. HopperBin36.Parent = Backpack30
  764. Sound37.Parent = HopperBin36
  765. Sound37.SoundId = "rbxasset://sounds/Rocket whoosh 01.wav"
  766. Sound37.Volume = 0.60000002384186
  767. LocalScript38.Parent = HopperBin36
  768. table.insert(cors,sandbox(LocalScript38,function()
  769. --clockwork
  770.  
  771. --Fix implemented by Luckymaxer
  772.  
  773. HopperBin = script.Parent
  774.  
  775. Sound = HopperBin:WaitForChild("Sound")
  776.  
  777. Debris = game:GetService("Debris")
  778.  
  779. function TagHumanoid(humanoid, player)
  780. local Creator_Tag = Instance.new("ObjectValue")
  781. Creator_Tag.Name = "creator"
  782. Creator_Tag.Value = player
  783. Debris:AddItem(Creator_Tag, 2)
  784. Creator_Tag.Parent = humanoid
  785. end
  786.  
  787. function UntagHumanoid(humanoid)
  788. for i, v in pairs(humanoid:GetChildren()) do
  789. if v:IsA("ObjectValue") and v.Name == "creator" then
  790. v:Destroy()
  791. end
  792. end
  793. end
  794.  
  795. function FindCharacterAncestor(Parent)
  796. if Parent and Parent ~= game:GetService("Workspace") then
  797. local humanoid = Parent:FindFirstChild("Humanoid")
  798. if humanoid then
  799. return Parent, humanoid
  800. else
  801. return FindCharacterAncestor(Parent.Parent)
  802. end
  803. end
  804. return nil
  805. end
  806.  
  807. function ExplosionHit(Explosion)
  808. Explosion.Hit:connect(function(Hit)
  809. if Hit and Hit.Parent then
  810. local character, humanoid = FindCharacterAncestor(Hit)
  811. if character and character ~= Character and humanoid and humanoid.Health > 0 then
  812. UntagHumanoid(humanoid)
  813. TagHumanoid(humanoid, Player)
  814. Hit:BreakJoints()
  815. end
  816. end
  817. end)
  818. end
  819.  
  820. function Explode(Position)
  821. local Explosion = Instance.new("Explosion")
  822. Explosion.BlastRadius = 10
  823. Explosion.BlastPressure = 0
  824. Explosion.ExplosionType = Enum.ExplosionType.NoCraters
  825. Explosion.Position = Position
  826. ExplosionHit(Explosion)
  827. Explosion.Parent = game:GetService("Workspace")
  828. end
  829.  
  830. function Button1Down(Mouse)
  831. Sound:Play()
  832. local Direction = CFrame.new(Head.Position, Mouse.Hit.p)
  833. for i = 0, 75 do
  834. x = math.sin(i / 3) * 8 * (75 - i) / 75
  835. y = math.cos(i / 3) * 8 * (75 - i) / 75
  836.  
  837. local Helix = Direction * CFrame.new(x, y, -i)
  838.  
  839. Explode(Helix.p)
  840.  
  841. x = -math.sin(i / 3) * 8 * (75 - i) / 75
  842. y = -math.cos(i / 3) * 8 * (75 - i) / 75
  843.  
  844. Helix = Direction * CFrame.new(x, y, -i)
  845.  
  846. explode(helix.p)
  847. wait(.02)
  848. end
  849. sfx:pause()
  850. end
  851.  
  852. function Selected(Mouse)
  853. Backpack = HopperBin.Parent
  854. Player = Backpack.Parent
  855. Character = Player.Character
  856. Humanoid = Character:FindFirstChild("Humanoid")
  857. Head = Character:FindFirstChild("Head")
  858. if not Player or not Character or not Humanoid or Humanoid.Health == 0 or not Head then
  859. return
  860. end
  861. Mouse.Button1Down:connect(function()
  862. Button1Down(Mouse)
  863. end)
  864. Mouse.Icon = "rbxasset://textures\\GunCursor.png"
  865. end
  866.  
  867. HopperBin.Selected:connect(Selected)
  868. end))
  869. ObjectValue39.Name = "ControllingPlayer"
  870. ObjectValue39.Parent = Part24
  871. Weld40.Parent = Part24
  872. Weld40.C0 = CFrame.new(-1.7998085, -20.748745, 27.5207024, -0.916252851, -5.35784027e-22, 0.400600553, -5.74539893e-23, 1, 9.09494702e-13, -0.400600582, 1.17258638e-21, -0.916252851)
  873. Weld40.C1 = CFrame.new(-11.7386932, -10.7007666, -11.5069704, -0.993298829, 0.0185820181, 0.114070132, 0.114087924, -0.000103826387, 0.99347055, 0.0184725318, 0.999827325, -0.00201685284)
  874. Weld40.Part0 = Part24
  875. Weld40.Part1 = Part53
  876. Weld41.Parent = Part24
  877. Weld41.C0 = CFrame.new(-1.7998085, -20.748745, 27.5207024, -0.916252851, -5.35784027e-22, 0.400600553, -5.74539893e-23, 1, 9.09494702e-13, -0.400600582, 1.17258638e-21, -0.916252851)
  878. Weld41.C1 = CFrame.new(29.9999962, -26.3999977, -3.00000024, 0, -9.09494702e-13, -0.999999881, 2.117489e-23, 1, 9.09494702e-13, 0.99999994, 2.117489e-23, 0)
  879. Weld41.Part0 = Part24
  880. Weld41.Part1 = Seat23
  881. Weld42.Parent = Part24
  882. Weld42.C0 = CFrame.new(-1.7998085, -20.748745, 27.5207024, -0.916252851, -5.35784027e-22, 0.400600553, -5.74539893e-23, 1, 9.09494702e-13, -0.400600582, 1.17258638e-21, -0.916252851)
  883. Weld42.C1 = CFrame.new(29.9999962, -26.5999985, 0.999999464, 0, -9.09494702e-13, -0.999999881, 2.117489e-23, 1, 9.09494702e-13, 0.99999994, 2.117489e-23, 0)
  884. Weld42.Part0 = Part24
  885. Weld42.Part1 = Part21
  886. Weld43.Parent = Part24
  887. Weld43.C0 = CFrame.new(-1.7998085, -20.748745, 27.5207024, -0.916252851, -5.35784027e-22, 0.400600553, -5.74539893e-23, 1, 9.09494702e-13, -0.400600582, 1.17258638e-21, -0.916252851)
  888. Weld43.C1 = CFrame.new(29.9999962, -26.5999985, -1.00000036, 0, -9.09494702e-13, -0.999999881, 2.117489e-23, 1, 9.09494702e-13, 0.99999994, 2.117489e-23, 0)
  889. Weld43.Part0 = Part24
  890. Weld43.Part1 = Part15
  891. Weld44.Parent = Part24
  892. Weld44.C0 = CFrame.new(-1.7998085, -20.748745, 27.5207024, -0.916252851, -5.35784027e-22, 0.400600553, -5.74539893e-23, 1, 9.09494702e-13, -0.400600582, 1.17258638e-21, -0.916252851)
  893. Weld44.C1 = CFrame.new(27.9999962, -26.1999989, -0.99999994, 0, -9.09494702e-13, -0.999999881, 2.117489e-23, 1, 9.09494702e-13, 0.99999994, 2.117489e-23, 0)
  894. Weld44.Part0 = Part24
  895. Weld44.Part1 = Part19
  896. Weld45.Parent = Part24
  897. Weld45.C0 = CFrame.new(-1.7998085, -20.748745, 27.5207024, -0.916252851, -5.35784027e-22, 0.400600553, -5.74539893e-23, 1, 9.09494702e-13, -0.400600582, 1.17258638e-21, -0.916252851)
  898. Weld45.C1 = CFrame.new(27.9999962, -26.1999989, -4.99999952, 0, -9.09494702e-13, -0.999999881, 2.117489e-23, 1, 9.09494702e-13, 0.99999994, 2.117489e-23, 0)
  899. Weld45.Part0 = Part24
  900. Weld45.Part1 = Part11
  901. Weld46.Parent = Part24
  902. Weld46.C0 = CFrame.new(-1.7998085, -20.748745, 27.5207024, -0.916252851, -5.35784027e-22, 0.400600553, -5.74539893e-23, 1, 9.09494702e-13, -0.400600582, 1.17258638e-21, -0.916252851)
  903. Weld46.C1 = CFrame.new(29.9999962, -25.9999981, -2.99999976, 0, -9.09494702e-13, -0.999999881, 2.117489e-23, 1, 9.09494702e-13, 0.99999994, 2.117489e-23, 0)
  904. Weld46.Part0 = Part24
  905. Weld46.Part1 = Part9
  906. Weld47.Parent = Part24
  907. Weld47.C0 = CFrame.new(-1.7998085, -20.748745, 27.5207024, -0.916252851, -5.35784027e-22, 0.400600553, -5.74539893e-23, 1, 9.09494702e-13, -0.400600582, 1.17258638e-21, -0.916252851)
  908. Weld47.C1 = CFrame.new(29.9999962, -26.1999969, -4.99999952, 0, -9.09494702e-13, -0.999999881, 2.117489e-23, 1, 9.09494702e-13, 0.99999994, 2.117489e-23, 0)
  909. Weld47.Part0 = Part24
  910. Weld47.Part1 = Part7
  911. Weld48.Parent = Part24
  912. Weld48.C0 = CFrame.new(-1.7998085, -20.748745, 27.5207024, -0.916252851, -5.35784027e-22, 0.400600553, -5.74539893e-23, 1, 9.09494702e-13, -0.400600582, 1.17258638e-21, -0.916252851)
  913. Weld48.C1 = CFrame.new(31.9999962, -26.1999989, -2.99999976, 0, -9.09494702e-13, -0.999999881, 2.117489e-23, 1, 9.09494702e-13, 0.99999994, 2.117489e-23, 0)
  914. Weld48.Part0 = Part24
  915. Weld48.Part1 = Part5
  916. Weld49.Parent = Part24
  917. Weld49.C0 = CFrame.new(-1.7998085, -20.748745, 27.5207024, -0.916252851, -5.35784027e-22, 0.400600553, -5.74539893e-23, 1, 9.09494702e-13, -0.400600582, 1.17258638e-21, -0.916252851)
  918. Weld49.C1 = CFrame.new(31.9999962, -26.1999989, -4.99999952, 0, -9.09494702e-13, -0.999999881, 2.117489e-23, 1, 9.09494702e-13, 0.99999994, 2.117489e-23, 0)
  919. Weld49.Part0 = Part24
  920. Weld49.Part1 = Part3
  921. Weld50.Parent = Part24
  922. Weld50.C0 = CFrame.new(-1.7998085, -20.748745, 27.5207024, -0.916252851, -5.35784027e-22, 0.400600553, -5.74539893e-23, 1, 9.09494702e-13, -0.400600582, 1.17258638e-21, -0.916252851)
  923. Weld50.C1 = CFrame.new(31.9999962, -26.1999969, -1.00000036, 0, -9.09494702e-13, -0.999999881, 2.117489e-23, 1, 9.09494702e-13, 0.99999994, 2.117489e-23, 0)
  924. Weld50.Part0 = Part24
  925. Weld50.Part1 = Part17
  926. Weld51.Parent = Part24
  927. Weld51.C0 = CFrame.new(-1.7998085, -20.748745, 27.5207024, -0.916252851, -5.35784027e-22, 0.400600553, -5.74539893e-23, 1, 9.09494702e-13, -0.400600582, 1.17258638e-21, -0.916252851)
  928. Weld51.C1 = CFrame.new(27.9999981, -26.1999989, -2.99999976, 0, -9.09494702e-13, -0.999999881, 2.117489e-23, 1, 9.09494702e-13, 0.99999994, 2.117489e-23, 0)
  929. Weld51.Part0 = Part24
  930. Weld51.Part1 = Part13
  931. Tool52.Name = "GravityHammer"
  932. Tool52.Parent = Hat1
  933. Tool52.TextureId = "http://www.roblox.com/asset/?id=1256305"
  934. Tool52.GripForward = Vector3.new(-1, -0, -0)
  935. Tool52.GripPos = Vector3.new(0, 0, -3.25)
  936. Tool52.GripRight = Vector3.new(0, 1, 0)
  937. Tool52.GripUp = Vector3.new(0, 0, 1)
  938. Part53.Name = "Handle"
  939. Part53.Parent = Tool52
  940. Part53.BrickColor = BrickColor.new("Dark stone grey")
  941. Part53.Reflectance = 0.40000000596046
  942. Part53.Rotation = Vector3.new(-90.1199951, 1.05999994, -173.449997)
  943. Part53.RotVelocity = Vector3.new(8.4264061e-25, 3.72885967e-22, 5.50971025e-25)
  944. Part53.Velocity = Vector3.new(3.13014643e-20, 0.00671230676, 4.37683396e-20)
  945. Part53.Anchored = true
  946. Part53.FormFactor = Enum.FormFactor.Plate
  947. Part53.Size = Vector3.new(1, 0.800000012, 10)
  948. Part53.CFrame = CFrame.new(-73.226593, -45.4915504, 20.4468555, -0.993294716, 0.114087462, 0.0184724592, 0.0185820181, -0.0001038255, 0.999827325, 0.114069134, 0.993462503, -0.00201683445)
  949. Part53.BottomSurface = Enum.SurfaceType.Smooth
  950. Part53.TopSurface = Enum.SurfaceType.Smooth
  951. Part53.Color = Color3.new(0.388235, 0.372549, 0.384314)
  952. Part53.Position = Vector3.new(-73.226593, -45.4915504, 20.4468555)
  953. Part53.Orientation = Vector3.new(-88.9399948, 96.2299957, 90.3199997)
  954. Part53.Color = Color3.new(0.388235, 0.372549, 0.384314)
  955. SpecialMesh54.Parent = Part53
  956. SpecialMesh54.MeshId = "http://www.roblox.com/asset/?id=1256290"
  957. SpecialMesh54.Scale = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007)
  958. SpecialMesh54.TextureId = "http://www.roblox.com/asset/?id=1256283"
  959. SpecialMesh54.MeshType = Enum.MeshType.FileMesh
  960. SpecialMesh54.Scale = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007)
  961. Sound55.Parent = Part53
  962. Sound55.SoundId = "http://www.roblox.com/asset/?id=1255794"
  963. Sound55.Volume = 1
  964. ManualWeld56.Name = "Handle Terrain Joint"
  965. ManualWeld56.Parent = Part53
  966. ManualWeld56.C1 = CFrame.new(-113.076073, -78.574501, -6.91665745, -0.993294835, 0.0185820181, 0.114069194, 0.114087462, -0.000103826329, 0.993462563, 0.0184724592, 0.999827325, -0.00201683631)
  967. ManualWeld56.Part1 = Part53
  968. LocalScript57.Name = "MouseIcon"
  969. LocalScript57.Parent = Tool52
  970. table.insert(cors,sandbox(LocalScript57,function()
  971. --Made by Luckymaxer
  972.  
  973. Mouse_Icon = "rbxasset://textures/GunCursor.png"
  974. Reloading_Icon = "rbxasset://textures/GunWaitCursor.png"
  975.  
  976. Tool = script.Parent
  977.  
  978. Mouse = nil
  979.  
  980. function UpdateIcon()
  981. if Mouse then
  982. Mouse.Icon = Tool.Enabled and Mouse_Icon or Reloading_Icon
  983. end
  984. end
  985.  
  986. function OnEquipped(ToolMouse)
  987. Mouse = ToolMouse
  988. UpdateIcon()
  989. end
  990.  
  991. function OnChanged(Property)
  992. if Property == "Enabled" then
  993. UpdateIcon()
  994. end
  995. end
  996.  
  997. Tool.Equipped:connect(OnEquipped)
  998. Tool.Changed:connect(OnChanged)
  999.  
  1000. end))
  1001. Script58.Name = "SwordScript"
  1002. Script58.Parent = Tool52
  1003. table.insert(cors,sandbox(Script58,function()
  1004. --Made by Luckymaxer
  1005.  
  1006. Tool = script.Parent
  1007. Handle = Tool:WaitForChild("Handle")
  1008.  
  1009. Sound = Handle:WaitForChild("Sound")
  1010.  
  1011. Players = game:GetService("Players")
  1012. Debris = game:GetService("Debris")
  1013.  
  1014. Debounce = false
  1015.  
  1016. Tool.Enabled = true
  1017.  
  1018. function TagHumanoid(humanoid, player)
  1019. local Creator_Tag = Instance.new("ObjectValue")
  1020. Creator_Tag.Name = "creator"
  1021. Creator_Tag.Value = player
  1022. Debris:AddItem(Creator_Tag, 2)
  1023. Creator_Tag.Parent = humanoid
  1024. end
  1025.  
  1026. function UntagHumanoid(humanoid)
  1027. for i, v in pairs(humanoid:GetChildren()) do
  1028. if v:IsA("ObjectValue") and v.Name == "creator" then
  1029. v:Destroy()
  1030. end
  1031. end
  1032. end
  1033.  
  1034. function FindCharacterAncestor(Parent)
  1035. if Parent and Parent ~= game:GetService("Workspace") then
  1036. local humanoid = Parent:FindFirstChild("Humanoid")
  1037. if humanoid then
  1038. return Parent, humanoid
  1039. else
  1040. return FindCharacterAncestor(Parent.Parent)
  1041. end
  1042. end
  1043. return nil
  1044. end
  1045.  
  1046. function Blow(Hit)
  1047. RightGrip = RightGrip:Clone()
  1048. if Hit and Hit.Parent then
  1049. local humanoid = Hit.Parent:FindFirstChild("Humanoid")
  1050. if humanoid == Humanoid then
  1051. return
  1052. end
  1053. if humanoid then
  1054. Propel(Hit)
  1055. UntagHumanoid(humanoid)
  1056. TagHumanoid(humanoid, Player)
  1057. humanoid.Health = humanoid.Health - 49
  1058. else
  1059. Explode(Hit)
  1060. end
  1061. end
  1062. end
  1063.  
  1064. function Propel(Part)
  1065. if not Part or not Part.Parent or Part.Anchored then
  1066. return
  1067. end
  1068. local character, humanoid = FindCharacterAncestor(Part)
  1069. if character == Character then
  1070. return
  1071. end
  1072. local Direction = (Part.Position - Torso.Position).unit
  1073. Direction = Direction + Vector3.new(0, 1, 0)
  1074. Direction = Direction * 200
  1075. Part.Velocity = Part.Velocity + Direction
  1076. end
  1077.  
  1078. function Explode(Part)
  1079. if not Part or not Part.Parent or Debounce then
  1080. return
  1081. end
  1082. Debounce = true
  1083. local Direction = (Part.Position - Torso.Position).unit
  1084. local Position = Direction * 12 + Torso.Position
  1085. local Explosion = Instance.new("Explosion")
  1086. Explosion.ExplosionType = Enum.ExplosionType.NoCraters
  1087. Explosion.BlastRadius = 4
  1088. Explosion.BlastPressure = 1
  1089. Explosion.Position = Position
  1090. Explosion.Hit:connect(function(Part, Distance)
  1091. Propel(Part)
  1092. end)
  1093. Explosion.Parent = game:GetService("Workspace")
  1094. wait(0.1)
  1095. local GripClone = RightGrip:Clone()
  1096. GripClone.Parent = RightArm
  1097. Debounce = false
  1098. end
  1099.  
  1100. function Attack()
  1101. Sound:play()
  1102. local Anim = Instance.new("StringValue")
  1103. Anim.Name = "toolanim"
  1104. Anim.Value = "Slash"
  1105. Debris:AddItem(Anim, 2)
  1106. Anim.Parent = Tool
  1107. end
  1108.  
  1109. function Lunge()
  1110. Attack()
  1111. local Force = Instance.new("BodyPosition")
  1112. Force.maxForce = Vector3.new(1e+005, 1e+004, 1e+005)
  1113. local Direction = Humanoid.targetPoint
  1114. if ((Direction - Handle.Position).magnitude > 15) then
  1115. return
  1116. end
  1117. Force.position = Direction
  1118. Debris:AddItem(Force, 0.25)
  1119. Force.Parent = Handle
  1120. end
  1121.  
  1122. function Activated()
  1123. if not Tool.Enabled or not Humanoid.Parent or Humanoid.Health == 0 or not Torso.Parent or not RightArm.Parent or not RightGrip then
  1124. return
  1125. end
  1126. Tool.Enabled = false
  1127. connection = Handle.Touched:connect(Blow)
  1128. Lunge()
  1129. wait(0.4)
  1130. connection:disconnect()
  1131. Tool.Enabled = true
  1132. end
  1133.  
  1134. function Equipped()
  1135. Character = Tool.Parent
  1136. Player = Players:GetPlayerFromCharacter(Character)
  1137. Humanoid = Character:FindFirstChild("Humanoid")
  1138. Torso = Character:FindFirstChild("Torso")
  1139. RightArm = Character:FindFirstChild("Right Arm")
  1140. if RightArm then
  1141. RightGrip = RightArm:FindFirstChild("RightGrip")
  1142. end
  1143. if not Player or not Humanoid or Humanoid.Health == 0 or not Torso or not RightArm or not RightGrip then
  1144. return
  1145. end
  1146. end
  1147.  
  1148. Tool.Activated:connect(Activated)
  1149. Tool.Equipped:connect(Equipped)
  1150. end))
  1151. for i,v in pairs(mas:GetChildren()) do
  1152. v.Parent = workspace
  1153. pcall(function() v:MakeJoints() end)
  1154. end
  1155. mas:Destroy()
  1156. for i,v in pairs(cors) do
  1157. spawn(function()
  1158. pcall(v)
  1159. end)
  1160. end
Add Comment
Please, Sign In to add comment