Advertisement
wanTH092

Superior (Fixed)

Jul 19th, 2018
284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 146.72 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 = 0.25
  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"Really red".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 + ((0.7) - 0)) * 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, 1.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, -1.5) * 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"Really red".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"Really red".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 + ((0.7) - 0)) * 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, 1.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, -1.5) * 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"Really red".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 + ((0.7) - 0)) * 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, 1.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, -1.5) * 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 + ((0.7) - 0)) * 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, 1.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, -1.5) * 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 + ((0.7) - 0)) * 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, 1.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, -1.5) * 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 + ((0.7) - 0)) * 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, -1.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, -1.5) * 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 + ((0.7) - 0)) * 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.6, -0.5, -0.4) * 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.6, -1, -0.61) * 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 + ((0.7) - 0)) * 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.6, -0.5, -0.4) * 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.6, -1, -0.61) * 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. --||         RAGDOLL STUFF
  1042. --\\=================================//
  1043.  
  1044. function recurse(root,callback,i)
  1045.     i= i or 0
  1046.     for _,v in pairs(root:GetChildren()) do
  1047.         i = i + 1
  1048.         callback(i,v)
  1049.        
  1050.         if #v:GetChildren() > 0 then
  1051.             i = recurse(v,callback,i)
  1052.         end
  1053.     end
  1054.    
  1055.     return i
  1056. end
  1057.  
  1058. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  1059.     attachmentName = attachmentName.."RigAttachment"
  1060.     local constraint = Instance.new(className.."Constraint")
  1061.     constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  1062.     constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  1063.     constraint.Name = "RagdollConstraint"..part1.Name
  1064.    
  1065.     for _,propertyData in next,properties or {} do
  1066.         constraint[propertyData[1]] = propertyData[2]
  1067.     end
  1068.    
  1069.     constraint.Parent = character
  1070. end
  1071.  
  1072. function getAttachment0(character, attachmentName)
  1073.     for _,child in next,character:GetChildren() do
  1074.         local attachment = child:FindFirstChild(attachmentName)
  1075.         if attachment then
  1076.             return attachment
  1077.         end
  1078.     end
  1079. end
  1080.  
  1081. function ArtificialHitbox(Part)
  1082.     local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
  1083.     HITBOX.CanCollide = true
  1084.     HITBOX.CFrame = Part.CFrame
  1085.     weldBetween(Part,HITBOX)
  1086. end
  1087.  
  1088. function R15Ragdoll(character,KeepArms)
  1089.     character:BreakJoints()
  1090.     coroutine.resume(coroutine.create(function()
  1091.         recurse(character, function(_,v)
  1092.             if v:IsA("Attachment") then
  1093.                 v.Axis = Vector3.new(0, 1, 0)
  1094.                 v.SecondaryAxis = Vector3.new(0, 0, 1)
  1095.                 v.Rotation = Vector3.new(0, 0, 0)
  1096.             end
  1097.         end)
  1098.         for _,child in next,character:GetChildren() do
  1099.             if child:IsA("Accoutrement") then
  1100.                 for _,part in next,child:GetChildren() do
  1101.                     if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  1102.                         local attachment1 = part:FindFirstChildOfClass("Attachment")
  1103.                         local attachment0 = getAttachment0(character,attachment1.Name)
  1104.                         if attachment0 and attachment1 then
  1105.                             local constraint = Instance.new("HingeConstraint")
  1106.                             constraint.Attachment0 = attachment0
  1107.                             constraint.Attachment1 = attachment1
  1108.                             constraint.LimitsEnabled = true
  1109.                             constraint.UpperAngle = 0
  1110.                             constraint.LowerAngle = 0
  1111.                             constraint.Parent = character
  1112.                         end
  1113.                         ArtificialHitbox(part)
  1114.                     elseif part.Name == "HumanoidRootPart" then
  1115.                         part:remove()
  1116.                     end
  1117.                 end
  1118.             end
  1119.         end
  1120.        
  1121.         ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  1122.             {"LimitsEnabled",true};
  1123.             {"UpperAngle",5};
  1124.         })
  1125.         if character:FindFirstChild("Head") then
  1126.             ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  1127.                 {"LimitsEnabled",true};
  1128.                 {"UpperAngle",15};
  1129.             })
  1130.         end
  1131.        
  1132.         local handProperties = {
  1133.             {"LimitsEnabled", true};
  1134.             {"UpperAngle",0};
  1135.             {"LowerAngle",0};
  1136.         }
  1137.         ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  1138.         ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  1139.        
  1140.         local shinProperties = {
  1141.             {"LimitsEnabled", true};
  1142.             {"UpperAngle", 0};
  1143.             {"LowerAngle", -75};
  1144.         }
  1145.         ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  1146.         ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  1147.        
  1148.         local footProperties = {
  1149.             {"LimitsEnabled", true};
  1150.             {"UpperAngle", 15};
  1151.             {"LowerAngle", -45};
  1152.         }
  1153.         ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  1154.         ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  1155.         if KeepArms == true then
  1156.             ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  1157.             ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  1158.             ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  1159.             ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  1160.         end
  1161.         ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  1162.         ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  1163.         Debris:AddItem(character,5)
  1164.     end))
  1165. end
  1166.  
  1167. function Ragdoll(Character2,CharTorso,KeepArms)
  1168.     coroutine.resume(coroutine.create(function()
  1169.         Character2:BreakJoints()
  1170.         local hum = Character2:findFirstChild("Humanoid")
  1171.         hum:remove()
  1172.         local function Scan(ch)
  1173.             local e
  1174.             for e = 1,#ch do
  1175.                 Scan(ch[e]:GetChildren())
  1176.                 if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  1177.                     ch[e]:remove()
  1178.                 end
  1179.             end
  1180.         end
  1181.         local NEWHUM = IT("Humanoid")
  1182.         NEWHUM.Name = "Corpse"
  1183.         NEWHUM.Health = 0
  1184.         NEWHUM.MaxHealth = 0
  1185.         NEWHUM.PlatformStand = true
  1186.         NEWHUM.Parent = Character2
  1187.         NEWHUM.DisplayDistanceType = "None"
  1188.    
  1189.         local ch = Character2:GetChildren()
  1190.         local i
  1191.         for i = 1,#ch do
  1192.             if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  1193.                 ch[i]:remove()
  1194.             end
  1195.         end
  1196.    
  1197.         local Torso2 = Character2.Torso
  1198.         local movevector = Vector3.new()
  1199.    
  1200.         if Torso2 then
  1201.             movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  1202.             local Head = Character2:FindFirstChild("Head")
  1203.             if Head then
  1204.                 local Neck = Instance.new("Weld")
  1205.                 Neck.Name = "Neck"
  1206.                 Neck.Part0 = Torso2
  1207.                 Neck.Part1 = Head
  1208.                 Neck.C0 = CFrame.new(0, 1.5, 0)
  1209.                 Neck.C1 = CFrame.new()
  1210.                 Neck.Parent = Torso2
  1211.    
  1212.             end
  1213.             local Limb = Character2:FindFirstChild("Right Arm")
  1214.             if Limb and KeepArms == true then
  1215.    
  1216.                 Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  1217.                 local Joint = Instance.new("Glue")
  1218.                 Joint.Name = "RightShoulder"
  1219.                 Joint.Part0 = Torso2
  1220.                 Joint.Part1 = Limb
  1221.                 Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1222.                 Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1223.                 Joint.Parent = Torso2
  1224.    
  1225.                 local B = Instance.new("Part")
  1226.                 B.TopSurface = 0
  1227.                 B.BottomSurface = 0
  1228.                 B.formFactor = "Symmetric"
  1229.                 B.Size = Vector3.new(1, 1, 1)
  1230.                 B.Transparency = 1
  1231.                 B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1232.                 B.Parent = Character2
  1233.                 local W = Instance.new("Weld")
  1234.                 W.Part0 = Limb
  1235.                 W.Part1 = B
  1236.                 W.C0 = CFrame.new(0, -0.5, 0)
  1237.                 W.Parent = Limb
  1238.    
  1239.             end
  1240.             local Limb = Character2:FindFirstChild("Left Arm")
  1241.             if Limb and KeepArms == true then
  1242.    
  1243.                 Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  1244.                 local Joint = Instance.new("Glue")
  1245.                 Joint.Name = "LeftShoulder"
  1246.                 Joint.Part0 = Torso2
  1247.                 Joint.Part1 = Limb
  1248.                 Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1249.                 Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1250.                 Joint.Parent = Torso2
  1251.    
  1252.                 local B = Instance.new("Part")
  1253.                 B.TopSurface = 0
  1254.                 B.BottomSurface = 0
  1255.                 B.formFactor = "Symmetric"
  1256.                 B.Size = Vector3.new(1, 1, 1)
  1257.                 B.Transparency = 1
  1258.                 B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1259.                 B.Parent = Character2
  1260.                 local W = Instance.new("Weld")
  1261.                 W.Part0 = Limb
  1262.                 W.Part1 = B
  1263.                 W.C0 = CFrame.new(0, -0.5, 0)
  1264.                 W.Parent = Limb
  1265.    
  1266.             end
  1267.             local Limb = Character2:FindFirstChild("Right Leg")
  1268.             if Limb then
  1269.    
  1270.                 Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  1271.                 local Joint = Instance.new("Glue")
  1272.                 Joint.Name = "RightHip"
  1273.                 Joint.Part0 = Torso2
  1274.                 Joint.Part1 = Limb
  1275.                 Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1276.                 Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1277.                 Joint.Parent = Torso2
  1278.    
  1279.                 local B = Instance.new("Part")
  1280.                 B.TopSurface = 0
  1281.                 B.BottomSurface = 0
  1282.                 B.formFactor = "Symmetric"
  1283.                 B.Size = Vector3.new(1, 1, 1)
  1284.                 B.Transparency = 1
  1285.                 B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1286.                 B.Parent = Character2
  1287.                 local W = Instance.new("Weld")
  1288.                 W.Part0 = Limb
  1289.                 W.Part1 = B
  1290.                 W.C0 = CFrame.new(0, -0.5, 0)
  1291.                 W.Parent = Limb
  1292.    
  1293.             end
  1294.             local Limb = Character2:FindFirstChild("Left Leg")
  1295.             if Limb then
  1296.    
  1297.                 Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  1298.                 local Joint = Instance.new("Glue")
  1299.                 Joint.Name = "LeftHip"
  1300.                 Joint.Part0 = Torso2
  1301.                 Joint.Part1 = Limb
  1302.                 Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1303.                 Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1304.                 Joint.Parent = Torso2
  1305.    
  1306.                 local B = Instance.new("Part")
  1307.                 B.TopSurface = 0
  1308.                 B.BottomSurface = 0
  1309.                 B.formFactor = "Symmetric"
  1310.                 B.Size = Vector3.new(1, 1, 1)
  1311.                 B.Transparency = 1
  1312.                 B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1313.                 B.Parent = Character2
  1314.                 local W = Instance.new("Weld")
  1315.                 W.Part0 = Limb
  1316.                 W.Part1 = B
  1317.                 W.C0 = CFrame.new(0, -0.5, 0)
  1318.                 W.Parent = Limb
  1319.    
  1320.             end
  1321.             --[
  1322.             local Bar = Instance.new("Part")
  1323.             Bar.TopSurface = 0
  1324.             Bar.BottomSurface = 0
  1325.             Bar.formFactor = "Symmetric"
  1326.             Bar.Size = Vector3.new(1, 1, 1)
  1327.             Bar.Transparency = 1
  1328.             Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  1329.             Bar.Parent = Character2
  1330.             local Weld = Instance.new("Weld")
  1331.             Weld.Part0 = Torso2
  1332.             Weld.Part1 = Bar
  1333.             Weld.C0 = CFrame.new(0, 0.5, 0)
  1334.             Weld.Parent = Torso2
  1335.             --]]
  1336.         end
  1337.         Character2.Parent = workspace
  1338.         Debris:AddItem(Character2,5)
  1339.    
  1340.         return Character2,Torso2
  1341.     end))
  1342. end
  1343.  
  1344. --//=================================\\
  1345. --||         WEAPON CREATION
  1346. --\\=================================//
  1347.  
  1348. function swait(num)
  1349.     if num == 0 or num == nil then
  1350.         ArtificialHB.Event:wait()
  1351.     else
  1352.         for i = 0, num do
  1353.             ArtificialHB.Event:wait()
  1354.         end
  1355.     end
  1356. end
  1357.  
  1358.  
  1359. function chatfunc(text)
  1360.     local chat = coroutine.wrap(function()
  1361.     if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1362.         Character:FindFirstChild("TalkingBillBoard"):destroy()
  1363.     end
  1364.     local Bill = Instance.new("BillboardGui",Character)
  1365.     Bill.Size = UDim2.new(0,100,0,40)
  1366.     Bill.StudsOffset = Vector3.new(0,3,0)
  1367.     Bill.Adornee = Character.Head
  1368.     Bill.Name = "TalkingBillBoard"
  1369.     local Hehe = Instance.new("TextLabel",Bill)
  1370.     Hehe.BackgroundTransparency = 1
  1371.     Hehe.BorderSizePixel = 0
  1372.     Hehe.Text = ""
  1373.     Hehe.Font = "Antique"
  1374.     Hehe.TextSize = 40
  1375.     Hehe.TextStrokeTransparency = 0
  1376.     Hehe.Size = UDim2.new(1,0,0.5,0)
  1377.     coroutine.resume(coroutine.create(function()
  1378.         while Hehe ~= nil do
  1379.             swait()
  1380.             Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) 
  1381.             Hehe.Rotation = math.random(-5,5)
  1382.             Hehe.TextColor3 = Color3.new(255,0,0)
  1383.             Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  1384.         end
  1385.     end))
  1386.     for i = 1,string.len(text),1 do
  1387.         swait()
  1388.         Hehe.Text = string.sub(text,1,i)
  1389.     end
  1390.     swait(90)--Re[math.random(1, 93)]
  1391.     for i = 0, 1, .025 do
  1392.         swait()
  1393.         Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1394.         Hehe.TextStrokeTransparency = i
  1395.         Hehe.TextTransparency = i
  1396.     end
  1397.     Bill:Destroy()
  1398.     end)
  1399. chat()
  1400. end
  1401.  
  1402. function onChatted(msg)
  1403.     chatfunc(msg)
  1404. end
  1405.  
  1406. Player.Chatted:connect(onChatted)
  1407.  
  1408. chatfunc("Hello Ordinary Dude..?")
  1409.  
  1410.  
  1411. Humanoid.Parent = nil
  1412. RootPart.Size = RootPart.Size*SIZE
  1413. Torso.Size = Torso.Size*SIZE
  1414. RightArm.Size = RightArm.Size*SIZE
  1415. RightLeg.Size = RightLeg.Size*SIZE
  1416. LeftArm.Size = LeftArm.Size*SIZE
  1417. LeftLeg.Size = LeftLeg.Size*SIZE
  1418. RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  1419. RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  1420. Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1421. Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1422. RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  1423. LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  1424. RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1425. LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1426. RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1427. LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1428. Head.Size = Head.Size*SIZE
  1429. RootJoint.Parent = RootPart
  1430. Neck.Parent = Torso
  1431. RightShoulder.Parent = Torso
  1432. LeftShoulder.Parent = Torso
  1433. RightHip.Parent = Torso
  1434. LeftHip.Parent = Torso
  1435.  
  1436. Humanoid.DisplayDistanceType = "None"
  1437. local naeeym2 = IT("BillboardGui",Character)
  1438. naeeym2.AlwaysOnTop = true
  1439. naeeym2.Size = UDim2.new(5,35,2,15)
  1440. naeeym2.StudsOffset = Vector3.new(0,2,0)
  1441. naeeym2.MaxDistance = 99999
  1442. naeeym2.Adornee = Character.Head
  1443. naeeym2.Name = "Name"
  1444. local tecks2 = IT("TextLabel",naeeym2)
  1445. tecks2.BackgroundTransparency = 1
  1446. tecks2.TextScaled = true
  1447. tecks2.BorderSizePixel = 0
  1448. tecks2.Text = "Superior Origin"
  1449. tecks2.Font = "Antique"
  1450. tecks2.TextSize = 30
  1451. tecks2.TextStrokeTransparency = 0
  1452. tecks2.TextColor3 = C3(255,0,0)
  1453. tecks2.TextStrokeColor3 = C3(0/255, 0/255, 0/255)
  1454. tecks2.Size = UDim2.new(1,0,0.5,0)
  1455. tecks2.Parent = naeeym2
  1456. local top = Instance.new("Shirt")
  1457. top.ShirtTemplate = "rbxassetid://45695443"
  1458. top.Parent = Character
  1459. top.Name = "Cloth"
  1460. local bottom = Instance.new("Pants")
  1461. bottom.PantsTemplate = "rbxassetid://45696190"
  1462. bottom.Parent = Character
  1463. bottom.Name = "Cloth"
  1464.  
  1465.  
  1466. local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Hat", VT(1,1,1),false)
  1467. PRT.Color = C3(0,0,0)
  1468. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
  1469. CreateMesh("SpecialMesh", PRT, "FileMesh", "26768040", "", VT(1,1,1)*SIZE, VT(0,0,0))
  1470. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really red", "Detail", VT(1,1,1),false)
  1471. PRT.Color = C3(0,0,0)
  1472. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  1473. CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "", VT(1,1,1)*SIZE, VT(0,0,0))
  1474. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Detail", VT(1,1.2,0.2),false)
  1475. PRT.Color = C3(0,0,0)
  1476. MakeForm(PRT,"Ball")
  1477. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  1478. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Detail", VT(0.5,0.4,0.5),false)
  1479. PRT.Color = C3(255/100, 195/0, 175/0)
  1480. MakeForm(PRT,"Ball")
  1481. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
  1482. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Detail", VT(0.5,0.3,0.3),false)
  1483. PRT.Color = C3(0,0,0)
  1484. MakeForm(PRT,"Ball")
  1485. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  1486. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Detail", VT(0.5,0.3,0.3),false)
  1487. PRT.Color = C3(255/100, 195/0, 175/0)
  1488. MakeForm(PRT,"Ball")
  1489. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  1490. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Detail", VT(0.4,0.4,0.3),false)
  1491. PRT.Color = C3(255/100, 195/0, 175/0)
  1492. MakeForm(PRT,"Ball")
  1493. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
  1494. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Detail", VT(0.4,0.4,0.3),false)
  1495. PRT.Color = C3(255/100, 195/0, 175/0)
  1496. MakeForm(PRT,"Ball")
  1497. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
  1498. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
  1499. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1500. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
  1501. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1502. MakeForm(PRT,"Cyl")
  1503. local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
  1504. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1505. MakeForm(PRT,"Cyl")
  1506. PRT.Color = C3(255/100, 195/0, 175/0)
  1507. local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
  1508. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1509. MakeForm(RING,"Cyl")
  1510. RING.Color = C3(0,0,0)
  1511. for i = 1, 12 do
  1512.     local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
  1513.     PRT.Color = C3(0,0,0)
  1514.     local MSH = IT("BlockMesh",PRT)
  1515.     MSH.Scale = VT(0.6,1,1)
  1516.     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))
  1517. end
  1518. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
  1519. PRT.Color = C3(0,0,0)
  1520. local MSH = IT("BlockMesh",PRT)
  1521. MSH.Scale = VT(0.4,1,1)
  1522. 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))
  1523. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
  1524. PRT.Color = C3(0,0,0)
  1525. local MSH = IT("BlockMesh",PRT)
  1526. MSH.Scale = VT(0.4,1,1)
  1527. 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))
  1528. coroutine.resume(coroutine.create(function()
  1529.     while true do
  1530.         Swait()
  1531.         CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
  1532.         WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  1533.         WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  1534.         if CLOCKLOOP <= -150 then
  1535.             if VALUE1 == false then
  1536.                 CLOCKLOOP = 0
  1537.                 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})
  1538.                 local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1539.                 ApplyAoE(HITPOS,10,15,45,75,false)
  1540.                 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})
  1541.                 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})
  1542.                 if CLOCKTARGET ~= nil then
  1543.                     CLOCKTARGET.Health = CLOCKTARGET.Health - 20
  1544.                     if CLOCKTARGET.Torso ~= nil then
  1545.                         CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  1546.                     end
  1547.                     if CLOCKTARGET.Health == 0 then
  1548.                         CLOCKTARGET = nil
  1549.                     end
  1550.                 end
  1551.             end
  1552.         end
  1553.     end
  1554. end))
  1555.  
  1556. Neck.Name = "Weld"
  1557. RootJoint.Name = "Weld"
  1558. RightShoulder.Name = "Weld"
  1559. LeftShoulder.Name = "Weld"
  1560. RightHip.Name = "Weld"
  1561. LeftHip.Name = "Weld"
  1562.  
  1563. local BODY = {}
  1564. for _, c in pairs(Character:GetDescendants()) do
  1565.     if c:IsA("BasePart") and c.Name ~= "Handle" then
  1566.         if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1567.             c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1568.         end
  1569.         table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1570.     elseif c:IsA("JointInstance") then
  1571.         table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1572.     end
  1573. end
  1574. for e = 1, #BODY do
  1575.     if BODY[e] ~= nil then
  1576.         local STUFF = BODY[e]
  1577.         local PART = STUFF[1]
  1578.         local PARENT = STUFF[2]
  1579.         local MATERIAL = STUFF[3]
  1580.         local COLOR = STUFF[4]
  1581.         local TRANSPARENCY = STUFF[5]
  1582.         if PART.ClassName == "Part" and PART ~= RootPart then
  1583.             PART.Material = MATERIAL
  1584.             PART.Color = COLOR
  1585.             PART.Transparency = TRANSPARENCY
  1586.         end
  1587.         PART.AncestryChanged:Connect(function()
  1588.             PART.Parent = PARENT
  1589.         end)
  1590.     end
  1591. end
  1592.  
  1593. function refit()
  1594.     Character.Parent = workspace
  1595.     for e = 1, #BODY do
  1596.         if BODY[e] ~= nil then
  1597.             local STUFF = BODY[e]
  1598.             local PART = STUFF[1]
  1599.             local PARENT = STUFF[2]
  1600.             local MATERIAL = STUFF[3]
  1601.             local COLOR = STUFF[4]
  1602.             local TRANSPARENCY = STUFF[5]
  1603.             if PART.ClassName == "Part" and PART ~= RootPart then
  1604.                 PART.Material = MATERIAL
  1605.                 PART.Color = COLOR
  1606.                 PART.Transparency = TRANSPARENCY
  1607.             end
  1608.             if PART.Parent ~= PARENT then
  1609.                 Humanoid:remove()
  1610.                 PART.Parent = PARENT
  1611.                 Humanoid = IT("Humanoid",Character)
  1612.             end
  1613.         end
  1614.     end
  1615. end
  1616. local SKILLTEXTCOLOR = C3(255/255, 0/255, 0/255)
  1617. local SKILLFONT = "Antique"
  1618. local SKILLTEXTSIZE = 7
  1619.  
  1620. Weapon.Parent = Character
  1621. Humanoid.Parent = Character
  1622.  
  1623. Humanoid.Died:connect(function()
  1624.     refit()
  1625. end)
  1626.  
  1627. 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")
  1628. 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")
  1629. 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")
  1630. 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")
  1631. 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")
  1632.  
  1633. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Bomber Missile", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
  1634. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Timer Fate", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  1635. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Power Knuckle", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  1636. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Fate's Box", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  1637. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Meteor Somewhere", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
  1638.  
  1639. --//=================================\\
  1640. --||            DAMAGING
  1641. --\\=================================//
  1642.  
  1643. function ApplyDamage(Humanoid,Damage,TorsoPart)
  1644.     local defence = Instance.new("BoolValue",Humanoid.Parent)
  1645.     defence.Name = ("HitBy"..Player.Name)
  1646.     game:GetService("Debris"):AddItem(defence, 0.001)
  1647.     Damage = Damage * DAMAGEMULTIPLIER
  1648.     if Humanoid.Health ~= 0 then
  1649.         local CritChance = MRANDOM(1,100)
  1650.         if Damage > Humanoid.Health then
  1651.             Damage = math.ceil(Humanoid.Health)
  1652.             if Damage == 0 then
  1653.                 Damage = 0.1
  1654.             end
  1655.         end
  1656.         Humanoid.Health = Humanoid.Health - Damage
  1657.     end
  1658. end
  1659.  
  1660. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1661.     local CHILDREN = workspace:GetDescendants()
  1662.     for index, CHILD in pairs(CHILDREN) do
  1663.         if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1664.             local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1665.             if HUM then
  1666.                 local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1667.                 if TORSO then
  1668.                     if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1669.                         if INSTAKILL == false then
  1670.                             CHILD:BreakJoints()
  1671.                         else
  1672.                             local DMG = MRANDOM(MINDMG,MAXDMG)
  1673.                             ApplyDamage(HUM,DMG,TORSO)
  1674.                         end
  1675.                         if FLING > 0 then
  1676.                             for _, c in pairs(CHILD:GetChildren()) do
  1677.                                 if c:IsA("BasePart") then
  1678.                                     local bv = Instance.new("BodyVelocity")
  1679.                                     bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1680.                                     bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1681.                                     bv.Parent = c
  1682.                                     Debris:AddItem(bv,0.05)
  1683.                                 end
  1684.                             end
  1685.                         end
  1686.                     end
  1687.                 end
  1688.             end
  1689.         end
  1690.     end
  1691. end
  1692.  
  1693. function MagicSphere2(size,waitt,cframe,color)
  1694.     local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1))
  1695.     local mesh = IT("SpecialMesh",wave)
  1696.     mesh.MeshType = "Sphere"
  1697.     mesh.Scale = VT(size,size,size)
  1698.     mesh.Offset = VT(0,0,0)
  1699.     wave.CFrame = cframe
  1700.     coroutine.resume(coroutine.create(function(PART)
  1701.         for i = 1, waitt do
  1702.             Swait()
  1703.             mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
  1704.             wave.Transparency = wave.Transparency - (1/waitt)
  1705.         end
  1706.         wave:remove()
  1707.     end))
  1708. end
  1709.  
  1710. function MagicSphere(size,waitt,cframe,color)
  1711.     local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1))
  1712.     local mesh = IT("SpecialMesh",wave)
  1713.     mesh.MeshType = "Sphere"
  1714.     mesh.Scale = VT(size,size,size)
  1715.     mesh.Offset = VT(0,0,0)
  1716.     wave.CFrame = cframe
  1717.     coroutine.resume(coroutine.create(function(PART)
  1718.         for i = 1, waitt do
  1719.             Swait()
  1720.             mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  1721.             wave.Transparency = wave.Transparency + (1/waitt)
  1722.             if wave.Transparency > 0.99 then
  1723.                 wave:remove()
  1724.             end
  1725.         end
  1726.     end))
  1727. end
  1728.  
  1729. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  1730.     local Direction = CFrame.new(StartPos, Vec).lookVector
  1731.     local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1732.     local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  1733.     if RayHit and CheckIntangible(RayHit) then
  1734.         if DelayIfHit then
  1735.             wait()
  1736.         end
  1737.         RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  1738.     end
  1739.     return RayHit, RayPos, RayNormal
  1740. end
  1741.  
  1742. function CreateSwirl(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  1743.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  1744.     local mesh = IT("SpecialMesh",wave)
  1745.     mesh.MeshType = "FileMesh"
  1746.     mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1747.     mesh.Scale = VT(size,size,size)
  1748.     wave.CFrame = cframe
  1749.     coroutine.resume(coroutine.create(function(PART)
  1750.         for i = 1, waitt do
  1751.             Swait()
  1752.             mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  1753.             if doesrotate == true then
  1754.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  1755.             end
  1756.             wave.Transparency = wave.Transparency + (0.5/waitt)
  1757.             if wave.Transparency > 0.99 then
  1758.                 wave:remove()
  1759.             end
  1760.         end
  1761.     end))
  1762. end
  1763.  
  1764. --//=================================\\
  1765. --||    ATTACK FUNCTIONS AND STUFF
  1766. --\\=================================//
  1767.  
  1768. function MagicMissiles()
  1769.     ATTACK = true
  1770.     Rooted = false
  1771.     local SELECTING = true
  1772.     local SPOTS = {}
  1773.     coroutine.resume(coroutine.create(function()
  1774.         local LOOP = 0
  1775.         repeat
  1776.             LOOP = LOOP + 1
  1777.             Swait()
  1778.             if LOOP >= 15 then
  1779.                 LOOP = 0
  1780.                 for i = 1, #SPOTS do
  1781.                     if SPOTS[i] ~= nil then
  1782.                         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})
  1783.                         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})
  1784.                     end
  1785.                 end
  1786.             end
  1787.             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)
  1788.             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)
  1789.             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)
  1790.             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)
  1791.             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)
  1792.             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)
  1793.         until SELECTING == false
  1794.         Rooted = false
  1795.         repeat
  1796.             LOOP = LOOP + 1
  1797.             Swait()
  1798.             if LOOP >= 15 then
  1799.                 LOOP = 0
  1800.                 for i = 1, #SPOTS do
  1801.                     if SPOTS[i] ~= nil then
  1802.                         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})
  1803.                         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})
  1804.                     end
  1805.                 end
  1806.             end
  1807.             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)
  1808.             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)
  1809.             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)
  1810.             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)
  1811.             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)
  1812.             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)
  1813.         until ATTACK == false
  1814.     end))
  1815.     repeat
  1816.         repeat Swait() until HOLD == true
  1817.             local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  1818.             if DIST > 9999 then
  1819.                 DIST = 9999
  1820.             end
  1821.             local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  1822.             local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)  
  1823.             if HITFLOOR ~= nil then
  1824.                 table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
  1825.                 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})
  1826.                 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})
  1827.             end
  1828.         repeat Swait() until HOLD == false
  1829.     until #SPOTS == 10
  1830.     SELECTING = false
  1831.     for i = 1, #SPOTS do
  1832.         if SPOTS[i] ~= nil then
  1833.             local POS = SPOTS[i]
  1834.             coroutine.resume(coroutine.create(function()
  1835.                 local MISSILE = IT("Model",Effects)
  1836.                 MISSILE.Name = "Missile"
  1837.                 local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Really red", "Part", VT(2,2,2))
  1838.                 MakeForm(BASEPART,"Cyl")
  1839.                 MISSILE.PrimaryPart = BASEPART
  1840.                 BASEPART.CFrame = POS*CF(0,-30*3,0)
  1841.                 local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Really red", "Part", VT(2,4,2))
  1842.                 MakeForm(HEAD,"Ball")
  1843.                 HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
  1844.                 local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Really red", "Part", VT(2.5,0.1,2.5))
  1845.                 MakeForm(TAIL,"Cyl")
  1846.                 TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
  1847.                 chatfunc("YO LIKE NUKE?")
  1848.                 for i = 1, 15 do
  1849.                     Swait()
  1850.                     for _, c in pairs(MISSILE:GetChildren()) do
  1851.                         if c.ClassName == "Part" then
  1852.                             c.Transparency = c.Transparency - 1/10
  1853.                         end
  1854.                     end
  1855.                 end
  1856.                 for i = 1, 15*1.5 do
  1857.                     Swait()
  1858.                     MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
  1859.                 end
  1860.                 ApplyAoE(BASEPART.CFrame.p,200,350,450,750,true)
  1861.                 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})
  1862.                 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})
  1863.                 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})
  1864.                 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})
  1865.                 MISSILE:remove()
  1866.             end))
  1867.         end
  1868.     end
  1869.     wait(0.6)
  1870.     ATTACK = false
  1871.     Rooted = false
  1872. end  
  1873.  
  1874.  
  1875. function Time()
  1876.     chatfunc("SEE YA.")
  1877.     ATTACK = true
  1878.     Rooted = false
  1879.     for i=0, 0.5, 0.1 / Animation_Speed do
  1880.         Swait()
  1881.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((0.7) - 0)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1882.         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)
  1883.     end
  1884.     for e = 1, #BODY do
  1885.         if BODY[e] ~= nil then
  1886.             local STUFF = BODY[e]
  1887.             local PART = STUFF[1]
  1888.             if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  1889.                 local PRT = PART:Clone()
  1890.                 PRT.Anchored = true
  1891.                 PRT.CanCollide = false
  1892.                 PRT.Material = "Neon"
  1893.                 PRT.Color = C3(1,0,0)
  1894.                 PRT.Name = "WarpEffect"
  1895.                 PRT.Parent = Effects
  1896.                 PRT.CFrame = PART.CFrame
  1897.                 PRT:BreakJoints()
  1898.                 if PRT:FindFirstChildOfClass("Sound") then
  1899.                     PRT:FindFirstChildOfClass("Sound"):remove()
  1900.                 end
  1901.                 if PRT:FindFirstChildOfClass("Decal") then
  1902.                     PRT:FindFirstChildOfClass("Decal"):remove()
  1903.                 end
  1904.                 coroutine.resume(coroutine.create(function()
  1905.                     for i = 1, 100 do
  1906.                         Swait()
  1907.                         PRT.Transparency = PRT.Transparency + 1/100
  1908.                     end
  1909.                     PRT:remove()
  1910.                 end))
  1911.             end
  1912.         end
  1913.     end
  1914.     CreateSound(217767125, Torso, 10, 1)
  1915.     local POS = RootPart.Orientation
  1916.     RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  1917.     RootPart.Orientation = POS
  1918.     RootJoint.Parent = RootPart
  1919.     for i=0, 0.5, 0.1 / Animation_Speed do
  1920.         Swait()
  1921.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((0.7) - 0)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1922.         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)
  1923.     end
  1924.     for i=0, 0.1, 0.1 / Animation_Speed do
  1925.         Swait()
  1926.         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)
  1927.     end
  1928.     ATTACK = false
  1929.     Rooted = false
  1930. end
  1931.  
  1932. function TimesUp()
  1933.     chatfunc("it's time to STOP")
  1934.     CLOCKTARGET = nil
  1935.     if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1936.         local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1937.         local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1938.         if TORSO then
  1939.             ATTACK = true
  1940.             Rooted = false
  1941.             coroutine.resume(coroutine.create(function()
  1942.                 repeat
  1943.                     Swait()
  1944.                     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)
  1945.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.6 + ((0.6*SIZE) - 0.6)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1946.                     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)
  1947.                     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)
  1948.                     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)
  1949.                     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)
  1950.                 until ATTACK == false
  1951.             end))
  1952.             if Effects:FindFirstChild("NeonDoll") then
  1953.                 repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
  1954.             end
  1955.             wait(0.5)
  1956.             local FAKECHARACTER = IT("Model",Effects)
  1957.             FAKECHARACTER.Name = "NeonDoll"
  1958.             local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.3,0.3,0.15),false)
  1959.             CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
  1960.             local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.15,0.3,0.15),false)
  1961.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
  1962.             local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.15,0.3,0.15),false)
  1963.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
  1964.             local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.15,0.3,0.15),false)
  1965.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
  1966.             local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.15,0.3,0.15),false)
  1967.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
  1968.             local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.15,0.15,0.15),false)
  1969.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  1970.             CreateSound(201858045, TORS, 5, 0.4, false)
  1971.             for i = 1, 50 do
  1972.                 Swait()
  1973.                 CLOCKSPEED = 0.25
  1974.                 for _, c in pairs(FAKECHARACTER:GetChildren()) do
  1975.                     if c.ClassName == "Part" then
  1976.                         c.Transparency = c.Transparency - 0.5/150
  1977.                     end
  1978.                 end
  1979.             end
  1980.             CLOCKTARGET = HUM
  1981.             coroutine.resume(coroutine.create(function()
  1982.                 repeat Swait() CLOCKSPEED = 5 until CLOCKTARGET == nil
  1983.                 for i = 1, 25 do
  1984.                     Swait()
  1985.                     for _, c in pairs(FAKECHARACTER:GetChildren()) do
  1986.                         if c.ClassName == "Part" then
  1987.                             c.Transparency = c.Transparency + 0.5/25
  1988.                         end
  1989.                     end
  1990.                 end
  1991.                 CLOCKSPEED = 0.25
  1992.                 FAKECHARACTER:remove()
  1993.             end))
  1994.             wait(0.5)
  1995.             ATTACK = false
  1996.             Rooted = false
  1997.         end
  1998.     end
  1999. end
  2000.  
  2001. function ChainPunch()
  2002.     chatfunc("REEEEEEE")
  2003.     ATTACK = true
  2004.     Rooted = false
  2005.     local GYRO = IT("BodyGyro",RootPart)
  2006.     GYRO.D = 25
  2007.     GYRO.P = 2000
  2008.     GYRO.MaxTorque = VT(0,40000,0)
  2009.     GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2010.     repeat
  2011.         Swait()
  2012.         GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2013.         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)
  2014.         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)
  2015.         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)
  2016.         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)
  2017.         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)
  2018.         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)
  2019.     until HOLD == true
  2020.     local POS = Mouse.Hit.p
  2021.     local CHAINS = false
  2022.     local CHAINLINKS = {}
  2023.     local A = IT("Attachment",RightArm)
  2024.     A.Position = VT(1,-1,0)*SIZE
  2025.     A.Orientation = VT(-90, -89.982, 0)
  2026.     local B = IT("Attachment",RightArm)
  2027.     B.Position = VT(-1,-1,0)*SIZE
  2028.     B.Orientation = VT(-90, 89.988, 0)
  2029.     local C = IT("Attachment",RightArm)
  2030.     C.Position = VT(0.5,-1.3,0)*SIZE
  2031.     C.Orientation = VT(-90, -89.982, 0)
  2032.     local D = IT("Attachment",RightArm)
  2033.     D.Position = VT(-0.5,-1.3,0)*SIZE
  2034.     D.Orientation = VT(-90, 89.988, 0)
  2035.     local LIGHT = IT("Attachment",RightArm)
  2036.     LIGHT.Position = VT(0,-1,0)*SIZE
  2037.     local LIGHT2 = IT("PointLight",LIGHT)
  2038.     LIGHT2.Range = 7
  2039.     LIGHT2.Brightness = 5
  2040.     LIGHT2.Color = SKILLTEXTCOLOR
  2041.     for i = 1, 2 do
  2042.         local TWIST = -2
  2043.         local START = A
  2044.         local END = B
  2045.         if i == 1 then
  2046.             START = B
  2047.             END = A
  2048.         end
  2049.         local ChainLink = IT("Beam",Torso)
  2050.         ChainLink.Texture = "rbxassetid://73042633"
  2051.         ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  2052.         ChainLink.TextureSpeed = 1
  2053.         ChainLink.Width0 = 1
  2054.         ChainLink.Width1 = 1
  2055.         ChainLink.TextureLength = 2.5
  2056.         ChainLink.Attachment0 = START
  2057.         ChainLink.Attachment1 = END
  2058.         ChainLink.CurveSize0 = TWIST
  2059.         ChainLink.CurveSize1 = TWIST
  2060.         --ChainLink.FaceCamera = true
  2061.         ChainLink.Segments = 45
  2062.         ChainLink.Transparency = NumberSequence.new(1)
  2063.         table.insert(CHAINLINKS,ChainLink)
  2064.     end
  2065.     for i = 1, 2 do
  2066.         local TWIST = -1
  2067.         local START = C
  2068.         local END = D
  2069.         if i == 1 then
  2070.             START = D
  2071.             END = C
  2072.         end
  2073.         local ChainLink = IT("Beam",Torso)
  2074.         ChainLink.Texture = "rbxassetid://73042633"
  2075.         ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  2076.         ChainLink.TextureSpeed = 1
  2077.         ChainLink.Width0 = 1
  2078.         ChainLink.Width1 = 1
  2079.         ChainLink.TextureLength = 5
  2080.         ChainLink.Attachment0 = START
  2081.         ChainLink.Attachment1 = END
  2082.         ChainLink.CurveSize0 = TWIST
  2083.         ChainLink.CurveSize1 = TWIST
  2084.         --ChainLink.FaceCamera = true
  2085.         ChainLink.Segments = 25
  2086.         ChainLink.LightEmission = 0.5
  2087.         ChainLink.Transparency = NumberSequence.new(1)
  2088.         table.insert(CHAINLINKS,ChainLink)
  2089.     end
  2090.     coroutine.resume(coroutine.create(function()
  2091.         repeat
  2092.             Swait()
  2093.             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)
  2094.             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)
  2095.             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)
  2096.             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)
  2097.             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)
  2098.             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)
  2099.         until CHAINS == true
  2100.         repeat
  2101.             Swait()
  2102.             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)
  2103.             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)
  2104.             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)
  2105.             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)
  2106.             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)
  2107.             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)
  2108.         until ATTACK == false
  2109.         for e = 1, 15 do
  2110.             Swait()
  2111.             for i = 1, #CHAINLINKS do
  2112.                 CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  2113.             end
  2114.         end
  2115.         A:remove()
  2116.         B:remove()
  2117.         C:remove()
  2118.         D:remove()
  2119.     end))
  2120.     CreateSound(233856115, RightArm, 5, 1.2, false)
  2121.     for e = 1, 15 do
  2122.         Swait()
  2123.         for i = 1, #CHAINLINKS do
  2124.             CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  2125.         end
  2126.     end
  2127.     CHAINS = true
  2128.     Rooted = false
  2129.     wait(0.25)
  2130.     local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "Mid grey", "Part", VT(2,2,2))
  2131.     FIST.Color = C3(255/100, 195/0, 175/0)
  2132.     FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  2133.     local LIGHT3 = IT("PointLight",FIST)
  2134.     LIGHT3.Range = 7
  2135.     LIGHT3.Brightness = 5
  2136.     LIGHT3.Color = SKILLTEXTCOLOR
  2137.     CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
  2138.     local FISTA = IT("Attachment",FIST)
  2139.     FISTA.Position = VT(0.062, 0.977, 0)
  2140.     local ChainLink = IT("Beam",Torso)
  2141.     ChainLink.Texture = "rbxassetid://73042633"
  2142.     ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  2143.     ChainLink.TextureSpeed = 0
  2144.     ChainLink.Width0 = 3
  2145.     ChainLink.Width1 = 3
  2146.     ChainLink.TextureLength = 12
  2147.     ChainLink.Attachment0 = LIGHT
  2148.     ChainLink.Attachment1 = FISTA
  2149.     ChainLink.FaceCamera = true
  2150.     ChainLink.Segments = 45
  2151.     ChainLink.LightEmission = 0.5
  2152.     ChainLink.Transparency = NumberSequence.new(0.25)
  2153.     local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  2154.     for i = 1, 85 do
  2155.         Swait()
  2156.         FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  2157.         ChainLink.TextureLength = 12+(i*2)
  2158.         ApplyAoE(FIST.Position,10,15,25,100,false)
  2159.         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})
  2160.         local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  2161.         if HITFLOOR ~= nil then
  2162.             HITFLOOR:BreakJoints()
  2163.             coroutine.resume(coroutine.create(function()
  2164.                 for i = 1, 15 do
  2165.                     Swait()
  2166.                     FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  2167.                     ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
  2168.                     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})
  2169.                 end
  2170.             end))
  2171.             break
  2172.         end
  2173.     end
  2174.     coroutine.resume(coroutine.create(function()
  2175.         for i = 1, 50 do
  2176.             Swait()
  2177.             FIST.Transparency = FIST.Transparency + 0.5/50
  2178.             LIGHT3.Range = LIGHT3.Range - 7/50
  2179.         end
  2180.         FIST:remove()
  2181.     end))
  2182.     LIGHT:remove()
  2183.     GYRO:remove()
  2184.     ATTACK = false
  2185.     Rooted = false
  2186. end
  2187.  
  2188. function WarpMeteor()
  2189.     chatfunc("WEEEEEEEEE")
  2190.     local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  2191.     if DIST > 180 then
  2192.         DIST = 180
  2193.     end
  2194.     local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  2195.     local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
  2196.     if HITFLOOR then
  2197.         local POS = HITPOS 
  2198.         ATTACK = true
  2199.         Rooted = true
  2200.         local WARPED = false
  2201.         local SMASHED = false
  2202.         local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  2203.         coroutine.resume(coroutine.create(function()
  2204.             repeat
  2205.                 Swait()
  2206.                 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)
  2207.                 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)
  2208.                 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)
  2209.                 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)
  2210.                 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)
  2211.                 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)
  2212.             until WARPED == true
  2213.             repeat
  2214.                 Swait()
  2215.                 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)
  2216.                 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)
  2217.                 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)
  2218.                 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)
  2219.                 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)
  2220.                 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)
  2221.             until SMASHED == true
  2222.             repeat
  2223.                 Swait()
  2224.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  2225.             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)
  2226.             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)
  2227.             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)
  2228.             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)
  2229.             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)
  2230.             until ATTACK == false
  2231.         end))
  2232.         VALUE1 = true
  2233.         CreateSound(233856115, Torso, 5, 1.6, false)
  2234.         for i = 1, 25 do
  2235.             Swait()
  2236.             for _, c in pairs(Character:GetChildren()) do
  2237.                 if c.ClassName == "Part" then
  2238.                     c.Transparency = c.Transparency + 1/25
  2239.                 end
  2240.             end
  2241.             for _, c in pairs(Weapon:GetChildren()) do
  2242.                 if c.ClassName == "Part" then
  2243.                     c.Transparency = c.Transparency + 1/25
  2244.                 end
  2245.             end
  2246.         end
  2247.         UNANCHOR = false
  2248.         RootPart.Anchored = true
  2249.         RootPart.Velocity = VT(0,0,0)
  2250.         local ROOTPOS = RootPart.Position
  2251.         RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
  2252.         WARPED = true
  2253.         for i = 1, 25 do
  2254.             Swait()
  2255.             for _, c in pairs(Character:GetChildren()) do
  2256.                 if c.ClassName == "Part" then
  2257.                     c.Transparency = c.Transparency - 1/25
  2258.                 end
  2259.             end
  2260.             for _, c in pairs(Weapon:GetChildren()) do
  2261.                 if c.ClassName == "Part" then
  2262.                     c.Transparency = c.Transparency - 1/25
  2263.                 end
  2264.             end
  2265.         end
  2266.         local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Part", VT(0,0,0))
  2267.         SHELL.CFrame = RootPart.CFrame
  2268.         MakeForm(SHELL,"Ball")
  2269.         CreateSound(402981977, SHELL, 5, 1.6, false)
  2270.         for i = 1, 10 do
  2271.             Swait()
  2272.             SHELL.Transparency = SHELL.Transparency - 1/10
  2273.             SHELL.Size = SHELL.Size + VT(2,2,2)*1.8
  2274.         end
  2275.         for i = 1, math.ceil(75/2) do
  2276.             Swait()
  2277.             RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
  2278.             SHELL.CFrame = CF(RootPart.Position)
  2279.             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})
  2280.         end
  2281.         RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
  2282.         SHELL.CFrame = CF(RootPart.Position)
  2283.         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})
  2284.         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})
  2285.         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})
  2286.         for i = 1, 5 do
  2287.             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})
  2288.         end
  2289.         SHELL:remove()
  2290.         ApplyAoE(RootPart.Position,75,35,75,300,false)
  2291.         SMASHED = true
  2292.         wait(1)
  2293.         VALUE1 = false
  2294.         UNANCHOR = true
  2295.         ATTACK = false
  2296.         Rooted = false
  2297.     end
  2298. end
  2299.  
  2300. function PandorasBox()
  2301.     chatfunc("look at this box")
  2302.     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)
  2303.     if HITFLOOR ~= nil then
  2304.         ATTACK = true
  2305.         Rooted = true
  2306.         local RINGSPIN = true
  2307.         local CONSTRUCTING = true
  2308.         local RING = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Ring", VT(0,0,0))
  2309.         RING.Color = C3(0,0,0)
  2310.         MakeForm(RING,"Cyl")
  2311.         RING.CFrame = CF(HITPOS)
  2312.         CreateSound(402981977, RING, 5, 1.2, false)
  2313.         coroutine.resume(coroutine.create(function()
  2314.             repeat
  2315.                 Swait()
  2316.                 RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2317.                 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)
  2318.                 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)
  2319.                 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)
  2320.                 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)
  2321.                 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)
  2322.                 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)
  2323.             until CONSTRUCTING == false
  2324.             repeat
  2325.                 Swait()
  2326.                 RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2327.             until RINGSPIN == false
  2328.             for i = 1, 25 do
  2329.                 Swait()
  2330.                 RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2331.                 RING.Size = RING.Size - VT(0.15,0,0.15)
  2332.                 --DECAL.Transparency = DECAL.Transparency + 1/25
  2333.                 RING.Transparency = RING.Transparency + 1/25
  2334.             end
  2335.             RING:remove()
  2336.         end))
  2337.         for i = 1, 15 do
  2338.             Swait()
  2339.             RING.Size = RING.Size + VT(0.75,0,0.75)
  2340.             RING.Transparency = RING.Transparency - 1/15
  2341.         end
  2342.         local BOXSPIN = true
  2343.         local PANDORASBOX = IT("Model",Effects)
  2344.         PANDORASBOX.Name = "Pandora's Box"
  2345.         local BOX = IT("Model",PANDORASBOX)
  2346.         BOX.Name = "Body"
  2347.         local LID = IT("Model",PANDORASBOX)
  2348.         LID.Name = "Lid"
  2349.         --BUILDING THE BOX--
  2350.             local BASE = CreatePart(3, BOX, "Neon", 0, 0, "Alder", "Black", VT(2,1.8,2))
  2351.             BASE.Color = C3(0,0,0)
  2352.             PANDORASBOX.PrimaryPart = BASE
  2353.             BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  2354.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Dark red", "Marble", VT(0.2,1.9,0.2))
  2355.             WOOD.CFrame = BASE.CFrame*CF(1,0,1)
  2356.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Dark red", "Marble", VT(0.2,1.9,0.2))
  2357.             WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
  2358.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Dark red", "Marble", VT(0.2,1.9,0.2))
  2359.             WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
  2360.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Dark red", "Marble", VT(0.2,1.9,0.2))
  2361.             WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
  2362.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Dark red", "Marble", VT(2.1,0.2,0.2))
  2363.             WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
  2364.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Dark red", "Marble", VT(2.1,0.2,0.2))
  2365.             WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
  2366.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Dark red", "Marble", VT(0.2,0.2,2.1))
  2367.             WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
  2368.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Dark red", "Marble", VT(0.2,0.2,2.1))
  2369.             WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
  2370.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Dark red", "Marble", VT(2.1,0.2,0.2))
  2371.             WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
  2372.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Dark red", "Marble", VT(2.1,0.2,0.2))
  2373.             WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
  2374.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Dark red", "Marble", VT(0.2,0.2,2.1))
  2375.             WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
  2376.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Dark red", "Marble", VT(0.2,0.2,2.1))
  2377.             WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
  2378.             local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1))
  2379.             WOOD.CFrame = BASE.CFrame*CF(0,0,1)
  2380.             local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1))
  2381.             WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
  2382.             local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1))
  2383.             WOOD.CFrame = BASE.CFrame*CF(1,0,0)
  2384.             local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1))
  2385.             WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
  2386.             local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1))
  2387.             WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
  2388.             -------------
  2389.             local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1))
  2390.             LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
  2391.             LID.PrimaryPart = LIDPART
  2392.             local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Dark red", "Marble", VT(2.1,0.2,0.2))
  2393.             WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
  2394.             local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Dark red", "Marble", VT(2.1,0.2,0.2))
  2395.             WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
  2396.             local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Dark red", "Marble", VT(0.2,0.2,2.1))
  2397.             WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
  2398.             local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Dark red", "Marble", VT(0.2,0.2,2.1))
  2399.             WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
  2400.             local DECAL = IT("Decal",LIDPART)
  2401.             DECAL.Face = "Top"
  2402.             DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
  2403.             DECAL.Color3 = C3(0,0,0)
  2404.         --BUILDING THE BOX--
  2405.         coroutine.resume(coroutine.create(function()
  2406.             repeat
  2407.                 Swait()
  2408.                 PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
  2409.             until BOXSPIN == false
  2410.         end))
  2411.         for i = 1, 25 do
  2412.             Swait()
  2413.             PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
  2414.         end
  2415.         wait(0.5)
  2416.         BOXSPIN = false
  2417.         CONSTRUCTING = false   
  2418.         coroutine.resume(coroutine.create(function()
  2419.             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})
  2420.             --[[for i = 1, 45 do
  2421.                 Swait()
  2422.                 LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
  2423.             end-
  2424.             LID:remove()]]--
  2425.             for _, c in pairs(LID:GetChildren()) do
  2426.                 if c.ClassName == "Part" then
  2427.                     c.Anchored = false
  2428.                     c.CanCollide = true
  2429.                     if c ~= LIDPART then
  2430.                         weldBetween(LIDPART,c)
  2431.                     end
  2432.                 end
  2433.             end
  2434.             LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
  2435.             Debris:AddItem(LID,15)
  2436.             wait(0.5)
  2437.             local RANDOMEFFECT = MRANDOM(1,4)
  2438.             if RANDOMEFFECT == 1 then
  2439.                 for i = 1, 45 do
  2440.                     wait((2-(i/15))/15)
  2441.                     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})
  2442.                 end
  2443.                 wait(1)
  2444.                 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})
  2445.                 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})
  2446.                 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})
  2447.                 for i = 1, 5 do
  2448.                     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})
  2449.                 end
  2450.                 ApplyAoE(BASE.Position,50,1,200,375,false)
  2451.                 ApplyAoE(BASE.Position,250,35,75,475,false)
  2452.             elseif RANDOMEFFECT == 2 then
  2453.                 local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Field", VT(0.3,0.3,0.3))
  2454.                 FIELD.CFrame = BASE.CFrame
  2455.                 MakeForm(FIELD,"Ball")
  2456.                 for i = 1, 50 do
  2457.                     Swait()
  2458.                     FIELD.Size = FIELD.Size + VT(1,1,1)
  2459.                     FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  2460.                 end
  2461.                 wait(0.2)
  2462.                 local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
  2463.                 coroutine.resume(coroutine.create(function()
  2464.                     for i = 1, 75 do
  2465.                         Swait()
  2466.                         LOOP.Volume = LOOP.Volume + 10/75
  2467.                         LOOP.Parent = FIELD
  2468.                         local CHILDREN = workspace:GetDescendants()
  2469.                         for index, CHILD in pairs(CHILDREN) do
  2470.                             if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2471.                                 local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2472.                                 if HUM then
  2473.                                     local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2474.                                     if TORSO then
  2475.                                         if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  2476.                                             HUM.Health = HUM.Health - 0.1
  2477.                                             TORSO.Velocity = VT(0,5,0)
  2478.                                             HUM.PlatformStand = true
  2479.                                             if TORSO.RotVelocity.Magnitude < 15 then
  2480.                                                 TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  2481.                                             end
  2482.                                         end
  2483.                                     end
  2484.                                 end
  2485.                             end
  2486.                         end
  2487.                         FIELD.Size = FIELD.Size + VT(6,6,6)
  2488.                         FIELD.Transparency = FIELD.Transparency + 0.8/75
  2489.                     end
  2490.                     for i = 1, 500 do
  2491.                         Swait()
  2492.                         LOOP.Parent = FIELD
  2493.                         local CHILDREN = workspace:GetDescendants()
  2494.                         for index, CHILD in pairs(CHILDREN) do
  2495.                             if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2496.                                 local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2497.                                 if HUM then
  2498.                                     local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2499.                                     if TORSO then
  2500.                                         if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  2501.                                             TORSO.Velocity = VT(0,5,0)
  2502.                                             HUM.Health = HUM.Health - 0.1
  2503.                                             HUM.PlatformStand = true
  2504.                                             if TORSO.RotVelocity.Magnitude < 15 then
  2505.                                                 TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  2506.                                             end
  2507.                                         end
  2508.                                     end
  2509.                                 end
  2510.                             end
  2511.                         end
  2512.                     end
  2513.                     for i = 1, 25 do
  2514.                         Swait()
  2515.                         LOOP.Volume = LOOP.Volume + 10/25
  2516.                         LOOP.Parent = FIELD
  2517.                         local CHILDREN = workspace:GetDescendants()
  2518.                         for index, CHILD in pairs(CHILDREN) do
  2519.                             if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2520.                                 local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2521.                                 if HUM then
  2522.                                     local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2523.                                     if TORSO then
  2524.                                         if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  2525.                                             TORSO.Velocity = VT(0,5,0)
  2526.                                             HUM.Health = HUM.Health - 0.1
  2527.                                             HUM.PlatformStand = false
  2528.                                             if TORSO.RotVelocity.Magnitude < 15 then
  2529.                                                 TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  2530.                                             end
  2531.                                         end
  2532.                                     end
  2533.                                 end
  2534.                             end
  2535.                         end
  2536.                         FIELD.Size = FIELD.Size - VT(9,9,9)
  2537.                         FIELD.Transparency = FIELD.Transparency + 0.2/25
  2538.                     end
  2539.                     FIELD:remove()
  2540.                 end))
  2541.             elseif RANDOMEFFECT == 3 then
  2542.                 for i = 1, 20 do
  2543.                     wait(0.15)
  2544.                     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})
  2545.                     coroutine.resume(coroutine.create(function()
  2546.                         local MINION = CLONE:Clone()
  2547.                         MINION.Parent = Effects
  2548.                         MINION.Name = "Shadow"
  2549.                         MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  2550.                         MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
  2551.                         for _, c in pairs(MINION:GetChildren()) do
  2552.                             if c.ClassName == "Part" then
  2553.                                 c.Material = "Neon"
  2554.                                 c.Color = C3(0,0,0)
  2555.                                 c.Transparency = 0.25
  2556.                                 if c.Name == "Head" then
  2557.                                     c:ClearAllChildren()
  2558.                                     local MSH = IT("BlockMesh",c)
  2559.                                     MSH.Scale = VT(0.5,1,1)
  2560.                                 end
  2561.                             end
  2562.                         end
  2563.                         local TORSO = MINION.Torso
  2564.                         local HUMAN = MINION.Humanoid
  2565.                         HUMAN.WalkSpeed = 75
  2566.                         HUMAN.MaxHealth = math.huge
  2567.                         HUMAN.Health = math.huge
  2568.                         HUMAN.DisplayDistanceType = "None"
  2569.                         HUMAN.Died:connect(function()
  2570.                             MINION:remove()
  2571.                             --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
  2572.                         end)
  2573.                         wait(1)
  2574.                         local findNearestTorso = function(POS)
  2575.                             local list = game.Workspace:GetDescendants()
  2576.                             local torso = nil
  2577.                             local dist = 500
  2578.                             local temp = nil
  2579.                             local human = nil
  2580.                             local temp2 = nil
  2581.                             for x = 1, #list do
  2582.                                 temp2 = list[x]
  2583.                                 if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
  2584.                                     temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  2585.                                     human = temp2:findFirstChildOfClass("Humanoid")
  2586.                                     if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  2587.                                         if (temp.Position - POS).magnitude < dist then
  2588.                                             torso = temp
  2589.                                             dist = (temp.Position - POS).magnitude
  2590.                                         end
  2591.                                     end
  2592.                                 end
  2593.                             end
  2594.                             return torso, dist
  2595.                         end
  2596.                         for i = 1, 40 do
  2597.                             if HUMAN.Health == 0 then
  2598.                                 break
  2599.                             end
  2600.                             wait(0.3)
  2601.                             local target,dist= findNearestTorso(TORSO.Position)
  2602.                             if target then
  2603.                                 HUMAN:MoveTo(target.Position)
  2604.                                 if dist < 25 then
  2605.                                     CreateSound(348663022, TORSO, 10, 1, true)
  2606.                                     wait(2)
  2607.                                     --local ANIM = HUMAN:LoadAnimation(ATANIM)
  2608.                                     --ANIM:Play()
  2609.                                     --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
  2610.                                     ApplyAoE(TORSO.Position,10,0,0,85,true)
  2611.                                     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})
  2612.                                     for i = 1, 5 do
  2613.                                         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})
  2614.                                     end
  2615.                                     break
  2616.                                 end
  2617.                             end
  2618.                         end
  2619.                         MINION:remove()
  2620.                     end))
  2621.                 end
  2622.             elseif RANDOMEFFECT == 4 then
  2623.                 local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Field", VT(0.3,0.3,0.3))
  2624.                 FIELD.Color = C3(0,0,0)
  2625.                 FIELD.CFrame = BASE.CFrame
  2626.                 MakeForm(FIELD,"Ball")
  2627.                 FIELD.CanCollide = true
  2628.                 for i = 1, 50 do
  2629.                     Swait()
  2630.                     FIELD.Size = FIELD.Size + VT(1,1,1)
  2631.                     FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  2632.                 end
  2633.                 wait(0.2)
  2634.                 local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
  2635.                 coroutine.resume(coroutine.create(function()
  2636.                     local E = 0
  2637.                     for i = 1, 75 do
  2638.                         E = E + 1
  2639.                         Swait()
  2640.                         if E >= 60 then
  2641.                             E = 0
  2642.                             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})
  2643.                         end
  2644.                         LOOP.Volume = LOOP.Volume + 10/75
  2645.                         LOOP.Parent = FIELD
  2646.                         local CHILDREN = workspace:GetDescendants()
  2647.                         for index, CHILD in pairs(CHILDREN) do
  2648.                             if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2649.                                 local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2650.                                 if HUM then
  2651.                                     local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2652.                                     if TORSO then
  2653.                                         if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  2654.                                             for _, c in pairs(CHILD:GetChildren()) do
  2655.                                                 if c:IsA("BasePart") then
  2656.                                                     local bv = Instance.new("BodyVelocity")
  2657.                                                     bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2658.                                                     bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  2659.                                                     bv.Parent = c
  2660.                                                     Debris:AddItem(bv,0.05)
  2661.                                                 end
  2662.                                             end
  2663.                                             HUM.Health = HUM.Health - 0.3
  2664.                                         end
  2665.                                     end
  2666.                                 end
  2667.                             end
  2668.                         end
  2669.                         FIELD.Size = FIELD.Size + VT(10,10,10)/5
  2670.                     end
  2671.                     for i = 1, 180 do
  2672.                         E = E + 1
  2673.                         Swait()
  2674.                         if E >= 60 then
  2675.                             E = 0
  2676.                             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})
  2677.                         end
  2678.                         LOOP.Parent = FIELD
  2679.                         local CHILDREN = workspace:GetDescendants()
  2680.                         for index, CHILD in pairs(CHILDREN) do
  2681.                             if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2682.                                 local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2683.                                 if HUM then
  2684.                                     local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2685.                                     if TORSO then
  2686.                                         if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  2687.                                             for _, c in pairs(CHILD:GetChildren()) do
  2688.                                                 if c:IsA("BasePart") then
  2689.                                                     local bv = Instance.new("BodyVelocity")
  2690.                                                     bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2691.                                                     bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  2692.                                                     bv.Parent = c
  2693.                                                     Debris:AddItem(bv,0.05)
  2694.                                                 end
  2695.                                             end
  2696.                                             HUM.Health = HUM.Health - 0.3
  2697.                                         end
  2698.                                     end
  2699.                                 end
  2700.                             end
  2701.                         end
  2702.                     end
  2703.                     ApplyAoE(FIELD.Position,40,100,20,400,false)
  2704.                     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})
  2705.                     for i = 1, 5 do
  2706.                         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})
  2707.                     end
  2708.                     FIELD:remove()
  2709.                 end))
  2710.             elseif RANDOMEFFECT == 5 then
  2711.             end
  2712.             wait(0.5)
  2713.             for i = 1, 25 do
  2714.                 Swait()
  2715.                 PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
  2716.             end
  2717.             PANDORASBOX:remove()
  2718.             RINGSPIN = false
  2719.         end))
  2720.         ATTACK = false
  2721.         Rooted = false
  2722.     end
  2723. end
  2724.  
  2725. function Taunt()
  2726.     ATTACK = true
  2727.     local LAUGH = nil
  2728.     coroutine.resume(coroutine.create(function()
  2729.         repeat
  2730.             Swait()
  2731.             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)
  2732.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2733.             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)
  2734.             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)
  2735.             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)
  2736.             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)
  2737.         until LAUGH ~= nil
  2738.         repeat
  2739.             Swait()
  2740.             LAUGH.Parent = Head
  2741.             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)
  2742.             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)
  2743.             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)
  2744.             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)
  2745.             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)
  2746.             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)
  2747.         until LAUGH.Playing == false
  2748.     ATTACK = false
  2749.     end))
  2750.     wait(0.1)
  2751.     sick:Pause()
  2752.     LAUGH = CreateSound(333446256, Head, 10, 1, false)
  2753.     wait(1.5)
  2754.     sick:Resume()
  2755. end
  2756.  
  2757. function Prison_Key()
  2758.     if Mouse.Target ~= nil then
  2759.     if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2760.             local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2761.             local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  2762.             local GYRO = IT("BodyGyro",RootPart)
  2763.             GYRO.D = 750
  2764.             GYRO.P = 20000
  2765.             GYRO.MaxTorque = VT(0,40000000,0)
  2766.             local grav = Instance.new("BodyPosition",TORSO)
  2767.             grav.D = 15
  2768.             grav.P = 20000
  2769.             grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2770.             grav.position = TORSO.Position
  2771.             local GYRO2 = IT("BodyGyro",TORSO)
  2772.             GYRO2.D = 750
  2773.             GYRO2.P = 20000
  2774.             GYRO2.MaxTorque = VT(0,40000000,0)
  2775.             GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  2776.             grav.Name = "Jail"
  2777.             local LOCKPARTS = {}
  2778.             ATTACK = true
  2779.             Rooted = false
  2780.             local LOCK = IT("Model",Effects)
  2781.             LOCK.Name = "Lock"
  2782.             local LOCK2 = IT("Model",LOCK)
  2783.             LOCK2.Name = "Metal"
  2784.             --CREATE LOCK--
  2785.                 local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Really red", "Keylock", VT(3, 2.5, 1))
  2786.                 LOCK.PrimaryPart = BASE
  2787.                 BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  2788.                 local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Really red", "Keylock", VT(3, 1, 3))
  2789.                 PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  2790.                 MakeForm(PRT,"Cyl")
  2791.                 local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Really black", "Hole", VT(1, 1, 1))
  2792.                 PRT.Color = C3(0,0,0)
  2793.                 PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  2794.                 MakeForm(PRT,"Cyl")
  2795.                 local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Really black", "Hole", VT(0.5, 1, 1))
  2796.                 PRT.Color = C3(0,0,0)
  2797.                 PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  2798.                 for i = 1, 45 do
  2799.                     local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Really black", "Keylock", VT(0.5, 0.5, 0.5))
  2800.                     PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  2801.                 end
  2802.                 local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Really black", "Keylock", VT(0.5, 0.5, 0.5))
  2803.                 PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  2804.                 LOCK2.PrimaryPart = PRT
  2805.             ---------------
  2806.             local CHILDREN = LOCK:GetDescendants()
  2807.             for index, CHILD in pairs(CHILDREN) do
  2808.                 if CHILD:IsA("BasePart") then
  2809.                     CHILD.Transparency = 1
  2810.                 end
  2811.             end
  2812.             for i = 1, 75 do
  2813.                 LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  2814.                 Swait()
  2815.                 GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  2816.                 GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  2817.                 local CHILDREN = LOCK:GetDescendants()
  2818.                 for index, CHILD in pairs(CHILDREN) do
  2819.                     if CHILD:IsA("BasePart") then
  2820.                         CHILD.Transparency = CHILD.Transparency - 1/75
  2821.                     end
  2822.                 end
  2823.             end
  2824.             HUM.DisplayDistanceType = "None"
  2825.             local KEY = IT("Model",Effects)
  2826.             KEY.Name = "Key"
  2827.             --CREATE KEY--
  2828.                 local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Really red", "KeyBase", VT(0.1, 1, 0.1),false)
  2829.                 KEY.PrimaryPart = KBASE
  2830.                 KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  2831.                 local WLD = weldBetween(RightArm,KBASE)
  2832.                 for i = 1, 45 do
  2833.                     local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really red", "Key", VT(0.1, 0.1, 0.1),false)
  2834.                     PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  2835.                     weldBetween(KBASE,PRT)
  2836.                 end
  2837.                 local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really red", "Key", VT(0.3, 0.1, 0.1),false)
  2838.                 PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  2839.                 weldBetween(KBASE,PRT)
  2840.                 local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really red", "Key", VT(0.3, 0.1, 0.1),false)
  2841.                 PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  2842.                 weldBetween(KBASE,PRT)
  2843.             --------------
  2844.             Rooted = true
  2845.             Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  2846.             coroutine.resume(coroutine.create(function()
  2847.                 for i = 1, 10 do
  2848.                     Swait()
  2849.                     GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  2850.                     GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  2851.                 end
  2852.                 CreateSound(1149318312,BASE,5,1,false)
  2853.                 CreateSound(160772554,BASE,3,1,false)
  2854.                 LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  2855.                 for i = 1, 4 do
  2856.                     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"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2857.                 end
  2858.                 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"Really red".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  2859.                 wait(1)
  2860.                 TORSO.Parent.Parent = LOCK
  2861.                 for i = 1, 75 do
  2862.                     Swait()
  2863.                     local CHILDREN = KEY:GetDescendants()
  2864.                     for index, CHILD in pairs(CHILDREN) do
  2865.                         if CHILD:IsA("BasePart") then
  2866.                             CHILD.Transparency = i/25
  2867.                         end
  2868.                     end
  2869.                     local CHILDREN = LOCK:GetDescendants()
  2870.                     for index, CHILD in pairs(CHILDREN) do
  2871.                         if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  2872.                             CHILD.Transparency = CHILD.Transparency + 1/75
  2873.                         elseif CHILD.ClassName == "Decal" then
  2874.                             CHILD.Transparency = CHILD.Transparency + 1/75
  2875.                         end
  2876.                     end
  2877.                 end
  2878.                 TORSO.Parent:ClearAllChildren()
  2879.                 KEY:remove()
  2880.                 LOCK:remove()
  2881.             end))
  2882.             Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  2883.             GYRO:remove()
  2884.             ATTACK = false
  2885.             Rooted = false
  2886.         end
  2887.     end
  2888. end
  2889.  
  2890. function RavagingOverthrower()
  2891.     chatfunc("Ima show u what is like to burn..")
  2892.     ATTACK = true
  2893.     Rooted = true
  2894. for i=0, 1, 0.1 / Animation_Speed do
  2895.         Swait()
  2896.         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)
  2897.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1.3 * SIZE) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2898.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(100), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2899.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(30), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2900.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE, -0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2901.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE, -0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2902.     end
  2903.     CreateSound("348663022", Torso, 5, 1)
  2904.     local StartPos = RootPart.CFrame * CF(0,15,0).p
  2905.     for i = 1, 5 do
  2906.         MagicSphere2(25,25,CF(StartPos),"Bright red")
  2907.         Swait(15)
  2908.     end
  2909.     local soundeffect = IT("Sound",Torso)
  2910.     soundeffect.SoundId = "rbxassetid://487186990"
  2911.     soundeffect.Looped = true
  2912.     soundeffect.Volume = 3
  2913.     soundeffect.Playing = true
  2914.     repeat
  2915.         turnto(Mouse.Hit.p)
  2916.         MagicSphere2(25,25,CF(StartPos),"Bright red")
  2917.         MagicSphere(25/10,25,CF(StartPos),"Bright red")
  2918.         local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Mouse.Hit.p, 750, Character, false)
  2919.         local distance = (StartPos - RayPos).magnitude
  2920.         local RayBeam = IT("Part",Effects)
  2921.         RayBeam.Material = "Neon"
  2922.         RayBeam.Anchored = true
  2923.         RayBeam.BrickColor = BRICKC"Bright red"
  2924.         local mesh = IT("SpecialMesh",RayBeam)
  2925.         mesh.MeshType = "Cylinder"
  2926.         RayBeam.Size = Vector3.new(distance+10, 5, 5)
  2927.         RayBeam.CFrame = CFrame.new(StartPos, RayPos) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(0),RAD(90),RAD(0))
  2928.         MagicSphere(15,5,CF(RayPos),"Bright red")
  2929.         killnearest(RayPos,15,100)
  2930.         for i = 1, 3 do
  2931.             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")
  2932.         end
  2933.         Swait()
  2934.         if KEYHOLD == false then
  2935.             coroutine.resume(coroutine.create(function()
  2936.                 for i = 1, 5 do
  2937.                     RayBeam.Transparency = RayBeam.Transparency + 1/5
  2938.                     Swait()
  2939.                 end
  2940.                 RayBeam:remove()
  2941.             end))
  2942.         else
  2943.             RayBeam:remove()
  2944.         end
  2945.     until KEYHOLD == false
  2946.     soundeffect:remove()
  2947.     ATTACK = false
  2948.     Rooted = false
  2949. end
  2950.  
  2951. function Buzzsaw()
  2952.     ATTACK = true
  2953.     Rooted = false
  2954.     local ARMSPEED = 0.1
  2955.     local TARGET = nil
  2956.     local ROOT = nil
  2957.     local HUMAN = nil
  2958.     local DIST = 4
  2959.     local SAWBLADE = CreatePart(3, Weapon, "Glass", 0, 0.5, "Really red", "Part", VT(0,0,0),false)
  2960.     local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, SAWBLADE, CF(0,-1,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  2961.     local BLADE = true
  2962.     CreateMesh("SpecialMesh", SAWBLADE, "FileMesh", "74322089", "", VT(2,2,1), VT(0,0,0))
  2963.     coroutine.resume(coroutine.create(function()
  2964.         repeat
  2965.             Swait()
  2966.             WELD.C1 = WELD.C1 * ANGLES(RAD(0), RAD(0), RAD(25))
  2967.         until BLADE == false
  2968.         SAWBLADE:remove()
  2969.     end))
  2970.     CreateSound(1165167936, SAWBLADE, 2, 1, true)
  2971.     for i=0, 1, 0.1 / Animation_Speed do
  2972.         Swait()
  2973.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2974.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.6 + ((0) - 0)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2975.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.9, -0.5) * ANGLES(RAD(175), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2976.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.9, 0.7, 0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2977.         RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.4, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2978.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.4, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2979.     end
  2980.     for i=0, 2, 0.1 / Animation_Speed do
  2981.         Swait()
  2982.         local CHILDREN = workspace:GetDescendants()
  2983.         for index, CHILD in pairs(CHILDREN) do
  2984.             if CHILD.ClassName == "Model" and CHILD ~= Character then
  2985.                 local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2986.                 if HUM then
  2987.                     local TORSO = CHILD:FindFirstChild("HumanoidRootPart") or CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2988.                     if TORSO and HUM.Health > 0 then
  2989.                         if (TORSO.Position - RightArm.Position).Magnitude <= DIST then
  2990.                             DIST = (TORSO.Position - RightArm.Position).Magnitude
  2991.                             ROOT = TORSO
  2992.                             HUMAN = HUM
  2993.                             TARGET = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2994.                         end
  2995.                     end
  2996.                 end
  2997.             end
  2998.         end
  2999.         if ROOT then
  3000.             break
  3001.         end
  3002.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  3003.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.6 + ((0) - 0)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  3004.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.9, -0.5) * ANGLES(RAD(15), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, ARMSPEED / Animation_Speed)
  3005.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.9, 0.7, 0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3006.         RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.4, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3007.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.4, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3008.     end
  3009.     if ROOT then
  3010.         ARMSPEED = 0.01
  3011.         Rooted = true
  3012.         RootPart.CFrame = ROOT.CFrame*CF(0,0,2.5)
  3013.         repeat
  3014.             HUMAN.Health = HUMAN.Health - 1.2
  3015.             HUMAN.RootPart.CFrame = ROOT.CFrame*CF(0,0.02,0)
  3016.             Swait()
  3017.             ROOT.Anchored = true
  3018.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(1, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  3019.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.6 + ((0) - 0)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  3020.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, -0.4, 0) * ANGLES(RAD(15), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, ARMSPEED / Animation_Speed)
  3021.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.9, 0.7, 0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3022.             RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.4, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3023.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.4, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3024.         until RightArm.Position.Y < Torso.Position.Y-0.15 or HUMAN.Health == 0
  3025.         ROOT.Anchored = false
  3026.         if HUMAN.Health == 0 then
  3027.             if ROOT.Name ~= "Torso" then
  3028.                 ROOT:remove()
  3029.             end
  3030.             if TARGET.Name == "Torso" then
  3031.                 Ragdoll(HUMAN.Parent,Torso,true)
  3032.             elseif TARGET.Name == "UpperTorso" then
  3033.                 R15Ragdoll(HUMAN.Parent,true)
  3034.             end
  3035.         end
  3036.     end
  3037.     BLADE = false
  3038.     ATTACK = false
  3039.     Rooted = false
  3040. end
  3041.  
  3042. --//=================================\\
  3043. --||      ASSIGN THINGS TO KEYS
  3044. --\\=================================//
  3045.  
  3046. function MouseDown(Mouse)
  3047.     HOLD = true
  3048.     if ATTACK == false then
  3049.     end
  3050. end
  3051.  
  3052. function MouseUp(Mouse)
  3053. HOLD = false
  3054. end
  3055.  
  3056. function KeyDown(Key)
  3057.     KEYHOLD = true
  3058.     if Key == "z" and ATTACK == false then
  3059.         MagicMissiles()
  3060.     end
  3061.  
  3062.     if Key == "b" and ATTACK == false then
  3063.         TimesUp()
  3064.     end
  3065.  
  3066.     if Key == "c" and ATTACK == false then
  3067.         ChainPunch()
  3068.     end
  3069.  
  3070.     if Key == "x" and ATTACK == false then
  3071.         WarpMeteor()
  3072.     end
  3073.  
  3074.     if Key == "v" and ATTACK == false then
  3075.         PandorasBox()
  3076.     end
  3077.  
  3078.     if Key == "t" and ATTACK == false then
  3079.         Taunt()
  3080.     end
  3081.    
  3082.     if Key == "q" and ATTACK == false then
  3083.         Time()
  3084.     end
  3085.    
  3086.     if Key == "e" and ATTACK == false then
  3087.         RavagingOverthrower()
  3088.     end
  3089.    
  3090.     if Key == "r" and ATTACK == false then
  3091.     Prison_Key()
  3092.     end
  3093.    
  3094.     if Key == "f" and ATTACK == false then
  3095.         Buzzsaw()
  3096.     end
  3097. end
  3098.  
  3099. function KeyUp(Key)
  3100.     KEYHOLD = false
  3101. end
  3102.  
  3103.     Mouse.Button1Down:connect(function(NEWKEY)
  3104.         MouseDown(NEWKEY)
  3105.     end)
  3106.     Mouse.Button1Up:connect(function(NEWKEY)
  3107.         MouseUp(NEWKEY)
  3108.     end)
  3109.     Mouse.KeyDown:connect(function(NEWKEY)
  3110.         KeyDown(NEWKEY)
  3111.     end)
  3112.     Mouse.KeyUp:connect(function(NEWKEY)
  3113.         KeyUp(NEWKEY)
  3114.     end)
  3115.  
  3116. --//=================================\\
  3117. --\\=================================//
  3118.  
  3119.  
  3120. function unanchor()
  3121.     if UNANCHOR == true then
  3122.         RootPart.Anchored = false
  3123.     end
  3124.     g = Character:GetChildren()
  3125.     for i = 1, #g do
  3126.         if g[i].ClassName == "Part" and g[i] ~= RootPart then
  3127.             g[i].Anchored = false
  3128.         end
  3129.     end
  3130.     g = Weapon:GetChildren()
  3131.     for i = 1, #g do
  3132.         if g[i].ClassName == "Part" then
  3133.             g[i].Anchored = false
  3134.         end
  3135.     end
  3136. end
  3137.  
  3138.  
  3139. --//=================================\\
  3140. --||    WRAP THE WHOLE SCRIPT UP
  3141. --\\=================================//
  3142.  
  3143. Humanoid.Changed:connect(function(Jump)
  3144.     if Jump == "Jump" and (Disable_Jump == true) then
  3145.         Humanoid.Jump = false
  3146.     end
  3147. end)
  3148.  
  3149. while true do
  3150.     Swait()
  3151.            refit()
  3152.     script.Parent = WEAPONGUI
  3153.     for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  3154.         v:Stop();
  3155.     end
  3156.     ANIMATE.Parent = nil
  3157.     SINE = SINE + CHANGE*1.5
  3158.     local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3159.     local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3160.     local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  3161.     local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  3162.     if ANIM == "Walk" and TORSOVELOCITY > 1 then
  3163.         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)
  3164.         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)
  3165.         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)
  3166.         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)
  3167.     elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  3168.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3169.         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)
  3170.         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)
  3171.         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)
  3172.     end
  3173.     if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  3174.         ANIM = "Jump"
  3175.         if ATTACK == false then
  3176.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3177.             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)
  3178.             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)
  3179.             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)
  3180.             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)
  3181.             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)
  3182.         end
  3183.     elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  3184.         ANIM = "Fall"
  3185.         if ATTACK == false then
  3186.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3187.             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)
  3188.             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)
  3189.             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)
  3190.             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)
  3191.             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)
  3192.         end
  3193.     elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  3194.         ANIM = "Idle"
  3195.         if ATTACK == false then
  3196.             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)
  3197.             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)
  3198.             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)
  3199.             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)
  3200.             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)
  3201.             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)
  3202.         end
  3203.     elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  3204.         ANIM = "Walk"
  3205.         if ATTACK == false then
  3206.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  3207.             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)
  3208.             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)
  3209.             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)
  3210.             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)
  3211.             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)
  3212.         end
  3213.     end
  3214.     unanchor()
  3215.     Humanoid.MaxHealth = "inf"
  3216.     Humanoid.Health = "inf"
  3217.     if Rooted == false then
  3218.         Disable_Jump = false
  3219.         Humanoid.WalkSpeed = Speed
  3220.     elseif Rooted == true then
  3221.         Disable_Jump = true
  3222.         Humanoid.WalkSpeed = 0
  3223.     end
  3224.     for _, c in pairs(Character:GetChildren()) do
  3225.         if c.ClassName == "Part" and c.Name ~= "Detail" then
  3226.             c.Material = "Fabric"
  3227.             if c:FindFirstChildOfClass("ParticleEmitter") then
  3228.                 c:FindFirstChildOfClass("ParticleEmitter"):remove()
  3229.             end
  3230.             if c ~= Head then
  3231.                 c.Color = C3(0,0,0)
  3232.             else
  3233.                 c.Color = C3(0,0,0)
  3234.             end
  3235.             if c == Head then
  3236.                 if c:FindFirstChild("face") then
  3237.                     c.face:remove()
  3238.                 end
  3239.             end
  3240.         elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  3241.             c:remove()
  3242.         elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  3243.             c:remove()
  3244.         end
  3245.     end
  3246.     sick.SoundId = "rbxassetid://"..SONG
  3247.     sick.Looped = true
  3248.     sick.Pitch = 1
  3249.     sick.Volume = 2
  3250.     sick.Parent = Torso
  3251.     sick:Resume()
  3252.     --sick.Playing = false
  3253.     Humanoid.Name = "Humanoid = "..Player.Name
  3254. end
  3255.  
  3256. --//=================================\\
  3257. --\\=================================//
  3258.  
  3259.  
  3260.  
  3261.  
  3262.  
  3263. --//====================================================\\--
  3264. --||                     END OF SCRIPT
  3265. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement