Advertisement
PowerSans124

Demon Stars

Jul 19th, 2018
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 70.12 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.5
  119. music.SoundId = "rbxassetid://1247163553"
  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=game:GetService('Players').LocalPlayer
  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("Really red"), cf(Bullet.Position), 10, 10, 10, 50, 50, 50, 0.065)
  864. MagicCircle(BrickColor.new("Really black"), cf(Bullet.Position), 0, 1, 0, 15, 0, 15, 0.025)
  865. MagicRing(BrickColor.new("Lime green"), 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("Really red"), 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("Really red"), cf(RootPart.Position), 800, 5, 800, 0, 0, 0, 0.05)
  909. MagicCircle(BrickColor.new("Really black"), cf(RootPart.Position), 800, 10, 800, -40, 0, -40, 0.025)
  910.  
  911. RootPart.CFrame = RootPart.CFrame*CFrame.new(0,0,-96)
  912. RootPart.Velocity = RootPart.CFrame.lookVector *280
  913.  
  914. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  915. if v:FindFirstChild("Torso") and v:FindFirstChild("Humanoid") then
  916.  
  917. so("http://www.roblox.com/asset/?id=138186576", v.Torso, 10, 1)
  918. v:FindFirstChild("Humanoid"):TakeDamage(math.random(18,36))
  919. SphereEffect(BrickColor.new("Really red"), cf(v.Torso.Position) , 1, 1, 1, 6.8, 6.8, 6.8, 0.04)
  920. MagicBlock(BrickColor.new("Really black"), cf(v.Torso.Position), 2000, 2000, 2000, -100, -100, -100, 0.05, 1)
  921. MagicBlock(BrickColor.new("Lime green"), cf(v.Torso.Position), 2500, 2500, 2500, -150, -150, -150, 0.05, 1)
  922. MagicBlock(BrickColor.new("Really red"), cf(v.Torso.Position), 3000, 3000, 3000, -200, -200, -200, 0.05, 1)
  923. MagicCircle(BrickColor.new("Really black"), cf(v.Torso.Position), 800, 2, 800, 150, 2, 150, 0.05)
  924. MagicCircle(BrickColor.new("Lime green"), cf(v.Torso.Position), 800, 2, 800, 100, 4, 100, 0.05)
  925. MagicCircle(BrickColor.new("Really red"), cf(v.Torso.Position), 800, 2, 800, 50, 6, 50, 0.05)
  926. MagicCircle(BrickColor.new("Lime green"), cf(v.Torso.Position), 0, 0, 0, 100, 100, 100, 0.05)
  927. MagicCircle(BrickColor.new("Really red"), cf(v.Torso.Position), 0, 0, 0, 200, 200, 200, 0.05)
  928. MagicCircle(BrickColor.new("Lime green"), cf(v.Torso.Position), 0, 0, 0, 300, 300, 300, 0.05)
  929. MagicCircle(BrickColor.new("Really red"), cf(v.Torso.Position), 0, 0, 0, 400, 400, 400, 0.05)
  930. MagicCircle(BrickColor.new("Really black"), cf(v.Torso.Position), 800, 2, 800, 4, 350, 4, 0.005)
  931. MagicCircle(BrickColor.new("Lime green"), cf(v.Torso.Position), 600, 2, 600, 4, 300, 4, 0.005)
  932. MagicCircle(BrickColor.new("Really red"), cf(v.Torso.Position), 400, 2, 400, 4, 250, 4, 0.005)
  933. end
  934. end
  935.  
  936. for i = 0,1,0.064 do
  937. swait()
  938. cam.FieldOfView = lerp(cam.FieldOfView, 110, 0.5)
  939. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,12),0.24)
  940. RootPart.Velocity = RootPart.CFrame.lookVector * 175
  941. bl.Size = bl.Size - 8.5
  942. 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)
  943. 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)
  944. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(0)),.4)
  945. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)),.4)
  946. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)),.4)
  947. 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)
  948. 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)
  949.  
  950.  
  951.  
  952. end
  953.  
  954.  
  955.  
  956. attack = false
  957. attackdebounce = false
  958. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.1)
  959. wait(.2)
  960. bl.Size = 0
  961. evadecooldown = false
  962.  
  963.  
  964.  
  965. end
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978. local shooting = false
  979.  
  980.  
  981.  
  982. function shoot()
  983. attack = true
  984. shooting = true
  985.  
  986.  
  987. local thing = Instance.new("BodyGyro",RootPart)
  988. thing.D = 50
  989. thing.P = 6000
  990. thing.MaxTorque = vt(100000,math.huge,0)
  991. thing.CFrame = CFrame.new(RootPart.Position,mouse.Hit.p)
  992. for i = 0,2,0.16 do
  993. swait()
  994. 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)
  995. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-80)),.2)
  996. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)),.2)
  997. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)),.2)
  998. 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)
  999. 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)
  1000. end
  1001.  
  1002.  
  1003. while shooting == true do
  1004. swait(1)
  1005.  
  1006. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)),.2)
  1007. so("http://roblox.com/asset/?id=200633327",Torso,2,1)
  1008. thing.CFrame = CFrame.new(RootPart.Position,mouse.Hit.p)
  1009. Torso.Velocity = RootPart.CFrame.lookVector * -13
  1010. Bullets(RightArm,0,1.5,"Royal purple",700,25.5,false,false)
  1011. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(40), math.rad(80)),.2)
  1012. coroutine.resume(coroutine.create(function()
  1013. for i = 0, 0.5, 0.1 do
  1014. swait()
  1015. 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)
  1016. end
  1017. end))
  1018. end
  1019.  
  1020. attack = false
  1021. thing:Destroy()
  1022. end
  1023.  
  1024.  
  1025.  
  1026. function dshoot()
  1027. attack = true
  1028. shooting = true
  1029.  
  1030.  
  1031. local thing = Instance.new("BodyGyro",RootPart)
  1032. thing.D = 50
  1033. thing.P = 6000
  1034. thing.MaxTorque = vt(100000,math.huge,0)
  1035. thing.CFrame = CFrame.new(RootPart.Position,mouse.Hit.p)
  1036. so("http://roblox.com/asset/?id=1268159756",Torso,5,1)
  1037. for i = 0,3,0.16 do
  1038. swait()
  1039. MagicRing(BrickColor.new("Royal purple"), RootPart.CFrame*CFrame.new(0,0,-8), 9, 9, 1, -0.7, -0.7, 0, 0.07)
  1040. MagicCircle(BrickColor.new("Royal purple"), RootPart.CFrame*CFrame.new(0,0,-8), 9, 9, 9, -0.7, -0.7, -0.7, 0.07)
  1041. 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)
  1042. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1043. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.4) * angles(math.rad(90), math.rad(0), math.rad(-20)),.2)
  1044. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.4) * angles(math.rad(90), math.rad(0), math.rad(20)),.2)
  1045. 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)
  1046. 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)
  1047. end
  1048.  
  1049.  
  1050.  
  1051. while shooting == true do
  1052. swait(0.5)
  1053. coroutine.resume(coroutine.create(function()
  1054. MagicRing(BrickColor.new("Royal purple"), RootPart.CFrame*CFrame.new(0,0,-8), 3, 3, 1, 10.2, 10.2, 0, 0.07)
  1055. end))
  1056. 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)
  1057. 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)
  1058. so("http://roblox.com/asset/?id=200633327",Torso,2,1)
  1059. thing.CFrame = CFrame.new(RootPart.Position,mouse.Hit.p)
  1060. Torso.Velocity = RootPart.CFrame.lookVector * -63
  1061.  
  1062.  
  1063. 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)
  1064. Bullets(RightArm,0,2.5,"Royal purple",1200,45.5,false,false)
  1065. coroutine.resume(coroutine.create(function()
  1066. for i = 0, 0.5, 0.1 do
  1067. swait()
  1068. 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)
  1069. end
  1070. end))
  1071.  
  1072. 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)
  1073. Bullets(LeftArm,0,2.5,"Really red",1200,45.5,false,false)
  1074. coroutine.resume(coroutine.create(function()
  1075. for i = 0, 0.5, 0.1 do
  1076. swait()
  1077. 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)
  1078. end
  1079. end))
  1080.  
  1081. end
  1082.  
  1083. attack = false
  1084. thing:Destroy()
  1085. end
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091. function finaldev()
  1092. attack = true
  1093. so("http://roblox.com/asset/?id=815032096",Head,6,0.84)
  1094. so("http://roblox.com/asset/?id=200633529",Workspace,3,0.84)
  1095.  
  1096. for i = 0,14,0.1 do
  1097. swait()
  1098. 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)
  1099. WaveEffect(BrickColor.new("Really black"), RootPart.CFrame*CFrame.new(0,-1,0)*angles(0,math.rad(0-90*i),0) , 1, 1, 1, 5, 0.8, 5, 0.05)
  1100. 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)
  1101. 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)
  1102. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(14),math.rad(0),math.rad(0)),.15)
  1103. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(87)),.15)
  1104. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0) * angles(math.rad(0), math.rad(0), math.rad(-87)),.15)
  1105. 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)
  1106. 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)
  1107.  
  1108. end
  1109. so("http://roblox.com/asset/?id=197161452",Torso,7,1)
  1110. for i = 0,6,0.1 do
  1111. swait()
  1112. 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)
  1113. WaveEffect(BrickColor.new("Really red"), RootPart.CFrame*CFrame.new(0,-1,0)*angles(0,math.rad(0-90*i),0) , 1, 1, 1, 5, 0.8, 5, 0.05)
  1114. Head.Velocity = Vector3.new(0,320,0)
  1115. 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)
  1116. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(70),math.rad(0),math.rad(0)),.1)
  1117. RW.C0 = clerp(RW.C0, CFrame.new(.7, -0.22, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.1)
  1118. LW.C0 = clerp(LW.C0, CFrame.new(-.7, -0.22, -0.5) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.1)
  1119. 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)
  1120. 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)
  1121. end
  1122.  
  1123.  
  1124. local bel = part(3, Character, 0, 1, BrickColor.new("Really red"), "Ball", vt(0.126,0.126,0.126))
  1125. local belmsh = mesh("SpecialMesh", bel, "Sphere", "nil", vt(0, 0, 0), vt(10, 10, 10))
  1126.  
  1127.  
  1128.  
  1129. local Charge = Instance.new("Sound", bel)
  1130. Charge.Volume = 10
  1131. Charge.SoundId = "http://roblox.com/asset/?id=244578827"
  1132. Charge.Pitch = 0.8
  1133. Charge.PlayOnRemove = true
  1134. Charge:Play()
  1135. Charge:Destroy()
  1136. bel.Anchored = true
  1137. for i = 0,47,0.1 do
  1138. swait()
  1139. bel.CFrame = RootPart.CFrame * cf(0, 90*i/3.5, 0)
  1140. bel.Transparency = bel.Transparency - 0.0034
  1141. belmsh.Scale = belmsh.Scale + Vector3.new(24,24,24)
  1142. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0+1*i,0+1*i),0.15)
  1143. cam.FieldOfView = lerp(cam.FieldOfView, 40+1*i, 0.15)
  1144. Head.Velocity = Vector3.new(0,2.4+0.8*i,0)
  1145. 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)
  1146. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-13),math.rad(0),math.rad(0)),.2)
  1147. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.7, 0) * angles(math.rad(0), math.rad(0), math.rad(140)),.2)
  1148. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.7, 0) * angles(math.rad(0), math.rad(0), math.rad(-140)),.2)
  1149. 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)
  1150. 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)
  1151. end
  1152. so("http://roblox.com/asset/?id=160212892",Head,10,0.84)
  1153. for i = 0,4,0.1 do
  1154. swait()
  1155. Head.Velocity = Vector3.new(0,2.4,0)
  1156. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  1157. 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)
  1158. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(13),math.rad(0),math.rad(0)),.2)
  1159. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.7, 0) * angles(math.rad(0), math.rad(0), math.rad(140)),.2)
  1160. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.7, 0) * angles(math.rad(0), math.rad(0), math.rad(-140)),.2)
  1161. 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)
  1162. 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)
  1163. end
  1164.  
  1165.  
  1166.  
  1167.  
  1168.  
  1169. bel.Anchored = false
  1170. local bv = Instance.new("BodyVelocity",bel)
  1171. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1172. bel.CFrame = CFrame.new(bel.Position,mouse.Hit.p)
  1173. bv.velocity = bel.CFrame.lookVector*350
  1174.  
  1175.  
  1176.  
  1177. --[[
  1178. bel.Touched:connect(function(hit)
  1179.  
  1180. 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
  1181. local orbexplode = Instance.new("Sound", bel)
  1182. orbexplode.Volume = 10
  1183. orbexplode.PlayOnRemove = true
  1184. orbexplode.SoundId = "http://roblox.com/asset/?id=142070127"
  1185. orbexplode.Pitch = 1
  1186. orbexplode:Destroy()
  1187. deb:AddItem(orbexplode, 4)
  1188. bel.Anchored = true
  1189. bel.Transparency = 1
  1190. deb:AddItem(bel, 4)
  1191. local Explode = Instance.new("Explosion")
  1192. Explode.Position = bel.Position
  1193. Explode.Parent = Workspace
  1194. Explode.BlastPressure = 90
  1195. Explode.BlastRadius = Bullet.Size.X *25.6
  1196. Explode.Visible = false
  1197.  
  1198. coroutine.resume(coroutine.create(function()
  1199.  
  1200.  
  1201.  
  1202. MagicBlock(BrickColor.new("Lime green"), cf(bel.Position), 2000, 2000, 2000, -100, -100, -100, 0.05, 1)
  1203. MagicBlock(BrickColor.new("Really red"), cf(bel.Position), 2500, 2500, 2500, -150, -150, -150, 0.05, 1)
  1204. MagicBlock(BrickColor.new("Really black"), cf(bel.Position), 3000, 3000, 3000, -200, -200, -200, 0.05, 1)
  1205. MagicCircle(BrickColor.new("Lime green"), cf(bel.Position), 1800, 2, 1800, 1150, 2, 1150, 0.05)
  1206. MagicCircle(BrickColor.new("Really red"), cf(bel.Position), 1800, 2, 1800, 1100, 4, 1100, 0.05)
  1207. MagicCircle(BrickColor.new("Really black"), cf(bel.Position), 1800, 2, 1800, 150, 16, 150, 0.05)
  1208. MagicCircle(BrickColor.new("Lime green"), cf(bel.Position), 0, 0, 0, 1100, 4100, 1100, 0.05)
  1209. MagicCircle(BrickColor.new("Really red"), cf(bel.Position), 0, 0, 0, 1200, 1200, 1200, 0.05)
  1210. MagicCircle(BrickColor.new("Really black"), cf(bel.Position), 0, 0, 0, 1300, 1300,1300, 0.05)
  1211. MagicCircle(BrickColor.new("Lime green"), cf(bel.Position), 0, 0, 0, 1400, 1400, 1400, 0.05)
  1212. MagicCircle(BrickColor.new("Really red"), cf(bel.Position), 4800, 2, 1800, 4, 1350, 4, 0.005)
  1213. MagicCircle(BrickColor.new("Really black"), cf(bel.Position), 1600, 2, 1600, 4, 1300, 4, 0.005)
  1214. MagicCircle(BrickColor.new("Lime green"), cf(bel.Position), 1400, 2, 1400, 4, 1250, 4, 0.005)
  1215.  
  1216.  
  1217. MagicCircle(BrickColor.new("Really red"), cf(bel.Position), 10, 10, 10, 50, 50, 50, 0.065)
  1218. MagicCircle(BrickColor.new("Really black"), cf(bel.Position), 0, 1, 0, 15, 0, 15, 0.025)
  1219. MagicRing(BrickColor.new("Lime green"), cf(bel.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, 0, 4, 4, 4, 0, 0.025)
  1220. MagicRing(BrickColor.new("Really red"), 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)
  1221. end))
  1222. end
  1223. end)
  1224.  
  1225. ]]
  1226.  
  1227. con5=bel.Touched:connect(function(hit)
  1228.  
  1229. local orbexplode = Instance.new("Sound", bel)
  1230. orbexplode.Volume = 10
  1231. orbexplode.PlayOnRemove = true
  1232. orbexplode.SoundId = "http://roblox.com/asset/?id=167115397"
  1233. orbexplode.Pitch = 1
  1234. orbexplode:Destroy()
  1235. deb:AddItem(orbexplode, 4)
  1236. bel.Anchored = true
  1237. bel.Transparency = 1
  1238. deb:AddItem(bel, 5.2)
  1239.  
  1240.  
  1241.  
  1242.  
  1243. coroutine.resume(coroutine.create(function()
  1244. so("http://www.roblox.com/asset/?id=167115397", Workspace, 6, 1)
  1245. so("http://www.roblox.com/asset/?id=138186576", Workspace, 6, 1)
  1246. for i = 0, 0.4, 0.1 do
  1247. swait()
  1248.  
  1249.  
  1250. for i, v in pairs(FindNearestHead(bel.CFrame.p, 252.5)) do
  1251. if v:FindFirstChild("Torso") and v:FindFirstChild("Humanoid") then
  1252. if v:FindFirstChildOfClass("Humanoid").MaxHealth > 500 then
  1253. v:FindFirstChildOfClass("Humanoid").MaxHealth = 100
  1254. v:FindFirstChildOfClass("Humanoid").Health = 100
  1255. end
  1256. v.Humanoid:TakeDamage(math.random(43,86))
  1257. coroutine.resume(coroutine.create(function()
  1258. for i = 0,2,0.1 do
  1259. swait()
  1260. v.Head.Velocity = -v.Head.CFrame.lookVector*660 + Vector3.new(0,684,0)
  1261. end
  1262. end))
  1263. end
  1264. end
  1265.  
  1266. coroutine.resume(coroutine.create(function()
  1267. for i = 0, 2.4, 0.1 do
  1268. swait()
  1269. 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)
  1270. end
  1271. end))
  1272.  
  1273. MagicBlock(BrickColor.new("Lime green"), cf(bel.Position), 2000, 2000, 2000, -100, -100, -100, 0.05, 1)
  1274. MagicBlock(BrickColor.new("Really red"), cf(bel.Position), 2500, 2500, 2500, -150, -150, -150, 0.05, 1)
  1275. MagicBlock(BrickColor.new("Really black"), cf(bel.Position), 3000, 3000, 3000, -200, -200, -200, 0.05, 1)
  1276. MagicCircle(BrickColor.new("Lime green"), cf(bel.Position), 1800,222, 1800, 1150, 222, 1150, 0.05)
  1277. MagicCircle(BrickColor.new("Really red"), cf(bel.Position), 1800, 222, 1800, 1100, 224, 1100, 0.05)
  1278. MagicCircle(BrickColor.new("Really black"), cf(bel.Position), 1800, 222, 1800, 150, 216, 150, 0.05)
  1279. MagicCircle(BrickColor.new("Lime green"), cf(bel.Position), 0, 0, 0, 1100, 4100, 1100, 0.05)
  1280. MagicCircle(BrickColor.new("Really red"), cf(bel.Position), 0, 0, 0, 1200, 1200, 1200, 0.05)
  1281. MagicCircle(BrickColor.new("Lime green"), cf(bel.Position), 0, 0, 0, 1300, 1300,1300, 0.05)
  1282. MagicCircle(BrickColor.new("Really red"), cf(bel.Position), 0, 0, 0, 1400, 1400, 1400, 0.05)
  1283. MagicCircle(BrickColor.new("Really black"), cf(bel.Position), 4800, 222, 1800, 224, 1350, 224, 0.005)
  1284. MagicCircle(BrickColor.new("Lime green"), cf(bel.Position), 1600, 222, 1600, 224, 1300, 224, 0.005)
  1285. MagicCircle(BrickColor.new("Really red"), cf(bel.Position), 1400, 222, 1400, 224, 1250, 224, 0.005)
  1286.  
  1287. WaveEffect(BrickColor.new("Really red"), cf(bel.Position)*angles(0,math.rad(0+90*i),0) , 1, 1, 1, 24, 5.4, 24, 0.09)
  1288. WaveEffect(BrickColor.new("Lime green"), cf(bel.Position)*angles(0,math.rad(0-90*i),0) , 1, 1, 1, 22, 4.8, 22, 0.05)
  1289.  
  1290. MagicCircle(BrickColor.new("Really black"), cf(bel.Position), 10, 10, 10, 50, 50, 50, 0.065)
  1291. MagicCircle(BrickColor.new("Lime green"), cf(bel.Position), 0, 1, 0, 15, 0, 15, 0.025)
  1292. MagicRing(BrickColor.new("Really red"), cf(bel.Position) * euler(math.random(-360, 360), math.random(-360, 360), math.random(-360, 360)), 24, 24, 1, 12, 12, 0, 0.015)
  1293. MagicRing(BrickColor.new("Really black"), cf(bel.Position) * euler(math.random(-360, 360), math.random(-360, 360), math.random(-360, 360)), 24, 24, 1, 12, 12, 0, 0.015)
  1294. MagicRing(BrickColor.new("Lime green"), cf(bel.Position) * euler(math.random(-360, 360), math.random(-360, 360), math.random(-360, 360)), 24, 24, 1, 8, 8, 0, 0.015)
  1295. MagicRing(BrickColor.new("Really red"), 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. end
  1297. end))
  1298.  
  1299.  
  1300. end)
  1301.  
  1302.  
  1303.  
  1304.  
  1305. for i = 0,32,0.1 do
  1306. swait()
  1307. Head.Velocity = Vector3.new(0,2.4,0)
  1308. 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)
  1309. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(43),math.rad(0),math.rad(0)),.2)
  1310. RW.C0 = clerp(RW.C0, CFrame.new(1.0, 0.5, -0.4) * angles(math.rad(80), math.rad(12), math.rad(-30)),.2)
  1311. LW.C0 = clerp(LW.C0, CFrame.new(-1., 0.5, -0.4) * angles(math.rad(80), math.rad(-12), math.rad(30)),.2)
  1312. 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)
  1313. 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)
  1314. end
  1315.  
  1316. coroutine.resume(coroutine.create(function()
  1317. for i = 0, 63, 0.1 do
  1318. swait()
  1319. end
  1320. if bel.Anchored == false then
  1321. bel:Destroy()
  1322. end
  1323. end))
  1324.  
  1325.  
  1326.  
  1327.  
  1328. attack = false
  1329. end
  1330.  
  1331.  
  1332.  
  1333. mouse.Button1Down:connect(function(key)
  1334. if attack == false then
  1335. shoot()
  1336. end
  1337. end)
  1338.  
  1339.  
  1340.  
  1341.  
  1342. mouse.Button1Up:connect(function(key)
  1343. if shooting == true then
  1344. shooting = false
  1345. end
  1346. end)
  1347.  
  1348.  
  1349.  
  1350.  
  1351. mouse.KeyDown:connect(function(key)
  1352. if key == 'e' and attack == false then
  1353. dshoot()
  1354. end
  1355. end)
  1356.  
  1357.  
  1358.  
  1359.  
  1360. mouse.KeyDown:connect(function(key)
  1361. if key == 'q' and attack == false then
  1362. finaldev()
  1363. end
  1364. end)
  1365.  
  1366. mouse.KeyUp:connect(function(key)
  1367. if key == 'e' and shooting == true then
  1368. shooting = false
  1369. end
  1370. end)
  1371.  
  1372.  
  1373.  
  1374. mouse.KeyDown:connect(function(key)
  1375. if key == 'f' and attack == false and evadecooldown == false then
  1376. Dash()
  1377. end
  1378. end)
  1379.  
  1380.  
  1381. local orb = part(3, Character, 0, 0.9, BrickColor.new("White"), "Effect", vt())
  1382. local msh = mesh("SpecialMesh", orb, "Sphere", "nil", vt(0, 0, 0), vt(15, 15, 15))
  1383.  
  1384. local orb2 = part(3, Character, 0, 0.9, BrickColor.new("White"), "Effect", vt())
  1385. local msh = mesh("SpecialMesh", orb2, "Sphere", "nil", vt(0, 0, 0), vt(15, 15, 15))
  1386. orb.Anchored = true
  1387. orb2.Anchored = true
  1388. Humanoid.WalkSpeed = 32
  1389.  
  1390.  
  1391. local f = 0
  1392. game:GetService("RunService"):BindToRenderStep("W0tT", 0, function()
  1393.  
  1394.  
  1395. f = f+1
  1396. cam.FieldOfView = lerp(cam.FieldOfView, 70, 0.076)
  1397. if f >= 6 then
  1398. f=0
  1399. SphereEffect(BrickColor.new("Really red"),cf(orb.Position)*angles(math.random(-360, 360),math.random(-360, 360),math.random(-360, 360)),1,5,1,.05,4,.05,0.03)
  1400. SphereEffect(BrickColor.new("Really black"),cf(orb2.Position)*angles(math.random(-360, 360),math.random(-360, 360),math.random(-360, 360)),1,5,1,.05,4,.05,0.03)
  1401. MagicRing(BrickColor.new("Lime green"), 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)
  1402. MagicCircle(BrickColor.new("Really red"), cf(orb.Position), 0, 0, 0, 1.25, 1.25, 1.25, 0.05)
  1403. MagicRing(BrickColor.new("Really black"), 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)
  1404. MagicCircle(BrickColor.new("Really red"), cf(orb2.Position), 0, 0, 0, 1.25, 1.25, 1.25, 0.05)
  1405. MagicBlock(BrickColor.new("Lime green"), 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)
  1406. MagicBlock(BrickColor.new("Really red"), 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)
  1407.  
  1408. end
  1409. end)
  1410.  
  1411. Humanoid.MaxHealth = 400
  1412.  
  1413. print("Move list")
  1414. print("---------")
  1415. print("F: Dash")
  1416. print("Hold Click: Normal Attack")
  1417. print("Hold E: ULTRA ATTACK BALLS")
  1418. print("Q: Final Death")
  1419. print("Edit by PowerSans1234")
  1420.  
  1421.  
  1422.  
  1423.  
  1424. while true do
  1425. swait()
  1426. sine = sine + change
  1427. --speed = speed + music.PlaybackLoudness/90
  1428. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1429. local velderp=RootPart.Velocity.y
  1430. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1431. local TiltVelocity = CFrame.new(RootPart.CFrame:vectorToObjectSpace(RootPart.Velocity))
  1432. if attack==true or attack==false then
  1433. if attack==false then
  1434. idle=idle+1
  1435. else
  1436. idle=0
  1437. end
  1438. if idle>=500 then
  1439. if attack==false then
  1440. end
  1441. end
  1442.  
  1443. Humanoid.Health = Humanoid.Health + 4
  1444.  
  1445. orb.CFrame = RightArm.CFrame * cf(0, -1, 0)
  1446. orb2.CFrame = LeftArm.CFrame * cf(0, -1, 0)
  1447. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1448. Anim="Jump"
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454. if attack==false then
  1455. change = 1
  1456. look = 0
  1457. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  1458. 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)
  1459. 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)
  1460. 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)
  1461. 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)
  1462. 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)
  1463. 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)
  1464. end
  1465.  
  1466. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1467. Anim="Fall"
  1468. change = 1
  1469.  
  1470.  
  1471.  
  1472. if attack==false then
  1473. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  1474. 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)
  1475. 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)
  1476. 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)
  1477. 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)
  1478. 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)
  1479. 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)
  1480. end
  1481.  
  1482. elseif torvel<1 and hitfloor~=nil then
  1483. Anim="Idle"
  1484. change = 1
  1485. if attack==false and equip == false then
  1486. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  1487.  
  1488.  
  1489.  
  1490. orb.CFrame = orb.CFrame:lerp(RightArm.CFrame*cf(0+2*math.cos(sine/40), -5+2*math.sin(sine/40), 0),0.1)
  1491. orb2.CFrame = orb2.CFrame:lerp(LeftArm.CFrame*cf(0-2*math.cos(sine/40), -5+2*math.sin(sine/40), 0),0.1)
  1492.  
  1493. 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)
  1494. 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)
  1495. 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)
  1496. 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)
  1497. 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)
  1498. 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)
  1499. end
  1500.  
  1501.  
  1502.  
  1503. elseif torvel>1.5 and torvel<22 and hitfloor~=nil then
  1504. Anim="Walk"
  1505. change = 0.84
  1506. look = 0
  1507. if attack==false and equip == false then
  1508. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.02)
  1509. 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)
  1510. 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)
  1511. 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)
  1512. 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)
  1513. --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)
  1514. --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)
  1515. end
  1516. if attack == false or attack==true and noleg == false then
  1517. 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)
  1518. 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)
  1519. end
  1520.  
  1521. elseif torvel>=22 and hitfloor~=nil then
  1522. Anim="Run"
  1523. change = 0.84+ Character.Humanoid.WalkSpeed/112
  1524. if attack==false and equip == false then
  1525. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.02)
  1526. 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)
  1527. 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)
  1528. 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)
  1529. 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)
  1530.  
  1531.  
  1532. 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)
  1533. 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)
  1534. end
  1535.  
  1536. --[[
  1537. if attack==false then
  1538. 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)
  1539. 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)
  1540. end
  1541. ]]
  1542. if attack==true and noleg == false then
  1543. 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)
  1544. 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)
  1545. end
  1546.  
  1547.  
  1548. end
  1549. end
  1550.  
  1551.  
  1552.  
  1553. if 0 < #Effects then
  1554. for e = 1, #Effects do
  1555. if Effects[e] ~= nil then
  1556. local Thing = Effects[e]
  1557. if Thing ~= nil then
  1558. local Part = Thing[1]
  1559. local Mode = Thing[2]
  1560. local Delay = Thing[3]
  1561. local IncX = Thing[4]
  1562. local IncY = Thing[5]
  1563. local IncZ = Thing[6]
  1564. if Thing[2] == "CylinderClang" then
  1565. if Thing[3] <= 1 then
  1566. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 2.5 * Thing[5], 0) * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1567. Thing[7] = Thing[1].CFrame
  1568. effect("New Yeller", 0, Thing[8], Thing[7])
  1569. Thing[8] = Thing[7]
  1570. Thing[3] = Thing[3] + Thing[4]
  1571. else
  1572. Part.Parent = nil
  1573. table.remove(Effects, e)
  1574. end
  1575. end
  1576. if Thing[2] == "showDamage" then
  1577. if Thing[6] < Thing[5] then
  1578. Thing[6] = Thing[6] + 1
  1579. else
  1580. if Thing[6] < Thing[7] then
  1581. Thing[4].position = Thing[4].position + vt(0, -0.2, 0)
  1582. Thing[6] = Thing[6] + 1
  1583. else
  1584. if Thing[6] < Thing[8] then
  1585. Thing[6] = Thing[6] + 1
  1586. else
  1587. if Thing[6] < Thing[9] then
  1588. Thing[6] = Thing[6] + 1
  1589. Thing[4].position = Thing[4].position + vt(0, 0.2, 0)
  1590. Thing[3].TextStrokeTransparency = Thing[3].TextStrokeTransparency + 0.1
  1591. Thing[3].TextTransparency = Thing[3].TextTransparency + 0.1
  1592. else
  1593. Thing[1].Parent = nil
  1594. table.remove(Effects, e)
  1595. end
  1596. end
  1597. end
  1598. end
  1599. end
  1600. if Thing[2] == "PartiEmi" then
  1601. Thing[3] = Thing[3] - 1
  1602. if Thing[3] <= 0 then
  1603. Thing[1].Enabled = false
  1604. table.remove(Effects, e)
  1605. end
  1606. end
  1607. if Thing[2] == "AdjuEff" then
  1608. if 0 < Thing[3] then
  1609. Thing[3] = Thing[3] - 1
  1610. Thing[1].Size = Thing[1].Size + UDim2.new(0.2, 0, 0.2, 0)
  1611. Thing[1].StudsOffset = Thing[1].StudsOffset + vt(0, -0.2, 0)
  1612. Thing[4].ImageTransparency = Thing[4].ImageTransparency + 0.1
  1613. else
  1614. Thing[1].Parent = nil
  1615. table.remove(Effects, e)
  1616. end
  1617. end
  1618. 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
  1619. if Thing[1].Transparency <= 1 then
  1620. if Thing[2] == "Block1" then
  1621. Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1622. Mesh = Thing[7]
  1623. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  1624. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1625. else
  1626. if Thing[2] == "Block2" then
  1627. Thing[1].CFrame = Thing[1].CFrame
  1628. Mesh = Thing[7]
  1629. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  1630. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1631. else
  1632. if Thing[2] == "Block3" then
  1633. Thing[9] = Thing[9] + 0.5
  1634. Thing[1].CFrame = Thing[8] * cf(0, Thing[9], 0)
  1635. Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1636. Mesh = Thing[7]
  1637. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  1638. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1639. else
  1640. if Thing[2] == "Skull" then
  1641. Thing[1].CFrame = Thing[1].CFrame * cf(0, Thing[8] / 2, -Thing[8])
  1642. Mesh = Thing[7]
  1643. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  1644. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1645. else
  1646. if Thing[2] == "Cylinder" then
  1647. Mesh = Thing[7]
  1648. Mesh.Scale = Mesh.Scale + vt(Thing[4]-Thing[1].Transparency, Thing[5]-Thing[1].Transparency, Thing[6]-Thing[1].Transparency)
  1649. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1650. else
  1651. if Thing[2] == "Cylinder2" then
  1652. Thing[1].CFrame = Thing[1].CFrame * cf(0, Thing[8], 0)
  1653. Mesh = Thing[7]
  1654. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  1655. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1656. else
  1657. if Thing[2] == "Blood" then
  1658. Mesh = Thing[7]
  1659. Thing[1].CFrame = Thing[1].CFrame * cf(0, 0.5, 0)
  1660. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  1661. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1662. else
  1663. if Thing[2] == "Elec" then
  1664. Mesh = Thing[10]
  1665. Mesh.Scale = Mesh.Scale + vt(Thing[7], Thing[8], Thing[9])
  1666. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1667. else
  1668. if Thing[2] == "Disappear" then
  1669. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1670. end
  1671. end
  1672. end
  1673. end
  1674. end
  1675. end
  1676. end
  1677. end
  1678. end
  1679. else
  1680. Part.Parent = nil
  1681. table.remove(Effects, e)
  1682. end
  1683. end
  1684. end
  1685. end
  1686. end
  1687. end
  1688. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement