Advertisement
Toey8415

hahaha (bug)

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