Advertisement
voidman

Untitled

Dec 27th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.16 KB | None | 0 0
  1. --]]
  2. --https://github.com/Mokiros/roblox-FE-compatibility
  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. abyssal sword
  9. LOCALSCRIPT
  10.  
  11. keys:
  12. e = energy brick
  13. c = smash
  14. f = fall
  15. l = lightning
  16. click = slash
  17. right click = lasers
  18. ]]
  19.  
  20. me = game.Players.LocalPlayer
  21.  
  22. local user = me.Character
  23.  
  24. local tool = Instance.new("Tool", me.Backpack)
  25. tool.Name = "Abyssal Sword"
  26.  
  27. local handle = Instance.new("Part", tool)
  28. handle.formFactor = "Custom"
  29. handle.CanCollide = false
  30. handle.Name = "Handle"
  31. handle.TopSurface = "Smooth"
  32. handle.BottomSurface = "Smooth"
  33. handle.Size = Vector3.new(0.3, 1, 0.3)
  34. handle.Rotation = Vector3.new(90, 0, 0)
  35.  
  36. handle.Touched:connect(function(h)
  37. if not h:IsDescendantOf(me.Character) then
  38. for _, a in pairs(h.Parent:GetChildren()) do
  39. if a:IsA("Humanoid") then
  40. a.Health = a.Health - 20
  41. end
  42. end
  43. end
  44. end)
  45.  
  46. tool.GripPos = Vector3.new(0, 0, -2)
  47. tool.GripForward = Vector3.new(-1, 0, 0)
  48. tool.GripRight = Vector3.new(0, 1, 0)
  49. tool.GripUp = Vector3.new(0, 0, 1.5)
  50.  
  51. local fp = Instance.new("Part", tool)
  52. fp.FormFactor = "Custom"
  53. fp.Transparency = 1
  54. fp.Size = Vector3.new(0.25, 0.25, 0.25)
  55.  
  56. local fire = Instance.new("Fire", fp)
  57. fire.Color = Color3.new(0, 0, 0)
  58. fire.SecondaryColor = Color3.new(255, 0, 0)
  59. fire.Size = 3
  60. fire.Heat = 0
  61.  
  62. local derp = Instance.new("SpecialMesh", handle)
  63. derp.MeshId = "http://www.roblox.com/asset/?id=61357428"
  64. derp.TextureId = "http://www.roblox.com/asset/?id=61357495 "
  65. derp.Scale = Vector3.new(2, 2, 2.5)
  66.  
  67. dist = 1.5
  68. defdist = 1.5
  69. upos = 0
  70. yrot = 90
  71. mode = 1
  72. fdist = 2
  73. updist = 0
  74.  
  75. RS = me.Character.Torso["Right Shoulder"]
  76. LS = me.Character.Torso["Left Shoulder"]
  77.  
  78. RSAnim = CFrame.new(1, 0.5, 0) * CFrame.Angles(0, math.rad(90), 0)
  79. LSAnim = CFrame.new(-1, 0.5, 0) * CFrame.Angles(0, math.rad(-90), 0)
  80.  
  81. local keys = {}
  82.  
  83. coroutine.wrap(function()
  84. while true do
  85. for i = 1, 40 do
  86. dist = dist + 0.02
  87. defdist = defdist + 0.02
  88. wait()
  89. end
  90.  
  91. for i = 1, 40 do
  92. dist = dist - 0.02
  93. defdist = defdist - 0.02
  94. wait()
  95. end
  96. end
  97. end)()
  98.  
  99. for i = 1, 6 do
  100. local pr = Instance.new("Part", tool)
  101. pr.FormFactor = "Custom"
  102. pr.TopSurface = "Smooth"
  103. pr.BottomSurface = "Smooth"
  104. pr.Name = "derpp"
  105. pr.Transparency = 0
  106. pr.Anchored = true
  107. pr.CanCollide = false
  108.  
  109. pr.Touched:connect(function(h)
  110. if not h:IsDescendantOf(me.Character) then
  111. if h.Parent:FindFirstChild("Humanoid") then
  112. h.Parent.Humanoid:TakeDamage(10)
  113. end
  114. end
  115. end)
  116. if i == 1 or i == 3 or i == 5 then
  117. pr.BrickColor = BrickColor.new("Really black")
  118.  
  119. else
  120. pr.BrickColor = BrickColor.new("Dusty Rose")
  121. end
  122.  
  123. pr.CanCollide = false
  124. pr.Size = Vector3.new(0.5, 0.5, 0.5)
  125. coroutine.wrap(function()
  126. while true do
  127. for r = 1, 90 do
  128. if mode == 1 then
  129. pr.CFrame = fp.CFrame * CFrame.Angles(0, math.rad((r*4)+((360/6)*i)), math.rad((r*4)+((360/5)*i))) * CFrame.new(0, 0, dist)
  130.  
  131. elseif mode == 2 then
  132. pr.CFrame = (fp.CFrame * CFrame.new(2, 0, 0)) * CFrame.Angles(math.rad((r*4)+((360/6)*i)), 0, math.rad((r*4)+((360/5)*i))) * CFrame.new(0, 0, dist)
  133.  
  134. elseif mode == 3 then
  135. pr.CFrame = me.Character["EnergyBrick"].CFrame * CFrame.Angles(0, 0, math.rad((r*4)+((360/6)*i))) * CFrame.new(0, dist, 0)
  136. end
  137. wait()
  138. end
  139. end
  140. end)()
  141. end
  142.  
  143. tool.Equipped:connect(function(m)
  144. local w = Instance.new("Weld", handle)
  145. w.Part0 = handle
  146. w.Part1 = fp
  147. w.C0 = CFrame.new(0, 0, 0.75)
  148.  
  149. m.Button1Down:connect(function()
  150. down = true
  151. wait()
  152.  
  153. for i = 1,6 do
  154. me.Character.Torso["Right Shoulder"].C0 = me.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, math.rad(-i*4))
  155. wait()
  156. end
  157.  
  158. for i = 1, 6 do
  159. me.Character.Torso["Right Shoulder"].C0 = me.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, math.rad(i*4))
  160. wait()
  161. end
  162. end)
  163.  
  164. m.Button1Up:connect(function()
  165. down = false
  166. end)
  167.  
  168. m.Button2Down:connect(function()
  169. mode = 2
  170. fire.Size = 6
  171. wait(0.5)
  172. for _, a in pairs(tool:GetChildren()) do
  173. if a.Name == "derpp" then
  174. coroutine.wrap(function()
  175. local ray = Ray.new(a.CFrame.p, (m.Hit.p-a.CFrame.p).unit*300)
  176.  
  177. local hit, pos = game.Workspace:FindPartOnRay(ray, me.Character)
  178.  
  179. local h = hit
  180. if h then
  181. for _, a in pairs(h.Parent:GetChildren()) do
  182. if a:IsA("Humanoid") then
  183. a.Health = a.Health - 20
  184. end
  185. end
  186. end
  187.  
  188. local dis = (pos-a.CFrame.p).magnitude
  189.  
  190. local beam = Instance.new("Part", user)
  191. beam.TopSurface = "Smooth"
  192. beam.BottomSurface = "Smooth"
  193. beam.FormFactor = "Custom"
  194. beam.Size = Vector3.new(1, 1, dis)
  195. beam.Anchored = true
  196. beam.BrickColor = BrickColor.new("Really black")
  197. beam.CanCollide = false
  198. beam.Transparency = 0.3
  199. coroutine.wrap(function()
  200. for d = 1, 10 do
  201. beam.Size = beam.Size - Vector3.new(0.1, 0.1, 0)
  202. beam.CFrame = CFrame.new(pos, a.CFrame.p) * CFrame.new(0, 0, -dis/2)
  203. wait()
  204. end
  205. end)()
  206. wait(0.5)
  207. beam:Remove()
  208. end)()
  209. end
  210. end
  211.  
  212. wait(0.5)
  213. mode = 1
  214. end)
  215.  
  216. m.Button2Up:connect(function(k)
  217. fire.Size = 3
  218. end)
  219.  
  220. m.KeyDown:connect(function(key)
  221. if key:lower() == "e" then
  222. me.Character.Animate.Disabled = true
  223. wait(1)
  224. RS.C0 = RSAnim
  225. LS.C0 = LSAnim
  226. for _, a in pairs(tool:GetChildren()) do
  227. if a.Name ~= "derpp" then
  228. a.Transparency = 1
  229. end
  230. end
  231. fire.Enabled = false
  232.  
  233. LS.C0 = CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(-90), 0) * CFrame.Angles(math.rad(30), 0, 0)
  234. RS.C0 = CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(90), 0) * CFrame.Angles(math.rad(30), 0, 0)
  235.  
  236. coroutine.wrap(function()
  237. for d = 1, 30 do
  238. LS.C0 = CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(-90), 0) * CFrame.Angles(math.rad((30-(d))), 0, 0)
  239. RS.C0 = CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(90), 0) * CFrame.Angles(math.rad(30-(d)), 0, 0)
  240. wait()
  241. end
  242. end)()
  243.  
  244. local ball = Instance.new("Part", me.Character)
  245. ball.Name = "EnergyBrick"
  246. ball.TopSurface = "Smooth"
  247. ball.BottomSurface = "Smooth"
  248. ball.CanCollide = false
  249. ball.Transparency = 0.4
  250. ball.BrickColor = BrickColor.new("Really black")
  251. ball.Anchored = true
  252. ball.Size = Vector3.new(1, 1, 1)
  253. ball.FormFactor = "Custom"
  254. ball.CFrame = me.Character.Torso.CFrame * CFrame.Angles(0, math.rad(180), 0) * CFrame.new(0, 0, fdist)
  255. ball.Touched:connect(function(h)
  256. if not h:IsDescendantOf(me.Character) then
  257. if h:IsA("Part") and not h.Name:lower():find("base") then
  258. h:Destroy()
  259. end
  260. end
  261. end)
  262. local f = Instance.new("Fire", ball)
  263. f.Size = 3
  264. f.Color = Color3.new(0, 0, 0)
  265. f.SecondaryColor = Color3.new(0, 0, 255)
  266. wait()
  267. mode = 3
  268.  
  269. for d = 1, 40 do
  270. f.Size = f.Size + 0.25
  271. fdist = fdist + 0.05
  272. dist = dist + 0.05
  273. updist = updist + 0.025
  274. ball.Size = ball.Size + Vector3.new(0.1, 0.1, 0.1)
  275. ball.CFrame = me.Character.Torso.CFrame * CFrame.Angles(0, math.rad(180), 0) * CFrame.new(0, updist, fdist)
  276. wait()
  277. end
  278.  
  279. local scf = me.Character.Torso.CFrame * CFrame.Angles(0, math.rad(180), 0)
  280. me.Character.Animate.Disabled = false
  281. LS.C0 = CFrame.new(-1, 0.5, 0) * CFrame.Angles(0, math.rad(-90), 0)
  282. RS.C0 = CFrame.new(1, 0.5, 0) * CFrame.Angles(0, math.rad(90), 0)
  283. for _, a in pairs(tool:GetChildren()) do
  284. a.Transparency = 0
  285. end
  286. fp.Transparency = 1
  287. mode = 1
  288. dist = defdist
  289. updist = 0
  290. fire.Enabled = true
  291. for i = 1, 150 do
  292. ball.CFrame = scf * CFrame.new(0, 0, fdist+(i*2)) * CFrame.Angles(0, 0, math.rad(i*3))
  293. local b2 = ball:Clone()
  294. b2.Fire:Destroy()
  295. b2.Parent = me.Character
  296. b2.CFrame = ball.CFrame * CFrame.Angles(0, 0, math.rad(i*3))
  297. b2.Touched:connect(function(h)
  298. if not h:IsDescendantOf(me.Character) then
  299. if h:IsA("Part") and not h.Name:lower():find("base") then
  300. h:Destroy()
  301. end
  302. end
  303. end)
  304. coroutine.wrap(function()
  305. wait(1)
  306. for i = 1, 20 do
  307. b2.Transparency = b2.Transparency + 0.05
  308. wait()
  309. end
  310. b2:Destroy()
  311. end)()
  312. wait()
  313. end
  314.  
  315. ball:Destroy()
  316. fdist = 2
  317.  
  318. elseif key:lower() == "f" then
  319. me.Character.Animate.Disabled = true
  320. wait(1)
  321. RS.C0 = RSAnim
  322. LS.C0 = LSAnim
  323. for i = 1, 11 do
  324. LS.C0 = CFrame.new(-0.75, 0.5, -0.5) * CFrame.Angles(math.rad(i*8), math.rad(-90), 0) * CFrame.Angles(math.rad(i*2), 0, 0)
  325. RS.C0 = CFrame.new(0.75, 0.5, -0.5) * CFrame.Angles(math.rad(i*8), math.rad(90), 0) * CFrame.Angles(math.rad(i*2), 0, 0)
  326. wait()
  327. end
  328.  
  329. local bp = Instance.new("BodyPosition", me.Character.Torso)
  330. bp.maxForce = Vector3.new(0, 9999, 0)
  331. coroutine.wrap(function()
  332. for rs = 1, 10 do
  333. bp.position = me.Character.Head.Position + Vector3.new(0, 4, 0)
  334. wait()
  335. end
  336. end)()
  337.  
  338. for an = 1, 30 do
  339. LS.C0 = CFrame.new(-0.75, 0.5, -0.5) * CFrame.Angles(math.rad(90+(an)), math.rad(-90), 0) * CFrame.Angles(math.rad(45), 0, 0)
  340. RS.C0 = CFrame.new(0.75, 0.5, -0.5) * CFrame.Angles(math.rad(90+(an)), math.rad(90), 0) * CFrame.Angles(math.rad(45), 0, 0)
  341. wait()
  342. end
  343. wait(0.5)
  344. bp:Remove()
  345. for an = 1, 7 do
  346. LS.C0 = CFrame.new(-0.75, 0.5, -0.5) * CFrame.Angles(math.rad(90-(an*9)), math.rad(-90), 0) * CFrame.Angles(math.rad(45), 0, 0)
  347. RS.C0 = CFrame.new(0.75, 0.5, -0.5) * CFrame.Angles(math.rad(90-(an*9)), math.rad(90), 0) * CFrame.Angles(math.rad(45), 0, 0)
  348. wait()
  349. end
  350. wait(0.25)
  351. local ex = Instance.new("Part", me.Character)
  352. ex.Size = Vector3.new(1, 1, 1)
  353. ex.Transparency = 0.4
  354. ex.BrickColor = BrickColor.new("Deep orange")
  355.  
  356. local msh = Instance.new("SpecialMesh", ex)
  357. msh.MeshType = "FileMesh"
  358. msh.MeshId = "http://www.roblox.com/asset/?id=1323306"
  359. msh.Scale = Vector3.new(0.5, 0.5, 0.5)
  360.  
  361. ex.Position = handle.Position
  362. ex.Anchored = true
  363.  
  364. for i = 1, 20 do
  365. msh.Scale = msh.Scale + Vector3.new(3, 3, 3)
  366. for _, a in pairs(game.Players:GetChildren()) do
  367. if a.Name ~= me.Name and (a.Character.Torso.Position-ex.Position).magnitude <= i*2 then
  368. for _, b in pairs(a.Character:GetChildren()) do
  369. if b:IsA("Humanoid") then
  370. b.Health = b.Health - 10
  371. end
  372. end
  373. end
  374. end
  375. wait()
  376. end
  377.  
  378. for i = 1, 12 do
  379. ex.Transparency = ex.Transparency + 0.05
  380. wait()
  381. end
  382. ex:Remove()
  383. LS.C0 = CFrame.new(-1, 0.5, 0) * CFrame.Angles(0, math.rad(-90), 0)
  384. RS.C0 = CFrame.new(1, 0.5, 0) * CFrame.Angles(0, math.rad(90), 0)
  385. wait()
  386. me.Character.Animate.Disabled = false
  387.  
  388. elseif key:lower() == "l" then
  389. me.Character.Animate.Disabled = true
  390. wait(1)
  391. RS.C0 = RSAnim
  392. LS.C0 = LSAnim
  393. for i = 1, 60 do
  394. LS.C0 = CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(-90), 0) * CFrame.Angles(math.rad(-90), 0, -math.rad(i))
  395. RS.C0 = CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(90), 0) * CFrame.Angles(math.rad(-90), 0, math.rad(i))
  396. wait()
  397. end
  398.  
  399. local beam = Instance.new("Part", me.Character)
  400. beam.Size = Vector3.new(5, 300, 5)
  401. beam.CanCollide = false
  402. beam.CFrame = me.Character.Torso.CFrame * CFrame.new(0, (300/2)-2, 0)
  403. beam.TopSurface = "Smooth"
  404. beam.BottomSurface = "Smooth"
  405. beam.BrickColor = BrickColor.new("New Yeller")
  406. beam.Anchored = true
  407. beam.Transparency = 0.3
  408. wait(0.4)
  409. for e = 1, 14 do
  410. beam.Transparency = beam.Transparency + 0.05
  411. wait()
  412. end
  413. beam:Remove()
  414. local m = Instance.new("ForceField", me.Character)
  415. for i = 1, 40 do
  416. d1 = math.random(-200, 200)
  417. d2 = math.random(-200, 200)
  418. local ltn = Instance.new("Part", game.Workspace)
  419. ltn.Size = Vector3.new(3, 300, 3)
  420. ltn.CanCollide = false
  421. ltn.CFrame = CFrame.new(d1, 0, d2) * CFrame.new(0, 300/2, 0)
  422. ltn.TopSurface = "Smooth"
  423. ltn.BottomSurface = "Smooth"
  424. ltn.BrickColor = BrickColor.new("Deep blue")
  425. ltn.Anchored = true
  426. ltn.Transparency = 0.3
  427. local ex = Instance.new("Explosion")
  428. ex.Position = Vector3.new(d1, 0.5, d2)
  429. ex.BlastRadius = 10
  430. wait()
  431. ex.Parent = game.Workspace
  432. game.Lighting.Ambient = Color3.new(1, 1, 1)
  433. wait(0.125)
  434. ltn:Destroy()
  435. game.Lighting.Ambient = Color3.new(0.5, 0.5, 0.5)
  436. end
  437. m:Remove()
  438. LS.C0 = CFrame.new(-1, 0.5, 0) * CFrame.Angles(0, math.rad(-90), 0)
  439. RS.C0 = CFrame.new(1, 0.5, 0) * CFrame.Angles(0, math.rad(90), 0)
  440. wait()
  441. me.Character.Animate.Disabled = false
  442.  
  443. elseif key:lower() == "c" then
  444. me.Character.Animate.Disabled = true
  445. wait(1)
  446. RS.C0 = RSAnim
  447. LS.C0 = LSAnim
  448. for _, a in pairs(tool:GetChildren()) do
  449. a.Transparency = 1
  450. end
  451. fire.Enabled = false
  452.  
  453. local s = Instance.new("Part", me.Character)
  454. s.Transparency = 0
  455. s.Name = "StrikeSword"
  456.  
  457. local w = Instance.new("Weld", s)
  458. w.Part0 = me.Character["Right Arm"]
  459. w.Part1 = s
  460. w.C0 = CFrame.new(0, -1, -2) * CFrame.Angles(math.rad(180), 0, 0)
  461.  
  462. local derpe = Instance.new("SpecialMesh", s)
  463. derpe.MeshType = "FileMesh"
  464. derpe.MeshId = "http://www.roblox.com/asset/?id=61357428"
  465. derpe.TextureId = "http://www.roblox.com/asset/?id=61357495"
  466. derpe.Scale = Vector3.new(2, 2, 2.5)
  467. for i = 1, 35 do
  468. LS.C0 = CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(20+(i*3)), math.rad(-90), 0) * CFrame.Angles(math.rad(i+20), 0, 0)
  469. RS.C0 = CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(20+(i*3)), math.rad(90), 0) * CFrame.Angles(math.rad(i+20), 0, 0)
  470. wait()
  471. end
  472.  
  473. wait(1)
  474.  
  475. for i = 1, 30 do
  476. derpe.Scale = derpe.Scale + Vector3.new(0.2, 0.2, 0.2)
  477. w.C0 = CFrame.new(0, -1, -2-i/3) * CFrame.Angles(math.rad(180), 0, 0)
  478. wait()
  479. end
  480.  
  481. wait(0.125)
  482.  
  483. for i = 1, 17 do
  484. LS.C0 = CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(110-(i*6)), math.rad(-90), 0)
  485. RS.C0 = CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(110-(i*6)), math.rad(90), 0)
  486. wait()
  487. end
  488. wait(0.125)
  489. local ex = Instance.new("Part", me.Character)
  490. ex.Size = Vector3.new(1, 1, 1)
  491. ex.Transparency = 0.4
  492. ex.BrickColor = BrickColor.new("Deep orange")
  493.  
  494. local msh = Instance.new("SpecialMesh", ex)
  495. msh.MeshType = "FileMesh"
  496. msh.MeshId = "http://www.roblox.com/asset/?id=1323306"
  497. msh.Scale = Vector3.new(0.5, 0.5, 0.5)
  498.  
  499. ex.Position = s.Position
  500. ex.Anchored = true
  501.  
  502. coroutine.wrap(function()
  503. s:Destroy()
  504. for _, a in pairs(tool:GetChildren()) do
  505. a.Transparency = 0
  506. end
  507. fp.Transparency = 1
  508. fire.Enabled = true
  509. me.Character.Animate.Disabled = false
  510. end)()
  511.  
  512. for i = 1, 20 do
  513. msh.Scale = msh.Scale + Vector3.new(3, 3, 3)
  514. for _, a in pairs(game.Players:GetChildren()) do
  515. if a.Name ~= me.Name and (a.Character.Torso.Position-ex.Position).magnitude <= i*2 then
  516. for _, b in pairs(a.Character:GetChildren()) do
  517. if b:IsA("Humanoid") then
  518. b.Health = b.Health - 10
  519. end
  520. end
  521. end
  522. end
  523. wait()
  524. end
  525.  
  526. for i = 1, 12 do
  527. ex.Transparency = ex.Transparency + 0.05
  528. wait()
  529. end
  530. end
  531. end)
  532.  
  533. me.Character.Humanoid.Died:connect(function()
  534. local ex = Instance.new("Explosion")
  535. ex.Position = handle.Position
  536. ex.BlastRadius = 100
  537. ex.BlastPressure = 1e6
  538. wait()
  539. ex.Parent = game.Workspace
  540. end)
  541. end)
  542.  
  543. tool.Unequipped:connect(function()
  544. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement