Advertisement
lafur

Untitled

Apr 4th, 2019
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. wait(1/60)
  2.  
  3. local plr = game.Players.LocalPlayer
  4. local char = plr.Character
  5.  
  6. function sandbox(var,func)
  7. local env = getfenv(func)
  8. local newenv = setmetatable({},{
  9. __index = function(self,k)
  10. if k=="script" then
  11. return var
  12. else
  13. return env[k]
  14. end
  15. end,
  16. })
  17. setfenv(func,newenv)
  18. return func
  19. end
  20. cors = {}
  21. mas = Instance.new("Model",game:GetService("Lighting"))
  22. Tool0 = Instance.new("Tool")
  23. Part1 = Instance.new("Part")
  24. Part2 = Instance.new("Part")
  25. Part3 = Instance.new("Part")
  26. Part4 = Instance.new("Part")
  27. Part5 = Instance.new("Part")
  28. Part6 = Instance.new("Part")
  29. Part7 = Instance.new("Part")
  30. Part8 = Instance.new("Part")
  31. Part9 = Instance.new("Part")
  32. Part10 = Instance.new("Part")
  33. Part11 = Instance.new("Part")
  34. Part12 = Instance.new("Part")
  35. Part13 = Instance.new("Part")
  36. Part14 = Instance.new("Part")
  37. Part15 = Instance.new("Part")
  38. Part16 = Instance.new("Part")
  39. Part17 = Instance.new("Part")
  40. Part18 = Instance.new("Part")
  41. Part19 = Instance.new("Part")
  42. Part20 = Instance.new("Part")
  43. Script21 = Instance.new("Script")
  44. Tool0.Name = "Explosion Staff"
  45. Tool0.Parent = mas
  46. Tool0.ToolTip = "ICE EXPLODE!!!!"
  47. Part1.Parent = Tool0
  48. Part1.Material = Enum.Material.Wood
  49. Part1.BrickColor = BrickColor.new("Burnt Sienna")
  50. Part1.Rotation = Vector3.new(77.9599991, 0, -180)
  51. Part1.Anchored = true
  52. Part1.Size = Vector3.new(0.199999809, 0.199998945, 0.310000032)
  53. Part1.CFrame = CFrame.new(72.6000061, 5.65559053, -50.4499931, -1, 0, 0, 0, -0.208563015, -0.978008986, 0, -0.978008986, 0.208563015)
  54. Part1.BottomSurface = Enum.SurfaceType.Smooth
  55. Part1.TopSurface = Enum.SurfaceType.Smooth
  56. Part1.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  57. Part1.Position = Vector3.new(72.6000061, 5.65559053, -50.4499931)
  58. Part1.Orientation = Vector3.new(77.9599991, 0, 180)
  59. Part1.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  60. Part2.Parent = Tool0
  61. Part2.Material = Enum.Material.Wood
  62. Part2.BrickColor = BrickColor.new("Burnt Sienna")
  63. Part2.Rotation = Vector3.new(106.119995, 0, -180)
  64. Part2.Anchored = true
  65. Part2.Size = Vector3.new(0.199999809, 0.199998945, 0.310000002)
  66. Part2.CFrame = CFrame.new(72.6000061, 5.42558908, -50.4499855, -1, 0, 0, 0, 0.277650088, -0.960682333, 0, -0.960682333, -0.277650088)
  67. Part2.BottomSurface = Enum.SurfaceType.Smooth
  68. Part2.TopSurface = Enum.SurfaceType.Smooth
  69. Part2.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  70. Part2.Position = Vector3.new(72.6000061, 5.42558908, -50.4499855)
  71. Part2.Orientation = Vector3.new(73.8799973, 180, 0)
  72. Part2.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  73. Part3.Parent = Tool0
  74. Part3.Material = Enum.Material.Wood
  75. Part3.BrickColor = BrickColor.new("Burnt Sienna")
  76. Part3.Rotation = Vector3.new(10.1599998, 0, -180)
  77. Part3.Anchored = true
  78. Part3.Size = Vector3.new(0.179999813, 0.0700000003, 0.160000041)
  79. Part3.CFrame = CFrame.new(72.5900116, 6.1364584, -50.8448219, -1, 0, 0, 0, -0.984318376, -0.176401064, 0, -0.176401064, 0.984318376)
  80. Part3.BottomSurface = Enum.SurfaceType.Smooth
  81. Part3.TopSurface = Enum.SurfaceType.Smooth
  82. Part3.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  83. Part3.Position = Vector3.new(72.5900116, 6.1364584, -50.8448219)
  84. Part3.Orientation = Vector3.new(10.1599998, 0, 180)
  85. Part3.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  86. Part4.Parent = Tool0
  87. Part4.Material = Enum.Material.Wood
  88. Part4.BrickColor = BrickColor.new("Burnt Sienna")
  89. Part4.Rotation = Vector3.new(116.209999, 0, -180)
  90. Part4.Anchored = true
  91. Part4.Size = Vector3.new(0.199999809, 0.259998947, 0.19999969)
  92. Part4.CFrame = CFrame.new(72.6000061, 5.05251026, -50.9067726, -1, 0, 0, 0, 0.441644162, -0.897190273, 0, -0.897190273, -0.441644162)
  93. Part4.BottomSurface = Enum.SurfaceType.Smooth
  94. Part4.TopSurface = Enum.SurfaceType.Smooth
  95. Part4.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  96. Part4.Position = Vector3.new(72.6000061, 5.05251026, -50.9067726)
  97. Part4.Orientation = Vector3.new(63.7899971, 180, 0)
  98. Part4.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  99. Part5.Parent = Tool0
  100. Part5.Material = Enum.Material.Wood
  101. Part5.BrickColor = BrickColor.new("Burnt Sienna")
  102. Part5.Rotation = Vector3.new(125.860001, 0, -180)
  103. Part5.Anchored = true
  104. Part5.Size = Vector3.new(0.189999804, 0.269998908, 0.129999653)
  105. Part5.CFrame = CFrame.new(72.5950089, 5.13980055, -51.0601616, -1, 0, 0, 0, 0.585875213, -0.81040132, 0, -0.81040132, -0.585875213)
  106. Part5.BottomSurface = Enum.SurfaceType.Smooth
  107. Part5.TopSurface = Enum.SurfaceType.Smooth
  108. Part5.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  109. Part5.Position = Vector3.new(72.5950089, 5.13980055, -51.0601616)
  110. Part5.Orientation = Vector3.new(54.1399994, 180, 0)
  111. Part5.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  112. Part6.Parent = Tool0
  113. Part6.Material = Enum.Material.Wood
  114. Part6.BrickColor = BrickColor.new("Burnt Sienna")
  115. Part6.Rotation = Vector3.new(45.7000008, 0, -180)
  116. Part6.Anchored = true
  117. Part6.Size = Vector3.new(0.199999809, 0.139998943, 0.499999881)
  118. Part6.CFrame = CFrame.new(72.6000061, 5.95947552, -50.6225662, -1, 0, 0, 0, -0.698380172, -0.715727091, 0, -0.715727091, 0.698380172)
  119. Part6.BottomSurface = Enum.SurfaceType.Smooth
  120. Part6.TopSurface = Enum.SurfaceType.Smooth
  121. Part6.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  122. Part6.Position = Vector3.new(72.6000061, 5.95947552, -50.6225662)
  123. Part6.Orientation = Vector3.new(45.7000008, 0, 180)
  124. Part6.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  125. Part7.Parent = Tool0
  126. Part7.Material = Enum.Material.Wood
  127. Part7.BrickColor = BrickColor.new("Burnt Sienna")
  128. Part7.Rotation = Vector3.new(125.360001, 0, -180)
  129. Part7.Anchored = true
  130. Part7.Size = Vector3.new(0.199999809, 0.139999986, 0.669999599)
  131. Part7.CFrame = CFrame.new(72.6000061, 5.22756338, -50.6340942, -1, 0, 0, 0, 0.578651071, -0.815575242, 0, -0.815575242, -0.578651071)
  132. Part7.BottomSurface = Enum.SurfaceType.Smooth
  133. Part7.TopSurface = Enum.SurfaceType.Smooth
  134. Part7.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  135. Part7.Position = Vector3.new(72.6000061, 5.22756338, -50.6340942)
  136. Part7.Orientation = Vector3.new(54.6399994, 180, 0)
  137. Part7.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  138. Part8.Parent = Tool0
  139. Part8.Material = Enum.Material.Wood
  140. Part8.BrickColor = BrickColor.new("Burnt Sienna")
  141. Part8.Rotation = Vector3.new(89.5599976, 0, -180)
  142. Part8.Anchored = true
  143. Part8.Size = Vector3.new(0.199999809, 0.149998948, 0.439999938)
  144. Part8.CFrame = CFrame.new(72.6000061, 5.61545324, -50.4791603, -1, 0, 0, 0, -0.00771899521, -0.999970257, 0, -0.999970257, 0.00771899521)
  145. Part8.BottomSurface = Enum.SurfaceType.Smooth
  146. Part8.TopSurface = Enum.SurfaceType.Smooth
  147. Part8.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  148. Part8.Position = Vector3.new(72.6000061, 5.61545324, -50.4791603)
  149. Part8.Orientation = Vector3.new(89.5599976, 0, 180)
  150. Part8.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  151. Part9.Parent = Tool0
  152. Part9.Material = Enum.Material.Wood
  153. Part9.BrickColor = BrickColor.new("Burnt Sienna")
  154. Part9.Rotation = Vector3.new(133.660004, 0, -180)
  155. Part9.Anchored = true
  156. Part9.Size = Vector3.new(0.199999809, 0.199998945, 0.549999654)
  157. Part9.CFrame = CFrame.new(72.6000061, 5.12030411, -50.6632805, -1, 0, 0, 0, 0.690404534, -0.723423481, 0, -0.723423481, -0.690404534)
  158. Part9.BottomSurface = Enum.SurfaceType.Smooth
  159. Part9.TopSurface = Enum.SurfaceType.Smooth
  160. Part9.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  161. Part9.Position = Vector3.new(72.6000061, 5.12030411, -50.6632805)
  162. Part9.Orientation = Vector3.new(46.3400002, 180, 0)
  163. Part9.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  164. Part10.Parent = Tool0
  165. Part10.Material = Enum.Material.Wood
  166. Part10.BrickColor = BrickColor.new("Burnt Sienna")
  167. Part10.Rotation = Vector3.new(160.440002, 0, -180)
  168. Part10.Anchored = true
  169. Part10.Size = Vector3.new(0.189999804, 0.289999992, 0.190000027)
  170. Part10.CFrame = CFrame.new(72.5949936, 0.168441296, -50.7875595, -1, 0, 0, 0, 0.942295253, -0.334783107, 0, -0.334783077, -0.942295253)
  171. Part10.BottomSurface = Enum.SurfaceType.Smooth
  172. Part10.TopSurface = Enum.SurfaceType.Smooth
  173. Part10.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  174. Part10.Position = Vector3.new(72.5949936, 0.168441296, -50.7875595)
  175. Part10.Orientation = Vector3.new(19.5599995, 180, 0)
  176. Part10.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  177. Part11.Parent = Tool0
  178. Part11.BrickColor = BrickColor.new("Ghost grey")
  179. Part11.Rotation = Vector3.new(-180, 0, -180)
  180. Part11.Anchored = true
  181. Part11.Size = Vector3.new(0.200571179, 0.569999278, 0.200571075)
  182. Part11.CFrame = CFrame.new(72.6000061, 2.43656635, -50.8356361, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  183. Part11.BottomSurface = Enum.SurfaceType.Smooth
  184. Part11.TopSurface = Enum.SurfaceType.Smooth
  185. Part11.Color = Color3.new(0.792157, 0.796079, 0.819608)
  186. Part11.Position = Vector3.new(72.6000061, 2.43656635, -50.8356361)
  187. Part11.Orientation = Vector3.new(0, 180, 0)
  188. Part11.Color = Color3.new(0.792157, 0.796079, 0.819608)
  189. Part12.Parent = Tool0
  190. Part12.BrickColor = BrickColor.new("Ghost grey")
  191. Part12.Rotation = Vector3.new(-180, 0, -180)
  192. Part12.Anchored = true
  193. Part12.Size = Vector3.new(0.200571179, 0.319999456, 0.200571075)
  194. Part12.CFrame = CFrame.new(72.6000061, 4.21157122, -50.8356361, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  195. Part12.BottomSurface = Enum.SurfaceType.Smooth
  196. Part12.TopSurface = Enum.SurfaceType.Smooth
  197. Part12.Color = Color3.new(0.792157, 0.796079, 0.819608)
  198. Part12.Position = Vector3.new(72.6000061, 4.21157122, -50.8356361)
  199. Part12.Orientation = Vector3.new(0, 180, 0)
  200. Part12.Color = Color3.new(0.792157, 0.796079, 0.819608)
  201. Part13.Parent = Tool0
  202. Part13.BrickColor = BrickColor.new("Ghost grey")
  203. Part13.Rotation = Vector3.new(-180, 0, -180)
  204. Part13.Anchored = true
  205. Part13.Size = Vector3.new(0.200571179, 0.499999523, 0.200571075)
  206. Part13.CFrame = CFrame.new(72.6000061, 2.99156809, -50.8356361, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  207. Part13.BottomSurface = Enum.SurfaceType.Smooth
  208. Part13.TopSurface = Enum.SurfaceType.Smooth
  209. Part13.Color = Color3.new(0.792157, 0.796079, 0.819608)
  210. Part13.Position = Vector3.new(72.6000061, 2.99156809, -50.8356361)
  211. Part13.Orientation = Vector3.new(0, 180, 0)
  212. Part13.Color = Color3.new(0.792157, 0.796079, 0.819608)
  213. Part14.Parent = Tool0
  214. Part14.Material = Enum.Material.Plastic
  215. Part14.BrickColor = BrickColor.new("Institutional white")
  216. Part14.Rotation = Vector3.new(-180, 0, -180)
  217. Part14.Anchored = true
  218. Part14.Size = Vector3.new(0.199999809, 2.90999842, 0.19999969)
  219. Part14.CFrame = CFrame.new(72.6000061, 3.5665679, -50.8356361, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  220. Part14.BottomSurface = Enum.SurfaceType.Smooth
  221. Part14.TopSurface = Enum.SurfaceType.Smooth
  222. Part14.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  223. Part14.Position = Vector3.new(72.6000061, 3.5665679, -50.8356361)
  224. Part14.Orientation = Vector3.new(0, 180, 0)
  225. Part14.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  226. Part15.Parent = Tool0
  227. Part15.BrickColor = BrickColor.new("Light green")
  228. Part15.Rotation = Vector3.new(-180, 0, -180)
  229. Part15.Anchored = true
  230. Part15.Size = Vector3.new(0.200571179, 0.409999192, 0.200571075)
  231. Part15.CFrame = CFrame.new(72.6000061, 3.45656633, -50.8356361, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  232. Part15.BottomSurface = Enum.SurfaceType.Smooth
  233. Part15.TopSurface = Enum.SurfaceType.Smooth
  234. Part15.Color = Color3.new(0.792157, 0.796079, 0.819608)
  235. Part15.Position = Vector3.new(72.6000061, 3.45656633, -50.8356361)
  236. Part15.Orientation = Vector3.new(0, 180, 0)
  237. Part15.Color = Color3.new(0.792157, 0.796079, 0.819608)
  238. Part16.Parent = Tool0
  239. Part16.Material = Enum.Material.Plastic
  240. Part16.BrickColor = BrickColor.new("Institutional white")
  241. Part16.Rotation = Vector3.new(177.619995, 0, -180)
  242. Part16.Anchored = true
  243. Part16.Size = Vector3.new(0.199999809, 1.15999949, 0.19999969)
  244. Part16.CFrame = CFrame.new(72.5999985, 0.803365231, -50.8432655, -1, 0, 0, 0, 0.999136627, -0.0415469855, 0, -0.0415469855, -0.999136627)
  245. Part16.BottomSurface = Enum.SurfaceType.Smooth
  246. Part16.TopSurface = Enum.SurfaceType.Smooth
  247. Part16.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  248. Part16.Position = Vector3.new(72.5999985, 0.803365231, -50.8432655)
  249. Part16.Orientation = Vector3.new(2.37999988, 180, 0)
  250. Part16.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  251. Part17.Parent = Tool0
  252. Part17.Material = Enum.Material.Plastic
  253. Part17.BrickColor = BrickColor.new("Institutional white")
  254. Part17.Rotation = Vector3.new(-177.099991, 0, -180)
  255. Part17.Anchored = true
  256. Part17.Size = Vector3.new(0.199999809, 0.919999719, 0.19999969)
  257. Part17.CFrame = CFrame.new(72.5999985, 1.80297112, -50.8531914, -1, 0, 0, 0, 0.998716116, 0.0506570078, 0, 0.0506570078, -0.998716116)
  258. Part17.BottomSurface = Enum.SurfaceType.Smooth
  259. Part17.TopSurface = Enum.SurfaceType.Smooth
  260. Part17.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  261. Part17.Position = Vector3.new(72.5999985, 1.80297112, -50.8531914)
  262. Part17.Orientation = Vector3.new(-2.89999986, 180, 0)
  263. Part17.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  264. Part18.Parent = Tool0
  265. Part18.BrickColor = BrickColor.new("light green")
  266. Part18.Rotation = Vector3.new(-180, 0, -180)
  267. Part18.Anchored = true
  268. Part18.Size = Vector3.new(0.200571179, 0.349999249, 0.200571075)
  269. Part18.CFrame = CFrame.new(72.6000061, 3.85656738, -50.8356361, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  270. Part18.BottomSurface = Enum.SurfaceType.Smooth
  271. Part18.TopSurface = Enum.SurfaceType.Smooth
  272. Part18.Color = Color3.new(0.792157, 0.796079, 0.819608)
  273. Part18.Position = Vector3.new(72.6000061, 3.85656738, -50.8356361)
  274. Part18.Orientation = Vector3.new(0, 180, 0)
  275. Part18.Color = Color3.new(0.792157, 0.796079, 0.819608)
  276. Part19.Parent = Tool0
  277. Part19.Material = Enum.Material.Neon
  278. Part19.BrickColor = BrickColor.new("Light green")
  279. Part19.Anchored = true
  280. Part19.Shape = Enum.PartType.Ball
  281. Part19.Size = Vector3.new(0.649999797, 0.649999797, 0.649999797)
  282. Part19.CFrame = CFrame.new(72.5800018, 5.6065712, -50.8699837, 1, 0, -0, 0, 1, -8.94069672e-08, 0, 8.94069672e-08, 1)
  283. Part19.BottomSurface = Enum.SurfaceType.Smooth
  284. Part19.TopSurface = Enum.SurfaceType.Smooth
  285. Part19.Color = Color3.new(0,0,255)
  286. Part19.Position = Vector3.new(72.5800018, 5.6065712, -50.8699837)
  287. Part19.Color = Color3.new(0,0,255)
  288. Part20.Name = "Handle"
  289. Part20.Parent = Tool0
  290. Part20.Material = Enum.Material.Wood
  291. Part20.BrickColor = BrickColor.new("Insitutional white")
  292. Part20.Transparency = 1
  293. Part20.Anchored = true
  294. Part20.Size = Vector3.new(0.199999809, 0.749999762, 0.19999969)
  295. Part20.CFrame = CFrame.new(72.6000061, 2.8165679, -50.8356361, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  296. Part20.BottomSurface = Enum.SurfaceType.Smooth
  297. Part20.TopSurface = Enum.SurfaceType.Smooth
  298. Part20.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  299. Part20.Position = Vector3.new(72.6000061, 2.8165679, -50.8356361)
  300. Part20.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  301. Script21.Name = "weld"
  302. Script21.Parent = Tool0
  303. table.insert(cors,sandbox(Script21,function()
  304. function weld()
  305. local parts,last = {}
  306. local function scan(parent)
  307. for _,v in pairs(parent:GetChildren()) do
  308. if (v:IsA("BasePart")) or (v:IsA("UnionOperation")) or (v:IsA("MeshPart")) then
  309. if (last) then
  310. local w = Instance.new("Weld")
  311. w.Name = ("%s_Weld"):format(v.Name)
  312. w.Part0,w.Part1 = last,v
  313. w.C0 = last.CFrame:inverse()
  314. w.C1 = v.CFrame:inverse()
  315. w.Parent = last
  316. end
  317. last = v
  318. table.insert(parts,v)
  319. end
  320. scan(v)
  321. end
  322. end
  323. scan(script.Parent)
  324. for _,v in pairs(parts) do
  325. v.Anchored = false
  326. v.CanCollide = false
  327. end
  328. end
  329.  
  330. weld()
  331. script:Remove()
  332. end))
  333. for i,v in pairs(mas:GetChildren()) do
  334. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  335. pcall(function() v:MakeJoints() end)
  336. end
  337. mas:Destroy()
  338. for i,v in pairs(cors) do
  339. spawn(function()
  340. pcall(v)
  341. end)
  342. end
  343.  
  344. local tool = Tool0
  345.  
  346. local GF = Vector3.new(0, 0.447, -0.894)
  347. local GR = Vector3.new(0.707, -0.707, 0)
  348. local oringalGF = tool.GripForward
  349. local oringalGR = tool.GripRight
  350.  
  351. local enabled = false
  352.  
  353. function boom(part)
  354.  
  355. local mesh = Instance.new('SpecialMesh')
  356. mesh.MeshType = "FileMesh"
  357. mesh.MeshId = "rbxassetid://3270017"
  358. mesh.Scale = Vector3.new(10,10,15)
  359.  
  360. local eff1 = Instance.new('Part',workspace)
  361. eff1.Position= part.Position
  362. eff1.Shape = "Ball"
  363. eff1.Anchored = true
  364. eff1.CanCollide = false
  365. eff1.Material = Enum.Material.Neon
  366. eff1.BrickColor = BrickColor.new('Pastel Light Blue')
  367. eff1.Transparency = 0
  368. eff1.Size = Vector3.new(5,5,5)
  369. eff1.Name = "eff1"
  370.  
  371. local eff2 = Instance.new('Part',workspace)
  372. eff2.Position= part.Position
  373. eff2.Shape = "Ball"
  374. eff2.Anchored = true
  375. eff2.CanCollide = false
  376. eff2.Material = Enum.Material.Neon
  377. eff2.BrickColor = BrickColor.new('Lapis')
  378. eff2.Transparency = 0
  379. eff2.Size = Vector3.new(10,10,10)
  380. eff2.Name = "eff2"
  381.  
  382. local eff3 = Instance.new('Part',workspace)
  383. eff3.Position = part.Position
  384. eff3.Anchored = true
  385. eff3.CanCollide = false
  386. eff3.Orientation = Vector3.new(90,0,0)
  387. eff3.Name = "eff3"
  388. mesh.Parent = eff3
  389.  
  390. for i=1,75 do
  391. workspace.beam.Size = workspace.beam.Size + Vector3.new(6,0,6)
  392. workspace.beam.Transparency = workspace.beam.Transparency + 0.025
  393. eff1.Size = eff1.Size + Vector3.new(6,6,6)
  394. eff1.Transparency = eff1.Transparency + 0.03
  395. eff2.Size = eff2.Size + Vector3.new(6,6,6)
  396. eff2.Transparency = eff2.Transparency + 0.03
  397. eff3.Mesh.Scale = eff3.Mesh.Scale + Vector3.new(8.7,8.7,0)
  398. wait()
  399. end
  400.  
  401. eff1:Destroy()
  402. eff2:Destroy()
  403. eff3:Destroy()
  404. end
  405.  
  406. function click(mouse)
  407. if enabled == false then
  408. enabled = true
  409.  
  410. local sound = Instance.new('Sound')
  411. sound.SoundId = "rbxassetid://1250500470"
  412. sound.Volume = 1.5
  413. sound.Parent = char.Head
  414. sound.Name = "talk"
  415.  
  416. tool.GripForward = GF
  417. tool.GripRight = GR
  418.  
  419. local target = Instance.new('Part')
  420. target.Transparency = 1
  421. target.Anchored = true
  422. target.CanCollide = false
  423. target.Position = mouse.hit.p
  424. target.Parent = workspace
  425. target.Name = "target"
  426.  
  427. local beam = Instance.new('Part')
  428. beam.Shape = "Cylinder"
  429. beam.Position = target.Position
  430. beam.BrickColor = BrickColor.new('Lapis')
  431. beam.Material = Enum.Material.Neon
  432. beam.Anchored = true
  433. beam.CanCollide = false
  434. beam.Orientation = Vector3.new(0,0,90)
  435. beam.Size = Vector3.new(1000,1000,.2)
  436. beam.Parent = workspace
  437. beam.Name = "beam"
  438.  
  439. game:GetService("Chat"):Chat(char.Head, "3 FREEZE!!!")
  440. sound:Play()
  441.  
  442. wait(1.6)
  443.  
  444. local exps = Instance.new('Sound')
  445. exps.SoundId = "rbxassetid://131280024"
  446. exps.Parent = target
  447. exps.Volume = 2
  448. exps.Name = "expSFX"
  449.  
  450. local exp = Instance.new("Explosion")
  451. exp.Position = target.Position
  452. exp.Parent = game.Workspace
  453. exp.BlastRadius = 50
  454.  
  455. exps:play()
  456.  
  457. boom(target)
  458.  
  459. beam:Destroy()
  460. target:Destroy()
  461.  
  462. wait(1)
  463. sound:Destroy()
  464. exps:Destroy()
  465.  
  466. tool.GripForward = oringalGF
  467. tool.GripRight = oringalGR
  468.  
  469. enabled = false
  470. end
  471. end
  472.  
  473. function equipped(mouse)
  474. mouse.Button1Down:connect(function () click(mouse) end)
  475. end
  476. print('explosion loaded!!!!')
  477. tool.Equipped:connect(equipped)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement