SHARE
TWEET

Megumin Staff fe ver just for looks

rcubed1003 Sep 20th, 2019 (edited) 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- This script has convert to FE by who i don't know?
  2.  
  3. -----------------------------------------------------
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,game,owner = owner,game
  6. local RealPlayer = Player
  7. do
  8.     print("FE Compatibility code by Mokiros | Showcase by Bacon Hair!")
  9.     local rp = RealPlayer
  10.     script.Parent = rp.Character
  11.    
  12.     --RemoteEvent for communicating
  13.     local Event = Instance.new("RemoteEvent")
  14.     Event.Name = "UserInput_Event"
  15.  
  16.     --Fake event to make stuff like Mouse.KeyDown work
  17.     local function fakeEvent()
  18.         local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  19.         t.connect = t.Connect
  20.         return t
  21.     end
  22.  
  23.     --Creating fake input objects with fake variables
  24.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  25.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  26.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  27.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  28.     end}
  29.     --Merged 2 functions into one by checking amount of arguments
  30.     CAS.UnbindAction = CAS.BindAction
  31.  
  32.     --This function will trigger the events that have been :Connect()'ed
  33.     local function te(self,ev,...)
  34.         local t = m[ev]
  35.         if t and t._fakeEvent then
  36.             for _,f in pairs(t.Functions) do
  37.                 f(...)
  38.             end
  39.         end
  40.     end
  41.     m.TrigEvent = te
  42.     UIS.TrigEvent = te
  43.  
  44.     Event.OnServerEvent:Connect(function(plr,io)
  45.         if plr~=rp then return end
  46.         m.Target = io.Target
  47.         m.Hit = io.Hit
  48.         if not io.isMouse then
  49.             local b = io.UserInputState == Enum.UserInputState.Begin
  50.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  51.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  52.             end
  53.             for _,t in pairs(CAS.Actions) do
  54.                 for _,k in pairs(t.Keys) do
  55.                     if k==io.KeyCode then
  56.                         t.Function(t.Name,io.UserInputState,io)
  57.                     end
  58.                 end
  59.             end
  60.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  61.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  62.         end
  63.     end)
  64.     Event.Parent = NLS([==[
  65.     local Player = game:GetService("Players").LocalPlayer
  66.     local Event = script:WaitForChild("UserInput_Event")
  67.  
  68.     local Mouse = Player:GetMouse()
  69.     local UIS = game:GetService("UserInputService")
  70.     local input = function(io,a)
  71.         if a then return end
  72.         --Since InputObject is a client-side instance, we create and pass table instead
  73.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  74.     end
  75.     UIS.InputBegan:Connect(input)
  76.     UIS.InputEnded:Connect(input)
  77.  
  78.     local h,t
  79.     --Give the server mouse data 30 times every second, but only if the values changed
  80.     --If player is not moving their mouse, client won't fire events
  81.     while wait(1/30) do
  82.         if h~=Mouse.Hit or t~=Mouse.Target then
  83.             h,t=Mouse.Hit,Mouse.Target
  84.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  85.         end
  86.     end]==],Player.Character)
  87.  
  88.     ----Sandboxed game object that allows the usage of client-side methods and services
  89.     --Real game object
  90.     local _rg = game
  91.  
  92.     --Metatable for fake service
  93.     local fsmt = {
  94.         __index = function(self,k)
  95.             local s = rawget(self,"_RealService")
  96.             if s then return s[k] end
  97.         end,
  98.         __newindex = function(self,k,v)
  99.             local s = rawget(self,"_RealService")
  100.             if s then s[k]=v end
  101.         end,
  102.         __call = function(self,...)
  103.             local s = rawget(self,"_RealService")
  104.             if s then return s(...) end
  105.         end
  106.     }
  107.     local function FakeService(t,RealService)
  108.         t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  109.         return setmetatable(t,fsmt)
  110.     end
  111.  
  112.     --Fake game object
  113.     local g = {
  114.         GetService = function(self,s)
  115.             return self[s]
  116.         end,
  117.         Players = FakeService({
  118.             LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  119.         },"Players"),
  120.         UserInputService = FakeService(UIS,"UserInputService"),
  121.         ContextActionService = FakeService(CAS,"ContextActionService"),
  122.     }
  123.     rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  124.     g.service = g.GetService
  125.    
  126.     g.RunService = FakeService({
  127.         RenderStepped = _rg:GetService("RunService").Heartbeat,
  128.         BindToRenderStep = function(self,name,_,fun)
  129.  
  130.         end,
  131.         UnbindFromRenderStep = function(self,name)
  132.             self._btrs[name]:Disconnect()
  133.         end,
  134.     },"RunService")
  135.  
  136.     setmetatable(g,{
  137.         __index=function(self,s)
  138.             return _rg:GetService(s) or typeof(_rg[s])=="function"
  139.             and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  140.         end,
  141.         __newindex = fsmt.__newindex,
  142.         __call = fsmt.__call
  143.     })
  144.     --Changing owner to fake player object to support owner:GetMouse()
  145.     game,owner = g,g.Players.LocalPlayer
  146. end
  147. wait(1/60)
  148.  
  149. local plr = game.Players.LocalPlayer
  150. local char = plr.Character
  151.  
  152. function sandbox(var,func)
  153.     local env = getfenv(func)
  154.     local newenv = setmetatable({},{
  155.         __index = function(self,k)
  156.             if k=="script" then
  157.                 return var
  158.             else
  159.                 return env[k]
  160.             end
  161.         end,
  162.     })
  163.     setfenv(func,newenv)
  164.     return func
  165. end
  166. cors = {}
  167. mas = Instance.new("Model",game:GetService("Lighting"))
  168. Tool0 = Instance.new("Tool")
  169. Part1 = Instance.new("Part")
  170. Part2 = Instance.new("Part")
  171. Part3 = Instance.new("Part")
  172. Part4 = Instance.new("Part")
  173. Part5 = Instance.new("Part")
  174. Part6 = Instance.new("Part")
  175. Part7 = Instance.new("Part")
  176. Part8 = Instance.new("Part")
  177. Part9 = Instance.new("Part")
  178. Part10 = Instance.new("Part")
  179. Part11 = Instance.new("Part")
  180. Part12 = Instance.new("Part")
  181. Part13 = Instance.new("Part")
  182. Part14 = Instance.new("Part")
  183. Part15 = Instance.new("Part")
  184. Part16 = Instance.new("Part")
  185. Part17 = Instance.new("Part")
  186. Part18 = Instance.new("Part")
  187. Part19 = Instance.new("Part")
  188. Part20 = Instance.new("Part")
  189. Script21 = Instance.new("Script")
  190. Tool0.Name = "Explosion Staff"
  191. Tool0.Parent = mas
  192. Tool0.ToolTip = "EXPLOSIONNN!!!!"
  193. Part1.Parent = Tool0
  194. Part1.Material = Enum.Material.Wood
  195. Part1.BrickColor = BrickColor.new("Burnt Sienna")
  196. Part1.Rotation = Vector3.new(77.9599991, 0, -180)
  197. Part1.Anchored = true
  198. Part1.Size = Vector3.new(0.199999809, 0.199998945, 0.310000032)
  199. Part1.CFrame = CFrame.new(72.6000061, 5.65559053, -50.4499931, -1, 0, 0, 0, -0.208563015, -0.978008986, 0, -0.978008986, 0.208563015)
  200. Part1.BottomSurface = Enum.SurfaceType.Smooth
  201. Part1.TopSurface = Enum.SurfaceType.Smooth
  202. Part1.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  203. Part1.Position = Vector3.new(72.6000061, 5.65559053, -50.4499931)
  204. Part1.Orientation = Vector3.new(77.9599991, 0, 180)
  205. Part1.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  206. Part2.Parent = Tool0
  207. Part2.Material = Enum.Material.Wood
  208. Part2.BrickColor = BrickColor.new("Burnt Sienna")
  209. Part2.Rotation = Vector3.new(106.119995, 0, -180)
  210. Part2.Anchored = true
  211. Part2.Size = Vector3.new(0.199999809, 0.199998945, 0.310000002)
  212. Part2.CFrame = CFrame.new(72.6000061, 5.42558908, -50.4499855, -1, 0, 0, 0, 0.277650088, -0.960682333, 0, -0.960682333, -0.277650088)
  213. Part2.BottomSurface = Enum.SurfaceType.Smooth
  214. Part2.TopSurface = Enum.SurfaceType.Smooth
  215. Part2.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  216. Part2.Position = Vector3.new(72.6000061, 5.42558908, -50.4499855)
  217. Part2.Orientation = Vector3.new(73.8799973, 180, 0)
  218. Part2.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  219. Part3.Parent = Tool0
  220. Part3.Material = Enum.Material.Wood
  221. Part3.BrickColor = BrickColor.new("Burnt Sienna")
  222. Part3.Rotation = Vector3.new(10.1599998, 0, -180)
  223. Part3.Anchored = true
  224. Part3.Size = Vector3.new(0.179999813, 0.0700000003, 0.160000041)
  225. Part3.CFrame = CFrame.new(72.5900116, 6.1364584, -50.8448219, -1, 0, 0, 0, -0.984318376, -0.176401064, 0, -0.176401064, 0.984318376)
  226. Part3.BottomSurface = Enum.SurfaceType.Smooth
  227. Part3.TopSurface = Enum.SurfaceType.Smooth
  228. Part3.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  229. Part3.Position = Vector3.new(72.5900116, 6.1364584, -50.8448219)
  230. Part3.Orientation = Vector3.new(10.1599998, 0, 180)
  231. Part3.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  232. Part4.Parent = Tool0
  233. Part4.Material = Enum.Material.Wood
  234. Part4.BrickColor = BrickColor.new("Burnt Sienna")
  235. Part4.Rotation = Vector3.new(116.209999, 0, -180)
  236. Part4.Anchored = true
  237. Part4.Size = Vector3.new(0.199999809, 0.259998947, 0.19999969)
  238. Part4.CFrame = CFrame.new(72.6000061, 5.05251026, -50.9067726, -1, 0, 0, 0, 0.441644162, -0.897190273, 0, -0.897190273, -0.441644162)
  239. Part4.BottomSurface = Enum.SurfaceType.Smooth
  240. Part4.TopSurface = Enum.SurfaceType.Smooth
  241. Part4.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  242. Part4.Position = Vector3.new(72.6000061, 5.05251026, -50.9067726)
  243. Part4.Orientation = Vector3.new(63.7899971, 180, 0)
  244. Part4.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  245. Part5.Parent = Tool0
  246. Part5.Material = Enum.Material.Wood
  247. Part5.BrickColor = BrickColor.new("Burnt Sienna")
  248. Part5.Rotation = Vector3.new(125.860001, 0, -180)
  249. Part5.Anchored = true
  250. Part5.Size = Vector3.new(0.189999804, 0.269998908, 0.129999653)
  251. Part5.CFrame = CFrame.new(72.5950089, 5.13980055, -51.0601616, -1, 0, 0, 0, 0.585875213, -0.81040132, 0, -0.81040132, -0.585875213)
  252. Part5.BottomSurface = Enum.SurfaceType.Smooth
  253. Part5.TopSurface = Enum.SurfaceType.Smooth
  254. Part5.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  255. Part5.Position = Vector3.new(72.5950089, 5.13980055, -51.0601616)
  256. Part5.Orientation = Vector3.new(54.1399994, 180, 0)
  257. Part5.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  258. Part6.Parent = Tool0
  259. Part6.Material = Enum.Material.Wood
  260. Part6.BrickColor = BrickColor.new("Burnt Sienna")
  261. Part6.Rotation = Vector3.new(45.7000008, 0, -180)
  262. Part6.Anchored = true
  263. Part6.Size = Vector3.new(0.199999809, 0.139998943, 0.499999881)
  264. Part6.CFrame = CFrame.new(72.6000061, 5.95947552, -50.6225662, -1, 0, 0, 0, -0.698380172, -0.715727091, 0, -0.715727091, 0.698380172)
  265. Part6.BottomSurface = Enum.SurfaceType.Smooth
  266. Part6.TopSurface = Enum.SurfaceType.Smooth
  267. Part6.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  268. Part6.Position = Vector3.new(72.6000061, 5.95947552, -50.6225662)
  269. Part6.Orientation = Vector3.new(45.7000008, 0, 180)
  270. Part6.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  271. Part7.Parent = Tool0
  272. Part7.Material = Enum.Material.Wood
  273. Part7.BrickColor = BrickColor.new("Burnt Sienna")
  274. Part7.Rotation = Vector3.new(125.360001, 0, -180)
  275. Part7.Anchored = true
  276. Part7.Size = Vector3.new(0.199999809, 0.139999986, 0.669999599)
  277. Part7.CFrame = CFrame.new(72.6000061, 5.22756338, -50.6340942, -1, 0, 0, 0, 0.578651071, -0.815575242, 0, -0.815575242, -0.578651071)
  278. Part7.BottomSurface = Enum.SurfaceType.Smooth
  279. Part7.TopSurface = Enum.SurfaceType.Smooth
  280. Part7.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  281. Part7.Position = Vector3.new(72.6000061, 5.22756338, -50.6340942)
  282. Part7.Orientation = Vector3.new(54.6399994, 180, 0)
  283. Part7.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  284. Part8.Parent = Tool0
  285. Part8.Material = Enum.Material.Wood
  286. Part8.BrickColor = BrickColor.new("Burnt Sienna")
  287. Part8.Rotation = Vector3.new(89.5599976, 0, -180)
  288. Part8.Anchored = true
  289. Part8.Size = Vector3.new(0.199999809, 0.149998948, 0.439999938)
  290. Part8.CFrame = CFrame.new(72.6000061, 5.61545324, -50.4791603, -1, 0, 0, 0, -0.00771899521, -0.999970257, 0, -0.999970257, 0.00771899521)
  291. Part8.BottomSurface = Enum.SurfaceType.Smooth
  292. Part8.TopSurface = Enum.SurfaceType.Smooth
  293. Part8.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  294. Part8.Position = Vector3.new(72.6000061, 5.61545324, -50.4791603)
  295. Part8.Orientation = Vector3.new(89.5599976, 0, 180)
  296. Part8.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  297. Part9.Parent = Tool0
  298. Part9.Material = Enum.Material.Wood
  299. Part9.BrickColor = BrickColor.new("Burnt Sienna")
  300. Part9.Rotation = Vector3.new(133.660004, 0, -180)
  301. Part9.Anchored = true
  302. Part9.Size = Vector3.new(0.199999809, 0.199998945, 0.549999654)
  303. Part9.CFrame = CFrame.new(72.6000061, 5.12030411, -50.6632805, -1, 0, 0, 0, 0.690404534, -0.723423481, 0, -0.723423481, -0.690404534)
  304. Part9.BottomSurface = Enum.SurfaceType.Smooth
  305. Part9.TopSurface = Enum.SurfaceType.Smooth
  306. Part9.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  307. Part9.Position = Vector3.new(72.6000061, 5.12030411, -50.6632805)
  308. Part9.Orientation = Vector3.new(46.3400002, 180, 0)
  309. Part9.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  310. Part10.Parent = Tool0
  311. Part10.Material = Enum.Material.Wood
  312. Part10.BrickColor = BrickColor.new("Burnt Sienna")
  313. Part10.Rotation = Vector3.new(160.440002, 0, -180)
  314. Part10.Anchored = true
  315. Part10.Size = Vector3.new(0.189999804, 0.289999992, 0.190000027)
  316. Part10.CFrame = CFrame.new(72.5949936, 0.168441296, -50.7875595, -1, 0, 0, 0, 0.942295253, -0.334783107, 0, -0.334783077, -0.942295253)
  317. Part10.BottomSurface = Enum.SurfaceType.Smooth
  318. Part10.TopSurface = Enum.SurfaceType.Smooth
  319. Part10.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  320. Part10.Position = Vector3.new(72.5949936, 0.168441296, -50.7875595)
  321. Part10.Orientation = Vector3.new(19.5599995, 180, 0)
  322. Part10.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  323. Part11.Parent = Tool0
  324. Part11.BrickColor = BrickColor.new("Ghost grey")
  325. Part11.Rotation = Vector3.new(-180, 0, -180)
  326. Part11.Anchored = true
  327. Part11.Size = Vector3.new(0.200571179, 0.569999278, 0.200571075)
  328. Part11.CFrame = CFrame.new(72.6000061, 2.43656635, -50.8356361, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  329. Part11.BottomSurface = Enum.SurfaceType.Smooth
  330. Part11.TopSurface = Enum.SurfaceType.Smooth
  331. Part11.Color = Color3.new(0.792157, 0.796079, 0.819608)
  332. Part11.Position = Vector3.new(72.6000061, 2.43656635, -50.8356361)
  333. Part11.Orientation = Vector3.new(0, 180, 0)
  334. Part11.Color = Color3.new(0.792157, 0.796079, 0.819608)
  335. Part12.Parent = Tool0
  336. Part12.BrickColor = BrickColor.new("Ghost grey")
  337. Part12.Rotation = Vector3.new(-180, 0, -180)
  338. Part12.Anchored = true
  339. Part12.Size = Vector3.new(0.200571179, 0.319999456, 0.200571075)
  340. Part12.CFrame = CFrame.new(72.6000061, 4.21157122, -50.8356361, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  341. Part12.BottomSurface = Enum.SurfaceType.Smooth
  342. Part12.TopSurface = Enum.SurfaceType.Smooth
  343. Part12.Color = Color3.new(0.792157, 0.796079, 0.819608)
  344. Part12.Position = Vector3.new(72.6000061, 4.21157122, -50.8356361)
  345. Part12.Orientation = Vector3.new(0, 180, 0)
  346. Part12.Color = Color3.new(0.792157, 0.796079, 0.819608)
  347. Part13.Parent = Tool0
  348. Part13.BrickColor = BrickColor.new("Ghost grey")
  349. Part13.Rotation = Vector3.new(-180, 0, -180)
  350. Part13.Anchored = true
  351. Part13.Size = Vector3.new(0.200571179, 0.499999523, 0.200571075)
  352. Part13.CFrame = CFrame.new(72.6000061, 2.99156809, -50.8356361, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  353. Part13.BottomSurface = Enum.SurfaceType.Smooth
  354. Part13.TopSurface = Enum.SurfaceType.Smooth
  355. Part13.Color = Color3.new(0.792157, 0.796079, 0.819608)
  356. Part13.Position = Vector3.new(72.6000061, 2.99156809, -50.8356361)
  357. Part13.Orientation = Vector3.new(0, 180, 0)
  358. Part13.Color = Color3.new(0.792157, 0.796079, 0.819608)
  359. Part14.Parent = Tool0
  360. Part14.Material = Enum.Material.Wood
  361. Part14.BrickColor = BrickColor.new("Burnt Sienna")
  362. Part14.Rotation = Vector3.new(-180, 0, -180)
  363. Part14.Anchored = true
  364. Part14.Size = Vector3.new(0.199999809, 2.90999842, 0.19999969)
  365. Part14.CFrame = CFrame.new(72.6000061, 3.5665679, -50.8356361, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  366. Part14.BottomSurface = Enum.SurfaceType.Smooth
  367. Part14.TopSurface = Enum.SurfaceType.Smooth
  368. Part14.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  369. Part14.Position = Vector3.new(72.6000061, 3.5665679, -50.8356361)
  370. Part14.Orientation = Vector3.new(0, 180, 0)
  371. Part14.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  372. Part15.Parent = Tool0
  373. Part15.BrickColor = BrickColor.new("Ghost grey")
  374. Part15.Rotation = Vector3.new(-180, 0, -180)
  375. Part15.Anchored = true
  376. Part15.Size = Vector3.new(0.200571179, 0.409999192, 0.200571075)
  377. Part15.CFrame = CFrame.new(72.6000061, 3.45656633, -50.8356361, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  378. Part15.BottomSurface = Enum.SurfaceType.Smooth
  379. Part15.TopSurface = Enum.SurfaceType.Smooth
  380. Part15.Color = Color3.new(0.792157, 0.796079, 0.819608)
  381. Part15.Position = Vector3.new(72.6000061, 3.45656633, -50.8356361)
  382. Part15.Orientation = Vector3.new(0, 180, 0)
  383. Part15.Color = Color3.new(0.792157, 0.796079, 0.819608)
  384. Part16.Parent = Tool0
  385. Part16.Material = Enum.Material.Wood
  386. Part16.BrickColor = BrickColor.new("Burnt Sienna")
  387. Part16.Rotation = Vector3.new(177.619995, 0, -180)
  388. Part16.Anchored = true
  389. Part16.Size = Vector3.new(0.199999809, 1.15999949, 0.19999969)
  390. Part16.CFrame = CFrame.new(72.5999985, 0.803365231, -50.8432655, -1, 0, 0, 0, 0.999136627, -0.0415469855, 0, -0.0415469855, -0.999136627)
  391. Part16.BottomSurface = Enum.SurfaceType.Smooth
  392. Part16.TopSurface = Enum.SurfaceType.Smooth
  393. Part16.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  394. Part16.Position = Vector3.new(72.5999985, 0.803365231, -50.8432655)
  395. Part16.Orientation = Vector3.new(2.37999988, 180, 0)
  396. Part16.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  397. Part17.Parent = Tool0
  398. Part17.Material = Enum.Material.Wood
  399. Part17.BrickColor = BrickColor.new("Burnt Sienna")
  400. Part17.Rotation = Vector3.new(-177.099991, 0, -180)
  401. Part17.Anchored = true
  402. Part17.Size = Vector3.new(0.199999809, 0.919999719, 0.19999969)
  403. Part17.CFrame = CFrame.new(72.5999985, 1.80297112, -50.8531914, -1, 0, 0, 0, 0.998716116, 0.0506570078, 0, 0.0506570078, -0.998716116)
  404. Part17.BottomSurface = Enum.SurfaceType.Smooth
  405. Part17.TopSurface = Enum.SurfaceType.Smooth
  406. Part17.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  407. Part17.Position = Vector3.new(72.5999985, 1.80297112, -50.8531914)
  408. Part17.Orientation = Vector3.new(-2.89999986, 180, 0)
  409. Part17.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  410. Part18.Parent = Tool0
  411. Part18.BrickColor = BrickColor.new("Ghost grey")
  412. Part18.Rotation = Vector3.new(-180, 0, -180)
  413. Part18.Anchored = true
  414. Part18.Size = Vector3.new(0.200571179, 0.349999249, 0.200571075)
  415. Part18.CFrame = CFrame.new(72.6000061, 3.85656738, -50.8356361, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  416. Part18.BottomSurface = Enum.SurfaceType.Smooth
  417. Part18.TopSurface = Enum.SurfaceType.Smooth
  418. Part18.Color = Color3.new(0.792157, 0.796079, 0.819608)
  419. Part18.Position = Vector3.new(72.6000061, 3.85656738, -50.8356361)
  420. Part18.Orientation = Vector3.new(0, 180, 0)
  421. Part18.Color = Color3.new(0.792157, 0.796079, 0.819608)
  422. Part19.Parent = Tool0
  423. Part19.Material = Enum.Material.Neon
  424. Part19.BrickColor = BrickColor.new("Maroon")
  425. Part19.Anchored = true
  426. Part19.Shape = Enum.PartType.Ball
  427. Part19.Size = Vector3.new(0.649999797, 0.649999797, 0.649999797)
  428. Part19.CFrame = CFrame.new(72.5800018, 5.6065712, -50.8699837, 1, 0, -0, 0, 1, -8.94069672e-08, 0, 8.94069672e-08, 1)
  429. Part19.BottomSurface = Enum.SurfaceType.Smooth
  430. Part19.TopSurface = Enum.SurfaceType.Smooth
  431. Part19.Color = Color3.new(0.458824, 0, 0)
  432. Part19.Position = Vector3.new(72.5800018, 5.6065712, -50.8699837)
  433. Part19.Color = Color3.new(0.458824, 0, 0)
  434. Part20.Name = "Handle"
  435. Part20.Parent = Tool0
  436. Part20.Material = Enum.Material.Wood
  437. Part20.BrickColor = BrickColor.new("Burnt Sienna")
  438. Part20.Transparency = 1
  439. Part20.Anchored = true
  440. Part20.Size = Vector3.new(0.199999809, 0.749999762, 0.19999969)
  441. Part20.CFrame = CFrame.new(72.6000061, 2.8165679, -50.8356361, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  442. Part20.BottomSurface = Enum.SurfaceType.Smooth
  443. Part20.TopSurface = Enum.SurfaceType.Smooth
  444. Part20.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  445. Part20.Position = Vector3.new(72.6000061, 2.8165679, -50.8356361)
  446. Part20.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  447. Script21.Name = "weld"
  448. Script21.Parent = Tool0
  449. table.insert(cors,sandbox(Script21,function()
  450. function weld()
  451.     local parts,last = {}
  452.     local function scan(parent)
  453.         for _,v in pairs(parent:GetChildren()) do
  454.             if (v:IsA("BasePart")) or (v:IsA("UnionOperation")) or (v:IsA("MeshPart")) then
  455.                 if (last) then
  456.                     local w = Instance.new("Weld")
  457.                     w.Name = ("%s_Weld"):format(v.Name)
  458.                     w.Part0,w.Part1 = last,v
  459.                     w.C0 = last.CFrame:inverse()
  460.                     w.C1 = v.CFrame:inverse()
  461.                     w.Parent = last
  462.                 end
  463.                 last = v
  464.                 table.insert(parts,v)
  465.             end
  466.             scan(v)
  467.         end
  468.     end
  469.     scan(script.Parent)
  470.     for _,v in pairs(parts) do
  471.         v.Anchored = false
  472.                 v.CanCollide = false
  473.     end
  474. end
  475.  
  476. weld()
  477. script:Remove()
  478. end))
  479. for i,v in pairs(mas:GetChildren()) do
  480.     v.Parent = game:GetService("Players").LocalPlayer.Backpack
  481.     pcall(function() v:MakeJoints() end)
  482. end
  483. mas:Destroy()
  484. for i,v in pairs(cors) do
  485.     spawn(function()
  486.         pcall(v)
  487.     end)
  488. end
  489.  
  490. local tool = Tool0
  491.  
  492. local GF = Vector3.new(0, 0.447, -0.894)
  493. local GR = Vector3.new(0.707, -0.707, 0)
  494. local oringalGF = tool.GripForward
  495. local oringalGR = tool.GripRight
  496.  
  497. local enabled = false
  498.  
  499. function boom(part)
  500.    
  501.     local mesh = Instance.new('SpecialMesh')
  502.     mesh.MeshType = "FileMesh"
  503.     mesh.MeshId = "rbxassetid://3270017"
  504.     mesh.Scale = Vector3.new(10,10,15)
  505.    
  506.     local eff1 = Instance.new('Part',workspace)
  507.     eff1.Position= part.Position
  508.     eff1.Shape = "Ball"
  509.     eff1.Anchored = true
  510.     eff1.CanCollide = false
  511.     eff1.Material = Enum.Material.Neon
  512.     eff1.BrickColor = BrickColor.new('Gold')
  513.     eff1.Transparency = 0
  514.     eff1.Size = Vector3.new(5,5,5)
  515.     eff1.Name = "eff1"
  516.    
  517.     local eff2 = Instance.new('Part',workspace)
  518.     eff2.Position= part.Position
  519.     eff2.Shape = "Ball"
  520.     eff2.Anchored = true
  521.     eff2.CanCollide = false
  522.     eff2.Material = Enum.Material.Neon
  523.     eff2.BrickColor = BrickColor.new('Really red')
  524.     eff2.Transparency = 0
  525.     eff2.Size = Vector3.new(10,10,10)
  526.     eff2.Name = "eff2"
  527.    
  528.     local eff3 = Instance.new('Part',workspace)
  529.     eff3.Position = part.Position
  530.     eff3.Anchored = true
  531.     eff3.CanCollide = false
  532.     eff3.Orientation = Vector3.new(90,0,0)
  533.     eff3.Name = "eff3"
  534.     mesh.Parent = eff3
  535.    
  536.     for i=1,75 do
  537.         workspace.beam.Size = workspace.beam.Size + Vector3.new(6,0,6)
  538.         workspace.beam.Transparency = workspace.beam.Transparency + 0.025
  539.         eff1.Size = eff1.Size + Vector3.new(6,6,6)
  540.         eff1.Transparency = eff1.Transparency + 0.03
  541.         eff2.Size = eff2.Size + Vector3.new(6,6,6)
  542.         eff2.Transparency = eff2.Transparency + 0.03
  543.         eff3.Mesh.Scale = eff3.Mesh.Scale + Vector3.new(8.7,8.7,0)
  544.         wait()
  545.     end
  546.    
  547.     eff1:Destroy()
  548.     eff2:Destroy()
  549.     eff3:Destroy()
  550. end
  551.  
  552. function click(mouse)
  553. if enabled == false then
  554.     enabled = true
  555.    
  556.     local sound = Instance.new('Sound')
  557.     sound.SoundId = "rbxassetid://762570073"
  558.     sound.Volume = 1.5
  559.     sound.Parent = char.Head
  560.     sound.Name = "talk"
  561.    
  562.     tool.GripForward = GF
  563.     tool.GripRight = GR
  564.    
  565.     local target = Instance.new('Part')
  566.     target.Transparency = 1
  567.     target.Anchored = true
  568.     target.CanCollide = false
  569.     target.Position = mouse.hit.p
  570.     target.Parent = workspace
  571.     target.Name = "target"
  572.    
  573.     local beam = Instance.new('Part')
  574.     beam.Shape = "Cylinder"
  575.     beam.Position = target.Position
  576.     beam.BrickColor = BrickColor.new('Really red')
  577.     beam.Material = Enum.Material.Neon
  578.     beam.Anchored = true
  579.     beam.CanCollide = false
  580.     beam.Orientation = Vector3.new(0,0,90)
  581.     beam.Size = Vector3.new(1000,1000,.2)
  582.     beam.Parent = workspace
  583.     beam.Name = "beam"
  584.    
  585.     game:GetService("Chat"):Chat(char.Head, "EXPLOSION!!!")
  586.     sound:Play()
  587.    
  588.     wait(1.6)
  589.    
  590.     local exps = Instance.new('Sound')
  591.     exps.SoundId = "rbxassetid://165970126"
  592.     exps.Parent = target
  593.     exps.Volume = 2
  594.     exps.Name = "expSFX"
  595.    
  596.     local exp = Instance.new("Explosion")
  597.     exp.Position = target.Position
  598.     exp.Parent = game.Workspace
  599.     exp.BlastRadius = 50
  600.    
  601.     exps:play()
  602.    
  603.     boom(target)
  604.    
  605.     beam:Destroy()
  606.     target:Destroy()
  607.    
  608.     wait(1)
  609.     sound:Destroy()
  610.     exps:Destroy()
  611.  
  612.     tool.GripForward = oringalGF
  613.     tool.GripRight = oringalGR
  614.    
  615.     enabled = false
  616. end
  617. end
  618.  
  619. function equipped(mouse)
  620.     mouse.Button1Down:connect(function () click(mouse) end)
  621. end
  622. print('explosion loaded!!!!')
  623. tool.Equipped:connect(equipped)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top