Advertisement
VoidScriptPlayer

Untitled

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