Advertisement
ineedFEscripts

followerspls

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