daily pastebin goal
49%
SHARE
TWEET

yueeqe

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