kaualima12

Untitled

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