Advertisement
memberhero

Switcher V1 Script FE

Feb 28th, 2019
887
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. print ("Updated 0.1 Fixed and change Smite2 Move")
  2.  
  3. --//====================================================\\--
  4. --||            The Switcher Origin Edit by wanTH092 (T0MYUM by nameClan, Superior by me and Injustice by KillerzTH_1596)
  5. --\\====================================================//--
  6. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  7. local Player = owner
  8. local Mouse,mouse,UserInputService,ContextActionService
  9. do
  10.     script.Parent = RhiBel00351
  11.     local CAS = {Actions={}}
  12.     local Event = Instance.new("RemoteEvent")
  13.     Event.Name = "UserInput_Event"
  14.     Event.Parent = Player.Character
  15.     local fakeEvent = function()
  16.         local t = {_fakeEvent=true}
  17.         t.Connect = function(self,f)self.Function=f end
  18.         t.connect = t.Connect
  19.         return t
  20.     end
  21.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  22.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  23.     function CAS:BindAction(name,fun,touch,...)
  24.         CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  25.     end
  26.     function CAS:UnbindAction(name)
  27.         CAS.Actions[name] = nil
  28.     end
  29.     local function te(self,ev,...)
  30.         local t = m[ev]
  31.         if t and t._fakeEvent and t.Function then
  32.             t.Function(...)
  33.         end
  34.     end
  35.     m.TrigEvent = te
  36.     UIS.TrigEvent = te
  37.     Event.OnServerEvent:Connect(function(plr,io)
  38.         if plr~=Player then return end
  39.         if io.isMouse then
  40.             m.Target = io.Target
  41.             m.Hit = io.Hit
  42.         elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  43.             if io.UserInputState == Enum.UserInputState.Begin then
  44.                 m:TrigEvent("Button1Down")
  45.             else
  46.                 m:TrigEvent("Button1Up")
  47.             end
  48.         else
  49.             for n,t in pairs(CAS.Actions) do
  50.                 for _,k in pairs(t.Keys) do
  51.                     if k==io.KeyCode then
  52.                         t.Function(t.Name,io.UserInputState,io)
  53.                     end
  54.                 end
  55.             end
  56.             if io.UserInputState == Enum.UserInputState.Begin then
  57.                 m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  58.                 UIS:TrigEvent("InputBegan",io,false)
  59.             else
  60.                 m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  61.                 UIS:TrigEvent("InputEnded",io,false)
  62.             end
  63.         end
  64.     end)
  65.     NLS([==[
  66.     local Player = game:GetService("Players").LocalPlayer
  67.    
  68.     local Char = Player.Character
  69.     local Event = Char:WaitForChild("UserInput_Event")
  70.    
  71.     local UIS = game:GetService("UserInputService")
  72.    
  73.     local input = function(io,a)
  74.         if a then return end
  75.         local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}
  76.         Event:FireServer(io)
  77.     end
  78.     UIS.InputBegan:Connect(input)
  79.     UIS.InputEnded:Connect(input)
  80.     local Changed = false
  81.     local Mouse = Player:GetMouse()
  82.     local h,t = Mouse.Hit,Mouse.Target
  83.     while wait(1/30) do
  84.         if h~=Mouse.Hit or t~=Mouse.Target then
  85.             Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit})
  86.             h,t=Mouse.Hit,Mouse.Target
  87.         end
  88.     end
  89.     ]==],Player.Character)
  90.     Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  91. end
  92. wait(0.2)
  93. PlayerGui = Player.PlayerGui
  94. Cam = workspace.CurrentCamera
  95. Backpack = Player.Backpack
  96. Character = Player.Character
  97. Humanoid = Character.Humanoid
  98. RootPart = Character["HumanoidRootPart"]
  99. Torso = Character["Torso"]
  100. Head = Character["Head"]
  101. RightArm = Character["Right Arm"]
  102. LeftArm = Character["Left Arm"]
  103. RightLeg = Character["Right Leg"]
  104. LeftLeg = Character["Left Leg"]
  105. RootJoint = RootPart["RootJoint"]
  106. Neck = Torso["Neck"]
  107. RightShoulder = Torso["Right Shoulder"]
  108. LeftShoulder = Torso["Left Shoulder"]
  109. RightHip = Torso["Right Hip"]
  110. LeftHip = Torso["Left Hip"]
  111. Character.Archivable = true
  112. Player:ClearCharacterAppearance()
  113.  
  114. IT = Instance.new
  115. CF = CFrame.new
  116. VT = Vector3.new
  117. RAD = math.rad
  118. C3 = Color3.new
  119. UD2 = UDim2.new
  120. BRICKC = BrickColor.new
  121. ANGLES = CFrame.Angles
  122. EULER = CFrame.fromEulerAnglesXYZ
  123. COS = math.cos
  124. ACOS = math.acos
  125. SIN = math.sin
  126. ASIN = math.asin
  127. ABS = math.abs
  128. MRANDOM = math.random
  129. FLOOR = math.floor
  130.  
  131. --//=================================\\
  132. --||          USEFUL VALUES
  133. --\\=================================//
  134.  
  135. Animation_Speed = 3
  136. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  137. local Speed = 25
  138. local SIZE = 1.4
  139. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  140. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  141. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  142. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  143. local DAMAGEMULTIPLIER = 1
  144. local ANIM = "Idle"
  145. local ATTACK = false
  146. local EQUIPPED = false
  147. local HOLD = false
  148. local COMBO = 1
  149. local Rooted = false
  150. local SINE = 0
  151. local KEYHOLD = false
  152. local CHANGE = 2 / Animation_Speed
  153. local WALKINGANIM = false
  154. local VALUE1 = false
  155. local VALUE2 = false
  156. local ROBLOXIDLEANIMATION = IT("Animation")
  157. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  158. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  159. local ATANIM = IT("Animation")
  160. ATANIM.Name = "Attack Animation"
  161. ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
  162. --ROBLOXIDLEANIMATION.Parent = Humanoid
  163. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  164. WEAPONGUI.Name = "Weapon GUI"
  165. local Weapon = IT("Model")
  166. Weapon.Name = "Adds"
  167. local Effects = IT("Folder", Weapon)
  168. Effects.Name = "Effects"
  169. local ANIMATOR = Humanoid.Animator
  170. local ANIMATE = Character.Animate
  171. local UNANCHOR = true
  172. local CLOCKLOOP = 0
  173. local SONG = 1117396305
  174. local CLOCKTARGET = nil
  175. local CLOCKSPEED = 0
  176. script.Parent = WEAPONGUI
  177. local CLONE = Character:Clone()
  178. CLONE.Parent = nil
  179. Character.Archivable = false
  180. local sick = Instance.new("Sound",Torso)
  181. local TAUNT = false
  182. Player_Size = 1.4
  183. local PLAYSONG = true
  184. local MODE = "Main"
  185.  
  186. --//=================================\\
  187. --\\=================================//
  188.  
  189.  
  190. --//=================================\\
  191. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  192. --\\=================================//
  193.  
  194. ArtificialHB = Instance.new("BindableEvent", script)
  195. ArtificialHB.Name = "ArtificialHB"
  196.  
  197. script:WaitForChild("ArtificialHB")
  198.  
  199. frame = Frame_Speed
  200. tf = 0
  201. allowframeloss = false
  202. tossremainder = false
  203. lastframe = tick()
  204. script.ArtificialHB:Fire()
  205.  
  206. game:GetService("RunService").Heartbeat:connect(function(s, p)
  207.     tf = tf + s
  208.     if tf >= frame then
  209.         if allowframeloss then
  210.             script.ArtificialHB:Fire()
  211.             lastframe = tick()
  212.         else
  213.             for i = 1, math.floor(tf / frame) do
  214.                 script.ArtificialHB:Fire()
  215.             end
  216.         lastframe = tick()
  217.         end
  218.         if tossremainder then
  219.             tf = 0
  220.         else
  221.             tf = tf - frame * math.floor(tf / frame)
  222.         end
  223.     end
  224. end)
  225.  
  226. --//=================================\\
  227. --\\=================================//
  228.  
  229. --//=================================\\
  230. --||          SOME TAG EDIT
  231. --\\=================================//
  232.  
  233. m = owner
  234. char = m.Character
  235. local txt = Instance.new("BillboardGui", char)
  236. txt.Adornee = char.Head
  237. txt.Name = "_status"
  238. txt.Size = UDim2.new(2, 0, 1.2, 0)
  239. txt.StudsOffset = Vector3.new(-9, 8, 0)
  240. local text = Instance.new("TextLabel", txt)
  241. text.Size = UDim2.new(10, 0, 7, 0)
  242. text.FontSize = "Size24"
  243. text.TextScaled = true
  244. text.TextTransparency = 0
  245. text.BackgroundTransparency = 1
  246. text.TextTransparency = 0
  247. text.TextStrokeTransparency = 0
  248. text.Font = "Bodoni"
  249. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  250. v = Instance.new("Part")
  251. v.Name = "ColorBrick"
  252. v.Parent = m.Character
  253. v.FormFactor = "Symmetric"
  254. v.Anchored = true
  255. v.CanCollide = false
  256. v.BottomSurface = "Smooth"
  257. v.TopSurface = "Smooth"
  258. v.Size = Vector3.new(10, 5, 3)
  259. v.Transparency = 1
  260. v.CFrame = char.Torso.CFrame
  261. v.BrickColor = BrickColor.new("Really black")
  262. v.Transparency = 1
  263. v.Shape = "Block"
  264. spawn(function()
  265. local TweenService = game:GetService("TweenService")
  266. local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,255,0),Color3.fromRGB(255,255,255),Color3.fromRGB(255,0,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,0,0),Color3.fromRGB(255,255,255),Color3.fromRGB(0,0,0)}
  267. local Int = 0
  268. while wait(0.5) do
  269.     if Int == #Colours then Int = 0 end
  270.     Int = Int+1
  271.     TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  272. end
  273. end)
  274. text.Text = "Edit by wanTH092"
  275. wait(3)
  276. text.Text = "Showcased by NameClan (Lol)"
  277. wait(4)
  278. text.Text = "The Switcher"
  279.  
  280. --//=================================\\
  281. --\\=================================//
  282.  
  283. --//=================================\\
  284. --||          SOME FUNCTIONS
  285. --\\=================================//
  286.  
  287. local EyeSizes={
  288.     NumberSequenceKeypoint.new(0,2,0),
  289.     NumberSequenceKeypoint.new(1,0,0)
  290. }
  291. local EyeTrans={
  292.     NumberSequenceKeypoint.new(0,0.5,0),
  293.     NumberSequenceKeypoint.new(1,1,0)
  294. }
  295. local PE=Instance.new("ParticleEmitter",nil)
  296. PE.LightEmission=.8
  297. PE.Color = ColorSequence.new(BRICKC("Crimson").Color,BRICKC("Really red").Color)
  298. PE.Size=NumberSequence.new(EyeSizes)
  299. PE.Transparency=NumberSequence.new(EyeTrans)
  300. PE.Lifetime=NumberRange.new(0.35,1)
  301. PE.Rotation=NumberRange.new(0,360)
  302. PE.Rate=100
  303. PE.VelocitySpread = 10000
  304. PE.Acceleration = Vector3.new(0,85,0)
  305. PE.Drag = 5
  306. PE.Speed = NumberRange.new(0.1,5)
  307. PE.Texture="http://www.roblox.com/asset/?id=1460745664"
  308. PE.ZOffset = 0.5
  309. PE.Name = "PE"
  310. PE.Enabled = false
  311. function Fire(art)
  312.     local PARTICLES = PE:Clone()
  313.     PARTICLES.Parent = art
  314.     PARTICLES.Enabled = true
  315.     return PARTICLES
  316. end
  317.  
  318. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  319.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  320.     local mesh
  321.     if KIND == "Base" then
  322.         mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  323.     elseif KIND == "Thin" then
  324.         mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  325.     elseif KIND == "Round" then
  326.         mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  327.     end
  328.     wave.CFrame = CFRAME
  329.     coroutine.resume(coroutine.create(function(PART)
  330.         for i = 1, WAIT do
  331.             Swait()
  332.             mesh.Scale = mesh.Scale + GROW / 10
  333.             wave.Transparency = wave.Transparency + 0.5 / WAIT
  334.             if wave.Transparency > 0.99 then
  335.                 wave:remove()
  336.             end
  337.         end
  338.     end))
  339. end
  340.  
  341. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  342.     for _, c in pairs(PARENT:GetChildren()) do
  343.         if c.ClassName == "Model" then
  344.             if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  345.                 local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  346.                 local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  347.                 if DIST > (TORSO.Position - FROM).Magnitude then
  348.                     table.insert(TABLE, c)
  349.                 end
  350.                 AddChildrenToTable(FROM, c, DIST, TABLE)
  351.             elseif c.ClassName == "Folder" then
  352.                 AddChildrenToTable(FROM, c, DIST, TABLE)
  353.             end
  354.         end
  355.     end
  356. end
  357.  
  358. function VanishPlayer()
  359.     for _, c in pairs(Character:GetChildren()) do
  360.         if c.ClassName == "Part" then
  361.             c.Transparency = 1
  362.             if c:FindFirstChildOfClass("Decal") then
  363.                 c:FindFirstChildOfClass("Decal").Transparency = 1
  364.             end
  365.             if c:FindFirstChildOfClass("ParticleEmitter") then
  366.                 c:FindFirstChildOfClass("ParticleEmitter").Enabled = false
  367.             end
  368.         elseif c.ClassName == "Accessory" then
  369.             c.Handle.Transparency = 1
  370.             if c.Handle:FindFirstChildOfClass("ParticleEmitter") then
  371.                 c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = false
  372.             end
  373.         end
  374.     end
  375. end
  376.  
  377. function killnearest(position,range,maxstrength)
  378.     for i,v in ipairs(workspace:GetChildren()) do
  379.     local body = v:GetChildren()
  380.         for part = 1, #body do
  381.             if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  382.                 if(body[part].Position - position).Magnitude < range then
  383.                     if v.ClassName == "Model" then
  384.                         v:BreakJoints()
  385.                     end
  386.                     --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  387.                     body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  388.                 end
  389.             end
  390.         end
  391.         if v.ClassName == "Part" then
  392.             if v.Anchored == false and (v.Position - position).Magnitude < range then
  393.                 --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  394.                 v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  395.             end
  396.         end
  397.     end
  398. end
  399.  
  400. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  401.     PLAYMAINANIM = false
  402.     if WhichPose == "Cast1" then
  403.         for i=0, Time, 0.1 / Animation_Speed do
  404.             Swait()
  405.             if Magic == true then
  406.                 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})
  407.             end
  408.             if Gyro ~= nil and Gyro ~= false then
  409.                 Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  410.             end
  411.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  412.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.35*SIZE + ((1*SIZE) - 1*SIZE)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  413.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE + 0.15*SIZE * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  414.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE + 0.15*SIZE * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  415.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  416.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  417.         end
  418.     elseif WhichPose == "Cast2" then
  419.         for i=0, Time, 0.1 / Animation_Speed do
  420.             Swait()
  421.             if Magic == true then
  422.                 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})
  423.                 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})
  424.             end
  425.             if Gyro ~= nil and Gyro ~= false then
  426.                 Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  427.             end
  428.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  429.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.4 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  430.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  431.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 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)
  432.             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)
  433.             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)
  434.         end
  435.     elseif WhichPose == "RightArmUp2" then
  436.         for i=0, Time, 0.1 / Animation_Speed do
  437.             Swait()
  438.             if Magic == true then
  439.                 WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  440.             end
  441.             if Gyro ~= nil and Gyro ~= false then
  442.                 Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  443.             end
  444.             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)
  445.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0) - 0)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  446.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.8, 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)
  447.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 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)
  448.             RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  449.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  450.         end
  451.     elseif WhichPose == "Prepare key" then
  452.         for i=0, Time, 0.1 / Animation_Speed do
  453.             Swait()
  454.             if Gyro ~= nil and Gyro ~= false then
  455.                 Gyro.cframe = CF(RootPart.Position,Tors.Position)
  456.             end
  457.             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(65)), Speed / Animation_Speed)
  458.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.4*SIZE + ((1*SIZE) - 1*SIZE)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  459.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE + 0.15*SIZE * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  460.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE + 0.15*SIZE * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  461.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  462.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  463.         end
  464.     elseif WhichPose == "Turn key" then
  465.         for i=0, Time, 0.1 / Animation_Speed do
  466.             Swait()
  467.             if Gyro ~= nil and Gyro ~= false then
  468.                 Gyro.cframe = CF(RootPart.Position,Tors.Position)
  469.             end
  470.             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(75)), Speed / Animation_Speed)
  471.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.4*SIZE + ((1*SIZE) - 1*SIZE)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  472.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5*SIZE + 0.15*SIZE * 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)
  473.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE + 0.15*SIZE * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  474.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  475.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  476.         end
  477.     end
  478.     PLAYMAINANIM = true
  479. end
  480.  
  481.  
  482. local EyeSizes={
  483.     NumberSequenceKeypoint.new(0,1,0),
  484.     NumberSequenceKeypoint.new(1,0,0)
  485. }
  486. local EyeTrans={
  487.     NumberSequenceKeypoint.new(0,0.8,0),
  488.     NumberSequenceKeypoint.new(1,1,0)
  489. }
  490. local PE=Instance.new("ParticleEmitter",nil)
  491. PE.LightEmission=.8
  492. PE.Color = ColorSequence.new(BRICKC("Really red").Color)
  493. PE.Size=NumberSequence.new(EyeSizes)
  494. PE.Transparency=NumberSequence.new(EyeTrans)
  495. PE.Lifetime=NumberRange.new(0.35,1.5)
  496. PE.Rotation=NumberRange.new(0,360)
  497. PE.Rate=999
  498. PE.VelocitySpread = 10000
  499. PE.Acceleration = Vector3.new(0,0,0)
  500. PE.Drag = 5
  501. PE.Speed = NumberRange.new(0,0,0)
  502. PE.Texture="http://www.roblox.com/asset/?id=1351966707"
  503. PE.ZOffset = -0
  504. PE.Name = "PE"
  505. PE.Enabled = false
  506.  
  507. function particles(art)
  508.     local PARTICLES = PE:Clone()
  509.     PARTICLES.Parent = art
  510. end
  511.  
  512. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  513.     if FLOOR ~= nil then
  514.         coroutine.resume(coroutine.create(function()
  515.             local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  516.             PART.CFrame = CF(POSITION)
  517.             for i = 1, 45 do
  518.                 local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  519.                 RingPiece.Material = FLOOR.Material
  520.                 RingPiece.Color = FLOOR.Color
  521.                 RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  522.                 Debris:AddItem(RingPiece,SWAIT)
  523.             end
  524.             PART:remove()
  525.         end))
  526.     end
  527. end
  528.  
  529. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  530.     if FLOOR ~= nil then
  531.         for i = 1, AMOUNT do
  532.             local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  533.             DEBREE.Material = FLOOR.Material
  534.             DEBREE.Color = FLOOR.Color
  535.             DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  536.             DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  537.             coroutine.resume(coroutine.create(function()
  538.                 Swait(15)
  539.                 DEBREE.Parent = workspace
  540.                 DEBREE.CanCollide = true
  541.                 Debris:AddItem(DEBREE,SWAIT)
  542.             end))
  543.         end
  544.     end
  545. end
  546.  
  547. local DECAL = IT("Decal")
  548. function MakeRing()
  549.     local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
  550.     local MSH = IT("BlockMesh", RING)
  551.     local TOP = DECAL:Clone()
  552.     local BOTTOM = DECAL:Clone()
  553.     TOP.Parent = RING
  554.     BOTTOM.Parent = RING
  555.     TOP.Face = "Top"
  556.     BOTTOM.Face = "Bottom"
  557.     TOP.Texture = "http://www.roblox.com/asset/?id=273474310"
  558.     BOTTOM.Texture = "http://www.roblox.com/asset/?id=273474310"
  559.     local function REMOVE()
  560.         coroutine.resume(coroutine.create(function()
  561.             local SIZE = MSH.Scale.X
  562.             for i = 1, 35 do
  563.                 Swait()
  564.                 MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  565.                 TOP.Transparency = TOP.Transparency + 0.02857142857142857
  566.                 BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  567.                 RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  568.             end
  569.             RING:remove()
  570.         end))
  571.     end
  572.     return RING, MSH, REMOVE
  573. end
  574.  
  575. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  576.     local TORSO = Torso
  577.     local HUM = Humanoid
  578.     if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  579.         coroutine.wrap(function()
  580.             VT = Vector3.new
  581.             MRANDOM = math.random
  582.             local A = TIME
  583.             local B = INTENSITY
  584.             local C = true
  585.             local HUMANOID = Humanoid
  586.             local TIMER = A or 35
  587.             local SHAKE = B or 5
  588.             local FADE = C or true
  589.             if HUMANOID then
  590.                 local FADER = SHAKE / TIMER
  591.                 for i = 1, TIMER do
  592.                     wait()
  593.                     HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
  594.                 end
  595.                 HUMANOID.CameraOffset = VT(0, 0, 0)
  596.             end
  597.  
  598.         end)()
  599.     end
  600. end
  601.  
  602. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  603.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  604. end
  605.  
  606. function PositiveAngle(NUMBER)
  607.     if NUMBER >= 0 then
  608.         NUMBER = 0
  609.     end
  610.     return NUMBER
  611. end
  612.  
  613. function NegativeAngle(NUMBER)
  614.     if NUMBER <= 0 then
  615.         NUMBER = 0
  616.     end
  617.     return NUMBER
  618. end
  619.  
  620. function Swait(NUMBER)
  621.     if NUMBER == 0 or NUMBER == nil then
  622.         ArtificialHB.Event:wait()
  623.     else
  624.         for i = 1, NUMBER do
  625.             ArtificialHB.Event:wait()
  626.         end
  627.     end
  628. end
  629.  
  630. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  631.     local NEWMESH = IT(MESH)
  632.     if MESH == "SpecialMesh" then
  633.         NEWMESH.MeshType = MESHTYPE
  634.         if MESHID ~= "nil" and MESHID ~= "" then
  635.             NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  636.         end
  637.         if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  638.             NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  639.         end
  640.     end
  641.     NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  642.     NEWMESH.Scale = SCALE
  643.     NEWMESH.Parent = PARENT
  644.     return NEWMESH
  645. end
  646.  
  647. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  648.     local NEWPART = IT("Part")
  649.     NEWPART.formFactor = FORMFACTOR
  650.     NEWPART.Reflectance = REFLECTANCE
  651.     NEWPART.Transparency = TRANSPARENCY
  652.     NEWPART.CanCollide = false
  653.     NEWPART.Locked = true
  654.     NEWPART.Anchored = true
  655.     if ANCHOR == false then
  656.         NEWPART.Anchored = false
  657.     end
  658.     NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  659.     NEWPART.Name = NAME
  660.     NEWPART.Size = SIZE
  661.     NEWPART.Position = Torso.Position
  662.     NEWPART.Material = MATERIAL
  663.     NEWPART:BreakJoints()
  664.     NEWPART.Parent = PARENT
  665.     return NEWPART
  666. end
  667.  
  668.     local function weldBetween(a, b)
  669.         local weldd = Instance.new("ManualWeld")
  670.         weldd.Part0 = a
  671.         weldd.Part1 = b
  672.         weldd.C0 = CFrame.new()
  673.         weldd.C1 = b.CFrame:inverse() * a.CFrame
  674.         weldd.Parent = a
  675.         return weldd
  676.     end
  677.  
  678.  
  679. function QuaternionFromCFrame(cf)
  680.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  681.     local trace = m00 + m11 + m22
  682.     if trace > 0 then
  683.         local s = math.sqrt(1 + trace)
  684.         local recip = 0.5 / s
  685.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  686.     else
  687.         local i = 0
  688.         if m11 > m00 then
  689.             i = 1
  690.         end
  691.         if m22 > (i == 0 and m00 or m11) then
  692.             i = 2
  693.         end
  694.         if i == 0 then
  695.             local s = math.sqrt(m00 - m11 - m22 + 1)
  696.             local recip = 0.5 / s
  697.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  698.         elseif i == 1 then
  699.             local s = math.sqrt(m11 - m22 - m00 + 1)
  700.             local recip = 0.5 / s
  701.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  702.         elseif i == 2 then
  703.             local s = math.sqrt(m22 - m00 - m11 + 1)
  704.             local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  705.         end
  706.     end
  707. end
  708.  
  709. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  710.     local xs, ys, zs = x + x, y + y, z + z
  711.     local wx, wy, wz = w * xs, w * ys, w * zs
  712.     local xx = x * xs
  713.     local xy = x * ys
  714.     local xz = x * zs
  715.     local yy = y * ys
  716.     local yz = y * zs
  717.     local zz = z * zs
  718.     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))
  719. end
  720.  
  721. function QuaternionSlerp(a, b, t)
  722.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  723.     local startInterp, finishInterp;
  724.     if cosTheta >= 0.0001 then
  725.         if (1 - cosTheta) > 0.0001 then
  726.             local theta = ACOS(cosTheta)
  727.             local invSinTheta = 1 / SIN(theta)
  728.             startInterp = SIN((1 - t) * theta) * invSinTheta
  729.             finishInterp = SIN(t * theta) * invSinTheta
  730.         else
  731.             startInterp = 1 - t
  732.             finishInterp = t
  733.         end
  734.     else
  735.         if (1 + cosTheta) > 0.0001 then
  736.             local theta = ACOS(-cosTheta)
  737.             local invSinTheta = 1 / SIN(theta)
  738.             startInterp = SIN((t - 1) * theta) * invSinTheta
  739.             finishInterp = SIN(t * theta) * invSinTheta
  740.         else
  741.             startInterp = t - 1
  742.             finishInterp = t
  743.         end
  744.     end
  745.     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
  746. end
  747.  
  748. function Clerp(a, b, t)
  749.     local qa = {QuaternionFromCFrame(a)}
  750.     local qb = {QuaternionFromCFrame(b)}
  751.     local ax, ay, az = a.x, a.y, a.z
  752.     local bx, by, bz = b.x, b.y, b.z
  753.     local _t = 1 - t
  754.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  755. end
  756.  
  757. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  758.     local frame = IT("Frame")
  759.     frame.BackgroundTransparency = TRANSPARENCY
  760.     frame.BorderSizePixel = BORDERSIZEPIXEL
  761.     frame.Position = POSITION
  762.     frame.Size = SIZE
  763.     frame.BackgroundColor3 = COLOR
  764.     frame.BorderColor3 = BORDERCOLOR
  765.     frame.Name = NAME
  766.     frame.Parent = PARENT
  767.     return frame
  768. end
  769.  
  770. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  771.     local label = IT("TextLabel")
  772.     label.BackgroundTransparency = 1
  773.     label.Size = UD2(1, 0, 1, 0)
  774.     label.Position = UD2(0, 0, 0, 0)
  775.     label.TextColor3 = TEXTCOLOR
  776.     label.TextStrokeTransparency = STROKETRANSPARENCY
  777.     label.TextTransparency = TRANSPARENCY
  778.     label.FontSize = TEXTFONTSIZE
  779.     label.Font = TEXTFONT
  780.     label.BorderSizePixel = BORDERSIZEPIXEL
  781.     label.TextStrokeColor3 = C3(1,1,1)
  782.     label.TextScaled = false
  783.     label.Text = TEXT
  784.     label.Name = NAME
  785.     label.Parent = PARENT
  786.     return label
  787. end
  788.  
  789. function NoOutlines(PART)
  790.     PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  791. end
  792.  
  793. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  794.     local NEWWELD = IT(TYPE)
  795.     NEWWELD.Part0 = PART0
  796.     NEWWELD.Part1 = PART1
  797.     NEWWELD.C0 = C0
  798.     NEWWELD.C1 = C1
  799.     NEWWELD.Parent = PARENT
  800.     return NEWWELD
  801. end
  802.  
  803. local S = IT("Sound")
  804. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  805.     local NEWSOUND = nil
  806.     coroutine.resume(coroutine.create(function()
  807.         NEWSOUND = S:Clone()
  808.         NEWSOUND.Parent = PARENT
  809.         NEWSOUND.Volume = VOLUME
  810.         NEWSOUND.Pitch = PITCH
  811.         NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  812.         NEWSOUND:play()
  813.         if DOESLOOP == true then
  814.             NEWSOUND.Looped = true
  815.         else
  816.             repeat wait(1) until NEWSOUND.Playing == false
  817.             NEWSOUND:remove()
  818.         end
  819.     end))
  820.     return NEWSOUND
  821. end
  822.  
  823. function CFrameFromTopBack(at, top, back)
  824.     local right = top:Cross(back)
  825.     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)
  826. end
  827.  
  828. --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})
  829. function WACKYEFFECT(Table)
  830.     local TYPE = (Table.EffectType or "Sphere")
  831.     local SIZE = (Table.Size or VT(1,1,1))
  832.     local ENDSIZE = (Table.Size2 or VT(0,0,0))
  833.     local TRANSPARENCY = (Table.Transparency or 0)
  834.     local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  835.     local CFRAME = (Table.CFrame or Torso.CFrame)
  836.     local MOVEDIRECTION = (Table.MoveToPos or nil)
  837.     local ROTATION1 = (Table.RotationX or 0)
  838.     local ROTATION2 = (Table.RotationY or 0)
  839.     local ROTATION3 = (Table.RotationZ or 0)
  840.     local MATERIAL = (Table.Material or "Neon")
  841.     local COLOR = (Table.Color or C3(1,1,1))
  842.     local TIME = (Table.Time or 45)
  843.     local SOUNDID = (Table.SoundID or nil)
  844.     local SOUNDPITCH = (Table.SoundPitch or nil)
  845.     local SOUNDVOLUME = (Table.SoundVolume or nil)
  846.     coroutine.resume(coroutine.create(function()
  847.         local PLAYSSOUND = false
  848.         local SOUND = nil
  849.         local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  850.         if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  851.             PLAYSSOUND = true
  852.             SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  853.         end
  854.         EFFECT.Color = COLOR
  855.         local MSH = nil
  856.         if TYPE == "Sphere" then
  857.             MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  858.         elseif TYPE == "Block" then
  859.             MSH = IT("BlockMesh",EFFECT)
  860.             MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  861.         elseif TYPE == "Wave" then
  862.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  863.         elseif TYPE == "Ring" then
  864.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  865.         elseif TYPE == "Slash" then
  866.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  867.         elseif TYPE == "Round Slash" then
  868.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  869.         elseif TYPE == "Swirl" then
  870.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  871.         elseif TYPE == "Skull" then
  872.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  873.         elseif TYPE == "Crystal" then
  874.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  875.         end
  876.         if MSH ~= nil then
  877.             local MOVESPEED = nil
  878.             if MOVEDIRECTION ~= nil then
  879.                 MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  880.             end
  881.             local GROWTH = SIZE - ENDSIZE
  882.             local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  883.             if TYPE == "Block" then
  884.                 EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  885.             else
  886.                 EFFECT.CFrame = CFRAME
  887.             end
  888.             for LOOP = 1, TIME+1 do
  889.                 Swait()
  890.                 MSH.Scale = MSH.Scale - GROWTH/TIME
  891.                 if TYPE == "Wave" then
  892.                     MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  893.                 end
  894.                 EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  895.                 if TYPE == "Block" then
  896.                     EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  897.                 else
  898.                     EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  899.                 end
  900.                 if MOVEDIRECTION ~= nil then
  901.                     local ORI = EFFECT.Orientation
  902.                     EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  903.                     EFFECT.Orientation = ORI
  904.                 end
  905.             end
  906.             if PLAYSSOUND == false then
  907.                 EFFECT:remove()
  908.             else
  909.                 repeat Swait() until SOUND.Playing == false
  910.                 EFFECT:remove()
  911.             end
  912.         else
  913.             if PLAYSSOUND == false then
  914.                 EFFECT:remove()
  915.             else
  916.                 repeat Swait() until SOUND.Playing == false
  917.                 EFFECT:remove()
  918.             end
  919.         end
  920.     end))
  921. end
  922.  
  923. function MakeForm(PART,TYPE)
  924.     if TYPE == "Cyl" then
  925.         local MSH = IT("CylinderMesh",PART)
  926.     elseif TYPE == "Ball" then
  927.         local MSH = IT("SpecialMesh",PART)
  928.         MSH.MeshType = "Sphere"
  929.     elseif TYPE == "Wedge" then
  930.         local MSH = IT("SpecialMesh",PART)
  931.         MSH.MeshType = "Wedge"
  932.     end
  933. end
  934.  
  935. Debris = game:GetService("Debris")
  936.  
  937. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  938.     local DIRECTION = CF(StartPos,EndPos).lookVector
  939.     return Raycast(StartPos, DIRECTION, Distance, Ignore)
  940. end
  941.  
  942. function turnto(position)
  943.     RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  944. end
  945.  
  946. --//=================================\\
  947. --||         RAGDOLL STUFF
  948. --\\=================================//
  949.  
  950. function recurse(root,callback,i)
  951.     i= i or 0
  952.     for _,v in pairs(root:GetChildren()) do
  953.         i = i + 1
  954.         callback(i,v)
  955.        
  956.         if #v:GetChildren() > 0 then
  957.             i = recurse(v,callback,i)
  958.         end
  959.     end
  960.    
  961.     return i
  962. end
  963.  
  964. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  965.     attachmentName = attachmentName.."RigAttachment"
  966.     local constraint = Instance.new(className.."Constraint")
  967.     constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  968.     constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  969.     constraint.Name = "RagdollConstraint"..part1.Name
  970.    
  971.     for _,propertyData in next,properties or {} do
  972.         constraint[propertyData[1]] = propertyData[2]
  973.     end
  974.    
  975.     constraint.Parent = character
  976. end
  977.  
  978. function getAttachment0(character, attachmentName)
  979.     for _,child in next,character:GetChildren() do
  980.         local attachment = child:FindFirstChild(attachmentName)
  981.         if attachment then
  982.             return attachment
  983.         end
  984.     end
  985. end
  986.  
  987. function ArtificialHitbox(Part)
  988.     local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
  989.     HITBOX.CanCollide = true
  990.     HITBOX.CFrame = Part.CFrame
  991.     weldBetween(Part,HITBOX)
  992. end
  993.  
  994. function R15Ragdoll(character,KeepArms)
  995.     character:BreakJoints()
  996.     coroutine.resume(coroutine.create(function()
  997.         recurse(character, function(_,v)
  998.             if v:IsA("Attachment") then
  999.                 v.Axis = Vector3.new(0, 1, 0)
  1000.                 v.SecondaryAxis = Vector3.new(0, 0, 1)
  1001.                 v.Rotation = Vector3.new(0, 0, 0)
  1002.             end
  1003.         end)
  1004.         for _,child in next,character:GetChildren() do
  1005.             if child:IsA("Accoutrement") then
  1006.                 for _,part in next,child:GetChildren() do
  1007.                     if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  1008.                         local attachment1 = part:FindFirstChildOfClass("Attachment")
  1009.                         local attachment0 = getAttachment0(character,attachment1.Name)
  1010.                         if attachment0 and attachment1 then
  1011.                             local constraint = Instance.new("HingeConstraint")
  1012.                             constraint.Attachment0 = attachment0
  1013.                             constraint.Attachment1 = attachment1
  1014.                             constraint.LimitsEnabled = true
  1015.                             constraint.UpperAngle = 0
  1016.                             constraint.LowerAngle = 0
  1017.                             constraint.Parent = character
  1018.                         end
  1019.                         ArtificialHitbox(part)
  1020.                     elseif part.Name == "HumanoidRootPart" then
  1021.                         part:remove()
  1022.                     end
  1023.                 end
  1024.             end
  1025.         end
  1026.        
  1027.         ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  1028.             {"LimitsEnabled",true};
  1029.             {"UpperAngle",5};
  1030.         })
  1031.         if character:FindFirstChild("Head") then
  1032.             ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  1033.                 {"LimitsEnabled",true};
  1034.                 {"UpperAngle",15};
  1035.             })
  1036.         end
  1037.        
  1038.         local handProperties = {
  1039.             {"LimitsEnabled", true};
  1040.             {"UpperAngle",0};
  1041.             {"LowerAngle",0};
  1042.         }
  1043.         ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  1044.         ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  1045.        
  1046.         local shinProperties = {
  1047.             {"LimitsEnabled", true};
  1048.             {"UpperAngle", 0};
  1049.             {"LowerAngle", -75};
  1050.         }
  1051.         ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  1052.         ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  1053.        
  1054.         local footProperties = {
  1055.             {"LimitsEnabled", true};
  1056.             {"UpperAngle", 15};
  1057.             {"LowerAngle", -45};
  1058.         }
  1059.         ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  1060.         ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  1061.         if KeepArms == true then
  1062.             ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  1063.             ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  1064.             ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  1065.             ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  1066.         end
  1067.         ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  1068.         ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  1069.         Debris:AddItem(character,5)
  1070.     end))
  1071. end
  1072.  
  1073. function Ragdoll(Character2,CharTorso,KeepArms)
  1074.     coroutine.resume(coroutine.create(function()
  1075.         Character2:BreakJoints()
  1076.         local hum = Character2:findFirstChild("Humanoid")
  1077.         hum:remove()
  1078.         local function Scan(ch)
  1079.             local e
  1080.             for e = 1,#ch do
  1081.                 Scan(ch[e]:GetChildren())
  1082.                 if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  1083.                     ch[e]:remove()
  1084.                 end
  1085.             end
  1086.         end
  1087.         local NEWHUM = IT("Humanoid")
  1088.         NEWHUM.Name = "Corpse"
  1089.         NEWHUM.Health = 0
  1090.         NEWHUM.MaxHealth = 0
  1091.         NEWHUM.PlatformStand = true
  1092.         NEWHUM.Parent = Character2
  1093.         NEWHUM.DisplayDistanceType = "None"
  1094.    
  1095.         local ch = Character2:GetChildren()
  1096.         local i
  1097.         for i = 1,#ch do
  1098.             if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  1099.                 ch[i]:remove()
  1100.             end
  1101.         end
  1102.    
  1103.         local Torso2 = Character2.Torso
  1104.         local movevector = Vector3.new()
  1105.    
  1106.         if Torso2 then
  1107.             movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  1108.             local Head = Character2:FindFirstChild("Head")
  1109.             if Head then
  1110.                 local Neck = Instance.new("Weld")
  1111.                 Neck.Name = "Neck"
  1112.                 Neck.Part0 = Torso2
  1113.                 Neck.Part1 = Head
  1114.                 Neck.C0 = CFrame.new(0, 1.5, 0)
  1115.                 Neck.C1 = CFrame.new()
  1116.                 Neck.Parent = Torso2
  1117.    
  1118.             end
  1119.             local Limb = Character2:FindFirstChild("Right Arm")
  1120.             if Limb and KeepArms == true then
  1121.    
  1122.                 Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  1123.                 local Joint = Instance.new("Glue")
  1124.                 Joint.Name = "RightShoulder"
  1125.                 Joint.Part0 = Torso2
  1126.                 Joint.Part1 = Limb
  1127.                 Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1128.                 Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1129.                 Joint.Parent = Torso2
  1130.    
  1131.                 local B = Instance.new("Part")
  1132.                 B.TopSurface = 0
  1133.                 B.BottomSurface = 0
  1134.                 B.formFactor = "Symmetric"
  1135.                 B.Size = Vector3.new(1, 1, 1)
  1136.                 B.Transparency = 1
  1137.                 B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1138.                 B.Parent = Character2
  1139.                 local W = Instance.new("Weld")
  1140.                 W.Part0 = Limb
  1141.                 W.Part1 = B
  1142.                 W.C0 = CFrame.new(0, -0.5, 0)
  1143.                 W.Parent = Limb
  1144.    
  1145.             end
  1146.             local Limb = Character2:FindFirstChild("Left Arm")
  1147.             if Limb and KeepArms == true then
  1148.    
  1149.                 Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  1150.                 local Joint = Instance.new("Glue")
  1151.                 Joint.Name = "LeftShoulder"
  1152.                 Joint.Part0 = Torso2
  1153.                 Joint.Part1 = Limb
  1154.                 Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1155.                 Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1156.                 Joint.Parent = Torso2
  1157.    
  1158.                 local B = Instance.new("Part")
  1159.                 B.TopSurface = 0
  1160.                 B.BottomSurface = 0
  1161.                 B.formFactor = "Symmetric"
  1162.                 B.Size = Vector3.new(1, 1, 1)
  1163.                 B.Transparency = 1
  1164.                 B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1165.                 B.Parent = Character2
  1166.                 local W = Instance.new("Weld")
  1167.                 W.Part0 = Limb
  1168.                 W.Part1 = B
  1169.                 W.C0 = CFrame.new(0, -0.5, 0)
  1170.                 W.Parent = Limb
  1171.    
  1172.             end
  1173.             local Limb = Character2:FindFirstChild("Right Leg")
  1174.             if Limb then
  1175.    
  1176.                 Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  1177.                 local Joint = Instance.new("Glue")
  1178.                 Joint.Name = "RightHip"
  1179.                 Joint.Part0 = Torso2
  1180.                 Joint.Part1 = Limb
  1181.                 Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1182.                 Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1183.                 Joint.Parent = Torso2
  1184.    
  1185.                 local B = Instance.new("Part")
  1186.                 B.TopSurface = 0
  1187.                 B.BottomSurface = 0
  1188.                 B.formFactor = "Symmetric"
  1189.                 B.Size = Vector3.new(1, 1, 1)
  1190.                 B.Transparency = 1
  1191.                 B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1192.                 B.Parent = Character2
  1193.                 local W = Instance.new("Weld")
  1194.                 W.Part0 = Limb
  1195.                 W.Part1 = B
  1196.                 W.C0 = CFrame.new(0, -0.5, 0)
  1197.                 W.Parent = Limb
  1198.    
  1199.             end
  1200.             local Limb = Character2:FindFirstChild("Left Leg")
  1201.             if Limb then
  1202.    
  1203.                 Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  1204.                 local Joint = Instance.new("Glue")
  1205.                 Joint.Name = "LeftHip"
  1206.                 Joint.Part0 = Torso2
  1207.                 Joint.Part1 = Limb
  1208.                 Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1209.                 Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1210.                 Joint.Parent = Torso2
  1211.    
  1212.                 local B = Instance.new("Part")
  1213.                 B.TopSurface = 0
  1214.                 B.BottomSurface = 0
  1215.                 B.formFactor = "Symmetric"
  1216.                 B.Size = Vector3.new(1, 1, 1)
  1217.                 B.Transparency = 1
  1218.                 B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1219.                 B.Parent = Character2
  1220.                 local W = Instance.new("Weld")
  1221.                 W.Part0 = Limb
  1222.                 W.Part1 = B
  1223.                 W.C0 = CFrame.new(0, -0.5, 0)
  1224.                 W.Parent = Limb
  1225.    
  1226.             end
  1227.             --[
  1228.             local Bar = Instance.new("Part")
  1229.             Bar.TopSurface = 0
  1230.             Bar.BottomSurface = 0
  1231.             Bar.formFactor = "Symmetric"
  1232.             Bar.Size = Vector3.new(1, 1, 1)
  1233.             Bar.Transparency = 1
  1234.             Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  1235.             Bar.Parent = Character2
  1236.             local Weld = Instance.new("Weld")
  1237.             Weld.Part0 = Torso2
  1238.             Weld.Part1 = Bar
  1239.             Weld.C0 = CFrame.new(0, 0.5, 0)
  1240.             Weld.Parent = Torso2
  1241.             --]]
  1242.         end
  1243.         Character2.Parent = workspace
  1244.         Debris:AddItem(Character2,5)
  1245.    
  1246.         return Character2,Torso2
  1247.     end))
  1248. end
  1249.  
  1250. --//=================================\\
  1251. --||         WEAPON CREATION
  1252. --\\=================================//
  1253.  
  1254. local BODY = {}
  1255. for _, c in pairs(Character:GetDescendants()) do
  1256.     if c:IsA("BasePart") and c.Name ~= "Handle" then
  1257.         if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1258.             c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1259.         end
  1260.         table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1261.     elseif c:IsA("JointInstance") then
  1262.         table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1263.     end
  1264. end
  1265. for e = 1, #BODY do
  1266.     if BODY[e] ~= nil then
  1267.         local STUFF = BODY[e]
  1268.         local PART = STUFF[1]
  1269.         local PARENT = STUFF[2]
  1270.         local MATERIAL = STUFF[3]
  1271.         local COLOR = STUFF[4]
  1272.         local TRANSPARENCY = STUFF[5]
  1273.         if PART.ClassName == "Part" and PART ~= RootPart then
  1274.             PART.Material = MATERIAL
  1275.             PART.Color = COLOR
  1276.             PART.Transparency = TRANSPARENCY
  1277.         end
  1278.         PART.AncestryChanged:Connect(function()
  1279.             PART.Parent = PARENT
  1280.         end)
  1281.     end
  1282. end
  1283.  
  1284. function refit()
  1285.     Character.Parent = workspace
  1286.     for e = 1, #BODY do
  1287.         if BODY[e] ~= nil then
  1288.             local STUFF = BODY[e]
  1289.             local PART = STUFF[1]
  1290.             local PARENT = STUFF[2]
  1291.             local MATERIAL = STUFF[3]
  1292.             local COLOR = STUFF[4]
  1293.             local TRANSPARENCY = STUFF[5]
  1294.             if PART.ClassName == "Part" and PART ~= RootPart then
  1295.                 PART.Material = MATERIAL
  1296.                 PART.Color = COLOR
  1297.                 PART.Transparency = TRANSPARENCY
  1298.             end
  1299.             if PART.Parent ~= PARENT then
  1300.                 Humanoid:remove()
  1301.                 PART.Parent = PARENT
  1302.                 Humanoid = IT("Humanoid",Character)
  1303.             end
  1304.         end
  1305.     end
  1306. end
  1307.  
  1308. function chatfunc(text)
  1309.     local chat = coroutine.wrap(function()
  1310.     if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1311.         Character:FindFirstChild("TalkingBillBoard"):destroy()
  1312.     end
  1313.     local Bill = Instance.new("BillboardGui",Character)
  1314.     Bill.Size = UDim2.new(0,100,0,40)
  1315.     Bill.StudsOffset = Vector3.new(0,3,0)
  1316.     Bill.Adornee = Character.Head
  1317.     Bill.Name = "TalkingBillBoard"
  1318.     local Hehe = Instance.new("TextLabel",Bill)
  1319.     Hehe.BackgroundTransparency = 1
  1320.     Hehe.BorderSizePixel = 0
  1321.     Hehe.Text = ""
  1322.     Hehe.Font = "Fantasy"
  1323.     Hehe.TextSize = 40
  1324.     Hehe.TextStrokeTransparency = 0
  1325.     Hehe.Size = UDim2.new(1,0,0.5,0)
  1326.     coroutine.resume(coroutine.create(function()
  1327.         while Hehe ~= nil do
  1328.             wait() 
  1329.             Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) 
  1330.             Hehe.Rotation = math.random(-5,5)
  1331.             Hehe.TextColor3 = Color3.new(3,9,2)
  1332.             Hehe.TextStrokeColor3 = Color3.new(255,255,0)
  1333.         end
  1334.     end))
  1335.     for i = 1,string.len(text),1 do
  1336.         wait()
  1337.         Hehe.Text = string.sub(text,1,i)
  1338.     end
  1339.     wait(3)--Re[math.random(1, 93)]
  1340.     for i = 0, 1, .025 do
  1341.         wait()
  1342.         Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1343.         Hehe.TextStrokeTransparency = i
  1344.         Hehe.TextTransparency = i
  1345.     end
  1346.     Bill:Destroy()
  1347.     end)
  1348. chat()
  1349. end
  1350.  
  1351. function onChatted(msg)
  1352.     chatfunc(msg)
  1353. end
  1354.  
  1355. Player.Chatted:connect(onChatted)
  1356.  
  1357.  
  1358. Humanoid.Parent = nil
  1359. RootPart.Size = RootPart.Size*SIZE
  1360. Torso.Size = Torso.Size*SIZE
  1361. RightArm.Size = RightArm.Size*SIZE
  1362. RightLeg.Size = RightLeg.Size*SIZE
  1363. LeftArm.Size = LeftArm.Size*SIZE
  1364. LeftLeg.Size = LeftLeg.Size*SIZE
  1365. RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  1366. RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  1367. Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1368. Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1369. RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  1370. LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  1371. RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1372. LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1373. RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1374. LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1375. Head.Size = Head.Size*SIZE
  1376. RootJoint.Parent = RootPart
  1377. Neck.Parent = Torso
  1378. RightShoulder.Parent = Torso
  1379. LeftShoulder.Parent = Torso
  1380. RightHip.Parent = Torso
  1381. LeftHip.Parent = Torso
  1382.  
  1383. Humanoid.DisplayDistanceType = "None"
  1384. local top = Instance.new("Shirt")
  1385. top.ShirtTemplate = "rbxassetid://45695443"
  1386. top.Parent = Character
  1387. top.Name = "Cloth"
  1388. local bottom = Instance.new("Pants")
  1389. bottom.PantsTemplate = "rbxassetid://45696190"
  1390. bottom.Parent = Character
  1391. bottom.Name = "Cloth"
  1392.  
  1393. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Lavender", "Handle", VT(1.05*Player_Size,2.05*Player_Size,1.05*Player_Size))
  1394. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1395. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(1.07*Player_Size,1.07*Player_Size,1.07*Player_Size))
  1396. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1397. local part = CreatePart(3, Weapon, "Glass", 0, 0, "Institutional white", "Handle", VT(1.07*Player_Size,0.5*Player_Size,1.07*Player_Size))
  1398. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0 * Player_Size, 0.85 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1399. local part = CreatePart(3, Weapon, "Glass", 0, 0, "Institutional white", "Handle", VT(0.5*Player_Size,0.5*Player_Size,1.07*Player_Size))
  1400. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0.4 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1401. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.7*Player_Size,0.5*Player_Size,1.07*Player_Size))
  1402. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.2 * Player_Size, 0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1403. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.5*Player_Size,1.5*Player_Size, 0.5*Player_Size))
  1404. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0.35 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1405. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.5*Player_Size,1.5*Player_Size, 0.5*Player_Size))
  1406. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.35 * Player_Size, 0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1407. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Institutional white", "Handle", VT(0.5*Player_Size,0.5*Player_Size, 1.2*Player_Size))
  1408. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.2 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1409.  
  1410. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.2*Player_Size,0.2*Player_Size, 0.2*Player_Size))
  1411. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0.4 * Player_Size, 0.12 * Player_Size, -0.75 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)), CF(0, 0, 0))
  1412. local mesh = IT("SpecialMesh",part)
  1413. mesh.MeshType = "FileMesh"
  1414. mesh.MeshId = "http://www.roblox.com/asset/?id=55821108"
  1415.  
  1416. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.2*Player_Size,0.2*Player_Size, 0.2*Player_Size))
  1417. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0.4 * Player_Size, 0.12 * Player_Size, 0.75 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  1418. local mesh = IT("SpecialMesh",part)
  1419. mesh.MeshType = "FileMesh"
  1420. mesh.MeshId = "http://www.roblox.com/asset/?id=55820516"
  1421.  
  1422. local part = CreatePart(3, Weapon, "Glass", 0, 0, "Lavender", "Handle", VT(0.35*Player_Size,0.35*Player_Size, 1.25*Player_Size))
  1423. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.2 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1424. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Institutional white", "Handle", VT(0.5*Player_Size,0.5*Player_Size, 1.2*Player_Size))
  1425. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.2 * Player_Size, -0.7 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1426. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Institutional white", "Handle", VT(1.1*Player_Size,0.2*Player_Size, 1.1*Player_Size))
  1427. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0 * Player_Size, -0.7 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1428. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Lavender", "Handle", VT(1.15*Player_Size,0.05*Player_Size, 1.15*Player_Size))
  1429. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0 * Player_Size, -0.7 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1430. local part = CreatePart(3, Weapon, "Glass", 0, 0, "Institutional white", "Handle", VT(1*Player_Size,0.1*Player_Size,1*Player_Size))
  1431. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1432. local mesh = IT("CylinderMesh",part)
  1433.  
  1434. local beampart = CreatePart(3, Weapon, "Neon", 0, 0, "Lavender", "Handle", VT(0.6*Player_Size,0.1*Player_Size,0.6*Player_Size))
  1435. local weld = CreateWeldOrSnapOrMotor("Weld", beampart, LeftArm, beampart, CF(0 * Player_Size, -1.02 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1436. local mesh = IT("CylinderMesh",beampart)
  1437.  
  1438. local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
  1439. PRT.Color = C3(0,0,0)
  1440. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
  1441. CreateMesh("SpecialMesh", PRT, "FileMesh", "26768040", "", VT(1,1,1)*SIZE, VT(0,0,0))
  1442. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
  1443. PRT.Color = C3(0,0,0)
  1444. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  1445. CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "", VT(1,1,1)*SIZE, VT(0,0,0))
  1446. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
  1447. PRT.Color = C3(255/255, 255/255, 0/255)
  1448. MakeForm(PRT,"Ball")
  1449. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  1450. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
  1451. PRT.Color = C3(255/255, 0/255, 0/255)
  1452. MakeForm(PRT,"Ball")
  1453. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
  1454. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  1455. PRT.Color = C3(255/255, 255/255, 0/255)
  1456. MakeForm(PRT,"Ball")
  1457. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  1458. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  1459. PRT.Color = C3(255/255, 255/255, 0/255)
  1460. MakeForm(PRT,"Ball")
  1461. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  1462. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  1463. PRT.Color = C3(255/255, 0/255, 0/255)
  1464. MakeForm(PRT,"Ball")
  1465. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
  1466. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  1467. PRT.Color = C3(255/255, 0/255, 0/255)
  1468. MakeForm(PRT,"Ball")
  1469. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
  1470.  
  1471. local LASTPART = Head
  1472. for i = 1, 24 do
  1473.     local MATH = (1-(i/30))
  1474.     if LASTPART == Head then
  1475.         local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1476.         CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(220), RAD(90)), CF(0, 0, 0))
  1477.         LASTPART = Horn
  1478.         Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  1479.     else
  1480.         local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1481.         CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  1482.         LASTPART = Horn
  1483.         Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  1484.     end
  1485. end
  1486. local LASTPART = Head
  1487. for i = 1, 24 do
  1488.     local MATH = (1-(i/30))
  1489.     if LASTPART == Head then
  1490.         local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1491.         CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(-220), RAD(-90)), CF(0, 0, 0))
  1492.         LASTPART = Horn
  1493.         Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  1494.     else
  1495.         local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1496.         CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  1497.         LASTPART = Horn
  1498.         Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  1499.     end
  1500. end
  1501. local LASTPART = Head
  1502. for i = 1, 8 do
  1503.     local MATH = (1-(i/14))
  1504.     if LASTPART == Head then
  1505.         local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1506.         CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(250), RAD(90)), CF(0, 0, 0))
  1507.         LASTPART = Horn
  1508.         Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  1509.     else
  1510.         local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1511.         CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  1512.         LASTPART = Horn
  1513.         Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  1514.     end
  1515. end
  1516. local LASTPART = Head
  1517. for i = 1, 8 do
  1518.     local MATH = (1-(i/14))
  1519.     if LASTPART == Head then
  1520.         local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1521.         CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(-250), RAD(-90)), CF(0, 0, 0))
  1522.         LASTPART = Horn
  1523.         Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  1524.     else
  1525.         local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1526.         CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  1527.         LASTPART = Horn
  1528.         Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  1529.     end
  1530. end
  1531. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
  1532. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1533. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
  1534. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1535. MakeForm(PRT,"Cyl")
  1536. local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
  1537. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1538. MakeForm(PRT,"Cyl")
  1539. PRT.Color = C3(255/255, 0/255, 0/255)
  1540. local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
  1541. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1542. MakeForm(RING,"Cyl")
  1543. RING.Color = C3(0,0,0)
  1544. for i = 1, 12 do
  1545.     local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Watch", VT(0,0.15,0)*SIZE,false)
  1546.     PRT.Color = C3(0,0,0)
  1547.     local MSH = IT("BlockMesh",PRT)
  1548.     MSH.Scale = VT(0.6,1,1)
  1549.     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))
  1550. end
  1551. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Watch", VT(0,0.15,0.15)*SIZE,false)
  1552. PRT.Color = C3(0,0,0)
  1553. local MSH = IT("BlockMesh",PRT)
  1554. MSH.Scale = VT(0.4,1,1)
  1555. 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))
  1556. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
  1557. PRT.Color = C3(0,0,0)
  1558. local MSH = IT("BlockMesh",PRT)
  1559. MSH.Scale = VT(0.4,1,1)
  1560. 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))
  1561. coroutine.resume(coroutine.create(function()
  1562.     while true do
  1563.         Swait()
  1564.         CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
  1565.         WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  1566.         WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  1567.         if CLOCKLOOP <= -150 then
  1568.             if VALUE1 == false then
  1569.                 CLOCKLOOP = 0
  1570.                 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(255/255, 0/255, 0/255), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 1})
  1571.                 local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1572.                 ApplyAoE(HITPOS,10,15,45,75,false)
  1573.                 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(255/255, 255/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 1})
  1574.                 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(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 1})
  1575.                 if CLOCKTARGET ~= nil then
  1576.                     CLOCKTARGET.Health = CLOCKTARGET.Health - 20
  1577.                     if CLOCKTARGET.Torso ~= nil then
  1578.                         CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  1579.                     end
  1580.                     if CLOCKTARGET.Health == 0 then
  1581.                         CLOCKTARGET = nil
  1582.                     end
  1583.                 end
  1584.             end
  1585.         end
  1586.     end
  1587. end))
  1588.  
  1589. for _, c in pairs(Weapon:GetChildren()) do
  1590.     if c.ClassName == "Part" then
  1591.         c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1592.     end
  1593. end
  1594.  
  1595. Neck.Name = "Weld"
  1596. RootJoint.Name = "Weld"
  1597. RightShoulder.Name = "Weld"
  1598. LeftShoulder.Name = "Weld"
  1599. RightHip.Name = "Weld"
  1600. LeftHip.Name = "Weld"
  1601.  
  1602. local SKILLTEXTCOLOR = C3(255/255, 255/255, 0/255)
  1603. local SKILLFONT = "Fantasy"
  1604. local SKILLTEXTSIZE = 7
  1605.  
  1606. Weapon.Parent = Character
  1607. Humanoid.Parent = Character
  1608.  
  1609. Humanoid.Died:connect(function()
  1610.     ATTACK = true
  1611. end)
  1612.  
  1613. --//=================================\\
  1614. --||            DAMAGING
  1615. --\\=================================//
  1616.  
  1617. function CheckTableForString(Table, String)
  1618.     for i, v in pairs(Table) do
  1619.         if string.find(string.lower(String), string.lower(v)) then
  1620.             return true
  1621.         end
  1622.     end
  1623.     return false
  1624. end
  1625.  
  1626. function CheckIntangible(Hit)
  1627.     local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  1628.     if Hit and Hit.Parent then
  1629.         if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  1630.             return true
  1631.         end
  1632.     end
  1633.     return false
  1634. end
  1635.  
  1636. function ApplyDamage(Humanoid,Damage,TorsoPart)
  1637.     local defence = Instance.new("BoolValue",Humanoid.Parent)
  1638.     defence.Name = ("HitBy"..Player.Name)
  1639.     game:GetService("Debris"):AddItem(defence, 0.001)
  1640.     Damage = Damage * DAMAGEMULTIPLIER
  1641.     if Humanoid.Health ~= 0 then
  1642.         local CritChance = MRANDOM(1,100)
  1643.         if Damage > Humanoid.Health then
  1644.             Damage = math.ceil(Humanoid.Health)
  1645.             if Damage == 0 then
  1646.                 Damage = 0.1
  1647.             end
  1648.         end
  1649.         Humanoid.Health = Humanoid.Health - Damage
  1650.     end
  1651. end
  1652.  
  1653. function MagicSphere2(size,waitt,cframe,color)
  1654.     local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1))
  1655.     local mesh = IT("SpecialMesh",wave)
  1656.     mesh.MeshType = "Sphere"
  1657.     mesh.Scale = VT(size,size,size)
  1658.     mesh.Offset = VT(0,0,0)
  1659.     wave.CFrame = cframe
  1660.     coroutine.resume(coroutine.create(function(PART)
  1661.         for i = 1, waitt do
  1662.             Swait()
  1663.             mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
  1664.             wave.Transparency = wave.Transparency - (1/waitt)
  1665.         end
  1666.         wave:remove()
  1667.     end))
  1668. end
  1669.  
  1670. function MagicSphere(size,waitt,cframe,color)
  1671.     local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1))
  1672.     local mesh = IT("SpecialMesh",wave)
  1673.     mesh.MeshType = "Sphere"
  1674.     mesh.Scale = VT(size,size,size)
  1675.     mesh.Offset = VT(0,0,0)
  1676.     wave.CFrame = cframe
  1677.     coroutine.resume(coroutine.create(function(PART)
  1678.         for i = 1, waitt do
  1679.             Swait()
  1680.             mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  1681.             wave.Transparency = wave.Transparency + (1/waitt)
  1682.             if wave.Transparency > 0.99 then
  1683.                 wave:remove()
  1684.             end
  1685.         end
  1686.     end))
  1687. end
  1688.  
  1689. function CreateSwirl(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  1690.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  1691.     local mesh = IT("SpecialMesh",wave)
  1692.     mesh.MeshType = "FileMesh"
  1693.     mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1694.     mesh.Scale = VT(size,size,size)
  1695.     wave.CFrame = cframe
  1696.     coroutine.resume(coroutine.create(function(PART)
  1697.         for i = 1, waitt do
  1698.             Swait()
  1699.             mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  1700.             if doesrotate == true then
  1701.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  1702.             end
  1703.             wave.Transparency = wave.Transparency + (0.5/waitt)
  1704.             if wave.Transparency > 0.99 then
  1705.                 wave:remove()
  1706.             end
  1707.         end
  1708.     end))
  1709. end
  1710.  
  1711. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  1712.     local Direction = CFrame.new(StartPos, Vec).lookVector
  1713.     local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1714.     local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  1715.     if RayHit and CheckIntangible(RayHit) then
  1716.         if DelayIfHit then
  1717.             wait()
  1718.         end
  1719.         RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  1720.     end
  1721.     return RayHit, RayPos, RayNormal
  1722. end
  1723.  
  1724. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1725.     local CHILDREN = workspace:GetDescendants()
  1726.     for index, CHILD in pairs(CHILDREN) do
  1727.         if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1728.             local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1729.             if HUM then
  1730.                 local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1731.                 if TORSO then
  1732.                     if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1733.                         if INSTAKILL == true then
  1734.                             CHILD:BreakJoints()
  1735.                         else
  1736.                             local DMG = MRANDOM(MINDMG,MAXDMG)
  1737.                             ApplyDamage(HUM,DMG,TORSO)
  1738.                         end
  1739.                         if FLING > 0 then
  1740.                             for _, c in pairs(CHILD:GetChildren()) do
  1741.                                 if c:IsA("BasePart") then
  1742.                                     local bv = Instance.new("BodyVelocity")
  1743.                                     bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1744.                                     bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1745.                                     bv.Parent = c
  1746.                                     Debris:AddItem(bv,0.05)
  1747.                                 end
  1748.                             end
  1749.                         end
  1750.                     end
  1751.                 end
  1752.             end
  1753.         end
  1754.     end
  1755. end
  1756. --//=================================\\
  1757. --||    MODE CHANGING
  1758. --\\=================================//
  1759.  
  1760. function Switch()
  1761.     ATTACK = true
  1762.     Rooted = true
  1763.     if MODE == "Main" then
  1764.         for i=0, 0.3, 0.1 / Animation_Speed do
  1765.             Swait()
  1766.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1767.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1768.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1769.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1770.             RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1771.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1772.         end
  1773.         for i=0, 1, 0.1 / Animation_Speed do
  1774.             Swait()
  1775.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.75 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1776.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1777.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1778.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1779.             RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1780.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1781.         end
  1782.         CreateSound(363808674, Torso, 6, 1, false)
  1783.         for i=0, 0.6, 0.1 / Animation_Speed do
  1784.             Swait()
  1785.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.5 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1786.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  1787.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1788.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1789.             RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1790.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1791.         end
  1792.         CreateSound(363808674, Torso, 6, 1, false)
  1793.         for i=0, 0.6, 0.1 / Animation_Speed do
  1794.             Swait()
  1795.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1796.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  1797.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1798.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1799.             RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1800.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1801.         end
  1802.         SONG = 1092048938
  1803.         CLOCKSPEED = 1.5
  1804.         text.Text = "InJustice"
  1805.         MODE = "JusticeHorn"
  1806.     elseif MODE == "JusticeHorn" then
  1807.         CreateSound(147722227, Torso, 4, 1.3, false)
  1808.         for i=0, 0.3, 0.1 / Animation_Speed do
  1809.             Swait()
  1810.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1811.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.5 + ((0.1) - 0.1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1812.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.8, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1813.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.8, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1814.             RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.25 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1815.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.25 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1816.         end
  1817.         SONG = 1117396305
  1818.         CLOCKSPEED = 0
  1819.         text.Text = "The Switcher"
  1820.         MODE = "Main"
  1821.     end
  1822.     ATTACK = false
  1823.     Rooted = false
  1824. end
  1825.  
  1826. function Switch3()
  1827.     ATTACK = true
  1828.     Rooted = true
  1829.     if MODE == "Main" then
  1830.         for i=0, 0.3, 0.1 / Animation_Speed do
  1831.             Swait()
  1832.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1833.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1834.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1835.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1836.             RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1837.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1838.         end
  1839.         for i=0, 1, 0.1 / Animation_Speed do
  1840.             Swait()
  1841.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.75 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1842.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1843.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1844.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1845.             RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1846.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1847.         end
  1848.         CreateSound(363808674, Torso, 6, 1, false)
  1849.         for i=0, 0.6, 0.1 / Animation_Speed do
  1850.             Swait()
  1851.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.5 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1852.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  1853.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1854.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1855.             RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1856.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1857.         end
  1858.         CreateSound(363808674, Torso, 6, 1, false)
  1859.         for i=0, 0.6, 0.1 / Animation_Speed do
  1860.             Swait()
  1861.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1862.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  1863.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1864.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1865.             RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1866.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1867.         end
  1868.         SONG = 1873219898
  1869.         CLOCKSPEED = 0.3
  1870.         text.Text = "Superior"
  1871.         MODE = "Superior"
  1872.     elseif MODE == "Superior" then
  1873.         CreateSound(147722227, Torso, 4, 1.3, false)
  1874.         for i=0, 0.3, 0.1 / Animation_Speed do
  1875.             Swait()
  1876.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1877.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.5 + ((0.1) - 0.1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1878.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.8, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1879.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.8, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1880.             RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.25 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1881.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.25 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1882.         end
  1883.         SONG = 1117396305
  1884.         CLOCKSPEED = 0
  1885.         text.Text = "The Switcher"
  1886.         MODE = "Main"
  1887.     end
  1888.     ATTACK = false
  1889.     Rooted = false
  1890. end
  1891.  
  1892. function Switch2()
  1893.     ATTACK = true
  1894.     Rooted = true
  1895.     if MODE == "Main" then
  1896.         for i=0, 0.3, 0.1 / Animation_Speed do
  1897.             Swait()
  1898.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1899.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1900.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1901.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1902.             RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1903.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1904.         end
  1905.         for i=0, 1, 0.1 / Animation_Speed do
  1906.             Swait()
  1907.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.75 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1908.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1909.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1910.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1911.             RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1912.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1913.         end
  1914.         CreateSound(363808674, Torso, 6, 1, false)
  1915.         for i=0, 0.6, 0.1 / Animation_Speed do
  1916.             Swait()
  1917.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.5 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1918.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  1919.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1920.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1921.             RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1922.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1923.         end
  1924.         CreateSound(363808674, Torso, 6, 1, false)
  1925.         for i=0, 0.6, 0.1 / Animation_Speed do
  1926.             Swait()
  1927.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1928.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  1929.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1930.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1931.             RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1932.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1933.         end
  1934.         SONG = 534861083
  1935.         CLOCKSPEED = 0.75
  1936.         text.Text = "T0M-YUM"
  1937.         MODE = "Maniac"
  1938.     elseif MODE == "Maniac" then
  1939.         CreateSound(147722227, Torso, 4, 1.3, false)
  1940.         for i=0, 0.3, 0.1 / Animation_Speed do
  1941.             Swait()
  1942.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1943.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.5 + ((0.1) - 0.1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1944.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.8, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1945.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.8, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1946.             RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.25 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1947.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.25 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1948.         end
  1949.         SONG = 1117396305
  1950.         CLOCKSPEED = 0
  1951.         text.Text = "The Switcher"
  1952.         MODE = "Main"
  1953.     end
  1954.     ATTACK = false
  1955.     Rooted = false
  1956. end
  1957.  
  1958. --//=================================\\
  1959. --||    ATTACK FUNCTIONS AND STUFF
  1960. --\\=================================//
  1961.  
  1962. function ApplyAoE(POSITION,RANGE,FLING,BURN)
  1963.     local CHILDREN = workspace:GetDescendants()
  1964.     for index, CHILD in pairs(CHILDREN) do
  1965.         if CHILD.ClassName == "Model" and CHILD ~= Character then
  1966.             local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1967.             if HUM then
  1968.                 local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1969.                 if TORSO then
  1970.                     if HUM.Health > 0 and (TORSO.Position - POSITION).Magnitude <= RANGE then
  1971.                         CHILD:BreakJoints()
  1972.                         if FLING ~= 0 then
  1973.                             for _, c in pairs(CHILD:GetChildren()) do
  1974.                                 if c:IsA("BasePart") and c.Transparency == 0 then
  1975.                                     if BURN == true then
  1976.                                         Fire(c)
  1977.                                     end
  1978.                                     local bv = Instance.new("BodyVelocity")
  1979.                                     bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1980.                                     bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1981.                                     bv.Parent = c
  1982.                                     Debris:AddItem(bv,0.05)
  1983.                                 end
  1984.                             end
  1985.                         end
  1986.                     end
  1987.                 end
  1988.             end
  1989.         end
  1990.     end
  1991. end
  1992.  
  1993. function MagicMissiles()
  1994.     ATTACK = true
  1995.     Rooted = true
  1996.     local SELECTING = true
  1997.     local SPOTS = {}
  1998.     coroutine.resume(coroutine.create(function()
  1999.         local LOOP = 0
  2000.         repeat
  2001.             LOOP = LOOP + 1
  2002.             Swait()
  2003.             if LOOP >= 10 then
  2004.                 LOOP = 0
  2005.                 for i = 1, #SPOTS do
  2006.                     if SPOTS[i] ~= nil then
  2007.                         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/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2008.                         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/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2009.                     end
  2010.                 end
  2011.             end
  2012.             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)
  2013.             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)
  2014.             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)
  2015.             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)
  2016.             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)
  2017.             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)
  2018.         until SELECTING == false
  2019.         Rooted = false
  2020.         repeat
  2021.             LOOP = LOOP + 1
  2022.             Swait()
  2023.             if LOOP >= 10 then
  2024.                 LOOP = 0
  2025.                 for i = 1, #SPOTS do
  2026.                     if SPOTS[i] ~= nil then
  2027.                         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, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2028.                         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, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2029.                     end
  2030.                 end
  2031.             end
  2032.             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)
  2033.             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)
  2034.             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)
  2035.             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)
  2036.             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)
  2037.             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)
  2038.         until ATTACK == false
  2039.     end))
  2040.     repeat
  2041.         repeat Swait() until HOLD == true
  2042.             local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  2043.             if DIST > 1500 then
  2044.                 DIST = 1500
  2045.             end
  2046.             local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  2047.             local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)   
  2048.             if HITFLOOR ~= nil then
  2049.                 table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
  2050.                 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, 255/255, 0/255), SoundID = 90655239, SoundPitch = 1, SoundVolume = 6})
  2051.                 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, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2052.             end
  2053.         repeat Swait() until HOLD == false
  2054.     until #SPOTS == 1
  2055.     chatfunc("Justice rains from above.")
  2056.     SELECTING = false
  2057.     for i = 1, #SPOTS do
  2058.         if SPOTS[i] ~= nil then
  2059.             local POS = SPOTS[i]
  2060.             coroutine.resume(coroutine.create(function()
  2061.                 local MISSILE = IT("Model",Effects)
  2062.                 MISSILE.Name = "Missile"
  2063.                 local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Really black", "Part", VT(2,2,2))
  2064.                 MakeForm(BASEPART,"Cyl")
  2065.                 MISSILE.PrimaryPart = BASEPART
  2066.                 BASEPART.CFrame = POS*CF(0,-30*3,0)
  2067.                 local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Really black", "Part", VT(2,4,2))
  2068.                 MakeForm(HEAD,"Ball")
  2069.                 HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
  2070.                 local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Really black", "Part", VT(2.5,0.1,2.5))
  2071.                 MakeForm(TAIL,"Cyl")
  2072.                 TAIL.CFrame = BASEPART.CFrame*CF(0,1,0)
  2073.                 for i = 1, 10 do
  2074.                     Swait()
  2075.                     for _, c in pairs(MISSILE:GetChildren()) do
  2076.                         if c.ClassName == "Part" then
  2077.                             c.Transparency = c.Transparency - 1/10
  2078.                         end
  2079.                     end
  2080.                 end
  2081.                 for i = 1, 15*1.5 do
  2082.                     Swait()
  2083.                     MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
  2084.                 end
  2085.                 ApplyAoE(BASEPART.CFrame.p,40,70,90,150,false)
  2086.                 WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(150,2,150), Transparency = 0.5, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
  2087.                 WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(70,70,70), Transparency = 0, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 4})
  2088.                 WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(44,4,44), 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, 255/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2089.                 WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(40,6,40), 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, 255/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2090.                 MISSILE:remove()
  2091.             end))
  2092.         end
  2093.     end
  2094.     wait(0.8)
  2095.     ATTACK = false
  2096.     Rooted = false
  2097. end
  2098.  
  2099. function TimesUp()
  2100.     CLOCKTARGET = nil
  2101.     if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2102.         local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2103.         local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  2104.         if TORSO then
  2105.             ATTACK = true
  2106.             Rooted = false
  2107.             coroutine.resume(coroutine.create(function()
  2108.                 repeat
  2109.                     Swait()
  2110.                     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)
  2111.                     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)
  2112.                     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)
  2113.                     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)
  2114.                     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)
  2115.                     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)
  2116.                 until ATTACK == false
  2117.             end))
  2118.             if Effects:FindFirstChild("NeonDoll") then
  2119.                 repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
  2120.             end
  2121.             wait(0.5)
  2122.             local FAKECHARACTER = IT("Model",Effects)
  2123.             FAKECHARACTER.Name = "NeonDoll"
  2124.             local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "New Yeller", "Part", VT(0.3,0.3,0.15),false)
  2125.             CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
  2126.             local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "New Yeller", "Part", VT(0.15,0.3,0.15),false)
  2127.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
  2128.             local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "New Yeller", "Part", VT(0.15,0.3,0.15),false)
  2129.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
  2130.             local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "New Yeller", "Part", VT(0.15,0.3,0.15),false)
  2131.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
  2132.             local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "New Yeller", "Part", VT(0.15,0.3,0.15),false)
  2133.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
  2134.             local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "New Yeller", "Part", VT(0.15,0.15,0.15),false)
  2135.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  2136.             CreateSound(201858045, TORS, 5, 0.4, false)
  2137.             for i = 1, 150 do
  2138.                 Swait()
  2139.                 CLOCKSPEED = 0.5
  2140.                 for _, c in pairs(FAKECHARACTER:GetChildren()) do
  2141.                     if c.ClassName == "Part" then
  2142.                         c.Transparency = c.Transparency - 0.5/150
  2143.                     end
  2144.                 end
  2145.             end
  2146.             CLOCKTARGET = HUM
  2147.             chatfunc("IT'S TIME TO STOP")
  2148.             coroutine.resume(coroutine.create(function()
  2149.                 repeat Swait() CLOCKSPEED = 5 until CLOCKTARGET == nil
  2150.                 for i = 1, 25 do
  2151.                     Swait()
  2152.                     for _, c in pairs(FAKECHARACTER:GetChildren()) do
  2153.                         if c.ClassName == "Part" then
  2154.                             c.Transparency = c.Transparency + 0.5/25
  2155.                         end
  2156.                     end
  2157.                 end
  2158.                 CLOCKSPEED = 1.5
  2159.                 FAKECHARACTER:remove()
  2160.             end))
  2161.             wait(0.5)
  2162.             ATTACK = false
  2163.             Rooted = false
  2164.         end
  2165.     end
  2166. end
  2167.  
  2168. function ChainPunch()
  2169.     ATTACK = true
  2170.     Rooted = false
  2171.     local GYRO = IT("BodyGyro",RootPart)
  2172.     GYRO.D = 25
  2173.     GYRO.P = 2000
  2174.     GYRO.MaxTorque = VT(0,40000,0)
  2175.     GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2176.     repeat
  2177.         Swait()
  2178.         GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2179.         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)
  2180.         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)
  2181.         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)
  2182.         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)
  2183.         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)
  2184.         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)
  2185.     until HOLD == true
  2186.     local POS = Mouse.Hit.p
  2187.     local CHAINS = false
  2188.     local CHAINLINKS = {}
  2189.     local A = IT("Attachment",RightArm)
  2190.     A.Position = VT(1,-1,0)*SIZE
  2191.     A.Orientation = VT(-90, -89.982, 0)
  2192.     local B = IT("Attachment",RightArm)
  2193.     B.Position = VT(-1,-1,0)*SIZE
  2194.     B.Orientation = VT(-90, 89.988, 0)
  2195.     local C = IT("Attachment",RightArm)
  2196.     C.Position = VT(0.5,-1.3,0)*SIZE
  2197.     C.Orientation = VT(-90, -89.982, 0)
  2198.     local D = IT("Attachment",RightArm)
  2199.     D.Position = VT(-0.5,-1.3,0)*SIZE
  2200.     D.Orientation = VT(-90, 89.988, 0)
  2201.     local LIGHT = IT("Attachment",RightArm)
  2202.     LIGHT.Position = VT(0,-1,0)*SIZE
  2203.     local LIGHT2 = IT("PointLight",LIGHT)
  2204.     LIGHT2.Range = 7
  2205.     LIGHT2.Brightness = 5
  2206.     LIGHT2.Color = C3(255/255, 255/255, 0/255)
  2207.     for i = 1, 2 do
  2208.         local TWIST = -2
  2209.         local START = A
  2210.         local END = B
  2211.         if i == 1 then
  2212.             START = B
  2213.             END = A
  2214.         end
  2215.         local ChainLink = IT("Beam",Torso)
  2216.         ChainLink.Texture = "rbxassetid://73042633"
  2217.         ChainLink.Color = ColorSequence.new(C3(255/255, 255/255, 0/255))
  2218.         ChainLink.TextureSpeed = 1
  2219.         ChainLink.Width0 = 1
  2220.         ChainLink.Width1 = 1
  2221.         ChainLink.TextureLength = 2.5
  2222.         ChainLink.Attachment0 = START
  2223.         ChainLink.Attachment1 = END
  2224.         ChainLink.CurveSize0 = TWIST
  2225.         ChainLink.CurveSize1 = TWIST
  2226.         --ChainLink.FaceCamera = true
  2227.         ChainLink.Segments = 45
  2228.         ChainLink.Transparency = NumberSequence.new(1)
  2229.         table.insert(CHAINLINKS,ChainLink)
  2230.     end
  2231.     for i = 1, 2 do
  2232.         local TWIST = -1
  2233.         local START = C
  2234.         local END = D
  2235.         if i == 1 then
  2236.             START = D
  2237.             END = C
  2238.         end
  2239.         local ChainLink = IT("Beam",Torso)
  2240.         ChainLink.Texture = "rbxassetid://73042633"
  2241.         ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  2242.         ChainLink.TextureSpeed = 1
  2243.         ChainLink.Width0 = 1
  2244.         ChainLink.Width1 = 1
  2245.         ChainLink.TextureLength = 5
  2246.         ChainLink.Attachment0 = START
  2247.         ChainLink.Attachment1 = END
  2248.         ChainLink.CurveSize0 = TWIST
  2249.         ChainLink.CurveSize1 = TWIST
  2250.         --ChainLink.FaceCamera = true
  2251.         ChainLink.Segments = 25
  2252.         ChainLink.LightEmission = 0.5
  2253.         ChainLink.Transparency = NumberSequence.new(1)
  2254.         table.insert(CHAINLINKS,ChainLink)
  2255.     end
  2256.     coroutine.resume(coroutine.create(function()
  2257.         repeat
  2258.             chatfunc("SMASH!!!")
  2259.             Swait()
  2260.             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)
  2261.             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)
  2262.             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)
  2263.             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)
  2264.             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)
  2265.             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)
  2266.         until CHAINS == true
  2267.         repeat
  2268.             Swait()
  2269.             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)
  2270.             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)
  2271.             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)
  2272.             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)
  2273.             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)
  2274.             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)
  2275.         until ATTACK == false
  2276.         for e = 1, 15 do
  2277.             Swait()
  2278.             for i = 1, #CHAINLINKS do
  2279.                 CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  2280.             end
  2281.         end
  2282.         A:remove()
  2283.         B:remove()
  2284.         C:remove()
  2285.         D:remove()
  2286.     end))
  2287.     CreateSound(233856115, RightArm, 5, 1.2, false)
  2288.     for e = 1, 15 do
  2289.         Swait()
  2290.         for i = 1, #CHAINLINKS do
  2291.             CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  2292.         end
  2293.     end
  2294.     CHAINS = true
  2295.     Rooted = true
  2296.     wait(0.25)
  2297.     local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "New Yeller", "Part", VT(2,2,2))
  2298.     FIST.Color = C3(1, 215/255, 1)
  2299.     FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  2300.     local LIGHT3 = IT("PointLight",FIST)
  2301.     LIGHT3.Range = 7
  2302.     LIGHT3.Brightness = 5
  2303.     LIGHT3.Color = C3(255/255, 0/255, 0/255)
  2304.     CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
  2305.     local FISTA = IT("Attachment",FIST)
  2306.     FISTA.Position = VT(0.062, 0.977, 0)
  2307.     local ChainLink = IT("Beam",Torso)
  2308.     ChainLink.Texture = "rbxassetid://73042633"
  2309.     ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  2310.     ChainLink.TextureSpeed = 0
  2311.     ChainLink.Width0 = 3
  2312.     ChainLink.Width1 = 3
  2313.     ChainLink.TextureLength = 12
  2314.     ChainLink.Attachment0 = LIGHT
  2315.     ChainLink.Attachment1 = FISTA
  2316.     ChainLink.FaceCamera = true
  2317.     ChainLink.Segments = 45
  2318.     ChainLink.LightEmission = 0.5
  2319.     ChainLink.Transparency = NumberSequence.new(0.25)
  2320.     local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  2321.     for i = 1, 85 do
  2322.         Swait()
  2323.         FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  2324.         ChainLink.TextureLength = 12+(i*2)
  2325.         ApplyAoE(FIST.Position,10,15,25,100,false)
  2326.         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(2, 9, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2327.         local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  2328.         if HITFLOOR ~= nil then
  2329.             HITFLOOR:BreakJoints()
  2330.             coroutine.resume(coroutine.create(function()
  2331.                 for i = 1, 15 do
  2332.                     Swait()
  2333.                     FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  2334.                     ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
  2335.                     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(2, 9, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2336.                 end
  2337.             end))
  2338.             break
  2339.         end
  2340.     end
  2341.     coroutine.resume(coroutine.create(function()
  2342.         for i = 1, 50 do
  2343.             Swait()
  2344.             FIST.Transparency = FIST.Transparency + 0.5/50
  2345.             LIGHT3.Range = LIGHT3.Range - 300/500
  2346.         end
  2347.         FIST:remove()
  2348.     end))
  2349.     LIGHT:remove()
  2350.     GYRO:remove()
  2351.     ATTACK = false
  2352.     Rooted = false
  2353. end
  2354.  
  2355. function WarpMeteor()
  2356.     chatfunc("Meteor Strike..")
  2357.     local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  2358.     if DIST > 180 then
  2359.         DIST = 180
  2360.     end
  2361.     local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  2362.     local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
  2363.     if HITFLOOR then
  2364.         local POS = HITPOS 
  2365.         ATTACK = true
  2366.         Rooted = true
  2367.         local WARPED = false
  2368.         local SMASHED = false
  2369.         local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  2370.         coroutine.resume(coroutine.create(function()
  2371.             repeat
  2372.                 Swait()
  2373.                 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)
  2374.                 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)
  2375.                 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)
  2376.                 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)
  2377.                 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)
  2378.                 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)
  2379.             until WARPED == true
  2380.             repeat
  2381.                 Swait()
  2382.                 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)
  2383.                 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)
  2384.                 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)
  2385.                 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)
  2386.                 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)
  2387.                 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)
  2388.             until SMASHED == true
  2389.             repeat
  2390.                 Swait()
  2391.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  2392.             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)
  2393.             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)
  2394.             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)
  2395.             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)
  2396.             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)
  2397.             until ATTACK == false
  2398.         end))
  2399.         VALUE1 = true
  2400.         CreateSound(233856115, Torso, 5, 1.6, false)
  2401.         for i = 1, 25 do
  2402.             Swait()
  2403.             for _, c in pairs(Character:GetChildren()) do
  2404.                 if c.ClassName == "Part" then
  2405.                     c.Transparency = c.Transparency + 1/25
  2406.                 end
  2407.             end
  2408.             for _, c in pairs(Weapon:GetChildren()) do
  2409.                 if c.ClassName == "Part" then
  2410.                     c.Transparency = c.Transparency + 1/25
  2411.                 end
  2412.             end
  2413.         end
  2414.         UNANCHOR = false
  2415.         RootPart.Anchored = true
  2416.         RootPart.Velocity = VT(0,0,0)
  2417.         local ROOTPOS = RootPart.Position
  2418.         RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
  2419.         WARPED = true
  2420.         for i = 1, 25 do
  2421.             Swait()
  2422.             for _, c in pairs(Character:GetChildren()) do
  2423.                 if c.ClassName == "Part" then
  2424.                     c.Transparency = c.Transparency - 1/25
  2425.                 end
  2426.             end
  2427.             for _, c in pairs(Weapon:GetChildren()) do
  2428.                 if c.ClassName == "Part" then
  2429.                     c.Transparency = c.Transparency - 1/25
  2430.                 end
  2431.             end
  2432.         end
  2433.         local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Part", VT(0,0,0))
  2434.         SHELL.CFrame = RootPart.CFrame
  2435.         MakeForm(SHELL,"Ball")
  2436.         CreateSound(402981977, SHELL, 5, 1.6, false)
  2437.         for i = 1, 10 do
  2438.             Swait()
  2439.             SHELL.Transparency = SHELL.Transparency - 1/10
  2440.             SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
  2441.         end
  2442.         for i = 1, math.ceil(75/2) do
  2443.             Swait()
  2444.             RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
  2445.             SHELL.CFrame = CF(RootPart.Position)
  2446.             WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(45,43,45), Transparency = 0.5, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = SHELL.Position+VT(0,15,0), RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  2447.         end
  2448.         RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
  2449.         SHELL.CFrame = CF(RootPart.Position)
  2450.         WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(75,55,75)*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})
  2451.         WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(65,43,65)*3.8, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  2452.         WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(65,43,65)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  2453.         for i = 1, 5 do
  2454.             WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(75,43,75)*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(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2455.         end
  2456.         SHELL:remove()
  2457.         ApplyAoE(RootPart.Position,115,75,115,215,false)
  2458.         SMASHED = true
  2459.         wait(1)
  2460.         VALUE1 = false
  2461.         UNANCHOR = true
  2462.         ATTACK = false
  2463.         Rooted = false
  2464.     end
  2465. end
  2466.  
  2467. function PandorasBox()
  2468.     chatfunc("What's Inside The Box")
  2469.     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)
  2470.     if HITFLOOR ~= nil then
  2471.         ATTACK = true
  2472.         Rooted = true
  2473.         local RINGSPIN = true
  2474.         local CONSTRUCTING = true
  2475.         local RING = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Ring", VT(0,0,0))
  2476.         RING.Color = C3(0,0,0)
  2477.         MakeForm(RING,"Cyl")
  2478.         RING.CFrame = CF(HITPOS)
  2479.         CreateSound(402981977, RING, 5, 1.2, false)
  2480.         coroutine.resume(coroutine.create(function()
  2481.             repeat
  2482.                 Swait()
  2483.                 RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2484.                 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)
  2485.                 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)
  2486.                 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)
  2487.                 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)
  2488.                 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)
  2489.                 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)
  2490.             until CONSTRUCTING == false
  2491.             repeat
  2492.                 Swait()
  2493.                 RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2494.             until RINGSPIN == false
  2495.             for i = 1, 25 do
  2496.                 Swait()
  2497.                 RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2498.                 RING.Size = RING.Size - VT(0.15,0,0.15)
  2499.                 --DECAL.Transparency = DECAL.Transparency + 1/25
  2500.                 RING.Transparency = RING.Transparency + 1/25
  2501.             end
  2502.             RING:remove()
  2503.         end))
  2504.         for i = 1, 15 do
  2505.             Swait()
  2506.             RING.Size = RING.Size + VT(0.75,0,0.75)
  2507.             RING.Transparency = RING.Transparency - 1/15
  2508.         end
  2509.         local BOXSPIN = true
  2510.         local PANDORASBOX = IT("Model",Effects)
  2511.         PANDORASBOX.Name = "Pandora's Box"
  2512.         local BOX = IT("Model",PANDORASBOX)
  2513.         BOX.Name = "Body"
  2514.         local LID = IT("Model",PANDORASBOX)
  2515.         LID.Name = "Lid"
  2516.         --BUILDING THE BOX--
  2517.             local BASE = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Black", VT(2,1.8,2))
  2518.             BASE.Color = C3(0,0,0)
  2519.             PANDORASBOX.PrimaryPart = BASE
  2520.             BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  2521.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(0.2,1.9,0.2))
  2522.             WOOD.CFrame = BASE.CFrame*CF(1,0,1)
  2523.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(0.2,1.9,0.2))
  2524.             WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
  2525.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(0.2,1.9,0.2))
  2526.             WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
  2527.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(0.2,1.9,0.2))
  2528.             WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
  2529.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(2.1,0.2,0.2))
  2530.             WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
  2531.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(2.1,0.2,0.2))
  2532.             WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
  2533.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(0.2,0.2,2.1))
  2534.             WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
  2535.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(0.2,0.2,2.1))
  2536.             WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
  2537.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(2.1,0.2,0.2))
  2538.             WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
  2539.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(2.1,0.2,0.2))
  2540.             WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
  2541.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(0.2,0.2,2.1))
  2542.             WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
  2543.             local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(0.2,0.2,2.1))
  2544.             WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
  2545.             local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1))
  2546.             WOOD.CFrame = BASE.CFrame*CF(0,0,1)
  2547.             local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1))
  2548.             WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
  2549.             local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1))
  2550.             WOOD.CFrame = BASE.CFrame*CF(1,0,0)
  2551.             local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1))
  2552.             WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
  2553.             local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1))
  2554.             WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
  2555.             -------------
  2556.             local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1))
  2557.             LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
  2558.             LID.PrimaryPart = LIDPART
  2559.             local WOOD = CreatePart(3, LID, "Neon", 0, 0, "New Yeller", "Marble", VT(2.1,0.2,0.2))
  2560.             WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
  2561.             local WOOD = CreatePart(3, LID, "Neon", 0, 0, "New Yeller", "Marble", VT(2.1,0.2,0.2))
  2562.             WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
  2563.             local WOOD = CreatePart(3, LID, "Neon", 0, 0, "New Yeller", "Marble", VT(0.2,0.2,2.1))
  2564.             WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
  2565.             local WOOD = CreatePart(3, LID, "Neon", 0, 0, "New Yeller", "Marble", VT(0.2,0.2,2.1))
  2566.             WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
  2567.             local DECAL = IT("Decal",LIDPART)
  2568.             DECAL.Face = "Top"
  2569.             DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
  2570.             DECAL.Color3 = C3(0,0,0)
  2571.         --BUILDING THE BOX--
  2572.         coroutine.resume(coroutine.create(function()
  2573.             repeat
  2574.                 Swait()
  2575.                 PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
  2576.             until BOXSPIN == false
  2577.         end))
  2578.         for i = 1, 25 do
  2579.             Swait()
  2580.             PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
  2581.         end
  2582.         wait(0.5)
  2583.         BOXSPIN = false
  2584.         CONSTRUCTING = false   
  2585.         coroutine.resume(coroutine.create(function()
  2586.             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})
  2587.             --[[for i = 1, 45 do
  2588.                 Swait()
  2589.                 LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
  2590.             end-
  2591.             LID:remove()]]--
  2592.             for _, c in pairs(LID:GetChildren()) do
  2593.                 if c.ClassName == "Part" then
  2594.                     c.Anchored = false
  2595.                     c.CanCollide = true
  2596.                     if c ~= LIDPART then
  2597.                         weldBetween(LIDPART,c)
  2598.                     end
  2599.                 end
  2600.             end
  2601.             LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
  2602.             Debris:AddItem(LID,15)
  2603.             wait(0.5)
  2604.             local RANDOMEFFECT = MRANDOM(1,4)
  2605.             if RANDOMEFFECT == 1 then
  2606.                 for i = 1, 45 do
  2607.                     wait((2-(i/15))/15)
  2608.                     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})
  2609.                 end
  2610.                 wait(1)
  2611.                 WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35)*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})
  2612.                 WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*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})
  2613.                 WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*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})
  2614.                 for i = 1, 5 do
  2615.                     WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*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})
  2616.                 end
  2617.                 ApplyAoE(BASE.Position,50,1,200,375,false)
  2618.                 ApplyAoE(BASE.Position,250,35,75,175,false)
  2619.             elseif RANDOMEFFECT == 2 then
  2620.                 local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
  2621.                 FIELD.CFrame = BASE.CFrame
  2622.                 MakeForm(FIELD,"Ball")
  2623.                 for i = 1, 50 do
  2624.                     Swait()
  2625.                     FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  2626.                     FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  2627.                 end
  2628.                 wait(0.2)
  2629.                 local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
  2630.                 coroutine.resume(coroutine.create(function()
  2631.                     for i = 1, 75 do
  2632.                         Swait()
  2633.                         LOOP.Volume = LOOP.Volume + 10/75
  2634.                         LOOP.Parent = FIELD
  2635.                         local CHILDREN = workspace:GetDescendants()
  2636.                         for index, CHILD in pairs(CHILDREN) do
  2637.                             if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2638.                                 local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2639.                                 if HUM then
  2640.                                     local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2641.                                     if TORSO then
  2642.                                         if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  2643.                                             HUM.Health = HUM.Health - 0.1
  2644.                                             TORSO.Velocity = VT(0,5,0)
  2645.                                             HUM.PlatformStand = true
  2646.                                             if TORSO.RotVelocity.Magnitude < 15 then
  2647.                                                 TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  2648.                                             end
  2649.                                         end
  2650.                                     end
  2651.                                 end
  2652.                             end
  2653.                         end
  2654.                         FIELD.Size = FIELD.Size + VT(3,3,3)
  2655.                         FIELD.Transparency = FIELD.Transparency + 0.8/75
  2656.                     end
  2657.                     for i = 1, 500 do
  2658.                         Swait()
  2659.                         LOOP.Parent = FIELD
  2660.                         local CHILDREN = workspace:GetDescendants()
  2661.                         for index, CHILD in pairs(CHILDREN) do
  2662.                             if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2663.                                 local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2664.                                 if HUM then
  2665.                                     local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2666.                                     if TORSO then
  2667.                                         if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  2668.                                             TORSO.Velocity = VT(0,5,0)
  2669.                                             HUM.Health = HUM.Health - 0.1
  2670.                                             HUM.PlatformStand = true
  2671.                                             if TORSO.RotVelocity.Magnitude < 15 then
  2672.                                                 TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  2673.                                             end
  2674.                                         end
  2675.                                     end
  2676.                                 end
  2677.                             end
  2678.                         end
  2679.                     end
  2680.                     for i = 1, 25 do
  2681.                         Swait()
  2682.                         LOOP.Volume = LOOP.Volume + 10/25
  2683.                         LOOP.Parent = FIELD
  2684.                         local CHILDREN = workspace:GetDescendants()
  2685.                         for index, CHILD in pairs(CHILDREN) do
  2686.                             if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2687.                                 local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2688.                                 if HUM then
  2689.                                     local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2690.                                     if TORSO then
  2691.                                         if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  2692.                                             TORSO.Velocity = VT(0,5,0)
  2693.                                             HUM.Health = HUM.Health - 0.1
  2694.                                             HUM.PlatformStand = false
  2695.                                             if TORSO.RotVelocity.Magnitude < 15 then
  2696.                                                 TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  2697.                                             end
  2698.                                         end
  2699.                                     end
  2700.                                 end
  2701.                             end
  2702.                         end
  2703.                         FIELD.Size = FIELD.Size - VT(3,3,3)
  2704.                         FIELD.Transparency = FIELD.Transparency + 0.2/25
  2705.                     end
  2706.                     FIELD:remove()
  2707.                 end))
  2708.             elseif RANDOMEFFECT == 3 then
  2709.                 for i = 1, 10 do
  2710.                     wait(0.15)
  2711.                     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})
  2712.                     coroutine.resume(coroutine.create(function()
  2713.                         local MINION = CLONE:Clone()
  2714.                         MINION.Parent = Effects
  2715.                         MINION.Name = "Shadow"
  2716.                         MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  2717.                         MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
  2718.                         for _, c in pairs(MINION:GetChildren()) do
  2719.                             if c.ClassName == "Part" then
  2720.                                 c.Material = "Neon"
  2721.                                 c.Color = C3(0,0,0)
  2722.                                 c.Transparency = 0.25
  2723.                                 if c.Name == "Head" then
  2724.                                     c:ClearAllChildren()
  2725.                                     local MSH = IT("BlockMesh",c)
  2726.                                     MSH.Scale = VT(0.5,1,1)
  2727.                                 end
  2728.                             end
  2729.                         end
  2730.                         local TORSO = MINION.Torso
  2731.                         local HUMAN = MINION.Humanoid
  2732.                         HUMAN.WalkSpeed = 20
  2733.                         HUMAN.MaxHealth = math.huge
  2734.                         HUMAN.Health = math.huge
  2735.                         HUMAN.DisplayDistanceType = "None"
  2736.                         HUMAN.Died:connect(function()
  2737.                             MINION:remove()
  2738.                             --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
  2739.                         end)
  2740.                         wait(1)
  2741.                         local findNearestTorso = function(POS)
  2742.                             local list = game.Workspace:GetDescendants()
  2743.                             local torso = nil
  2744.                             local dist = 500
  2745.                             local temp = nil
  2746.                             local human = nil
  2747.                             local temp2 = nil
  2748.                             for x = 1, #list do
  2749.                                 temp2 = list[x]
  2750.                                 if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
  2751.                                     temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  2752.                                     human = temp2:findFirstChildOfClass("Humanoid")
  2753.                                     if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  2754.                                         if (temp.Position - POS).magnitude < dist then
  2755.                                             torso = temp
  2756.                                             dist = (temp.Position - POS).magnitude
  2757.                                         end
  2758.                                     end
  2759.                                 end
  2760.                             end
  2761.                             return torso, dist
  2762.                         end
  2763.                         for i = 1, 40 do
  2764.                             if HUMAN.Health == 0 then
  2765.                                 break
  2766.                             end
  2767.                             wait(0.3)
  2768.                             local target,dist= findNearestTorso(TORSO.Position)
  2769.                             if target then
  2770.                                 HUMAN:MoveTo(target.Position)
  2771.                                 if dist < 25 then
  2772.                                     CreateSound(348663022, TORSO, 10, 1, true)
  2773.                                     wait(2)
  2774.                                     --local ANIM = HUMAN:LoadAnimation(ATANIM)
  2775.                                     --ANIM:Play()
  2776.                                     --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
  2777.                                     ApplyAoE(TORSO.Position,10,0,0,85,true)
  2778.                                     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})
  2779.                                     for i = 1, 5 do
  2780.                                         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})
  2781.                                     end
  2782.                                     break
  2783.                                 end
  2784.                             end
  2785.                         end
  2786.                         MINION:remove()
  2787.                     end))
  2788.                 end
  2789.             elseif RANDOMEFFECT == 4 then
  2790.                 local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  2791.                 FIELD.Color = C3(0,0,0)
  2792.                 FIELD.CFrame = BASE.CFrame
  2793.                 MakeForm(FIELD,"Ball")
  2794.                 FIELD.CanCollide = true
  2795.                 for i = 1, 50 do
  2796.                     Swait()
  2797.                     FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  2798.                     FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  2799.                 end
  2800.                 wait(0.2)
  2801.                 local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
  2802.                 coroutine.resume(coroutine.create(function()
  2803.                     local E = 0
  2804.                     for i = 1, 75 do
  2805.                         E = E + 1
  2806.                         Swait()
  2807.                         if E >= 35 then
  2808.                             E = 0
  2809.                             WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, 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})
  2810.                         end
  2811.                         LOOP.Volume = LOOP.Volume + 10/75
  2812.                         LOOP.Parent = FIELD
  2813.                         local CHILDREN = workspace:GetDescendants()
  2814.                         for index, CHILD in pairs(CHILDREN) do
  2815.                             if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2816.                                 local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2817.                                 if HUM then
  2818.                                     local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2819.                                     if TORSO then
  2820.                                         if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  2821.                                             for _, c in pairs(CHILD:GetChildren()) do
  2822.                                                 if c:IsA("BasePart") then
  2823.                                                     local bv = Instance.new("BodyVelocity")
  2824.                                                     bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2825.                                                     bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  2826.                                                     bv.Parent = c
  2827.                                                     Debris:AddItem(bv,0.05)
  2828.                                                 end
  2829.                                             end
  2830.                                             HUM.Health = HUM.Health - 0.3
  2831.                                         end
  2832.                                     end
  2833.                                 end
  2834.                             end
  2835.                         end
  2836.                         FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
  2837.                     end
  2838.                     for i = 1, 180 do
  2839.                         E = E + 1
  2840.                         Swait()
  2841.                         if E >= 35 then
  2842.                             E = 0
  2843.                             WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, 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})
  2844.                         end
  2845.                         LOOP.Parent = FIELD
  2846.                         local CHILDREN = workspace:GetDescendants()
  2847.                         for index, CHILD in pairs(CHILDREN) do
  2848.                             if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2849.                                 local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2850.                                 if HUM then
  2851.                                     local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2852.                                     if TORSO then
  2853.                                         if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  2854.                                             for _, c in pairs(CHILD:GetChildren()) do
  2855.                                                 if c:IsA("BasePart") then
  2856.                                                     local bv = Instance.new("BodyVelocity")
  2857.                                                     bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2858.                                                     bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  2859.                                                     bv.Parent = c
  2860.                                                     Debris:AddItem(bv,0.05)
  2861.                                                 end
  2862.                                             end
  2863.                                             HUM.Health = HUM.Health - 0.3
  2864.                                         end
  2865.                                     end
  2866.                                 end
  2867.                             end
  2868.                         end
  2869.                     end
  2870.                     ApplyAoE(FIELD.Position,40,15,20,375,false)
  2871.                     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})
  2872.                     for i = 1, 5 do
  2873.                         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})
  2874.                     end
  2875.                     FIELD:remove()
  2876.                 end))
  2877.             elseif RANDOMEFFECT == 5 then
  2878.             end
  2879.             wait(0.5)
  2880.             for i = 1, 25 do
  2881.                 Swait()
  2882.                 PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
  2883.             end
  2884.             PANDORASBOX:remove()
  2885.             RINGSPIN = false
  2886.         end))
  2887.         ATTACK = false
  2888.         Rooted = false
  2889.     end
  2890. end
  2891.  
  2892. function TimeSweep()
  2893.     ATTACK = true
  2894.     Rooted = false
  2895.     for i=0, 0.5, 0.1 / Animation_Speed do
  2896.         Swait()
  2897.         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)
  2898.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 1*SIZE, -0.3*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)
  2899.     end
  2900.     for e = 1, #BODY do
  2901.         if BODY[e] ~= nil then
  2902.             local STUFF = BODY[e]
  2903.             local PART = STUFF[1]
  2904.             if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  2905.                 local PRT = PART:Clone()
  2906.                 PRT.Anchored = true
  2907.                 PRT.CanCollide = false
  2908.                 PRT.Material = "Neon"
  2909.                 PRT.Color = C3(1,0,0)
  2910.                 PRT.Name = "WarpEffect"
  2911.                 PRT.Parent = Effects
  2912.                 PRT.CFrame = PART.CFrame
  2913.                 PRT:BreakJoints()
  2914.                 if PRT:FindFirstChildOfClass("Sound") then
  2915.                     PRT:FindFirstChildOfClass("Sound"):remove()
  2916.                 end
  2917.                 if PRT:FindFirstChildOfClass("Decal") then
  2918.                     PRT:FindFirstChildOfClass("Decal"):remove()
  2919.                 end
  2920.                 coroutine.resume(coroutine.create(function()
  2921.                     for i = 1, 100 do
  2922.                         Swait()
  2923.                         PRT.Transparency = PRT.Transparency + 1/100
  2924.                     end
  2925.                     PRT:remove()
  2926.                 end))
  2927.             end
  2928.         end
  2929.     end
  2930.     local POS = RootPart.Orientation
  2931.     RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  2932.     RootPart.Orientation = POS
  2933.     RootJoint.Parent = RootPart
  2934.     for i=0, 0.5, 0.1 / Animation_Speed do
  2935.         Swait()
  2936.         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)
  2937.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 1*SIZE, -0.3*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)
  2938.      end
  2939.     for i=0, 0.1, 0.1 / Animation_Speed do
  2940.         Swait()
  2941.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 1*SIZE, -0.3*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)
  2942.     end
  2943.     ATTACK = false
  2944.     Rooted = false
  2945. end
  2946.  
  2947. function Taunt()
  2948.     chatfunc("Just don't bore me yeah")
  2949.     ATTACK = true
  2950.     Rooted = true
  2951.     local TAUNT = CreateSound(159882635, Torso,17, 1, false)
  2952.     repeat
  2953.         Swait()
  2954.         TAUNT.Parent = Torso
  2955.         TAUNT.Playing = true
  2956.         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(0)), 1 / Animation_Speed)
  2957.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02*SIZE, 0*SIZE, 0.4*SIZE + ((1*SIZE) - 1*SIZE)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  2958.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1*SIZE, 0.5*SIZE, -0.45*SIZE) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2959.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1*SIZE, 0.15*SIZE, -0.45*SIZE) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2960.         RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2961.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2962.     until TAUNT.TimePosition >= 1.25
  2963.     for i=0, 1.6, 0.1 / Animation_Speed do
  2964.         Swait()
  2965.         TAUNT.Parent = Torso
  2966.         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(5)), 1 / Animation_Speed)
  2967.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.4*SIZE + ((1*SIZE) - 1*SIZE)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  2968.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1*SIZE, 0.5*SIZE, -0.45*SIZE) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2969.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1*SIZE, 0.15*SIZE, -0.45*SIZE) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2970.         RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2971.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2972.     end
  2973.     ATTACK = false
  2974.     Rooted = false
  2975. end
  2976.  
  2977. function Smite()
  2978.     local RING, MESH, DELET = MakeRing()
  2979.     local POS = Mouse.Hit.p
  2980.     RING.CFrame = CF(Mouse.Hit.p + VT(MRANDOM(-25, 25), 200, MRANDOM(-25, 25)), Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0))
  2981.     for i = 1, 45 do
  2982.         Swait()
  2983.         MESH.Scale = MESH.Scale + VT(12, 0, 12)
  2984.         RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2985.     end
  2986.     local HITFLOOR, HITPOS = Raycast(RING.Position, CF(RING.Position, RING.CFrame * CF(0, -1, 0).p).lookVector, 500, Character)
  2987.     if HITFLOOR then
  2988.         local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really red"), "Beam", VT(0, 0, 0), true)
  2989.         MakeForm(BEAM, "Cyl")
  2990.         local DIST = (RING.Position - HITPOS).Magnitude
  2991.         BEAM.Size = VT(0, DIST, 0)
  2992.         BEAM.CFrame = CF(RING.Position, HITPOS) * CF(0, 0, -DIST / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
  2993.         for i = 1, 5 do
  2994.             WACKYEFFECT({
  2995.                 EffectType = "Wave",
  2996.                 Size = VT(25, 0, 25),
  2997.                 Size2 = VT(40, 0, 40) + VT(i * 6, i / 5, i * 6),
  2998.                 Transparency = 0,
  2999.                 Transparency2 = 1,
  3000.                 CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  3001.                 MoveToPos = nil,
  3002.                 RotationX = 0,
  3003.                 RotationY = 3,
  3004.                 RotationZ = 0,
  3005.                 Material = "Neon",
  3006.                 Color = C3(0, 0, 0),
  3007.                 SoundID = nil,
  3008.                 SoundPitch = nil,
  3009.                 SoundVolume = nil
  3010.             })
  3011.             WACKYEFFECT({
  3012.                 EffectType = "Round Slash",
  3013.                 Size = VT(3, 0, 3) / 13,
  3014.                 Size2 = (VT(3, 0, 3) + VT(i, 0, i)) / 5,
  3015.                 Transparency = 0,
  3016.                 Transparency2 = 1,
  3017.                 CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-35, 35)), RAD(0), RAD(MRANDOM(-35, 35))),
  3018.                 MoveToPos = nil,
  3019.                 RotationX = 0,
  3020.                 RotationY = 0,
  3021.                 RotationZ = 0,
  3022.                 Material = "Neon",
  3023.                 Color = C3(1, 0, 0),
  3024.                 SoundID = nil,
  3025.                 SoundPitch = nil,
  3026.                 SoundVolume = nil
  3027.             })
  3028.             WACKYEFFECT({
  3029.                 Time = 35,
  3030.                 EffectType = "Sphere",
  3031.                 Size = VT(22, 22, 22),
  3032.                 Size2 = VT(45, 45, 45) + VT(i * 5, i * 5, i * 5),
  3033.                 Transparency = 0,
  3034.                 Transparency2 = 1,
  3035.                 CFrame = CF(HITPOS),
  3036.                 MoveToPos = nil,
  3037.                 RotationX = 0,
  3038.                 RotationY = 0,
  3039.                 RotationZ = 0,
  3040.                 Material = "Neon",
  3041.                 Color = C3(0, 0, 0),
  3042.                 SoundID = 459523898,
  3043.                 SoundPitch = MRANDOM(9, 12) / 10,
  3044.                 SoundVolume = 10
  3045.             })
  3046.         end
  3047.         SHAKECAM(HITPOS, 100, 8, 15)
  3048.         ApplyAoE(HITPOS, 50)
  3049.         for i = 1, 25 do
  3050.             Swait()
  3051.             BEAM.Size = BEAM.Size + VT(0.5, 0, 0.5)
  3052.             BEAM.Transparency = BEAM.Transparency + 0.04
  3053.         end
  3054.         BEAM:remove()
  3055.     end
  3056.     wait(0.2)
  3057.     DELET()
  3058. end
  3059.  
  3060. function Earthquake()
  3061.     ATTACK = true
  3062.     Rooted = true
  3063.     local GYRO = IT("BodyGyro", RootPart)
  3064.     GYRO.D = 20
  3065.     GYRO.P = 4000
  3066.     GYRO.MaxTorque = VT(0, 40000, 0)
  3067.     local RING, MESH, DELET = MakeRing()
  3068.     local HITFLOOR, HITPOS = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
  3069.     RING.CFrame = CF(HITPOS)
  3070.     for i = 0, 0.6, 0.1 / Animation_Speed do
  3071.         GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  3072.         Swait()
  3073.         MESH.Scale = MESH.Scale + VT(53, 0, 53)
  3074.         RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  3075.         WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3076.         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)
  3077.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  3078.     end
  3079.     local BLASTS = {468991944, 468991990}
  3080.     coroutine.resume(coroutine.create(function()
  3081.         local CFRAME = RootPart.CFrame
  3082.         for i = 1, 100 do
  3083.             CFRAME = CFRAME * CF(0, 0, -35)
  3084.             do
  3085.                 local HITFLOOR, HITPOS = Raycast(CFRAME.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
  3086.                 if HITFLOOR then
  3087.                     Swait()
  3088.                     do
  3089.                         local OFFSET = CFRAME * CF(MRANDOM(-25, 25), 0, 0)
  3090.                         coroutine.resume(coroutine.create(function()
  3091.                             local RING, MESH, DELET = MakeRing()
  3092.                             RING.CFrame = CF(OFFSET.p.X, HITPOS.Y, OFFSET.p.Z)
  3093.                             for i = 1, 25 do
  3094.                                 Swait()
  3095.                                 MESH.Scale = MESH.Scale + VT(42, 0, 42)
  3096.                                 RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  3097.                             end
  3098.                             ApplyAoE(RING.Position, 65)
  3099.                             SHAKECAM(RING.Position, 80, 15, 30)
  3100.                             local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
  3101.                             WACKYEFFECT({
  3102.                                 Time = 25,
  3103.                                 EffectType = "Sphere",
  3104.                                 Size = VT(22, 22, 22),
  3105.                                 Size2 = VT(85, 85, 85),
  3106.                                 Transparency = 0,
  3107.                                 Transparency2 = 1,
  3108.                                 CFrame = CF(RING.Position),
  3109.                                 MoveToPos = nil,
  3110.                                 RotationX = 0,
  3111.                                 RotationY = 0,
  3112.                                 RotationZ = 0,
  3113.                                 Material = "Neon",
  3114.                                 Color = C3(0, 0, 0),
  3115.                                 SoundID = BLASTS[MRANDOM(1, #BLASTS)],
  3116.                                 SoundPitch = MRANDOM(9, 12) / 10,
  3117.                                 SoundVolume = 10
  3118.                             })
  3119.                             for e = 1, 3 do
  3120.                                 WACKYEFFECT({
  3121.                                     EffectType = "Wave",
  3122.                                     Size = VT(25, 0, 25),
  3123.                                     Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
  3124.                                     Transparency = 0,
  3125.                                     Transparency2 = 1,
  3126.                                     CFrame = CF(RING.Position) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  3127.                                     MoveToPos = nil,
  3128.                                     RotationX = 0,
  3129.                                     RotationY = 3,
  3130.                                     RotationZ = 0,
  3131.                                     Material = "Neon",
  3132.                                     Color = C3(0, 0, 0),
  3133.                                     SoundID = nil,
  3134.                                     SoundPitch = nil,
  3135.                                     SoundVolume = nil
  3136.                                 })
  3137.                                 WACKYEFFECT({
  3138.                                     Time = 35,
  3139.                                     EffectType = "Sphere",
  3140.                                     Size = VT(22, 45, 22),
  3141.                                     Size2 = VT(25, 45 + e * 75, 25),
  3142.                                     Transparency = 0,
  3143.                                     Transparency2 = 1,
  3144.                                     CFrame = CF(RING.Position) * TURN,
  3145.                                     MoveToPos = nil,
  3146.                                     RotationX = 0,
  3147.                                     RotationY = 0,
  3148.                                     RotationZ = 0,
  3149.                                     Material = "Neon",
  3150.                                     Color = C3(0, 0, 0),
  3151.                                     SoundID = nil,
  3152.                                     SoundPitch = MRANDOM(9, 12) / 10,
  3153.                                     SoundVolume = 10
  3154.                                 })
  3155.                             end
  3156.                             wait(0.3)
  3157.                             DELET()
  3158.                         end))
  3159.                     end
  3160.                 end
  3161.             end
  3162.         end
  3163.     end))
  3164.     Rooted = false
  3165.     DELET()
  3166.     GYRO:remove()
  3167.     ATTACK = false
  3168.     Rooted = false
  3169. end
  3170.  
  3171. function SpawnSmite(POS)
  3172.     local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  3173.     local EMITPOS = HITPOS
  3174.     if HITFLOOR ~= nil then
  3175.         if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  3176.             HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  3177.             EMITPOS = HITPOS
  3178.         elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  3179.             HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  3180.             EMITPOS = HITPOS
  3181.         end
  3182.     end
  3183.     if HITFLOOR ~= nil then
  3184.         ApplyAoE(EMITPOS,10)
  3185.         WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  3186.         WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3187.         WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3188.         for i = 1, 5 do
  3189.             local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  3190.             WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0,0.2), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  3191.         end
  3192.     end
  3193. end
  3194.  
  3195. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  3196.     coroutine.resume(coroutine.create(function()
  3197.         local METEOR = IT("Model",Effects)
  3198.         METEOR.Name = "Meteorite"
  3199.         local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  3200.         METEOR.PrimaryPart = CENTER
  3201.         local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  3202.         PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3203.         for i = 1, 15 do
  3204.             local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "Fire", VT(5.1,1,5.1)*SIZE)
  3205.             FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3206.         end
  3207.         if ISDEBREE ~= true then
  3208.             METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  3209.         else
  3210.             METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  3211.         end
  3212.         local IMPACT = false
  3213.         CreateSound(463593339, CENTER, 10, 0.6)
  3214.         if SIZE >= 3.5 then
  3215.             for i = 1, MRANDOM(3,7) do
  3216.                 SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
  3217.             end
  3218.         end
  3219.         for i = 1, 200 do
  3220.             Swait()
  3221.             local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  3222.             if HITFLOOR == nil then
  3223.                 local ORI = CENTER.Orientation
  3224.                 METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  3225.             else
  3226.                 if HITFLOOR.Anchored == true then
  3227.                     CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  3228.                     CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  3229.                 end
  3230.                 IMPACT = true
  3231.                 break
  3232.             end
  3233.         end
  3234.         if IMPACT == true then
  3235.             WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  3236.             WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
  3237.             WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  3238.             ApplyAoE(CENTER.Position,30*SIZE)
  3239.         end
  3240.         METEOR:remove()
  3241.     end))
  3242. end
  3243.  
  3244. function Smite2()
  3245.     ATTACK = true
  3246.     Rooted = false
  3247.     CreateSound(1368573150, RightArm, 3, 0.8)
  3248.     CreateSound(649634100, Torso, 10, 0.8)
  3249.     for i=0, 1.2, 0.1 / Animation_Speed do
  3250.         Swait()
  3251.         WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/2, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3252.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.5 + ((0.1) - 0.1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3253.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  3254.     end
  3255.     local POS = Mouse.Hit.p
  3256.     CreateSound(463593339, Effects, 3, 1)
  3257.     coroutine.resume(coroutine.create(function()
  3258.         for i = 1, 35 do
  3259.             wait(MRANDOM(35,45)/100)
  3260.             SpawnMeteor(CF(POS) * ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(0,1500)/10).p,MRANDOM(10,25)/10)
  3261.         end
  3262.     end))
  3263.     ATTACK = false
  3264.     Rooted = false
  3265. end
  3266.  
  3267. function Taunt()
  3268.     ATTACK = true
  3269.     Rooted = false
  3270.     TAUNT = true
  3271.     for i=0, 0.1, 0.1 / Animation_Speed do
  3272.         Swait()
  3273.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3274.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  3275.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  3276.     end
  3277.     for i=0, 3, 0.1 / Animation_Speed do
  3278.         Swait()
  3279.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3280.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3281.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(15)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3282.     end
  3283.     CreateSound(363808674, Torso, 10, 1.3)
  3284.     for i=0, 1, 0.1 / Animation_Speed do
  3285.         Swait()
  3286.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(120)), 3 / Animation_Speed)
  3287.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 3/ Animation_Speed)
  3288.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(230), RAD(0), RAD(35)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  3289.     end
  3290.     WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3291.     CreateSound(649634100, Torso, 10, 0.8)
  3292.     for i=0, 0.01, 0.1 / Animation_Speed do
  3293.         Swait()
  3294.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  3295.         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, 3 / Animation_Speed)
  3296.         LeftShoulder.C0 = Clerp(LeftShoulder.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)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  3297.     end
  3298.     ATTACK = false
  3299.     Rooted = false
  3300.     TAUNT = false
  3301. end
  3302.  
  3303. function Taunt2()
  3304.     ATTACK = true
  3305.     Rooted = true
  3306.     local TAUNT = CreateSound(159882303,Torso,10,1,false)
  3307.     coroutine.resume(coroutine.create(function()
  3308.         repeat
  3309.             Swait()
  3310.             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(0)), 0.15 / Animation_Speed)
  3311.             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)
  3312.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15*SIZE, 0.75*SIZE, -0.5*SIZE) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3313.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15*SIZE, 0.25*SIZE, -0.5*SIZE) * ANGLES(RAD(90), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3314.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3315.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3316.         until ATTACK == false
  3317.     end))
  3318.     repeat wait() until TAUNT.Playing == false
  3319.     ATTACK = false
  3320.     Rooted = false
  3321. end
  3322.  
  3323. function Prison_Key()
  3324.     if Mouse.Target ~= nil then
  3325.         if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3326.             local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  3327.             local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  3328.             local GYRO = IT("BodyGyro",RootPart)
  3329.             GYRO.D = 750
  3330.             GYRO.P = 20000
  3331.             GYRO.MaxTorque = VT(0,40000000,0)
  3332.             local grav = Instance.new("BodyPosition",TORSO)
  3333.             grav.D = 15
  3334.             grav.P = 20000
  3335.             grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  3336.             grav.position = TORSO.Position
  3337.             local GYRO2 = IT("BodyGyro",TORSO)
  3338.             GYRO2.D = 750
  3339.             GYRO2.P = 20000
  3340.             GYRO2.MaxTorque = VT(0,40000000,0)
  3341.             GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  3342.             grav.Name = "Jail"
  3343.             local LOCKPARTS = {}
  3344.             ATTACK = true
  3345.             Rooted = false
  3346.             local LOCK = IT("Model",Effects)
  3347.             LOCK.Name = "Lock"
  3348.             local LOCK2 = IT("Model",LOCK)
  3349.             LOCK2.Name = "Metal"
  3350.             --CREATE LOCK--
  3351.                 local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Really black", "Keylock", VT(3, 2.5, 1))
  3352.                 LOCK.PrimaryPart = BASE
  3353.                 BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  3354.                 local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Really black", "Keylock", VT(3, 1, 3))
  3355.                 PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  3356.                 MakeForm(PRT,"Cyl")
  3357.                 local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(1, 1, 1))
  3358.                 PRT.Color = C3(0.58,0.58,0.58)
  3359.                 PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  3360.                 MakeForm(PRT,"Cyl")
  3361.                 local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(0.5, 1, 1))
  3362.                 PRT.Color = C3(0.58,0.58,0.58)
  3363.                 PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  3364.                 for i = 1, 45 do
  3365.                     local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  3366.                     PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  3367.                 end
  3368.                 local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  3369.                 PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  3370.                 LOCK2.PrimaryPart = PRT
  3371.             ---------------
  3372.             local CHILDREN = LOCK:GetDescendants()
  3373.             for index, CHILD in pairs(CHILDREN) do
  3374.                 if CHILD:IsA("BasePart") then
  3375.                     CHILD.Transparency = 1
  3376.                 end
  3377.             end
  3378.             for i = 1, 75 do
  3379.                 LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  3380.                 Swait()
  3381.                 GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  3382.                 GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  3383.                 local CHILDREN = LOCK:GetDescendants()
  3384.                 for index, CHILD in pairs(CHILDREN) do
  3385.                     if CHILD:IsA("BasePart") then
  3386.                         CHILD.Transparency = CHILD.Transparency - 1/75
  3387.                     end
  3388.                 end
  3389.             end
  3390.             HUM.DisplayDistanceType = "None"
  3391.             local KEY = IT("Model",Effects)
  3392.             KEY.Name = "Key"
  3393.             --CREATE KEY--
  3394.                 local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Black", "KeyBase", VT(0.1, 1, 0.1),false)
  3395.                 KEY.PrimaryPart = KBASE
  3396.                 KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  3397.                 local WLD = weldBetween(RightArm,KBASE)
  3398.                 for i = 1, 45 do
  3399.                     local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Black", "Key", VT(0.1, 0.1, 0.1),false)
  3400.                     PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  3401.                     weldBetween(KBASE,PRT)
  3402.                 end
  3403.                 local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Black", "Key", VT(0.3, 0.1, 0.1),false)
  3404.                 PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  3405.                 weldBetween(KBASE,PRT)
  3406.                 local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Black", "Key", VT(0.3, 0.1, 0.1),false)
  3407.                 PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  3408.                 weldBetween(KBASE,PRT)
  3409.             --------------
  3410.             Rooted = true
  3411.             Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  3412.             coroutine.resume(coroutine.create(function()
  3413.                 for i = 1, 10 do
  3414.                     Swait()
  3415.                     GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  3416.                     GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  3417.                 end
  3418.                 CreateSound(1149318312,BASE,5,1,false)
  3419.                 CreateSound(160772554,BASE,3,1,false)
  3420.                 LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  3421.                 for i = 1, 4 do
  3422.                     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"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3423.                 end
  3424.                 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"Lavender".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  3425.                 wait(1)
  3426.                 TORSO.Parent.Parent = LOCK
  3427.                 for i = 1, 75 do
  3428.                     Swait()
  3429.                     local CHILDREN = KEY:GetDescendants()
  3430.                     for index, CHILD in pairs(CHILDREN) do
  3431.                         if CHILD:IsA("BasePart") then
  3432.                             CHILD.Transparency = i/25
  3433.                         end
  3434.                     end
  3435.                     local CHILDREN = LOCK:GetDescendants()
  3436.                     for index, CHILD in pairs(CHILDREN) do
  3437.                         if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  3438.                             CHILD.Transparency = CHILD.Transparency + 1/75
  3439.                         elseif CHILD.ClassName == "Decal" then
  3440.                             CHILD.Transparency = CHILD.Transparency + 1/75
  3441.                         end
  3442.                     end
  3443.                 end
  3444.                 TORSO.Parent:ClearAllChildren()
  3445.                 KEY:remove()
  3446.                 LOCK:remove()
  3447.             end))
  3448.             Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  3449.             GYRO:remove()
  3450.             ATTACK = false
  3451.             Rooted = false
  3452.         end
  3453.     end
  3454. end
  3455.  
  3456. function Endless_Pain()
  3457.     local HITBODIES = {}
  3458.     local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  3459.     if HITFLOOR ~= nil then
  3460.         CreateSound("463598785", RootPart, 10, 0.8)
  3461.         ATTACK = true
  3462.         Rooted = true
  3463.         VALUE1 = true
  3464.         for i = 1, 500 do
  3465.             Swait()
  3466.             AddChildrenToTable(HITPOS, workspace, i / 3, HITBODIES)
  3467.             Slice("Round", 0.5 + i / 50, 35, CF(HITPOS + VT(0*SIZE, 0.1*SIZE, 0*SIZE), HITPOS + VT(0, 0.1, 0) + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Mid grey", VT(0.001, 0, 0.001))
  3468.             Slice("Round", 0.5 + i / 50, 45, CF(HITPOS + VT(0*SIZE, 0.1*SIZE, 0*SIZE), HITPOS + VT(0, 0.1, 0) + NORMAL) * ANGLES(RAD(90), RAD(MRANDOM(-180, 180)), RAD(0)), "Mid grey", VT(0, 0, 0))
  3469.             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)
  3470.             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)
  3471.             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)
  3472.             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)
  3473.             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)
  3474.             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)
  3475.             for e = 1, #HITBODIES do
  3476.                 if HITBODIES[e] ~= nil then
  3477.                     local BOD = HITBODIES[e]
  3478.                     local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  3479.                     if TORS and TORS:FindFirstChild("BV") == nil then
  3480.                         local bv = Instance.new("BodyVelocity")
  3481.                         bv.Name = "BV"
  3482.                         bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  3483.                         bv.velocity = CF(TORS.Position, TORS.Position + VT(0, 1, 0)).lookVector * 20
  3484.                         bv.Parent = TORS
  3485.                         Debris:AddItem(bv, 0.1)
  3486.                     end
  3487.                 end
  3488.             end
  3489.         end
  3490.         coroutine.resume(coroutine.create(function()
  3491.             for e = 1, #HITBODIES do
  3492.                 Swait()
  3493.                 if HITBODIES[e] ~= nil then
  3494.                     local BOD = HITBODIES[e]
  3495.                     for i = 1, #HITBODIES do
  3496.                         if HITBODIES[i] == BOD and i ~= e then
  3497.                             table.remove(HITBODIES, i)
  3498.                         end
  3499.                     end
  3500.                     local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  3501.                     if TORS then
  3502.                         TORS.Anchored = false
  3503.                         CreateSound("92597369", TORS, 10, 0.8)
  3504.                         Slice("Thin", 1, 35, CF(TORS.Position, HITPOS) * ANGLES(RAD(0), RAD(-90), RAD(0)), "Really red", VT(0.01, 0, 0.01))
  3505.                         BOD:BreakJoints()
  3506.                         for _, c in pairs(BOD:GetChildren()) do
  3507.                             if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  3508.                                 local bv = Instance.new("BodyVelocity")
  3509.                                 bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  3510.                                 bv.velocity = CF(HITPOS, c.Position).lookVector * 250
  3511.                                 bv.Parent = c
  3512.                                 Debris:AddItem(bv, 0.2)
  3513.                             end
  3514.                         end
  3515.                     end
  3516.                 end
  3517.             end
  3518.         end))
  3519.         VALUE1 = false
  3520.         ATTACK = false
  3521.         Rooted = false
  3522.     end
  3523. end
  3524.  
  3525. function Inferno_Ring()
  3526.     ATTACK = true
  3527.     Rooted = false
  3528.     local GYRO = IT("BodyGyro",RootPart)
  3529.     GYRO.D = 750
  3530.     GYRO.P = 20000
  3531.     GYRO.MaxTorque = VT(0,40000000,0)
  3532.     local FIRE = IT("Model",Effects)
  3533.     FIRE.Name = "Fire"
  3534.     local MAIN = CreatePart(3, FIRE, "Neon", 0, 1, "Really red", "Center", VT(0,0,0))
  3535.     FIRE.PrimaryPart = MAIN
  3536.     local FIRES = {}
  3537.     for i = 1, 45 do
  3538.         local PRT = CreatePart(3, FIRE, "Neon", 0, 1, "Really red", "RingPart", VT(3,3,3))
  3539.         PRT.CFrame = MAIN.CFrame*ANGLES(RAD(0),RAD((360/45)*i),RAD(0))*CF(0,0,20)
  3540.         local F = Fire(PRT)
  3541.         table.insert(FIRES,F)
  3542.     end
  3543.     repeat
  3544.         FIRE:SetPrimaryPartCFrame(CF(Mouse.Hit.p))
  3545.         Pose("Cast1",1.5,0.01,false,GYRO)
  3546.     until HOLD == true
  3547.     coroutine.resume(coroutine.create(function()
  3548.         for i = 1, 4 do
  3549.             ApplyAoE(MAIN.Position,21,-15,true)
  3550.             CreateSound(463598785,MAIN,3,1,false)
  3551.             for E = 1, #FIRES do
  3552.                 if FIRES[E] ~= nil then
  3553.                     FIRES[E].Acceleration = VT(0,300,0)
  3554.                     FIRES[E].Lifetime=NumberRange.new(0.35,1.5)
  3555.                 end
  3556.             end
  3557.             wait(0.3)
  3558.         end
  3559.         for E = 1, #FIRES do
  3560.             if FIRES[E] ~= nil then
  3561.                 FIRES[E].Enabled = false
  3562.             end
  3563.         end
  3564.         Debris:AddItem(FIRE,5)
  3565.     end))
  3566.     CreateSound(215395388,RightArm,3,2,false)
  3567.     Pose("RightArmUp",1.5,0.5,true)
  3568.     GYRO:remove()
  3569.     ATTACK = false
  3570.     Rooted = false
  3571. end
  3572.  
  3573. function TakeOnMe()
  3574.     Speed = 5
  3575.     local MEME = CreateSound(1554763595, Effects, 2, 1, false)
  3576.     ATTACK = true
  3577.     Rooted = false
  3578.     local DANCE = true
  3579.     local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  3580.         if NEWKEY == "]" then
  3581.             DANCE = false
  3582.         end
  3583.     end)
  3584.     PLAYSONG = false
  3585.     while true do
  3586.         for i = 1, 15 do
  3587.             Swait()
  3588.             MEME.Parent = Effects
  3589.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 1 + 0.25*SIZE+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3590.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.4*SIZE + ((0) - 0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3591.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55*SIZE, 0.75*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3592.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55*SIZE, 0.75*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3593.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.6*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3594.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, 0*SIZE, -1*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3595.         end
  3596.         if DANCE == false then
  3597.             break
  3598.         end
  3599.         for i = 1, 15 do
  3600.             Swait()
  3601.             MEME.Parent = Effects
  3602.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 1 + -0.25*SIZE+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3603.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.4*SIZE + ((0) - 0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3604.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55*SIZE, 0.75*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3605.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55*SIZE, 0.75*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3606.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, 0*SIZE, -1*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3607.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.6*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3608.         end
  3609.     end
  3610.     PLAYSONG = true
  3611.     KEY:Disconnect()
  3612.     MEME:remove()
  3613.     Speed = 25
  3614.     ATTACK = false
  3615.     Rooted = false
  3616. end
  3617.  
  3618. function RavagingOverthrower()
  3619.     ATTACK = true
  3620.     Rooted = true
  3621. for i=0, 1, 0.1 / Animation_Speed do
  3622.         Swait()
  3623.         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)
  3624.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1.4 * SIZE) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3625.         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)
  3626.         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)
  3627.         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)
  3628.         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)
  3629.     end
  3630.     CreateSound("348663022", Torso, 5, 1)
  3631.     local StartPos = RootPart.CFrame * CF(0,15,0).p
  3632.     for i = 1, 5 do
  3633.         MagicSphere2(25,25,CF(StartPos),"Really black")
  3634.         Swait(15)
  3635.     end
  3636.     local soundeffect = IT("Sound",Torso)
  3637.     soundeffect.SoundId = "rbxassetid://487186990"
  3638.     soundeffect.Looped = true
  3639.     soundeffect.Volume = 3
  3640.     soundeffect.Playing = true
  3641.     repeat
  3642.         turnto(Mouse.Hit.p)
  3643.         MagicSphere2(25,25,CF(StartPos),"White")
  3644.         MagicSphere(25/10,25,CF(StartPos),"White")
  3645.         local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Mouse.Hit.p, 750, Character, false)
  3646.         local distance = (StartPos - RayPos).magnitude
  3647.         local RayBeam = IT("Part",Effects)
  3648.         RayBeam.Material = "Neon"
  3649.         RayBeam.Anchored = true
  3650.         RayBeam.BrickColor = BRICKC"Lavender"
  3651.         local mesh = IT("SpecialMesh",RayBeam)
  3652.         mesh.MeshType = "Cylinder"
  3653.         RayBeam.Size = Vector3.new(distance+10, 5, 5)
  3654.         RayBeam.CFrame = CFrame.new(StartPos, RayPos) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(0),RAD(90),RAD(0))
  3655.         MagicSphere(15,5,CF(RayPos),"Lavender")
  3656.         killnearest(RayPos,15,100)
  3657.         for i = 1, 3 do
  3658.             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")
  3659.         end
  3660.         Swait()
  3661.         if KEYHOLD == false then
  3662.             coroutine.resume(coroutine.create(function()
  3663.                 for i = 1, 5 do
  3664.                     RayBeam.Transparency = RayBeam.Transparency + 1/5
  3665.                     Swait()
  3666.                 end
  3667.                 RayBeam:remove()
  3668.             end))
  3669.         else
  3670.             RayBeam:remove()
  3671.         end
  3672.     until KEYHOLD == false
  3673.     soundeffect:remove()
  3674.     ATTACK = false
  3675.     Rooted = false
  3676. end
  3677.  
  3678. function Wall()
  3679.     local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 8, Character)
  3680.     if HITFLOOR ~= nil then
  3681.         if HITFLOOR.Anchored == true then
  3682.             local WALL = HITFLOOR:Clone()
  3683.             WALL.Size = VT(45,45,5)
  3684.             WALL.Parent = Effects
  3685.             WALL.Name = "Wall"
  3686.             WALL.CFrame = RootPart.CFrame*CF(0,-65/2.1,-5)*ANGLES(RAD(-15),RAD(0),RAD(0))
  3687.             CreateSound(130972023,WALL,5,0.8,false)
  3688.             ATTACK = true
  3689.             Rooted = true
  3690.             local HIT = WALL.Touched:Connect(function(hit)
  3691.                 if hit.Parent ~= Character then
  3692.                     hit:BreakJoints()
  3693.                 end
  3694.             end)
  3695.             coroutine.resume(coroutine.create(function()
  3696.                 WACKYEFFECT({Time = 35, EffectType = "Box", Size = WALL.Size, Size2 = WALL.Size*2, Transparency = 0, Transparency2 = 1, CFrame = WALL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3697.                 for i = 1, 90 do
  3698.                     Swait()
  3699.                     WALL.CFrame = WALL.CFrame*CF(0,0.5,0)
  3700.                 end
  3701.                 HIT:disconnect()
  3702.                 wait(5)
  3703.                 for i = 1, 46 do
  3704.                     Swait()
  3705.                     WALL.CFrame = WALL.CFrame*CF(0,-1,0)
  3706.                 end
  3707.                 WALL:remove()
  3708.             end))
  3709.             Pose("RightArmUp2",1.5,1.2,true)
  3710.             ATTACK = false
  3711.             Rooted = false
  3712.         end
  3713.     end
  3714. end
  3715.  
  3716. function Petrify(Foe)
  3717.     local STONEMODEL = IT("Model", Effects)
  3718.     local CHILDREN = Foe:GetDescendants()
  3719.     for index, CHILD in pairs(CHILDREN) do
  3720.         if CHILD:IsA("BasePart") and CHILD.Parent.ClassName ~= "Folder" then
  3721.             CHILD.Parent = STONEMODEL
  3722.             CHILD.Material = "Slate"
  3723.             CHILD.Color = C3(0.5, 0.5, 0.5)
  3724.             if CHILD:FindFirstChildOfClass("SpecialMesh") then
  3725.                 local mesh = CHILD:FindFirstChildOfClass("SpecialMesh")
  3726.                 mesh.TextureId = ""
  3727.             end
  3728.             if CHILD:FindFirstChildOfClass("Decal") then
  3729.                 local mesh = CHILD:FindFirstChildOfClass("Decal")
  3730.                 mesh:remove()
  3731.             end
  3732.             if CHILD.ClassName == "MeshPart" then
  3733.                 CHILD.TextureID = ""
  3734.             end
  3735.             if CHILD.ClassName == "UnionOperation" then
  3736.                 CHILD.UsePartColor = true
  3737.             end
  3738.             CHILD.CanCollide = true
  3739.         end
  3740.     end
  3741.     Debris:AddItem(STONEMODEL, 5)
  3742. end
  3743.  
  3744. function Stonewill()
  3745.     ATTACK = true
  3746.     Rooted = true
  3747.     if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3748.         local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  3749.         local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  3750.         if TORSO then
  3751.             local GYRO = IT("BodyGyro", RootPart)
  3752.             GYRO.D = 750
  3753.             GYRO.P = 2000
  3754.             GYRO.MaxTorque = VT(0, 40000, 0)
  3755.             CreateSound("907330103", Torso, 5, 1.1)
  3756.             for i = 0, 1.6, 0.1 / Animation_Speed do
  3757.                 Swait()
  3758.                 WACKYEFFECT({
  3759.                     Time = 5,
  3760.                     EffectType = "Round Slash",
  3761.                     Size = VT(0, 0, 0),
  3762.                     Size2 = VT(0.01, 0, 0.01),
  3763.                     Transparency = 0.5,
  3764.                     Transparency2 = 1,
  3765.                     CFrame = CF(Head.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  3766.                     MoveToPos = nil,
  3767.                     RotationX = MRANDOM(-50, 50) / 10,
  3768.                     RotationY = MRANDOM(-50, 50) / 10,
  3769.                     RotationZ = MRANDOM(-50, 50) / 10,
  3770.                     Material = "Neon",
  3771.                     Color = C3(1, 0, 0),
  3772.                     SoundID = nil,
  3773.                     SoundPitch = nil,
  3774.                     SoundVolume = nil
  3775.                 })
  3776.                 GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  3777.                 RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.2 / Animation_Speed)
  3778.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.5) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.2 / Animation_Speed)
  3779.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.8, 0.8 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(120), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-45)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3780.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3781.                 if ANIM == "Idle" then
  3782.                     RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3783.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3784.                 elseif ANIM == "Walk" then
  3785.                     RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3786.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3787.                 elseif ANIM == "Jump" or ANIM == "Fall" then
  3788.                     RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  3789.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3790.                 end
  3791.             end
  3792.             GYRO:remove()
  3793.             for i = 1, 15 do
  3794.                 WACKYEFFECT({
  3795.                     Time = MRANDOM(15, 85),
  3796.                     EffectType = "Round Slash",
  3797.                     Size = VT(0, 0, 0),
  3798.                     Size2 = VT(0.3, 0, 0.3),
  3799.                     Transparency = 0.5,
  3800.                     Transparency2 = 1,
  3801.                     CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  3802.                     MoveToPos = nil,
  3803.                     RotationX = MRANDOM(-50, 50) / 10,
  3804.                     RotationY = MRANDOM(-50, 50) / 10,
  3805.                     RotationZ = MRANDOM(-50, 50) / 10,
  3806.                     Material = "Neon",
  3807.                     Color = C3(1, 0, 0),
  3808.                     SoundID = nil,
  3809.                     SoundPitch = nil,
  3810.                     SoundVolume = nil
  3811.                 })
  3812.             end
  3813.             local bv = Instance.new("BodyVelocity")
  3814.             bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  3815.             bv.velocity = CF(Torso.Position, TORSO.Position).lookVector * 5
  3816.             bv.Parent = TORSO
  3817.             Debris:AddItem(bv, 0.05)
  3818.             CreateSound("1222405264", TORSO, 10, 0.9)
  3819.             Petrify(HUM.Parent)
  3820.             for i = 0, 0.5, 0.1 / Animation_Speed do
  3821.                 Swait()
  3822.                 WACKYEFFECT({
  3823.                     Time = 5,
  3824.                     EffectType = "Round Slash",
  3825.                     Size = VT(0, 0, 0),
  3826.                     Size2 = VT(0.01, 0, 0.01),
  3827.                     Transparency = 0.5,
  3828.                     Transparency2 = 1,
  3829.                     CFrame = CF(Head.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  3830.                     MoveToPos = nil,
  3831.                     RotationX = MRANDOM(-50, 50) / 10,
  3832.                     RotationY = MRANDOM(-50, 50) / 10,
  3833.                     RotationZ = MRANDOM(-50, 50) / 10,
  3834.                     Material = "Neon",
  3835.                     Color = C3(1, 0, 0),
  3836.                     SoundID = nil,
  3837.                     SoundPitch = nil,
  3838.                     SoundVolume = nil
  3839.                 })
  3840.                 GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  3841.                 RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 2 / Animation_Speed)
  3842.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.5) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 2 / Animation_Speed)
  3843.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.8, 0.8 + 0.025 * COS(SINE / 22), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  3844.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3845.                 if ANIM == "Idle" then
  3846.                     RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3847.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3848.                 elseif ANIM == "Walk" then
  3849.                     RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3850.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3851.                 elseif ANIM == "Jump" or ANIM == "Fall" then
  3852.                     RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  3853.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3854.                 end
  3855.             end
  3856.         end
  3857.     end
  3858.     ATTACK = false
  3859.     Rooted = false
  3860. end
  3861.  
  3862. --//=================================\\
  3863. --||      ASSIGN THINGS TO KEYS
  3864. --\\=================================//
  3865.  
  3866. function MouseDown(Mouse)
  3867.     HOLD = true
  3868.     if ATTACK == false then
  3869.     end
  3870. end
  3871.  
  3872. function MouseUp(Mouse)
  3873. HOLD = false
  3874. end
  3875.  
  3876. function KeyDown(Key)
  3877.     KEYHOLD = true
  3878.     if Key == "z" and ATTACK == false then
  3879.         if MODE == "Superior" then
  3880.             TimeSweep()
  3881.         elseif MODE == "JusticeHorn" then
  3882.             MagicMissiles()
  3883.         elseif MODE == "Maniac" then
  3884.             Wall()
  3885.         end
  3886.     end
  3887.    
  3888.     if Key == "x" and ATTACK == false then
  3889.         if MODE == "Superior" then
  3890.             Smite2()
  3891.         elseif MODE == "JusticeHorn" then
  3892.             PandorasBox()
  3893.         elseif MODE == "Maniac" then
  3894.             Inferno_Ring()
  3895.         end
  3896.     end
  3897.    
  3898.     if Key == "c" and ATTACK == false then
  3899.         if MODE == "Superior" then
  3900.             Smite()
  3901.         elseif MODE == "JusticeHorn" then
  3902.             ChainPunch()
  3903.         elseif MODE == "Maniac" then
  3904.             RavagingOverthrower()
  3905.         end
  3906.     end
  3907.  
  3908.     if Key == "v" and ATTACK == false then
  3909.         if MODE == "Superior" then
  3910.             Earthquake()
  3911.         elseif MODE == "JusticeHorn" then
  3912.             WarpMeteor()
  3913.         elseif MODE == "Maniac" then
  3914.             Endless_Pain()
  3915.         end
  3916.     end
  3917.    
  3918.     if Key == "b" and ATTACK == false then
  3919.         if MODE == "Superior" then
  3920.             Prison_Key()
  3921.         elseif MODE == "JusticeHorn" then
  3922.             TimesUp()
  3923.         elseif MODE == "Maniac" then
  3924.             Stonewill()
  3925.         end
  3926.     end
  3927.    
  3928.  
  3929.     if Key == "p" and ATTACK == false then
  3930.         TakeOnMe()
  3931.     end
  3932.  
  3933.     if Key == "1" and ATTACK == false then
  3934.         Taunt()
  3935.     end
  3936.  
  3937.     if Key == "2" and ATTACK == false then
  3938.         Taunt2()
  3939.     end
  3940.    
  3941.     if Key == "f" and ATTACK == false then
  3942.         Switch()   
  3943.     end
  3944.    
  3945.     if Key == "e" and ATTACK == false then
  3946.         Switch2()
  3947.     end
  3948.    
  3949.     if Key == "q" and ATTACK == false then
  3950.         Switch3()
  3951.     end
  3952. end
  3953.  
  3954. function KeyUp(Key)
  3955.     KEYHOLD = false
  3956. end
  3957.  
  3958.     Mouse.Button1Down:connect(function(NEWKEY)
  3959.         MouseDown(NEWKEY)
  3960.     end)
  3961.     Mouse.Button1Up:connect(function(NEWKEY)
  3962.         MouseUp(NEWKEY)
  3963.     end)
  3964.     Mouse.KeyDown:connect(function(NEWKEY)
  3965.         KeyDown(NEWKEY)
  3966.     end)
  3967.     Mouse.KeyUp:connect(function(NEWKEY)
  3968.         KeyUp(NEWKEY)
  3969.     end)
  3970.  
  3971. --//=================================\\
  3972. --\\=================================//
  3973.  
  3974.  
  3975. function unanchor()
  3976.     if UNANCHOR == true then
  3977.         RootPart.Anchored = false
  3978.     end
  3979.     g = Character:GetChildren()
  3980.     for i = 1, #g do
  3981.         if g[i].ClassName == "Part" and g[i] ~= RootPart then
  3982.             g[i].Anchored = false
  3983.         end
  3984.     end
  3985.     g = Weapon:GetChildren()
  3986.     for i = 1, #g do
  3987.         if g[i].ClassName == "Part" then
  3988.             g[i].Anchored = false
  3989.         end
  3990.     end
  3991. end
  3992.  
  3993.  
  3994. --//=================================\\
  3995. --||    WRAP THE WHOLE SCRIPT UP
  3996. --\\=================================//
  3997.  
  3998. Humanoid.Changed:connect(function(Jump)
  3999.     if Jump == "Jump" and (Disable_Jump == true) then
  4000.         Humanoid.Jump = false
  4001.     end
  4002. end)
  4003.  
  4004. while true do
  4005.     Swait()
  4006.     script.Parent = WEAPONGUI
  4007.     for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  4008.         v:Stop();
  4009.     end
  4010.     ANIMATE.Parent = nil
  4011.     SINE = SINE + CHANGE*1.5
  4012.     local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  4013.     local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  4014.     local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  4015.     local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  4016.     if ANIM == "Walk" and TORSOVELOCITY > 1 then
  4017.         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)
  4018.         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)
  4019.         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)
  4020.         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)
  4021.     elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  4022.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4023.         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)
  4024.         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)
  4025.         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)
  4026.     end
  4027.     if TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  4028.         ANIM = "Fall"
  4029.         if ATTACK == false then
  4030.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  4031.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  4032.             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)
  4033.             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)
  4034.             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)
  4035.             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)
  4036.         end
  4037.     elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  4038.         ANIM = "Idle"
  4039.         if ATTACK == false then
  4040.             if MODE == "Main" then
  4041.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4042.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.5 + ((0.1) - 0.1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4043.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.95, 0.75, 0) * ANGLES(RAD(0), RAD(-15), RAD(5 + 1 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4044.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.95, 0.75, 0) * ANGLES(RAD(0), RAD(15), RAD(-5 - 1 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  4045.             RightHip.C0 = Clerp(RightHip.C0, CF(1.45, -1.3 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4046.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.45, -1.3 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(-74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4047.             elseif MODE == "Superior" then
  4048.             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)
  4049.             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)
  4050.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 1*SIZE, -0.3*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)
  4051.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.35*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)
  4052.             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)
  4053.             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)
  4054.             elseif MODE == "JusticeHorn" then
  4055.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  4056.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.4*SIZE + ((0.1) - 0.1)) * ANGLES(RAD(-5 - 2.5 * COS(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  4057.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9*SIZE, 0.5*SIZE + 0.05*SIZE * SIN(SINE / 12), -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4058.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.9*SIZE, 0.25*SIZE + 0.05*SIZE * SIN(SINE / 12), -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4059.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  4060.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  4061.             elseif MODE == "Maniac" then
  4062.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  4063.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 1 / Animation_Speed)
  4064.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(52 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4065.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(-42 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4066.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(20), RAD(55), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  4067.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(10), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  4068.            end
  4069.         end
  4070.     elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  4071.         ANIM = "Walk"
  4072.         if ATTACK == false then
  4073.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.005 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  4074.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  4075.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4076.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4077.             RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4078.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4079.         end
  4080.     end
  4081.     unanchor()
  4082.     Humanoid.MaxHealth = "inf"
  4083.     Humanoid.Health = "inf"
  4084.     if Rooted == false then
  4085.         Disable_Jump = false
  4086.         Humanoid.WalkSpeed = Speed
  4087.     elseif Rooted == true then
  4088.         Disable_Jump = true
  4089.         Humanoid.WalkSpeed = 0
  4090.     end
  4091.     for _, c in pairs(Character:GetChildren()) do
  4092.         if c.ClassName == "Part" and c.Name ~= "Detail" then
  4093.             c.Material = "Fabric"
  4094.             if c:FindFirstChildOfClass("ParticleEmitter") then
  4095.                 c:FindFirstChildOfClass("ParticleEmitter"):remove()
  4096.             end
  4097.             if c ~= Head then
  4098.                 c.Color = C3(0,0,0)
  4099.             else
  4100.                 c.Color = C3(0,0,0)
  4101.             end
  4102.             if c == Head then
  4103.                 if c:FindFirstChild("face") then
  4104.                     c.face:remove()
  4105.                 end
  4106.             end
  4107.         elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  4108.             c:remove()
  4109.         elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  4110.             c:remove()
  4111.         end
  4112.     sick.SoundId = "rbxassetid://"..SONG
  4113.     sick.Looped = true
  4114.     sick.Pitch = 1
  4115.     sick.Volume = 1
  4116.     sick.Parent = Effects
  4117.     sick.Playing = PLAYSONG
  4118.     end
  4119.     Humanoid.Name = "The-Switcher = "..Player.Name
  4120. end
  4121.  
  4122. --//=================================\\
  4123. --\\=================================//
  4124.  
  4125.  
  4126.  
  4127.  
  4128.  
  4129. --//====================================================\\--
  4130. --||                     END OF SCRIPT
  4131. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement