Advertisement
TheStarGlitcher007

Untitled

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