Awooslayer699

SWITCH

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