ColorblindRBLX

Aurate Sword

Sep 2nd, 2020
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 180.97 KB | None | 0 0
  1. ---//===================================================\\----
  2. ---||             EDITED BY Witherower#9294             ||----
  3. ---\\===================================================//----
  4.  
  5. local ToolName = "MeshPartAccessory"
  6.  
  7. local RUNNING = false
  8. loadstring(game:GetObjects("rbxassetid://5425999987")[1].Source)()
  9. local RbxUtility = LoadLibrary("RbxUtility")
  10. local Create = RbxUtility.Create
  11. local Player = game:GetService("Players").LocalPlayer
  12. local Character = Player.Character
  13. local mouse = Player:GetMouse()
  14. local Mouse = mouse
  15. PlayerGui = Player.PlayerGui
  16. Cam = workspace.CurrentCamera
  17. Backpack = Player.Backpack
  18. Humanoid = Character.Humanoid
  19. RootPart = Character.HumanoidRootPart
  20. Torso = Character.Torso
  21. Head = Character.Head
  22. RightArm = Character["Right Arm"]
  23. LeftArm = Character["Left Arm"]
  24. RightLeg = Character["Right Leg"]
  25. LeftLeg = Character["Left Leg"]
  26. RootJoint = RootPart.RootJoint
  27. Neck = Torso.Neck
  28. RightShoulder = Torso["Right Shoulder"]
  29. LeftShoulder = Torso["Left Shoulder"]
  30. RightHip = Torso["Right Hip"]
  31. LeftHip = Torso["Left Hip"]
  32. local debris = game:GetService("Debris")
  33. local run = game:GetService("RunService")
  34. local rs = run.RenderStepped
  35. local cam = workspace.CurrentCamera
  36. local HUM = Character.Humanoid
  37. local ROOT = HUM.Torso
  38. local MOUSEPOS = ROOT.Position
  39. local DAMAGEMULTIPLIER = 1
  40. local TERRIBLE = {}  
  41.  
  42. IT = Instance.new
  43. CF = CFrame.new
  44. VT = Vector3.new
  45. RAD = math.rad
  46. C3 = Color3.new
  47. UD2 = UDim2.new
  48. BRICKC = BrickColor.new
  49. ANGLES = CFrame.Angles
  50. EULER = CFrame.fromEulerAnglesXYZ
  51. COS = math.cos
  52. ACOS = math.acos
  53. SIN = math.sin
  54. ASIN = math.asin
  55. ABS = math.abs
  56. MRANDOM = math.random
  57. FLOOR = math.floor
  58.  
  59. --//=================================\\
  60. --||          USEFUL VALUES
  61. --\\=================================//
  62.  
  63. local sick = IT("Sound",Character)
  64. Animation_Speed = 1.75
  65. Animation_Speed2 = 5
  66. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  67. local Speed = 15
  68. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  69. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  70. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  71. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  72. local DAMAGEMULTIPLIER = 1
  73. local ANIM = "Idle"
  74. local ATTACK = false
  75. local EQUIPPED = false
  76. local HOLD = false
  77. local COMBO = 1
  78. local Rooted = false
  79. local SINE = 0
  80. local KEYHOLD = false
  81. local CHANGE = 2 / Animation_Speed
  82. local WALKINGANIM = false
  83. local VALUE1 = false
  84. local VALUE2 = false
  85. local ROBLOXIDLEANIMATION = IT("Animation")
  86. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  87. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  88. local Effects = IT("Folder", Character)
  89. Effects.Name = "Effects"
  90. local ANIMATOR = Humanoid.Animator
  91. local ANIMATE = Character.Animate
  92. local UNANCHOR = true
  93. local FIRECOLOR = C3(0,0,0)
  94.  
  95. local Musika = IT("Sound", RootPart)
  96. local Volu = 6
  97. local Pitch = 1
  98. local Song = 773296297
  99. local TSPT, TVY, TSTP
  100.  
  101. local Musika2 = IT("Sound", RootPart)
  102. local Volu2 = 5
  103. local Pitch2 = 1
  104. local Song2 = 0
  105. local TSPT2, TVY2, TSTP2
  106.  
  107. local Player_Size = 1
  108. local WALKINGANIM = false
  109. local SCALE = 2
  110.  
  111. local Decal = IT("Decal")
  112. local STUFF = Instance.new("Folder",Character)
  113.  
  114. local SLASHES = 1
  115.  
  116. local HITPLAYERSOUNDS = {"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  117. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  118. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  119. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  120.  
  121. local SWORDEQUIPPED = false
  122. local TOBANISH = {}
  123. local TOBAN = {}
  124. local MODE = 1
  125. local GUNEQUIPPED = false
  126. local val = nil
  127.  
  128. -----------------------------------
  129.  
  130. local FONTS = {
  131.     Enum.Font.Antique,
  132.     Enum.Font.Arcade,
  133.     Enum.Font.Arial,
  134.     Enum.Font.ArialBold,
  135.     Enum.Font.Bodoni,
  136.     Enum.Font.Cartoon,
  137.     Enum.Font.Code,
  138.     Enum.Font.Fantasy,
  139.     Enum.Font.Garamond,
  140.     Enum.Font.Highway,
  141.     Enum.Font.Legacy,
  142.     Enum.Font.SciFi,
  143.     Enum.Font.SourceSans,
  144.     Enum.Font.SourceSansBold,
  145.     Enum.Font.SourceSansItalic,
  146.     Enum.Font.SourceSansLight,
  147.     Enum.Font.SourceSansSemibold
  148. }
  149.  
  150. local MATERIALS = {
  151.     Enum.Material.Brick,
  152.     Enum.Material.Cobblestone,
  153.     Enum.Material.Concrete,
  154.     Enum.Material.CorrodedMetal,
  155.     Enum.Material.DiamondPlate,
  156.     Enum.Material.Fabric,
  157.     Enum.Material.Foil,
  158.     Enum.Material.ForceField,
  159.     Enum.Material.Glass,
  160.     Enum.Material.Granite,
  161.     Enum.Material.Grass,
  162.     Enum.Material.Ice,
  163.     Enum.Material.Marble,
  164.     Enum.Material.Metal,
  165.     Enum.Material.Neon,
  166.     Enum.Material.Pebble,
  167.     Enum.Material.Plastic,
  168.     Enum.Material.Sand,
  169.     Enum.Material.Slate,
  170.     Enum.Material.SmoothPlastic,
  171.     Enum.Material.Wood,
  172.     Enum.Material.WoodPlanks
  173. }
  174.  
  175. -----------------------------------
  176. function Swait(NUMBER)
  177.     if NUMBER == 0 or NUMBER == nil then
  178.         game:GetService("RunService").RenderStepped:wait()
  179.     else
  180.         for i = 1, NUMBER do
  181.             game:GetService("RunService").RenderStepped:wait()
  182.         end
  183.     end
  184. end
  185. function swait(NUMBER)
  186.     if NUMBER == 0 or NUMBER == nil then
  187.         game:GetService("RunService").RenderStepped:wait()
  188.     else
  189.         for i = 1, NUMBER do
  190.             game:GetService("RunService").RenderStepped:wait()
  191.         end
  192.     end
  193. end
  194. -----------------------------------
  195.  
  196. --><Some Functions
  197.  
  198. function AttackGyro()
  199.     local GYRO = IT("BodyGyro",RootPart)
  200.     GYRO.D = 25
  201.     GYRO.P = 20000
  202.     GYRO.MaxTorque = VT(0,4000000,0)
  203.     GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  204.     coroutine.resume(coroutine.create(function()
  205.         repeat
  206.             Swait()
  207.             GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  208.         until ATTACK == false
  209.         GYRO:Remove()
  210.     end))
  211. end
  212.  
  213. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  214. local type = type
  215. local rng = Instance.new("Part", Effects)
  216.         rng.Anchored = true
  217.         rng.BrickColor = BrickColor.new("New Yeller")
  218.         rng.CanCollide = false
  219.         rng.FormFactor = 3
  220.         rng.Name = "Ring"
  221.         rng.Material = "Neon"
  222.         rng.Size = Vector3.new(1, 1, 1)
  223.         rng.Transparency = 0
  224.         rng.TopSurface = 0
  225.         rng.BottomSurface = 0
  226.         rng.CFrame = pos
  227. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  228.         local rngm = Instance.new("SpecialMesh", rng)
  229.         rngm.MeshType = "Sphere"
  230. rngm.Scale = VT(x1,y1,z1)
  231. local scaler2 = 1
  232. local speeder = FastSpeed
  233. if type == "Add" then
  234. scaler2 = 1*value
  235. elseif type == "Divide" then
  236. scaler2 = 1/value
  237. end
  238. coroutine.resume(coroutine.create(function()
  239. for i = 0,10/bonuspeed,0.1 do
  240. swait()
  241. if type == "Add" then
  242. scaler2 = scaler2 - 0.01*value/bonuspeed
  243. elseif type == "Divide" then
  244. scaler2 = scaler2 - 0.01/value*bonuspeed
  245. end
  246. speeder = speeder - 0.01*FastSpeed*bonuspeed
  247. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  248. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  249. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  250. end
  251. rng:Destroy()
  252. end))
  253. end
  254.  
  255. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  256. local type = type
  257. local rng = Instance.new("Part", Effects)
  258.         rng.Anchored = true
  259.         rng.BrickColor = BrickColor.new("New Yeller")
  260.         rng.CanCollide = false
  261.         rng.FormFactor = 3
  262.         rng.Name = "Ring"
  263.         rng.Size = Vector3.new(1, 1, 1)
  264.         rng.Transparency = 0
  265.         rng.TopSurface = 0
  266.         rng.BottomSurface = 0
  267.         rng.CFrame = pos
  268. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  269.         local rngm = Instance.new("SpecialMesh", rng)
  270.         rngm.MeshType = "Brick"
  271. rngm.Scale = VT(x1,y1,z1)
  272. local scaler2 = 1
  273. local speeder = FastSpeed/10
  274. if type == "Add" then
  275. scaler2 = 1*value
  276. elseif type == "Divide" then
  277. scaler2 = 1/value
  278. end
  279. coroutine.resume(coroutine.create(function()
  280. for i = 0,10/bonuspeed,0.1 do
  281. swait()
  282. if type == "Add" then
  283. scaler2 = scaler2 - 0.01*value/bonuspeed
  284. elseif type == "Divide" then
  285. scaler2 = scaler2 - 0.01/value*bonuspeed
  286. end
  287. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  288. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  289. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  290. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  291. end
  292. rng:Destroy()
  293. end))
  294. end
  295.  
  296. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  297. local type = type
  298. local rng = Instance.new("Part", Effects)
  299.         rng.Anchored = true
  300.         rng.BrickColor = BrickColor.new("New Yeller")
  301.         rng.CanCollide = false
  302.         rng.FormFactor = 3
  303.         rng.Name = "Ring"
  304.         rng.Material = "Neon"
  305.         rng.Size = Vector3.new(1, 1, 1)
  306.         rng.Transparency = 0
  307.         rng.TopSurface = 0
  308.         rng.BottomSurface = 0
  309.         rng.CFrame = pos
  310. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  311.         local rngm = Instance.new("SpecialMesh", rng)
  312.         rngm.MeshType = "Brick"
  313. rngm.Scale = VT(x1,y1,z1)
  314. local scaler2 = 0
  315. local speeder = FastSpeed/10
  316. if type == "Add" then
  317. scaler2 = 1*value
  318. elseif type == "Divide" then
  319. scaler2 = 1/value
  320. end
  321. coroutine.resume(coroutine.create(function()
  322. for i = 0,10/bonuspeed,0.1 do
  323. swait()
  324. if type == "Add" then
  325. scaler2 = scaler2 - 0.01*value/bonuspeed
  326. elseif type == "Divide" then
  327. scaler2 = scaler2 - 0.01/value*bonuspeed
  328. end
  329. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  330. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  331. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  332. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  333. end
  334. rng:Destroy()
  335. end))
  336. end
  337.  
  338. local LIGHTNING = Instance.new("ParticleEmitter")
  339. LIGHTNING.Texture = "http://www.roblox.com/asset/?id=243098098"
  340. LIGHTNING.LightEmission = 0
  341. LIGHTNING.LockedToPart = true
  342. LIGHTNING.Color = ColorSequence.new(C3(1,1,0))
  343. LIGHTNING.Rate = 100
  344. LIGHTNING.Lifetime = NumberRange.new(0.1,0.10)
  345. LIGHTNING.Rotation = NumberRange.new(0,360)
  346. LIGHTNING.Size = NumberSequence.new(1)
  347. LIGHTNING.Transparency = NumberSequence.new(0,0)
  348. LIGHTNING.Speed = NumberRange.new(0,0)
  349. LIGHTNING.RotSpeed = NumberRange.new(0,0)
  350. LIGHTNING.Enabled = true
  351.  
  352. function createBGCircle(size,parent,color)
  353. local bgui = Instance.new("BillboardGui",parent)
  354. bgui.Size = UDim2.new(size, 0, size, 0)
  355. local imgc = Instance.new("ImageLabel",bgui)
  356. imgc.BackgroundTransparency = 1
  357. imgc.ImageTransparency = 0
  358. imgc.Size = UDim2.new(1,0,1,0)
  359. imgc.Image = "rbxassetid://997291547"
  360. imgc.ImageColor3 = C3(1,1,0)
  361. return bgui,imgc
  362. end
  363.  
  364. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  365. local type = type
  366. local rng = Instance.new("Part", Effects)
  367.         rng.Anchored = true
  368.         rng.BrickColor = BrickColor.new("New Yeller")
  369.         rng.Color = color3
  370.         rng.CanCollide = false
  371.         rng.FormFactor = 3
  372.         rng.Name = "Ring"
  373.         rng.Material = "Neon"
  374.         rng.Size = Vector3.new(1, 1, 1)
  375.         rng.Transparency = 0
  376.         rng.TopSurface = 0
  377.         rng.BottomSurface = 0
  378.         rng.CFrame = pos
  379.         local rngm = Instance.new("SpecialMesh", rng)
  380.         rngm.MeshType = "Brick"
  381. rngm.Scale = scale
  382. local scaler2 = 1
  383. local scaler2b = 1
  384. local scaler2c = 1
  385. if type == "Add" then
  386. scaler2 = 1*value
  387. scaler2b = 1*value2
  388. scaler2c = 1*value3
  389. elseif type == "Divide" then
  390. scaler2 = 1/value
  391. scaler2b = 1/value2
  392. scaler2c = 1/value3
  393. end
  394. coroutine.resume(coroutine.create(function()
  395. for i = 0,10/bonuspeed,0.1 do
  396. swait()
  397. if type == "Add" then
  398. scaler2 = scaler2 - 0.01*value/bonuspeed
  399. scaler2b = scaler2b - 0.01*value/bonuspeed
  400. scaler2c = scaler2c - 0.01*value/bonuspeed
  401. elseif type == "Divide" then
  402. scaler2 = scaler2 - 0.01/value*bonuspeed
  403. scaler2b = scaler2b - 0.01/value*bonuspeed
  404. scaler2c = scaler2c - 0.01/value*bonuspeed
  405. end
  406. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  407. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  408. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  409. end
  410. rng:Destroy()
  411. end))
  412. end
  413.  
  414. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  415. local type = type
  416. local rng = Instance.new("Part", Effects)
  417.         rng.Anchored = true
  418.         rng.BrickColor = BrickColor.new("New Yeller")
  419.         rng.CanCollide = false
  420.         rng.FormFactor = 3
  421.         rng.Name = "Ring"
  422.         rng.Material = "Neon"
  423.         rng.Size = Vector3.new(1, 1, 1)
  424.         rng.Transparency = 0
  425.         rng.TopSurface = 0
  426.         rng.BottomSurface = 0
  427.         rng.CFrame = pos
  428. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  429.         local rngm = Instance.new("SpecialMesh", rng)
  430.         rngm.MeshType = "Brick"
  431. rngm.Scale = VT(x1,y1,z1)
  432. local scaler2 = 1
  433. local speeder = FastSpeed/10
  434. if type == "Add" then
  435. scaler2 = 1*value
  436. elseif type == "Divide" then
  437. scaler2 = 1/value
  438. end
  439. coroutine.resume(coroutine.create(function()
  440. for i = 0,10/bonuspeed,0.1 do
  441. swait()
  442. if type == "Add" then
  443. scaler2 = scaler2 - 0.01*value/bonuspeed
  444. elseif type == "Divide" then
  445. scaler2 = scaler2 - 0.01/value*bonuspeed
  446. end
  447. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  448. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  449. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  450. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  451. end
  452. rng:Destroy()
  453. end))
  454. end
  455.  
  456. function createmesh(parent,meshtype,x1,y1,z1)
  457. local mesh = Instance.new("SpecialMesh",parent)
  458. mesh.MeshType = meshtype
  459. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  460. return mesh
  461. end
  462.  
  463. function waveEff(bonuspeed,type,typeoftrans,pos,scale,value,value2,color)
  464. local type = type
  465. local rng = Instance.new("Part", Effects)
  466.         rng.Anchored = true
  467.         rng.BrickColor = BrickColor.new("New Yeller")
  468.         rng.CanCollide = false
  469.         rng.FormFactor = 3
  470.         rng.Name = "Ring"
  471.         rng.Color = C3(1,1,0)
  472.         rng.Material = "Neon"
  473.         rng.Size = Vector3.new(1, 1, 1)
  474.         rng.Transparency = 0
  475. if typeoftrans == "In" then
  476. rng.Transparency = 1
  477. end
  478.         rng.TopSurface = 0
  479.         rng.BottomSurface = 0
  480.         rng.CFrame = pos
  481.         local rngm = Instance.new("SpecialMesh", rng)
  482.         rngm.MeshType = "FileMesh"
  483. rngm.MeshId = "rbxassetid://20329976"
  484. rngm.Scale = scale
  485. local scaler2 = 1
  486. local scaler2b = 1
  487. if type == "Add" then
  488. scaler2 = 1*value
  489. scaler2b = 1*value2
  490. elseif type == "Divide" then
  491. scaler2 = 1/value
  492. scaler2b = 1/value2
  493. end
  494. local randomrot = math.random(1,2)
  495. coroutine.resume(coroutine.create(function()
  496. for i = 0,10/bonuspeed,0.1 do
  497. swait()
  498. if type == "Add" then
  499. scaler2 = scaler2 - 0.01*value/bonuspeed
  500. scaler2b = scaler2b - 0.01*value/bonuspeed
  501. elseif type == "Divide" then
  502. scaler2 = scaler2 - 0.01/value*bonuspeed
  503. scaler2b = scaler2b - 0.01/value*bonuspeed
  504. end
  505. if randomrot == 1 then
  506. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(5*bonuspeed/2),0)
  507. elseif randomrot == 2 then
  508. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-5*bonuspeed/2),0)
  509. end
  510. if typeoftrans == "Out" then
  511. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  512. elseif typeoftrans == "In" then
  513. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  514. end
  515. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2*bonuspeed)
  516. end
  517. rng:Destroy()
  518. end))
  519. end
  520.  
  521. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  522. local type = type
  523. local rotenable = rotatingop
  524. local rng = Instance.new("Part", Effects)
  525.         rng.Anchored = true
  526.         rng.Color = C3(1,1,0)
  527.         rng.CanCollide = false
  528.         rng.FormFactor = 3
  529.         rng.Name = "Ring"
  530.         rng.Material = "Neon"
  531.         rng.Size = Vector3.new(1, 1, 1)
  532.         rng.Transparency = 0
  533. if typeoftrans == "In" then
  534. rng.Transparency = 1
  535. end
  536.         rng.TopSurface = 0
  537.         rng.BottomSurface = 0
  538.         rng.CFrame = pos
  539.         local rngm = Instance.new("SpecialMesh", rng)
  540.         rngm.MeshType = "FileMesh"
  541. if typeofshape == "Normal" then
  542. rngm.MeshId = "rbxassetid://662586858"
  543. elseif typeofshape == "Round" then
  544. rngm.MeshId = "rbxassetid://662585058"
  545. end
  546. rngm.Scale = scale
  547. local scaler2 = 1/10
  548. if type == "Add" then
  549. scaler2 = 1*value/10
  550. elseif type == "Divide" then
  551. scaler2 = 1/value/10
  552. end
  553. local randomrot = math.random(1,2)
  554. coroutine.resume(coroutine.create(function()
  555. for i = 0,10/bonuspeed,0.1 do
  556. swait()
  557. if type == "Add" then
  558. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  559. elseif type == "Divide" then
  560. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  561. end
  562. if rotenable == true then
  563. if randomrot == 1 then
  564. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  565. elseif randomrot == 2 then
  566. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  567. end
  568. end
  569. if typeoftrans == "Out" then
  570. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  571. elseif typeoftrans == "In" then
  572. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  573. end
  574. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  575. end
  576. rng:Destroy()
  577. end))
  578. end
  579.  
  580. function sphere(bonuspeed,type,pos,scale,value,color)
  581. local type = type
  582. local rng = Instance.new("Part", Effects)
  583.         rng.Anchored = true
  584.         rng.Color = C3(1,1,0)
  585.         rng.CanCollide = false
  586.         rng.FormFactor = 3
  587.         rng.Name = "Ring"
  588.         rng.Material = "Neon"
  589.         rng.Size = Vector3.new(1, 1, 1)
  590.         rng.Transparency = 0
  591.         rng.TopSurface = 0
  592.         rng.BottomSurface = 0
  593.         rng.CFrame = pos
  594.         local rngm = Instance.new("SpecialMesh", rng)
  595.         rngm.MeshType = "Sphere"
  596. rngm.Scale = scale
  597. local scaler2 = 1
  598. if type == "Add" then
  599. scaler2 = 1*value
  600. elseif type == "Divide" then
  601. scaler2 = 1/value
  602. end
  603. coroutine.resume(coroutine.create(function()
  604. for i = 0,10/bonuspeed,0.1 do
  605. swait()
  606. if type == "Add" then
  607. scaler2 = scaler2 - 0.01*value/bonuspeed
  608. elseif type == "Divide" then
  609. scaler2 = scaler2 - 0.01/value*bonuspeed
  610. end
  611. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  612. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  613. end
  614. rng:Destroy()
  615. end))
  616. end
  617.  
  618. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  619. local type = type
  620. local rng = Instance.new("Part", Effects)
  621.         rng.Anchored = true
  622.         rng.BrickColor = color
  623.         rng.Color = C3(1,1,0)
  624.         rng.CanCollide = false
  625.         rng.FormFactor = 3
  626.         rng.Name = "Ring"
  627.         rng.Material = "Neon"
  628.         rng.Size = Vector3.new(1, 1, 1)
  629.         rng.Transparency = 0
  630.         rng.TopSurface = 0
  631.         rng.BottomSurface = 0
  632.         rng.CFrame = pos
  633.         local rngm = Instance.new("SpecialMesh", rng)
  634.         rngm.MeshType = "Sphere"
  635. rngm.Scale = scale
  636. local scaler2 = 1
  637. local scaler2b = 1
  638. local scaler2c = 1
  639. if type == "Add" then
  640. scaler2 = 1*value
  641. scaler2b = 1*value2
  642. scaler2c = 1*value3
  643. elseif type == "Divide" then
  644. scaler2 = 1/value
  645. scaler2b = 1/value2
  646. scaler2c = 1/value3
  647. end
  648. coroutine.resume(coroutine.create(function()
  649. for i = 0,10/bonuspeed,0.1 do
  650. swait()
  651. if type == "Add" then
  652. scaler2 = scaler2 - 0.01*value/bonuspeed
  653. scaler2b = scaler2b - 0.01*value/bonuspeed
  654. scaler2c = scaler2c - 0.01*value/bonuspeed
  655. elseif type == "Divide" then
  656. scaler2 = scaler2 - 0.01/value*bonuspeed
  657. scaler2b = scaler2b - 0.01/value*bonuspeed
  658. scaler2c = scaler2c - 0.01/value*bonuspeed
  659. end
  660. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  661. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  662. end
  663. rng:Destroy()
  664. end))
  665. end
  666.  
  667. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  668. local p = Instance.new("Part")
  669. p.TopSurface = 0
  670. p.BottomSurface = 0
  671. p.Parent = Effects
  672. p.Size = Vector3.new(0.05,0.05,0.05)
  673. p.Transparency = transparency
  674. p.Reflectance = reflectance
  675. p.CanCollide = false
  676. p.Locked = true
  677. p.Color = C3(1,1,0)
  678. p.Material = material
  679. return p
  680. end
  681.  
  682. function sphere(bonuspeed,type,pos,scale,value,color)
  683. local type = type
  684. local rng = Instance.new("Part", Effects)
  685.         rng.Anchored = true
  686.         rng.Color = C3(1,1,0)
  687.         rng.CanCollide = false
  688.         rng.FormFactor = 3
  689.         rng.Name = "Ring"
  690.         rng.Material = "Neon"
  691.         rng.Size = Vector3.new(1, 1, 1)
  692.         rng.Transparency = 0
  693.         rng.TopSurface = 0
  694.         rng.BottomSurface = 0
  695.         rng.CFrame = pos
  696.         local rngm = Instance.new("SpecialMesh", rng)
  697.         rngm.MeshType = "Sphere"
  698. rngm.Scale = scale
  699. local scaler2 = 1
  700. if type == "Add" then
  701. scaler2 = 1*value
  702. elseif type == "Divide" then
  703. scaler2 = 1/value
  704. end
  705. coroutine.resume(coroutine.create(function()
  706. for i = 0,10/bonuspeed,0.1 do
  707. swait()
  708. if type == "Add" then
  709. scaler2 = scaler2 - 0.01*value/bonuspeed
  710. elseif type == "Divide" then
  711. scaler2 = scaler2 - 0.01/value*bonuspeed
  712. end
  713. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  714. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  715. end
  716. rng:Destroy()
  717. end))
  718. end
  719.  
  720. function turnto(position)
  721.     RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  722. end
  723.  
  724. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  725.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  726. end
  727. function PositiveAngle(NUMBER)
  728.     if NUMBER >= 0 then
  729.         NUMBER = 0
  730.     end
  731.     return NUMBER
  732. end
  733. function NegativeAngle(NUMBER)
  734.     if NUMBER <= 0 then
  735.         NUMBER = 0
  736.     end
  737.     return NUMBER
  738. end
  739. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  740.     local NEWMESH = IT(MESH)
  741.     if MESH == "SpecialMesh" then
  742.         NEWMESH.MeshType = MESHTYPE
  743.         if MESHID ~= "nil" and MESHID ~= "" then
  744.             NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
  745.         end
  746.         if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  747.             NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
  748.         end
  749.     end
  750.     NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  751.     NEWMESH.Scale = SCALE
  752.     NEWMESH.Parent = PARENT
  753.     return NEWMESH
  754. end
  755. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  756.     local NEWPART = IT("Part")
  757.     NEWPART.formFactor = FORMFACTOR
  758.     NEWPART.Reflectance = REFLECTANCE
  759.     NEWPART.Transparency = TRANSPARENCY
  760.     NEWPART.CanCollide = false
  761.     NEWPART.Locked = true
  762.     NEWPART.Anchored = true
  763.     if ANCHOR == false then
  764.         NEWPART.Anchored = false
  765.     end
  766.     NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  767.     NEWPART.Name = NAME
  768.     NEWPART.Size = SIZE
  769.     NEWPART.Position = Torso.Position
  770.     NEWPART.Material = MATERIAL
  771.     NEWPART:BreakJoints()
  772.     NEWPART.Parent = PARENT
  773.     return NEWPART
  774. end
  775. local weldBetween = function(a, b)
  776.     local weldd = Instance.new("ManualWeld")
  777.     weldd.Part0 = a
  778.     weldd.Part1 = b
  779.     weldd.C0 = CFrame.new()
  780.     weldd.C1 = b.CFrame:inverse() * a.CFrame
  781.     weldd.Parent = a
  782.     return weldd
  783. end
  784. function weldSomethings(a, b, acf)
  785.     local we = Instance.new("Weld", a)
  786.     we.Part0 = a
  787.     we.Part1 = b
  788. if acf ~= nil then
  789.     we.C0 = acf
  790. end
  791. end
  792. function QuaternionFromCFrame(CF)
  793.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = CF:components()
  794.     local trace = m00 + m11 + m22
  795.     if trace > 0 then
  796.         local s = math.sqrt(1 + trace)
  797.         local recip = 0.5 / s
  798.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  799.     else
  800.         local i = 0
  801.         if m00 < m11 then
  802.             i = 1
  803.         end
  804.         if m22 > (i == 0 and m00 or m11) then
  805.             i = 2
  806.         end
  807.         if i == 0 then
  808.             local s = math.sqrt(m00 - m11 - m22 + 1)
  809.             local recip = 0.5 / s
  810.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  811.         elseif i == 1 then
  812.             local s = math.sqrt(m11 - m22 - m00 + 1)
  813.             local recip = 0.5 / s
  814.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  815.         elseif i == 2 then
  816.             local s = math.sqrt(m22 - m00 - m11 + 1)
  817.             local recip = 0.5 / s
  818.             return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  819.         end
  820.     end
  821. end
  822. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  823.     local xs, ys, zs = x + x, y + y, z + z
  824.     local wx, wy, wz = w * xs, w * ys, w * zs
  825.     local xx = x * xs
  826.     local xy = x * ys
  827.     local xz = x * zs
  828.     local yy = y * ys
  829.     local yz = y * zs
  830.     local zz = z * zs
  831.     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))
  832. end
  833. function QuaternionSlerp(a, b, t)
  834.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  835.     local startInterp, finishInterp
  836.     if cosTheta >= 1.0E-4 then
  837.         if 1 - cosTheta > 1.0E-4 then
  838.             local theta = ACOS(cosTheta)
  839.             local invSinTheta = 1 / SIN(theta)
  840.             startInterp = SIN((1 - t) * theta) * invSinTheta
  841.             finishInterp = SIN(t * theta) * invSinTheta
  842.         else
  843.             startInterp = 1 - t
  844.             finishInterp = t
  845.         end
  846.     elseif 1 + cosTheta > 1.0E-4 then
  847.         local theta = ACOS(-cosTheta)
  848.         local invSinTheta = 1 / SIN(theta)
  849.         startInterp = SIN((t - 1) * theta) * invSinTheta
  850.         finishInterp = SIN(t * theta) * invSinTheta
  851.     else
  852.         startInterp = t - 1
  853.         finishInterp = t
  854.     end
  855.     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
  856. end
  857. function Clerp(a, b, t)
  858.     local qa = {
  859.         QuaternionFromCFrame(a)
  860.     }
  861.     local qb = {
  862.         QuaternionFromCFrame(b)
  863.     }
  864.     local ax, ay, az = a.x, a.y, a.z
  865.     local bx, by, bz = b.x, b.y, b.z
  866.     local _t = 1 - t
  867.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  868. end
  869. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  870.     local frame = IT("Frame")
  871.     frame.BackgroundTransparency = TRANSPARENCY
  872.     frame.BorderSizePixel = BORDERSIZEPIXEL
  873.     frame.Position = POSITION
  874.     frame.Size = SIZE
  875.     frame.BackgroundColor3 = COLOR
  876.     frame.BorderColor3 = BORDERCOLOR
  877.     frame.Name = NAME
  878.     frame.Parent = PARENT
  879.     return frame
  880. end
  881. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  882.     local label = IT("TextLabel")
  883.     label.BackgroundTransparency = 1
  884.     label.Size = UD2(1, 0, 1, 0)
  885.     label.Position = UD2(0, 0, 0, 0)
  886.     label.TextColor3 = TEXTCOLOR
  887.     label.TextStrokeTransparency = STROKETRANSPARENCY
  888.     label.TextTransparency = TRANSPARENCY
  889.     label.FontSize = TEXTFONTSIZE
  890.     label.Font = TEXTFONT
  891.     label.BorderSizePixel = BORDERSIZEPIXEL
  892.     label.TextScaled = false
  893.     label.Text = TEXT
  894.     label.Name = NAME
  895.     label.Parent = PARENT
  896.     return label
  897. end
  898. function NoOutlines(PART)
  899.     PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  900. end
  901. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  902.     local NEWWELD = IT(TYPE)
  903.     NEWWELD.Part0 = PART0
  904.     NEWWELD.Part1 = PART1
  905.     NEWWELD.C0 = C0
  906.     NEWWELD.C1 = C1
  907.     NEWWELD.Parent = PARENT
  908.     return NEWWELD
  909. end
  910. local S = IT("Sound")
  911. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  912.     local NEWSOUND
  913.     coroutine.resume(coroutine.create(function()
  914.         NEWSOUND = S:Clone()
  915.         NEWSOUND.Parent = PARENT
  916.         NEWSOUND.Volume = 2
  917.         NEWSOUND.Pitch = .8
  918.         NEWSOUND.EmitterSize = VOLUME * 3
  919.         NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  920.         NEWSOUND:play()
  921.         if DOESLOOP == true then
  922.             NEWSOUND.Looped = true
  923.         else
  924.             repeat
  925.                 wait(1)
  926.             until NEWSOUND.Playing == false
  927.             NEWSOUND:remove()
  928.         end
  929.     end))
  930.     return NEWSOUND
  931. end
  932. function NewSound(TABLE)
  933.     local ID = "rbxassetid://"..(TABLE.ID or 0)
  934.     local PARENT = (TABLE.PARENT or ROOT)
  935.     local VOLUME = (TABLE.VOLUME or 0.5)
  936.     local PITCH = (TABLE.PITCH or 1)
  937.     local LOOP = (TABLE.LOOP or false)
  938.     local MAXDISTANCE = (TABLE.MAXDISTANCE or 100)
  939.     local EMITTERSIZE = (TABLE.EMITTERSIZE or 10)
  940.     local PLAYING = (TABLE.PLAYING or true)
  941.     local PLAYONREMOVE = (TABLE.PLAYONREMOVE or false)
  942.     local DOESDEBRIS = (TABLE.DOESDEBRIS or true)
  943.     if ID ~= "rbxassetid://0" then
  944.         local SOUND = IT("Sound",PARENT)
  945.         SOUND.SoundId = ID
  946.         SOUND.Volume = VOLUME
  947.         SOUND.Pitch = PITCH
  948.         SOUND.Looped = LOOP
  949.         SOUND.MaxDistance = MAXDISTANCE
  950.         SOUND.EmitterSize = EMITTERSIZE
  951.         SOUND.PlayOnRemove = PLAYONREMOVE
  952.         if DOESDEBRIS == true and PLAYING == true and LOOP == false then
  953.             Debris:AddItem(SOUND,SOUND.TimeLength+5)
  954.         end
  955.         if PLAYING == true then
  956.             SOUND:Play()
  957.         end
  958.         return SOUND
  959.     end
  960. end
  961. function Wyvern(Size,DoesBurn)
  962.     local WYVERN = IT("Model")
  963.     local BASEPART = CreatePart(3, WYVERN, "Neon", 0, 0.5, "Deep orange", "Wyvern Base",(VT(1, 7.2, 1)*1.5)*Size,false)
  964.     local BASEWELD = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, BASEPART, CF(0,0,0), CF(0, 0, 0))
  965.     CreateMesh("SpecialMesh", BASEPART, "FileMesh", "90615474", "", VT(1.5,1.5,1.5)*Size, VT(0,0,0))
  966.     local RWING = CreatePart(3, WYVERN, "Neon", 0, 0.5, "Deep orange", "Right Wing", (VT(2, 3, 2)*1.5)*Size,false)
  967.     local RWELD = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, RWING, CF(2*Size , 2*Size, 0.75*Size), CF(-2*Size, 0, 0))
  968.     local LWING = CreatePart(3, WYVERN, "Neon", 0, 0.5, "Deep orange", "Left Wing", (VT(2, 3, 2)*1.5)*Size,false)
  969.     local LWELD = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, LWING, CF(-2*Size , 2*Size, 0.75*Size), CF(2*Size, 0, 0))
  970.     CreateMesh("SpecialMesh", RWING, "FileMesh", "90615661", "", VT(1.5,1.5,1.5)*Size, VT(0,0,0))
  971.     CreateMesh("SpecialMesh", LWING, "FileMesh", "90615581", "", VT(1.5,1.5,1.5)*Size, VT(0,0,0))
  972.     for _, c in pairs(WYVERN:GetChildren()) do
  973.         if c.ClassName == "Part" then
  974.             c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  975.             c.Color = FIRECOLOR
  976.         end
  977.     end
  978.     WYVERN.Parent = Effects
  979.     if DoesBurn == false then
  980.         return WYVERN,BASEPART,RWING,LWING,BASEWELD,RWELD,LWELD
  981.     elseif DoesBurn == true then
  982.         local BodyFire = BurningLimb(BASEPART)
  983.         BodyFire.Size = NumberSequence.new(Size,0)
  984.         BodyFire.Acceleration = VT(0,2*Size,0)
  985.         local RightWingFire = BurningLimb(RWING)
  986.         RightWingFire.Size = NumberSequence.new(Size,0)
  987.         RightWingFire.Acceleration = VT(0,6*Size,0)
  988.         local LeftWingFire = BurningLimb(LWING)
  989.         LeftWingFire.Size = NumberSequence.new(Size,0)
  990.         LeftWingFire.Acceleration = VT(0,6*Size,0)
  991.         BodyFire.Color = ColorSequence.new(FIRECOLOR,C3(1,1,1))
  992.         RightWingFire.Color = ColorSequence.new(FIRECOLOR,C3(1,1,1))
  993.         LeftWingFire.Color = ColorSequence.new(FIRECOLOR,C3(1,1,1))
  994.         return WYVERN,BASEPART,RWING,LWING,BASEWELD,RWELD,LWELD,BodyFire,RightWingFire,LeftWingFire
  995.     end
  996. end
  997. function CFrameFromTopBack(at, top, back)
  998.     local right = top:Cross(back)
  999.     return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  1000. end
  1001. function MagicRing()
  1002.     local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Warphole", VT(0, 0, 0))
  1003.     O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0))
  1004.     local decal = Decal:Clone()
  1005.     decal.Parent = O1
  1006.     decal.Face = "Top"
  1007.     decal.Texture = "http://www.roblox.com/asset/?id=0"
  1008.     local decal2 = Decal:Clone()
  1009.     decal2.Parent = O1
  1010.     decal2.Face = "Bottom"
  1011.     decal2.Texture = "http://www.roblox.com/asset/?id=0"
  1012.     return O1
  1013. end
  1014. function MagicRing2(PART,CFRAME)
  1015.     local RING = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "MagicRing", VT(0,0,0),false)
  1016.     local WELD = CreateWeldOrSnapOrMotor("Weld", PART, PART, RING, CFRAME, CF(0, 0, 0))
  1017.     local MESH = IT("BlockMesh",RING)
  1018.     local BOTTOMTEXTURE = Decal:Clone()
  1019.     BOTTOMTEXTURE.Parent = RING
  1020.     BOTTOMTEXTURE.Face = "Bottom"
  1021.     BOTTOMTEXTURE.Name = "BottomTexture"
  1022.     local TOPTEXTURE = Decal:Clone()
  1023.     TOPTEXTURE.Parent = RING
  1024.     TOPTEXTURE.Face = "Top"
  1025.     TOPTEXTURE.Name = "TopTexture"
  1026.     local LIGHT = IT("PointLight",RING)
  1027.     BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=2829906887"
  1028.     TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=2829906887"
  1029.     return RING,WELD,MESH
  1030. end
  1031. local DECAL = IT("Decal")
  1032. function MagicRing3()
  1033.     local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
  1034.     local MSH = IT("BlockMesh", RING)
  1035.     local TOP = DECAL:Clone()
  1036.     local BOTTOM = DECAL:Clone()
  1037.     TOP.Parent = RING
  1038.     BOTTOM.Parent = RING
  1039.     TOP.Face = "Top"
  1040.     BOTTOM.Face = "Bottom"
  1041.     TOP.Texture = "http://www.roblox.com/asset/?id=0"
  1042.     BOTTOM.Texture = "http://www.roblox.com/asset/?id=0"
  1043.     local function REMOVE()
  1044.         coroutine.resume(coroutine.create(function()
  1045.             local SIZE = MSH.Scale.X
  1046.             for i = 1, 35 do
  1047.                 Swait()
  1048.                 MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  1049.                 TOP.Transparency = TOP.Transparency + 0.02857142857142857
  1050.                 BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  1051.                 RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  1052.             end
  1053.             RING:remove()
  1054.         end))
  1055.     end
  1056.     return RING, MSH, REMOVE
  1057. end
  1058. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  1059.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  1060.     local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  1061.     wave.CFrame = CFRAME
  1062.     coroutine.resume(coroutine.create(function(PART)
  1063.         for i = 1, WAIT do
  1064.             Swait()
  1065.             mesh.Scale = mesh.Scale + GROW
  1066.             mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  1067.             if DOESROT == true then
  1068.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  1069.             end
  1070.             wave.Transparency = wave.Transparency + 0.5 / WAIT
  1071.             if wave.Transparency > 0.99 then
  1072.                 wave:remove()
  1073.             end
  1074.         end
  1075.     end))
  1076. end
  1077. function SpecialSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  1078.     local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Eye", VT(1,1,1), true)
  1079.     wave.Color = COLOR
  1080.     local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  1081.     wave.CFrame = CFRAME
  1082.     coroutine.resume(coroutine.create(function(PART)
  1083.         for i = 1, WAIT do
  1084.             Swait()
  1085.             mesh.Scale = mesh.Scale + GROW
  1086.             wave.Transparency = wave.Transparency + (1/WAIT)
  1087.             if wave.Transparency > 0.99 then
  1088.                 wave:remove()
  1089.             end
  1090.         end
  1091.     end))
  1092. end
  1093. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  1094.     local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  1095.     local mesh = IT("SpecialMesh",wave)
  1096.     mesh.MeshType = "Sphere"
  1097.     mesh.Scale = SIZE
  1098.     mesh.Offset = VT(0,0,0)
  1099.     wave.CFrame = CFRAME
  1100.     coroutine.resume(coroutine.create(function(PART)
  1101.         for i = 1, WAIT do
  1102.             Swait()
  1103.             mesh.Scale = mesh.Scale + GROW
  1104.             wave.Transparency = wave.Transparency + (1/WAIT)
  1105.             if wave.Transparency > 0.99 then
  1106.                 wave:remove()
  1107.             end
  1108.         end
  1109.     end))
  1110. end
  1111. function WACKYEFFECT(Table)
  1112.     local TYPE = Table.EffectType or "Sphere"
  1113.     local SIZE = Table.Size or VT(1, 1, 1)
  1114.     local ENDSIZE = Table.Size2 or VT(0, 0, 0)
  1115.     local TRANSPARENCY = Table.Transparency or 0
  1116.     local ENDTRANSPARENCY = Table.Transparency2 or 1
  1117.     local CFRAME = Table.CFrame or Torso.CFrame
  1118.     local MOVEDIRECTION = Table.MoveToPos or nil
  1119.     local ROTATION1 = Table.RotationX or 0
  1120.     local ROTATION2 = Table.RotationY or 0
  1121.     local ROTATION3 = Table.RotationZ or 0
  1122.     local MATERIAL = "Neon"
  1123.     local COLOR = Table.Color or C3(1, 1, 1)
  1124.     local TIME = Table.Time or 45
  1125.     local SOUNDID = Table.SoundID or nil
  1126.     local SOUNDPITCH = Table.SoundPitch or nil
  1127.     local SOUNDVOLUME = Table.SoundVolume or nil
  1128.     local USEBOOMERANGMATH = Table.UseBoomerangMath or false
  1129.     local BOOMERANG = Table.Boomerang or 0
  1130.     local SIZEBOOMERANG = Table.SizeBoomerang or 0
  1131.     coroutine.resume(coroutine.create(function()
  1132.         local PLAYSSOUND = false
  1133.         local SOUND
  1134.         local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
  1135.         EFFECT.Color = C3(1,1,0)
  1136.         if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1137.             PLAYSSOUND = true
  1138.             SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1139.         end
  1140.         local MSH
  1141.         if TYPE == "Sphere" then
  1142.             MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
  1143.         elseif TYPE == "Block" or TYPE == "Box" then
  1144.             MSH = IT("BlockMesh", EFFECT)
  1145.             MSH.Scale = SIZE
  1146.         elseif TYPE == "Wave" then
  1147.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  1148.         elseif TYPE == "Ring" then
  1149.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
  1150.         elseif TYPE == "Slash" then
  1151.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  1152.         elseif TYPE == "Round Slash" then
  1153.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  1154.         elseif TYPE == "Swirl" then
  1155.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "168892432", "", SIZE, VT(0, 0, 0))
  1156.         elseif TYPE == "Skull" then
  1157.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
  1158.         elseif TYPE == "Star" then
  1159.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "2760116123", "", SIZE, VT(0,0,0))      
  1160.         elseif TYPE == "Crystal" then
  1161.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "450656451", "", SIZE, VT(0, 0, 0))
  1162.         end
  1163.         coroutine.resume(coroutine.create(function()
  1164.             if MSH ~= nil then
  1165.                 local BOOMR1 = 1 + BOOMERANG / 50
  1166.                 local BOOMR2 = 1 + SIZEBOOMERANG / 50
  1167.                 local MOVESPEED = nil
  1168.             if MOVEDIRECTION ~= nil then
  1169.                 MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1170.             end
  1171.                 local GROWTH
  1172.                 if USEBOOMERANGMATH == true then
  1173.                     GROWTH = (SIZE - ENDSIZE) * (BOOMR2 + 1)
  1174.                 else
  1175.                     GROWTH = SIZE - ENDSIZE
  1176.                 end
  1177.                 local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1178.                 if TYPE == "Block" then
  1179.                     EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  1180.                 else
  1181.                     EFFECT.CFrame = CFRAME
  1182.                 end
  1183.                 if USEBOOMERANGMATH == true then
  1184.                     for LOOP = 1, TIME + 1 do
  1185.                         Swait()
  1186.                         MSH.Scale = MSH.Scale - VT(GROWTH.X * (1 - LOOP / TIME * BOOMR2), GROWTH.Y * (1 - LOOP / TIME * BOOMR2), GROWTH.Z * (1 - LOOP / TIME * BOOMR2)) * BOOMR2 / TIME
  1187.                         if TYPE == "Wave" then
  1188.                             MSH.Offset = VT(0, 0, -MSH.Scale.Z / 8)
  1189.                         end
  1190.                         EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
  1191.                         if TYPE == "Block" then
  1192.                             EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  1193.                         else
  1194.                             EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
  1195.                         end
  1196.                         if MOVEDIRECTION ~= nil then
  1197.                             local ORI = EFFECT.Orientation
  1198.                             EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED * (1 - LOOP / TIME * BOOMR1))
  1199.                             EFFECT.Orientation = ORI
  1200.                         end
  1201.                     end
  1202.                 else
  1203.                     for LOOP = 1, TIME + 1 do
  1204.                         Swait()
  1205.                         MSH.Scale = MSH.Scale - GROWTH / TIME
  1206.                         if TYPE == "Wave" then
  1207.                             MSH.Offset = VT(0, 0, -MSH.Scale.Z / 8)
  1208.                         end
  1209.                         EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
  1210.                         if TYPE == "Block" then
  1211.                             EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  1212.                         else
  1213.                             EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
  1214.                         end
  1215.                         if MOVEDIRECTION ~= nil then
  1216.                     local ORI = EFFECT.Orientation
  1217.                     EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1218.                     EFFECT.Orientation = ORI
  1219.                 end
  1220.             end
  1221.                 end
  1222.                 EFFECT.Transparency = 1
  1223.                 if PLAYSSOUND == false then
  1224.                     EFFECT:remove()
  1225.                 else
  1226.                     repeat
  1227.                         Swait()
  1228.                     until EFFECT:FindFirstChildOfClass("Sound") == nil
  1229.                     EFFECT:remove()
  1230.                 end
  1231.             elseif PLAYSSOUND == false then
  1232.                 EFFECT:remove()
  1233.             else
  1234.                 repeat
  1235.                     Swait()
  1236.                 until EFFECT:FindFirstChildOfClass("Sound") == nil
  1237.                 EFFECT:remove()
  1238.             end
  1239.         end))
  1240.         return EFFECT
  1241.     end))
  1242. end
  1243. function Lightning(Part0, Part1, Times, Offset, Color, Timer, sSize, eSize, Trans, Boomer, sBoomer, slow, stime)
  1244.   local magz = (Part0 - Part1).magnitude
  1245.   local curpos = Part0
  1246.   local trz = {
  1247.     -Offset,
  1248.     Offset
  1249.   }
  1250.   for i = 1, Times do
  1251.     local li = Instance.new("Part", Effects)
  1252.     li.Name = "Lightning"
  1253.     li.TopSurface = 0
  1254.     li.Material = "Neon"
  1255.     li.BottomSurface = 0
  1256.     li.Anchored = true
  1257.     li.Locked = true
  1258.     li.Transparency = 0
  1259.     li.BrickColor = Color
  1260.     li.formFactor = "Custom"
  1261.     li.CanCollide = false
  1262.     li.Size = Vector3.new(0.1, 0.1, magz / Times)
  1263.     local Offzet = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  1264.     local trolpos = CFrame.new(curpos, Part1) * CFrame.new(0, 0, magz / Times).p + Offzet
  1265.     if Times == i then
  1266.       local magz2 = (curpos - Part1).magnitude
  1267.       li.Size = Vector3.new(0.1, 0.1, magz2)
  1268.       li.CFrame = CFrame.new(curpos, Part1) * CFrame.new(0, 0, -magz2 / 2)
  1269.     else
  1270.       li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / Times / 2)
  1271.     end
  1272.     curpos = li.CFrame * CFrame.new(0, 0, magz / Times / 2).p
  1273.     li:Destroy()
  1274.     WACKYEFFECT({Time = Timer, EffectType = "Box", Size = Vector3.new(sSize,sSize,li.Size.Z), Size2 = Vector3.new(eSize,eSize,li.Size.Z), Transparency = Trans, Transparency2 = 1, CFrame = li.CFrame, MoveToPos = nil, RotationX = nil, RotationY = nil, RotationZ = nil, Material = "Neon", Color = li.Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = Boomer, Boomerang = 0, SizeBoomerang = sBoomer})
  1275.     if slow == true then
  1276.     swait(stime)
  1277.     end
  1278.   end
  1279. end
  1280. function GetRoot(MODEL, ROOT)
  1281.     if ROOT == true then
  1282.         return MODEL:FindFirstChild("HumanoidRootPart") or MODEL:FindFirstChild("Torso") or MODEL:FindFirstChild("UpperTorso")
  1283.     else
  1284.         return MODEL:FindFirstChild("Torso") or MODEL:FindFirstChild("UpperTorso")
  1285.     end
  1286. end
  1287. function MakeForm(PART, TYPE)
  1288.     if TYPE == "Cyl" then
  1289.         local MSH = IT("CylinderMesh", PART)
  1290.     elseif TYPE == "Ball" then
  1291.         local MSH = IT("SpecialMesh", PART)
  1292.         MSH.MeshType = "Sphere"
  1293.     elseif TYPE == "Wedge" then
  1294.         local MSH = IT("SpecialMesh", PART)
  1295.         MSH.MeshType = "Wedge"
  1296.     end
  1297. end
  1298. Debris = game:GetService("Debris")
  1299. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1300.     local DIRECTION = CF(StartPos, EndPos).lookVector
  1301.     local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  1302.     return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, DIRECTION * Distance), Ignore)
  1303. end
  1304. function SpawnTrail(FROM,TO,BIG)
  1305. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Trail", VT(45,45,45))          
  1306. MakeForm(TRAIL,"Cyl")
  1307.     local DIST = (FROM - TO).Magnitude
  1308.     if BIG == true then
  1309.         TRAIL.Size = VT(2,DIST,5)
  1310.     else
  1311.         TRAIL.Size = VT(2,DIST,5)
  1312.     end
  1313.     TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1314.     coroutine.resume(coroutine.create(function()
  1315.         for i = 1, 55 do
  1316.             Swait()
  1317.             TRAIL.Transparency = TRAIL.Transparency + 0.03
  1318.         end
  1319.         TRAIL:remove()
  1320.     end))
  1321. end
  1322.  
  1323. function Debree(Table)
  1324.     local KindOf = Table.Variant or "Ring"
  1325.     local Position = Table.Location or Torso.Position
  1326.     local Coloration = Table.Color or C3(1, 1, 1)
  1327.     local Texture = Table.Material or "Slate"
  1328.     local Fling = Table.Scatter or 1
  1329.     local Number = Table.Amount or 1
  1330.     local Rocks = Table.DebreeCount or 1
  1331.     local Range = Table.Distance or 1
  1332.     local Scale = Table.Size or 1
  1333.     local Timer = Table.Delay or 1.5
  1334.     coroutine.resume(coroutine.create(function()
  1335.         local ScaleVector = VT(Scale, Scale, Scale)
  1336.         local Boulders = {}
  1337.         Position = CF(Position)
  1338.         if KindOf == "Ring" or KindOf == "Both" then
  1339.             for RockValue = 1, Number do
  1340.                 local LOCATION = Position * ANGLES(RAD(0), RAD(360 / Number * RockValue), RAD(0)) * CF(0, MRANDOM(-math.ceil(Scale / 2), math.ceil(Scale / 2)), Range)
  1341.                 local BOULDER = CreatePart(3, workspace, Texture, 0, 0, BRICKC("Pearl"), "Debree", ScaleVector, true)
  1342.                 BOULDER.CanCollide = true
  1343.                 BOULDER.CFrame = LOCATION * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  1344.                 BOULDER.Color = Coloration
  1345.                 table.insert(Boulders, BOULDER)
  1346.             end
  1347.         end
  1348.         if KindOf == "Loose" or KindOf == "Both" then
  1349.             for RockValue = 1, Rocks do
  1350.                 local LOCATION = Position * ANGLES(RAD(0), RAD(360 / Number * RockValue), RAD(0)) * CF(0, MRANDOM(-math.ceil(Scale - Scale / 2), math.ceil(Scale - Scale / 2)), 0.7)
  1351.                 local BOULDER = CreatePart(3, workspace, Texture, 0, 0, BRICKC("Pearl"), "Debree", ScaleVector, false)
  1352.                 BOULDER.CanCollide = true
  1353.                 BOULDER.CFrame = LOCATION * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  1354.                 BOULDER.Velocity = CF(BOULDER.Position - VT(0, 4, 0), BOULDER.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 5, 0).p).lookVector * MRANDOM(Fling - Fling / 1.5, Fling + Fling / 1.5)
  1355.                 BOULDER.Color = Coloration
  1356.                 table.insert(Boulders, BOULDER)
  1357.             end
  1358.         end
  1359.         if KindOf == "Random" then
  1360.             for RockValue = 1, Number do
  1361.                 local LOCATION = Position * ANGLES(RAD(0), RAD(360 / Number * RockValue), RAD(0)) * CF(0, MRANDOM(-math.ceil(Scale / 2), math.ceil(Scale / 2)), MRANDOM(0, Range))
  1362.                 local BOULDER = CreatePart(3, workspace, Texture, 0, 0, BRICKC("Pearl"), "Debree", ScaleVector, true)
  1363.                 BOULDER.CanCollide = true
  1364.                 BOULDER.CFrame = LOCATION * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  1365.                 BOULDER.Color = Coloration
  1366.                 table.insert(Boulders, BOULDER)
  1367.             end
  1368.         end
  1369.         wait(Timer)
  1370.         for E = 1, 45 do
  1371.             Swait()
  1372.             for A = 1, #Boulders do
  1373.                 Boulders[A].Transparency = Boulders[A].Transparency + 0.022222222222222223
  1374.             end
  1375.         end
  1376.         for A = 1, #Boulders do
  1377.             Boulders[A]:Destroy()
  1378.         end
  1379.     end))
  1380. end
  1381.  
  1382. function CameraShake(AREA,RANGE,SHAKE,TIMER)
  1383.     if true then return end
  1384. end
  1385.  
  1386. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1387.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1388. end
  1389. function PositiveAngle(NUMBER)
  1390.     if NUMBER >= 0 then
  1391.         NUMBER = 0
  1392.     end
  1393.     return NUMBER
  1394. end
  1395. function NegativeAngle(NUMBER)
  1396.     if NUMBER <= 0 then
  1397.         NUMBER = 0
  1398.     end
  1399.     return NUMBER
  1400. end
  1401. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1402.     local NEWMESH = IT(MESH)
  1403.     if MESH == "SpecialMesh" then
  1404.         NEWMESH.MeshType = MESHTYPE
  1405.         if MESHID ~= "nil" and MESHID ~= "" then
  1406.             NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
  1407.         end
  1408.         if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1409.             NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
  1410.         end
  1411.     end
  1412.     NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1413.     NEWMESH.Scale = SCALE
  1414.     NEWMESH.Parent = PARENT
  1415.     return NEWMESH
  1416. end
  1417. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1418.     local NEWPART = IT("Part")
  1419.     NEWPART.formFactor = FORMFACTOR
  1420.     NEWPART.Reflectance = REFLECTANCE
  1421.     NEWPART.Transparency = TRANSPARENCY
  1422.     NEWPART.CanCollide = false
  1423.     NEWPART.Locked = true
  1424.     NEWPART.Anchored = true
  1425.     if ANCHOR == false then
  1426.         NEWPART.Anchored = false
  1427.     end
  1428.     NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1429.     NEWPART.Name = NAME
  1430.     NEWPART.Size = SIZE
  1431.     NEWPART.Position = Torso.Position
  1432.     NEWPART.Material = MATERIAL
  1433.     NEWPART:BreakJoints()
  1434.     NEWPART.Parent = PARENT
  1435.     return NEWPART
  1436. end
  1437. local weldBetween = function(a, b)
  1438.     local weldd = Instance.new("ManualWeld")
  1439.     weldd.Part0 = a
  1440.     weldd.Part1 = b
  1441.     weldd.C0 = CFrame.new()
  1442.     weldd.C1 = b.CFrame:inverse() * a.CFrame
  1443.     weldd.Parent = a
  1444.     return weldd
  1445. end
  1446. function weldSomethings(a, b, acf)
  1447.     local we = Instance.new("Weld", a)
  1448.     we.Part0 = a
  1449.     we.Part1 = b
  1450. if acf ~= nil then
  1451.     we.C0 = acf
  1452. end
  1453. end
  1454. function QuaternionFromCFrame(CF)
  1455.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = CF:components()
  1456.     local trace = m00 + m11 + m22
  1457.     if trace > 0 then
  1458.         local s = math.sqrt(1 + trace)
  1459.         local recip = 0.5 / s
  1460.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1461.     else
  1462.         local i = 0
  1463.         if m00 < m11 then
  1464.             i = 1
  1465.         end
  1466.         if m22 > (i == 0 and m00 or m11) then
  1467.             i = 2
  1468.         end
  1469.         if i == 0 then
  1470.             local s = math.sqrt(m00 - m11 - m22 + 1)
  1471.             local recip = 0.5 / s
  1472.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1473.         elseif i == 1 then
  1474.             local s = math.sqrt(m11 - m22 - m00 + 1)
  1475.             local recip = 0.5 / s
  1476.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1477.         elseif i == 2 then
  1478.             local s = math.sqrt(m22 - m00 - m11 + 1)
  1479.             local recip = 0.5 / s
  1480.             return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1481.         end
  1482.     end
  1483. end
  1484. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1485.     local xs, ys, zs = x + x, y + y, z + z
  1486.     local wx, wy, wz = w * xs, w * ys, w * zs
  1487.     local xx = x * xs
  1488.     local xy = x * ys
  1489.     local xz = x * zs
  1490.     local yy = y * ys
  1491.     local yz = y * zs
  1492.     local zz = z * zs
  1493.     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))
  1494. end
  1495. function QuaternionSlerp(a, b, t)
  1496.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1497.     local startInterp, finishInterp
  1498.     if cosTheta >= 1.0E-4 then
  1499.         if 1 - cosTheta > 1.0E-4 then
  1500.             local theta = ACOS(cosTheta)
  1501.             local invSinTheta = 1 / SIN(theta)
  1502.             startInterp = SIN((1 - t) * theta) * invSinTheta
  1503.             finishInterp = SIN(t * theta) * invSinTheta
  1504.         else
  1505.             startInterp = 1 - t
  1506.             finishInterp = t
  1507.         end
  1508.     elseif 1 + cosTheta > 1.0E-4 then
  1509.         local theta = ACOS(-cosTheta)
  1510.         local invSinTheta = 1 / SIN(theta)
  1511.         startInterp = SIN((t - 1) * theta) * invSinTheta
  1512.         finishInterp = SIN(t * theta) * invSinTheta
  1513.     else
  1514.         startInterp = t - 1
  1515.         finishInterp = t
  1516.     end
  1517.     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
  1518. end
  1519. function Clerp(a, b, t)
  1520.     local qa = {
  1521.         QuaternionFromCFrame(a)
  1522.     }
  1523.     local qb = {
  1524.         QuaternionFromCFrame(b)
  1525.     }
  1526.     local ax, ay, az = a.x, a.y, a.z
  1527.     local bx, by, bz = b.x, b.y, b.z
  1528.     local _t = 1 - t
  1529.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1530. end
  1531. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1532.     local frame = IT("Frame")
  1533.     frame.BackgroundTransparency = TRANSPARENCY
  1534.     frame.BorderSizePixel = BORDERSIZEPIXEL
  1535.     frame.Position = POSITION
  1536.     frame.Size = SIZE
  1537.     frame.BackgroundColor3 = COLOR
  1538.     frame.BorderColor3 = BORDERCOLOR
  1539.     frame.Name = NAME
  1540.     frame.Parent = PARENT
  1541.     return frame
  1542. end
  1543. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1544.     local label = IT("TextLabel")
  1545.     label.BackgroundTransparency = 1
  1546.     label.Size = UD2(1, 0, 1, 0)
  1547.     label.Position = UD2(0, 0, 0, 0)
  1548.     label.TextColor3 = TEXTCOLOR
  1549.     label.TextStrokeTransparency = STROKETRANSPARENCY
  1550.     label.TextTransparency = TRANSPARENCY
  1551.     label.FontSize = TEXTFONTSIZE
  1552.     label.Font = TEXTFONT
  1553.     label.BorderSizePixel = BORDERSIZEPIXEL
  1554.     label.TextScaled = false
  1555.     label.Text = TEXT
  1556.     label.Name = NAME
  1557.     label.Parent = PARENT
  1558.     return label
  1559. end
  1560. function NoOutlines(PART)
  1561.     PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1562. end
  1563. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1564.     local NEWWELD = IT(TYPE)
  1565.     NEWWELD.Part0 = PART0
  1566.     NEWWELD.Part1 = PART1
  1567.     NEWWELD.C0 = C0
  1568.     NEWWELD.C1 = C1
  1569.     NEWWELD.Parent = PARENT
  1570.     return NEWWELD
  1571. end
  1572. local S = IT("Sound")
  1573. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  1574.     local NEWSOUND
  1575.     coroutine.resume(coroutine.create(function()
  1576.         NEWSOUND = S:Clone()
  1577.         NEWSOUND.Parent = PARENT
  1578.         NEWSOUND.Volume = VOLUME
  1579.         NEWSOUND.Pitch = PITCH
  1580.         NEWSOUND.EmitterSize = VOLUME * 3
  1581.         NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  1582.         NEWSOUND:play()
  1583.         if DOESLOOP == true then
  1584.             NEWSOUND.Looped = true
  1585.         else
  1586.             repeat
  1587.                 wait(1)
  1588.             until NEWSOUND.Playing == false
  1589.             NEWSOUND:remove()
  1590.         end
  1591.     end))
  1592.     return NEWSOUND
  1593. end
  1594. function NewSound(TABLE)
  1595.     local ID = "rbxassetid://"..(TABLE.ID or 0)
  1596.     local PARENT = (TABLE.PARENT or ROOT)
  1597.     local VOLUME = (TABLE.VOLUME or 0.5)
  1598.     local PITCH = (TABLE.PITCH or 1)
  1599.     local LOOP = (TABLE.LOOP or false)
  1600.     local MAXDISTANCE = (TABLE.MAXDISTANCE or 100)
  1601.     local EMITTERSIZE = (TABLE.EMITTERSIZE or 10)
  1602.     local PLAYING = (TABLE.PLAYING or true)
  1603.     local PLAYONREMOVE = (TABLE.PLAYONREMOVE or false)
  1604.     local DOESDEBRIS = (TABLE.DOESDEBRIS or true)
  1605.     if ID ~= "rbxassetid://0" then
  1606.         local SOUND = IT("Sound",PARENT)
  1607.         SOUND.SoundId = ID
  1608.         SOUND.Volume = VOLUME
  1609.         SOUND.Pitch = PITCH
  1610.         SOUND.Looped = LOOP
  1611.         SOUND.MaxDistance = MAXDISTANCE
  1612.         SOUND.EmitterSize = EMITTERSIZE
  1613.         SOUND.PlayOnRemove = PLAYONREMOVE
  1614.         if DOESDEBRIS == true and PLAYING == true and LOOP == false then
  1615.             Debris:AddItem(SOUND,SOUND.TimeLength+5)
  1616.         end
  1617.         if PLAYING == true then
  1618.             SOUND:Play()
  1619.         end
  1620.         return SOUND
  1621.     end
  1622. end
  1623. function CFrameFromTopBack(at, top, back)
  1624.     local right = top:Cross(back)
  1625.     return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  1626. end
  1627. function MagicRing()
  1628.     local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Warphole", VT(0, 0, 0))
  1629.     O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0))
  1630.     local decal = Decal:Clone()
  1631.     decal.Parent = O1
  1632.     decal.Face = "Top"
  1633.     decal.Texture = "http://www.roblox.com/asset/?id=0"
  1634.     local decal2 = Decal:Clone()
  1635.     decal2.Parent = O1
  1636.     decal2.Face = "Bottom"
  1637.     decal2.Texture = "http://www.roblox.com/asset/?id=0"
  1638.     return O1
  1639. end
  1640. function MagicRing2(PART,CFRAME)
  1641.     local RING = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "MagicRing", VT(0,0,0),false)
  1642.     local WELD = CreateWeldOrSnapOrMotor("Weld", PART, PART, RING, CFRAME, CF(0, 0, 0))
  1643.     local MESH = IT("BlockMesh",RING)
  1644.     local BOTTOMTEXTURE = Decal:Clone()
  1645.     BOTTOMTEXTURE.Parent = RING
  1646.     BOTTOMTEXTURE.Face = "Bottom"
  1647.     BOTTOMTEXTURE.Name = "BottomTexture"
  1648.     local TOPTEXTURE = Decal:Clone()
  1649.     TOPTEXTURE.Parent = RING
  1650.     TOPTEXTURE.Face = "Top"
  1651.     TOPTEXTURE.Name = "TopTexture"
  1652.     local LIGHT = IT("PointLight",RING)
  1653.     BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=2829906887"
  1654.     TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=2829906887"
  1655.     return RING,WELD,MESH
  1656. end
  1657. local DECAL = IT("Decal")
  1658. function MagicRing3()
  1659.     local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
  1660.     local MSH = IT("BlockMesh", RING)
  1661.     local TOP = DECAL:Clone()
  1662.     local BOTTOM = DECAL:Clone()
  1663.     TOP.Parent = RING
  1664.     BOTTOM.Parent = RING
  1665.     TOP.Face = "Top"
  1666.     BOTTOM.Face = "Bottom"
  1667.     TOP.Texture = "http://www.roblox.com/asset/?id=0"
  1668.     BOTTOM.Texture = "http://www.roblox.com/asset/?id=0"
  1669.     local function REMOVE()
  1670.         coroutine.resume(coroutine.create(function()
  1671.             local SIZE = MSH.Scale.X
  1672.             for i = 1, 35 do
  1673.                 Swait()
  1674.                 MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  1675.                 TOP.Transparency = TOP.Transparency + 0.02857142857142857
  1676.                 BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  1677.                 RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  1678.             end
  1679.             RING:remove()
  1680.         end))
  1681.     end
  1682.     return RING, MSH, REMOVE
  1683. end
  1684. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  1685.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  1686.     local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  1687.     wave.CFrame = CFRAME
  1688.     coroutine.resume(coroutine.create(function(PART)
  1689.         for i = 1, WAIT do
  1690.             Swait()
  1691.             mesh.Scale = mesh.Scale + GROW
  1692.             mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  1693.             if DOESROT == true then
  1694.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  1695.             end
  1696.             wave.Transparency = wave.Transparency + 0.5 / WAIT
  1697.             if wave.Transparency > 0.99 then
  1698.                 wave:remove()
  1699.             end
  1700.         end
  1701.     end))
  1702. end
  1703. function SpecialSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  1704.     local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Eye", VT(1,1,1), true)
  1705.     wave.Color = COLOR
  1706.     local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  1707.     wave.CFrame = CFRAME
  1708.     coroutine.resume(coroutine.create(function(PART)
  1709.         for i = 1, WAIT do
  1710.             Swait()
  1711.             mesh.Scale = mesh.Scale + GROW
  1712.             wave.Transparency = wave.Transparency + (1/WAIT)
  1713.             if wave.Transparency > 0.99 then
  1714.                 wave:remove()
  1715.             end
  1716.         end
  1717.     end))
  1718. end
  1719. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  1720.     local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  1721.     local mesh = IT("SpecialMesh",wave)
  1722.     mesh.MeshType = "Sphere"
  1723.     mesh.Scale = SIZE
  1724.     mesh.Offset = VT(0,0,0)
  1725.     wave.CFrame = CFRAME
  1726.     coroutine.resume(coroutine.create(function(PART)
  1727.         for i = 1, WAIT do
  1728.             Swait()
  1729.             mesh.Scale = mesh.Scale + GROW
  1730.             wave.Transparency = wave.Transparency + (1/WAIT)
  1731.             if wave.Transparency > 0.99 then
  1732.                 wave:remove()
  1733.             end
  1734.         end
  1735.     end))
  1736. end
  1737. function WACKYEFFECT(Table)
  1738.     local TYPE = Table.EffectType or "Sphere"
  1739.     local SIZE = Table.Size or VT(1, 1, 1)
  1740.     local ENDSIZE = Table.Size2 or VT(0, 0, 0)
  1741.     local TRANSPARENCY = Table.Transparency or 0
  1742.     local ENDTRANSPARENCY = Table.Transparency2 or 1
  1743.     local CFRAME = Table.CFrame or Torso.CFrame
  1744.     local MOVEDIRECTION = Table.MoveToPos or nil
  1745.     local ROTATION1 = Table.RotationX or 0
  1746.     local ROTATION2 = Table.RotationY or 0
  1747.     local ROTATION3 = Table.RotationZ or 0
  1748.     local MATERIAL = Table.Material --or "Neon"
  1749.     local COLOR = Table.Color or C3(1, 1, 1)
  1750.     local TIME = Table.Time or 45
  1751.     local SOUNDID = Table.SoundID or nil
  1752.     local SOUNDPITCH = Table.SoundPitch or nil
  1753.     local SOUNDVOLUME = Table.SoundVolume or nil
  1754.     local USEBOOMERANGMATH = Table.UseBoomerangMath or false
  1755.     local BOOMERANG = Table.Boomerang or 0
  1756.     local SIZEBOOMERANG = Table.SizeBoomerang or 0
  1757.     coroutine.resume(coroutine.create(function()
  1758.         local PLAYSSOUND = false
  1759.         local SOUND
  1760.         local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
  1761.         EFFECT.Color = C3(1,1,0)
  1762.         if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1763.             PLAYSSOUND = true
  1764.             SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1765.         end
  1766.         local MSH
  1767.         if TYPE == "Sphere" then
  1768.             MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
  1769.         elseif TYPE == "Block" or TYPE == "Box" then
  1770.             MSH = IT("BlockMesh", EFFECT)
  1771.             MSH.Scale = SIZE
  1772.         elseif TYPE == "Wave" then
  1773.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  1774.         elseif TYPE == "Ring" then
  1775.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
  1776.         elseif TYPE == "Slash" then
  1777.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  1778.         elseif TYPE == "Round Slash" then
  1779.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  1780.         elseif TYPE == "Swirl" then
  1781.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "168892432", "", SIZE, VT(0, 0, 0))
  1782.         elseif TYPE == "Skull" then
  1783.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
  1784.         elseif TYPE == "Star" then
  1785.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "2760116123", "", SIZE, VT(0,0,0))      
  1786.         elseif TYPE == "Crystal" then
  1787.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "450656451", "", SIZE, VT(0, 0, 0))
  1788.         end
  1789.         coroutine.resume(coroutine.create(function()
  1790.             if MSH ~= nil then
  1791.                 local BOOMR1 = 1 + BOOMERANG / 50
  1792.                 local BOOMR2 = 1 + SIZEBOOMERANG / 50
  1793.                 local MOVESPEED = nil
  1794.             if MOVEDIRECTION ~= nil then
  1795.                 MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1796.             end
  1797.                 local GROWTH
  1798.                 if USEBOOMERANGMATH == true then
  1799.                     GROWTH = (SIZE - ENDSIZE) * (BOOMR2 + 1)
  1800.                 else
  1801.                     GROWTH = SIZE - ENDSIZE
  1802.                 end
  1803.                 local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1804.                 if TYPE == "Block" then
  1805.                     EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  1806.                 else
  1807.                     EFFECT.CFrame = CFRAME
  1808.                 end
  1809.                 if USEBOOMERANGMATH == true then
  1810.                     for LOOP = 1, TIME + 1 do
  1811.                         Swait()
  1812.                         MSH.Scale = MSH.Scale - VT(GROWTH.X * (1 - LOOP / TIME * BOOMR2), GROWTH.Y * (1 - LOOP / TIME * BOOMR2), GROWTH.Z * (1 - LOOP / TIME * BOOMR2)) * BOOMR2 / TIME
  1813.                         if TYPE == "Wave" then
  1814.                             MSH.Offset = VT(0, 0, -MSH.Scale.Z / 8)
  1815.                         end
  1816.                         EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
  1817.                         if TYPE == "Block" then
  1818.                             EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  1819.                         else
  1820.                             EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
  1821.                         end
  1822.                         if MOVEDIRECTION ~= nil then
  1823.                             local ORI = EFFECT.Orientation
  1824.                             EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED * (1 - LOOP / TIME * BOOMR1))
  1825.                             EFFECT.Orientation = ORI
  1826.                         end
  1827.                     end
  1828.                 else
  1829.                     for LOOP = 1, TIME + 1 do
  1830.                         Swait()
  1831.                         MSH.Scale = MSH.Scale - GROWTH / TIME
  1832.                         if TYPE == "Wave" then
  1833.                             MSH.Offset = VT(0, 0, -MSH.Scale.Z / 8)
  1834.                         end
  1835.                         EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
  1836.                         if TYPE == "Block" then
  1837.                             EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  1838.                         else
  1839.                             EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
  1840.                         end
  1841.                         if MOVEDIRECTION ~= nil then
  1842.                     local ORI = EFFECT.Orientation
  1843.                     EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1844.                     EFFECT.Orientation = ORI
  1845.                 end
  1846.             end
  1847.                 end
  1848.                 EFFECT.Transparency = 1
  1849.                 if PLAYSSOUND == false then
  1850.                     EFFECT:remove()
  1851.                 else
  1852.                     repeat
  1853.                         Swait()
  1854.                     until EFFECT:FindFirstChildOfClass("Sound") == nil
  1855.                     EFFECT:remove()
  1856.                 end
  1857.             elseif PLAYSSOUND == false then
  1858.                 EFFECT:remove()
  1859.             else
  1860.                 repeat
  1861.                     Swait()
  1862.                 until EFFECT:FindFirstChildOfClass("Sound") == nil
  1863.                 EFFECT:remove()
  1864.             end
  1865.         end))
  1866.         return EFFECT
  1867.     end))
  1868. end      
  1869. function GetRoot(MODEL, ROOT)
  1870.     if ROOT == true then
  1871.         return MODEL:FindFirstChild("HumanoidRootPart") or MODEL:FindFirstChild("Torso") or MODEL:FindFirstChild("UpperTorso")
  1872.     else
  1873.         return MODEL:FindFirstChild("Torso") or MODEL:FindFirstChild("UpperTorso")
  1874.     end
  1875. end
  1876. function MakeForm(PART, TYPE)
  1877.     if TYPE == "Cyl" then
  1878.         local MSH = IT("CylinderMesh", PART)
  1879.     elseif TYPE == "Ball" then
  1880.         local MSH = IT("SpecialMesh", PART)
  1881.         MSH.MeshType = "Sphere"
  1882.     elseif TYPE == "Wedge" then
  1883.         local MSH = IT("SpecialMesh", PART)
  1884.         MSH.MeshType = "Wedge"
  1885.     end
  1886. end
  1887. Debris = game:GetService("Debris")
  1888. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1889.     local DIRECTION = CF(StartPos, EndPos).lookVector
  1890.     local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  1891.     return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, DIRECTION * Distance), Ignore)
  1892. end
  1893. function SpawnTrail(FROM,TO,BIG)
  1894. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Trail", VT(45,45,45))          
  1895. MakeForm(TRAIL,"Cyl")
  1896.     local DIST = (FROM - TO).Magnitude
  1897.     if BIG == true then
  1898.         TRAIL.Size = VT(2,DIST,5)
  1899.     else
  1900.         TRAIL.Size = VT(2,DIST,5)
  1901.     end
  1902.     TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1903.     coroutine.resume(coroutine.create(function()
  1904.         for i = 1, 55 do
  1905.             Swait()
  1906.             TRAIL.Transparency = TRAIL.Transparency + 0.03
  1907.         end
  1908.         TRAIL:remove()
  1909.     end))
  1910. end
  1911.  
  1912. function Debree(Table)
  1913.     local KindOf = Table.Variant or "Ring"
  1914.     local Position = Table.Location or Torso.Position
  1915.     local Coloration = Table.Color or C3(1, 1, 1)
  1916.     local Texture = Table.Material or "Slate"
  1917.     local Fling = Table.Scatter or 1
  1918.     local Number = Table.Amount or 1
  1919.     local Rocks = Table.DebreeCount or 1
  1920.     local Range = Table.Distance or 1
  1921.     local Scale = Table.Size or 1
  1922.     local Timer = Table.Delay or 1.5
  1923.     coroutine.resume(coroutine.create(function()
  1924.         local ScaleVector = VT(Scale, Scale, Scale)
  1925.         local Boulders = {}
  1926.         Position = CF(Position)
  1927.         if KindOf == "Ring" or KindOf == "Both" then
  1928.             for RockValue = 1, Number do
  1929.                 local LOCATION = Position * ANGLES(RAD(0), RAD(360 / Number * RockValue), RAD(0)) * CF(0, MRANDOM(-math.ceil(Scale / 2), math.ceil(Scale / 2)), Range)
  1930.                 local BOULDER = CreatePart(3, workspace, Texture, 0, 0, BRICKC("Pearl"), "Debree", ScaleVector, true)
  1931.                 BOULDER.CanCollide = true
  1932.                 BOULDER.CFrame = LOCATION * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  1933.                 BOULDER.Color = Coloration
  1934.                 table.insert(Boulders, BOULDER)
  1935.             end
  1936.         end
  1937.         if KindOf == "Loose" or KindOf == "Both" then
  1938.             for RockValue = 1, Rocks do
  1939.                 local LOCATION = Position * ANGLES(RAD(0), RAD(360 / Number * RockValue), RAD(0)) * CF(0, MRANDOM(-math.ceil(Scale - Scale / 2), math.ceil(Scale - Scale / 2)), 0.7)
  1940.                 local BOULDER = CreatePart(3, workspace, Texture, 0, 0, BRICKC("Pearl"), "Debree", ScaleVector, false)
  1941.                 BOULDER.CanCollide = true
  1942.                 BOULDER.CFrame = LOCATION * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  1943.                 BOULDER.Velocity = CF(BOULDER.Position - VT(0, 4, 0), BOULDER.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 5, 0).p).lookVector * MRANDOM(Fling - Fling / 1.5, Fling + Fling / 1.5)
  1944.                 BOULDER.Color = Coloration
  1945.                 table.insert(Boulders, BOULDER)
  1946.             end
  1947.         end
  1948.         if KindOf == "Random" then
  1949.             for RockValue = 1, Number do
  1950.                 local LOCATION = Position * ANGLES(RAD(0), RAD(360 / Number * RockValue), RAD(0)) * CF(0, MRANDOM(-math.ceil(Scale / 2), math.ceil(Scale / 2)), MRANDOM(0, Range))
  1951.                 local BOULDER = CreatePart(3, workspace, Texture, 0, 0, BRICKC("Pearl"), "Debree", ScaleVector, true)
  1952.                 BOULDER.CanCollide = true
  1953.                 BOULDER.CFrame = LOCATION * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  1954.                 BOULDER.Color = Coloration
  1955.                 table.insert(Boulders, BOULDER)
  1956.             end
  1957.         end
  1958.         wait(Timer)
  1959.         for E = 1, 45 do
  1960.             Swait()
  1961.             for A = 1, #Boulders do
  1962.                 Boulders[A].Transparency = Boulders[A].Transparency + 0.022222222222222223
  1963.             end
  1964.         end
  1965.         for A = 1, #Boulders do
  1966.             Boulders[A]:Destroy()
  1967.         end
  1968.     end))
  1969. end
  1970.  
  1971. function CameraShake(AREA,RANGE,SHAKE,TIMER)
  1972.     if true then return end
  1973. end
  1974.  
  1975. function AdvancedChatfunc(Text, Timer, Delay, ChatterSound)
  1976.     local chat = coroutine.wrap(function()
  1977.         if Character:FindFirstChild("SpeechBoard") ~= nil then
  1978.             Character:FindFirstChild("SpeechBoard"):destroy()
  1979.         end
  1980.         local naeeym2 = IT("BillboardGui", Character)
  1981.         naeeym2.Size = UD2(80, 35, 3, 15)
  1982.         naeeym2.StudsOffset = VT(0, 5, 0)
  1983.         naeeym2.Adornee = Head
  1984.         naeeym2.Name = "SpeechBoard"
  1985.         naeeym2.AlwaysOnTop = true
  1986.         local tecks2 = IT("TextLabel", naeeym2)
  1987.         tecks2.BackgroundTransparency = 1
  1988.         tecks2.BorderSizePixel = 0
  1989.         tecks2.Text = ""
  1990.         tecks2.Font = FONTS[MRANDOM(1,#FONTS)]
  1991.         tecks2.TextSize = 35
  1992.         tecks2.TextStrokeTransparency = 0.3
  1993.         tecks2.TextColor3 = C3(0,0,0)
  1994.         tecks2.TextStrokeColor3 = C3(0,0,0)
  1995.         tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  1996.         local FINISHED = false
  1997.         local DONE = false
  1998.         coroutine.wrap(function()
  1999.             while wait() do
  2000.                 tecks2.Font = FONTS[MRANDOM(1,#FONTS)]
  2001.                 tecks2.TextColor3 = C3(0,0,0)
  2002.                 tecks2.TextStrokeColor3 = C3(0,0,0)
  2003.                 if DONE == true then
  2004.                     break
  2005.                 end
  2006.             end
  2007.         end)()
  2008.         coroutine.resume(coroutine.create(function()
  2009.             for i = 1, string.len(Text) do
  2010.                 if naeeym2.Parent ~= Character then
  2011.                     FINISHED = true
  2012.                 end
  2013.                 if ChatterSound ~= false and naeeym2.Parent == Character then
  2014.                     CreateSound(265970978, Head, 7, MRANDOM(-6,12)/4, false)
  2015.                 end
  2016.                 tecks2.Text = string.sub(Text, 1, i)
  2017.                 Swait(Timer)
  2018.             end
  2019.             FINISHED = true
  2020.         end))
  2021.         repeat
  2022.             wait()
  2023.         until FINISHED == true
  2024.         wait(Delay)
  2025.         naeeym2.Name = "FadingDialogue"
  2026.         if Character:FindFirstChild("SpeechBoard") == nil then
  2027.             coroutine.resume(coroutine.create(function()
  2028.                 for i = 1, 35 do
  2029.                     Swait()
  2030.                 end
  2031.             end))
  2032.         end
  2033.         for i = 1, 45 do
  2034.             Swait()
  2035.             naeeym2.StudsOffset = naeeym2.StudsOffset + VT(0, (2 - 0.044444444444444446 * i) / 45, 0)
  2036.             tecks2.TextTransparency = tecks2.TextTransparency + 0.022222222222222223
  2037.             tecks2.TextStrokeTransparency = tecks2.TextTransparency
  2038.         end
  2039.         naeeym2:Destroy()
  2040.         DONE = true
  2041.     end)
  2042.     chat()
  2043. end
  2044.  
  2045. function CheckTableForString(Table, String)
  2046.     for i, v in pairs(Table) do
  2047.         if string.find(string.lower(String), string.lower(v)) then
  2048.             return true
  2049.         end
  2050.     end
  2051.     return false
  2052. end
  2053.  
  2054. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  2055.     if FLOOR ~= nil then
  2056.         for i = 1, AMOUNT do
  2057.             local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Peal", "Debree", BLOCKSIZE, false)
  2058.             DEBREE.Material = FLOOR.Material
  2059.             DEBREE.Color = FLOOR.Color
  2060.             DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  2061.             DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH))
  2062.             coroutine.resume(coroutine.create(function()
  2063.                 Swait(15)
  2064.                 DEBREE.Parent = workspace
  2065.                 DEBREE.CanCollide = true
  2066.                 Debris:AddItem(DEBREE,SWAIT)
  2067.             end))
  2068.         end
  2069.     end
  2070. end
  2071.  
  2072. function AdvancedChatfunc(Text, Timer, Delay, ChatterSound)
  2073.     local chat = coroutine.wrap(function()
  2074.         if Character:FindFirstChild("SpeechBoard") ~= nil then
  2075.             Character:FindFirstChild("SpeechBoard"):destroy()
  2076.         end
  2077.         local naeeym2 = IT("BillboardGui", Character)
  2078.         naeeym2.Size = UD2(80, 35, 3, 15)
  2079.         naeeym2.StudsOffset = VT(0, 5, 0)
  2080.         naeeym2.Adornee = Head
  2081.         naeeym2.Name = "SpeechBoard"
  2082.         naeeym2.AlwaysOnTop = true
  2083.         local tecks2 = IT("TextLabel", naeeym2)
  2084.         tecks2.BackgroundTransparency = 1
  2085.         tecks2.BorderSizePixel = 0
  2086.         tecks2.Text = ""
  2087.         tecks2.Font = FONTS[MRANDOM(1,#FONTS)]
  2088.         tecks2.TextSize = 35
  2089.         tecks2.TextStrokeTransparency = 0.3
  2090.         tecks2.TextColor3 = C3(0,0,0)
  2091.         tecks2.TextStrokeColor3 = C3(0,0,0)
  2092.         tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  2093.         local FINISHED = false
  2094.         local DONE = false
  2095.         coroutine.wrap(function()
  2096.             while wait() do
  2097.                 tecks2.Font = FONTS[MRANDOM(1,#FONTS)]
  2098.                 tecks2.TextColor3 = C3(0,0,0)
  2099.                 tecks2.TextStrokeColor3 = C3(0,0,0)
  2100.                 if DONE == true then
  2101.                     break
  2102.                 end
  2103.             end
  2104.         end)()
  2105.         coroutine.resume(coroutine.create(function()
  2106.             for i = 1, string.len(Text) do
  2107.                 if naeeym2.Parent ~= Character then
  2108.                     FINISHED = true
  2109.                 end
  2110.                 if ChatterSound ~= false and naeeym2.Parent == Character then
  2111.                     CreateSound(265970978, Head, 7, MRANDOM(-6,12)/4, false)
  2112.                 end
  2113.                 tecks2.Text = string.sub(Text, 1, i)
  2114.                 Swait(Timer)
  2115.             end
  2116.             FINISHED = true
  2117.         end))
  2118.         repeat
  2119.             wait()
  2120.         until FINISHED == true
  2121.         wait(Delay)
  2122.         naeeym2.Name = "FadingDialogue"
  2123.         if Character:FindFirstChild("SpeechBoard") == nil then
  2124.             coroutine.resume(coroutine.create(function()
  2125.                 for i = 1, 35 do
  2126.                     Swait()
  2127.                 end
  2128.             end))
  2129.         end
  2130.         for i = 1, 45 do
  2131.             Swait()
  2132.             naeeym2.StudsOffset = naeeym2.StudsOffset + VT(0, (2 - 0.044444444444444446 * i) / 45, 0)
  2133.             tecks2.TextTransparency = tecks2.TextTransparency + 0.022222222222222223
  2134.             tecks2.TextStrokeTransparency = tecks2.TextTransparency
  2135.         end
  2136.         naeeym2:Destroy()
  2137.         DONE = true
  2138.     end)
  2139.     chat()
  2140. end
  2141.  
  2142. function CheckIntangible(Hit)
  2143.     local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  2144.     if Hit and Hit.Parent then
  2145.         if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  2146.             return true
  2147.         end
  2148.     end
  2149.     return false
  2150. end
  2151.  
  2152. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  2153.     local Direction = CFrame.new(StartPos, Vec).lookVector
  2154.     local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  2155.     local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  2156.     if RayHit and CheckIntangible(RayHit) then
  2157.         if DelayIfHit then
  2158.             wait()
  2159.         end
  2160.         RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  2161.     end
  2162.     return RayHit, RayPos, RayNormal
  2163. end
  2164.  
  2165. function MagicSphere2(size,waitt,cframe,color)
  2166.     local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1))
  2167.     local mesh = IT("SpecialMesh",wave)
  2168.     mesh.MeshType = "Sphere"
  2169.     mesh.Scale = VT(size,size,size)
  2170.     mesh.Offset = VT(0,0,0)
  2171.     wave.CFrame = cframe
  2172.     coroutine.resume(coroutine.create(function(PART)
  2173.         for i = 1, waitt do
  2174.             Swait()
  2175.             mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
  2176.             wave.Transparency = wave.Transparency - (1/waitt)
  2177.         end
  2178.         wave:remove()
  2179.     end))
  2180. end
  2181.  
  2182. function VELOC(Part,Resistance,Position)
  2183.     local GRAV = IT("BodyPosition",Part)
  2184.     GRAV.D = Resistance
  2185.     GRAV.P = 20000
  2186.     GRAV.MaxForce = VT(math.huge,math.huge,math.huge)
  2187.     GRAV.Position = Position
  2188.     return GRAV
  2189. end
  2190.  
  2191. function MakeForm(PART,TYPE)
  2192.     if TYPE == "Cyl" then
  2193.         local MSH = IT("CylinderMesh",PART)
  2194.     elseif TYPE == "Ball" then
  2195.         local MSH = IT("SpecialMesh",PART)
  2196.         MSH.MeshType = "Sphere"
  2197.     elseif TYPE == "Wedge" then
  2198.         local MSH = IT("SpecialMesh",PART)
  2199.         MSH.MeshType = "Wedge"
  2200.     end
  2201. end
  2202.  
  2203. function MakeWings(DoesBurn)
  2204.     local RWING = CreatePart(3, Effects, "Neon", 0, 0.5, "Deep orange", "Right Wing", (VT(2, 3, 2)*1.5),false)
  2205.     local LWING = CreatePart(3, Effects, "Neon", 0, 0.5, "Deep orange", "Left Wing", (VT(2, 3, 2)*1.5),false)
  2206.     CreateMesh("SpecialMesh", RWING, "FileMesh", "90615661", "", VT(1.5,1.5,1.5), VT(0,0,0))
  2207.     CreateMesh("SpecialMesh", LWING, "FileMesh", "90615581", "", VT(1.5,1.5,1.5), VT(0,0,0))
  2208.     local RWELD = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, RWING, CF(2 , 2, 0.75), CF(-3.5, 0, 0))
  2209.     local LWELD = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, LWING, CF(-2 , 2, 0.75), CF(3.5, 0, 0))
  2210.     RWING.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2211.     LWING.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2212.     RWING.Color = FIRECOLOR
  2213.     LWING.Color = FIRECOLOR
  2214.     if DoesBurn == true then
  2215.         local RightWingFire = BurningLimb(RWING)
  2216.         local LeftWingFire = BurningLimb(LWING)
  2217.         return RWING,LWING,RWELD,LWELD,RightWingFire,LeftWingFire
  2218.     else
  2219.         return RWING,LWING,RWELD,LWELD
  2220.     end
  2221. end
  2222.  
  2223. function BurningLimb(Limb)
  2224.     local PRTCL = ParticleEmitter({Speed = 2, Drag = 4, Size1 = 1, Size2 = 0, Lifetime1 = 0.6, Lifetime2 = 1.5, Parent = Limb, Emit = 100, Offset = 360, Enabled = true})
  2225.     PRTCL.Acceleration = VT(0,5,0)
  2226.     PRTCL.ZOffset = 1
  2227.     return PRTCL
  2228. end
  2229.  
  2230. local Particle = IT("ParticleEmitter",nil)
  2231. Particle.Enabled = false
  2232. Particle.LightEmission = 0.5
  2233. Particle.Rate = 150
  2234. Particle.ZOffset = 1
  2235. Particle.Rotation = NumberRange.new(-180, 180)
  2236. Particle.RotSpeed = NumberRange.new(-180, 180)
  2237. Particle.Texture = "http://www.roblox.com/asset/?id=284205403"
  2238. Particle.Color = ColorSequence.new(Color3.new(0,0,0),Color3.new(0,0,0))
  2239.  
  2240. function ParticleEmitter(Table)
  2241.     local PRTCL = Particle:Clone()
  2242.     local Speed = Table.Speed or 5
  2243.     local Drag = Table.Drag or 0
  2244.     local Size1 = Table.Size1 or 1
  2245.     local Size2 = Table.Size2 or 5
  2246.     local Lifetime1 = Table.Lifetime1 or 1
  2247.     local Lifetime2 = Table.Lifetime2 or 1.5
  2248.     local Parent = Table.Parent or Torso
  2249.     local Emit = Table.Emit or 100
  2250.     local Offset = Table.Offset or 360
  2251.     local Acel = Table.Acel or Vector3.new(0,-50,0)
  2252.     local Enabled = Table.Enabled or false
  2253.     PRTCL.Parent = Parent
  2254.     PRTCL.Size = NumberSequence.new(Size1,Size2)
  2255.     PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  2256.     PRTCL.Speed = NumberRange.new(Speed)
  2257.     PRTCL.VelocitySpread = Offset
  2258.     PRTCL.Drag = Drag
  2259.     PRTCL.Acceleration = Acel
  2260.     if Enabled == false then
  2261.         PRTCL:Emit(Emit)
  2262.         game:GetService("Debris"):AddItem(PRTCL,Lifetime2)
  2263.     else
  2264.         PRTCL.Enabled = true
  2265.     end
  2266.     return PRTCL
  2267. end
  2268.  
  2269. function ShakeCam(Length,Intensity)
  2270.     coroutine.resume(coroutine.create(function()
  2271.         local intensity = 1 * Intensity
  2272.         local rotM = 0.01 * Intensity
  2273.         for i = 0, Length, 0.1 do
  2274.             Swait()
  2275.             intensity = intensity - 0.05 * Intensity / Length
  2276.             rotM = rotM - 5.0E-4 * Intensity / Length
  2277.             Humanoid.CameraOffset = Vector3.new(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)))
  2278.             Cam.CFrame = Cam.CFrame * CF(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity))) * EULER(RAD(MRANDOM(-intensity, intensity)) * rotM, RAD(MRANDOM(-intensity, intensity)) * rotM, RAD(MRANDOM(-intensity, intensity)) * rotM)
  2279.         end
  2280.         Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  2281.     end))
  2282. end
  2283.  
  2284. --//=================================\\
  2285. --||         WEAPON CREATION
  2286. --\\=================================//
  2287.  
  2288. local WEAPONGUI = IT("ScreenGui",PlayerGui)
  2289. local ATTACKSFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
  2290. local TEXT = CreateLabel(ATTACKSFRAME, "[BANISH]", Color3.fromRGB(255,215,0), 8.5,  Enum.Font.SourceSansBold, 0, 2, 0.5, "W E A P O N T E X T L A B E L")
  2291.  
  2292. local Sword = IT("Part")
  2293. Sword.Size = VT(0.2,5.25,0.75)
  2294. Sword.Anchored = false
  2295. Sword.CanCollide = false
  2296. Sword.Transparency = 1
  2297. local athp = Instance.new("Attachment",Sword)
  2298. local atho = Instance.new("Attachment",Sword)
  2299. if Character[ToolName] then
  2300.     if workspace[Player.Name][ToolName].Handle:FindFirstChildOfClass("Weld") then workspace[Player.Name][ToolName].Handle:FindFirstChildOfClass("Weld"):Destroy() end
  2301.     Character[ToolName].Handle:FindFirstChildOfClass("AlignPosition").Attachment1 = athp
  2302.     Character[ToolName].Handle:FindFirstChildOfClass("AlignOrientation").Attachment1 = atho
  2303. end
  2304. athp.Position = Vector3.new(0,0.75,0)
  2305. atho.Rotation = Vector3.new(-135,90,0)
  2306.  
  2307. local SwordMesh = IT("SpecialMesh",Sword)
  2308. SwordMesh.MeshId = "rbxassetid://416669243"
  2309. SwordMesh.TextureId = "rbxassetid://416669357"
  2310. local Attachment0 = IT("Attachment",Sword)
  2311. Attachment0.Name = "Attachment0"
  2312. Attachment0.Position = VT(0,-0.753,0)
  2313. local Attachment1 = IT("Attachment",Sword)
  2314. Attachment1.Name = "Attachment1"
  2315. Attachment1.Position = VT(0,2.657,0)
  2316. local Trail = IT("Trail",Sword)
  2317. Trail.Lifetime = 2.5
  2318. Trail.Transparency = NumberSequence.new(0.25,1)
  2319. Trail.Attachment0 = Attachment0
  2320. Trail.Attachment1 = Attachment1
  2321. Trail.Enabled = false
  2322. Trail.Color = ColorSequence.new(C3(1,1,0))
  2323. Trail.Texture = "rbxassetid://1978704853"
  2324. local Particle = IT("ParticleEmitter",Sword)
  2325. Particle.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.fromRGB(255,255,0)),ColorSequenceKeypoint.new(1,Color3.fromRGB(255,255,255))})
  2326. Particle.LightEmission = 1
  2327. Particle.LightInfluence = 0
  2328. Particle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.5),NumberSequenceKeypoint.new(1,1.5)})
  2329. Particle.Texture = "rbxassetid://243660373"
  2330. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.1,0.5),NumberSequenceKeypoint.new(0.8,0.5),NumberSequenceKeypoint.new(1,1)})
  2331. Particle.EmissionDirection = Enum.NormalId.Top
  2332. Particle.Lifetime = NumberRange.new(1,1)
  2333. Particle.Rate = NumberRange.new(0,0)
  2334. Particle.Rate = NumberRange.new(0,0)
  2335. Particle.Rate = NumberRange.new(0,0)
  2336. Particle.Rate = Vector2.new(0,0)
  2337. Particle.Enabled = true
  2338. local Light = IT("PointLight",Sword)
  2339. Light.Brightness = 5
  2340. Light.Range = 5
  2341. Light.Color = C3(1,1,0)
  2342.  
  2343. local SwordGrip = CreateWeldOrSnapOrMotor("Weld", Sword, RightArm, Sword, CF(0, -1, -2)*ANGLES(RAD(-90),RAD(0),RAD(0)), CF(0, 0, 0))
  2344. Sword.Parent = Character
  2345. LIGHTNING:Clone().Parent = Sword
  2346.  
  2347. local Gun = IT("Part")
  2348. Gun.Size = VT(0.51,1.18,1.35)
  2349. Gun.Anchored = false
  2350. Gun.CanCollide = false
  2351. local GunMesh = IT("SpecialMesh",Gun)
  2352. GunMesh.MeshId = "rbxassetid://95356090"
  2353. GunMesh.TextureId = "rbxassetid://126534866"
  2354. GunMesh.Scale = VT(1.8,1.8,1.8)
  2355. local Particle = IT("ParticleEmitter",Gun)
  2356. Particle.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.fromRGB(255,255,0)),ColorSequenceKeypoint.new(1,Color3.fromRGB(255,255,255))})
  2357. Particle.LightEmission = 1
  2358. Particle.LightInfluence = 0
  2359. Particle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.5),NumberSequenceKeypoint.new(1,1.5)})
  2360. Particle.Texture = "rbxassetid://243660373"
  2361. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.1,0.5),NumberSequenceKeypoint.new(0.8,0.5),NumberSequenceKeypoint.new(1,1)})
  2362. Particle.EmissionDirection = Enum.NormalId.Top
  2363. Particle.Lifetime = NumberRange.new(1,1)
  2364. Particle.Rate = NumberRange.new(0,0)
  2365. Particle.Rate = NumberRange.new(0,0)
  2366. Particle.Rate = NumberRange.new(0,0)
  2367. Particle.Rate = Vector2.new(0,0)
  2368. Particle.Enabled = true
  2369. local Hole = IT("Part",Gun)
  2370. Hole.Size = VT(0.05,0.05,0.05)
  2371. Hole.Anchored = false
  2372. Hole.CanCollide = false
  2373. Hole.Transparency = 1
  2374. CreateWeldOrSnapOrMotor("Weld", Hole, Hole, Gun, CF(0, -0.4, 0.75)*ANGLES(RAD(0),RAD(0),RAD(0)), CF(0, 0, 0))
  2375.  
  2376. local GunGrip = CreateWeldOrSnapOrMotor("Weld", Gun, LeftArm, Gun, CF(0, -1.5, 0)*ANGLES(RAD(-90),RAD(0),RAD(0)), CF(0, 0, 0))
  2377. Gun.Parent = Character
  2378. LIGHTNING:Clone().Parent = Gun
  2379.  
  2380. local PlayerSize = 1
  2381. local FT,FRA,FLA,FRL,FLL = Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh")
  2382. FT.MeshId,FT.Scale = "rbxasset://fonts/torso.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
  2383. FRA.MeshId,FRA.Scale = "rbxasset://fonts/rightarm.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
  2384. FLA.MeshId,FLA.Scale = "rbxasset://fonts/leftarm.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
  2385. FRL.MeshId,FRL.Scale = "rbxasset://fonts/rightleg.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
  2386. FLL.MeshId,FLL.Scale = "rbxasset://fonts/leftleg.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
  2387.  
  2388. --//=================================\\
  2389. --||            DAMAGING
  2390. --\\=================================//
  2391.  
  2392. function Kill(dude)
  2393. coroutine.resume(coroutine.create(function()
  2394. if dude and dude.Name ~= Character.Name and dude.Name ~= Player.Name then
  2395. local h = dude:FindFirstChildOfClass("Humanoid")
  2396. local t = dude:FindFirstChild("Torso") or dude:FindFirstChild("UpperTorso") or dude:FindFirstChild("HumanoidRootPart")
  2397. local deathp = Instance.new("Part",Effects) deathp.Anchored = true deathp.Size = Vector3.new() deathp.Transparency = 1 deathp.CanCollide = false deathp.CFrame = t.CFrame
  2398. coroutine.wrap(function()
  2399. deathp:Destroy()
  2400. end)
  2401. if h then
  2402. if dude then
  2403. CreateSound(206082273, deathp, 5, .75)
  2404. ShakeCam(1,10)
  2405. for i = 0, math.random(3,7) do
  2406. WACKYEFFECT({Time = math.random(36.25,91.25), EffectType = "Sphere", Size = Vector3.new(2.5,2.5,2.5), Size2 = Vector3.new(1.25,20,1.25), Transparency = 0, Transparency2 = 1, CFrame = deathp.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))), MoveToPos = nil, RotationX = nil, RotationY = nil, RotationZ = nil, Material = "Neon", Color = Color3.new(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  2407. end
  2408. WACKYEFFECT({Time = math.random(18,20.5), EffectType = "Sphere", Size = Vector3.new(2.5,2.5,2.5), Size2 = Vector3.new(10,10,10), Transparency = 0.6, Transparency2 = 1, CFrame = deathp.CFrame, MoveToPos = nil, RotationX = nil, RotationY = nil, RotationZ = nil, Material = "Neon", Color = Color3.new(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  2409. for i = 0, math.random(5,9) do
  2410. WACKYEFFECT({Time = math.random(9,10.25), EffectType = "Sphere", Size = Vector3.new(4.5,4.5,4.5), Size2 = Vector3.new(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = deathp.CFrame, MoveToPos = deathp.CFrame*CFrame.new(math.random(-95,95),math.random(-95,95),math.random(-95,95)).p, RotationX = nil, RotationY = nil, RotationZ = nil, Material = "Neon", Color = Color3.new(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 45, SizeBoomerang = 40})
  2411. end
  2412. end
  2413. end
  2414. end
  2415. end))
  2416. end
  2417.  
  2418. function ApplyAoE(POSITION,RANGE)
  2419.     for index, CHILD in pairs(workspace:GetDescendants()) do
  2420.         if CHILD.ClassName == "Model" and CHILD ~= Character then
  2421.             local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2422.             if HUM then
  2423.                 local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2424.                 if TORSO then
  2425.                     if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2426.                         Kill(CHILD)
  2427.                     end
  2428.                 end
  2429.             end
  2430.         end
  2431.     end
  2432. end
  2433.  
  2434. --//=================================\\
  2435. --||    ATTACK FUNCTIONS AND STUFF
  2436. --\\=================================//
  2437.  
  2438. function Sprint()
  2439.     Speed = 30
  2440.     RUNNING = true
  2441. end
  2442.  
  2443. function ToggleWeapon(TYPE)
  2444.     ATTACK = true
  2445.     Speed = 3
  2446.     if TYPE == "Sword" then
  2447.         if SWORDEQUIPPED == false then
  2448.             for i = 0, 9 do
  2449.                 slash(math.random(10,50)/10,3,true,"Round","Add","Out",RootPart.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-360,360)),math.rad(math.random(-10,10))),VT(0.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White"))
  2450.             end
  2451.             CreateSound(1368637781,Torso,10,1,false)
  2452.             CreateSound(200633077,Torso,10,1,false)
  2453.             CreateSound(169380495,Torso,10,1,false)
  2454.             sphere2(5,"Add",RootPart.CFrame,VT(5,5,5),0.25,0.25,0.25,BrickColor.new("New Yeller"),BrickColor.new("New Yeller").Color)
  2455.             sphere2(6,"Add",RootPart.CFrame,VT(5,5,5),0.25,0.25,0.25,BrickColor.new("New Yeller"),BrickColor.new("New Yeller").Color)
  2456.             for i = 0, 2, 0.1 do
  2457.                 swait()
  2458.                 ShakeCam(1,10)
  2459.                 sphere2(5,"Add",Sword.CFrame*CFrame.new(math.random(-8,-2),0,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(0.1,0.1,0.1),0,0.1,0,BrickColor.new("New Yeller"),BrickColor.new("New Yeller").Color)
  2460.                 waveEff(5,"Add","Out",RootPart.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,math.rad(math.random(-360,360)),0),VT(5,0.25,5),0.05,0.015,BrickColor.new("New Yeller"))
  2461.                 waveEff(5,"Add","Out",RootPart.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,math.rad(math.random(-360,360)),0),VT(10,0.25,10),0.05,0.015,BrickColor.new("New Yeller"))
  2462.                 RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 3)
  2463.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-15)), 1 / 3)
  2464.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.35, 0.7, -0.7) * ANGLES(RAD(210), RAD(0), RAD(-60)) * RIGHTSHOULDERC0, 1 / 3)
  2465.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.45, -0.35) * ANGLES(RAD(20), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / 3)
  2466.                 RightHip.C0 = Clerp(RightHip.C0, CF(1, -1.02, -0.01) * ANGLES(RAD(10), RAD(55), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / 3)
  2467.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / 3)
  2468.             end
  2469.             SWORDEQUIPPED = true
  2470.             for i = 0, 2, 0.1 do
  2471.                 swait()
  2472.                 sphere2(5,"Add",Sword.CFrame*CFrame.new(math.random(-8,-2),0,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(0.1,0.1,0.1),0,0.1,0,BrickColor.new("New Yeller"),BrickColor.new("New Yeller").Color)
  2473.                 RightHip.C0=Clerp(RightHip.C0,CF(1,-1,0)*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(-3),math.rad(-40),math.rad(0)),.2)
  2474.                 LeftHip.C0=Clerp(LeftHip.C0,CF(-1,-1,0)*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(-3),math.rad(1),math.rad(5)),.2)
  2475.                 RootJoint.C0=Clerp(RootJoint.C0,ROOTC0*CF(0.1,0.1,0)*ANGLES(math.rad(0),math.rad(0),math.rad(40)),.3)
  2476.                 Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(math.rad(2),math.rad(0),math.rad(-40)),.3)
  2477.                 RightShoulder.C0=Clerp(RightShoulder.C0,CF(1.25,0,-0.65)*ANGLES(math.rad(100),math.rad(180),math.rad(-23)),.3)
  2478.                 LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-1.45,1,0.1)*ANGLES(math.rad(110),math.rad(0),math.rad(-85)),.3)
  2479.             end
  2480.             local hitb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.new("New Yeller"))
  2481.             hitb.Anchored = true
  2482.             hitb.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*4
  2483.             slash(5,5,true,"Round","Add","Out",hitb.CFrame*CFrame.Angles(0,math.rad(math.random(-360,360)),0),VT(0.05,0.01,0.05),0.01,BrickColor.new("New Yeller"))
  2484.             CreateSound(200633196,Torso,10,1,false)
  2485.             CreateSound(200633108,Torso,10,1,false)
  2486.             CreateSound(234365549,Torso,10,1,false)
  2487.             for i = 0, 2, 0.1 do
  2488.                 swait()
  2489.                 ApplyAoE(Sword.Position,5)
  2490.                 sphere2(5,"Add",Sword.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(0.1,0.1,0.1),0,0.1,0,BrickColor.new("New Yeller"),BrickColor.new("New Yeller").Color)
  2491.                 RightHip.C0=Clerp(RightHip.C0,CF(1,-1,0)*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(-3),math.rad(0),math.rad(-20)),.2)
  2492.                 LeftHip.C0=Clerp(LeftHip.C0,CF(-1,-1,0)*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(-3),math.rad(50),math.rad(0)),.2)
  2493.                 RootJoint.C0=Clerp(RootJoint.C0,ROOTC0*CF(-0.1,-0.25,0)*ANGLES(math.rad(10),math.rad(0),math.rad(-50)),.3)
  2494.                 Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(math.rad(2),math.rad(0),math.rad(50)),.3)
  2495.                 RightShoulder.C0=Clerp(RightShoulder.C0,CF(1.45,0.5,0.1)*ANGLES(math.rad(-80),math.rad(0),math.rad(70)),.3)
  2496.                 LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-1.45,0.5,0.1)*ANGLES(math.rad(100),math.rad(0),math.rad(-50)),.3)
  2497.             end
  2498.             hitb:Destroy()
  2499.         else
  2500.             CreateSound(200633077,Torso,10,1,false)
  2501.             for i=0, 0.5, 0.1 / 3 do
  2502.                 Swait()
  2503.                 sphere2(5,"Add",Sword.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(0.1,0.1,0.1),0,0.1,0,BrickColor.new("New Yeller"),BrickColor.new("New Yeller").Color)
  2504.                 RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 3)
  2505.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-15)), 1 / 3)
  2506.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.35, 0.7, -0.7) * ANGLES(RAD(210), RAD(0), RAD(-60)) * RIGHTSHOULDERC0, 1 / 3)
  2507.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.45, -0.35) * ANGLES(RAD(20), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / 3)
  2508.                 RightHip.C0 = Clerp(RightHip.C0, CF(1, -1.02, -0.01) * ANGLES(RAD(10), RAD(55), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / 3)
  2509.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / 3)
  2510.             end
  2511.             SWORDEQUIPPED = false
  2512.         end
  2513.     elseif TYPE == "Gun" then
  2514.         if GUNEQUIPPED == false then
  2515.             GUNEQUIPPED = true
  2516.             CreateSound(1368637781,Torso,10,1,false)
  2517.             CreateSound(200633077,Torso,10,1,false)
  2518.             CreateSound(169380495,Torso,10,1,false)
  2519.             sphere2(5,"Add",Gun.CFrame,VT(5,5,5),0.25,0.25,0.25,BrickColor.new("New Yeller"),BrickColor.new("New Yeller").Color)
  2520.             sphere2(6,"Add",Gun.CFrame,VT(5,5,5),0.25,0.25,0.25,BrickColor.new("New Yeller"),BrickColor.new("New Yeller").Color)
  2521.             ShakeCam(1,10)
  2522.             sphere2(5,"Add",Gun.CFrame*CFrame.new(math.random(-8,-2),0,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(0.1,0.1,0.1),0,0.1,0,BrickColor.new("New Yeller"),BrickColor.new("New Yeller").Color)
  2523.             waveEff(5,"Add","Out",Gun.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,math.rad(math.random(-360,360)),0),VT(5,0.25,5),0.05,0.015,BrickColor.new("New Yeller"))
  2524.             waveEff(5,"Add","Out",Gun.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,math.rad(math.random(-360,360)),0),VT(10,0.25,10),0.05,0.015,BrickColor.new("New Yeller"))
  2525.         else
  2526.             sphere2(5,"Add",LeftArm.CFrame*CF(0,-1,0),VT(1,1,1),0.25,0.25,0.25,BrickColor.new("New Yeller"),BrickColor.new("New Yeller").Color)
  2527.             sphere2(6,"Add",Gun.CFrame,VT(1,1,1),0.25,0.25,0.25,BrickColor.new("New Yeller"),BrickColor.new("New Yeller").Color)
  2528.             sphere2(5,"Add",Gun.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(0.1,0.1,0.1),0,0.1,0,BrickColor.new("New Yeller"),BrickColor.new("New Yeller").Color)
  2529.             CreateSound(200633077,Torso,10,1,false)
  2530.             GUNEQUIPPED = false
  2531.         end
  2532.     end
  2533.     ATTACK = false
  2534.     Speed = 15
  2535. end
  2536.  
  2537. function SlashOne()
  2538.     ATTACK = true
  2539.     Speed = 3
  2540.     Trail.Enabled = true
  2541.     for i = 0, 2, 0.1 do
  2542.         swait()
  2543.         sphere2(5,"Add",Sword.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(0.1,0.1,0.1),0,0.1,0,BrickColor.new("New Yeller"),BrickColor.new("New Yeller").Color)
  2544.         RightShoulder.C0=Clerp(RightShoulder.C0,CF(1,-1,0)*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(-3),math.rad(-40),math.rad(0)),.2)
  2545.         LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-1,-1,0)*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(-3),math.rad(1),math.rad(5)),.2)
  2546.         RootJoint.C0=Clerp(RootJoint.C0,ROOTC0*CF(0.1,0.1,0)*ANGLES(math.rad(0),math.rad(0),math.rad(40)),.3)
  2547.         Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(math.rad(2),math.rad(0),math.rad(-40)),.3)
  2548.         RightShoulder.C0=Clerp(RightShoulder.C0,CF(1.25,0.5,-0.65)*ANGLES(math.rad(100),math.rad(0),math.rad(-23))*ANGLES(RAD(0),RAD(180),RAD(0)),.3)
  2549.         LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-1.45,1,0.1)*ANGLES(math.rad(110),math.rad(0),math.rad(-85))*ANGLES(RAD(0),RAD(-90),RAD(0)),.3)
  2550.     end
  2551.     local hitb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.Random())
  2552.     hitb.Anchored = true
  2553.     hitb.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*4
  2554.     CreateSound(200633196,Torso,10,1,false)
  2555.     CreateSound(200633108,Torso,10,1.5,false)
  2556.     CreateSound(234365549,Torso,10,1,false)
  2557.     for i = 0, 1, 0.1 do
  2558.         swait()
  2559.         sphere2(5,"Add",Sword.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(0.1,0.1,0.1),0,0.1,0,BrickColor.new("New Yeller"),BrickColor.new("New Yeller").Color)
  2560.         ApplyAoE(Sword.Position,5)
  2561.         RightShoulder.C0=Clerp(RightShoulder.C0,CF(1,-1,0)*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(-3),math.rad(0),math.rad(-20)),.2)
  2562.         LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-1,-1,0)*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(-3),math.rad(50),math.rad(0)),.2)
  2563.         RootJoint.C0=Clerp(RootJoint.C0,ROOTC0*CF(-0.1,-0.25,0)*ANGLES(math.rad(10),math.rad(0),math.rad(-50)),.3)
  2564.         Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(math.rad(2),math.rad(0),math.rad(50)),.3)
  2565.         RightShoulder.C0=Clerp(RightShoulder.C0,CF(1.45,0.5,0.1)*ANGLES(math.rad(80),math.rad(0),math.rad(70))*ANGLES(RAD(0),RAD(90),RAD(0)),.3)
  2566.         LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-1.45,1,0.1)*ANGLES(math.rad(100),math.rad(0),math.rad(-50))*ANGLES(RAD(0),RAD(-90),RAD(0)),.3)
  2567.     end
  2568.     hitb:Destroy()
  2569.     ATTACK = false
  2570.     Speed = 15
  2571.     Trail.Enabled = false
  2572. end
  2573.  
  2574. function SlashTwo()
  2575.     ATTACK = true
  2576.     Speed = 3
  2577.     Trail.Enabled = true
  2578.     for i = 0, 1, 0.1 do
  2579.         swait()
  2580.         sphere2(5,"Add",Sword.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(0.1,0.1,0.1),0,0.1,0,BrickColor.new("New Yeller"),BrickColor.new("New Yeller").Color)
  2581.         RightShoulder.C0=Clerp(RightShoulder.C0,CF(1,-1,0)*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(-3),math.rad(0),math.rad(0)),.2)
  2582.         LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-1,-1,0)*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(-3),math.rad(20),math.rad(5)),.2)
  2583.         RootJoint.C0=Clerp(RootJoint.C0,ROOTC0*CF(-0.1,0.1,0)*ANGLES(math.rad(0),math.rad(0),math.rad(-40)),.3)
  2584.         Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(math.rad(2),math.rad(0),math.rad(40)),.3)
  2585.         RightShoulder.C0=Clerp(RightShoulder.C0,CF(1.25,2,-0.65)*ANGLES(math.rad(100),math.rad(0),math.rad(-23)),.3)
  2586.         LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-0.5,2,-0.25)*ANGLES(math.rad(90),math.rad(0),math.rad(40)),.3)
  2587.     end
  2588.     local hitb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.Random())
  2589.     hitb.Anchored = true
  2590.     hitb.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*4
  2591.     CreateSound(200633281,Torso,10,1,false)
  2592.     CreateSound(161006195,Torso,10,1.5,false)
  2593.     for i = 0, 1, 0.1 do
  2594.         swait()
  2595.         sphere2(5,"Add",Sword.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(0.1,0.1,0.1),0,0.1,0,BrickColor.new("New Yeller"),BrickColor.new("New Yeller").Color)
  2596.         ApplyAoE(Sword.Position,5)
  2597.         RightShoulder.C0=Clerp(RightShoulder.C0,CF(1,-1,0)*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(-3),math.rad(-30),math.rad(0)),.2)
  2598.         LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-1,-1,0)*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(-3),math.rad(0),math.rad(20)),.2)
  2599.         RootJoint.C0=Clerp(RootJoint.C0,ROOTC0*CF(0.2,-0.25,0)*ANGLES(math.rad(10),math.rad(0),math.rad(90)),.3)
  2600.         Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(math.rad(2),math.rad(0),math.rad(-90)),.3)
  2601.         RightShoulder.C0=Clerp(RightShoulder.C0,CF(1.45,0.5,0.1)*ANGLES(math.rad(80),math.rad(0),math.rad(20))*ANGLES(RAD(0),RAD(90),RAD(0)),.3)
  2602.         LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-1.45,1,0.1)*ANGLES(math.rad(100),math.rad(0),math.rad(-50))*ANGLES(RAD(0),RAD(-90),RAD(0)),.3)
  2603.     end
  2604.     ATTACK = false
  2605.     Speed = 15
  2606.     Trail.Enabled = false
  2607. end
  2608.  
  2609. function SlashThree()
  2610.     ATTACK = true
  2611.     Speed = 3
  2612.     Trail.Enabled = true
  2613.     for i = 0, 1, 0.1 do
  2614.         swait()
  2615.         sphere2(5,"Add",Sword.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(0.1,0.1,0.1),0,0.1,0,BrickColor.new("New Yeller"),BrickColor.new("New Yeller").Color)
  2616.         RightShoulder.C0=Clerp(RightShoulder.C0,CF(1,-1,0)*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(-3),math.rad(-30),math.rad(0)),.2)
  2617.         LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-1,-1,0)*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(-3),math.rad(0),math.rad(5)),.2)
  2618.         RootJoint.C0=Clerp(RootJoint.C0,ROOTC0*CF(-0.1,0.1,0)*ANGLES(math.rad(0),math.rad(0),math.rad(-60)),.3)
  2619.         Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(math.rad(2),math.rad(0),math.rad(60)),.3)
  2620.         RightShoulder.C0=Clerp(RightShoulder.C0,CF(1.5,0.5,0)*ANGLES(math.rad(-30),math.rad(0),math.rad(53))*ANGLES(RAD(0),RAD(0),RAD(0)),.3)
  2621.         LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-1.5,1,0)*ANGLES(math.rad(10),math.rad(0),math.rad(-10))*ANGLES(RAD(0),RAD(0),RAD(0)),.3)
  2622.     end
  2623.     for x = 0, 2 do
  2624.         CreateSound(200633108,Torso,10,1,false)
  2625.         CreateSound(234365573,Torso,10,1,false)
  2626.         local hitb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.Random())
  2627.         hitb.Anchored = true
  2628.         hitb.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*4
  2629.         for i = 0, 1, 1 do
  2630.             swait()
  2631.             sphere2(5,"Add",Sword.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(0.1,0.1,0.1),0,0.1,0,BrickColor.new("New Yeller"),BrickColor.new("New Yeller").Color)
  2632.             ApplyAoE(Sword.Position,5)
  2633.             RightShoulder.C0=Clerp(RightShoulder.C0,CF(1,-1,0)*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(-3),math.rad(0),math.rad(-10)),.2)
  2634.             LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-1,-1,0)*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(-3),math.rad(40),math.rad(20)),.2)
  2635.             RootJoint.C0=Clerp(RootJoint.C0,ROOTC0*CF(0.2,-0.25,0)*ANGLES(math.rad(-2),math.rad(0),math.rad(80)),.3)
  2636.             Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(math.rad(4),math.rad(0),math.rad(-80)),.3)
  2637.             RightShoulder.C0=Clerp(RightShoulder.C0,CF(1.45,2,0.1)*ANGLES(math.rad(90),math.rad(0),math.rad(80))*ANGLES(RAD(0),RAD(0),RAD(0)),.3)
  2638.             LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-1.45,2,0.1)*ANGLES(math.rad(10),math.rad(0),math.rad(-20))*ANGLES(RAD(0),RAD(0),RAD(0)),.3)
  2639.         end
  2640.     end
  2641.     ATTACK = false
  2642.     Speed = 15
  2643.     Trail.Enabled = false
  2644. end
  2645.  
  2646. function attackone()
  2647.     ATTACK = true
  2648.     CreateSound(136007472,Torso,10,1,false)
  2649. for i = 0,2,0.1 do
  2650. swait()
  2651. slash(math.random(30,60)/10,5,true,"Round","Add","In",RootPart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(0.5,0.01,0.5),-0.5,BrickColor.new("New Yeller"))
  2652. RightHip.C0=Clerp(RightHip.C0,CF(1,-1 - 0.05 * math.cos(SINE / 28),0)*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
  2653. LeftHip.C0=Clerp(LeftHip.C0,CF(-1,-1 - 0.05 * math.cos(SINE / 28),0)*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
  2654. RootJoint.C0=Clerp(RootJoint.C0,ROOTC0*CF(0,-0.3,-0.15)*ANGLES(math.rad(30),math.rad(0),math.rad(0)),.2)
  2655. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(SINE / 0.2))),.2)
  2656. RightShoulder.C0=Clerp(RightShoulder.C0,CF(1.05,0.4,-0.5)*ANGLES(math.rad(140),math.rad(0),math.rad(-50)),.2)
  2657. LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-1.05,0.4,-0.5)*ANGLES(math.rad(140),math.rad(0),math.rad(50)),.2)
  2658. end
  2659. for i = 0, 24 do
  2660. sphere2(2,"Add",Torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(1,1,1),-0.01,7,-0.01,BrickColor.new("New Yeller"))
  2661. slash(math.random(10,30)/10,5,true,"Round","Add","Out",RootPart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(0.01,0.01,0.01),math.random(150,350)/250,BrickColor.new("White"))
  2662. end
  2663. ApplyAoE(RootPart.Position,55)
  2664. for i = 0, 24 do
  2665. sphere2(2,"Add",Torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(1,1,1),-0.01,7,-0.01,BrickColor.new("New Yeller"))
  2666. slash(math.random(10,30)/10,5,true,"Round","Add","Out",RootPart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(0.01,0.01,0.01),math.random(150,350)/250,BrickColor.new("White"))
  2667. end
  2668. ShakeCam(1,10)
  2669. CreateSound(206082327,Torso,10,1,false)
  2670. CreateSound(847061203,Torso,10,1,false)
  2671. CreateSound(239000203,Torso,10,1,false)
  2672. CreateSound(579687077,Torso,10,1,false)
  2673. CreateSound(1368637781,Torso,10,1,false)
  2674. CreateSound(763718160,Torso,10,1,false)
  2675. CreateSound(782353443,Torso,10,1,false)
  2676. for i = 0,2,0.1 do
  2677. swait()
  2678. RightHip.C0=Clerp(RightHip.C0,CF(1,-1 - 0.05 * math.cos(SINE / 28),0)*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(-2.5),math.rad(0),math.rad(-30)),.5)
  2679. LeftHip.C0=Clerp(LeftHip.C0,CF(-1,-1 - 0.05 * math.cos(SINE / 28),0)*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(-2.5),math.rad(0),math.rad(30)),.5)
  2680. RootJoint.C0=Clerp(RootJoint.C0,ROOTC0*CF(0,0.3,-0.15)*ANGLES(math.rad(-30),math.rad(0),math.rad(0)),.5)
  2681. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(SINE / 0.2))),.5)
  2682. RightShoulder.C0=Clerp(RightShoulder.C0,CF(1.45,0.4,0)*ANGLES(math.rad(-20),math.rad(0 - 2 * math.cos(SINE / 0.2)),math.rad(80 + 2 * math.cos(SINE / 0.2))),.5)
  2683. LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-1.45,0.4,0)*ANGLES(math.rad(-20),math.rad(0 + 2 * math.cos(SINE / 0.2)),math.rad(-80 - 2 * math.cos(SINE / 0.2))),.5)
  2684. end
  2685.     ATTACK = false
  2686.     Speed = 15
  2687. end
  2688.  
  2689. function attacktwo()
  2690.     ATTACK = true
  2691. local savespeed = Speed
  2692. Speed = 3
  2693. local keptcolor = BrickColor.new("New Yeller")
  2694. CreateSound(847061203,Torso,10,1,false)
  2695. sphere2(5,"Add",RightArm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),VT(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  2696. sphere2(5,"Add",RightArm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),VT(1,1,1),0.2,0.2,0.2,keptcolor,keptcolor.Color)
  2697. for i = 0, 14 do
  2698. PixelBlock(1,math.random(1,3),"Add",RightArm.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,keptcolor,0)
  2699. end
  2700. for i = 0,1,0.1 do
  2701. swait()
  2702. sphere2(8,"Add",LeftArm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),VT(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  2703. RightHip.C0=Clerp(RightHip.C0,CF(1,-1,0)*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(-2.5),math.rad(0),math.rad(-5)),.3)
  2704. LeftHip.C0=Clerp(LeftHip.C0,CF(-1,-1,0)*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(-2.5),math.rad(30),math.rad(0)),.3)
  2705. RootJoint.C0=Clerp(RootJoint.C0,ROOTC0*CF(0,0,0)*ANGLES(math.rad(0),math.rad(0),math.rad(60)),.3)
  2706. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(math.rad(20),math.rad(0),math.rad(-30)),.3)
  2707. RightShoulder.C0=Clerp(RightShoulder.C0,CF(1.15,0.5,-0.5)*ANGLES(math.rad(90),math.rad(0),math.rad(-60)),.3)
  2708. LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-1.15,0.5,0)*ANGLES(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  2709. end
  2710. for i = 0, 1 do
  2711. CreateSound(763755889,Torso,10,1,false)
  2712. for i = 0,1,0.6 do
  2713. swait()
  2714. sphere2(8,"Add",RightArm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),VT(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  2715. slash(math.random(15,30)/10,5,true,"Round","Add","Out",RootPart.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),VT(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  2716. RightHip.C0=Clerp(RightHip.C0,CF(1,-1,0)*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  2717. LeftHip.C0=Clerp(LeftHip.C0,CF(-1,-1,0)*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  2718. RootJoint.C0=Clerp(RootJoint.C0,ROOTC0*CF(0,0,0)*ANGLES(math.rad(0),math.rad(0),math.rad(0)),.6)
  2719. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(math.rad(20),math.rad(0),math.rad(-30)),.6)
  2720. RightShoulder.C0=Clerp(RightShoulder.C0,CF(1.15,0.5,-0.5)*ANGLES(math.rad(90),math.rad(0),math.rad(-60)),.6)
  2721. LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-1.15,0.5,0)*ANGLES(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  2722. end
  2723. for i = 0,1,0.6 do
  2724. swait()
  2725. sphere2(8,"Add",RightArm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),VT(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  2726. slash(math.random(15,30)/10,5,true,"Round","Add","Out",RootPart.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),VT(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  2727. RightHip.C0=Clerp(RightHip.C0,CF(1,-1,0)*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  2728. LeftHip.C0=Clerp(LeftHip.C0,CF(-1,-1,0)*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  2729. RootJoint.C0=Clerp(RootJoint.C0,ROOTC0*CF(0,0,0)*ANGLES(math.rad(0),math.rad(0),math.rad(-90)),.6)
  2730. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(math.rad(20),math.rad(0),math.rad(-30)),.6)
  2731. RightShoulder.C0=Clerp(RightShoulder.C0,CF(1.15,0.5,-0.5)*ANGLES(math.rad(90),math.rad(0),math.rad(-60)),.6)
  2732. LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-1.15,0.5,0)*ANGLES(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  2733. end
  2734. for i = 0,1,0.6 do
  2735. swait()
  2736. sphere2(8,"Add",RightArm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),VT(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  2737. slash(math.random(15,30)/10,5,true,"Round","Add","Out",RootPart.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),VT(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  2738. RightHip.C0=Clerp(RightHip.C0,CF(1,-1,0)*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  2739. LeftHip.C0=Clerp(LeftHip.C0,CF(-1,-1,0)*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  2740. RootJoint.C0=Clerp(RootJoint.C0,ROOTC0*CF(0,0,0)*ANGLES(math.rad(0),math.rad(0),math.rad(-180)),.6)
  2741. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(math.rad(20),math.rad(0),math.rad(-30)),.6)
  2742. RightShoulder.C0=Clerp(RightShoulder.C0,CF(1.15,0.5,-0.5)*ANGLES(math.rad(90),math.rad(0),math.rad(-60)),.6)
  2743. LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-1.15,0.5,0)*ANGLES(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  2744. end
  2745. for i = 0,1,0.6 do
  2746. swait()
  2747. sphere2(8,"Add",RightArm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),VT(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  2748. slash(math.random(15,30)/10,5,true,"Round","Add","Out",RootPart.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),VT(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  2749. RightHip.C0=Clerp(RightHip.C0,CF(1,-1,0)*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  2750. LeftHip.C0=Clerp(LeftHip.C0,CF(-1,-1,0)*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  2751. RootJoint.C0=Clerp(RootJoint.C0,ROOTC0*CF(0,0,0)*ANGLES(math.rad(0),math.rad(0),math.rad(-270)),.6)
  2752. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(math.rad(20),math.rad(0),math.rad(-30)),.6)
  2753. RightShoulder.C0=Clerp(RightShoulder.C0,CF(1.15,0.5,-0.5)*ANGLES(math.rad(90),math.rad(0),math.rad(-60)),.6)
  2754. LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-1.15,0.5,0)*ANGLES(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  2755. end
  2756. local rot = 0
  2757. local dis = CreateParta(Effects,0.5,1,"Neon",keptcolor)
  2758. CreateSound(763718160,Torso,10,1,false)
  2759. dis.CFrame = RootPart.CFrame*CFrame.new(0,2,-3)
  2760. createmesh(dis,"Sphere",10,1,10)
  2761. local at1 = Instance.new("Attachment",dis)
  2762. at1.Position = VT(-5,0,0)
  2763. local at2 = Instance.new("Attachment",dis)
  2764. at2.Position = VT(5,0,0)
  2765. local a = Instance.new("Part",workspace)
  2766.     a.Name = "Direction"   
  2767.     a.Anchored = true
  2768.     a.BrickColor = BRICKC("Bright red")
  2769. a.Material = "Neon"
  2770. a.Transparency = 1
  2771.     a.CanCollide = false
  2772.     local ray = Ray.new(
  2773.         dis.CFrame.p,                           -- origin
  2774.         (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  2775.     )
  2776.     local ignore = dis
  2777.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2778.     a.BottomSurface = 10
  2779.     a.TopSurface = 10
  2780.     local distance = (dis.CFrame.p - position).magnitude
  2781.     a.Size = Vector3.new(0.1, 0.1, 0.1)
  2782.     a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  2783. dis.CFrame = a.CFrame
  2784. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  2785. a:Destroy()
  2786. local bv = Instance.new("BodyVelocity")
  2787. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2788. bv.velocity = dis.CFrame.lookVector*250
  2789. bv.Parent = dis
  2790. game:GetService("Debris"):AddItem(dis, 5)
  2791. local hitted = false
  2792. coroutine.resume(coroutine.create(function()
  2793. dis.Touched:connect(function(hit)
  2794.     if hitted == false and hit.Parent ~= Effects then
  2795.     hitted = true
  2796.     CreateSound(782200047,Torso,10,1,false)
  2797.     ApplyAoE(dis.Position,25)
  2798.     sphere2(8,"Add",dis.CFrame,VT(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  2799.     sphere2(4,"Add",dis.CFrame,VT(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  2800.     sphere2(3,"Add",dis.CFrame,VT(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  2801.     coroutine.resume(coroutine.create(function()
  2802. local eff = Instance.new("ParticleEmitter",dis)
  2803. eff.Texture = "rbxassetid://2344870656"
  2804. eff.LightEmission = 1
  2805. eff.Color = ColorSequence.new(dis.Color)
  2806. eff.Rate = 10000000
  2807. eff.Enabled = true
  2808. eff.EmissionDirection = "Front"
  2809. eff.Lifetime = NumberRange.new(1)
  2810. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
  2811. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2812. eff.Speed = NumberRange.new(150)
  2813. eff.Drag = 5
  2814. eff.Rotation = NumberRange.new(-500,500)
  2815. eff.SpreadAngle = Vector2.new(0,900)
  2816. eff.RotSpeed = NumberRange.new(-500,500)
  2817. wait(0.2)
  2818. eff.Enabled = false
  2819.     end))
  2820.     coroutine.resume(coroutine.create(function()
  2821.         for i = 0, 9 do
  2822. local disr = CreateParta(Effects,1,1,"Neon",keptcolor)
  2823. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2824. local at1 = Instance.new("Attachment",disr)
  2825. at1.Position = VT(-5,0,0)
  2826. local at2 = Instance.new("Attachment",disr)
  2827. at2.Position = VT(5,0,0)
  2828. local trl = Instance.new('Trail',disr)
  2829. trl.Attachment0 = at1
  2830. trl.FaceCamera = true
  2831. trl.Attachment1 = at2
  2832. trl.Texture = "rbxassetid://2342682798"
  2833. trl.LightEmission = 1
  2834. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  2835. trl.Color = ColorSequence.new(keptcolor.Color)
  2836. trl.Lifetime = 0.5
  2837. local bv = Instance.new("BodyVelocity")
  2838. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2839. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  2840. bv.Parent = disr
  2841. local val2 = 0
  2842. coroutine.resume(coroutine.create(function()
  2843.     swait(30)
  2844.     for i = 0, 9 do
  2845.         swait()
  2846.         val = val2 + 0.1
  2847.         trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  2848.         ApplyAoE(disr.Position,25)
  2849.     end
  2850. game:GetService("Debris"):AddItem(disr, 3)
  2851. end))
  2852. end
  2853. ApplyAoE(dis.Position,25)
  2854. local eff = Instance.new("ParticleEmitter",dis)
  2855. eff.Texture = "rbxassetid://2273224484"
  2856. eff.LightEmission = 1
  2857. eff.Color = ColorSequence.new(keptcolor.Color)
  2858. eff.Rate = 500000
  2859. eff.Lifetime = NumberRange.new(0.5,2)
  2860. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  2861. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2862. eff.Speed = NumberRange.new(20,250)
  2863. eff.Drag = 5
  2864. eff.Rotation = NumberRange.new(-500,500)
  2865. eff.VelocitySpread = 9000
  2866. eff.RotSpeed = NumberRange.new(-50,50)
  2867. wait(0.25)
  2868. eff.Enabled = false
  2869. end))
  2870.     for i = 0, 9 do
  2871.         slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),VT(0.01,0.01,0.01),math.random(100,200)/250,BrickColor.new("White"))
  2872.     end
  2873. for i = 0, 19 do
  2874. PixelBlock(1,math.random(5,20),"Add",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,keptcolor,0)
  2875. end
  2876. coroutine.resume(coroutine.create(function()
  2877. for i = 0, 19 do
  2878. swait()
  2879. ShakeCam(1,10)
  2880. end
  2881. end))
  2882. dis.Anchored = true
  2883. dis.Transparency = 1
  2884. wait(8)
  2885. dis:Destroy()
  2886. end
  2887. end)
  2888. end))
  2889. rot = rot - 15
  2890. end
  2891. for i = 0,2,0.1 do
  2892. swait()
  2893. RightHip.C0=Clerp(RightHip.C0,CF(1,-1,0)*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(-2.5),math.rad(-30),math.rad(0)),.3)
  2894. LeftHip.C0=Clerp(LeftHip.C0,CF(-1,-1,0)*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(-2.5),math.rad(0),math.rad(5)),.3)
  2895. RootJoint.C0=Clerp(RootJoint.C0,ROOTC0*CF(0,0,0)*ANGLES(math.rad(0),math.rad(0),math.rad(-60)),.3)
  2896. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(math.rad(10),math.rad(0),math.rad(50)),.3)
  2897. RightShoulder.C0=Clerp(RightShoulder.C0,CF(1.5,0.5,0)*ANGLES(math.rad(90),math.rad(0),math.rad(60)),.3)
  2898. LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-1.5,0.5,0)*ANGLES(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  2899. end
  2900. ATTACK = false
  2901. Speed = 15
  2902. end
  2903.  
  2904. function attackthree()
  2905. ATTACK = true
  2906. local keptcolor = BrickColor.new("New Yeller")
  2907. CreateSound(136007472,Torso,10,1,false)
  2908.     for i = 0,2,0.1 do
  2909.         swait()
  2910.         sphere2(5,"Add",LeftArm.CFrame*CFrame.new(0,-1.5,0),VT(1,1,1),0.025,0.025,0.025,BrickColor.new("New Yeller"),BrickColor.new("New Yeller").Color)
  2911. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0*CF(0,0,0)* ANGLES(math.rad(10),math.rad(0),math.rad(50)),0.3)
  2912. Torso.Neck.C0 = Clerp(Torso.Neck.C0,NECKC0 *ANGLES(math.rad(5),math.rad(0),math.rad(-50)),.3)
  2913. RightShoulder.C0 = Clerp(RightShoulder.C0, CFrame.new(1.5, 0.5, 0) * ANGLES(math.rad(80), math.rad(10), math.rad(60)), 0.3)
  2914. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CFrame.new(-1.5, 0.5, 0) * ANGLES(math.rad(140), math.rad(0), math.rad(-70)), 0.3)
  2915. RightHip.C0=Clerp(RightHip.C0,CF(1,-1,0)*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(-1.5),math.rad(-50),math.rad(-10)),.3)
  2916. LeftHip.C0=Clerp(LeftHip.C0,CF(-1,-1,0)*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(-2.5),math.rad(0),math.rad(40)),.3)
  2917.     end
  2918. CreateSound(763716870,Torso,10,1,false)
  2919. CreateSound(782353443,Torso,10,1,false)
  2920. CreateSound(782225570,Torso,10,1,false)
  2921. CreateSound(763717569,Torso,10,1,false)
  2922. sphere2(5,"Add",RootPart.CFrame,VT(1,1,1),1,1,1,BrickColor.new("New Yeller"))
  2923. sphere2(5,"Add",RootPart.CFrame,VT(1,1,1),0.5,0.5,0.5,BrickColor.new("New Yeller"))
  2924. for i = 0, 24 do
  2925.         slash(math.random(10,50)/10,5,true,"Round","Add","Out",RootPart.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),math.rad(0)),VT(0.01,0.01,0.01),math.random(50,200)/250,BrickColor.new("White"))
  2926. end
  2927. for i = 0,4,0.1 do
  2928.         swait()
  2929.         RootPart.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*5
  2930.         local dis = CreateParta(Effects,0.25,1,"Neon",BrickColor.new("New Yeller"))
  2931. createmesh(dis,"Sphere",1,1,1)
  2932. dis.Anchored = true
  2933. dis.CFrame = LeftArm.CFrame*CFrame.new(0,-3,0)
  2934. sphere2(5,"Add",dis.CFrame,VT(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  2935. coroutine.resume(coroutine.create(function()
  2936.     swait(30)
  2937.     dis.Transparency = 1
  2938. coroutine.resume(coroutine.create(function()
  2939. for i = 0, 19 do
  2940. swait()
  2941. ShakeCam(1,5)
  2942. end
  2943. end))
  2944. coroutine.resume(coroutine.create(function()
  2945. ApplyAoE(dis.Position,25)
  2946. local eff = Instance.new("ParticleEmitter",dis)
  2947. eff.Texture = "rbxassetid://2273224484"
  2948. eff.LightEmission = 1
  2949. eff.Color = ColorSequence.new(dis.Color)
  2950. eff.Rate = 500000
  2951. eff.Lifetime = NumberRange.new(0.5,2)
  2952. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  2953. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2954. eff.Speed = NumberRange.new(50,450)
  2955. eff.Drag = 5
  2956. eff.Rotation = NumberRange.new(-500,500)
  2957. eff.VelocitySpread = 9000
  2958. eff.RotSpeed = NumberRange.new(-50,50)
  2959. wait(0.125)
  2960. eff.Enabled = false
  2961. end))
  2962. ApplyAoE(dis.Position,25)
  2963.     for i = 0, 2 do
  2964.         slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(0.01,0.01,0.01),math.random(50,150)/250,dis.BrickColor)
  2965.     end
  2966.     CreateSound(782353117,Torso,10,1,false)
  2967.     CreateSound(1666361078,Torso,10,1,false)
  2968.     CreateSound(782353443,Torso,10,1,false)
  2969.     sphere2(3,"Add",dis.CFrame,VT(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color)
  2970. end))
  2971. game:GetService("Debris"):AddItem(dis, 5)
  2972. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0*CF(0,0,0)* ANGLES(math.rad(89),math.rad(-8),math.rad(-5)),0.5)
  2973. Torso.Neck.C0 = Clerp(Torso.Neck.C0,NECKC0 *ANGLES(math.rad(-30),math.rad(0),math.rad(8)),.5)
  2974. RightShoulder.C0 = Clerp(RightShoulder.C0, CFrame.new(1.5, 0.5, 0) * ANGLES(math.rad(-14), math.rad(1), math.rad(17)), 0.5)
  2975. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CFrame.new(-1.5, 0.85, 0) * ANGLES(math.rad(180), math.rad(0), math.rad(-8)), 0.5)
  2976. LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(1,-0.5,-0.6)*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(-8),math.rad(0),math.rad(-20)),.5)
  2977. LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-1,-1,0)*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(9),math.rad(0),math.rad(20)),.5)
  2978.     end
  2979. ATTACK = false
  2980. Speed = 15
  2981. end
  2982.  
  2983. function ball()
  2984. ATTACK = true
  2985. Rooted = true
  2986. local truescale = 0
  2987. local rd = math.random(1,3)
  2988. CreateSound(1368583274,Torso,10,1,false)
  2989. for i = 0,49,0.1 do
  2990. swait()
  2991. truescale = truescale + 0.2
  2992. ShakeCam(3,10)
  2993. slash(5,5,true,"Round","Add","Out",RootPart.CFrame*CFrame.new(0,75,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(3,0.01,3),-3,BrickColor.new("New Yeller"))
  2994. block(10,"Add",RootPart.CFrame*CFrame.new(0,75,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(truescale,truescale,truescale),0.01,0.01,0.01,BrickColor.new("New Yeller"),BrickColor.new("New Yeller").Color)
  2995. RightHip.C0=Clerp(RightHip.C0,CF(1,-0.5,-0.5)*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(-3),math.rad(5),math.rad(-10)),.5)
  2996. LeftHip.C0=Clerp(LeftHip.C0,CF(-1,-1,0)*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(-3),math.rad(1),math.rad(5)),.5)
  2997. RootJoint.C0=Clerp(RootJoint.C0,ROOTC0*CF(0,0,1)*ANGLES(math.rad(0),math.rad(0),math.rad(40)),.5)
  2998. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(math.rad(20),math.rad(0),math.rad(-40)),.5)
  2999. RightShoulder.C0=Clerp(RightShoulder.C0,CF(1.45,1,0.1)*ANGLES(math.rad(180),math.rad(-30),math.rad(-5)),.5)
  3000. LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-1.45,0.5,0.1)*ANGLES(math.rad(-5),math.rad(10),math.rad(-10)),.5)
  3001. end
  3002. CreateSound(260411131,Torso,10,1,false)
  3003. for i = 0,2,0.1 do
  3004. swait()
  3005. block(10,"Add",RightArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(1,1,1),0.01,0.01,0.01,BrickColor.new("New Yeller"),BrickColor.new("New Yeller").Color)
  3006. RightHip.C0=Clerp(RightHip.C0,CF(1,-0.5,-0.5)*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(-3),math.rad(5),math.rad(-10)),.5)
  3007. LeftHip.C0=Clerp(LeftHip.C0,CF(-1,-1,0)*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(-3),math.rad(1),math.rad(5)),.5)
  3008. RootJoint.C0=Clerp(RootJoint.C0,ROOTC0*CF(0,0,1)*ANGLES(math.rad(0),math.rad(0),math.rad(55)),.5)
  3009. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(math.rad(10),math.rad(0),math.rad(-55)),.5)
  3010. RightShoulder.C0=Clerp(RightShoulder.C0,CF(1.15,0.5,-0.6)*ANGLES(math.rad(90),math.rad(0),math.rad(-50)),.5)
  3011. LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-1.45,0.5,0.1)*ANGLES(math.rad(-5),math.rad(10),math.rad(-10)),.5)
  3012. end
  3013. local orb = Instance.new("Part", Effects)
  3014. for i = 0, 4 do
  3015. CreateSound(335657174,Torso,10,1,false)
  3016. end
  3017. local efec = Instance.new("ParticleEmitter",orb)
  3018. efec.Texture = "rbxassetid://2109052855"
  3019. efec.LightEmission = 1
  3020. efec.Color = ColorSequence.new(BrickColor.new("New Yeller").Color)
  3021. efec.Rate = 5
  3022. efec.Lifetime = NumberRange.new(3)
  3023. efec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,100,0),NumberSequenceKeypoint.new(0.2,175,0),NumberSequenceKeypoint.new(0.6,110,0),NumberSequenceKeypoint.new(0.8,175,0),NumberSequenceKeypoint.new(1,200,0)})
  3024. efec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.25,0),NumberSequenceKeypoint.new(0.6,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  3025. efec.Drag = 5
  3026. efec.LockedToPart = true
  3027. efec.Rotation = NumberRange.new(-500,500)
  3028. efec.VelocitySpread = 9000
  3029. efec.RotSpeed = NumberRange.new(-500,500)
  3030.         orb.BrickColor = BrickColor.new("New Yeller")
  3031.         orb.CanCollide = false
  3032.         orb.FormFactor = 3
  3033.         orb.Name = "Ring"
  3034.         orb.Material = "Neon"
  3035.         orb.Size = Vector3.new(1, 1, 1)
  3036.         orb.Transparency = 0
  3037.         orb.TopSurface = 0
  3038.         orb.BottomSurface = 0
  3039.         local orbm = Instance.new("SpecialMesh", orb)
  3040.         orbm.MeshType = "Sphere"
  3041. orbm.Name = "SizeMesh"
  3042. orbm.Scale = VT(25,25,25)
  3043. orb.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*3
  3044.     local a = Instance.new("Part",workspace)
  3045.     a.Name = "Direction"   
  3046.     a.Anchored = true
  3047.     a.BrickColor = BrickColor.new("New Yeller")
  3048. a.Material = "Neon"
  3049. a.Transparency = 1
  3050.     a.CanCollide = false
  3051.     local ray = Ray.new(
  3052.         orb.CFrame.p,                           -- origin
  3053.         (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3054.     )
  3055.     local ignore = orb
  3056.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3057.     a.BottomSurface = 10
  3058.     a.TopSurface = 10
  3059.     local distance = (orb.CFrame.p - position).magnitude
  3060.     a.Size = Vector3.new(0.1, 0.1, 0.1)
  3061.     a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3062. orb.CFrame = a.CFrame
  3063. a:Destroy()
  3064. local over = false
  3065. local bgui,imgc = createBGCircle(250,orb,BrickColor.new("New Yeller").Color)
  3066. bgui.AlwaysOnTop = true
  3067. imgc.Image = "rbxassetid://2076519836"
  3068. coroutine.resume(coroutine.create(function()
  3069. while true do
  3070. swait()
  3071. if over == false then
  3072. slash(10,2,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(0.01,0.01,0.01),1,BrickColor.new("New Yeller"))
  3073. imgc.Rotation = imgc.Rotation + 5
  3074. imgc.ImageTransparency = 0.75 + 0.25 * math.cos(SINE / 15)
  3075. bgui.Size = UDim2.new(250 + 25 * math.cos(SINE / 15),0, 250 + 25 * math.cos(SINE / 15),0)
  3076. elseif over == true then
  3077. break
  3078. end
  3079. end
  3080. end))
  3081. local bv = Instance.new("BodyVelocity")
  3082. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3083. bv.velocity = orb.CFrame.lookVector*50
  3084. bv.Parent = orb
  3085. coroutine.resume(coroutine.create(function()
  3086. wait(10)
  3087. over = true
  3088. efec.Enabled = false
  3089. orb.Anchored = true
  3090. for i = 0, 2 do
  3091. CreateSound(1664711478,Torso,10,1,false)
  3092. CreateSound(763717897,Torso,10,1,false)
  3093. CreateSound(763718160,Torso,10,1,false)
  3094. CreateSound(782353443,Torso,10,1,false)
  3095. CreateSound(335657174,Torso,10,1,false)
  3096. CreateSound(167115397,Torso,10,1,false)
  3097. end
  3098. for i = 0, 2 do
  3099. block(3,"Add",orb.CFrame,VT(1,1,1),6.5,6.5,6.5,BrickColor.new("New Yeller"),BrickColor.new("New Yeller").Color)
  3100. block(2,"Add",orb.CFrame,VT(1,1,1),6,6,6,BrickColor.new("New Yeller"),BrickColor.new("New Yeller").Color)
  3101. block(1,"Add",orb.CFrame,VT(1,1,1),4.5,4.5,4.5,BrickColor.new("New Yeller"),BrickColor.new("New Yeller").Color)
  3102. end
  3103. for i = 0, 49 do
  3104. slash(math.random(10,30)/10,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(0.01,0.01,0.01),math.random(150,2500)/250,BrickColor.new("New Yeller"))
  3105. end
  3106. imgc.ImageTransparency = 0
  3107. ShakeCam(25,100)
  3108. for i = 0, 199 do
  3109. swait()
  3110. coroutine.resume(coroutine.create(function()
  3111. ApplyAoE(orb.Position,9e9)
  3112. end))
  3113. imgc.Rotation = imgc.Rotation + 10
  3114. local dis = CreateParta(Effects,1,1,"Neon",BrickColor.new("New Yeller"))
  3115. dis.CFrame = orb.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3116. local at1 = Instance.new("Attachment",dis)
  3117. at1.Position = VT(-25000,0,0)
  3118. local at2 = Instance.new("Attachment",dis)
  3119. at2.Position = VT(25000,0,0)
  3120. local trl = Instance.new('Trail',dis)
  3121. trl.Attachment0 = at1
  3122. trl.FaceCamera = true
  3123. trl.Attachment1 = at2
  3124. trl.Texture = "rbxassetid://1049219073"
  3125. trl.LightEmission = 1
  3126. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  3127. trl.Color = ColorSequence.new(BrickColor.new("New Yeller").Color)
  3128. trl.Lifetime = 5
  3129. local bv = Instance.new("BodyVelocity")
  3130. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3131. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  3132. bv.Parent = dis
  3133. game:GetService("Debris"):AddItem(dis, 5)
  3134. sphere2(15,"Add",orb.CFrame,VT(1.25,1.25,1.25),45,45,45,BrickColor.new("New Yeller"))
  3135. for i = 0, 2 do
  3136. slash(15,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(0.01,0.01,0.01),25,BrickColor.new("New Yeller"))
  3137. slash(15,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(0.01,0.01,0.01),50,BrickColor.new("New Yeller"))
  3138. end
  3139. orbm.Scale = orbm.Scale + VT(10,10,10)
  3140. orb.Transparency = orb.Transparency + 0.005
  3141. imgc.ImageTransparency = imgc.ImageTransparency + 0.005
  3142. bgui.Size = bgui.Size + UDim2.new(35,0,35,0)
  3143. end
  3144. game:GetService("Debris"):AddItem(orb, 10)
  3145. end))
  3146. for i = 0,2,0.1 do
  3147. swait()
  3148. RightHip.C0=Clerp(RightHip.C0,CF(1,-0.5,-0.5)*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(-3),math.rad(5),math.rad(-10)),.5)
  3149. LeftHip.C0=Clerp(LeftHip.C0,CF(-1,-1,0)*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(-3),math.rad(20),math.rad(10)),.5)
  3150. RootJoint.C0=Clerp(RootJoint.C0,ROOTC0*CF(0,-0.3,1)*ANGLES(math.rad(5),math.rad(0),math.rad(-45)),.5)
  3151. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(math.rad(10),math.rad(0),math.rad(45)),.5)
  3152. RightShoulder.C0=Clerp(RightShoulder.C0,CF(1.45,0.5,0)*ANGLES(math.rad(90),math.rad(0),math.rad(50)),.5)
  3153. LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-1.45,0.5,0.1)*ANGLES(math.rad(20),math.rad(10),math.rad(-30)),.5)
  3154. end
  3155. ATTACK = false
  3156. Rooted = false
  3157. end
  3158.  
  3159. function Spin()
  3160. ATTACK = true
  3161. Speed = 3
  3162. CreateSound(1368583274,Torso,10,1,false)
  3163. local bgui = Instance.new("BillboardGui",RootPart)
  3164. bgui.Size = UDim2.new(25, 0, 25, 0)
  3165. local imgc = Instance.new("ImageLabel",bgui)
  3166. imgc.BackgroundTransparency = 1
  3167. imgc.ImageTransparency = 1
  3168. imgc.Size = UDim2.new(1,0,1,0)
  3169. imgc.Image = "rbxassetid://997291547"
  3170. imgc.ImageColor3 = Color3.new(1,1,0)
  3171. local imgc2 = imgc:Clone()
  3172. imgc2.Parent = bgui
  3173. imgc2.Position = UDim2.new(-0.5,0,-0.5,0)
  3174. imgc2.Size = UDim2.new(2,0,2,0)
  3175. imgc2.ImageColor3 = Color3.new(1,1,0)
  3176. for i = 0, 10, 0.1 do
  3177.         swait()
  3178. imgc.ImageTransparency = imgc.ImageTransparency - 0.01
  3179. imgc.Rotation = imgc.Rotation + 1
  3180. imgc2.ImageTransparency = imgc2.ImageTransparency - 0.01
  3181. imgc2.Rotation = imgc2.Rotation - 1
  3182. bgui.Size = bgui.Size - UDim2.new(0.25, 0, 0.25, 0)
  3183. slash(math.random(50,100)/10,5,true,"Round","Add","Out",RootPart.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-360,360)),math.rad(math.random(-10,10))),VT(0.1,0.01,0.1),math.random(25,50)/250,BrickColor.new("White"))
  3184. sphere2(5,"Add",Sword.CFrame*CFrame.new(math.random(-8,-2),0,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(0.1,0.1,0.1),0,0.1,0,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  3185. waveEff(5,"Add","In",RootPart.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,math.rad(math.random(-360,360)),0),VT(15,0.25,15),-0.075,0.05,BrickColor.new("White"))
  3186.     RightHip.C0=Clerp(RightHip.C0,CF(1,-0.5,0)*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(-3),math.rad(-40),math.rad(10)),.2)
  3187. LeftHip.C0=Clerp(LeftHip.C0,CF(-1,-1,0)*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(-3),math.rad(1),math.rad(20)),.2)
  3188. RootJoint.C0=Clerp(RootJoint.C0,ROOTC0*CF(0.1,0.2,-0.3)*ANGLES(math.rad(10),math.rad(0),math.rad(50)),.3)
  3189. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(math.rad(5),math.rad(0),math.rad(-50)),.3)
  3190. RightShoulder.C0=Clerp(RightShoulder.C0,CF(1.25,0.5,-0.65)*ANGLES(math.rad(100),math.rad(0),math.rad(-23))*ANGLES(RAD(0),RAD(90),RAD(0)),.3)
  3191. LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-1.45,0.5,0.1)*ANGLES(math.rad(110),math.rad(0),math.rad(-85))*ANGLES(RAD(0),RAD(-90),RAD(0)),.3)
  3192. end
  3193. imgc.ImageTransparency = 1
  3194. waveEff(2,"Add","Out",RootPart.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),VT(6,10,6),0.5,0.8,BrickColor.new("White"))
  3195. waveEff(3,"Add","Out",RootPart.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),VT(6,10,6),0.5,0.4,BrickColor.new("White"))
  3196. waveEff(4,"Add","Out",RootPart.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),VT(6,10,6),0.5,0.2,BrickColor.new("White"))
  3197. waveEff(5,"Add","Out",RootPart.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),VT(6,10,6),0.5,0.1,BrickColor.new("White"))
  3198. waveEff(6,"Add","Out",RootPart.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),VT(6,10,6),0.5,0.05,BrickColor.new("White"))
  3199. for i = 0, 9 do
  3200. slash(math.random(10,25)/10,5,true,"Round","Add","Out",RootPart.CFrame*CFrame.new(0,0,math.random(-30,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-360,360)),math.rad(math.random(-10,10))),VT(0.1,0.01,0.1),math.random(75,250)/250,BrickColor.new("White"))
  3201. end
  3202. --CreateSound(430315987,Torso,10,1,false)
  3203. CreateSound(1295446488,Torso,10,1,false)
  3204. for x = 0, 14 do
  3205. CreateSound(200633281,Torso,10,1,false)
  3206. CreateSound(161006195,Torso,10,1,false)
  3207. ApplyAoE(Torso.Position,10)
  3208. CreateSound(200632992,Torso,10,1,false)
  3209. slash(5,5,true,"Round","Add","Out",RootPart.CFrame*CFrame.new(0,3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(0.05,0.01,0.05),math.random(1,10)/100,BrickColor.new("White"))
  3210. for i = 0, 1, 0.6 do
  3211.         swait()
  3212. RootPart.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*2
  3213. RootPart.Velocity = VT(0,0,0)
  3214. RightHip.C0=Clerp(RightHip.C0,CF(1,-1,0)*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(-3),math.rad(0),math.rad(0)),.2)
  3215. LeftHip.C0=Clerp(LeftHip.C0,CF(-1,-1,0)*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(-3),math.rad(0),math.rad(0)),.2)
  3216. RootJoint.C0=Clerp(RootJoint.C0,ROOTC0*CF(0,0,3)*ANGLES(math.rad(0),math.rad(0),math.rad(90)),.3)
  3217. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(math.rad(4),math.rad(0),math.rad(-60)),.3)
  3218. RightShoulder.C0=Clerp(RightShoulder.C0,CF(1.45,0.5,0.1)*ANGLES(math.rad(90),math.rad(0),math.rad(90)),.3)
  3219. LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-1.45,0.5,0.1)*ANGLES(math.rad(90),math.rad(0),math.rad(-90)),.3)
  3220. end
  3221. slash(5,2.5,true,"Round","Add","Out",RootPart.CFrame*CFrame.new(0,3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(0.05,0.01,0.05),math.random(1,10)/100,BrickColor.new("White"))
  3222. CreateSound(200632992,Torso,10,1,false)
  3223. ApplyAoE(Torso.Position,10)
  3224. for i = 0, 1, 0.6 do
  3225.         swait()
  3226. RootPart.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*3
  3227. RootPart.Velocity = VT(0,0,0)
  3228.     RightHip.C0=Clerp(RightHip.C0,CF(1,-1,0)*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(-3),math.rad(0),math.rad(0)),.2)
  3229. LeftHip.C0=Clerp(LeftHip.C0,CF(-1,-1,0)*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(-3),math.rad(0),math.rad(0)),.2)
  3230. RootJoint.C0=Clerp(RootJoint.C0,ROOTC0*CF(0,0,3)*ANGLES(math.rad(90),math.rad(0),math.rad(90)),.3)
  3231. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(math.rad(4),math.rad(0),math.rad(-60)),.3)
  3232. RightShoulder.C0=Clerp(RightShoulder.C0,CF(1.45,0.5,0.1)*ANGLES(math.rad(90),math.rad(0),math.rad(90)),.3)
  3233. LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-1.45,0.5,0.1)*ANGLES(math.rad(90),math.rad(0),math.rad(-90)),.3)
  3234. end
  3235. slash(5,2.5,true,"Round","Add","Out",RootPart.CFrame*CFrame.new(0,3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(0.05,0.01,0.05),math.random(1,10)/100,BrickColor.new("White"))
  3236. CreateSound(200632992,Torso,10,1,false)
  3237. ApplyAoE(Torso.Position,10)
  3238. for i = 0, 1, 0.6 do
  3239.         swait()
  3240. RootPart.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*3
  3241. RootPart.Velocity = VT(0,0,0)
  3242.     RightHip.C0=Clerp(RightHip.C0,CF(1,-1,0)*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(-3),math.rad(0),math.rad(0)),.2)
  3243. LeftHip.C0=Clerp(LeftHip.C0,CF(-1,-1,0)*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(-3),math.rad(0),math.rad(0)),.2)
  3244. RootJoint.C0=Clerp(RootJoint.C0,ROOTC0*CF(0,0,3)*ANGLES(math.rad(180),math.rad(0),math.rad(90)),.3)
  3245. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(math.rad(4),math.rad(0),math.rad(-60)),.3)
  3246. RightShoulder.C0=Clerp(RightShoulder.C0,CF(1.45,0.5,0.1)*ANGLES(math.rad(90),math.rad(0),math.rad(90)),.3)
  3247. LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-1.45,0.5,0.1)*ANGLES(math.rad(90),math.rad(0),math.rad(-90)),.3)
  3248. end
  3249. slash(5,2.5,true,"Round","Add","Out",RootPart.CFrame*CFrame.new(0,3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(0.05,0.01,0.05),math.random(1,10)/100,BrickColor.new("White"))
  3250. CreateSound(200632992,Torso,10,1,false)
  3251. ApplyAoE(Torso.Position,10)for i = 0, 1, 0.6 do
  3252.         swait()
  3253. RootPart.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*3
  3254. RootPart.Velocity = VT(0,0,0)
  3255.     RightHip.C0=Clerp(RightHip.C0,CF(1,-1,0)*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(-3),math.rad(0),math.rad(0)),.2)
  3256. LeftHip.C0=Clerp(LeftHip.C0,CF(-1,-1,0)*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(-3),math.rad(0),math.rad(0)),.2)
  3257. RootJoint.C0=Clerp(RootJoint.C0,ROOTC0*CF(0,0,3)*ANGLES(math.rad(270),math.rad(0),math.rad(90)),.3)
  3258. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(math.rad(4),math.rad(0),math.rad(-60)),.3)
  3259. RightShoulder.C0=Clerp(RightShoulder.C0,CF(1.45,0.5,0.1)*ANGLES(math.rad(90),math.rad(0),math.rad(90)),.3)
  3260. LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-1.45,0.5,0.1)*ANGLES(math.rad(90),math.rad(0),math.rad(-90)),.3)
  3261. end
  3262. end
  3263. for i = 0, 2.5, 0.1 do
  3264. swait()
  3265. RightHip.C0=Clerp(RightHip.C0,CF(1,-1,0)*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(-3),math.rad(0),math.rad(-20)),.2)
  3266. LeftHip.C0=Clerp(LeftHip.C0,CF(-1,-0.6,-0.5)*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(-3),math.rad(20),math.rad(-12)),.2)
  3267. RootJoint.C0=Clerp(RootJoint.C0,ROOTC0*CF(0.1,0.2,-0.35)*ANGLES(math.rad(10),math.rad(0),math.rad(-40)),.2)
  3268. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(math.rad(5),math.rad(0),math.rad(40)),.2)
  3269. RightShoulder.C0=Clerp(RightShoulder.C0,CF(1.45,0.5,0)*ANGLES(math.rad(90),math.rad(0),math.rad(110))*ANGLES(RAD(0),RAD(90),RAD(0)),.2)
  3270. LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-1.45,0.5,0)*ANGLES(math.rad(45),math.rad(0),math.rad(-20))*ANGLES(RAD(0),RAD(-90),RAD(0)),.2)
  3271. end
  3272. bgui:Destroy()
  3273. ATTACK = false
  3274. Speed = 15
  3275. end
  3276.  
  3277. function violent()
  3278. ATTACK = true
  3279. Rooted = true
  3280. local highuppos = Hole.Position+VT(0,1000,0)
  3281. for i = 0, 2.5, 0.1 do
  3282. swait()
  3283. RightHip.C0=Clerp(RightHip.C0,CF(1,-1 + 0.05 * math.cos(SINE / 20)  - 0.02 * math.cos(SINE / 40),0)*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(-3 + 2 * math.cos(SINE / 40)),math.rad(-15),math.rad(0 + 2 * math.cos(SINE / 20))),.1)
  3284. LeftHip.C0=Clerp(LeftHip.C0,CF(-1,-1 + 0.05 * math.cos(SINE / 20) - 0.02 * math.cos(SINE / 40),0)*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(-3 - 2 * math.cos(SINE / 40)),math.rad(1),math.rad(0 - 2 * math.cos(SINE / 20))),.1)
  3285. RootJoint.C0=Clerp(RootJoint.C0,ROOTC0*CF(0 + 0.02 * math.cos(SINE / 40),0 - 0.02 * math.cos(SINE / 40),-0.05 - 0.05 * math.cos(SINE / 20))*ANGLES(math.rad(0 + 2 * math.cos(SINE / 20)),math.rad(0 + 2 * math.cos(SINE / 40)),math.rad(30 + 3 * math.cos(SINE / 40))),.1)
  3286. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(math.rad(2),math.rad(0 - 7 * math.cos(SINE / 40)),math.rad(-30 - 3 * math.cos(SINE / 40))),.1)
  3287. RightShoulder.C0=Clerp(RightShoulder.C0,CF(1,0.5 + 0.05 * math.cos(SINE / 28),0.1)*ANGLES(math.rad(-6 + 5 * math.cos(SINE / 26)),math.rad(-10 - 6 * math.cos(SINE / 24)),math.rad(13 - 5 * math.cos(SINE / 34)))*ANGLES(RAD(0),RAD(90),RAD(0)),.1)
  3288. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(180), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 0.8 / 3)
  3289. end
  3290. WACKYEFFECT({Time = 25, EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.1,0,0.1)*MRANDOM(1000/1000,1750/1000), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-100/100,100/100), RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3291. WACKYEFFECT({Time = 25, EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.1,0,0.1)*MRANDOM(1000/1000,1750/1000), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-100/100,100/100), RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3292. WACKYEFFECT({Time = 25, EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.1,0,0.1)*MRANDOM(1000/1000,1750/1000), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-100/100,100/100), RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3293. WACKYEFFECT({Time = 25, EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.1,0,0.1)*MRANDOM(1000/1000,1750/1000), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-100/100,100/100), RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3294. WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(2.5,2.5,2.5), Transparency = 0.3, Transparency2 = 1, CFrame = Hole.CFrame*ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-1,1)*5, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), UseBoomerangMath = true, SizeBoomerang = 50, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3295. WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(2,2,2), Transparency = 0.3, Transparency2 = 1, CFrame = Hole.CFrame*ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-1,1)*5, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), UseBoomerangMath = true, SizeBoomerang = 50, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3296. SpawnTrail(Hole.Position,highuppos)
  3297. ATTACK = false
  3298. Rooted = false
  3299. CreateSound(136007472,Torso,10,1,false)
  3300. local orb = Instance.new("Part", Effects)
  3301.         orb.BrickColor = BrickColor.new("New Yeller")
  3302.         orb.CanCollide = false
  3303.         orb.FormFactor = 3
  3304.         orb.Name = "Ring"
  3305.         orb.Material = "Neon"
  3306.         orb.Size = Vector3.new(1, 1, 1)
  3307.         orb.Transparency = 0
  3308.         orb.TopSurface = 0
  3309.         orb.BottomSurface = 0
  3310.         local orbm = Instance.new("SpecialMesh", orb)
  3311.         orbm.MeshType = "Sphere"
  3312. orbm.Name = "SizeMesh"
  3313. orbm.Scale = VT(2,2,2)
  3314. orb.CFrame = mouse.Hit
  3315. local bv = Instance.new("BodyVelocity")
  3316. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3317. bv.velocity = orb.CFrame.lookVector*100
  3318. bv.Parent = orb
  3319. local hitted = false
  3320. coroutine.resume(coroutine.create(function()
  3321. game:GetService("Debris"):AddItem(orb, 5)
  3322. orb.Transparency = 1
  3323. orb.Anchored = true
  3324. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3325. elocacenter.Anchored = true
  3326. elocacenter.CFrame = orb.CFrame
  3327. elocacenter.Orientation = VT(0,0,0)
  3328. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3329. eloca1.Anchored = true
  3330. eloca1.CFrame = elocacenter.CFrame
  3331. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3332. eloca2.Anchored = true
  3333. eloca2.CFrame = elocacenter.CFrame
  3334. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3335. eloca3.Anchored = true
  3336. eloca3.CFrame = elocacenter.CFrame
  3337. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3338. eloca4.Anchored = true
  3339. eloca4.CFrame = elocacenter.CFrame
  3340. local lookavec = 0
  3341. local speeds = 0
  3342. ShakeCam(1,25)
  3343. coroutine.resume(coroutine.create(function()
  3344. CreateSound(419447292,Torso,10,1,false)
  3345. sphere(5,"Add",elocacenter.CFrame,VT(0,0,0),1,BrickColor.new("New Yeller"))
  3346. sphere(6,"Add",elocacenter.CFrame,VT(0,0,0),1,BrickColor.new("New Yeller"))
  3347. sphere(7,"Add",elocacenter.CFrame,VT(0,0,0),1,BrickColor.new("New Yeller"))
  3348. sphere(8,"Add",elocacenter.CFrame,VT(0,0,0),1,BrickColor.new("New Yeller"))
  3349. sphere(9,"Add",elocacenter.CFrame,VT(0,0,0),1,BrickColor.new("New Yeller"))
  3350. for i = 0, 24 do
  3351. swait()
  3352. lookavec = lookavec + 2
  3353. speeds = speeds + 1
  3354. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3355. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3356. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,BrickColor.new("New Yeller"),-2)
  3357.  
  3358. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3359. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,BrickColor.new("New Yeller"),-2)
  3360.  
  3361. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3362. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,BrickColor.new("New Yeller"),-2)
  3363.  
  3364. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3365. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,BrickColor.new("New Yeller"),-2)
  3366. end
  3367.  
  3368. local risen = 0
  3369. for i = 0, 176 do
  3370. swait()
  3371. lookavec = lookavec + 0.25
  3372. risen = risen + 0.05
  3373. speeds = speeds + 0.1
  3374. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3375. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3376. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,BrickColor.new("New Yeller"),-2)
  3377.  
  3378. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3379. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,BrickColor.new("New Yeller"),-2)
  3380.  
  3381. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3382. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,BrickColor.new("New Yeller"),-2)
  3383.  
  3384. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3385. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,BrickColor.new("New Yeller"),-2)
  3386. end
  3387.  
  3388. for i = 0, 176 do
  3389. swait()
  3390. lookavec = lookavec + 0.5
  3391. risen = risen + 0.05
  3392. speeds = speeds + 0.1
  3393. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3394. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3395. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-15,15)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),5,5,5,0.05,BrickColor.new("New Yeller"),-2)
  3396.  
  3397. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3398. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-15,15)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),5,5,5,0.05,BrickColor.new("New Yeller"),-2)
  3399.  
  3400. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3401. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-15,15)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),5,5,5,0.05,BrickColor.new("New Yeller"),-2)
  3402.  
  3403. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3404. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-15,15)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),5,5,5,0.05,BrickColor.new("New Yeller"),-2)
  3405. end
  3406. end))
  3407. coroutine.resume(coroutine.create(function()
  3408. ShakeCam(1,25)
  3409. ApplyAoE(elocacenter.Position,125)
  3410. CreateSound(468991944,Torso,10,1,false)
  3411. CreateSound(533636230,Torso,10,1,false)
  3412. CreateSound(419447292,Torso,10,1,false)
  3413. CreateSound(421328847,Torso,10,1,false)
  3414. CreateSound(919941001,Torso,10,1,false)
  3415. sphere(1,"Add",elocacenter.CFrame,VT(100,90000,100),-0.25,BrickColor.new("New Yeller"))
  3416. sphere(1,"Add",elocacenter.CFrame,VT(100,90000,100),0.5,BrickColor.new("New Yeller"))
  3417. sphere(1,"Add",elocacenter.CFrame,VT(0,0,0),5,BrickColor.new("New Yeller"))
  3418. sphere(2,"Add",elocacenter.CFrame,VT(0,0,0),5,BrickColor.new("New Yeller"))
  3419. sphere(3,"Add",elocacenter.CFrame,VT(0,0,0),5,BrickColor.new("New Yeller"))
  3420. sphere(4,"Add",elocacenter.CFrame,VT(0,0,0),5,BrickColor.new("New Yeller"))
  3421. sphere(5,"Add",elocacenter.CFrame,VT(0,0,0),5,BrickColor.new("New Yeller"))
  3422. sphere(5,"Add",elocacenter.CFrame,VT(0,0,0),500,BrickColor.new("New Yeller"))
  3423. for i = 0, 24 do
  3424. sphereMK(2,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.25,BrickColor.new("New Yeller"),0)
  3425. sphereMK(4,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,BrickColor.new("New Yeller"),0)
  3426. sphereMK(6,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,BrickColor.new("New Yeller"),0)
  3427. sphereMK(8,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,BrickColor.new("New Yeller"),0)
  3428. end
  3429. coroutine.resume(coroutine.create(function()
  3430. local eff = Instance.new("ParticleEmitter",elocacenter)
  3431. eff.Texture = "rbxassetid://2092248396"
  3432. eff.LightEmission = 1
  3433. eff.Color = ColorSequence.new(BrickColor.new("New Yeller").Color)
  3434. eff.Rate = 50000
  3435. eff.Lifetime = NumberRange.new(6,12)
  3436. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,60,0),NumberSequenceKeypoint.new(0.2,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  3437. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3438. eff.Speed = NumberRange.new(100,1000)
  3439. eff.Drag = 5
  3440. eff.Rotation = NumberRange.new(-500,500)
  3441. eff.VelocitySpread = 9000
  3442. eff.RotSpeed = NumberRange.new(-100,100)
  3443. wait(0.6)
  3444. eff.Enabled = false
  3445. end))
  3446. wait(1.25)
  3447. ShakeCam(1,25)
  3448. ApplyAoE(elocacenter.Position,150)
  3449. CreateSound(468991944,Torso,10,1,false)
  3450. CreateSound(533636230,Torso,10,1,false)
  3451. CreateSound(419447292,Torso,10,1,false)
  3452. CreateSound(421328847,Torso,10,1,false)
  3453. CreateSound(919941001,Torso,10,1,false)
  3454. sphere(1,"Add",elocacenter.CFrame,VT(150,90000,150),-0.5,BrickColor.new("New Yeller"))
  3455. sphere(1,"Add",elocacenter.CFrame,VT(150,90000,150),1,BrickColor.new("New Yeller"))
  3456. sphere(1,"Add",elocacenter.CFrame,VT(0,0,0),5*2,BrickColor.new("New Yeller"))
  3457. sphere(2,"Add",elocacenter.CFrame,VT(0,0,0),5*2,BrickColor.new("New Yeller"))
  3458. sphere(3,"Add",elocacenter.CFrame,VT(0,0,0),5*2,BrickColor.new("New Yeller"))
  3459. sphere(4,"Add",elocacenter.CFrame,VT(0,0,0),5*2,BrickColor.new("New Yeller"))
  3460. sphere(5,"Add",elocacenter.CFrame,VT(0,0,0),5*2,BrickColor.new("New Yeller"))
  3461. sphere(5,"Add",elocacenter.CFrame,VT(0,0,0),500*2,BrickColor.new("New Yeller"))
  3462. for i = 0, 24 do
  3463. sphereMK(2,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.25*2,BrickColor.new("New Yeller"),0)
  3464. sphereMK(4,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25*2,BrickColor.new("New Yeller"),0)
  3465. sphereMK(6,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25*2,BrickColor.new("New Yeller"),0)
  3466. sphereMK(8,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25*2,BrickColor.new("New Yeller"),0)
  3467. end
  3468. coroutine.resume(coroutine.create(function()
  3469. local eff = Instance.new("ParticleEmitter",elocacenter)
  3470. eff.Texture = "rbxassetid://2092248396"
  3471. eff.LightEmission = 1
  3472. eff.Color = ColorSequence.new(BrickColor.new("New Yeller").Color)
  3473. eff.Rate = 50000
  3474. eff.Lifetime = NumberRange.new(6,12)
  3475. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,90,0),NumberSequenceKeypoint.new(0.2,1.25,0),NumberSequenceKeypoint.new(1,0.1,0)})
  3476. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3477. eff.Speed = NumberRange.new(125,1250)
  3478. eff.Drag = 5
  3479. eff.Rotation = NumberRange.new(-500,500)
  3480. eff.VelocitySpread = 9000
  3481. eff.RotSpeed = NumberRange.new(-100,100)
  3482. wait(1.25)
  3483. eff.Enabled = false
  3484. end))
  3485. wait(1.25)
  3486. ShakeCam(1,25)
  3487. ApplyAoE(elocacenter.Position,175)
  3488. CreateSound(468991944,Torso,10,1,false)
  3489. CreateSound(533636230,Torso,10,1,false)
  3490. CreateSound(419447292,Torso,10,1,false)
  3491. CreateSound(421328847,Torso,10,1,false)
  3492. CreateSound(919941001,Torso,10,1,false)
  3493. sphere(1,"Add",elocacenter.CFrame,VT(225,90000,225),-0.25*3,BrickColor.new("New Yeller"))
  3494. sphere(1,"Add",elocacenter.CFrame,VT(225,90000,225),0.5*3,BrickColor.new("New Yeller"))
  3495. sphere(1,"Add",elocacenter.CFrame,VT(0,0,0),5*3,BrickColor.new("New Yeller"))
  3496. sphere(2,"Add",elocacenter.CFrame,VT(0,0,0),5*3,BrickColor.new("New Yeller"))
  3497. sphere(3,"Add",elocacenter.CFrame,VT(0,0,0),5*3,BrickColor.new("New Yeller"))
  3498. sphere(4,"Add",elocacenter.CFrame,VT(0,0,0),5*3,BrickColor.new("New Yeller"))
  3499. sphere(5,"Add",elocacenter.CFrame,VT(0,0,0),5*3,BrickColor.new("New Yeller"))
  3500. sphere(5,"Add",elocacenter.CFrame,VT(0,0,0),500*3,BrickColor.new("New Yeller"))
  3501. for i = 0, 24 do
  3502. sphereMK(2,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.25*3,BrickColor.new("New Yeller"),0)
  3503. sphereMK(4,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25*3,BrickColor.new("New Yeller"),0)
  3504. sphereMK(6,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25*3,BrickColor.new("New Yeller"),0)
  3505. sphereMK(8,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25*3,BrickColor.new("New Yeller"),0)
  3506. end
  3507. coroutine.resume(coroutine.create(function()
  3508. local eff = Instance.new("ParticleEmitter",elocacenter)
  3509. eff.Texture = "rbxassetid://2092248396"
  3510. eff.LightEmission = 1
  3511. eff.Color = ColorSequence.new(BrickColor.new("New Yeller").Color)
  3512. eff.Rate = 50000
  3513. eff.Lifetime = NumberRange.new(6,12)
  3514. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,120,0),NumberSequenceKeypoint.new(0.2,2.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  3515. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3516. eff.Speed = NumberRange.new(150,1500)
  3517. eff.Drag = 5
  3518. eff.Rotation = NumberRange.new(-500,500)
  3519. eff.VelocitySpread = 9000
  3520. eff.RotSpeed = NumberRange.new(-100,100)
  3521. wait(1.25)
  3522. eff.Enabled = false
  3523. end))
  3524. wait(0.5)
  3525. CreateSound(1535995263,Torso,10,1,false)
  3526. CreateSound(1535995263,Torso,10,1,false)
  3527. end))
  3528. for i = 0, 4, 0.1 do
  3529. swait()
  3530. PixelBlockX(5,0.5,"Add",RightArm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("New Yeller"),0)
  3531. PixelBlockNeg(5,0.5,"Add",RightArm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("New Yeller"),0)
  3532. PixelBlockX(5,0.5,"Add",LeftArm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("New Yeller"),0)
  3533. PixelBlockNeg(5,0.5,"Add",LeftArm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("New Yeller"),0)
  3534. end
  3535. coroutine.resume(coroutine.create(function()
  3536. wait(10)
  3537. elocacenter:Destroy()
  3538. eloca1:Destroy()
  3539. eloca2:Destroy()
  3540. eloca3:Destroy()
  3541. eloca4:Destroy()
  3542. end))
  3543. end))
  3544. end
  3545.  
  3546. function Shoot()
  3547.     ATTACK = true
  3548.     Rooted = false
  3549.     AttackGyro()
  3550.     Speed = 10
  3551.     for i=0, 0.4, 0.1 / Animation_Speed do
  3552.         Swait()
  3553.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  3554.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  3555.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3556.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3557.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3558.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  3559.     end
  3560.     repeat
  3561.         for i=0, 0.2, 0.1 / Animation_Speed do
  3562.             Swait()
  3563.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  3564.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  3565.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3566.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3567.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3568.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  3569.         end
  3570.         local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  3571.         SpawnTrail(Hole.Position,POS)
  3572.         ApplyAoE(POS,10)
  3573.         CreateSound(356911785,Torso,10,.9,false)
  3574.         for i = 0, 5 do
  3575.             WACKYEFFECT({Time = 25, EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.1,0,0.1)*MRANDOM(1000/1000,1750/1000), Transparency = 0, Transparency2 = 1, CFrame = CF(POS)*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-100/100,100/100), RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3576.             WACKYEFFECT({Time = 25, EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.1,0,0.1)*MRANDOM(1000/1000,1750/1000), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-100/100,100/100), RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3577.         end
  3578.         for i = 0, 2 do
  3579.             WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(2.5,2.5,2.5), Transparency = 0.3, Transparency2 = 1, CFrame = CF(POS)*ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-1,1)*5, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), UseBoomerangMath = true, SizeBoomerang = 50, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3580.             WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(2.5,2.5,2.5), Transparency = 0.3, Transparency2 = 1, CFrame = Hole.CFrame*ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-1,1)*5, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), UseBoomerangMath = true, SizeBoomerang = 50, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3581.         end
  3582.         ShakeCam(1,10)
  3583.         for i=0, 0.3, 0.1 / Animation_Speed do
  3584.             Swait()
  3585.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  3586.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(45)), 1 / Animation_Speed)
  3587.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3588.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3589.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3590.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  3591.         end
  3592.     until HOLD == false
  3593.     Speed = 15
  3594.     ATTACK = false
  3595.     Rooted = false
  3596. end
  3597.  
  3598. --//=================================\\
  3599. --||      ASSIGN THINGS TO KEYS
  3600. --\\=================================//
  3601.  
  3602. function MouseDown(Mouse)
  3603.     HOLD = true
  3604.     if ATTACK == false and RUNNING == false then
  3605.         if SWORDEQUIPPED == true then
  3606.             if COMBO == 1 then
  3607.                 COMBO = 2
  3608.                 SlashOne()
  3609.             elseif COMBO == 2 then
  3610.                 COMBO = 3
  3611.                 SlashTwo()
  3612.             elseif COMBO == 3 then
  3613.                 COMBO = 1
  3614.                 SlashThree()
  3615.             end
  3616.         elseif GUNEQUIPPED == true then
  3617.             Shoot()
  3618.         end
  3619.     end
  3620. end
  3621.  
  3622. function MouseUp(Mouse)
  3623. HOLD = false
  3624. end
  3625.  
  3626. function KeyDown(Key)
  3627.     KEYHOLD = true
  3628.     if SWORDEQUIPPED == true or GUNEQUIPPED == true then
  3629.         if SWORDEQUIPPED == true then
  3630.             if Key == "z" and ATTACK == false and RUNNING == false then
  3631.                 Spin()
  3632.             end        
  3633.         else
  3634.             if Key == "z" and ATTACK == false and RUNNING == false then
  3635.                 violent()
  3636.             end
  3637.         end
  3638.         if Key == "x" and ATTACK == false and RUNNING == false then
  3639.             attackone()
  3640.         end
  3641.         if Key == "c" and ATTACK == false and RUNNING == false then
  3642.             attacktwo()
  3643.         end
  3644.         if Key == "v" and ATTACK == false and RUNNING == false then
  3645.             attackthree()
  3646.         end
  3647.         if Key == "b" and ATTACK == false and RUNNING == false then
  3648.             ball()
  3649.         end
  3650.     end
  3651.     if Key == "h" and ATTACK == false and RUNNING == false then
  3652.         SWORDEQUIPPED = false
  3653.         GUNEQUIPPED = false
  3654.     end
  3655.     if Key == "q" and ATTACK == false and MODE >1 then
  3656.         MODE = MODE -1
  3657.     end
  3658.     if Key == "e" and ATTACK == false and MODE <3 then
  3659.         MODE = MODE +1
  3660.     end
  3661.     if Key == "t" then
  3662.         TOBANISH = {}
  3663.         TOBAN = {}
  3664.     end
  3665.     if Key == "0" and ATTACK == false and RUNNING == false then
  3666.         Sprint()
  3667.     end
  3668.     if Key == "f" and ATTACK == false and RUNNING == false and GUNEQUIPPED == false then
  3669.         ToggleWeapon("Sword")
  3670.     end
  3671.     if Key == "g" and ATTACK == false and RUNNING == false and SWORDEQUIPPED == false then
  3672.         ToggleWeapon("Gun")
  3673.     end
  3674. end
  3675.  
  3676. --//=================================\\
  3677. --\\=================================//
  3678.  
  3679. local ActualVelocity = Vector3.new(0,0,0)
  3680.  
  3681.  
  3682. function KeyUp(Key)
  3683.     KEYHOLD = false
  3684.     if Key == "0" and RUNNING == true then
  3685.         Speed = 15
  3686.         RUNNING = false
  3687.     end
  3688. end
  3689.  
  3690. Mouse.Button1Down:connect(function(NEWKEY)
  3691.     MouseDown(NEWKEY)
  3692. end)
  3693. Mouse.Button1Up:connect(function(NEWKEY)
  3694.     MouseUp(NEWKEY)
  3695. end)
  3696. Mouse.KeyDown:connect(function(NEWKEY)
  3697.     KeyDown(NEWKEY)
  3698. end)
  3699. Mouse.KeyUp:connect(function(NEWKEY)
  3700.     KeyUp(NEWKEY)
  3701. end)  
  3702.    
  3703. --><:thinking:
  3704. function unanchor()
  3705.     for _, c in pairs(Character:GetChildren()) do
  3706.         if c:IsA("BasePart") and c ~= RootPart then
  3707.             c.Anchored = false
  3708.         end
  3709.     end
  3710.     if UNANCHOR == true then
  3711.         RootPart.Anchored = false
  3712.     else
  3713.         RootPart.Anchored = true
  3714.     end
  3715. end
  3716.  
  3717. --//=================================\\
  3718. --\\=================================//
  3719.  
  3720. while true do
  3721.     Swait()
  3722.     ANIMATE.Parent = nil
  3723.     for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  3724.         v:Stop();
  3725.     end
  3726.     SINE = SINE + CHANGE
  3727. TORSOVELOCITY=(ActualVelocity*Vector3.new(1,0,1)).magnitude
  3728. TORSOVELOCITY=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  3729.     local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3730.     local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  3731.     local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  3732.     if TORSOVERTICALVELOCITY > 20 then
  3733.         TORSOVERTICALVELOCITY = 20
  3734.     elseif TORSOVERTICALVELOCITY < -20 then
  3735.         TORSOVERTICALVELOCITY = -20
  3736.     end
  3737.     if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil and ATTACK == false then
  3738.         ANIM = "Jump"
  3739.         if GUNEQUIPPED == false then
  3740.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -0.1 + 0.1 * COS(SINE / 20)) * ANGLES(RAD(10), RAD(0), RAD(0)), 0.3)
  3741.             Neck.C0 = Clerp(Neck.C0, NECKC0 * ANGLES(RAD(-40), RAD(0), RAD(0)), 0.3)
  3742.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / 1.75)
  3743.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0 * 1) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / 1.75)
  3744.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / 1.75)
  3745.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / 1.75)
  3746.         else
  3747.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -0.1 + 0.1 * COS(SINE / 20)) * ANGLES(RAD(10), RAD(0), RAD(0)), 0.3)
  3748.             Neck.C0 = Clerp(Neck.C0, NECKC0 * ANGLES(RAD(-40), RAD(0), RAD(0)), 0.3)
  3749.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / 1.75)
  3750.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(140 + 5 * COS(SINE /32)), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 0.8 / Animation_Speed)
  3751.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / 1.75)
  3752.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / 1.75)     
  3753.         end
  3754.     elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil and ATTACK == false then
  3755.         ANIM = "Fall"
  3756.         if GUNEQUIPPED == false then
  3757.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -0.1 + 0.1 * COS(SINE / 20)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.3)
  3758.             Neck.C0 = Clerp(Neck.C0, NECKC0 * ANGLES(RAD(40), RAD(0), RAD(0)), 0.3)
  3759.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / 1.75)
  3760.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / 1.75)
  3761.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / 1.75)
  3762.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / 1.75)
  3763.         else
  3764.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -0.1 + 0.1 * COS(SINE / 20)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.3)
  3765.             Neck.C0 = Clerp(Neck.C0, NECKC0 * ANGLES(RAD(40), RAD(0), RAD(0)), 0.3)
  3766.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / 1.75)
  3767.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(140 + 5 * COS(SINE /32)), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 0.8 / Animation_Speed)
  3768.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / 1.75)
  3769.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / 1.75)         
  3770.         end
  3771.     elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil and ATTACK == false then
  3772.         ANIM = "Idle"
  3773.         DOUBLED = false
  3774.         READYTODOUBLE = false
  3775.         if SWORDEQUIPPED == false and GUNEQUIPPED == false then
  3776.             RightHip.C0=Clerp(RightHip.C0,CF(1,-1 + 0.05 * math.cos(SINE / 20)  - 0.02 * math.cos(SINE / 40),0)*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(-3 + 2 * math.cos(SINE / 40)),math.rad(-15),math.rad(0 + 2 * math.cos(SINE / 20))),.1)
  3777.             LeftHip.C0=Clerp(LeftHip.C0,CF(-1,-1 + 0.05 * math.cos(SINE / 20) - 0.02 * math.cos(SINE / 40),0)*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(-3 - 2 * math.cos(SINE / 40)),math.rad(1),math.rad(0 - 2 * math.cos(SINE / 20))),.1)
  3778.             RootJoint.C0=Clerp(RootJoint.C0,ROOTC0*CF(0 + 0.02 * math.cos(SINE / 40),0 - 0.02 * math.cos(SINE / 40),-0.05 - 0.05 * math.cos(SINE / 20))*ANGLES(math.rad(0 + 2 * math.cos(SINE / 20)),math.rad(0 + 2 * math.cos(SINE / 40)),math.rad(30 + 3 * math.cos(SINE / 40))),.1)
  3779.             Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(math.rad(2),math.rad(0 - 7 * math.cos(SINE / 40)),math.rad(-30 - 3 * math.cos(SINE / 40))),.1)
  3780.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9, 0.5 + 0.05 * SIN(SINE / 40), -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / 3)
  3781.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.9, 0.25 + 0.05 * SIN(SINE / 40), -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / 3)
  3782.         elseif SWORDEQUIPPED == true then
  3783.             RightHip.C0=Clerp(RightHip.C0,CF(1,-1 + 0.05 * math.cos(SINE / 20)  - 0.02 * math.cos(SINE / 40),0)*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(-3 + 2 * math.cos(SINE / 40)),math.rad(0 - 6 * math.cos(SINE / 40)),math.rad(-6 + 2 * math.cos(SINE / 20) - 6 * math.cos(SINE / 40))),.1)
  3784.             LeftHip.C0=Clerp(LeftHip.C0,CF(-1,-1 + 0.05 * math.cos(SINE / 20) - 0.02 * math.cos(SINE / 40),0)*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(-3 - 2 * math.cos(SINE / 40)),math.rad(10 - 6 * math.cos(SINE / 40)),math.rad(3 - 2 * math.cos(SINE / 20) - 3 * math.cos(SINE / 40))),.1)
  3785.             RootJoint.C0=Clerp(RootJoint.C0,ROOTC0*CF(0 + 0.02 * math.cos(SINE / 40),0 - 0.06 * math.cos(SINE / 40),-0.05 - 0.05 * math.cos(SINE / 20))*ANGLES(math.rad(0 + 2 * math.cos(SINE / 20)),math.rad(0 + 2 * math.cos(SINE / 40)),math.rad(-20 + 6 * math.cos(SINE / 40))),.1)
  3786.             Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(math.rad(6),math.rad(0 - 2 * math.cos(SINE / 42)),math.rad(20 - 6 * math.cos(SINE / 40))),.1)
  3787.             RightShoulder.C0=Clerp(RightShoulder.C0,CF(1,0.5 + 0.05 * math.cos(SINE / 28),0.1)*ANGLES(math.rad(-13 + 3 * math.cos(SINE / 26)),math.rad(-20 - 3 * math.cos(SINE / 24)),math.rad(20 - 5 * math.cos(SINE / 34)))*ANGLES(RAD(0),RAD(90),RAD(0)),.1)
  3788.             LeftShoulder.C0=Clerp(LeftShoulder.C0,CF(-1,0.5 + 0.05 * math.cos(SINE / 28),0.1)*ANGLES(math.rad(-13 - 3 * math.cos(SINE / 25)),math.rad(10 + 3 * math.cos(SINE / 24)),math.rad(-10 + 5 * math.cos(SINE / 34)))*ANGLES(RAD(0),RAD(-90),RAD(0)),.1)
  3789.         elseif GUNEQUIPPED == true then
  3790.             RightHip.C0=Clerp(RightHip.C0,CF(1,-1 + 0.05 * math.cos(SINE / 20)  - 0.02 * math.cos(SINE / 40),0)*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(-3 + 2 * math.cos(SINE / 40)),math.rad(-15),math.rad(0 + 2 * math.cos(SINE / 20))),.1)
  3791.             LeftHip.C0=Clerp(LeftHip.C0,CF(-1,-1 + 0.05 * math.cos(SINE / 20) - 0.02 * math.cos(SINE / 40),0)*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(-3 - 2 * math.cos(SINE / 40)),math.rad(1),math.rad(0 - 2 * math.cos(SINE / 20))),.1)
  3792.             RootJoint.C0=Clerp(RootJoint.C0,ROOTC0*CF(0 + 0.02 * math.cos(SINE / 40),0 - 0.02 * math.cos(SINE / 40),-0.05 - 0.05 * math.cos(SINE / 20))*ANGLES(math.rad(0 + 2 * math.cos(SINE / 20)),math.rad(0 + 2 * math.cos(SINE / 40)),math.rad(30 + 3 * math.cos(SINE / 40))),.1)
  3793.             Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(math.rad(2),math.rad(0 - 7 * math.cos(SINE / 40)),math.rad(-30 - 3 * math.cos(SINE / 40))),.1)
  3794.             RightShoulder.C0=Clerp(RightShoulder.C0,CF(1,0.5 + 0.05 * math.cos(SINE / 28),0.1)*ANGLES(math.rad(-6 + 5 * math.cos(SINE / 26)),math.rad(-10 - 6 * math.cos(SINE / 24)),math.rad(13 - 5 * math.cos(SINE / 34)))*ANGLES(RAD(0),RAD(90),RAD(0)),.1)
  3795.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(140 + 5 * COS(SINE /32)), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 0.8 / Animation_Speed)
  3796.         end
  3797.     elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil and ATTACK == false then
  3798.         if RUNNING == false then
  3799.             ANIM = "Walk"
  3800.             DOUBLED = false
  3801.             READYTODOUBLE = false
  3802.             if SWORDEQUIPPED == false and GUNEQUIPPED == false then
  3803.                 RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -0.175 + 0.025 * COS(SINE / 3.5) + -SIN(SINE / 3.5) / 7) * ANGLES(RAD(9-2.5 * COS(SINE / 3.5)), RAD(0), RAD(10 * COS(SINE / 7))), 0.15)
  3804.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3)
  3805.                 RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.925 - 0.5 * COS(SINE / 7) / 2, 0.5 * COS(SINE / 7) / 2) * ANGLES(RAD(-15 - 35 * COS(SINE / 7)) + -SIN(SINE / 7) / 2.5, RAD(90 - 2 * COS(SINE / 7)), RAD(0)) * ANGLES(RAD(0 + 2.5 * COS(SINE / 7)), RAD(0), RAD(0)), 0.3)
  3806.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.925 + 0.5 * COS(SINE / 7) / 2, -0.5 * COS(SINE / 7) / 2) * ANGLES(RAD(-15 + 35 * COS(SINE / 7)) + SIN(SINE / 7) / 2.5, RAD(-90 - 2 * COS(SINE / 7)), RAD(0)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 7)), RAD(0), RAD(0)), 0.3)
  3807.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5 + 0.05 * SIN(SINE / 30), 0.025 * COS(SINE / 20)) * ANGLES(RAD(-70) * COS(SINE / 7) , RAD(-90),  RAD(-5)), 0.1)
  3808.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.05 * SIN(SINE / 30), 0.025 * COS(SINE / 20)) * ANGLES(RAD(70) * COS(SINE / 7) , RAD(90), RAD(5)), 0.1)
  3809.             elseif SWORDEQUIPPED == true then
  3810.                 RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -0.175 + 0.025 * COS(SINE / 3.5) + -SIN(SINE / 3.5) / 7) * ANGLES(RAD(9-2.5 * COS(SINE / 3.5)), RAD(0), RAD(10 * COS(SINE / 7))), 0.15)
  3811.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3)
  3812.                 RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.925 - 0.5 * COS(SINE / 7) / 2, 0.5 * COS(SINE / 7) / 2) * ANGLES(RAD(-15 - 35 * COS(SINE / 7)) + -SIN(SINE / 7) / 2.5, RAD(90 - 2 * COS(SINE / 7)), RAD(0)) * ANGLES(RAD(0 + 2.5 * COS(SINE / 7)), RAD(0), RAD(0)), 0.3)
  3813.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.925 + 0.5 * COS(SINE / 7) / 2, -0.5 * COS(SINE / 7) / 2) * ANGLES(RAD(-15 + 35 * COS(SINE / 7)) + SIN(SINE / 7) / 2.5, RAD(-90 - 2 * COS(SINE / 7)), RAD(0)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 7)), RAD(0), RAD(0)), 0.3)
  3814.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5 + 0.05 * SIN(SINE / 30), 0.025 * COS(SINE / 20)) * ANGLES(RAD(-70) * COS(SINE / 7) , RAD(-90),  RAD(-5)), 0.1)
  3815.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / 1)
  3816.             elseif GUNEQUIPPED == true then
  3817.                 RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -0.175 + 0.025 * COS(SINE / 3.5) + -SIN(SINE / 3.5) / 7) * ANGLES(RAD(9-2.5 * COS(SINE / 3.5)), RAD(0), RAD(10 * COS(SINE / 7))), 0.15)
  3818.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3)
  3819.                 RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.925 - 0.5 * COS(SINE / 7) / 2, 0.5 * COS(SINE / 7) / 2) * ANGLES(RAD(-15 - 35 * COS(SINE / 7)) + -SIN(SINE / 7) / 2.5, RAD(90 - 2 * COS(SINE / 7)), RAD(0)) * ANGLES(RAD(0 + 2.5 * COS(SINE / 7)), RAD(0), RAD(0)), 0.3)
  3820.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.925 + 0.5 * COS(SINE / 7) / 2, -0.5 * COS(SINE / 7) / 2) * ANGLES(RAD(-15 + 35 * COS(SINE / 7)) + SIN(SINE / 7) / 2.5, RAD(-90 - 2 * COS(SINE / 7)), RAD(0)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 7)), RAD(0), RAD(0)), 0.3)
  3821.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(140 + 5 * COS(SINE /32)), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 0.8 / Animation_Speed)
  3822.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.05 * SIN(SINE / 30), 0.025 * COS(SINE / 20)) * ANGLES(RAD(70) * COS(SINE / 7) , RAD(90), RAD(5)), 0.1)            
  3823.             end
  3824.         else
  3825.             ANIM = "Run"
  3826.             DOUBLED = false
  3827.             READYTODOUBLE = false
  3828.             if SWORDEQUIPPED == false and GUNEQUIPPED == false then
  3829.                 RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0* 1, 0* 1, -0.175 + 0.025 * COS(SINE / 3.5) + -SIN(SINE / 3.5) / 7* 1) * ANGLES(RAD(26 - 4.5 * COS(SINE / 3.5)), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(15 * COS(SINE / 7))), 0.15)
  3830.                 Neck.C0 = Clerp(Neck.C0, NECKC0* CF(0, 0, 0 + ((1* 1) - 1)) * ANGLES(RAD(-2.5 * SIN(SINE / 20)), RAD(0), RAD(0) - Head.RotVelocity.Y / 15), 0.3)
  3831.                 RightHip.C0 = Clerp(RightHip.C0, CF(1* 1, -0.925 - 0.5 * COS(SINE / 7) / 2* 1, 0.7 * COS(SINE / 7) / 2* 1) * ANGLES(RAD(-15 - 55 * COS(SINE / 7)) - RightLeg.RotVelocity.Y / 75 + -SIN(SINE / 7) / 2.5, RAD(90 - 0.1 * COS(SINE / 7)), RAD(0)) * ANGLES(RAD(0 + 0.1 * COS(SINE / 7)), RAD(0), RAD(0)), 0.3)
  3832.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1* 1, -0.925 + 0.5 * COS(SINE / 7) / 2* 1, -0.7 * COS(SINE / 7) / 2* 1) * ANGLES(RAD(-15 + 55 * COS(SINE / 7)) + LeftLeg.RotVelocity.Y / 75 + SIN(SINE / 7) / 2.5, RAD(-90 - 0.1 * COS(SINE / 7)), RAD(0)) * ANGLES(RAD(0 - 0.1 * COS(SINE / 7)), RAD(0), RAD(0)), 0.3)
  3833.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.05 * SIN(SINE / 30)* 1, 0.34 * COS(SINE / 7* 1)) * ANGLES(RAD(110)  * COS(SINE / 7) , RAD(90), RAD(13) - RightArm.RotVelocity.Y / 75), 0.15)
  3834.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5 + 0.05 * SIN(SINE / 30)* 1, -0.34 * COS(SINE / 7* 1)) * ANGLES(RAD(-110)  * COS(SINE / 7) , RAD(-90) ,  RAD(-13) + LeftArm.RotVelocity.Y / 75), 0.15)
  3835.             elseif SWORDEQUIPPED == true then
  3836.                 RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0* 1, 0* 1, -0.175 + 0.025 * COS(SINE / 3.5) + -SIN(SINE / 3.5) / 7* 1) * ANGLES(RAD(26 - 4.5 * COS(SINE / 3.5)), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(15 * COS(SINE / 7))), 0.15)
  3837.                 Neck.C0 = Clerp(Neck.C0, NECKC0* CF(0, 0, 0 + ((1* 1) - 1)) * ANGLES(RAD(-2.5 * SIN(SINE / 20)), RAD(0), RAD(0) - Head.RotVelocity.Y / 15), 0.3)
  3838.                 RightHip.C0 = Clerp(RightHip.C0, CF(1* 1, -0.925 - 0.5 * COS(SINE / 7) / 2* 1, 0.7 * COS(SINE / 7) / 2* 1) * ANGLES(RAD(-15 - 55 * COS(SINE / 7)) - RightLeg.RotVelocity.Y / 75 + -SIN(SINE / 7) / 2.5, RAD(90 - 0.1 * COS(SINE / 7)), RAD(0)) * ANGLES(RAD(0 + 0.1 * COS(SINE / 7)), RAD(0), RAD(0)), 0.3)
  3839.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1* 1, -0.925 + 0.5 * COS(SINE / 7) / 2* 1, -0.7 * COS(SINE / 7) / 2* 1) * ANGLES(RAD(-15 + 55 * COS(SINE / 7)) + LeftLeg.RotVelocity.Y / 75 + SIN(SINE / 7) / 2.5, RAD(-90 - 0.1 * COS(SINE / 7)), RAD(0)) * ANGLES(RAD(0 - 0.1 * COS(SINE / 7)), RAD(0), RAD(0)), 0.3)
  3840.                 RightShoulder.C0=Clerp(RightShoulder.C0,CF(1,0.5 + 0.05 * math.cos(SINE / 28),0.1)*ANGLES(math.rad(-13 + 3 * math.cos(SINE / 26)),math.rad(-20 - 3 * math.cos(SINE / 24)),math.rad(20 - 5 * math.cos(SINE / 34)))*ANGLES(RAD(0),RAD(90),RAD(20)),.1)
  3841.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5 + 0.05 * SIN(SINE / 30)* 1, -0.34 * COS(SINE / 7* 1)) * ANGLES(RAD(-110)  * COS(SINE / 7) , RAD(-90) ,  RAD(-13) + LeftArm.RotVelocity.Y / 75), 0.15)
  3842.             elseif GUNEQUIPPED == true then
  3843.                 RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0* 1, 0* 1, -0.175 + 0.025 * COS(SINE / 3.5) + -SIN(SINE / 3.5) / 7* 1) * ANGLES(RAD(26 - 4.5 * COS(SINE / 3.5)), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(15 * COS(SINE / 7))), 0.15)
  3844.                 Neck.C0 = Clerp(Neck.C0, NECKC0* CF(0, 0, 0 + ((1* 1) - 1)) * ANGLES(RAD(-2.5 * SIN(SINE / 20)), RAD(0), RAD(0) - Head.RotVelocity.Y / 15), 0.3)
  3845.                 RightHip.C0 = Clerp(RightHip.C0, CF(1* 1, -0.925 - 0.5 * COS(SINE / 7) / 2* 1, 0.7 * COS(SINE / 7) / 2* 1) * ANGLES(RAD(-15 - 55 * COS(SINE / 7)) - RightLeg.RotVelocity.Y / 75 + -SIN(SINE / 7) / 2.5, RAD(90 - 0.1 * COS(SINE / 7)), RAD(0)) * ANGLES(RAD(0 + 0.1 * COS(SINE / 7)), RAD(0), RAD(0)), 0.3)
  3846.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1* 1, -0.925 + 0.5 * COS(SINE / 7) / 2* 1, -0.7 * COS(SINE / 7) / 2* 1) * ANGLES(RAD(-15 + 55 * COS(SINE / 7)) + LeftLeg.RotVelocity.Y / 75 + SIN(SINE / 7) / 2.5, RAD(-90 - 0.1 * COS(SINE / 7)), RAD(0)) * ANGLES(RAD(0 - 0.1 * COS(SINE / 7)), RAD(0), RAD(0)), 0.3)
  3847.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.05 * SIN(SINE / 30)* 1, 0.34 * COS(SINE / 7* 1)) * ANGLES(RAD(110)  * COS(SINE / 7) , RAD(90), RAD(13) - RightArm.RotVelocity.Y / 75), 0.15)
  3848.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(140 + 5 * COS(SINE /32)), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 0.8 / Animation_Speed)
  3849.             end
  3850.         end
  3851.     end
  3852.     val = MRANDOM(200,255)
  3853.     Humanoid.CameraOffset = VT(0,0,0)
  3854.     if GUNEQUIPPED == false then
  3855.         GunGrip.C0 = CF(-1.1, -1, 0)*ANGLES(RAD(-90),RAD(0),RAD(0))
  3856.         GunGrip.Part0 = Torso
  3857.     else
  3858.         GunGrip.C0 = CF(0, -1.5, 0)*ANGLES(RAD(-90),RAD(0),RAD(0))
  3859.         GunGrip.Part0 = LeftArm
  3860.         if HITFLOOR ~= nil then
  3861.             WACKYEFFECT({Time = 25, EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.1,0,0.1)*MRANDOM(1000/1000,1750/1000), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-3.25,0)*ANGLES(RAD(MRANDOM(-5,5)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-5,5))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-100/100,100/100), RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3862.         end
  3863.         WACKYEFFECT({Time = 15, EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.015,0,0.015)*MRANDOM(1000/1000,1750/1000), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3864.     end
  3865.     Gun.Parent = Character
  3866.     if SWORDEQUIPPED == false then
  3867.         SwordGrip.C0 = CF(0, 0, 0.5)*ANGLES(RAD(-90),RAD(-90-45),RAD(90))
  3868.         SwordGrip.Part0 = Torso
  3869.     else
  3870.         SwordGrip.C0 = CF(0, -1, -2)*ANGLES(RAD(-90),RAD(0),RAD(0))
  3871.         SwordGrip.Part0 = RightArm
  3872.         if HITFLOOR ~= nil then
  3873.             WACKYEFFECT({Time = 25, EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.1,0,0.1)*MRANDOM(1000/1000,1750/1000), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-3.25,0)*ANGLES(RAD(MRANDOM(-5,5)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-5,5))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-100/100,100/100), RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3874.             WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(0.5,0,0.5), Size2 = VT(0.1,6,0.1), Transparency = 0.3, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-3,0)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(1,10)) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-1,1)*5, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), UseBoomerangMath = true, SizeBoomerang = 50, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3875.         end
  3876.     end
  3877.     for _, c in pairs(Effects:GetDescendants()) do
  3878.         if c:IsA("Part") or c:IsA("MeshPart") then
  3879.             c.Color = Color3.fromRGB(255,215,0)
  3880.         elseif c:IsA("ParticleEmitter") or c:IsA("Trail") then
  3881.             c.Color = ColorSequence.new(Color3.fromRGB(255,215,0))
  3882.         elseif c:IsA("ImageLabel") then
  3883.             c.ImageColor3 = Color3.fromRGB(255,215,0)
  3884.         end
  3885.     end
  3886.     if not PlayerGui:FindFirstChild("W E A P O N G U I") then
  3887.         WEAPONGUI:remove()
  3888.         local WEAPONGUI = IT("ScreenGui",PlayerGui)
  3889.         WEAPONGUI.Name = "W E A P O N G U I"
  3890.         local ATTACKSFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.775, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
  3891.         local TEXT = CreateLabel(ATTACKSFRAME, "[B A N I S H]", Color3.fromRGB(255,215,0), 8.5,  Enum.Font.SourceSansBold, 0, 2, 0.5, "W E A P O N T E X T L A B E L")
  3892.     else
  3893.         for _, c in pairs(PlayerGui:GetDescendants()) do
  3894.             if c:IsA("TextLabel") and c.Name == "W E A P O N T E X T L A B E L" then
  3895.                 c.Font = FONTS[MRANDOM(1,#FONTS)]
  3896.                 c.TextColor3 = Color3.fromRGB(val,val,0)
  3897.                 if MODE == 1 then
  3898.                     c.Text = "[B A N I S H]"
  3899.                 elseif MODE == 2 then
  3900.                     c.Text = "[K I C K]"
  3901.                 elseif MODE == 3 then
  3902.                     c.Text = "[B A N]"
  3903.                 end
  3904.             end
  3905.         end
  3906.     end
  3907.     unanchor()
  3908.     Humanoid.DisplayDistanceType = "None"
  3909.     if Rooted == false then
  3910.         Disable_Jump = false
  3911.         Humanoid.WalkSpeed = Speed
  3912.     elseif Rooted == true then
  3913.         Disable_Jump = true
  3914.         Humanoid.WalkSpeed = 0
  3915.     end
  3916.     if sick then
  3917.         sick.Name = "epic music aint it"
  3918.         sick.SoundId = "rbxassetid://3134116147"
  3919.         sick.MaxDistance = "inf"
  3920.         sick.Volume = 2
  3921.         sick.Looped = true
  3922.         sick.Playing = true
  3923.     else
  3924.         local sick = Instance.new("Sound",Character)
  3925.         sick.Name = "epic music aint it"
  3926.         sick.SoundId = "rbxassetid://3134116147"
  3927.         sick.MaxDistance = "inf"
  3928.         sick.Volume = 2
  3929.         sick.Looped = true
  3930.         sick.Playing = true
  3931.     end
  3932. end
  3933.  
Add Comment
Please, Sign In to add comment