JasonLion

Switcher

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