Advertisement
wanTH092

Superior v1 (Leak stuff)

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