Advertisement
wanTH092

Superior (New update)

Jul 10th, 2018
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 130.14 KB | None | 0 0
  1. local Player = game:GetService("Players").LocalPlayer
  2. repeat
  3.     wait()
  4. until Player.Character
  5. local Character = Player.Character
  6. TrailSettings = {
  7.     Lifetime = 1,
  8.     Texture = "http://www.roblox.com/asset/?id=1097260739",
  9.     Color1 = ColorSequence.new(BrickColor.new("Really red").Color),
  10.     Color2 = ColorSequence.new(BrickColor.new("Really red").Color),
  11.     AllBody = true,
  12.     UpperBodyOnly = false,
  13.     LowerBodyOnly = false,
  14.     Accessories = false,
  15.     Extras = true,
  16.     R15 = false,
  17.     R15Parts = {"UpperTorso", "LowerTorso"}
  18. }
  19. local Trail
  20. function UpperBody()
  21.     if TrailSettings.R15 == false then
  22.         A0 = Instance.new("Attachment", Character.Torso)
  23.         A1 = Instance.new("Attachment", Character.Head)
  24.         A2 = Instance.new("Attachment", Character["Right Arm"])
  25.         A3 = Instance.new("Attachment", Character["Left Arm"])
  26.         Trail = Instance.new("Trail", Character)
  27.         Trail.Attachment0 = A0
  28.         Trail.Attachment1 = A1
  29.         Trail.Texture = TrailSettings.Texture
  30.         Trail.Color = TrailSettings.Color1
  31.         Trail.Lifetime = TrailSettings.Lifetime
  32.         local Trail2 = Trail:Clone()
  33.         Trail2.Parent = Character
  34.         Trail2.Attachment1 = A2
  35.         local Trail3 = Trail:Clone()
  36.         Trail3.Parent = Character
  37.         Trail3.Attachment1 = A3
  38.         local Trail6 = Trail:Clone()
  39.         Trail6.Parent = Character
  40.         Trail6.Attachment0 = A1
  41.         Trail6.Attachment1 = A2
  42.         local Trail7 = Trail:Clone()
  43.         Trail7.Parent = Character
  44.         Trail7.Attachment0 = A1
  45.         Trail7.Attachment1 = A3
  46.     else
  47.         A0 = Instance.new("Attachment", Character[TrailSettings.R15Parts[1]])
  48.         A0R = Instance.new("Attachment", Character[TrailSettings.R15Parts[2]])
  49.         A1 = Instance.new("Attachment", Character.Head)
  50.         A2 = Instance.new("Attachment", Character.RightUpperArm)
  51.         A2R = Instance.new("Attachment", Character.RightLowerArm)
  52.         A3 = Instance.new("Attachment", Character.LeftUpperArm)
  53.         A3R = Instance.new("Attachment", Character.LeftLowerArm)
  54.         Trail = Instance.new("Trail", Character)
  55.         Trail.Attachment0 = A0
  56.         Trail.Attachment1 = A1
  57.         Trail.Texture = TrailSettings.Texture
  58.         Trail.Color = TrailSettings.Color1
  59.         Trail.Lifetime = TrailSettings.Lifetime
  60.         local Trail2 = Trail:Clone()
  61.         Trail2.Parent = Character
  62.         Trail2.Attachment1 = A2
  63.         local Trail3 = Trail:Clone()
  64.         Trail3.Parent = Character
  65.         Trail3.Attachment1 = A3
  66.         local Trail6 = Trail:Clone()
  67.         Trail6.Parent = Character
  68.         Trail6.Attachment0 = A1
  69.         Trail6.Attachment1 = A2
  70.         local Trail7 = Trail:Clone()
  71.         Trail7.Parent = Character
  72.         Trail7.Attachment0 = A1
  73.         Trail7.Attachment1 = A3
  74.         local Trail1R = Trail:Clone()
  75.         Trail1R.Parent = Character
  76.         Trail1R.Attachment1 = A2R
  77.         local Trail2R = Trail:Clone()
  78.         Trail2R.Parent = Character
  79.         Trail2R.Attachment1 = A3R
  80.         local Trail6R = Trail:Clone()
  81.         Trail6.Parent = Character
  82.         Trail6.Attachment0 = A1
  83.         Trail6.Attachment1 = A2R
  84.         local Trail7R = Trail:Clone()
  85.         Trail7.Parent = Character
  86.         Trail7.Attachment0 = A1
  87.         Trail7.Attachment1 = A3R
  88.     end
  89. end
  90. function LowerBody()
  91.     if TrailSettings.R15 == false then
  92.         A4 = Instance.new("Attachment", Character["Right Leg"])
  93.         A5 = Instance.new("Attachment", Character["Left Leg"])
  94.         local Trail4 = Trail:Clone()
  95.         Trail4.Parent = Character
  96.         Trail4.Attachment1 = A4
  97.         local Trail5 = Trail:Clone()
  98.         Trail5.Parent = Character
  99.         Trail5.Attachment1 = A5
  100.         local Trail8 = Trail:Clone()
  101.         Trail8.Parent = Character
  102.         Trail8.Attachment0 = A2
  103.         Trail8.Attachment1 = A4
  104.         Trail8.Color = TrailSettings.Color2
  105.         local Trail9 = Trail:Clone()
  106.         Trail9.Parent = Character
  107.         Trail9.Attachment0 = A3
  108.         Trail9.Attachment1 = A5
  109.         Trail9.Color = TrailSettings.Color2
  110.         local FT = Trail:Clone()
  111.         FT.Parent = Character
  112.         FT.Attachment0 = A4
  113.         FT.Attachment1 = A5
  114.         FT.Color = TrailSettings.Color2
  115.     else
  116.         A4 = Instance.new("Attachment", Character.RightLowerLeg)
  117.         A4R = Instance.new("Attachment", Character.RightUpperLeg)
  118.         A5 = Instance.new("Attachment", Character.LeftLowerLeg)
  119.         A5R = Instance.new("Attachment", Character.LeftUpperLeg)
  120.         local Trail4 = Trail:Clone()
  121.         Trail4.Parent = Character
  122.         Trail4.Attachment1 = A4
  123.         local Trail5 = Trail:Clone()
  124.         Trail5.Parent = Character
  125.         Trail5.Attachment1 = A5
  126.         local Trail8 = Trail:Clone()
  127.         Trail8.Parent = Character
  128.         Trail8.Attachment0 = A2
  129.         Trail8.Attachment1 = A4
  130.         Trail8.Color = TrailSettings.Color2
  131.         local Trail9 = Trail:Clone()
  132.         Trail9.Parent = Character
  133.         Trail9.Attachment0 = A3
  134.         Trail9.Attachment1 = A5
  135.         Trail9.Color = TrailSettings.Color2
  136.         local FT = Trail:Clone()
  137.         FT.Parent = Character
  138.         FT.Attachment0 = A4
  139.         FT.Attachment1 = A5
  140.         FT.Color = TrailSettings.Color2
  141.         local Trail3R = Trail:Clone()
  142.         Trail3R.Parent = Character
  143.         Trail3R.Attachment1 = A4R
  144.         local Trail4R = Trail:Clone()
  145.         Trail4R.Parent = Character
  146.         Trail4R.Attachment1 = A5R
  147.         local Trail8 = Trail:Clone()
  148.         Trail8.Parent = Character
  149.         Trail8.Attachment0 = A2R
  150.         Trail8.Attachment1 = A4R
  151.         Trail8.Color = TrailSettings.Color2
  152.         local Trail9 = Trail:Clone()
  153.         Trail9.Parent = Character
  154.         Trail9.Attachment0 = A3R
  155.         Trail9.Attachment1 = A5R
  156.         Trail9.Color = TrailSettings.Color2
  157.         local FT2R = Trail:Clone()
  158.         FT2R.Parent = Character
  159.         FT2R.Attachment0 = A4R
  160.         FT2R.Attachment1 = A5R
  161.         FT2R.Color = TrailSettings.Color2
  162.     end
  163. end
  164. function AllBody()
  165.     UpperBody()
  166.     LowerBody()
  167. end
  168. if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
  169.     TrailSettings.UpperBodyOnly = false
  170.     TrailSettings.LowerBodyOnly = false
  171. elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then
  172.     TrailSettings.UpperBodyOnly = false
  173.     TrailSettings.LowerBodyOnly = false
  174. elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then
  175.     TrailSettings.UpperBodyOnly = false
  176.     TrailSettings.LowerBodyOnly = false
  177. elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
  178.     TrailSettings.AllBody = true
  179.     TrailSettings.UpperBodyOnly = false
  180.     TrailSettings.LowerBodyOnly = false
  181. end
  182. if TrailSettings.UpperBodyOnly == true then
  183.     UpperBody()
  184.     print("Called Upper Body Trail")
  185. elseif TrailSettings.LowerBodyOnly == true then
  186.     LowerBody()
  187.     print("Called Lower Body Trail")
  188. elseif TrailSettings.AllBody == true then
  189.     AllBody()
  190.     print("Called Full Body Trail")
  191. end
  192. if TrailSettings.Accessories == true then
  193.     for Index, Item in pairs(Character:GetChildren()) do
  194.         if Item:IsA("Accessory") then
  195.             local AA = Instance.new("Attachment", Item.Handle)
  196.             local ATrail = Trail:Clone()
  197.             ATrail.Parent = Character
  198.             ATrail.Attachment1 = AA
  199.         end
  200.     end
  201. end
  202. if TrailSettings.Extras == true then
  203.     spawn(function()
  204.         repeat
  205.             wait()
  206.         until Trail
  207.         local AB = Instance.new("Attachment", a)
  208.         local ABT = Trail:Clone()
  209.         ABT.Parent = Character
  210.         ABT.Attachment0 = A4
  211.         ABT.Attachment1 = AB
  212.         ABT.Color = TrailSettings.Color2
  213.         local ABT2 = Trail:Clone()
  214.         ABT2.Parent = Character
  215.         ABT2.Attachment0 = A5
  216.         ABT2.Attachment1 = AB
  217.         ABT2.Color = TrailSettings.Color2
  218.     end)
  219. end
  220. wait(0.1)
  221.  
  222. --//====================================================\\--
  223. --||               Edited by wanTH092
  224. --\\====================================================//--
  225.  
  226.  
  227. local Player = game.Players.localPlayer
  228. local Character = Player.Character
  229. local Humanoid = Character.Humanoid
  230. local Mouse = Player:GetMouse()
  231. local LeftArm = Character["Left Arm"]
  232. local RightArm = Character["Right Arm"]
  233. local LeftLeg = Character["Left Leg"]
  234. local RightLeg = Character["Right Leg"]
  235. local Head = Character.Head
  236. local Torso = Character.Torso
  237. local Camera = game.Workspace.CurrentCamera
  238. local RootPart = Character.HumanoidRootPart
  239. local RootJoint = RootPart.RootJoint
  240. local attack = false
  241. local Anim = 'Idle'
  242. local Lighty = game:GetService"Lighting"
  243. local attacktype = 1
  244. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  245. local velocity = RootPart.Velocity.y
  246. local sine = 0
  247. local change = 1
  248. local Create = LoadLibrary("RbxUtility").Create
  249.  
  250. local chara = Character
  251. local m = Create("Model"){
  252.     Parent = Character,
  253.     Name = "WeaponModel",
  254. }
  255.  
  256.  
  257. wait(0.2)
  258.  
  259. Player = game:GetService("Players").LocalPlayer
  260. PlayerGui = Player.PlayerGui
  261. Cam = workspace.CurrentCamera
  262. Backpack = Player.Backpack
  263. Character = Player.Character
  264. Humanoid = Character.Humanoid
  265. Mouse = Player:GetMouse()
  266. RootPart = Character["HumanoidRootPart"]
  267. Torso = Character["Torso"]
  268. Head = Character["Head"]
  269. RightArm = Character["Right Arm"]
  270. LeftArm = Character["Left Arm"]
  271. RightLeg = Character["Right Leg"]
  272. LeftLeg = Character["Left Leg"]
  273. RootJoint = RootPart["RootJoint"]
  274. Neck = Torso["Neck"]
  275. RightShoulder = Torso["Right Shoulder"]
  276. LeftShoulder = Torso["Left Shoulder"]
  277. RightHip = Torso["Right Hip"]
  278. LeftHip = Torso["Left Hip"]
  279. Character.Archivable = true
  280. Player:ClearCharacterAppearance()
  281.  
  282. IT = Instance.new
  283. CF = CFrame.new
  284. VT = Vector3.new
  285. RAD = math.rad
  286. C3 = Color3.new
  287. UD2 = UDim2.new
  288. BRICKC = BrickColor.new
  289. ANGLES = CFrame.Angles
  290. EULER = CFrame.fromEulerAnglesXYZ
  291. COS = math.cos
  292. ACOS = math.acos
  293. SIN = math.sin
  294. ASIN = math.asin
  295. ABS = math.abs
  296. MRANDOM = math.random
  297. FLOOR = math.floor
  298.  
  299. --//=================================\\
  300. --||          USEFUL VALUES
  301. --\\=================================//
  302.  
  303. Animation_Speed = 2.5
  304. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  305. local Speed = 28
  306. local SIZE = 1.4
  307. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  308. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  309. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  310. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  311. local DAMAGEMULTIPLIER = 5
  312. local ANIM = "Idle"
  313. local ATTACK = false
  314. local EQUIPPED = false
  315. local HOLD = false
  316. local COMBO = 1
  317. local Rooted = false
  318. local SINE = 0
  319. local KEYHOLD = false
  320. local CHANGE = 2 / Animation_Speed
  321. local WALKINGANIM = false
  322. local VALUE1 = false
  323. local VALUE2 = false
  324. local ROBLOXIDLEANIMATION = IT("Animation")
  325. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  326. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  327. local ATANIM = IT("Animation")
  328. ATANIM.Name = "Attack Animation"
  329. ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
  330. --ROBLOXIDLEANIMATION.Parent = Humanoid
  331. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  332. WEAPONGUI.Name = "Weapon GUI"
  333. local Weapon = IT("Model")
  334. Weapon.Name = "Adds"
  335. local Effects = IT("Folder", Weapon)
  336. Effects.Name = "Effects"
  337. local ANIMATOR = Humanoid.Animator
  338. local ANIMATE = Character.Animate
  339. local UNANCHOR = true
  340. local CLOCKLOOP = 0
  341. local SONG = 1873219898
  342. local CLOCKTARGET = nil
  343. local CLOCKSPEED = 1
  344. script.Parent = WEAPONGUI
  345. local CLONE = Character:Clone()
  346. CLONE.Parent = nil
  347. Character.Archivable = false
  348. local sick = Instance.new("Sound",Torso)
  349. sick.Volume = 1
  350.  
  351. --//=================================\\
  352. --\\=================================//
  353.  
  354.  
  355. --//=================================\\
  356. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  357. --\\=================================//
  358.  
  359. ArtificialHB = Instance.new("BindableEvent", script)
  360. ArtificialHB.Name = "ArtificialHB"
  361.  
  362. script:WaitForChild("ArtificialHB")
  363.  
  364. frame = Frame_Speed
  365. tf = 0
  366. allowframeloss = false
  367. tossremainder = false
  368. lastframe = tick()
  369. script.ArtificialHB:Fire()
  370.  
  371. game:GetService("RunService").Heartbeat:connect(function(s, p)
  372.     tf = tf + s
  373.     if tf >= frame then
  374.         if allowframeloss then
  375.             script.ArtificialHB:Fire()
  376.             lastframe = tick()
  377.         else
  378.             for i = 1, math.floor(tf / frame) do
  379.                 script.ArtificialHB:Fire()
  380.             end
  381.         lastframe = tick()
  382.         end
  383.         if tossremainder then
  384.             tf = 0
  385.         else
  386.             tf = tf - frame * math.floor(tf / frame)
  387.         end
  388.     end
  389. end)
  390.  
  391. --//=================================\\
  392. --\\=================================//
  393.  
  394. --//=================================\\
  395. --||          SOME FUNCTIONS
  396. --\\=================================//
  397.  
  398. function Reappear()
  399.     for _, c in pairs(Character:GetChildren()) do
  400.         if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  401.             c.Transparency = 0
  402.             if c:FindFirstChildOfClass("Decal") then
  403.                 c:FindFirstChildOfClass("Decal").Transparency = 0
  404.             end
  405.             if c:FindFirstChildOfClass("ParticleEmitter") then
  406.                 c:FindFirstChildOfClass("ParticleEmitter").Enabled = true
  407.             end
  408.         elseif c.ClassName == "Accessory" then
  409.             c.Handle.Transparency = 0
  410.             if c.Handle:FindFirstChildOfClass("ParticleEmitter") then
  411.                 c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = true
  412.             end
  413.         end
  414.     end
  415. end
  416.  
  417. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  418.     if FLOOR ~= nil then
  419.         coroutine.resume(coroutine.create(function()
  420.             local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Really red", "DebreeCenter", VT(0,0,0))
  421.             PART.CFrame = CF(POSITION)
  422.             for i = 1, 45 do
  423.                 local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Really red", "DebreePart", BLOCKSIZE)
  424.                 RingPiece.Material = FLOOR.Material
  425.                 RingPiece.Color = FLOOR.Color
  426.                 RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  427.                 Debris:AddItem(RingPiece,SWAIT)
  428.             end
  429.             PART:remove()
  430.         end))
  431.     end
  432. end
  433.  
  434. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  435.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  436.     local mesh = IT("SpecialMesh",wave)
  437.     mesh.MeshType = "FileMesh"
  438.     mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  439.     mesh.Scale = SIZE
  440.     mesh.Offset = VT(0,0,0)
  441.     wave.CFrame = CFRAME
  442.     coroutine.resume(coroutine.create(function(PART)
  443.         for i = 1, WAIT do
  444.             Swait()
  445.             mesh.Scale = mesh.Scale + GROW
  446.             if DOESROT == true then
  447.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  448.             end
  449.             wave.Transparency = wave.Transparency + (0.5/WAIT)
  450.             if wave.Transparency > 0.99 then
  451.                 wave:remove()
  452.             end
  453.         end
  454.     end))
  455. end
  456.  
  457. function VanishPlayer()
  458.     for _, c in pairs(Character:GetChildren()) do
  459.         if c.ClassName == "Part" then
  460.             c.Transparency = 1
  461.             if c:FindFirstChildOfClass("Decal") then
  462.                 c:FindFirstChildOfClass("Decal").Transparency = 1
  463.             end
  464.             if c:FindFirstChildOfClass("ParticleEmitter") then
  465.                 c:FindFirstChildOfClass("ParticleEmitter").Enabled = false
  466.             end
  467.         elseif c.ClassName == "Accessory" then
  468.             c.Handle.Transparency = 1
  469.             if c.Handle:FindFirstChildOfClass("ParticleEmitter") then
  470.                 c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = false
  471.             end
  472.         end
  473.     end
  474. end
  475.  
  476. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  477.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  478. end
  479.  
  480. function PositiveAngle(NUMBER)
  481.     if NUMBER >= 0 then
  482.         NUMBER = 0
  483.     end
  484.     return NUMBER
  485. end
  486.  
  487. function NegativeAngle(NUMBER)
  488.     if NUMBER <= 0 then
  489.         NUMBER = 0
  490.     end
  491.     return NUMBER
  492. end
  493.  
  494. function Swait(NUMBER)
  495.     if NUMBER == 0 or NUMBER == nil then
  496.         ArtificialHB.Event:wait()
  497.     else
  498.         for i = 1, NUMBER do
  499.             ArtificialHB.Event:wait()
  500.         end
  501.     end
  502. end
  503.  
  504. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  505.     local NEWMESH = IT(MESH)
  506.     if MESH == "SpecialMesh" then
  507.         NEWMESH.MeshType = MESHTYPE
  508.         if MESHID ~= "nil" and MESHID ~= "" then
  509.             NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  510.         end
  511.         if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  512.             NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  513.         end
  514.     end
  515.     NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  516.     NEWMESH.Scale = SCALE
  517.     NEWMESH.Parent = PARENT
  518.     return NEWMESH
  519. end
  520.  
  521. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  522.     local NEWPART = IT("Part")
  523.     NEWPART.formFactor = FORMFACTOR
  524.     NEWPART.Reflectance = REFLECTANCE
  525.     NEWPART.Transparency = TRANSPARENCY
  526.     NEWPART.CanCollide = false
  527.     NEWPART.Locked = true
  528.     NEWPART.Anchored = true
  529.     if ANCHOR == false then
  530.         NEWPART.Anchored = false
  531.     end
  532.     NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  533.     NEWPART.Name = NAME
  534.     NEWPART.Size = SIZE
  535.     NEWPART.Position = Torso.Position
  536.     NEWPART.Material = MATERIAL
  537.     NEWPART:BreakJoints()
  538.     NEWPART.Parent = PARENT
  539.     return NEWPART
  540. end
  541.  
  542.     local function weldBetween(a, b)
  543.         local weldd = Instance.new("ManualWeld")
  544.         weldd.Part0 = a
  545.         weldd.Part1 = b
  546.         weldd.C0 = CFrame.new()
  547.         weldd.C1 = b.CFrame:inverse() * a.CFrame
  548.         weldd.Parent = a
  549.         return weldd
  550.     end
  551.  
  552.  
  553. function QuaternionFromCFrame(cf)
  554.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  555.     local trace = m00 + m11 + m22
  556.     if trace > 0 then
  557.         local s = math.sqrt(1 + trace)
  558.         local recip = 0.5 / s
  559.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  560.     else
  561.         local i = 0
  562.         if m11 > m00 then
  563.             i = 1
  564.         end
  565.         if m22 > (i == 0 and m00 or m11) then
  566.             i = 2
  567.         end
  568.         if i == 0 then
  569.             local s = math.sqrt(m00 - m11 - m22 + 1)
  570.             local recip = 0.5 / s
  571.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  572.         elseif i == 1 then
  573.             local s = math.sqrt(m11 - m22 - m00 + 1)
  574.             local recip = 0.5 / s
  575.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  576.         elseif i == 2 then
  577.             local s = math.sqrt(m22 - m00 - m11 + 1)
  578.             local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  579.         end
  580.     end
  581. end
  582.  
  583. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  584.     local xs, ys, zs = x + x, y + y, z + z
  585.     local wx, wy, wz = w * xs, w * ys, w * zs
  586.     local xx = x * xs
  587.     local xy = x * ys
  588.     local xz = x * zs
  589.     local yy = y * ys
  590.     local yz = y * zs
  591.     local zz = z * zs
  592.     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))
  593. end
  594.  
  595. function QuaternionSlerp(a, b, t)
  596.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  597.     local startInterp, finishInterp;
  598.     if cosTheta >= 0.0001 then
  599.         if (1 - cosTheta) > 0.0001 then
  600.             local theta = ACOS(cosTheta)
  601.             local invSinTheta = 1 / SIN(theta)
  602.             startInterp = SIN((1 - t) * theta) * invSinTheta
  603.             finishInterp = SIN(t * theta) * invSinTheta
  604.         else
  605.             startInterp = 1 - t
  606.             finishInterp = t
  607.         end
  608.     else
  609.         if (1 + cosTheta) > 0.0001 then
  610.             local theta = ACOS(-cosTheta)
  611.             local invSinTheta = 1 / SIN(theta)
  612.             startInterp = SIN((t - 1) * theta) * invSinTheta
  613.             finishInterp = SIN(t * theta) * invSinTheta
  614.         else
  615.             startInterp = t - 1
  616.             finishInterp = t
  617.         end
  618.     end
  619.     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
  620. end
  621.  
  622. function Clerp(a, b, t)
  623.     local qa = {QuaternionFromCFrame(a)}
  624.     local qb = {QuaternionFromCFrame(b)}
  625.     local ax, ay, az = a.x, a.y, a.z
  626.     local bx, by, bz = b.x, b.y, b.z
  627.     local _t = 1 - t
  628.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  629. end
  630.  
  631. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  632.     local frame = IT("Frame")
  633.     frame.BackgroundTransparency = TRANSPARENCY
  634.     frame.BorderSizePixel = BORDERSIZEPIXEL
  635.     frame.Position = POSITION
  636.     frame.Size = SIZE
  637.     frame.BackgroundColor3 = COLOR
  638.     frame.BorderColor3 = BORDERCOLOR
  639.     frame.Name = NAME
  640.     frame.Parent = PARENT
  641.     return frame
  642. end
  643.  
  644. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  645.     local label = IT("TextLabel")
  646.     label.BackgroundTransparency = 1
  647.     label.Size = UD2(1, 0, 1, 0)
  648.     label.Position = UD2(0, 0, 0, 0)
  649.     label.TextColor3 = TEXTCOLOR
  650.     label.TextStrokeTransparency = STROKETRANSPARENCY
  651.     label.TextTransparency = TRANSPARENCY
  652.     label.FontSize = TEXTFONTSIZE
  653.     label.Font = TEXTFONT
  654.     label.BorderSizePixel = BORDERSIZEPIXEL
  655.     label.TextStrokeColor3 = C3(1,1,1)
  656.     label.TextScaled = false
  657.     label.Text = TEXT
  658.     label.Name = NAME
  659.     label.Parent = PARENT
  660.     return label
  661. end
  662.  
  663. function NoOutlines(PART)
  664.     PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  665. end
  666.  
  667. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  668.     local NEWWELD = IT(TYPE)
  669.     NEWWELD.Part0 = PART0
  670.     NEWWELD.Part1 = PART1
  671.     NEWWELD.C0 = C0
  672.     NEWWELD.C1 = C1
  673.     NEWWELD.Parent = PARENT
  674.     return NEWWELD
  675. end
  676.  
  677. local S = IT("Sound")
  678. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  679.     local NEWSOUND = nil
  680.     coroutine.resume(coroutine.create(function()
  681.         NEWSOUND = S:Clone()
  682.         NEWSOUND.Parent = PARENT
  683.         NEWSOUND.Volume = VOLUME
  684.         NEWSOUND.Pitch = PITCH
  685.         NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  686.         NEWSOUND:play()
  687.         if DOESLOOP == true then
  688.             NEWSOUND.Looped = true
  689.         else
  690.             repeat wait(1) until NEWSOUND.Playing == false
  691.             NEWSOUND:remove()
  692.         end
  693.     end))
  694.     return NEWSOUND
  695. end
  696.  
  697. function CFrameFromTopBack(at, top, back)
  698.     local right = top:Cross(back)
  699.     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)
  700. end
  701.  
  702. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  703. function WACKYEFFECT(Table)
  704.     local TYPE = (Table.EffectType or "Sphere")
  705.     local SIZE = (Table.Size or VT(1,1,1))
  706.     local ENDSIZE = (Table.Size2 or VT(0,0,0))
  707.     local TRANSPARENCY = (Table.Transparency or 0)
  708.     local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  709.     local CFRAME = (Table.CFrame or Torso.CFrame)
  710.     local MOVEDIRECTION = (Table.MoveToPos or nil)
  711.     local ROTATION1 = (Table.RotationX or 0)
  712.     local ROTATION2 = (Table.RotationY or 0)
  713.     local ROTATION3 = (Table.RotationZ or 0)
  714.     local MATERIAL = (Table.Material or "Neon")
  715.     local COLOR = (Table.Color or C3(1,1,1))
  716.     local TIME = (Table.Time or 45)
  717.     local SOUNDID = (Table.SoundID or nil)
  718.     local SOUNDPITCH = (Table.SoundPitch or nil)
  719.     local SOUNDVOLUME = (Table.SoundVolume or nil)
  720.     coroutine.resume(coroutine.create(function()
  721.         local PLAYSSOUND = false
  722.         local SOUND = nil
  723.         local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  724.         if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  725.             PLAYSSOUND = true
  726.             SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  727.         end
  728.         EFFECT.Color = COLOR
  729.         local MSH = nil
  730.         if TYPE == "Sphere" then
  731.             MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  732.         elseif TYPE == "Block" then
  733.             MSH = IT("BlockMesh",EFFECT)
  734.             MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  735.         elseif TYPE == "Wave" then
  736.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  737.         elseif TYPE == "Ring" then
  738.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  739.         elseif TYPE == "Slash" then
  740.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  741.         elseif TYPE == "Round Slash" then
  742.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  743.         elseif TYPE == "Swirl" then
  744.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  745.         elseif TYPE == "Skull" then
  746.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  747.         elseif TYPE == "Crystal" then
  748.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  749.         end
  750.         if MSH ~= nil then
  751.             local MOVESPEED = nil
  752.             if MOVEDIRECTION ~= nil then
  753.                 MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  754.             end
  755.             local GROWTH = SIZE - ENDSIZE
  756.             local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  757.             if TYPE == "Block" then
  758.                 EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  759.             else
  760.                 EFFECT.CFrame = CFRAME
  761.             end
  762.             for LOOP = 1, TIME+1 do
  763.                 Swait()
  764.                 MSH.Scale = MSH.Scale - GROWTH/TIME
  765.                 if TYPE == "Wave" then
  766.                     MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  767.                 end
  768.                 EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  769.                 if TYPE == "Block" then
  770.                     EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  771.                 else
  772.                     EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  773.                 end
  774.                 if MOVEDIRECTION ~= nil then
  775.                     local ORI = EFFECT.Orientation
  776.                     EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  777.                     EFFECT.Orientation = ORI
  778.                 end
  779.             end
  780.             if PLAYSSOUND == false then
  781.                 EFFECT:remove()
  782.             else
  783.                 repeat Swait() until SOUND.Playing == false
  784.                 EFFECT:remove()
  785.             end
  786.         else
  787.             if PLAYSSOUND == false then
  788.                 EFFECT:remove()
  789.             else
  790.                 repeat Swait() until SOUND.Playing == false
  791.                 EFFECT:remove()
  792.             end
  793.         end
  794.     end))
  795. end
  796. function killnearest(position,range,maxstrength)
  797.     for i,v in ipairs(workspace:GetChildren()) do
  798.     local body = v:GetChildren()
  799.         for part = 1, #body do
  800.             if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  801.                 if(body[part].Position - position).Magnitude < range then
  802.                     if v.ClassName == "Model" then
  803.                         v:BreakJoints()
  804.                     end
  805.                     --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  806.                     body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  807.                 end
  808.             end
  809.         end
  810.         if v.ClassName == "Part" then
  811.             if v.Anchored == false and (v.Position - position).Magnitude < range then
  812.                 --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  813.                 v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  814.             end
  815.         end
  816.     end
  817. end
  818.  
  819. function CheckTableForString(Table, String)
  820.     for i, v in pairs(Table) do
  821.         if string.find(string.lower(String), string.lower(v)) then
  822.             return true
  823.         end
  824.     end
  825.     return false
  826. end
  827.  
  828. function CheckIntangible(Hit)
  829.     local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  830.     if Hit and Hit.Parent then
  831.         if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  832.             return true
  833.         end
  834.     end
  835.     return false
  836. end
  837.  
  838. function MakeForm(PART,TYPE)
  839.     if TYPE == "Cyl" then
  840.         local MSH = IT("CylinderMesh",PART)
  841.     elseif TYPE == "Ball" then
  842.         local MSH = IT("SpecialMesh",PART)
  843.         MSH.MeshType = "Sphere"
  844.     elseif TYPE == "Wedge" then
  845.         local MSH = IT("SpecialMesh",PART)
  846.         MSH.MeshType = "Wedge"
  847.     end
  848. end
  849.  
  850. Debris = game:GetService("Debris")
  851.  
  852. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  853.     local DIRECTION = CF(StartPos,EndPos).lookVector
  854.     return Raycast(StartPos, DIRECTION, Distance, Ignore)
  855. end
  856.  
  857. function turnto(position)
  858.     RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  859. end
  860.  
  861. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  862.     PLAYMAINANIM = false
  863.     if WhichPose == "Cast1" then
  864.         for i=0, Time, 0.1 / Animation_Speed do
  865.             Swait()
  866.             if Magic == true then
  867.                 WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  868.             end
  869.             if Gyro ~= nil and Gyro ~= false then
  870.                 Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  871.             end
  872.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  873.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  874.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  875.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  876.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  877.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  878.         end
  879.     elseif WhichPose == "Cast2" then
  880.         for i=0, Time, 0.1 / Animation_Speed do
  881.             Swait()
  882.             if Magic == true then
  883.                 WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  884.                 WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  885.             end
  886.             if Gyro ~= nil and Gyro ~= false then
  887.                 Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  888.             end
  889.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  890.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  891.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  892.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  893.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  894.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  895.         end
  896.     elseif WhichPose == "RightArmUp" then
  897.         for i=0, Time, 0.1 / Animation_Speed do
  898.             Swait()
  899.             if Magic == true then
  900.                 WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  901.             end
  902.             if Gyro ~= nil and Gyro ~= false then
  903.                 Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  904.             end
  905.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
  906.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  907.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  908.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  909.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  910.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  911.         end
  912.     elseif WhichPose == "Taunt" then
  913.         for i=0, Time, 0.1 / Animation_Speed do
  914.             Swait()
  915.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  916.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  917.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  918.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  919.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  920.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  921.         end
  922.         HATWELD.Part0 = RightArm
  923.         HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  924.         CreateSound(221057812,Torso,10,1,false)
  925.         for i=0, Time*2, 0.1 / Animation_Speed do
  926.             Swait()
  927.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  928.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  929.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  930.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  931.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  932.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  933.         end
  934.         for i=0, Time, 0.1 / Animation_Speed do
  935.             Swait()
  936.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  937.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  938.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  939.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  940.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  941.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  942.             HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed)
  943.         end
  944.         HATWELD.Part0 = Head
  945.         HATWELD.C0 = CF(0,0.35,0)
  946.     elseif WhichPose == "Prepare key" then
  947.         for i=0, Time, 0.1 / Animation_Speed do
  948.             Swait()
  949.             if Gyro ~= nil and Gyro ~= false then
  950.                 Gyro.cframe = CF(RootPart.Position,Tors.Position)
  951.             end
  952.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
  953.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  954.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  955.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  956.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  957.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  958.         end
  959.     elseif WhichPose == "Turn key" then
  960.         for i=0, Time, 0.1 / Animation_Speed do
  961.             Swait()
  962.             if Gyro ~= nil and Gyro ~= false then
  963.                 Gyro.cframe = CF(RootPart.Position,Tors.Position)
  964.             end
  965.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
  966.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  967.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  968.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  969.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  970.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  971.         end
  972.     end
  973.     PLAYMAINANIM = true
  974. end
  975.  
  976. --Lightning({Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false})
  977. function Lightning(Table)
  978.     local Color = Table.Color or C3(1,1,1)
  979.     local StartPos = Table.Start or Torso.Position
  980.     local EndPos = Table.End or Mouse.Hit.p
  981.     local SegmentLength = Table.SegmentL or 2
  982.     local Thickness = Table.Thickness or 0.1
  983.     local Dissapear = Table.DoesFade or false
  984.     local Parent = Table.Ignore or Character
  985.     local MaxDist = Table.MaxDist or 400
  986.     local Branches = Table.Branches or false
  987.     local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  988.     local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
  989.     local LIGHTNINGMODEL = IT("Model",Effects)
  990.     LIGHTNINGMODEL.Name = "Lightning"
  991.     local LastBolt = nil
  992.     for E = 1, DISTANCE do
  993.         local ExtraSize = (DISTANCE-E)/15
  994.         local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  995.         PART.Color = Color
  996.         MakeForm(PART,"Cyl")
  997.         if LastBolt == nil then
  998.             PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  999.         else
  1000.             PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SegmentLength/3+(DISTANCE-E)).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  1001.         end
  1002.         LastBolt = PART
  1003.         if Branches == true then
  1004.             local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  1005.             if CHOICE == 1 then
  1006.                 local LASTBRANCH = nil
  1007.                 for i = 1, MRANDOM(2,5) do
  1008.                     local ExtraSize2 = ((DISTANCE-E)/25)/i
  1009.                     local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  1010.                     PART.Color = Color
  1011.                     MakeForm(PART,"Cyl")
  1012.                     if LASTBRANCH == nil then
  1013.                         PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  1014.                     else
  1015.                         PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  1016.                     end
  1017.                     LASTBRANCH = PART
  1018.                 end
  1019.             end
  1020.         end
  1021.     end
  1022.     if Dissapear == true then
  1023.         coroutine.resume(coroutine.create(function()
  1024.             for i = 1, 10 do
  1025.                 Swait()
  1026.                 for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  1027.                     if c.ClassName == "Part" then
  1028.                         c.Transparency = i/10
  1029.                     end
  1030.                 end
  1031.             end
  1032.             LIGHTNINGMODEL:remove()
  1033.         end))
  1034.     elseif Dissapear == false then
  1035.         Debris:AddItem(LIGHTNINGMODEL,0.1)
  1036.     end
  1037.     return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  1038. end
  1039.  
  1040. --//=================================\\
  1041. --||         WEAPON CREATION
  1042. --\\=================================//
  1043.  
  1044. function swait(num)
  1045.     if num == 0 or num == nil then
  1046.         ArtificialHB.Event:wait()
  1047.     else
  1048.         for i = 0, num do
  1049.             ArtificialHB.Event:wait()
  1050.         end
  1051.     end
  1052. end
  1053.  
  1054.  
  1055. function chatfunc(text)
  1056.     local chat = coroutine.wrap(function()
  1057.     if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1058.         Character:FindFirstChild("TalkingBillBoard"):destroy()
  1059.     end
  1060.     local Bill = Instance.new("BillboardGui",Character)
  1061.     Bill.Size = UDim2.new(0,100,0,40)
  1062.     Bill.StudsOffset = Vector3.new(0,3,0)
  1063.     Bill.Adornee = Character.Head
  1064.     Bill.Name = "TalkingBillBoard"
  1065.     local Hehe = Instance.new("TextLabel",Bill)
  1066.     Hehe.BackgroundTransparency = 1
  1067.     Hehe.BorderSizePixel = 0
  1068.     Hehe.Text = ""
  1069.     Hehe.Font = "Antique"
  1070.     Hehe.TextSize = 40
  1071.     Hehe.TextStrokeTransparency = 0
  1072.     Hehe.Size = UDim2.new(1,0,0.5,0)
  1073.     coroutine.resume(coroutine.create(function()
  1074.         while Hehe ~= nil do
  1075.             swait()
  1076.             Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) 
  1077.             Hehe.Rotation = math.random(-5,5)
  1078.             Hehe.TextColor3 = Color3.new(255,0,0)
  1079.             Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  1080.         end
  1081.     end))
  1082.     for i = 1,string.len(text),1 do
  1083.         swait()
  1084.         Hehe.Text = string.sub(text,1,i)
  1085.     end
  1086.     swait(90)--Re[math.random(1, 93)]
  1087.     for i = 0, 1, .025 do
  1088.         swait()
  1089.         Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1090.         Hehe.TextStrokeTransparency = i
  1091.         Hehe.TextTransparency = i
  1092.     end
  1093.     Bill:Destroy()
  1094.     end)
  1095. chat()
  1096. end
  1097.  
  1098. function onChatted(msg)
  1099.     chatfunc(msg)
  1100. end
  1101.  
  1102. Player.Chatted:connect(onChatted)
  1103.  
  1104. chatfunc("Edited by wanTH092")
  1105.  
  1106.  
  1107. Humanoid.Parent = nil
  1108. RootPart.Size = RootPart.Size*SIZE
  1109. Torso.Size = Torso.Size*SIZE
  1110. RightArm.Size = RightArm.Size*SIZE
  1111. RightLeg.Size = RightLeg.Size*SIZE
  1112. LeftArm.Size = LeftArm.Size*SIZE
  1113. LeftLeg.Size = LeftLeg.Size*SIZE
  1114. RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  1115. RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  1116. Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1117. Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1118. RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  1119. LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  1120. RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1121. LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1122. RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1123. LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1124. Head.Size = Head.Size*SIZE
  1125. RootJoint.Parent = RootPart
  1126. Neck.Parent = Torso
  1127. RightShoulder.Parent = Torso
  1128. LeftShoulder.Parent = Torso
  1129. RightHip.Parent = Torso
  1130. LeftHip.Parent = Torso
  1131.  
  1132. Humanoid.DisplayDistanceType = "None"
  1133. local naeeym2 = IT("BillboardGui",Character)
  1134. naeeym2.AlwaysOnTop = true
  1135. naeeym2.Size = UDim2.new(5,35,2,15)
  1136. naeeym2.StudsOffset = Vector3.new(0,2,0)
  1137. naeeym2.MaxDistance = 99999
  1138. naeeym2.Adornee = Character.Head
  1139. naeeym2.Name = "Name"
  1140. local tecks2 = IT("TextLabel",naeeym2)
  1141. tecks2.BackgroundTransparency = 1
  1142. tecks2.TextScaled = true
  1143. tecks2.BorderSizePixel = 0
  1144. tecks2.Text = "Superior"
  1145. tecks2.Font = "Antique"
  1146. tecks2.TextSize = 30
  1147. tecks2.TextStrokeTransparency = 0
  1148. tecks2.TextColor3 = C3(255,0,0)
  1149. tecks2.TextStrokeColor3 = C3(0/255, 0/255, 0/255)
  1150. tecks2.Size = UDim2.new(1,0,0.5,0)
  1151. tecks2.Parent = naeeym2
  1152. local top = Instance.new("Shirt")
  1153. top.ShirtTemplate = "rbxassetid://45695443"
  1154. top.Parent = Character
  1155. top.Name = "Cloth"
  1156. local bottom = Instance.new("Pants")
  1157. bottom.PantsTemplate = "rbxassetid://45696190"
  1158. bottom.Parent = Character
  1159. bottom.Name = "Cloth"
  1160. local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really red", "Hat", VT(1,1,1),false)
  1161. PRT.Color = C3(0,0,0)
  1162. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
  1163. CreateMesh("SpecialMesh", PRT, "FileMesh", "26768040", "", VT(1,1,1)*SIZE, VT(0,0,0))
  1164. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really red", "Detail", VT(1,1,1),false)
  1165. PRT.Color = C3(0,0,0)
  1166. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  1167. CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "", VT(1,1,1)*SIZE, VT(0,0,0))
  1168. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Detail", VT(1,1.2,0.2),false)
  1169. PRT.Color = C3(0,0,0)
  1170. MakeForm(PRT,"Ball")
  1171. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  1172. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Detail", VT(0.5,0.4,0.5),false)
  1173. PRT.Color = C3(255/100, 195/0, 175/0)
  1174. MakeForm(PRT,"Ball")
  1175. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
  1176. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Detail", VT(0.5,0.3,0.3),false)
  1177. PRT.Color = C3(0,0,0)
  1178. MakeForm(PRT,"Ball")
  1179. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  1180. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Detail", VT(0.5,0.3,0.3),false)
  1181. PRT.Color = C3(255/100, 195/0, 175/0)
  1182. MakeForm(PRT,"Ball")
  1183. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  1184. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Detail", VT(0.4,0.4,0.3),false)
  1185. PRT.Color = C3(255/100, 195/0, 175/0)
  1186. MakeForm(PRT,"Ball")
  1187. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
  1188. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Detail", VT(0.4,0.4,0.3),false)
  1189. PRT.Color = C3(255/100, 195/0, 175/0)
  1190. MakeForm(PRT,"Ball")
  1191. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
  1192. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
  1193. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1194. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
  1195. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1196. MakeForm(PRT,"Cyl")
  1197. local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
  1198. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1199. MakeForm(PRT,"Cyl")
  1200. PRT.Color = C3(255/100, 195/0, 175/0)
  1201. local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
  1202. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1203. MakeForm(RING,"Cyl")
  1204. RING.Color = C3(0,0,0)
  1205. for i = 1, 12 do
  1206.     local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
  1207.     PRT.Color = C3(0,0,0)
  1208.     local MSH = IT("BlockMesh",PRT)
  1209.     MSH.Scale = VT(0.6,1,1)
  1210.     CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD((360/12)*i), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.2*SIZE))
  1211. end
  1212. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
  1213. PRT.Color = C3(0,0,0)
  1214. local MSH = IT("BlockMesh",PRT)
  1215. MSH.Scale = VT(0.4,1,1)
  1216. local WATCH1 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.075*SIZE))
  1217. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
  1218. PRT.Color = C3(0,0,0)
  1219. local MSH = IT("BlockMesh",PRT)
  1220. MSH.Scale = VT(0.4,1,1)
  1221. local WATCH2 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -(0.075/1.5)*SIZE))
  1222. coroutine.resume(coroutine.create(function()
  1223.     while true do
  1224.         Swait()
  1225.         CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
  1226.         WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  1227.         WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  1228.         if CLOCKLOOP <= -150 then
  1229.             if VALUE1 == false then
  1230.                 CLOCKLOOP = 0
  1231.                 WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1004,1004,1004), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 4})
  1232.                 local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1233.                 ApplyAoE(HITPOS,10,15,45,75,false)
  1234.                 WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(192,192,192), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1235.                 WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(12,3,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(192,192,192), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1236.                 if CLOCKTARGET ~= nil then
  1237.                     CLOCKTARGET.Health = CLOCKTARGET.Health - 20
  1238.                     if CLOCKTARGET.Torso ~= nil then
  1239.                         CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  1240.                     end
  1241.                     if CLOCKTARGET.Health == 0 then
  1242.                         CLOCKTARGET = nil
  1243.                     end
  1244.                 end
  1245.             end
  1246.         end
  1247.     end
  1248. end))
  1249.  
  1250. Neck.Name = "Weld"
  1251. RootJoint.Name = "Weld"
  1252. RightShoulder.Name = "Weld"
  1253. LeftShoulder.Name = "Weld"
  1254. RightHip.Name = "Weld"
  1255. LeftHip.Name = "Weld"
  1256.  
  1257. local BODY = {}
  1258. for _, c in pairs(Character:GetDescendants()) do
  1259.     if c:IsA("BasePart") and c.Name ~= "Handle" then
  1260.         if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1261.             c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1262.         end
  1263.         table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1264.     elseif c:IsA("JointInstance") then
  1265.         table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1266.     end
  1267. end
  1268. for e = 1, #BODY do
  1269.     if BODY[e] ~= nil then
  1270.         local STUFF = BODY[e]
  1271.         local PART = STUFF[1]
  1272.         local PARENT = STUFF[2]
  1273.         local MATERIAL = STUFF[3]
  1274.         local COLOR = STUFF[4]
  1275.         local TRANSPARENCY = STUFF[5]
  1276.         if PART.ClassName == "Part" and PART ~= RootPart then
  1277.             PART.Material = MATERIAL
  1278.             PART.Color = COLOR
  1279.             PART.Transparency = TRANSPARENCY
  1280.         end
  1281.         PART.AncestryChanged:Connect(function()
  1282.             PART.Parent = PARENT
  1283.         end)
  1284.     end
  1285. end
  1286.  
  1287. function refit()
  1288.     Character.Parent = workspace
  1289.     for e = 1, #BODY do
  1290.         if BODY[e] ~= nil then
  1291.             local STUFF = BODY[e]
  1292.             local PART = STUFF[1]
  1293.             local PARENT = STUFF[2]
  1294.             local MATERIAL = STUFF[3]
  1295.             local COLOR = STUFF[4]
  1296.             local TRANSPARENCY = STUFF[5]
  1297.             if PART.ClassName == "Part" and PART ~= RootPart then
  1298.                 PART.Material = MATERIAL
  1299.                 PART.Color = COLOR
  1300.                 PART.Transparency = TRANSPARENCY
  1301.             end
  1302.             if PART.Parent ~= PARENT then
  1303.                 Humanoid:remove()
  1304.                 PART.Parent = PARENT
  1305.                 Humanoid = IT("Humanoid",Character)
  1306.             end
  1307.         end
  1308.     end
  1309. end
  1310. local SKILLTEXTCOLOR = C3(255/255, 0/255, 0/255)
  1311. local SKILLFONT = "Antique"
  1312. local SKILLTEXTSIZE = 7
  1313.  
  1314. Weapon.Parent = Character
  1315. Humanoid.Parent = Character
  1316.  
  1317. Humanoid.Died:connect(function()
  1318.     refit()
  1319. end)
  1320.  
  1321. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23-.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1322. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50+.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1323. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1324. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1325. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1326.  
  1327. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Bomber Missile", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
  1328. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Timer Fate", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  1329. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Power Knuckle", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  1330. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Fate's Box", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  1331. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Meteor Somewhere", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
  1332.  
  1333. --//=================================\\
  1334. --||            DAMAGING
  1335. --\\=================================//
  1336.  
  1337. function ApplyDamage(Humanoid,Damage,TorsoPart)
  1338.     local defence = Instance.new("BoolValue",Humanoid.Parent)
  1339.     defence.Name = ("HitBy"..Player.Name)
  1340.     game:GetService("Debris"):AddItem(defence, 0.001)
  1341.     Damage = Damage * DAMAGEMULTIPLIER
  1342.     if Humanoid.Health ~= 0 then
  1343.         local CritChance = MRANDOM(1,100)
  1344.         if Damage > Humanoid.Health then
  1345.             Damage = math.ceil(Humanoid.Health)
  1346.             if Damage == 0 then
  1347.                 Damage = 0.1
  1348.             end
  1349.         end
  1350.         Humanoid.Health = Humanoid.Health - Damage
  1351.     end
  1352. end
  1353.  
  1354. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1355.     local CHILDREN = workspace:GetDescendants()
  1356.     for index, CHILD in pairs(CHILDREN) do
  1357.         if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1358.             local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1359.             if HUM then
  1360.                 local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1361.                 if TORSO then
  1362.                     if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1363.                         if INSTAKILL == false then
  1364.                             CHILD:BreakJoints()
  1365.                         else
  1366.                             local DMG = MRANDOM(MINDMG,MAXDMG)
  1367.                             ApplyDamage(HUM,DMG,TORSO)
  1368.                         end
  1369.                         if FLING > 0 then
  1370.                             for _, c in pairs(CHILD:GetChildren()) do
  1371.                                 if c:IsA("BasePart") then
  1372.                                     local bv = Instance.new("BodyVelocity")
  1373.                                     bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1374.                                     bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1375.                                     bv.Parent = c
  1376.                                     Debris:AddItem(bv,0.05)
  1377.                                 end
  1378.                             end
  1379.                         end
  1380.                     end
  1381.                 end
  1382.             end
  1383.         end
  1384.     end
  1385. end
  1386.  
  1387. --//=================================\\
  1388. --||    ATTACK FUNCTIONS AND STUFF
  1389. --\\=================================//
  1390.  
  1391. function MagicMissiles()
  1392.     ATTACK = true
  1393.     Rooted = false
  1394.     local SELECTING = true
  1395.     local SPOTS = {}
  1396.     coroutine.resume(coroutine.create(function()
  1397.         local LOOP = 0
  1398.         repeat
  1399.             LOOP = LOOP + 1
  1400.             Swait()
  1401.             if LOOP >= 15 then
  1402.                 LOOP = 0
  1403.                 for i = 1, #SPOTS do
  1404.                     if SPOTS[i] ~= nil then
  1405.                         WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0, 0, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1406.                         WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0, 0, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1407.                     end
  1408.                 end
  1409.             end
  1410.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1411.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1412.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1413.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1414.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1415.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1416.         until SELECTING == false
  1417.         Rooted = false
  1418.         repeat
  1419.             LOOP = LOOP + 1
  1420.             Swait()
  1421.             if LOOP >= 15 then
  1422.                 LOOP = 0
  1423.                 for i = 1, #SPOTS do
  1424.                     if SPOTS[i] ~= nil then
  1425.                         WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1426.                         WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1427.                     end
  1428.                 end
  1429.             end
  1430.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1431.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  1432.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1433.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1434.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 1.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 1.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1435.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 1.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 1.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1436.         until ATTACK == false
  1437.     end))
  1438.     repeat
  1439.         repeat Swait() until HOLD == true
  1440.             local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  1441.             if DIST > 9999 then
  1442.                 DIST = 9999
  1443.             end
  1444.             local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  1445.             local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)  
  1446.             if HITFLOOR ~= nil then
  1447.                 table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
  1448.                 WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,2,6), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 0/255, 0/255), SoundID = 90655239, SoundPitch = 1, SoundVolume = 6})
  1449.                 WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1450.             end
  1451.         repeat Swait() until HOLD == false
  1452.     until #SPOTS == 10
  1453.     SELECTING = false
  1454.     for i = 1, #SPOTS do
  1455.         if SPOTS[i] ~= nil then
  1456.             local POS = SPOTS[i]
  1457.             coroutine.resume(coroutine.create(function()
  1458.                 local MISSILE = IT("Model",Effects)
  1459.                 MISSILE.Name = "Missile"
  1460.                 local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Really red", "Part", VT(2,2,2))
  1461.                 MakeForm(BASEPART,"Cyl")
  1462.                 MISSILE.PrimaryPart = BASEPART
  1463.                 BASEPART.CFrame = POS*CF(0,-30*3,0)
  1464.                 local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Really red", "Part", VT(2,4,2))
  1465.                 MakeForm(HEAD,"Ball")
  1466.                 HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
  1467.                 local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Really red", "Part", VT(2.5,0.1,2.5))
  1468.                 MakeForm(TAIL,"Cyl")
  1469.                 TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
  1470.                 chatfunc("YO LIKE NUKE?")
  1471.                 for i = 1, 15 do
  1472.                     Swait()
  1473.                     for _, c in pairs(MISSILE:GetChildren()) do
  1474.                         if c.ClassName == "Part" then
  1475.                             c.Transparency = c.Transparency - 1/10
  1476.                         end
  1477.                     end
  1478.                 end
  1479.                 for i = 1, 15*1.5 do
  1480.                     Swait()
  1481.                     MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
  1482.                 end
  1483.                 ApplyAoE(BASEPART.CFrame.p,200,350,450,750,true)
  1484.                 WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(750,350,750), Transparency = 0.5, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 0/255, 0/255), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
  1485.                 WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(350,350,350), Transparency = 0, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 0/255, 0/255), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 4})
  1486.                 WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(220,2,220), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1487.                 WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(200,3,200), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1488.                 MISSILE:remove()
  1489.             end))
  1490.         end
  1491.     end
  1492.     wait(0.6)
  1493.     ATTACK = false
  1494.     Rooted = false
  1495. end  
  1496.  
  1497.  
  1498. function Time()
  1499.     chatfunc("SEE YA.")
  1500.     ATTACK = true
  1501.     Rooted = false
  1502.     for i=0, 0.5, 0.1 / Animation_Speed do
  1503.         Swait()
  1504.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((0) - 0)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1505.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1506.     end
  1507.     for e = 1, #BODY do
  1508.         if BODY[e] ~= nil then
  1509.             local STUFF = BODY[e]
  1510.             local PART = STUFF[1]
  1511.             if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  1512.                 local PRT = PART:Clone()
  1513.                 PRT.Anchored = true
  1514.                 PRT.CanCollide = false
  1515.                 PRT.Material = "Neon"
  1516.                 PRT.Color = C3(1,0,0)
  1517.                 PRT.Name = "WarpEffect"
  1518.                 PRT.Parent = Effects
  1519.                 PRT.CFrame = PART.CFrame
  1520.                 PRT:BreakJoints()
  1521.                 if PRT:FindFirstChildOfClass("Sound") then
  1522.                     PRT:FindFirstChildOfClass("Sound"):remove()
  1523.                 end
  1524.                 if PRT:FindFirstChildOfClass("Decal") then
  1525.                     PRT:FindFirstChildOfClass("Decal"):remove()
  1526.                 end
  1527.                 coroutine.resume(coroutine.create(function()
  1528.                     for i = 1, 100 do
  1529.                         Swait()
  1530.                         PRT.Transparency = PRT.Transparency + 1/100
  1531.                     end
  1532.                     PRT:remove()
  1533.                 end))
  1534.             end
  1535.         end
  1536.     end
  1537.     CreateSound(217767125, Torso, 10, 1)
  1538.     local POS = RootPart.Orientation
  1539.     RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  1540.     RootPart.Orientation = POS
  1541.     RootJoint.Parent = RootPart
  1542.     for i=0, 0.5, 0.1 / Animation_Speed do
  1543.         Swait()
  1544.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((0) - 0)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1545.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1546.     end
  1547.     for i=0, 0.1, 0.1 / Animation_Speed do
  1548.         Swait()
  1549.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1550.     end
  1551.     ATTACK = false
  1552.     Rooted = false
  1553. end
  1554.  
  1555. function TimesUp()
  1556.     chatfunc("it's time to STOP")
  1557.     CLOCKTARGET = nil
  1558.     if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1559.         local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1560.         local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1561.         if TORSO then
  1562.             ATTACK = true
  1563.             Rooted = false
  1564.             coroutine.resume(coroutine.create(function()
  1565.                 repeat
  1566.                     Swait()
  1567.                     RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1568.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1569.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.5*SIZE, -0.2*SIZE) * ANGLES(RAD(75), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1570.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1571.                     RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1572.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1573.                 until ATTACK == false
  1574.             end))
  1575.             if Effects:FindFirstChild("NeonDoll") then
  1576.                 repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
  1577.             end
  1578.             wait(0.5)
  1579.             local FAKECHARACTER = IT("Model",Effects)
  1580.             FAKECHARACTER.Name = "NeonDoll"
  1581.             local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.3,0.3,0.15),false)
  1582.             CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
  1583.             local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.15,0.3,0.15),false)
  1584.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
  1585.             local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.15,0.3,0.15),false)
  1586.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
  1587.             local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.15,0.3,0.15),false)
  1588.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
  1589.             local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.15,0.3,0.15),false)
  1590.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
  1591.             local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.15,0.15,0.15),false)
  1592.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  1593.             CreateSound(201858045, TORS, 5, 0.4, false)
  1594.             for i = 1, 50 do
  1595.                 Swait()
  1596.                 CLOCKSPEED = 1
  1597.                 for _, c in pairs(FAKECHARACTER:GetChildren()) do
  1598.                     if c.ClassName == "Part" then
  1599.                         c.Transparency = c.Transparency - 0.5/150
  1600.                     end
  1601.                 end
  1602.             end
  1603.             CLOCKTARGET = HUM
  1604.             coroutine.resume(coroutine.create(function()
  1605.                 repeat Swait() CLOCKSPEED = 10.5 until CLOCKTARGET == nil
  1606.                 for i = 1, 25 do
  1607.                     Swait()
  1608.                     for _, c in pairs(FAKECHARACTER:GetChildren()) do
  1609.                         if c.ClassName == "Part" then
  1610.                             c.Transparency = c.Transparency + 0.5/25
  1611.                         end
  1612.                     end
  1613.                 end
  1614.                 CLOCKSPEED = 1
  1615.                 FAKECHARACTER:remove()
  1616.             end))
  1617.             wait(0.5)
  1618.             ATTACK = false
  1619.             Rooted = false
  1620.         end
  1621.     end
  1622. end
  1623.  
  1624. function ChainPunch()
  1625.     chatfunc("REEEEEEE")
  1626.     ATTACK = true
  1627.     Rooted = false
  1628.     local GYRO = IT("BodyGyro",RootPart)
  1629.     GYRO.D = 25
  1630.     GYRO.P = 2000
  1631.     GYRO.MaxTorque = VT(0,40000,0)
  1632.     GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1633.     repeat
  1634.         Swait()
  1635.         GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1636.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1637.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  1638.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1639.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1640.         RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1641.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1642.     until HOLD == true
  1643.     local POS = Mouse.Hit.p
  1644.     local CHAINS = false
  1645.     local CHAINLINKS = {}
  1646.     local A = IT("Attachment",RightArm)
  1647.     A.Position = VT(1,-1,0)*SIZE
  1648.     A.Orientation = VT(-90, -89.982, 0)
  1649.     local B = IT("Attachment",RightArm)
  1650.     B.Position = VT(-1,-1,0)*SIZE
  1651.     B.Orientation = VT(-90, 89.988, 0)
  1652.     local C = IT("Attachment",RightArm)
  1653.     C.Position = VT(0.5,-1.3,0)*SIZE
  1654.     C.Orientation = VT(-90, -89.982, 0)
  1655.     local D = IT("Attachment",RightArm)
  1656.     D.Position = VT(-0.5,-1.3,0)*SIZE
  1657.     D.Orientation = VT(-90, 89.988, 0)
  1658.     local LIGHT = IT("Attachment",RightArm)
  1659.     LIGHT.Position = VT(0,-1,0)*SIZE
  1660.     local LIGHT2 = IT("PointLight",LIGHT)
  1661.     LIGHT2.Range = 7
  1662.     LIGHT2.Brightness = 5
  1663.     LIGHT2.Color = SKILLTEXTCOLOR
  1664.     for i = 1, 2 do
  1665.         local TWIST = -2
  1666.         local START = A
  1667.         local END = B
  1668.         if i == 1 then
  1669.             START = B
  1670.             END = A
  1671.         end
  1672.         local ChainLink = IT("Beam",Torso)
  1673.         ChainLink.Texture = "rbxassetid://73042633"
  1674.         ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1675.         ChainLink.TextureSpeed = 1
  1676.         ChainLink.Width0 = 1
  1677.         ChainLink.Width1 = 1
  1678.         ChainLink.TextureLength = 2.5
  1679.         ChainLink.Attachment0 = START
  1680.         ChainLink.Attachment1 = END
  1681.         ChainLink.CurveSize0 = TWIST
  1682.         ChainLink.CurveSize1 = TWIST
  1683.         --ChainLink.FaceCamera = true
  1684.         ChainLink.Segments = 45
  1685.         ChainLink.Transparency = NumberSequence.new(1)
  1686.         table.insert(CHAINLINKS,ChainLink)
  1687.     end
  1688.     for i = 1, 2 do
  1689.         local TWIST = -1
  1690.         local START = C
  1691.         local END = D
  1692.         if i == 1 then
  1693.             START = D
  1694.             END = C
  1695.         end
  1696.         local ChainLink = IT("Beam",Torso)
  1697.         ChainLink.Texture = "rbxassetid://73042633"
  1698.         ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1699.         ChainLink.TextureSpeed = 1
  1700.         ChainLink.Width0 = 1
  1701.         ChainLink.Width1 = 1
  1702.         ChainLink.TextureLength = 5
  1703.         ChainLink.Attachment0 = START
  1704.         ChainLink.Attachment1 = END
  1705.         ChainLink.CurveSize0 = TWIST
  1706.         ChainLink.CurveSize1 = TWIST
  1707.         --ChainLink.FaceCamera = true
  1708.         ChainLink.Segments = 25
  1709.         ChainLink.LightEmission = 0.5
  1710.         ChainLink.Transparency = NumberSequence.new(1)
  1711.         table.insert(CHAINLINKS,ChainLink)
  1712.     end
  1713.     coroutine.resume(coroutine.create(function()
  1714.         repeat
  1715.             Swait()
  1716.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1717.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  1718.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0.2*SIZE) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1719.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1720.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1721.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1722.         until CHAINS == true
  1723.         repeat
  1724.             Swait()
  1725.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1726.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1727.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, -0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1728.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1729.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1730.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1731.         until ATTACK == false
  1732.         for e = 1, 15 do
  1733.             Swait()
  1734.             for i = 1, #CHAINLINKS do
  1735.                 CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  1736.             end
  1737.         end
  1738.         A:remove()
  1739.         B:remove()
  1740.         C:remove()
  1741.         D:remove()
  1742.     end))
  1743.     CreateSound(233856115, RightArm, 5, 1.2, false)
  1744.     for e = 1, 15 do
  1745.         Swait()
  1746.         for i = 1, #CHAINLINKS do
  1747.             CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  1748.         end
  1749.     end
  1750.     CHAINS = true
  1751.     Rooted = false
  1752.     wait(0.25)
  1753.     local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "Mid grey", "Part", VT(2,2,2))
  1754.     FIST.Color = C3(255/100, 195/0, 175/0)
  1755.     FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  1756.     local LIGHT3 = IT("PointLight",FIST)
  1757.     LIGHT3.Range = 7
  1758.     LIGHT3.Brightness = 5
  1759.     LIGHT3.Color = SKILLTEXTCOLOR
  1760.     CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
  1761.     local FISTA = IT("Attachment",FIST)
  1762.     FISTA.Position = VT(0.062, 0.977, 0)
  1763.     local ChainLink = IT("Beam",Torso)
  1764.     ChainLink.Texture = "rbxassetid://73042633"
  1765.     ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1766.     ChainLink.TextureSpeed = 0
  1767.     ChainLink.Width0 = 3
  1768.     ChainLink.Width1 = 3
  1769.     ChainLink.TextureLength = 12
  1770.     ChainLink.Attachment0 = LIGHT
  1771.     ChainLink.Attachment1 = FISTA
  1772.     ChainLink.FaceCamera = true
  1773.     ChainLink.Segments = 45
  1774.     ChainLink.LightEmission = 0.5
  1775.     ChainLink.Transparency = NumberSequence.new(0.25)
  1776.     local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  1777.     for i = 1, 85 do
  1778.         Swait()
  1779.         FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  1780.         ChainLink.TextureLength = 12+(i*2)
  1781.         ApplyAoE(FIST.Position,10,15,25,100,false)
  1782.         WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(i*15), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/100, 195/0, 175/0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1783.         local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  1784.         if HITFLOOR ~= nil then
  1785.             HITFLOOR:BreakJoints()
  1786.             coroutine.resume(coroutine.create(function()
  1787.                 for i = 1, 15 do
  1788.                     Swait()
  1789.                     FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  1790.                     ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
  1791.                     WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/100, 195/0, 175/0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1792.                 end
  1793.             end))
  1794.             break
  1795.         end
  1796.     end
  1797.     coroutine.resume(coroutine.create(function()
  1798.         for i = 1, 50 do
  1799.             Swait()
  1800.             FIST.Transparency = FIST.Transparency + 0.5/50
  1801.             LIGHT3.Range = LIGHT3.Range - 7/50
  1802.         end
  1803.         FIST:remove()
  1804.     end))
  1805.     LIGHT:remove()
  1806.     GYRO:remove()
  1807.     ATTACK = false
  1808.     Rooted = false
  1809. end
  1810.  
  1811. function WarpMeteor()
  1812.     chatfunc("WEEEEEEEEE")
  1813.     local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  1814.     if DIST > 180 then
  1815.         DIST = 180
  1816.     end
  1817.     local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  1818.     local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
  1819.     if HITFLOOR then
  1820.         local POS = HITPOS 
  1821.         ATTACK = true
  1822.         Rooted = true
  1823.         local WARPED = false
  1824.         local SMASHED = false
  1825.         local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1826.         coroutine.resume(coroutine.create(function()
  1827.             repeat
  1828.                 Swait()
  1829.                 RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1830.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1831.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1832.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1833.                 RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1834.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1835.             until WARPED == true
  1836.             repeat
  1837.                 Swait()
  1838.                 RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1839.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1840.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1841.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1842.                 RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE + 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1843.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1844.             until SMASHED == true
  1845.             repeat
  1846.                 Swait()
  1847.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  1848.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-40), RAD(0), RAD(0)), 1 / Animation_Speed)
  1849.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(-15), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1850.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(15), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1851.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
  1852.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1853.             until ATTACK == false
  1854.         end))
  1855.         VALUE1 = true
  1856.         CreateSound(233856115, Torso, 5, 1.6, false)
  1857.         for i = 1, 25 do
  1858.             Swait()
  1859.             for _, c in pairs(Character:GetChildren()) do
  1860.                 if c.ClassName == "Part" then
  1861.                     c.Transparency = c.Transparency + 1/25
  1862.                 end
  1863.             end
  1864.             for _, c in pairs(Weapon:GetChildren()) do
  1865.                 if c.ClassName == "Part" then
  1866.                     c.Transparency = c.Transparency + 1/25
  1867.                 end
  1868.             end
  1869.         end
  1870.         UNANCHOR = false
  1871.         RootPart.Anchored = true
  1872.         RootPart.Velocity = VT(0,0,0)
  1873.         local ROOTPOS = RootPart.Position
  1874.         RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
  1875.         WARPED = true
  1876.         for i = 1, 25 do
  1877.             Swait()
  1878.             for _, c in pairs(Character:GetChildren()) do
  1879.                 if c.ClassName == "Part" then
  1880.                     c.Transparency = c.Transparency - 1/25
  1881.                 end
  1882.             end
  1883.             for _, c in pairs(Weapon:GetChildren()) do
  1884.                 if c.ClassName == "Part" then
  1885.                     c.Transparency = c.Transparency - 1/25
  1886.                 end
  1887.             end
  1888.         end
  1889.         local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Part", VT(0,0,0))
  1890.         SHELL.CFrame = RootPart.CFrame
  1891.         MakeForm(SHELL,"Ball")
  1892.         CreateSound(402981977, SHELL, 5, 1.6, false)
  1893.         for i = 1, 10 do
  1894.             Swait()
  1895.             SHELL.Transparency = SHELL.Transparency - 1/10
  1896.             SHELL.Size = SHELL.Size + VT(2,2,2)*1.8
  1897.         end
  1898.         for i = 1, math.ceil(75/2) do
  1899.             Swait()
  1900.             RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
  1901.             SHELL.CFrame = CF(RootPart.Position)
  1902.             WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(10,6,10), Transparency = 0.5, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = SHELL.Position+VT(0,15,0), RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  1903.         end
  1904.         RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
  1905.         SHELL.CFrame = CF(RootPart.Position)
  1906.         WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(100,100,100)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
  1907.         WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(60,6,60)*3.8, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  1908.         WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(60,6,60)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  1909.         for i = 1, 5 do
  1910.             WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(50,5,50)*4, Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1911.         end
  1912.         SHELL:remove()
  1913.         ApplyAoE(RootPart.Position,75,35,75,300,false)
  1914.         SMASHED = true
  1915.         wait(1)
  1916.         VALUE1 = false
  1917.         UNANCHOR = true
  1918.         ATTACK = false
  1919.         Rooted = false
  1920.     end
  1921. end
  1922.  
  1923. function PandorasBox()
  1924.     chatfunc("look at this box")
  1925.     local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  1926.     if HITFLOOR ~= nil then
  1927.         ATTACK = true
  1928.         Rooted = true
  1929.         local RINGSPIN = true
  1930.         local CONSTRUCTING = true
  1931.         local RING = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Ring", VT(0,0,0))
  1932.         RING.Color = C3(0,0,0)
  1933.         MakeForm(RING,"Cyl")
  1934.         RING.CFrame = CF(HITPOS)
  1935.         CreateSound(402981977, RING, 5, 1.2, false)
  1936.         coroutine.resume(coroutine.create(function()
  1937.             repeat
  1938.                 Swait()
  1939.                 RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1940.                 RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1941.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1942.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1943.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1944.                 RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1945.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1946.             until CONSTRUCTING == false
  1947.             repeat
  1948.                 Swait()
  1949.                 RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1950.             until RINGSPIN == false
  1951.             for i = 1, 25 do
  1952.                 Swait()
  1953.                 RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1954.                 RING.Size = RING.Size - VT(0.15,0,0.15)
  1955.                 --DECAL.Transparency = DECAL.Transparency + 1/25
  1956.                 RING.Transparency = RING.Transparency + 1/25
  1957.             end
  1958.             RING:remove()
  1959.         end))
  1960.         for i = 1, 15 do
  1961.             Swait()
  1962.             RING.Size = RING.Size + VT(0.75,0,0.75)
  1963.             RING.Transparency = RING.Transparency - 1/15
  1964.         end
  1965.         local BOXSPIN = true
  1966.         local PANDORASBOX = IT("Model",Effects)
  1967.         PANDORASBOX.Name = "Pandora's Box"
  1968.         local BOX = IT("Model",PANDORASBOX)
  1969.         BOX.Name = "Body"
  1970.         local LID = IT("Model",PANDORASBOX)
  1971.         LID.Name = "Lid"
  1972.         --BUILDING THE BOX--
  1973.             local BASE = CreatePart(3, BOX, "Neon", 0, 0, "Alder", "Black", VT(2,1.8,2))
  1974.             BASE.Color = C3(0,0,0)
  1975.             PANDORASBOX.PrimaryPart = BASE
  1976.             BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  1977.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Dark red", "Marble", VT(0.2,1.9,0.2))
  1978.             WOOD.CFrame = BASE.CFrame*CF(1,0,1)
  1979.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Dark red", "Marble", VT(0.2,1.9,0.2))
  1980.             WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
  1981.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Dark red", "Marble", VT(0.2,1.9,0.2))
  1982.             WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
  1983.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Dark red", "Marble", VT(0.2,1.9,0.2))
  1984.             WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
  1985.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Dark red", "Marble", VT(2.1,0.2,0.2))
  1986.             WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
  1987.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Dark red", "Marble", VT(2.1,0.2,0.2))
  1988.             WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
  1989.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Dark red", "Marble", VT(0.2,0.2,2.1))
  1990.             WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
  1991.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Dark red", "Marble", VT(0.2,0.2,2.1))
  1992.             WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
  1993.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Dark red", "Marble", VT(2.1,0.2,0.2))
  1994.             WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
  1995.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Dark red", "Marble", VT(2.1,0.2,0.2))
  1996.             WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
  1997.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Dark red", "Marble", VT(0.2,0.2,2.1))
  1998.             WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
  1999.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Dark red", "Marble", VT(0.2,0.2,2.1))
  2000.             WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
  2001.             local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1))
  2002.             WOOD.CFrame = BASE.CFrame*CF(0,0,1)
  2003.             local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1))
  2004.             WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
  2005.             local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1))
  2006.             WOOD.CFrame = BASE.CFrame*CF(1,0,0)
  2007.             local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1))
  2008.             WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
  2009.             local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1))
  2010.             WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
  2011.             -------------
  2012.             local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1))
  2013.             LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
  2014.             LID.PrimaryPart = LIDPART
  2015.             local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Dark red", "Marble", VT(2.1,0.2,0.2))
  2016.             WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
  2017.             local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Dark red", "Marble", VT(2.1,0.2,0.2))
  2018.             WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
  2019.             local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Dark red", "Marble", VT(0.2,0.2,2.1))
  2020.             WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
  2021.             local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Dark red", "Marble", VT(0.2,0.2,2.1))
  2022.             WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
  2023.             local DECAL = IT("Decal",LIDPART)
  2024.             DECAL.Face = "Top"
  2025.             DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
  2026.             DECAL.Color3 = C3(0,0,0)
  2027.         --BUILDING THE BOX--
  2028.         coroutine.resume(coroutine.create(function()
  2029.             repeat
  2030.                 Swait()
  2031.                 PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
  2032.             until BOXSPIN == false
  2033.         end))
  2034.         for i = 1, 25 do
  2035.             Swait()
  2036.             PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
  2037.         end
  2038.         wait(0.5)
  2039.         BOXSPIN = false
  2040.         CONSTRUCTING = false   
  2041.         coroutine.resume(coroutine.create(function()
  2042.             WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = LIDPART.Size, Size2 = VT(3,0,3)*4, Transparency = 0, Transparency2 = 1, CFrame = LIDPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 168586586, SoundPitch = 1.3, SoundVolume = 6})
  2043.             --[[for i = 1, 45 do
  2044.                 Swait()
  2045.                 LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
  2046.             end-
  2047.             LID:remove()]]--
  2048.             for _, c in pairs(LID:GetChildren()) do
  2049.                 if c.ClassName == "Part" then
  2050.                     c.Anchored = false
  2051.                     c.CanCollide = true
  2052.                     if c ~= LIDPART then
  2053.                         weldBetween(LIDPART,c)
  2054.                     end
  2055.                 end
  2056.             end
  2057.             LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
  2058.             Debris:AddItem(LID,15)
  2059.             wait(0.5)
  2060.             local RANDOMEFFECT = MRANDOM(1,4)
  2061.             if RANDOMEFFECT == 1 then
  2062.                 for i = 1, 45 do
  2063.                     wait((2-(i/15))/15)
  2064.                     WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,MRANDOM(12,15),0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(1,5)), MoveToPos = BASE.Position, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.8, SoundVolume = 6})
  2065.                 end
  2066.                 wait(1)
  2067.                 WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(70,70,70)*12, Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
  2068.                 WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(60,6,60)*10, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 469345336, SoundPitch = 0.75, SoundVolume = 6})
  2069.                 WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(60,6,60)*9, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  2070.                 for i = 1, 5 do
  2071.                     WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(60,6,60)*12, Transparency = 0.5, Transparency2 = 1, CFrame = BASE.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2072.                 end
  2073.                 ApplyAoE(BASE.Position,50,1,200,375,false)
  2074.                 ApplyAoE(BASE.Position,250,35,75,475,false)
  2075.             elseif RANDOMEFFECT == 2 then
  2076.                 local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Field", VT(0.3,0.3,0.3))
  2077.                 FIELD.CFrame = BASE.CFrame
  2078.                 MakeForm(FIELD,"Ball")
  2079.                 for i = 1, 50 do
  2080.                     Swait()
  2081.                     FIELD.Size = FIELD.Size + VT(1,1,1)
  2082.                     FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  2083.                 end
  2084.                 wait(0.2)
  2085.                 local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
  2086.                 coroutine.resume(coroutine.create(function()
  2087.                     for i = 1, 75 do
  2088.                         Swait()
  2089.                         LOOP.Volume = LOOP.Volume + 10/75
  2090.                         LOOP.Parent = FIELD
  2091.                         local CHILDREN = workspace:GetDescendants()
  2092.                         for index, CHILD in pairs(CHILDREN) do
  2093.                             if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2094.                                 local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2095.                                 if HUM then
  2096.                                     local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2097.                                     if TORSO then
  2098.                                         if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  2099.                                             HUM.Health = HUM.Health - 0.1
  2100.                                             TORSO.Velocity = VT(0,5,0)
  2101.                                             HUM.PlatformStand = true
  2102.                                             if TORSO.RotVelocity.Magnitude < 15 then
  2103.                                                 TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  2104.                                             end
  2105.                                         end
  2106.                                     end
  2107.                                 end
  2108.                             end
  2109.                         end
  2110.                         FIELD.Size = FIELD.Size + VT(6,6,6)
  2111.                         FIELD.Transparency = FIELD.Transparency + 0.8/75
  2112.                     end
  2113.                     for i = 1, 500 do
  2114.                         Swait()
  2115.                         LOOP.Parent = FIELD
  2116.                         local CHILDREN = workspace:GetDescendants()
  2117.                         for index, CHILD in pairs(CHILDREN) do
  2118.                             if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2119.                                 local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2120.                                 if HUM then
  2121.                                     local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2122.                                     if TORSO then
  2123.                                         if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  2124.                                             TORSO.Velocity = VT(0,5,0)
  2125.                                             HUM.Health = HUM.Health - 0.1
  2126.                                             HUM.PlatformStand = true
  2127.                                             if TORSO.RotVelocity.Magnitude < 15 then
  2128.                                                 TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  2129.                                             end
  2130.                                         end
  2131.                                     end
  2132.                                 end
  2133.                             end
  2134.                         end
  2135.                     end
  2136.                     for i = 1, 25 do
  2137.                         Swait()
  2138.                         LOOP.Volume = LOOP.Volume + 10/25
  2139.                         LOOP.Parent = FIELD
  2140.                         local CHILDREN = workspace:GetDescendants()
  2141.                         for index, CHILD in pairs(CHILDREN) do
  2142.                             if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2143.                                 local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2144.                                 if HUM then
  2145.                                     local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2146.                                     if TORSO then
  2147.                                         if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  2148.                                             TORSO.Velocity = VT(0,5,0)
  2149.                                             HUM.Health = HUM.Health - 0.1
  2150.                                             HUM.PlatformStand = false
  2151.                                             if TORSO.RotVelocity.Magnitude < 15 then
  2152.                                                 TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  2153.                                             end
  2154.                                         end
  2155.                                     end
  2156.                                 end
  2157.                             end
  2158.                         end
  2159.                         FIELD.Size = FIELD.Size - VT(9,9,9)
  2160.                         FIELD.Transparency = FIELD.Transparency + 0.2/25
  2161.                     end
  2162.                     FIELD:remove()
  2163.                 end))
  2164.             elseif RANDOMEFFECT == 3 then
  2165.                 for i = 1, 20 do
  2166.                     wait(0.15)
  2167.                     WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(3,8,3), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,0.3,0), MoveToPos = BASE.Position+VT(0,6,0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 90655239, SoundPitch = 0.8, SoundVolume = 6})
  2168.                     coroutine.resume(coroutine.create(function()
  2169.                         local MINION = CLONE:Clone()
  2170.                         MINION.Parent = Effects
  2171.                         MINION.Name = "Shadow"
  2172.                         MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  2173.                         MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
  2174.                         for _, c in pairs(MINION:GetChildren()) do
  2175.                             if c.ClassName == "Part" then
  2176.                                 c.Material = "Neon"
  2177.                                 c.Color = C3(0,0,0)
  2178.                                 c.Transparency = 0.25
  2179.                                 if c.Name == "Head" then
  2180.                                     c:ClearAllChildren()
  2181.                                     local MSH = IT("BlockMesh",c)
  2182.                                     MSH.Scale = VT(0.5,1,1)
  2183.                                 end
  2184.                             end
  2185.                         end
  2186.                         local TORSO = MINION.Torso
  2187.                         local HUMAN = MINION.Humanoid
  2188.                         HUMAN.WalkSpeed = 75
  2189.                         HUMAN.MaxHealth = math.huge
  2190.                         HUMAN.Health = math.huge
  2191.                         HUMAN.DisplayDistanceType = "None"
  2192.                         HUMAN.Died:connect(function()
  2193.                             MINION:remove()
  2194.                             --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
  2195.                         end)
  2196.                         wait(1)
  2197.                         local findNearestTorso = function(POS)
  2198.                             local list = game.Workspace:GetDescendants()
  2199.                             local torso = nil
  2200.                             local dist = 500
  2201.                             local temp = nil
  2202.                             local human = nil
  2203.                             local temp2 = nil
  2204.                             for x = 1, #list do
  2205.                                 temp2 = list[x]
  2206.                                 if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
  2207.                                     temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  2208.                                     human = temp2:findFirstChildOfClass("Humanoid")
  2209.                                     if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  2210.                                         if (temp.Position - POS).magnitude < dist then
  2211.                                             torso = temp
  2212.                                             dist = (temp.Position - POS).magnitude
  2213.                                         end
  2214.                                     end
  2215.                                 end
  2216.                             end
  2217.                             return torso, dist
  2218.                         end
  2219.                         for i = 1, 40 do
  2220.                             if HUMAN.Health == 0 then
  2221.                                 break
  2222.                             end
  2223.                             wait(0.3)
  2224.                             local target,dist= findNearestTorso(TORSO.Position)
  2225.                             if target then
  2226.                                 HUMAN:MoveTo(target.Position)
  2227.                                 if dist < 25 then
  2228.                                     CreateSound(348663022, TORSO, 10, 1, true)
  2229.                                     wait(2)
  2230.                                     --local ANIM = HUMAN:LoadAnimation(ATANIM)
  2231.                                     --ANIM:Play()
  2232.                                     --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
  2233.                                     ApplyAoE(TORSO.Position,10,0,0,85,true)
  2234.                                     WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 201858087, SoundPitch = 0.8, SoundVolume = 10})
  2235.                                     for i = 1, 5 do
  2236.                                         WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = TORSO.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-15,15)/7.5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2237.                                     end
  2238.                                     break
  2239.                                 end
  2240.                             end
  2241.                         end
  2242.                         MINION:remove()
  2243.                     end))
  2244.                 end
  2245.             elseif RANDOMEFFECT == 4 then
  2246.                 local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Field", VT(0.3,0.3,0.3))
  2247.                 FIELD.Color = C3(0,0,0)
  2248.                 FIELD.CFrame = BASE.CFrame
  2249.                 MakeForm(FIELD,"Ball")
  2250.                 FIELD.CanCollide = true
  2251.                 for i = 1, 50 do
  2252.                     Swait()
  2253.                     FIELD.Size = FIELD.Size + VT(1,1,1)
  2254.                     FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  2255.                 end
  2256.                 wait(0.2)
  2257.                 local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
  2258.                 coroutine.resume(coroutine.create(function()
  2259.                     local E = 0
  2260.                     for i = 1, 75 do
  2261.                         E = E + 1
  2262.                         Swait()
  2263.                         if E >= 60 then
  2264.                             E = 0
  2265.                             WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*80, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
  2266.                         end
  2267.                         LOOP.Volume = LOOP.Volume + 10/75
  2268.                         LOOP.Parent = FIELD
  2269.                         local CHILDREN = workspace:GetDescendants()
  2270.                         for index, CHILD in pairs(CHILDREN) do
  2271.                             if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2272.                                 local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2273.                                 if HUM then
  2274.                                     local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2275.                                     if TORSO then
  2276.                                         if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  2277.                                             for _, c in pairs(CHILD:GetChildren()) do
  2278.                                                 if c:IsA("BasePart") then
  2279.                                                     local bv = Instance.new("BodyVelocity")
  2280.                                                     bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2281.                                                     bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  2282.                                                     bv.Parent = c
  2283.                                                     Debris:AddItem(bv,0.05)
  2284.                                                 end
  2285.                                             end
  2286.                                             HUM.Health = HUM.Health - 0.3
  2287.                                         end
  2288.                                     end
  2289.                                 end
  2290.                             end
  2291.                         end
  2292.                         FIELD.Size = FIELD.Size + VT(10,10,10)/5
  2293.                     end
  2294.                     for i = 1, 180 do
  2295.                         E = E + 1
  2296.                         Swait()
  2297.                         if E >= 60 then
  2298.                             E = 0
  2299.                             WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*60, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
  2300.                         end
  2301.                         LOOP.Parent = FIELD
  2302.                         local CHILDREN = workspace:GetDescendants()
  2303.                         for index, CHILD in pairs(CHILDREN) do
  2304.                             if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2305.                                 local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2306.                                 if HUM then
  2307.                                     local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2308.                                     if TORSO then
  2309.                                         if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  2310.                                             for _, c in pairs(CHILD:GetChildren()) do
  2311.                                                 if c:IsA("BasePart") then
  2312.                                                     local bv = Instance.new("BodyVelocity")
  2313.                                                     bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2314.                                                     bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  2315.                                                     bv.Parent = c
  2316.                                                     Debris:AddItem(bv,0.05)
  2317.                                                 end
  2318.                                             end
  2319.                                             HUM.Health = HUM.Health - 0.3
  2320.                                         end
  2321.                                     end
  2322.                                 end
  2323.                             end
  2324.                         end
  2325.                     end
  2326.                     ApplyAoE(FIELD.Position,40,100,20,400,false)
  2327.                     WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = FIELD.Size, Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 231917744, SoundPitch = 1, SoundVolume = 6})
  2328.                     for i = 1, 5 do
  2329.                         WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIELD.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2330.                     end
  2331.                     FIELD:remove()
  2332.                 end))
  2333.             elseif RANDOMEFFECT == 5 then
  2334.             end
  2335.             wait(0.5)
  2336.             for i = 1, 25 do
  2337.                 Swait()
  2338.                 PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
  2339.             end
  2340.             PANDORASBOX:remove()
  2341.             RINGSPIN = false
  2342.         end))
  2343.         ATTACK = false
  2344.         Rooted = false
  2345.     end
  2346. end
  2347.  
  2348. function Taunt()
  2349.     ATTACK = true
  2350.     local LAUGH = nil
  2351.     coroutine.resume(coroutine.create(function()
  2352.         repeat
  2353.             Swait()
  2354.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  2355.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2356.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2357.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2358.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2359.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2360.         until LAUGH ~= nil
  2361.         repeat
  2362.             Swait()
  2363.             LAUGH.Parent = Head
  2364.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  2365.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2366.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2367.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/75), 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2368.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2369.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2370.         until LAUGH.Playing == false
  2371.     ATTACK = false
  2372.     end))
  2373.     wait(0.1)
  2374.     sick:Pause()
  2375.     LAUGH = CreateSound(333446256, Head, 10, 1, false)
  2376.     wait(1.5)
  2377.     sick:Resume()
  2378. end
  2379.  
  2380. function Prison_Key()
  2381.     if Mouse.Target ~= nil then
  2382.         if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2383.             local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2384.             local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  2385.             local GYRO = IT("BodyGyro",RootPart)
  2386.             GYRO.D = 750
  2387.             GYRO.P = 20000
  2388.             GYRO.MaxTorque = VT(0,40000000,0)
  2389.             local grav = Instance.new("BodyPosition",TORSO)
  2390.             grav.D = 15
  2391.             grav.P = 20000
  2392.             grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2393.             grav.position = TORSO.Position
  2394.             local GYRO2 = IT("BodyGyro",TORSO)
  2395.             GYRO2.D = 750
  2396.             GYRO2.P = 20000
  2397.             GYRO2.MaxTorque = VT(0,40000000,0)
  2398.             GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  2399.             grav.Name = "Jail"
  2400.             local LOCKPARTS = {}
  2401.             ATTACK = true
  2402.             Rooted = false
  2403.             local LOCK = IT("Model",Effects)
  2404.             LOCK.Name = "Lock"
  2405.             local LOCK2 = IT("Model",LOCK)
  2406.             LOCK2.Name = "Metal"
  2407.             --CREATE LOCK--
  2408.                 local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 2.5, 1))
  2409.                 LOCK.PrimaryPart = BASE
  2410.                 BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  2411.                 local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 1, 3))
  2412.                 PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  2413.                 MakeForm(PRT,"Cyl")
  2414.                 local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(1, 1, 1))
  2415.                 PRT.Color = C3(0,0,0)
  2416.                 PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  2417.                 MakeForm(PRT,"Cyl")
  2418.                 local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(0.5, 1, 1))
  2419.                 PRT.Color = C3(0,0,0)
  2420.                 PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  2421.                 for i = 1, 45 do
  2422.                     local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  2423.                     PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  2424.                 end
  2425.                 local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  2426.                 PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  2427.                 LOCK2.PrimaryPart = PRT
  2428.             ---------------
  2429.             local CHILDREN = LOCK:GetDescendants()
  2430.             for index, CHILD in pairs(CHILDREN) do
  2431.                 if CHILD:IsA("BasePart") then
  2432.                     CHILD.Transparency = 1
  2433.                 end
  2434.             end
  2435.             for i = 1, 75 do
  2436.                 LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  2437.                 Swait()
  2438.                 GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  2439.                 GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  2440.                 local CHILDREN = LOCK:GetDescendants()
  2441.                 for index, CHILD in pairs(CHILDREN) do
  2442.                     if CHILD:IsA("BasePart") then
  2443.                         CHILD.Transparency = CHILD.Transparency - 1/75
  2444.                     end
  2445.                 end
  2446.             end
  2447.             HUM.DisplayDistanceType = "None"
  2448.             local KEY = IT("Model",Effects)
  2449.             KEY.Name = "Key"
  2450.             --CREATE KEY--
  2451.                 local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Bright red", "KeyBase", VT(0.1, 1, 0.1),false)
  2452.                 KEY.PrimaryPart = KBASE
  2453.                 KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  2454.                 local WLD = weldBetween(RightArm,KBASE)
  2455.                 for i = 1, 45 do
  2456.                     local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Bright red", "Key", VT(0.1, 0.1, 0.1),false)
  2457.                     PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  2458.                     weldBetween(KBASE,PRT)
  2459.                 end
  2460.                 local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Bright red", "Key", VT(0.3, 0.1, 0.1),false)
  2461.                 PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  2462.                 weldBetween(KBASE,PRT)
  2463.                 local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Bright red", "Key", VT(0.3, 0.1, 0.1),false)
  2464.                 PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  2465.                 weldBetween(KBASE,PRT)
  2466.             --------------
  2467.             Rooted = true
  2468.             Pose("Prepare key",1.5,0.4,false,GYRO,TORSO)
  2469.             coroutine.resume(coroutine.create(function()
  2470.                 for i = 1, 10 do
  2471.                     Swait()
  2472.                     GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  2473.                     GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  2474.                 end
  2475.                 CreateSound(1149318312,BASE,5,1,false)
  2476.                 CreateSound(160772554,BASE,3,1,false)
  2477.                 LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  2478.                 for i = 1, 4 do
  2479.                     WACKYEFFECT({Time = 35, EffectType = "Crystal", Size = VT(1,1,1), Size2 = VT(0,15,0), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(1,1.45,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Bright red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2480.                 end
  2481.                 WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1)*25, Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Bright red".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  2482.                 wait(1)
  2483.                 TORSO.Parent.Parent = LOCK
  2484.                 for i = 1, 75 do
  2485.                     Swait()
  2486.                     local CHILDREN = KEY:GetDescendants()
  2487.                     for index, CHILD in pairs(CHILDREN) do
  2488.                         if CHILD:IsA("BasePart") then
  2489.                             CHILD.Transparency = i/25
  2490.                         end
  2491.                     end
  2492.                     local CHILDREN = LOCK:GetDescendants()
  2493.                     for index, CHILD in pairs(CHILDREN) do
  2494.                         if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  2495.                             CHILD.Transparency = CHILD.Transparency + 1/75
  2496.                         elseif CHILD.ClassName == "Decal" then
  2497.                             CHILD.Transparency = CHILD.Transparency + 1/75
  2498.                         end
  2499.                     end
  2500.                 end
  2501.                 TORSO.Parent:ClearAllChildren()
  2502.                 KEY:remove()
  2503.                 LOCK:remove()
  2504.             end))
  2505.             Pose("Turn key",0.8,0.9,false,GYRO,TORSO)
  2506.             GYRO:remove()
  2507.             ATTACK = false
  2508.             Rooted = false
  2509.         end
  2510.     end
  2511. end
  2512.  
  2513. function RavagingOverthrower()
  2514.     ATTACK = true
  2515.     Rooted = true
  2516. for i=0, 1, 0.1 / Animation_Speed do
  2517.         Swait()
  2518.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE + 0.05 * COS(SINE / 12) * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2519.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2520.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(180), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2521.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(180), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2522.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE, -0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2523.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE, -0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2524.     end
  2525.     CreateSound("348663022", Torso, 5, 1)
  2526.     local StartPos = RootPart.CFrame * CF(0,10,0).p
  2527.     for i = 1, 5 do
  2528.         MagicSphere2(25,25,CF(StartPos),"Bright red")
  2529.         Swait(15)
  2530.     end
  2531.     local soundeffect = IT("Sound",Torso)
  2532.     soundeffect.SoundId = "rbxassetid://487186990"
  2533.     soundeffect.Looped = true
  2534.     soundeffect.Volume = 10
  2535.     soundeffect.Playing = true
  2536.     repeat
  2537.         turnto(Mouse.Hit.p)
  2538.         MagicSphere2(25,25,CF(StartPos),"Bright red")
  2539.         MagicSphere(25/10,25,CF(StartPos),"Bright red")
  2540.         local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Mouse.Hit.p, 750, Character, false)
  2541.         local distance = (StartPos - RayPos).magnitude
  2542.         local RayBeam = IT("Part",Effects)
  2543.         RayBeam.Material = "Neon"
  2544.         RayBeam.Anchored = true
  2545.         RayBeam.BrickColor = BRICKC"Bright red"
  2546.         local mesh = IT("SpecialMesh",RayBeam)
  2547.         mesh.MeshType = "Cylinder"
  2548.         RayBeam.Size = Vector3.new(distance+10, 5, 5)
  2549.         RayBeam.CFrame = CFrame.new(StartPos, RayPos) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(0),RAD(90),RAD(0))
  2550.         MagicSphere(15,5,CF(RayPos),"Bright red")
  2551.         killnearest(RayPos,15,100)
  2552.         for i = 1, 3 do
  2553.             CreateSwirl(0,25,true,-0.2,5,CF(RayPos) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),"Really black")
  2554.         end
  2555.         Swait()
  2556.         if KEYHOLD == false then
  2557.             coroutine.resume(coroutine.create(function()
  2558.                 for i = 1, 5 do
  2559.                     RayBeam.Transparency = RayBeam.Transparency + 1/5
  2560.                     Swait()
  2561.                 end
  2562.                 RayBeam:remove()
  2563.             end))
  2564.         else
  2565.             RayBeam:remove()
  2566.         end
  2567.     until KEYHOLD == false
  2568.     soundeffect:remove()
  2569.     ATTACK = false
  2570.     Rooted = false
  2571. end
  2572.  
  2573. --//=================================\\
  2574. --||      ASSIGN THINGS TO KEYS
  2575. --\\=================================//
  2576.  
  2577. function MouseDown(Mouse)
  2578.     HOLD = true
  2579.     if ATTACK == false then
  2580.     end
  2581. end
  2582.  
  2583. function MouseUp(Mouse)
  2584. HOLD = false
  2585. end
  2586.  
  2587. function KeyDown(Key)
  2588.     KEYHOLD = true
  2589.     if Key == "z" and ATTACK == false then
  2590.         MagicMissiles()
  2591.     end
  2592.  
  2593.     if Key == "b" and ATTACK == false then
  2594.         TimesUp()
  2595.     end
  2596.  
  2597.     if Key == "c" and ATTACK == false then
  2598.         ChainPunch()
  2599.     end
  2600.  
  2601.     if Key == "x" and ATTACK == false then
  2602.         WarpMeteor()
  2603.     end
  2604.  
  2605.     if Key == "v" and ATTACK == false then
  2606.         PandorasBox()
  2607.     end
  2608.  
  2609.     if Key == "t" and ATTACK == false then
  2610.         Taunt()
  2611.     end
  2612.    
  2613.     if Key == "q" and ATTACK == false then
  2614.         Time()
  2615.     end
  2616.    
  2617.     if Key == "e" and ATTACK == false then
  2618.         Prison_Key()
  2619.     end
  2620.    
  2621. end
  2622.  
  2623. function KeyUp(Key)
  2624.     KEYHOLD = false
  2625. end
  2626.  
  2627.     Mouse.Button1Down:connect(function(NEWKEY)
  2628.         MouseDown(NEWKEY)
  2629.     end)
  2630.     Mouse.Button1Up:connect(function(NEWKEY)
  2631.         MouseUp(NEWKEY)
  2632.     end)
  2633.     Mouse.KeyDown:connect(function(NEWKEY)
  2634.         KeyDown(NEWKEY)
  2635.     end)
  2636.     Mouse.KeyUp:connect(function(NEWKEY)
  2637.         KeyUp(NEWKEY)
  2638.     end)
  2639.  
  2640. --//=================================\\
  2641. --\\=================================//
  2642.  
  2643.  
  2644. function unanchor()
  2645.     if UNANCHOR == true then
  2646.         RootPart.Anchored = false
  2647.     end
  2648.     g = Character:GetChildren()
  2649.     for i = 1, #g do
  2650.         if g[i].ClassName == "Part" and g[i] ~= RootPart then
  2651.             g[i].Anchored = false
  2652.         end
  2653.     end
  2654.     g = Weapon:GetChildren()
  2655.     for i = 1, #g do
  2656.         if g[i].ClassName == "Part" then
  2657.             g[i].Anchored = false
  2658.         end
  2659.     end
  2660. end
  2661.  
  2662.  
  2663. --//=================================\\
  2664. --||    WRAP THE WHOLE SCRIPT UP
  2665. --\\=================================//
  2666.  
  2667. Humanoid.Changed:connect(function(Jump)
  2668.     if Jump == "Jump" and (Disable_Jump == true) then
  2669.         Humanoid.Jump = false
  2670.     end
  2671. end)
  2672.  
  2673. while true do
  2674.     Swait()
  2675.            refit()
  2676.     script.Parent = WEAPONGUI
  2677.     for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2678.         v:Stop();
  2679.     end
  2680.     ANIMATE.Parent = nil
  2681.     SINE = SINE + CHANGE*1.5
  2682.     local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2683.     local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2684.     local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  2685.     local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  2686.     if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2687.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2688.         Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2689.         RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2690.         LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(-25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2691.     elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2692.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2693.         Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2694.         RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2695.         LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2696.     end
  2697.     if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2698.         ANIM = "Jump"
  2699.         if ATTACK == false then
  2700.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2701.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.3*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2702.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2703.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2704.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
  2705.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed)
  2706.         end
  2707.     elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2708.         ANIM = "Fall"
  2709.         if ATTACK == false then
  2710.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2711.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.3*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2712.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2713.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2714.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
  2715.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
  2716.         end
  2717.     elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2718.         ANIM = "Idle"
  2719.         if ATTACK == false then
  2720.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(-17.58)), 1 / Animation_Speed)
  2721.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.2*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(15 - 3)), 1 / Animation_Speed)
  2722.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.7*SIZE, -0.5*SIZE) * ANGLES(RAD(0.98), RAD(-119.59 + 2.5 * SIN(SINE / 25)), RAD(-175.39 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2723.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.3*SIZE) * ANGLES(RAD(9.71), RAD(3.14 - -2.5 * SIN(SINE / 12)), RAD(0.2 - -2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2724.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2725.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2726.         end
  2727.     elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2728.         ANIM = "Walk"
  2729.         if ATTACK == false then
  2730.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2731.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.3*SIZE) - 1)) * ANGLES(RAD(15 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 1/ Animation_Speed)
  2732.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*SIZE, 0.5*SIZE, -0.67*SIZE) * ANGLES(RAD(13.19), RAD(-20.15 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-94.18 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2733.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1*SIZE, 0.5*SIZE, -0.5*SIZE) * ANGLES(RAD(-1.92), RAD(5.57 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(84.15 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2734.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2735.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2736.         end
  2737.     end
  2738.     unanchor()
  2739.     Humanoid.MaxHealth = "inf"
  2740.     Humanoid.Health = "inf"
  2741.     if Rooted == false then
  2742.         Disable_Jump = false
  2743.         Humanoid.WalkSpeed = Speed
  2744.     elseif Rooted == true then
  2745.         Disable_Jump = true
  2746.         Humanoid.WalkSpeed = 0
  2747.     end
  2748.     for _, c in pairs(Character:GetChildren()) do
  2749.         if c.ClassName == "Part" and c.Name ~= "Detail" then
  2750.             c.Material = "Fabric"
  2751.             if c:FindFirstChildOfClass("ParticleEmitter") then
  2752.                 c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2753.             end
  2754.             if c ~= Head then
  2755.                 c.Color = C3(0,0,0)
  2756.             else
  2757.                 c.Color = C3(0,0,0)
  2758.             end
  2759.             if c == Head then
  2760.                 if c:FindFirstChild("face") then
  2761.                     c.face:remove()
  2762.                 end
  2763.             end
  2764.         elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  2765.             c:remove()
  2766.         elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  2767.             c:remove()
  2768.         end
  2769.     end
  2770.     sick.SoundId = "rbxassetid://"..SONG
  2771.     sick.Looped = true
  2772.     sick.Pitch = 1
  2773.     sick.Volume = 2
  2774.     sick.Parent = Torso
  2775.     sick:Resume()
  2776.     --sick.Playing = false
  2777.     Humanoid.Name = "Humanoid = "..Player.Name
  2778. end
  2779.  
  2780. --//=================================\\
  2781. --\\=================================//
  2782.  
  2783.  
  2784.  
  2785.  
  2786.  
  2787. --//====================================================\\--
  2788. --||                     END OF SCRIPT
  2789. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement