Advertisement
PixelDerpIsUber2

Untitled

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