Advertisement
Guest User

hah its switcher for fe

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