Advertisement
Tetezaza1542

dsadsadad

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