daily pastebin goal
45%
SHARE
TWEET

Untitled

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