Advertisement
Veltr

Untitled

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