Advertisement
NoHackJustStevePlayz

Switcher V1 TEST

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