Advertisement
Vintage-Furry

magic unknown

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