Advertisement
Guest User

Untitled

a guest
Jan 20th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 66.42 KB | None | 0 0
  1. --[[Magic Unknown, By KillerDarkness0105/Codex#6685.]]--
  2.  
  3.  
  4.  
  5.  
  6.  
  7. Player=game:GetService("Players").LocalPlayer
  8. Character=Player.Character
  9. PlayerGui=Player.PlayerGui
  10. Backpack=Player.Backpack
  11. Torso=Character.Torso
  12. Head=Character.Head
  13. Humanoid=Character.Humanoid
  14. LeftArm=Character["Left Arm"]
  15. LeftLeg=Character["Left Leg"]
  16. RightArm=Character["Right Arm"]
  17. RightLeg=Character["Right Leg"]
  18. LS=Torso["Left Shoulder"]
  19. LH=Torso["Left Hip"]
  20. RS=Torso["Right Shoulder"]
  21. RH=Torso["Right Hip"]
  22. Face = Head.face
  23. Neck=Torso.Neck
  24. it=Instance.new
  25. attacktype=1
  26. attacktype2=1
  27. vt=Vector3.new
  28. it=Instance.new
  29. cf=CFrame.new
  30. cn=CFrame.new
  31. euler=CFrame.fromEulerAnglesXYZ
  32. angles=CFrame.Angles
  33. combo = 0
  34. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  35. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  36. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  37. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  38. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  39. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  40. RootPart=Character.HumanoidRootPart
  41. RootJoint=RootPart.RootJoint
  42. RootCF=euler(-1.57,0,3.14)
  43. attack = false
  44. attackdebounce = false
  45. trispeed=.2
  46. attackmode='none'
  47. local idle=0
  48. local Anim="Idle"
  49. stance = false
  50. local ff = 2
  51. noleg = false
  52. evadecooldown = false
  53. Humanoid.Animator.Parent = nil
  54. local equip = false
  55. local Effects = {}
  56. attackspeed = 0.14
  57. df = false
  58. Swing = 1
  59. local sine = 0
  60. local change = 1
  61. local val = 0
  62. local speed = 0
  63. local rs = game:GetService("RunService").RenderStepped
  64. cam = workspace.CurrentCamera
  65. local RbxUtility = LoadLibrary("RbxUtility")
  66. local Create = RbxUtility.Create
  67. deb = game:GetService("Debris")
  68. Face:Destroy()
  69.  
  70. --game.Lighting.TimeOfDay = 210
  71.  
  72. local eye1 = Instance.new("Part")
  73. eye1.Parent = Character
  74. eye1.Size = Vector3.new(0.2,0.2,0.2)
  75. eye1.Archivable = true
  76. eye1.Transparency = 0
  77. eye1.CanCollide = false
  78. eye1.Material = "Neon"
  79. eye1.Color = Color3.fromRGB(48,0,211)
  80. local eye1mesh = Instance.new("SpecialMesh",eye1)
  81. eye1mesh.MeshType = "Sphere"
  82. eye1mesh.Scale = Vector3.new(0.66,1.22,0.66)
  83. ko2 = eye1mesh.Scale
  84. local eye1weld = Instance.new("Weld")
  85. eye1weld.Parent = eye1
  86. eye1weld.Part0 = Head
  87. eye1weld.Part1 = eye1
  88. eye1weld.C0 = CFrame.new(.13,.19,-.55)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  89. eye1weld.Part0 = Head
  90.  
  91.  
  92.  
  93.  
  94. local eye2 = Instance.new("Part")
  95. eye2.Parent = Character
  96. eye2.Size = Vector3.new(0.2,0.2,0.2)
  97. eye2.Archivable = true
  98. eye2.Transparency = 0
  99. eye2.CanCollide = false
  100. eye2.Material = "Neon"
  101. eye2.Color = Color3.fromRGB(48,0,211)
  102. local eye2mesh = Instance.new("SpecialMesh",eye2)
  103. eye2mesh.MeshType = "Sphere"
  104. eye2mesh.Scale = Vector3.new(0.66,1.22,0.66)
  105. local eye2weld = Instance.new("Weld")
  106. eye2weld.Parent = eye2
  107. eye2weld.Part0 = Head
  108. eye2weld.Part1 = eye2
  109. eye2weld.C0 = CFrame.new(-.13,.19,-.55)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  110. eye2weld.Part0 = Head
  111.  
  112.  
  113.  
  114.  
  115. music = Instance.new("Sound",PlayerGui)
  116. music.Volume = 1
  117. music.TimePosition = 0
  118. music.Pitch = 1
  119. music.SoundId = "rbxassetid://1849245030"
  120. music.Looped = true
  121. music:Play()
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142. so = function(id,par,vol,pit)
  143. coroutine.resume(coroutine.create(function()
  144. local sou = Instance.new("Sound",par or workspace)
  145. sou.Volume=vol
  146. sou.Pitch=pit or 1
  147. sou.SoundId=id
  148. sou:play()
  149. game:GetService("Debris"):AddItem(sou,8)
  150. end))
  151. end
  152.  
  153. --save shoulders
  154. RSH, LSH=nil, nil
  155. --welds
  156. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  157. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  158. LH=Torso["Left Hip"]
  159. RH=Torso["Right Hip"]
  160. TorsoColor=Torso.BrickColor
  161. function NoOutline(Part)
  162. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  163. end
  164. player=Player
  165. ch=Character
  166. RSH=ch.Torso["Right Shoulder"]
  167. LSH=ch.Torso["Left Shoulder"]
  168. --
  169. RSH.Parent=nil
  170. LSH.Parent=nil
  171. --
  172. RW.Name="Right Shoulder"
  173. RW.Part0=ch.Torso
  174. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  175. RW.C1=cf(0, 0.5, 0)
  176. RW.Part1=ch["Right Arm"]
  177. RW.Parent=ch.Torso
  178. --
  179. LW.Name="Left Shoulder"
  180. LW.Part0=ch.Torso
  181. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  182. LW.C1=cf(0, 0.5, 0)
  183. LW.Part1=ch["Left Arm"]
  184. LW.Parent=ch.Torso
  185.  
  186.  
  187. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  188. local wld = Instance.new("Weld", wp1)
  189. wld.Part0 = wp0
  190. wld.Part1 = wp1
  191. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  192. end
  193. local rs = game:GetService("RunService").RenderStepped
  194.  
  195. newWeld(RootPart, Torso, 0, -1, 0)
  196. Torso.Weld.C1 = CFrame.new(0, -1, 0)
  197. newWeld(Torso, LeftLeg, -0.5, -1, 0)
  198. LeftLeg.Weld.C1 = CFrame.new(0, 1, 0)
  199. newWeld(Torso, RightLeg, 0.5, -1, 0)
  200. RightLeg.Weld.C1 = CFrame.new(0, 1, 0)
  201.  
  202. Player=owner
  203. Character=Player.Character
  204. mouse=Player:GetMouse()
  205. m=Instance.new('Model',Character)
  206.  
  207.  
  208. local function weldBetween(a, b)
  209. local weldd = Instance.new("ManualWeld")
  210. weldd.Part0 = a
  211. weldd.Part1 = b
  212. weldd.C0 = CFrame.new()
  213. weldd.C1 = b.CFrame:inverse() * a.CFrame
  214. weldd.Parent = a
  215. return weldd
  216. end
  217.  
  218. ArtificialHB = Instance.new("BindableEvent", script)
  219. ArtificialHB.Name = "Heartbeat"
  220.  
  221. script:WaitForChild("Heartbeat")
  222.  
  223. frame = 1 / 80
  224. tf = 0
  225. allowframeloss = false
  226. tossremainder = false
  227. lastframe = tick()
  228. script.Heartbeat:Fire()
  229. game:GetService("RunService").Heartbeat:connect(function(s, p)
  230. tf = tf + s
  231. if tf >= frame then
  232. if allowframeloss then
  233. script.Heartbeat:Fire()
  234. lastframe = tick()
  235. else
  236. for i = 1, math.floor(tf / frame) do
  237. script.Heartbeat:Fire()
  238. end
  239. lastframe = tick()
  240. end
  241. if tossremainder then
  242. tf = 0
  243. else
  244. tf = tf - frame * math.floor(tf / frame)
  245. end
  246. end
  247. end)
  248.  
  249. --[[]
  250. function swait(num)
  251. if num == 0 or num == nil then
  252. ArtificialHB.Event:wait()
  253. else
  254. for i = 0, num do
  255. ArtificialHB.Event:wait()
  256. end
  257. end
  258. end
  259.  
  260. ]]
  261.  
  262.  
  263. function swait(num)
  264. if num == 0 or num == nil then
  265. game:service("RunService").Stepped:wait()
  266. else
  267. for i = 0, num do
  268. game:service("RunService").Stepped:wait()
  269. end
  270. end
  271. end
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280. function RemoveOutlines(part)
  281. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  282. end
  283.  
  284.  
  285. part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  286. local fp = it("Part")
  287. fp.formFactor = formfactor
  288. fp.Parent = parent
  289. fp.Reflectance = reflectance
  290. fp.Transparency = transparency
  291. fp.CanCollide = false
  292. fp.Locked = true
  293. fp.BrickColor = brickcolor
  294. fp.Name = name
  295. fp.Size = size
  296. fp.Position = Torso.Position
  297. NoOutline(fp)
  298. if fp.BrickColor == BrickColor.new("Dark indigo") then
  299. fp.Material = "Neon"
  300. else
  301. if fp.BrickColor == BrickColor.new("Really black") then
  302. fp.BrickColor = BrickColor.new("Really black")
  303. fp.Material = "Metal"
  304. else
  305. fp.Material = "Neon"
  306. end
  307. end
  308. fp:BreakJoints()
  309. return fp
  310. end
  311.  
  312. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  313. local mesh = it(Mesh)
  314. mesh.Parent = part
  315. if Mesh == "SpecialMesh" then
  316. mesh.MeshType = meshtype
  317. if meshid ~= "nil" then
  318. mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  319. end
  320. end
  321. mesh.Offset = offset
  322. mesh.Scale = scale
  323. return mesh
  324. end
  325. weld = function(parent, part0, part1, c0)
  326. local weld = it("Weld")
  327. weld.Parent = parent
  328. weld.Part0 = part0
  329. weld.Part1 = part1
  330. weld.C0 = c0
  331. return weld
  332. end
  333.  
  334. F1 = Instance.new("Folder", Character)
  335. F1.Name = "Effects Folder"
  336. F2 = Instance.new("Folder", F1)
  337. F2.Name = "Effects"
  338. Triangle = function(a, b, c)
  339. end
  340.  
  341. MagicBlock = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, parent)
  342. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  343. prt.Anchored = true
  344. prt.CFrame = cframe
  345. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  346. game:GetService("Debris"):AddItem(prt, 10)
  347. if Type == 1 or Type == nil then
  348. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  349. else
  350. if Type == 2 then
  351. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  352. else
  353. if Type == 3 then
  354. table.insert(Effects, {prt, "Block3", delay, x3, y3, z3, msh, prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0})
  355. end
  356. end
  357. end
  358. end
  359. MagicSkull = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, goe)
  360. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  361. prt.Anchored = true
  362. prt.CFrame = cframe
  363. msh = mesh("SpecialMesh", prt, "FileMesh", "14028428", vt(0, 0, 0), vt(x1, y1, z1))
  364. game:GetService("Debris"):AddItem(prt, 10)
  365. table.insert(Effects, {prt, "Skull", delay, x3, y3, z3, msh, goe})
  366. end
  367. MagicCircle = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  368. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  369. prt.Anchored = true
  370. prt.CFrame = cframe
  371. local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  372. game:GetService("Debris"):AddItem(prt, 10)
  373. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  374. end
  375. MagicRing = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  376. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  377. prt.Anchored = true
  378. prt.CFrame = cframe * cf(x2, y2, z2)
  379. local msh = mesh("SpecialMesh", prt, "FileMesh", "3270017", vt(0, 0, 0), vt(x1, y1, z1))
  380. game:GetService("Debris"):AddItem(prt, 10)
  381. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  382. end
  383. MagicCircle2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, push)
  384. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  385. prt.Anchored = true
  386. prt.CFrame = cframe
  387. local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  388. game:GetService("Debris"):AddItem(prt, 10)
  389. table.insert(Effects, {prt, "Blood", delay, x3, y3, z3, msh, push})
  390. end
  391. MagicCylinder = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  392. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  393. prt.Anchored = true
  394. prt.CFrame = cframe
  395. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  396. game:GetService("Debris"):AddItem(prt, 10)
  397. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  398. end
  399. MagicCylinder2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, goe)
  400. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  401. prt.Anchored = true
  402. prt.CFrame = cframe
  403. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  404. game:GetService("Debris"):AddItem(prt, 10)
  405. table.insert(Effects, {prt, "Cylinder2", delay, x3, y3, z3, msh, goe})
  406. end
  407. MagicHead = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  408. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  409. prt.Anchored = true
  410. prt.CFrame = cframe
  411. local msh = mesh("SpecialMesh", prt, "Head", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  412. game:GetService("Debris"):AddItem(prt, 10)
  413. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  414. end
  415. ClangEffect = function(brickcolor, cframe, duration, decrease, size, power)
  416. local prt = part(3, workspace, 0, 1, brickcolor, "Effect", vt())
  417. prt.Anchored = true
  418. prt.CFrame = cframe
  419. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(5, 5, 5))
  420. game:GetService("Debris"):AddItem(prt, 10)
  421. table.insert(Effects, {prt, "CylinderClang", duration, decrease, size, power, prt.CFrame, nil})
  422. end
  423. MagicWave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  424. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  425. prt.Anchored = true
  426. prt.CFrame = cframe
  427. local msh = mesh("SpecialMesh", prt, "FileMesh", "20329976", vt(0, 0, 0), vt(x1, y1, z1))
  428. game:GetService("Debris"):AddItem(prt, 10)
  429. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  430. end
  431. MagicFire = function(brickcolor, cframe, x1, y1, z1, delay)
  432. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  433. prt.Anchored = true
  434. prt.CFrame = cframe
  435. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  436. game:GetService("Debris"):AddItem(prt, 10)
  437. table.insert(Effects, {prt, "Fire", delay, 1, 1, 1, msh})
  438. end
  439. MagicFireWave = function(brickcolor, cframe, x1, y1, z1)
  440. local prt = part(3, workspace, 0, 1, brickcolor, "Effect", vt())
  441. prt.Anchored = true
  442. prt.CFrame = cframe
  443. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  444. d = Instance.new("Decal")
  445. d.Parent = prt
  446. d.Texture = "http://www.roblox.com/asset/?id=26356434"
  447. d.Face = "Top"
  448. d = Instance.new("Decal")
  449. d.Parent = prt
  450. d.Texture = "http://www.roblox.com/asset/?id=26356434"
  451. d.Face = "Bottom"
  452. game:GetService("Debris"):AddItem(prt, 10)
  453. table.insert(Effects, {prt, "FireWave", 1, 30, math.random(400, 600) / 100, msh})
  454. end
  455. ElecEffect = function(cff, x, y, z)
  456. local prt = part(3, workspace, 0, 0, BrickColor.new("White"), "Part", vt(1, 1, 1))
  457. prt.Anchored = true
  458. prt.CFrame = cff * cf(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  459. prt.CFrame = cf(prt.Position)
  460. game:GetService("Debris"):AddItem(prt, 10)
  461. xval = math.random() / 3
  462. yval = math.random() / 3
  463. zval = math.random() / 3
  464. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(xval, yval, zval))
  465. Effects[#Effects + 1] = {prt, "Elec", 0.2, x, y, z, xval, yval, zval, msh}
  466. end
  467.  
  468. function FindNearestTorso(Position, Distance, SinglePlayer)
  469. if SinglePlayer then
  470. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  471. end
  472. local List = {}
  473. for i, v in pairs(workspace:GetChildren()) do
  474. if v:IsA("Model") then
  475. if v:findFirstChild("Torso") then
  476. if v ~= Character then
  477. if (v.Torso.Position - Position).magnitude <= Distance then
  478. table.insert(List, v)
  479. end
  480. end
  481. end
  482. end
  483. end
  484. return List
  485. end
  486.  
  487.  
  488. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  489. local Part = Create("Part"){
  490. Parent = Parent,
  491. Reflectance = Reflectance,
  492. Transparency = Transparency,
  493. CanCollide = false,
  494. Locked = true,
  495. BrickColor = BrickColor.new(tostring(BColor)),
  496. Name = Name,
  497. Size = Size,
  498. Material = Material,
  499. }
  500. RemoveOutlines(Part)
  501. return Part
  502. end
  503.  
  504. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  505. local Msh = Create(Mesh){
  506. Parent = Part,
  507. Offset = OffSet,
  508. Scale = Scale,
  509. }
  510. if Mesh == "SpecialMesh" then
  511. Msh.MeshType = MeshType
  512. Msh.MeshId = MeshId
  513. end
  514. return Msh
  515. end
  516.  
  517.  
  518.  
  519. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  520. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  521. prt.Anchored = true
  522. prt.CFrame = cframe
  523. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  524. game:GetService("Debris"):AddItem(prt, 10)
  525. if Type == 1 or Type == nil then
  526. table.insert(Effects, {
  527. prt,
  528. "Block1",
  529. delay,
  530. x3,
  531. y3,
  532. z3,
  533. msh
  534. })
  535. elseif Type == 2 then
  536. table.insert(Effects, {
  537. prt,
  538. "Block2",
  539. delay,
  540. x3,
  541. y3,
  542. z3,
  543. msh
  544. })
  545. end
  546. end
  547.  
  548. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  549. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  550. prt.Anchored = true
  551. prt.CFrame = cframe
  552. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  553. game:GetService("Debris"):AddItem(prt, 10)
  554. table.insert(Effects, {
  555. prt,
  556. "Cylinder",
  557. delay,
  558. x3,
  559. y3,
  560. z3,
  561. msh
  562. })
  563. end
  564.  
  565. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  566. local prt=CreatePart(workspace,"Neon",0,0,brickcolor,"Effect",vt(.5,.5,.5))--part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  567. prt.Anchored=true
  568. prt.CFrame=cframe
  569. msh=CreateMesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  570. game:GetService("Debris"):AddItem(prt,2)
  571. coroutine.resume(coroutine.create(function(Part,Mesh,num)
  572. for i=0,1,delay do
  573. swait()
  574. Part.Transparency=i
  575. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  576. end
  577. Part.Parent=nil
  578. end),prt,msh,(math.random(0,1)+math.random())/5)
  579. end
  580.  
  581. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  582. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  583. prt.Anchored = true
  584. prt.CFrame = cframe
  585. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  586. game:GetService("Debris"):AddItem(prt, 10)
  587. table.insert(Effects, {
  588. prt,
  589. "Cylinder",
  590. delay,
  591. x3,
  592. y3,
  593. z3,
  594. msh
  595. })
  596. end
  597.  
  598. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  599. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  600. prt.Anchored = true
  601. prt.CFrame = cframe
  602. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  603. game:GetService("Debris"):AddItem(prt, 10)
  604. table.insert(Effects, {
  605. prt,
  606. "Cylinder",
  607. delay,
  608. x3,
  609. y3,
  610. z3,
  611. msh
  612. })
  613. end
  614.  
  615. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  616. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  617. prt.Anchored = true
  618. prt.CFrame = cframe
  619. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  620. game:GetService("Debris"):AddItem(prt, 10)
  621. table.insert(Effects, {
  622. prt,
  623. "Cylinder",
  624. delay,
  625. x3,
  626. y3,
  627. z3,
  628. msh
  629. })
  630. end
  631.  
  632.  
  633. function MoonEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  634. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  635. prt.Anchored = true
  636. prt.CFrame = cframe
  637. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://259403370", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  638. game:GetService("Debris"):AddItem(prt, 10)
  639. table.insert(Effects, {
  640. prt,
  641. "Cylinder",
  642. delay,
  643. x3,
  644. y3,
  645. z3,
  646. msh
  647. })
  648. end
  649.  
  650. function HeadEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  651. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  652. prt.Anchored = true
  653. prt.CFrame = cframe
  654. local msh = CreateMesh("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  655. game:GetService("Debris"):AddItem(prt, 10)
  656. table.insert(Effects, {
  657. prt,
  658. "Cylinder",
  659. delay,
  660. x3,
  661. y3,
  662. z3,
  663. msh
  664. })
  665. end
  666.  
  667. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  668. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  669. prt.Anchored = true
  670. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  671. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  672. local num = math.random(10, 50) / 1000
  673. game:GetService("Debris"):AddItem(prt, 10)
  674. table.insert(Effects, {
  675. prt,
  676. "Shatter",
  677. num,
  678. prt.CFrame,
  679. math.random() - math.random(),
  680. 0,
  681. math.random(50, 100) / 100
  682. })
  683. end
  684.  
  685. function FindNearestHead(Position, Distance, SinglePlayer)
  686. if SinglePlayer then
  687. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  688. end
  689. local List = {}
  690. for i, v in pairs(workspace:GetChildren()) do
  691. if v:IsA("Model") and v:findFirstChild("Head") and v ~= Character and Distance >= (v.Head.Position - Position).magnitude then
  692. table.insert(List, v)
  693. end
  694. end
  695. return List
  696. end
  697.  
  698.  
  699.  
  700. function clerp(a,b,t)
  701. local qa = {QuaternionFromCFrame(a)}
  702. local qb = {QuaternionFromCFrame(b)}
  703. local ax, ay, az = a.x, a.y, a.z
  704. local bx, by, bz = b.x, b.y, b.z
  705. local _t = 1-t
  706. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  707. end
  708.  
  709. function QuaternionFromCFrame(cf)
  710. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  711. local trace = m00 + m11 + m22
  712. if trace > 0 then
  713. local s = math.sqrt(1 + trace)
  714. local recip = 0.5/s
  715. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  716. else
  717. local i = 0
  718. if m11 > m00 then
  719. i = 1
  720. end
  721. if m22 > (i == 0 and m00 or m11) then
  722. i = 2
  723. end
  724. if i == 0 then
  725. local s = math.sqrt(m00-m11-m22+1)
  726. local recip = 0.5/s
  727. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  728. elseif i == 1 then
  729. local s = math.sqrt(m11-m22-m00+1)
  730. local recip = 0.5/s
  731. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  732. elseif i == 2 then
  733. local s = math.sqrt(m22-m00-m11+1)
  734. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  735. end
  736. end
  737. end
  738. local lerp = function(a, b, t)
  739. return a * (1 - t) + b * t
  740. end
  741.  
  742.  
  743.  
  744.  
  745. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  746. local xs, ys, zs = x + x, y + y, z + z
  747. local wx, wy, wz = w*xs, w*ys, w*zs
  748. local xx = x*xs
  749. local xy = x*ys
  750. local xz = x*zs
  751. local yy = y*ys
  752. local yz = y*zs
  753. local zz = z*zs
  754. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  755. end
  756. function QuaternionSlerp(a, b, t)
  757. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  758. local startInterp, finishInterp;
  759. if cosTheta >= 0.0001 then
  760. if (1 - cosTheta) > 0.0001 then
  761. local theta = math.acos(cosTheta)
  762. local invSinTheta = 1/math.sin(theta)
  763. startInterp = math.sin((1-t)*theta)*invSinTheta
  764. finishInterp = math.sin(t*theta)*invSinTheta
  765. else
  766. startInterp = 1-t
  767. finishInterp = t
  768. end
  769. else
  770. if (1+cosTheta) > 0.0001 then
  771. local theta = math.acos(-cosTheta)
  772. local invSinTheta = 1/math.sin(theta)
  773. startInterp = math.sin((t-1)*theta)*invSinTheta
  774. finishInterp = math.sin(t*theta)*invSinTheta
  775. else
  776. startInterp = t-1
  777. finishInterp = t
  778. end
  779. end
  780. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  781. end
  782.  
  783. function weld5(part0, part1, c0, c1)
  784. weeld=Instance.new("Weld", part0)
  785. weeld.Part0=part0
  786. weeld.Part1=part1
  787. weeld.C0=c0
  788. weeld.C1=c1
  789. return weeld
  790. end
  791.  
  792. --Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  793.  
  794. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  795. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  796. end
  797.  
  798.  
  799. function Bullets(thinggy,place,size,color,velocity,damage,bounce,collide,rotation)
  800. swait()
  801. local Bullet = Instance.new("Part",Workspace)
  802. Bullet.Locked = true
  803. Bullet.Name = "Bullet"
  804. Bullet.Anchored = bounce
  805. Bullet.CanCollide = collide
  806. Bullet.Transparency = 0.24
  807. Bullet.Reflectance = 0
  808. Bullet.BottomSurface = 0
  809. Bullet.TopSurface = 0
  810. Bullet.Shape = 0
  811. Bullet.BrickColor = BrickColor.new(color)
  812. Bullet.Size = Vector3.new(size,size,size)
  813. Bullet.Material = "Neon"
  814. Bullet.Orientation = vt(-90,0,0)
  815. local Bulletthing = Instance.new("SpecialMesh",Bullet)
  816. Bulletthing.MeshType = "Sphere"
  817. local Bulletforce = Instance.new("BodyForce")
  818. Bulletforce.force = Vector3.new(0,Bullet:GetMass()*166.2,0)
  819. Bulletforce.Parent = Bullet
  820. Bullet.CFrame = thinggy.CFrame*CFrame.new(math.random(-place,place),math.random(-place,place),math.random(-place,place))
  821. local bv = Instance.new("BodyVelocity",Bullet)
  822. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  823. Bullet.CFrame = CFrame.new(Bullet.Position,mouse.Hit.p)
  824. bv.velocity = Bullet.CFrame.lookVector*velocity
  825.  
  826.  
  827. Bullet.Touched:connect(function(hit)
  828.  
  829. if (hit.Parent.Parent ~= Character and hit.Parent ~= Character and hit.Name ~= "prt" and hit.Name ~= "Effect" and hit.Name ~= "orb" and Bullet.Anchored == false) then
  830. local orbexplode = Instance.new("Sound", Bullet)
  831. orbexplode.Volume = 4
  832. orbexplode.PlayOnRemove = true
  833. orbexplode.SoundId = "http://roblox.com/asset/?id=142070127"
  834. orbexplode.Pitch = 1
  835. orbexplode:Destroy()
  836. deb:AddItem(orbexplode, 4)
  837. Bullet.Anchored = true
  838. Bullet.Transparency = 1
  839. deb:AddItem(Bullet, 4)
  840. local Explode = Instance.new("Explosion")
  841. Explode.Position = Bullet.Position
  842. Explode.Parent = Workspace
  843. Explode.BlastPressure = 0
  844. Explode.BlastRadius = Bullet.Size.X *5.6
  845. Explode.Visible = false
  846.  
  847. Explode.Hit:connect(function(hit)
  848. if hit.Parent:FindFirstChildOfClass("Humanoid")~=nil and hit.Parent ~= Character then
  849. if hit.Parent:FindFirstChildOfClass("Humanoid").MaxHealth > 500 then
  850. hit.Parent:FindFirstChildOfClass("Humanoid").MaxHealth = 100
  851. hit.Parent:FindFirstChildOfClass("Humanoid").Health = 100
  852. end
  853. if attackdebounce == false then
  854. attackdebounce = true
  855. hit.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(damage/2,damage))
  856. wait(0.02)
  857. attackdebounce = false
  858. end
  859. end
  860. end)
  861. coroutine.resume(coroutine.create(function()
  862.  
  863. MagicCircle(BrickColor.new("Royal purple"), cf(Bullet.Position), 10, 10, 10, 50, 50, 50, 0.065)
  864. MagicCircle(BrickColor.new("Royal purple"), cf(Bullet.Position), 0, 1, 0, 15, 0, 15, 0.025)
  865. MagicRing(BrickColor.new("Royal purple"), cf(Bullet.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, 0, 4, 4, 4, 0, 0.025)
  866. MagicRing(BrickColor.new("Royal purple"), cf(Bullet.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, 0, 0.5, -1, -1, 0, 0.025)
  867. end))
  868. end
  869. end)
  870. coroutine.resume(coroutine.create(function()
  871. for i = 0,16,0.1 do
  872. swait()
  873. end
  874. if Bullet.Anchored == false then
  875. Bullet:Destroy()
  876. end
  877. end))
  878.  
  879. end
  880.  
  881.  
  882.  
  883.  
  884.  
  885. local bl = Instance.new("BlurEffect",cam)
  886. bl.Size = 0
  887.  
  888.  
  889. function Dash()
  890. evadecooldown = true
  891. attack = true
  892. so("http://www.roblox.com/asset/?id=231917788", Torso, 1, 1)
  893.  
  894. so("http://www.roblox.com/asset/?id=231917788", Torso, 1, 1)
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903.  
  904.  
  905. bl.Size = 84
  906.  
  907.  
  908. MagicCircle(BrickColor.new("White"), cf(RootPart.Position), 800, 5, 800, 0, 0, 0, 0.05)
  909. MagicCircle(BrickColor.new("Royal purple"), cf(RootPart.Position), 800, 10, 800, -40, 0, -40, 0.025)
  910. MagicCircle(BrickColor.new("White"), cf(RootPart.Position), 800, 10, 800, -42, 1000, -42, 0.05)
  911. MagicCircle(BrickColor.new("Royal purple"), cf(RootPart.Position), 1000, 10, 1000, -62, 1200, -62, 0.05)
  912.  
  913. RootPart.CFrame = RootPart.CFrame*CFrame.new(0,0,-96)
  914. RootPart.Velocity = RootPart.CFrame.lookVector *280
  915.  
  916. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  917. if v:FindFirstChild("Torso") and v:FindFirstChild("Humanoid") then
  918.  
  919. so("http://www.roblox.com/asset/?id=138186576", v.Torso, 10, 1)
  920. v:FindFirstChild("Humanoid"):TakeDamage(math.random(18,36))
  921. SphereEffect(BrickColor.new("Royal purple"), cf(v.Torso.Position) , 1, 1, 1, 6.8, 6.8, 6.8, 0.04)
  922. MagicBlock(BrickColor.new("White"), cf(v.Torso.Position), 2000, 2000, 2000, -100, -100, -100, 0.05, 1)
  923. MagicBlock(BrickColor.new("Royal purple"), cf(v.Torso.Position), 2500, 2500, 2500, -150, -150, -150, 0.05, 1)
  924. MagicBlock(BrickColor.new("White"), cf(v.Torso.Position), 3000, 3000, 3000, -200, -200, -200, 0.05, 1)
  925. MagicCircle(BrickColor.new("Royal purple"), cf(v.Torso.Position), 800, 2, 800, 150, 2, 150, 0.05)
  926. MagicCircle(BrickColor.new("White"), cf(v.Torso.Position), 800, 2, 800, 100, 4, 100, 0.05)
  927. MagicCircle(BrickColor.new("Royal purple"), cf(v.Torso.Position), 800, 2, 800, 50, 6, 50, 0.05)
  928. MagicCircle(BrickColor.new("White"), cf(v.Torso.Position), 0, 0, 0, 100, 100, 100, 0.05)
  929. MagicCircle(BrickColor.new("Royal purple"), cf(v.Torso.Position), 0, 0, 0, 200, 200, 200, 0.05)
  930. MagicCircle(BrickColor.new("White"), cf(v.Torso.Position), 0, 0, 0, 300, 300, 300, 0.05)
  931. MagicCircle(BrickColor.new("Royal purple"), cf(v.Torso.Position), 0, 0, 0, 400, 400, 400, 0.05)
  932. MagicCircle(BrickColor.new("White"), cf(v.Torso.Position), 800, 2, 800, 4, 350, 4, 0.005)
  933. MagicCircle(BrickColor.new("Royal purple"), cf(v.Torso.Position), 600, 2, 600, 4, 300, 4, 0.005)
  934. MagicCircle(BrickColor.new("White"), cf(v.Torso.Position), 400, 2, 400, 4, 250, 4, 0.005)
  935. end
  936. end
  937.  
  938. for i = 0,1,0.064 do
  939. swait()
  940. cam.FieldOfView = lerp(cam.FieldOfView, 110, 0.5)
  941. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,12),0.24)
  942. RootPart.Velocity = RootPart.CFrame.lookVector * 175
  943. bl.Size = bl.Size - 8.5
  944. SphereEffect(BrickColor.new("Royal purple"),RootPart.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,5.5,10,5.5,0.03)
  945. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, -12) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(0)), 0.4)
  946. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(0)),.4)
  947. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)),.4)
  948. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)),.4)
  949. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, -0.4) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(0)), 0.8)
  950. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -0.7, -0.7) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)), 0.8)
  951.  
  952.  
  953.  
  954. end
  955.  
  956.  
  957.  
  958. attack = false
  959. attackdebounce = false
  960. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.1)
  961. wait(.2)
  962. bl.Size = 0
  963. evadecooldown = false
  964.  
  965.  
  966.  
  967. end
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980. local shooting = false
  981.  
  982.  
  983.  
  984. function shoot()
  985. attack = true
  986. shooting = true
  987.  
  988.  
  989. local thing = Instance.new("BodyGyro",RootPart)
  990. thing.D = 50
  991. thing.P = 6000
  992. thing.MaxTorque = vt(100000,math.huge,0)
  993. thing.CFrame = CFrame.new(RootPart.Position,mouse.Hit.p)
  994. for i = 0,2,0.16 do
  995. swait()
  996. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 0.2)
  997. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-80)),.2)
  998. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)),.2)
  999. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)),.2)
  1000. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.73, -1.0, 0) * CFrame.Angles(math.rad(-25), math.rad(-66), math.rad(-25)), 0.1)
  1001. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.6, -1.0, 0) * CFrame.Angles(math.rad(0), math.rad(-83), math.rad(0)), 0.1)
  1002. end
  1003.  
  1004.  
  1005. while shooting == true do
  1006. swait(1)
  1007.  
  1008. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)),.2)
  1009. so("http://roblox.com/asset/?id=200633327",Torso,2,1)
  1010. thing.CFrame = CFrame.new(RootPart.Position,mouse.Hit.p)
  1011. Torso.Velocity = RootPart.CFrame.lookVector * -13
  1012. Bullets(RightArm,0,1.5,"Royal purple",700,25.5,false,false)
  1013. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(40), math.rad(80)),.2)
  1014. coroutine.resume(coroutine.create(function()
  1015. for i = 0, 0.5, 0.1 do
  1016. swait()
  1017. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.24)
  1018. end
  1019. end))
  1020. end
  1021.  
  1022. attack = false
  1023. thing:Destroy()
  1024. end
  1025.  
  1026.  
  1027.  
  1028. function dshoot()
  1029. attack = true
  1030. shooting = true
  1031.  
  1032.  
  1033. local thing = Instance.new("BodyGyro",RootPart)
  1034. thing.D = 50
  1035. thing.P = 6000
  1036. thing.MaxTorque = vt(100000,math.huge,0)
  1037. thing.CFrame = CFrame.new(RootPart.Position,mouse.Hit.p)
  1038. so("http://roblox.com/asset/?id=1268159756",Torso,5,1)
  1039. for i = 0,3,0.16 do
  1040. swait()
  1041. MagicRing(BrickColor.new("Royal purple"), RootPart.CFrame*CFrame.new(0,0,-8), 9, 9, 1, -0.7, -0.7, 0, 0.07)
  1042. MagicCircle(BrickColor.new("Royal purple"), RootPart.CFrame*CFrame.new(0,0,-8), 9, 9, 9, -0.7, -0.7, -0.7, 0.07)
  1043. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  1044. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1045. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.4) * angles(math.rad(90), math.rad(0), math.rad(-20)),.2)
  1046. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.4) * angles(math.rad(90), math.rad(0), math.rad(20)),.2)
  1047. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1.0, 0) * CFrame.Angles(math.rad(25), math.rad(0), math.rad(-25)), 0.1)
  1048. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1.0, 0) * CFrame.Angles(math.rad(25), math.rad(0), math.rad(25)), 0.1)
  1049. end
  1050.  
  1051.  
  1052.  
  1053. while shooting == true do
  1054. swait(0.5)
  1055. coroutine.resume(coroutine.create(function()
  1056. MagicRing(BrickColor.new("Royal purple"), RootPart.CFrame*CFrame.new(0,0,-8), 3, 3, 1, 10.2, 10.2, 0, 0.07)
  1057. end))
  1058. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1.0, 0) * CFrame.Angles(math.rad(25), math.rad(0), math.rad(-25)), 0.3)
  1059. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1.0, 0) * CFrame.Angles(math.rad(25), math.rad(0), math.rad(25)), 0.3)
  1060. so("http://roblox.com/asset/?id=200633327",Torso,2,1)
  1061. thing.CFrame = CFrame.new(RootPart.Position,mouse.Hit.p)
  1062. Torso.Velocity = RootPart.CFrame.lookVector * -63
  1063.  
  1064.  
  1065. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.4)
  1066. Bullets(RightArm,0,2.5,"Royal purple",1200,45.5,false,false)
  1067. coroutine.resume(coroutine.create(function()
  1068. for i = 0, 0.5, 0.1 do
  1069. swait()
  1070. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(math.random(-0.55*4.8,0.55*4.8),math.random(-0.55*4.8,0.55*4.8),math.random(-0.55*4.8,0.55*4.8)),0.44)
  1071. end
  1072. end))
  1073.  
  1074. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.2)
  1075. Bullets(LeftArm,0,2.5,"Royal purple",1200,45.5,false,false)
  1076. coroutine.resume(coroutine.create(function()
  1077. for i = 0, 0.5, 0.1 do
  1078. swait()
  1079. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.24)
  1080. end
  1081. end))
  1082.  
  1083. end
  1084.  
  1085. attack = false
  1086. thing:Destroy()
  1087. end
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093. function finaldev()
  1094. attack = true
  1095. so("http://roblox.com/asset/?id=815032096",Head,6,0.84)
  1096. so("http://roblox.com/asset/?id=200633529",Workspace,3,0.84)
  1097.  
  1098. for i = 0,14,0.1 do
  1099. swait()
  1100. WaveEffect(BrickColor.new("White"), RootPart.CFrame*CFrame.new(0,-1,0)*angles(0,math.rad(0+90*i),0) , 1, 1, 1, 7, 0.8, 7, 0.09)
  1101. WaveEffect(BrickColor.new("Royal purple"), RootPart.CFrame*CFrame.new(0,-1,0)*angles(0,math.rad(0-90*i),0) , 1, 1, 1, 5, 0.8, 5, 0.05)
  1102. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(math.random(-0.25*2.8,0.25*2.8),math.random(-0.25*2.8,0.25*2.8),math.random(-0.25*2.8,0.25*2.8)),0.16)
  1103. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.15)
  1104. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(14),math.rad(0),math.rad(0)),.15)
  1105. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(87)),.15)
  1106. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0) * angles(math.rad(0), math.rad(0), math.rad(-87)),.15)
  1107. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, 0, -0.5) * CFrame.Angles(math.rad(16), math.rad(0), math.rad(0)), 0.15)
  1108. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1.14, 0.2) * CFrame.Angles(math.rad(-17), math.rad(0), math.rad(0)), 0.15)
  1109.  
  1110. end
  1111. so("http://roblox.com/asset/?id=197161452",Torso,7,1)
  1112. for i = 0,6,0.1 do
  1113. swait()
  1114. WaveEffect(BrickColor.new("White"), RootPart.CFrame*CFrame.new(0,-1,0)*angles(0,math.rad(0+90*i),0) , 1, 1, 1, 7, 0.8, 7, 0.09)
  1115. WaveEffect(BrickColor.new("Royal purple"), RootPart.CFrame*CFrame.new(0,-1,0)*angles(0,math.rad(0-90*i),0) , 1, 1, 1, 5, 0.8, 5, 0.05)
  1116. Head.Velocity = Vector3.new(0,320,0)
  1117. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0+260*i), math.rad(0), math.rad(0)), 0.6)
  1118. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(70),math.rad(0),math.rad(0)),.1)
  1119. RW.C0 = clerp(RW.C0, CFrame.new(.7, -0.22, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.1)
  1120. LW.C0 = clerp(LW.C0, CFrame.new(-.7, -0.22, -0.5) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.1)
  1121. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -.34, -0.7) * CFrame.Angles(math.rad(-25), math.rad(0), math.rad(0)), 0.1)
  1122. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -.34, -0.7) * CFrame.Angles(math.rad(-25), math.rad(0), math.rad(0)), 0.1)
  1123. end
  1124.  
  1125.  
  1126. local bel = part(3, Character, 0, 1, BrickColor.new("Royal purple"), "Ball", vt(0.126,0.126,0.126))
  1127. local belmsh = mesh("SpecialMesh", bel, "Sphere", "nil", vt(0, 0, 0), vt(10, 10, 10))
  1128.  
  1129.  
  1130.  
  1131. local Charge = Instance.new("Sound", bel)
  1132. Charge.Volume = 10
  1133. Charge.SoundId = "http://roblox.com/asset/?id=244578827"
  1134. Charge.Pitch = 0.8
  1135. Charge.PlayOnRemove = true
  1136. Charge:Play()
  1137. Charge:Destroy()
  1138. bel.Anchored = true
  1139. for i = 0,47,0.1 do
  1140. swait()
  1141. bel.CFrame = RootPart.CFrame * cf(0, 90*i/3.5, 0)
  1142. bel.Transparency = bel.Transparency - 0.0034
  1143. belmsh.Scale = belmsh.Scale + Vector3.new(24,24,24)
  1144. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0+1*i,0+1*i),0.15)
  1145. cam.FieldOfView = lerp(cam.FieldOfView, 40+1*i, 0.15)
  1146. Head.Velocity = Vector3.new(0,2.4+0.8*i,0)
  1147. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(35), math.rad(0), math.rad(0)), 0.2)
  1148. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-13),math.rad(0),math.rad(0)),.2)
  1149. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.7, 0) * angles(math.rad(0), math.rad(0), math.rad(140)),.2)
  1150. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.7, 0) * angles(math.rad(0), math.rad(0), math.rad(-140)),.2)
  1151. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1.0, 0) * CFrame.Angles(math.rad(-45), math.rad(34), math.rad(-25)), 0.1)
  1152. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1.0, 0) * CFrame.Angles(math.rad(-45), math.rad(-34), math.rad(25)), 0.1)
  1153. end
  1154. so("http://roblox.com/asset/?id=160212892",Head,10,0.84)
  1155. for i = 0,4,0.1 do
  1156. swait()
  1157. Head.Velocity = Vector3.new(0,2.4,0)
  1158. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  1159. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(35), math.rad(0), math.rad(0)), 0.2)
  1160. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(13),math.rad(0),math.rad(0)),.2)
  1161. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.7, 0) * angles(math.rad(0), math.rad(0), math.rad(140)),.2)
  1162. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.7, 0) * angles(math.rad(0), math.rad(0), math.rad(-140)),.2)
  1163. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1.0, 0) * CFrame.Angles(math.rad(-45), math.rad(34), math.rad(-25)), 0.1)
  1164. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1.0, 0) * CFrame.Angles(math.rad(-45), math.rad(-34), math.rad(25)), 0.1)
  1165. end
  1166.  
  1167.  
  1168.  
  1169.  
  1170.  
  1171. bel.Anchored = false
  1172. local bv = Instance.new("BodyVelocity",bel)
  1173. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1174. bel.CFrame = CFrame.new(bel.Position,mouse.Hit.p)
  1175. bv.velocity = bel.CFrame.lookVector*350
  1176.  
  1177.  
  1178.  
  1179. --[[
  1180. bel.Touched:connect(function(hit)
  1181.  
  1182. if hit.Parent.Parent ~= Character and hit.Parent ~= Character and hit.Name ~= "prt" and hit.Name ~= "Effect" and hit.Name ~= "orb" and Bullet.Anchored == false then
  1183. local orbexplode = Instance.new("Sound", bel)
  1184. orbexplode.Volume = 10
  1185. orbexplode.PlayOnRemove = true
  1186. orbexplode.SoundId = "http://roblox.com/asset/?id=142070127"
  1187. orbexplode.Pitch = 1
  1188. orbexplode:Destroy()
  1189. deb:AddItem(orbexplode, 4)
  1190. bel.Anchored = true
  1191. bel.Transparency = 1
  1192. deb:AddItem(bel, 4)
  1193. local Explode = Instance.new("Explosion")
  1194. Explode.Position = bel.Position
  1195. Explode.Parent = Workspace
  1196. Explode.BlastPressure = 90
  1197. Explode.BlastRadius = Bullet.Size.X *25.6
  1198. Explode.Visible = false
  1199.  
  1200. coroutine.resume(coroutine.create(function()
  1201.  
  1202.  
  1203.  
  1204. MagicBlock(BrickColor.new("White"), cf(bel.Position), 2000, 2000, 2000, -100, -100, -100, 0.05, 1)
  1205. MagicBlock(BrickColor.new("Royal purple"), cf(bel.Position), 2500, 2500, 2500, -150, -150, -150, 0.05, 1)
  1206. MagicBlock(BrickColor.new("White"), cf(bel.Position), 3000, 3000, 3000, -200, -200, -200, 0.05, 1)
  1207. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 1800, 2, 1800, 1150, 2, 1150, 0.05)
  1208. MagicCircle(BrickColor.new("White"), cf(bel.Position), 1800, 2, 1800, 1100, 4, 1100, 0.05)
  1209. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 1800, 2, 1800, 150, 16, 150, 0.05)
  1210. MagicCircle(BrickColor.new("White"), cf(bel.Position), 0, 0, 0, 1100, 4100, 1100, 0.05)
  1211. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 0, 0, 0, 1200, 1200, 1200, 0.05)
  1212. MagicCircle(BrickColor.new("White"), cf(bel.Position), 0, 0, 0, 1300, 1300,1300, 0.05)
  1213. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 0, 0, 0, 1400, 1400, 1400, 0.05)
  1214. MagicCircle(BrickColor.new("White"), cf(bel.Position), 4800, 2, 1800, 4, 1350, 4, 0.005)
  1215. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 1600, 2, 1600, 4, 1300, 4, 0.005)
  1216. MagicCircle(BrickColor.new("White"), cf(bel.Position), 1400, 2, 1400, 4, 1250, 4, 0.005)
  1217.  
  1218.  
  1219. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 10, 10, 10, 50, 50, 50, 0.065)
  1220. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 0, 1, 0, 15, 0, 15, 0.025)
  1221. MagicRing(BrickColor.new("Royal purple"), cf(bel.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, 0, 4, 4, 4, 0, 0.025)
  1222. MagicRing(BrickColor.new("Royal purple"), cf(bel.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, 0, 0.5, -1, -1, 0, 0.025)
  1223. end))
  1224. end
  1225. end)
  1226.  
  1227. ]]
  1228.  
  1229. con5=bel.Touched:connect(function(hit)
  1230.  
  1231. local orbexplode = Instance.new("Sound", bel)
  1232. orbexplode.Volume = 10
  1233. orbexplode.PlayOnRemove = true
  1234. orbexplode.SoundId = "http://roblox.com/asset/?id=167115397"
  1235. orbexplode.Pitch = 1
  1236. orbexplode:Destroy()
  1237. deb:AddItem(orbexplode, 4)
  1238. bel.Anchored = true
  1239. bel.Transparency = 1
  1240. deb:AddItem(bel, 5.2)
  1241.  
  1242.  
  1243.  
  1244.  
  1245. coroutine.resume(coroutine.create(function()
  1246. so("http://www.roblox.com/asset/?id=167115397", Workspace, 6, 1)
  1247. so("http://www.roblox.com/asset/?id=138186576", Workspace, 6, 1)
  1248. for i = 0, 0.4, 0.1 do
  1249. swait()
  1250.  
  1251.  
  1252. for i, v in pairs(FindNearestHead(bel.CFrame.p, 252.5)) do
  1253. if v:FindFirstChild("Torso") and v:FindFirstChild("Humanoid") then
  1254. if v:FindFirstChildOfClass("Humanoid").MaxHealth > 500 then
  1255. v:FindFirstChildOfClass("Humanoid").MaxHealth = 100
  1256. v:FindFirstChildOfClass("Humanoid").Health = 100
  1257. end
  1258. v.Humanoid:TakeDamage(math.random(43,86))
  1259. coroutine.resume(coroutine.create(function()
  1260. for i = 0,2,0.1 do
  1261. swait()
  1262. v.Head.Velocity = -v.Head.CFrame.lookVector*660 + Vector3.new(0,684,0)
  1263. end
  1264. end))
  1265. end
  1266. end
  1267.  
  1268. coroutine.resume(coroutine.create(function()
  1269. for i = 0, 2.4, 0.1 do
  1270. swait()
  1271. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(math.random(-0.55*4.8,0.55*4.8),math.random(-0.55*4.8,0.55*4.8),math.random(-0.55*4.8,0.55*4.8)),0.44)
  1272. end
  1273. end))
  1274.  
  1275. MagicBlock(BrickColor.new("White"), cf(bel.Position), 2000, 2000, 2000, -100, -100, -100, 0.05, 1)
  1276. MagicBlock(BrickColor.new("Royal purple"), cf(bel.Position), 2500, 2500, 2500, -150, -150, -150, 0.05, 1)
  1277. MagicBlock(BrickColor.new("White"), cf(bel.Position), 3000, 3000, 3000, -200, -200, -200, 0.05, 1)
  1278. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 1800,222, 1800, 1150, 222, 1150, 0.05)
  1279. MagicCircle(BrickColor.new("White"), cf(bel.Position), 1800, 222, 1800, 1100, 224, 1100, 0.05)
  1280. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 1800, 222, 1800, 150, 216, 150, 0.05)
  1281. MagicCircle(BrickColor.new("White"), cf(bel.Position), 0, 0, 0, 1100, 4100, 1100, 0.05)
  1282. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 0, 0, 0, 1200, 1200, 1200, 0.05)
  1283. MagicCircle(BrickColor.new("White"), cf(bel.Position), 0, 0, 0, 1300, 1300,1300, 0.05)
  1284. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 0, 0, 0, 1400, 1400, 1400, 0.05)
  1285. MagicCircle(BrickColor.new("White"), cf(bel.Position), 4800, 222, 1800, 224, 1350, 224, 0.005)
  1286. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 1600, 222, 1600, 224, 1300, 224, 0.005)
  1287. MagicCircle(BrickColor.new("White"), cf(bel.Position), 1400, 222, 1400, 224, 1250, 224, 0.005)
  1288.  
  1289. WaveEffect(BrickColor.new("White"), cf(bel.Position)*angles(0,math.rad(0+90*i),0) , 1, 1, 1, 24, 5.4, 24, 0.09)
  1290. WaveEffect(BrickColor.new("Royal purple"), cf(bel.Position)*angles(0,math.rad(0-90*i),0) , 1, 1, 1, 22, 4.8, 22, 0.05)
  1291.  
  1292. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 10, 10, 10, 50, 50, 50, 0.065)
  1293. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 0, 1, 0, 15, 0, 15, 0.025)
  1294. MagicRing(BrickColor.new("White"), cf(bel.Position) * euler(math.random(-360, 360), math.random(-360, 360), math.random(-360, 360)), 24, 24, 1, 12, 12, 0, 0.015)
  1295. MagicRing(BrickColor.new("Royal purple"), cf(bel.Position) * euler(math.random(-360, 360), math.random(-360, 360), math.random(-360, 360)), 24, 24, 1, 12, 12, 0, 0.015)
  1296. MagicRing(BrickColor.new("White"), cf(bel.Position) * euler(math.random(-360, 360), math.random(-360, 360), math.random(-360, 360)), 24, 24, 1, 8, 8, 0, 0.015)
  1297. MagicRing(BrickColor.new("Royal purple"), cf(bel.Position) * euler(math.random(-360, 360), math.random(-360, 360), math.random(-360, 360)), 24, 24, 1, 12, 12, 0, 0.015)
  1298. end
  1299. end))
  1300.  
  1301.  
  1302. end)
  1303.  
  1304.  
  1305.  
  1306.  
  1307. for i = 0,32,0.1 do
  1308. swait()
  1309. Head.Velocity = Vector3.new(0,2.4,0)
  1310. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-35), math.rad(0), math.rad(0)), 0.2)
  1311. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(43),math.rad(0),math.rad(0)),.2)
  1312. RW.C0 = clerp(RW.C0, CFrame.new(1.0, 0.5, -0.4) * angles(math.rad(80), math.rad(12), math.rad(-30)),.2)
  1313. LW.C0 = clerp(LW.C0, CFrame.new(-1., 0.5, -0.4) * angles(math.rad(80), math.rad(-12), math.rad(30)),.2)
  1314. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1.0, 0) * CFrame.Angles(math.rad(75), math.rad(34), math.rad(-35)), 0.2)
  1315. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1.0, 0) * CFrame.Angles(math.rad(75), math.rad(-34), math.rad(35)), 0.2)
  1316. end
  1317.  
  1318. coroutine.resume(coroutine.create(function()
  1319. for i = 0, 63, 0.1 do
  1320. swait()
  1321. end
  1322. if bel.Anchored == false then
  1323. bel:Destroy()
  1324. end
  1325. end))
  1326.  
  1327.  
  1328.  
  1329.  
  1330. attack = false
  1331. end
  1332.  
  1333.  
  1334.  
  1335. mouse.Button1Down:connect(function(key)
  1336. if attack == false then
  1337. shoot()
  1338. end
  1339. end)
  1340.  
  1341.  
  1342.  
  1343.  
  1344. mouse.Button1Up:connect(function(key)
  1345. if shooting == true then
  1346. shooting = false
  1347. end
  1348. end)
  1349.  
  1350.  
  1351.  
  1352.  
  1353. mouse.KeyDown:connect(function(key)
  1354. if key == 'e' and attack == false then
  1355. dshoot()
  1356. end
  1357. end)
  1358.  
  1359.  
  1360.  
  1361.  
  1362. mouse.KeyDown:connect(function(key)
  1363. if key == 'q' and attack == false then
  1364. finaldev()
  1365. end
  1366. end)
  1367.  
  1368. mouse.KeyUp:connect(function(key)
  1369. if key == 'e' and shooting == true then
  1370. shooting = false
  1371. end
  1372. end)
  1373.  
  1374.  
  1375.  
  1376. mouse.KeyDown:connect(function(key)
  1377. if key == 'f' and attack == false and evadecooldown == false then
  1378. Dash()
  1379. end
  1380. end)
  1381.  
  1382.  
  1383. local orb = part(3, Character, 0, 0.9, BrickColor.new("White"), "Effect", vt())
  1384. local msh = mesh("SpecialMesh", orb, "Sphere", "nil", vt(0, 0, 0), vt(15, 15, 15))
  1385.  
  1386. local orb2 = part(3, Character, 0, 0.9, BrickColor.new("White"), "Effect", vt())
  1387. local msh = mesh("SpecialMesh", orb2, "Sphere", "nil", vt(0, 0, 0), vt(15, 15, 15))
  1388. orb.Anchored = true
  1389. orb2.Anchored = true
  1390. Humanoid.WalkSpeed = 32
  1391.  
  1392.  
  1393. local f = 0
  1394. game:GetService("RunService"):BindToRenderStep("W0tT", 0, function()
  1395.  
  1396.  
  1397. f = f+1
  1398. cam.FieldOfView = lerp(cam.FieldOfView, 70, 0.076)
  1399. if f >= 6 then
  1400. f=0
  1401. SphereEffect(BrickColor.new("Royal purple"),cf(orb.Position)*angles(math.random(-360, 360),math.random(-360, 360),math.random(-360, 360)),1,5,1,.05,4,.05,0.03)
  1402. SphereEffect(BrickColor.new("Royal purple"),cf(orb2.Position)*angles(math.random(-360, 360),math.random(-360, 360),math.random(-360, 360)),1,5,1,.05,4,.05,0.03)
  1403. MagicRing(BrickColor.new("Royal purple"), cf(orb.Position) * euler(math.random(-360, 360), math.random(-360, 360), math.random(-360, 360)), 3, 3, 1, -0.2, -0.2, 0, 0.07)
  1404. MagicCircle(BrickColor.new("Royal purple"), cf(orb.Position), 0, 0, 0, 1.25, 1.25, 1.25, 0.05)
  1405. MagicRing(BrickColor.new("Royal purple"), cf(orb2.Position) * euler(math.random(-360, 360), math.random(-360, 360), math.random(-360, 360)), 3, 3, 1, -0.2, -0.2, 0, 0.07)
  1406. MagicCircle(BrickColor.new("Royal purple"), cf(orb2.Position), 0, 0, 0, 1.25, 1.25, 1.25, 0.05)
  1407. MagicBlock(BrickColor.new("Royal purple"), cf(orb.Position) * cf(math.random(-200, 200) / 100, math.random(-200, 200) / 100, math.random(-200, 200) / 100) * euler(math.random(-360, 360), math.random(-360, 360), math.random(-360, 360)), 1, 1, 1, 1, 1, 1, 0.1, 2)
  1408. MagicBlock(BrickColor.new("Royal purple"), cf(orb2.Position) * cf(math.random(-200, 200) / 100, math.random(-200, 200) / 100, math.random(-200, 200) / 100) * euler(math.random(-360, 360), math.random(-360, 360), math.random(-360, 360)), 1, 1, 1, 1, 1, 1, 0.1, 2)
  1409.  
  1410. end
  1411. end)
  1412.  
  1413. Humanoid.MaxHealth = 400
  1414.  
  1415. print("Move list")
  1416. print("---------")
  1417. print("F: Time Dash")
  1418. print("Hold Click: Lesser Bullets")
  1419. print("Hold E: Mega Bullets")
  1420. print("Q: Final Devastator")
  1421.  
  1422.  
  1423.  
  1424.  
  1425. while true do
  1426. swait()
  1427. sine = sine + change
  1428. --speed = speed + music.PlaybackLoudness/90
  1429. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1430. local velderp=RootPart.Velocity.y
  1431. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1432. local TiltVelocity = CFrame.new(RootPart.CFrame:vectorToObjectSpace(RootPart.Velocity))
  1433. if attack==true or attack==false then
  1434. if attack==false then
  1435. idle=idle+1
  1436. else
  1437. idle=0
  1438. end
  1439. if idle>=500 then
  1440. if attack==false then
  1441. end
  1442. end
  1443.  
  1444. Humanoid.Health = Humanoid.Health + 4
  1445.  
  1446. orb.CFrame = RightArm.CFrame * cf(0, -1, 0)
  1447. orb2.CFrame = LeftArm.CFrame * cf(0, -1, 0)
  1448. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1449. Anim="Jump"
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455. if attack==false then
  1456. change = 1
  1457. look = 0
  1458. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  1459. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(4), math.rad(0), math.rad(0)), 0.07)
  1460. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10+2.05*math.cos(sine/5)),math.rad(0),math.rad(0)),0.07)
  1461. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20+2.05*math.cos(sine/5)), math.rad(-10), math.rad(50-2.05*math.cos(sine/5))), 0.07)
  1462. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20+2.05*math.cos(sine/5)), math.rad(-10), math.rad(-50+2.05*math.cos(sine/5))), 0.07)
  1463. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, -0.6) * CFrame.Angles(math.rad(-25+3.05*math.cos(sine/5)), math.rad(-3), math.rad(0)), 0.1)
  1464. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -.47, -0.7) * CFrame.Angles(math.rad(-12+3.05*math.cos(sine/5)), math.rad(0), math.rad(0)), 0.1)
  1465. end
  1466.  
  1467. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1468. Anim="Fall"
  1469. change = 1
  1470.  
  1471.  
  1472.  
  1473. if attack==false then
  1474. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  1475. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0.2) * CFrame.Angles(math.rad(7+4*math.sin(sine/1.3)), math.rad(0), math.rad(0)),0.07)
  1476. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.65, 0) * angles(math.rad(0), math.rad(0), math.rad(140+12*math.cos(sine/1.3))), 0.07)
  1477. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.65, 0) * angles(math.rad(0), math.rad(0), math.rad(-140+12*math.cos(sine/1.3))), 0.07)
  1478. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(40+7*math.sin(sine/1.3)),math.rad(0),math.rad(0)),0.07)
  1479. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1+0.17*math.cos(sine/1.3), -0.13) * CFrame.Angles(math.rad(18+7*math.cos(sine/1.3)), math.rad(3), math.rad(0)), 0.1)
  1480. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -.37+0.17*math.cos(sine/1.3), -0.2) * CFrame.Angles(math.rad(32+7*math.cos(sine/1.3)), math.rad(0), math.rad(0)), 0.1)
  1481. end
  1482.  
  1483. elseif torvel<1 and hitfloor~=nil then
  1484. Anim="Idle"
  1485. change = 1
  1486. if attack==false and equip == false then
  1487. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  1488.  
  1489.  
  1490.  
  1491. orb.CFrame = orb.CFrame:lerp(RightArm.CFrame*cf(0+2*math.cos(sine/40), -5+2*math.sin(sine/40), 0),0.1)
  1492. orb2.CFrame = orb2.CFrame:lerp(LeftArm.CFrame*cf(0-2*math.cos(sine/40), -5+2*math.sin(sine/40), 0),0.1)
  1493.  
  1494. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1-0.04*math.cos(sine/40), -0) * CFrame.Angles(math.rad(0), math.rad(-70), math.rad(0)), 0.25)
  1495. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10+2.6*math.sin(sine/40)),math.rad(0),math.rad(60)),0.25)
  1496. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.55+0.04*math.sin(sine/40), 0.2) * angles(math.rad(-32+1.3*math.cos(sine/40)), math.rad(0+4*math.sin(sine/40)), math.rad(-22.3+2.2*math.cos(sine/40))),0.25)
  1497. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.55+0.04*math.sin(sine/40), -0.3-0.04*math.cos(sine/40)) * angles(math.rad(28+1.3*math.cos(sine/40)), math.rad(0-4*math.sin(sine/40)), math.rad(26.3-2.2*math.cos(sine/40))),0.25)
  1498. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1+0.04*math.cos(sine/40), 0) * CFrame.Angles(math.rad(0), math.rad(8), math.rad(-7)),0.25)
  1499. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.57, -1+0.04*math.cos(sine/40), 0) * CFrame.Angles(math.rad(0), math.rad(-2), math.rad(3)),0.25)
  1500. end
  1501.  
  1502.  
  1503.  
  1504. elseif torvel>1.5 and torvel<22 and hitfloor~=nil then
  1505. Anim="Walk"
  1506. change = 0.84
  1507. look = 0
  1508. if attack==false and equip == false then
  1509. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.02)
  1510. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1+0.14*math.cos(sine/5), -0.3) * angles(math.rad(-2)*-math.rad(TiltVelocity.z)*9.5, math.rad(0+2*math.cos(sine/10)), math.rad(8)*-math.rad(TiltVelocity.x)*7.5+ RootPart.RotVelocity.Y / 46), 0.08)
  1511. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(4-3*math.sin(sine/5)),math.rad(0),math.rad(2) + RootPart.RotVelocity.Y / 13), 0.08)
  1512. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0+0.34*math.sin(sine/10)) * angles(math.rad(0-26*math.sin(sine/10))+ RootPart.RotVelocity.Y / -34, math.rad(0), math.rad(6+8*math.cos(sine/5))- RootPart.RotVelocity.Y / 34), 0.08)
  1513. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0-0.34*math.sin(sine/10)) * angles(math.rad(0+26*math.sin(sine/10))+ RootPart.RotVelocity.Y / 34, math.rad(0), math.rad(-6-8*math.cos(sine/5))+ RootPart.RotVelocity.Y / -34), 0.08)
  1514. --LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1-0.21*math.cos(sine/10), -0.03+0.19*math.cos(sine/10)) * CFrame.Angles(math.rad(-8-25*math.sin(sine/10)*-math.rad(TiltVelocity.z)*12.5), math.rad(0)- RootPart.RotVelocity.Y / -24, math.rad(0-25*math.sin(sine/10)*math.rad(TiltVelocity.x)*11.5+ RootPart.RotVelocity.Y / -34)), 0.08)
  1515. --RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1+0.21*math.cos(sine/10),-0.03-0.19*math.cos(sine/10)) * CFrame.Angles(math.rad(-8+25*math.sin(sine/10)*-math.rad(TiltVelocity.z)*12.5), math.rad(0)+ RootPart.RotVelocity.Y / 24, math.rad(0-25*math.sin(sine/10)*-math.rad(TiltVelocity.x)*11.5- RootPart.RotVelocity.Y / 34)), 0.08)
  1516. end
  1517. if attack == false or attack==true and noleg == false then
  1518. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1-0.21*math.cos(sine/10), -0.03+0.19*math.cos(sine/10)) * CFrame.Angles(math.rad(-8-25*math.sin(sine/10)*-math.rad(TiltVelocity.z)*9.5), math.rad(0)- RootPart.RotVelocity.Y / -24, math.rad(0-25*math.sin(sine/10)*math.rad(TiltVelocity.x)*6.5- RootPart.RotVelocity.Y / 34)), 0.08)
  1519. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1+0.21*math.cos(sine/10),-0.03-0.19*math.cos(sine/10)) * CFrame.Angles(math.rad(-8+25*math.sin(sine/10)*-math.rad(TiltVelocity.z)*9.5), math.rad(0)+ RootPart.RotVelocity.Y / 24, math.rad(0-25*math.sin(sine/10)*-math.rad(TiltVelocity.x)*6.5- RootPart.RotVelocity.Y / 34)), 0.08)
  1520. end
  1521.  
  1522. elseif torvel>=22 and hitfloor~=nil then
  1523. Anim="Run"
  1524. change = 0.84+ Character.Humanoid.WalkSpeed/112
  1525. if attack==false and equip == false then
  1526. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.02)
  1527. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1-0.5*math.cos(sine/2.5), -.8) * angles(math.rad(-23+4*math.cos(sine/5)), math.rad(0+4*math.sin(sine/5)), math.rad(0)+ RootPart.RotVelocity.Y / 26), .1)
  1528. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-12+20*math.sin(sine/2.5)),math.rad(0),math.rad(0+5*math.sin(sine/5)) + RootPart.RotVelocity.Y / 13),.1)
  1529. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0-0.34*math.cos(sine/5)) * angles(math.rad(10+57*math.cos(sine/5))+ RootPart.RotVelocity.Y / -34, math.rad(0+43*math.cos(sine/5)), math.rad(5)- RootPart.RotVelocity.Y / 34),.25)
  1530. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0+0.34*math.cos(sine/5))*angles(math.rad(10-57*math.cos(sine/5))+ RootPart.RotVelocity.Y / 34,math.rad(0+43*math.cos(sine/5)),math.rad(-5)+ RootPart.RotVelocity.Y / -34),.25)
  1531.  
  1532.  
  1533. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1+0.56*math.cos(sine/5), 0-0.48*math.cos(sine/5)) * CFrame.Angles(math.rad(0+73*math.sin(sine/5)), math.rad(0)+ RootPart.RotVelocity.Y / 42, math.rad(0)+ RootPart.RotVelocity.Y / -54), 0.3)
  1534. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1-0.56*math.cos(sine/5),0+0.48*math.cos(sine/5)) * CFrame.Angles(math.rad(0-73*math.sin(sine/5)), math.rad(0)+ RootPart.RotVelocity.Y / 42, math.rad(0)- RootPart.RotVelocity.Y / 54), 0.3)
  1535. end
  1536.  
  1537. --[[
  1538. if attack==false then
  1539. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1-0.4*math.cos(sine/5.5)/2, 0 *math.sin(sine/6.6)/2) * CFrame.Angles(math.rad(0) + -math.sin(sine/5.5)/1.2, math.rad(0), 0), .8)
  1540. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1+0.4*math.cos(sine/5.5)/2,0 *-math.sin(sine/6.6)/2) * CFrame.Angles(math.rad(0) + math.sin(sine/5.5)/1.2, math.rad(0), 0), .8)
  1541. end
  1542. ]]
  1543. if attack==true and noleg == false then
  1544. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1-0.24*math.cos(sine/5), 0.+0.24*math.cos(sine/5)) * CFrame.Angles(math.rad(0-74*math.sin(sine/5)), math.rad(0), math.rad(0)), 0.3)
  1545. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1+0.24*math.cos(sine/5),0.-0.24*math.cos(sine/5)) * CFrame.Angles(math.rad(0+74*math.sin(sine/5)), math.rad(0), math.rad(0)), 0.3)
  1546. end
  1547.  
  1548.  
  1549. end
  1550. end
  1551.  
  1552.  
  1553.  
  1554. if 0 < #Effects then
  1555. for e = 1, #Effects do
  1556. if Effects[e] ~= nil then
  1557. local Thing = Effects[e]
  1558. if Thing ~= nil then
  1559. local Part = Thing[1]
  1560. local Mode = Thing[2]
  1561. local Delay = Thing[3]
  1562. local IncX = Thing[4]
  1563. local IncY = Thing[5]
  1564. local IncZ = Thing[6]
  1565. if Thing[2] == "CylinderClang" then
  1566. if Thing[3] <= 1 then
  1567. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 2.5 * Thing[5], 0) * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1568. Thing[7] = Thing[1].CFrame
  1569. effect("New Yeller", 0, Thing[8], Thing[7])
  1570. Thing[8] = Thing[7]
  1571. Thing[3] = Thing[3] + Thing[4]
  1572. else
  1573. Part.Parent = nil
  1574. table.remove(Effects, e)
  1575. end
  1576. end
  1577. if Thing[2] == "showDamage" then
  1578. if Thing[6] < Thing[5] then
  1579. Thing[6] = Thing[6] + 1
  1580. else
  1581. if Thing[6] < Thing[7] then
  1582. Thing[4].position = Thing[4].position + vt(0, -0.2, 0)
  1583. Thing[6] = Thing[6] + 1
  1584. else
  1585. if Thing[6] < Thing[8] then
  1586. Thing[6] = Thing[6] + 1
  1587. else
  1588. if Thing[6] < Thing[9] then
  1589. Thing[6] = Thing[6] + 1
  1590. Thing[4].position = Thing[4].position + vt(0, 0.2, 0)
  1591. Thing[3].TextStrokeTransparency = Thing[3].TextStrokeTransparency + 0.1
  1592. Thing[3].TextTransparency = Thing[3].TextTransparency + 0.1
  1593. else
  1594. Thing[1].Parent = nil
  1595. table.remove(Effects, e)
  1596. end
  1597. end
  1598. end
  1599. end
  1600. end
  1601. if Thing[2] == "PartiEmi" then
  1602. Thing[3] = Thing[3] - 1
  1603. if Thing[3] <= 0 then
  1604. Thing[1].Enabled = false
  1605. table.remove(Effects, e)
  1606. end
  1607. end
  1608. if Thing[2] == "AdjuEff" then
  1609. if 0 < Thing[3] then
  1610. Thing[3] = Thing[3] - 1
  1611. Thing[1].Size = Thing[1].Size + UDim2.new(0.2, 0, 0.2, 0)
  1612. Thing[1].StudsOffset = Thing[1].StudsOffset + vt(0, -0.2, 0)
  1613. Thing[4].ImageTransparency = Thing[4].ImageTransparency + 0.1
  1614. else
  1615. Thing[1].Parent = nil
  1616. table.remove(Effects, e)
  1617. end
  1618. end
  1619. if Thing[2] ~= "Shoot" and Thing[2] ~= "DecreaseStat" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" and Thing[2] ~= "showDamage" and Thing[2] ~= "PartiEmi" and Thing[2] ~= "AdjuEff" then
  1620. if Thing[1].Transparency <= 1 then
  1621. if Thing[2] == "Block1" then
  1622. Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1623. Mesh = Thing[7]
  1624. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  1625. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1626. else
  1627. if Thing[2] == "Block2" then
  1628. Thing[1].CFrame = Thing[1].CFrame
  1629. Mesh = Thing[7]
  1630. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  1631. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1632. else
  1633. if Thing[2] == "Block3" then
  1634. Thing[9] = Thing[9] + 0.5
  1635. Thing[1].CFrame = Thing[8] * cf(0, Thing[9], 0)
  1636. Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1637. Mesh = Thing[7]
  1638. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  1639. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1640. else
  1641. if Thing[2] == "Skull" then
  1642. Thing[1].CFrame = Thing[1].CFrame * cf(0, Thing[8] / 2, -Thing[8])
  1643. Mesh = Thing[7]
  1644. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  1645. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1646. else
  1647. if Thing[2] == "Cylinder" then
  1648. Mesh = Thing[7]
  1649. Mesh.Scale = Mesh.Scale + vt(Thing[4]-Thing[1].Transparency, Thing[5]-Thing[1].Transparency, Thing[6]-Thing[1].Transparency)
  1650. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1651. else
  1652. if Thing[2] == "Cylinder2" then
  1653. Thing[1].CFrame = Thing[1].CFrame * cf(0, Thing[8], 0)
  1654. Mesh = Thing[7]
  1655. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  1656. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1657. else
  1658. if Thing[2] == "Blood" then
  1659. Mesh = Thing[7]
  1660. Thing[1].CFrame = Thing[1].CFrame * cf(0, 0.5, 0)
  1661. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  1662. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1663. else
  1664. if Thing[2] == "Elec" then
  1665. Mesh = Thing[10]
  1666. Mesh.Scale = Mesh.Scale + vt(Thing[7], Thing[8], Thing[9])
  1667. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1668. else
  1669. if Thing[2] == "Disappear" then
  1670. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1671. end
  1672. end
  1673. end
  1674. end
  1675. end
  1676. end
  1677. end
  1678. end
  1679. end
  1680. else
  1681. Part.Parent = nil
  1682. table.remove(Effects, e)
  1683. end
  1684. end
  1685. end
  1686. end
  1687. end
  1688. end
  1689. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement