Advertisement
ForkFullFight

yes

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