Advertisement
Im_Meme

Superior v2

Sep 14th, 2018
445
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 140.23 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. print("FE Compatibility code by Mokiros")
  6. local rp = RealPlayer
  7. script.Parent = rp.Character
  8.  
  9. --RemoteEvent for communicating
  10. local Event = Instance.new("RemoteEvent")
  11. Event.Name = "UserInput_Event"
  12.  
  13. --Fake event to make stuff like Mouse.KeyDown work
  14. local function fakeEvent()
  15. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  16. t.connect = t.Connect
  17. return t
  18. end
  19.  
  20. --Creating fake input objects with fake variables
  21. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  22. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  23. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  24. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  25. end}
  26. --Merged 2 functions into one by checking amount of arguments
  27. CAS.UnbindAction = CAS.BindAction
  28.  
  29. --This function will trigger the events that have been :Connect()'ed
  30. local function te(self,ev,...)
  31. local t = m[ev]
  32. if t and t._fakeEvent then
  33. for _,f in pairs(t.Functions) do
  34. f(...)
  35. end
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40.  
  41. Event.OnServerEvent:Connect(function(plr,io)
  42. if plr~=rp then return end
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. if not io.isMouse then
  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 Mouse = Player:GetMouse()
  66. local UIS = game:GetService("UserInputService")
  67. local input = function(io,a)
  68. if a then return end
  69. --Since InputObject is a client-side instance, we create and pass table instead
  70. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  71. end
  72. UIS.InputBegan:Connect(input)
  73. UIS.InputEnded:Connect(input)
  74.  
  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.  
  85. ----Sandboxed game object that allows the usage of client-side methods and services
  86. --Real game object
  87. local _rg = game
  88.  
  89. --Metatable for fake service
  90. local fsmt = {
  91. __index = function(self,k)
  92. local s = rawget(self,"_RealService")
  93. if s then return s[k] end
  94. end,
  95. __newindex = function(self,k,v)
  96. local s = rawget(self,"_RealService")
  97. if s then s[k]=v end
  98. end,
  99. __call = function(self,...)
  100. local s = rawget(self,"_RealService")
  101. if s then return s(...) end
  102. end
  103. }
  104. local function FakeService(t,RealService)
  105. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  106. return setmetatable(t,fsmt)
  107. end
  108.  
  109. --Fake game object
  110. local g = {
  111. GetService = function(self,s)
  112. return self[s]
  113. end,
  114. Players = FakeService({
  115. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  116. },"Players"),
  117. UserInputService = FakeService(UIS,"UserInputService"),
  118. ContextActionService = FakeService(CAS,"ContextActionService"),
  119. }
  120. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  121. g.service = g.GetService
  122.  
  123. g.RunService = FakeService({
  124. RenderStepped = _rg:GetService("RunService").Heartbeat,
  125. BindToRenderStep = function(self,name,_,fun)
  126. self._btrs[name] = self.Heartbeat:Connect(fun)
  127. end,
  128. UnbindFromRenderStep = function(self,name)
  129. self._btrs[name]:Disconnect()
  130. end,
  131. },"RunService")
  132.  
  133. setmetatable(g,{
  134. __index=function(self,s)
  135. return _rg:GetService(s) or typeof(_rg[s])=="function"
  136. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  137. end,
  138. __newindex = fsmt.__newindex,
  139. __call = fsmt.__call
  140. })
  141. --Changing owner to fake player object to support owner:GetMouse()
  142. game,owner = g,g.Players.LocalPlayer
  143. end
  144.  
  145. --//====================================================\\--
  146. --|| SUPERIOR V2 BY KILLERZTH_1596
  147. --\\====================================================//--
  148.  
  149. wait(0.2)
  150.  
  151. Player = game:GetService("Players").LocalPlayer
  152. PlayerGui = Player.PlayerGui
  153. Cam = workspace.CurrentCamera
  154. Backpack = Player.Backpack
  155. Character = Player.Character
  156. Humanoid = Character.Humanoid
  157. Mouse = Player:GetMouse()
  158. RootPart = Character["HumanoidRootPart"]
  159. Torso = Character["Torso"]
  160. Head = Character["Head"]
  161. RightArm = Character["Right Arm"]
  162. LeftArm = Character["Left Arm"]
  163. RightLeg = Character["Right Leg"]
  164. LeftLeg = Character["Left Leg"]
  165. RootJoint = RootPart["RootJoint"]
  166. Neck = Torso["Neck"]
  167. RightShoulder = Torso["Right Shoulder"]
  168. LeftShoulder = Torso["Left Shoulder"]
  169. RightHip = Torso["Right Hip"]
  170. LeftHip = Torso["Left Hip"]
  171. Character.Archivable = true
  172. Player:ClearCharacterAppearance()
  173.  
  174. IT = Instance.new
  175. CF = CFrame.new
  176. VT = Vector3.new
  177. RAD = math.rad
  178. C3 = Color3.new
  179. UD2 = UDim2.new
  180. BRICKC = BrickColor.new
  181. ANGLES = CFrame.Angles
  182. EULER = CFrame.fromEulerAnglesXYZ
  183. COS = math.cos
  184. ACOS = math.acos
  185. SIN = math.sin
  186. ASIN = math.asin
  187. ABS = math.abs
  188. MRANDOM = math.random
  189. FLOOR = math.floor
  190.  
  191. --//=================================\\
  192. --|| USEFUL VALUES
  193. --\\=================================//
  194.  
  195. Animation_Speed = 3
  196. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  197. local Speed = 25
  198. local SIZE = 1.4
  199. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  200. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  201. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  202. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  203. local DAMAGEMULTIPLIER = 1
  204. local ANIM = "Idle"
  205. local ATTACK = false
  206. local EQUIPPED = false
  207. local HOLD = false
  208. local COMBO = 1
  209. local Rooted = false
  210. local SINE = 0
  211. local KEYHOLD = false
  212. local CHANGE = 2 / Animation_Speed
  213. local WALKINGANIM = false
  214. local VALUE1 = false
  215. local VALUE2 = false
  216. local ROBLOXIDLEANIMATION = IT("Animation")
  217. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  218. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  219. local ATANIM = IT("Animation")
  220. ATANIM.Name = "Attack Animation"
  221. ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
  222. --ROBLOXIDLEANIMATION.Parent = Humanoid
  223. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  224. WEAPONGUI.Name = "Weapon GUI"
  225. local Weapon = IT("Model")
  226. Weapon.Name = "Adds"
  227. local Effects = IT("Folder", Weapon)
  228. Effects.Name = "Effects"
  229. local ANIMATOR = Humanoid.Animator
  230. local ANIMATE = Character.Animate
  231. local UNANCHOR = true
  232. local CLOCKLOOP = 0
  233. local SONG = 1873219898
  234. local CLOCKTARGET = nil
  235. local CLOCKSPEED = 1.5
  236. script.Parent = WEAPONGUI
  237. local CLONE = Character:Clone()
  238. CLONE.Parent = nil
  239. Character.Archivable = false
  240. local sick = Instance.new("Sound",Torso)
  241. local TAUNT = false
  242. Player_Size = 1.4
  243. local PLAYSONG = true
  244.  
  245. --//=================================\\
  246. --\\=================================//
  247.  
  248.  
  249. --//=================================\\
  250. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  251. --\\=================================//
  252.  
  253. ArtificialHB = Instance.new("BindableEvent", script)
  254. ArtificialHB.Name = "ArtificialHB"
  255.  
  256. script:WaitForChild("ArtificialHB")
  257.  
  258. frame = Frame_Speed
  259. tf = 0
  260. allowframeloss = false
  261. tossremainder = false
  262. lastframe = tick()
  263. script.ArtificialHB:Fire()
  264.  
  265. game:GetService("RunService").Heartbeat:connect(function(s, p)
  266. tf = tf + s
  267. if tf >= frame then
  268. if allowframeloss then
  269. script.ArtificialHB:Fire()
  270. lastframe = tick()
  271. else
  272. for i = 1, math.floor(tf / frame) do
  273. script.ArtificialHB:Fire()
  274. end
  275. lastframe = tick()
  276. end
  277. if tossremainder then
  278. tf = 0
  279. else
  280. tf = tf - frame * math.floor(tf / frame)
  281. end
  282. end
  283. end)
  284.  
  285. --//=================================\\
  286. --\\=================================//
  287.  
  288. --//=================================\\
  289. --|| SOME TAG EDIT
  290. --\\=================================//
  291.  
  292. m = game.Players.LocalPlayer
  293. char = m.Character
  294. local txt = Instance.new("BillboardGui", char)
  295. txt.Adornee = char.Head
  296. txt.Name = "_status"
  297. txt.Size = UDim2.new(2, 0, 1.2, 0)
  298. txt.StudsOffset = Vector3.new(-9, 8, 0)
  299. local text = Instance.new("TextLabel", txt)
  300. text.Size = UDim2.new(10, 0, 7, 0)
  301. text.FontSize = "Size24"
  302. text.TextScaled = true
  303. text.TextTransparency = 0
  304. text.BackgroundTransparency = 1
  305. text.TextTransparency = 0
  306. text.TextStrokeTransparency = 0
  307. text.Font = "Bodoni"
  308. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  309. v = Instance.new("Part")
  310. v.Name = "ColorBrick"
  311. v.Parent = m.Character
  312. v.FormFactor = "Symmetric"
  313. v.Anchored = true
  314. v.CanCollide = false
  315. v.BottomSurface = "Smooth"
  316. v.TopSurface = "Smooth"
  317. v.Size = Vector3.new(10, 5, 3)
  318. v.Transparency = 1
  319. v.CFrame = char.Torso.CFrame
  320. v.BrickColor = BrickColor.new("Really black")
  321. v.Transparency = 1
  322. v.Shape = "Block"
  323. spawn(function()
  324. local TweenService = game:GetService("TweenService")
  325. local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(0,0,0),Color3.fromRGB(255,0,0),Color3.fromRGB(0,0,0),Color3.fromRGB(255,0,0),Color3.fromRGB(0,0,0),Color3.fromRGB(255,0,0),Color3.fromRGB(0,0,0)}
  326. local Int = 0
  327. while wait(0.5) do
  328. if Int == #Colours then Int = 0 end
  329. Int = Int+1
  330. TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  331. end
  332. end)
  333. text.Text = "Superior V2.5"
  334.  
  335. --//=================================\\
  336. --\\=================================//
  337.  
  338. --//=================================\\
  339. --|| SOME FUNCTIONS
  340. --\\=================================//
  341.  
  342. local EyeSizes={
  343. NumberSequenceKeypoint.new(0,2,0),
  344. NumberSequenceKeypoint.new(1,0,0)
  345. }
  346. local EyeTrans={
  347. NumberSequenceKeypoint.new(0,0.5,0),
  348. NumberSequenceKeypoint.new(1,1,0)
  349. }
  350. local PE=Instance.new("ParticleEmitter",nil)
  351. PE.LightEmission=.8
  352. PE.Color = ColorSequence.new(BRICKC("Crimson").Color,BRICKC("Really red").Color)
  353. PE.Size=NumberSequence.new(EyeSizes)
  354. PE.Transparency=NumberSequence.new(EyeTrans)
  355. PE.Lifetime=NumberRange.new(0.35,1)
  356. PE.Rotation=NumberRange.new(0,360)
  357. PE.Rate=100
  358. PE.VelocitySpread = 10000
  359. PE.Acceleration = Vector3.new(0,85,0)
  360. PE.Drag = 5
  361. PE.Speed = NumberRange.new(0.1,5)
  362. PE.Texture="http://www.roblox.com/asset/?id=1460745664"
  363. PE.ZOffset = 0.5
  364. PE.Name = "PE"
  365. PE.Enabled = false
  366. function Fire(art)
  367. local PARTICLES = PE:Clone()
  368. PARTICLES.Parent = art
  369. PARTICLES.Enabled = true
  370. return PARTICLES
  371. end
  372.  
  373. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  374. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  375. local mesh
  376. if KIND == "Base" then
  377. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  378. elseif KIND == "Thin" then
  379. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  380. elseif KIND == "Round" then
  381. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  382. end
  383. wave.CFrame = CFRAME
  384. coroutine.resume(coroutine.create(function(PART)
  385. for i = 1, WAIT do
  386. Swait()
  387. mesh.Scale = mesh.Scale + GROW / 10
  388. wave.Transparency = wave.Transparency + 0.5 / WAIT
  389. if wave.Transparency > 0.99 then
  390. wave:remove()
  391. end
  392. end
  393. end))
  394. end
  395.  
  396. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  397. for _, c in pairs(PARENT:GetChildren()) do
  398. if c.ClassName == "Model" then
  399. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  400. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  401. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  402. if DIST > (TORSO.Position - FROM).Magnitude then
  403. table.insert(TABLE, c)
  404. end
  405. AddChildrenToTable(FROM, c, DIST, TABLE)
  406. elseif c.ClassName == "Folder" then
  407. AddChildrenToTable(FROM, c, DIST, TABLE)
  408. end
  409. end
  410. end
  411. end
  412.  
  413. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  414. PLAYMAINANIM = false
  415. if WhichPose == "Cast1" then
  416. for i=0, Time, 0.1 / Animation_Speed do
  417. Swait()
  418. if Magic == true then
  419. 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})
  420. end
  421. if Gyro ~= nil and Gyro ~= false then
  422. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  423. end
  424. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 1*SIZE + 0.25*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  425. 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)
  426. 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)
  427. 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)
  428. 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)
  429. 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)
  430. end
  431. elseif WhichPose == "Cast2" then
  432. for i=0, Time, 0.1 / Animation_Speed do
  433. Swait()
  434. if Magic == true then
  435. 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})
  436. 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})
  437. end
  438. if Gyro ~= nil and Gyro ~= false then
  439. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  440. end
  441. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  442. 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)
  443. 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)
  444. 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)
  445. 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)
  446. 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)
  447. end
  448. elseif WhichPose == "Prepare key" then
  449. for i=0, Time, 0.1 / Animation_Speed do
  450. Swait()
  451. if Gyro ~= nil and Gyro ~= false then
  452. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  453. end
  454. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 1*SIZE + 0.25*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
  455. 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)
  456. 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)
  457. 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)
  458. 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)
  459. 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)
  460. end
  461. elseif WhichPose == "Turn key" then
  462. for i=0, Time, 0.1 / Animation_Speed do
  463. Swait()
  464. if Gyro ~= nil and Gyro ~= false then
  465. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  466. end
  467. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 1*SIZE + 0.25*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
  468. 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)
  469. 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)
  470. 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)
  471. 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)
  472. 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)
  473. end
  474. end
  475. PLAYMAINANIM = true
  476. end
  477.  
  478.  
  479. local EyeSizes={
  480. NumberSequenceKeypoint.new(0,1,0),
  481. NumberSequenceKeypoint.new(1,0,0)
  482. }
  483. local EyeTrans={
  484. NumberSequenceKeypoint.new(0,0.8,0),
  485. NumberSequenceKeypoint.new(1,1,0)
  486. }
  487. local PE=Instance.new("ParticleEmitter",nil)
  488. PE.LightEmission=.8
  489. PE.Color = ColorSequence.new(BRICKC("Really red").Color)
  490. PE.Size=NumberSequence.new(EyeSizes)
  491. PE.Transparency=NumberSequence.new(EyeTrans)
  492. PE.Lifetime=NumberRange.new(0.35,1.5)
  493. PE.Rotation=NumberRange.new(0,360)
  494. PE.Rate=999
  495. PE.VelocitySpread = 10000
  496. PE.Acceleration = Vector3.new(0,0,0)
  497. PE.Drag = 5
  498. PE.Speed = NumberRange.new(0,0,0)
  499. PE.Texture="http://www.roblox.com/asset/?id=1351966707"
  500. PE.ZOffset = -0
  501. PE.Name = "PE"
  502. PE.Enabled = false
  503.  
  504. function particles(art)
  505. local PARTICLES = PE:Clone()
  506. PARTICLES.Parent = art
  507. end
  508.  
  509. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  510. if FLOOR ~= nil then
  511. coroutine.resume(coroutine.create(function()
  512. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  513. PART.CFrame = CF(POSITION)
  514. for i = 1, 45 do
  515. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  516. RingPiece.Material = FLOOR.Material
  517. RingPiece.Color = FLOOR.Color
  518. 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)))
  519. Debris:AddItem(RingPiece,SWAIT)
  520. end
  521. PART:remove()
  522. end))
  523. end
  524. end
  525.  
  526. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  527. if FLOOR ~= nil then
  528. for i = 1, AMOUNT do
  529. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  530. DEBREE.Material = FLOOR.Material
  531. DEBREE.Color = FLOOR.Color
  532. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  533. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  534. coroutine.resume(coroutine.create(function()
  535. Swait(15)
  536. DEBREE.Parent = workspace
  537. DEBREE.CanCollide = true
  538. Debris:AddItem(DEBREE,SWAIT)
  539. end))
  540. end
  541. end
  542. end
  543.  
  544. local DECAL = IT("Decal")
  545. function MakeRing()
  546. local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
  547. local MSH = IT("BlockMesh", RING)
  548. local TOP = DECAL:Clone()
  549. local BOTTOM = DECAL:Clone()
  550. TOP.Parent = RING
  551. BOTTOM.Parent = RING
  552. TOP.Face = "Top"
  553. BOTTOM.Face = "Bottom"
  554. TOP.Texture = "http://www.roblox.com/asset/?id=273474310"
  555. BOTTOM.Texture = "http://www.roblox.com/asset/?id=273474310"
  556. local function REMOVE()
  557. coroutine.resume(coroutine.create(function()
  558. local SIZE = MSH.Scale.X
  559. for i = 1, 35 do
  560. Swait()
  561. MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  562. TOP.Transparency = TOP.Transparency + 0.02857142857142857
  563. BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  564. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  565. end
  566. RING:remove()
  567. end))
  568. end
  569. return RING, MSH, REMOVE
  570. end
  571.  
  572. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  573. local TORSO = Torso
  574. local HUM = Humanoid
  575. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  576. coroutine.wrap(function()
  577. VT = Vector3.new
  578. MRANDOM = math.random
  579. local A = TIME
  580. local B = INTENSITY
  581. local C = true
  582. local HUMANOID = Humanoid
  583. local TIMER = A or 35
  584. local SHAKE = B or 5
  585. local FADE = C or true
  586. if HUMANOID then
  587. local FADER = SHAKE / TIMER
  588. for i = 1, TIMER do
  589. wait()
  590. 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)
  591. end
  592. HUMANOID.CameraOffset = VT(0, 0, 0)
  593. end
  594.  
  595. end)()
  596. end
  597. end
  598.  
  599. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  600. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  601. end
  602.  
  603. function PositiveAngle(NUMBER)
  604. if NUMBER >= 0 then
  605. NUMBER = 0
  606. end
  607. return NUMBER
  608. end
  609.  
  610. function NegativeAngle(NUMBER)
  611. if NUMBER <= 0 then
  612. NUMBER = 0
  613. end
  614. return NUMBER
  615. end
  616.  
  617. function Swait(NUMBER)
  618. if NUMBER == 0 or NUMBER == nil then
  619. ArtificialHB.Event:wait()
  620. else
  621. for i = 1, NUMBER do
  622. ArtificialHB.Event:wait()
  623. end
  624. end
  625. end
  626.  
  627. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  628. local NEWMESH = IT(MESH)
  629. if MESH == "SpecialMesh" then
  630. NEWMESH.MeshType = MESHTYPE
  631. if MESHID ~= "nil" and MESHID ~= "" then
  632. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  633. end
  634. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  635. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  636. end
  637. end
  638. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  639. NEWMESH.Scale = SCALE
  640. NEWMESH.Parent = PARENT
  641. return NEWMESH
  642. end
  643.  
  644. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  645. local NEWPART = IT("Part")
  646. NEWPART.formFactor = FORMFACTOR
  647. NEWPART.Reflectance = REFLECTANCE
  648. NEWPART.Transparency = TRANSPARENCY
  649. NEWPART.CanCollide = false
  650. NEWPART.Locked = true
  651. NEWPART.Anchored = true
  652. if ANCHOR == false then
  653. NEWPART.Anchored = false
  654. end
  655. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  656. NEWPART.Name = NAME
  657. NEWPART.Size = SIZE
  658. NEWPART.Position = Torso.Position
  659. NEWPART.Material = MATERIAL
  660. NEWPART:BreakJoints()
  661. NEWPART.Parent = PARENT
  662. return NEWPART
  663. end
  664.  
  665. local function weldBetween(a, b)
  666. local weldd = Instance.new("ManualWeld")
  667. weldd.Part0 = a
  668. weldd.Part1 = b
  669. weldd.C0 = CFrame.new()
  670. weldd.C1 = b.CFrame:inverse() * a.CFrame
  671. weldd.Parent = a
  672. return weldd
  673. end
  674.  
  675.  
  676. function QuaternionFromCFrame(cf)
  677. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  678. local trace = m00 + m11 + m22
  679. if trace > 0 then
  680. local s = math.sqrt(1 + trace)
  681. local recip = 0.5 / s
  682. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  683. else
  684. local i = 0
  685. if m11 > m00 then
  686. i = 1
  687. end
  688. if m22 > (i == 0 and m00 or m11) then
  689. i = 2
  690. end
  691. if i == 0 then
  692. local s = math.sqrt(m00 - m11 - m22 + 1)
  693. local recip = 0.5 / s
  694. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  695. elseif i == 1 then
  696. local s = math.sqrt(m11 - m22 - m00 + 1)
  697. local recip = 0.5 / s
  698. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  699. elseif i == 2 then
  700. local s = math.sqrt(m22 - m00 - m11 + 1)
  701. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  702. end
  703. end
  704. end
  705.  
  706. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  707. local xs, ys, zs = x + x, y + y, z + z
  708. local wx, wy, wz = w * xs, w * ys, w * zs
  709. local xx = x * xs
  710. local xy = x * ys
  711. local xz = x * zs
  712. local yy = y * ys
  713. local yz = y * zs
  714. local zz = z * zs
  715. 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))
  716. end
  717.  
  718. function QuaternionSlerp(a, b, t)
  719. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  720. local startInterp, finishInterp;
  721. if cosTheta >= 0.0001 then
  722. if (1 - cosTheta) > 0.0001 then
  723. local theta = ACOS(cosTheta)
  724. local invSinTheta = 1 / SIN(theta)
  725. startInterp = SIN((1 - t) * theta) * invSinTheta
  726. finishInterp = SIN(t * theta) * invSinTheta
  727. else
  728. startInterp = 1 - t
  729. finishInterp = t
  730. end
  731. else
  732. if (1 + cosTheta) > 0.0001 then
  733. local theta = ACOS(-cosTheta)
  734. local invSinTheta = 1 / SIN(theta)
  735. startInterp = SIN((t - 1) * theta) * invSinTheta
  736. finishInterp = SIN(t * theta) * invSinTheta
  737. else
  738. startInterp = t - 1
  739. finishInterp = t
  740. end
  741. end
  742. 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
  743. end
  744.  
  745. function Clerp(a, b, t)
  746. local qa = {QuaternionFromCFrame(a)}
  747. local qb = {QuaternionFromCFrame(b)}
  748. local ax, ay, az = a.x, a.y, a.z
  749. local bx, by, bz = b.x, b.y, b.z
  750. local _t = 1 - t
  751. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  752. end
  753.  
  754. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  755. local frame = IT("Frame")
  756. frame.BackgroundTransparency = TRANSPARENCY
  757. frame.BorderSizePixel = BORDERSIZEPIXEL
  758. frame.Position = POSITION
  759. frame.Size = SIZE
  760. frame.BackgroundColor3 = COLOR
  761. frame.BorderColor3 = BORDERCOLOR
  762. frame.Name = NAME
  763. frame.Parent = PARENT
  764. return frame
  765. end
  766.  
  767. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  768. local label = IT("TextLabel")
  769. label.BackgroundTransparency = 1
  770. label.Size = UD2(1, 0, 1, 0)
  771. label.Position = UD2(0, 0, 0, 0)
  772. label.TextColor3 = TEXTCOLOR
  773. label.TextStrokeTransparency = STROKETRANSPARENCY
  774. label.TextTransparency = TRANSPARENCY
  775. label.FontSize = TEXTFONTSIZE
  776. label.Font = TEXTFONT
  777. label.BorderSizePixel = BORDERSIZEPIXEL
  778. label.TextStrokeColor3 = C3(1,1,1)
  779. label.TextScaled = false
  780. label.Text = TEXT
  781. label.Name = NAME
  782. label.Parent = PARENT
  783. return label
  784. end
  785.  
  786. function NoOutlines(PART)
  787. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  788. end
  789.  
  790. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  791. local NEWWELD = IT(TYPE)
  792. NEWWELD.Part0 = PART0
  793. NEWWELD.Part1 = PART1
  794. NEWWELD.C0 = C0
  795. NEWWELD.C1 = C1
  796. NEWWELD.Parent = PARENT
  797. return NEWWELD
  798. end
  799.  
  800. local S = IT("Sound")
  801. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  802. local NEWSOUND = nil
  803. coroutine.resume(coroutine.create(function()
  804. NEWSOUND = S:Clone()
  805. NEWSOUND.Parent = PARENT
  806. NEWSOUND.Volume = VOLUME
  807. NEWSOUND.Pitch = PITCH
  808. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  809. NEWSOUND:play()
  810. if DOESLOOP == true then
  811. NEWSOUND.Looped = true
  812. else
  813. repeat wait(1) until NEWSOUND.Playing == false
  814. NEWSOUND:remove()
  815. end
  816. end))
  817. return NEWSOUND
  818. end
  819.  
  820. function CFrameFromTopBack(at, top, back)
  821. local right = top:Cross(back)
  822. 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)
  823. end
  824.  
  825. --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})
  826. function WACKYEFFECT(Table)
  827. local TYPE = (Table.EffectType or "Sphere")
  828. local SIZE = (Table.Size or VT(1,1,1))
  829. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  830. local TRANSPARENCY = (Table.Transparency or 0)
  831. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  832. local CFRAME = (Table.CFrame or Torso.CFrame)
  833. local MOVEDIRECTION = (Table.MoveToPos or nil)
  834. local ROTATION1 = (Table.RotationX or 0)
  835. local ROTATION2 = (Table.RotationY or 0)
  836. local ROTATION3 = (Table.RotationZ or 0)
  837. local MATERIAL = (Table.Material or "Neon")
  838. local COLOR = (Table.Color or C3(1,1,1))
  839. local TIME = (Table.Time or 45)
  840. local SOUNDID = (Table.SoundID or nil)
  841. local SOUNDPITCH = (Table.SoundPitch or nil)
  842. local SOUNDVOLUME = (Table.SoundVolume or nil)
  843. coroutine.resume(coroutine.create(function()
  844. local PLAYSSOUND = false
  845. local SOUND = nil
  846. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  847. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  848. PLAYSSOUND = true
  849. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  850. end
  851. EFFECT.Color = COLOR
  852. local MSH = nil
  853. if TYPE == "Sphere" then
  854. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  855. elseif TYPE == "Block" then
  856. MSH = IT("BlockMesh",EFFECT)
  857. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  858. elseif TYPE == "Wave" then
  859. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  860. elseif TYPE == "Ring" then
  861. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  862. elseif TYPE == "Slash" then
  863. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  864. elseif TYPE == "Round Slash" then
  865. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  866. elseif TYPE == "Swirl" then
  867. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  868. elseif TYPE == "Skull" then
  869. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  870. elseif TYPE == "Crystal" then
  871. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  872. end
  873. if MSH ~= nil then
  874. local MOVESPEED = nil
  875. if MOVEDIRECTION ~= nil then
  876. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  877. end
  878. local GROWTH = SIZE - ENDSIZE
  879. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  880. if TYPE == "Block" then
  881. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  882. else
  883. EFFECT.CFrame = CFRAME
  884. end
  885. for LOOP = 1, TIME+1 do
  886. Swait()
  887. MSH.Scale = MSH.Scale - GROWTH/TIME
  888. if TYPE == "Wave" then
  889. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  890. end
  891. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  892. if TYPE == "Block" then
  893. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  894. else
  895. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  896. end
  897. if MOVEDIRECTION ~= nil then
  898. local ORI = EFFECT.Orientation
  899. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  900. EFFECT.Orientation = ORI
  901. end
  902. end
  903. if PLAYSSOUND == false then
  904. EFFECT:remove()
  905. else
  906. repeat Swait() until SOUND.Playing == false
  907. EFFECT:remove()
  908. end
  909. else
  910. if PLAYSSOUND == false then
  911. EFFECT:remove()
  912. else
  913. repeat Swait() until SOUND.Playing == false
  914. EFFECT:remove()
  915. end
  916. end
  917. end))
  918. end
  919.  
  920. function MakeForm(PART,TYPE)
  921. if TYPE == "Cyl" then
  922. local MSH = IT("CylinderMesh",PART)
  923. elseif TYPE == "Ball" then
  924. local MSH = IT("SpecialMesh",PART)
  925. MSH.MeshType = "Sphere"
  926. elseif TYPE == "Wedge" then
  927. local MSH = IT("SpecialMesh",PART)
  928. MSH.MeshType = "Wedge"
  929. end
  930. end
  931.  
  932. Debris = game:GetService("Debris")
  933.  
  934. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  935. local DIRECTION = CF(StartPos,EndPos).lookVector
  936. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  937. end
  938.  
  939. function turnto(position)
  940. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  941. end
  942.  
  943. --//=================================\\
  944. --|| WEAPON CREATION
  945. --\\=================================//
  946.  
  947. local BODY = {}
  948. for _, c in pairs(Character:GetDescendants()) do
  949. if c:IsA("BasePart") and c.Name ~= "Handle" then
  950. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  951. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  952. end
  953. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  954. elseif c:IsA("JointInstance") then
  955. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  956. end
  957. end
  958. for e = 1, #BODY do
  959. if BODY[e] ~= nil then
  960. local STUFF = BODY[e]
  961. local PART = STUFF[1]
  962. local PARENT = STUFF[2]
  963. local MATERIAL = STUFF[3]
  964. local COLOR = STUFF[4]
  965. local TRANSPARENCY = STUFF[5]
  966. if PART.ClassName == "Part" and PART ~= RootPart then
  967. PART.Material = MATERIAL
  968. PART.Color = COLOR
  969. PART.Transparency = TRANSPARENCY
  970. end
  971. PART.AncestryChanged:Connect(function()
  972. PART.Parent = PARENT
  973. end)
  974. end
  975. end
  976.  
  977. function refit()
  978. Character.Parent = workspace
  979. for e = 1, #BODY do
  980. if BODY[e] ~= nil then
  981. local STUFF = BODY[e]
  982. local PART = STUFF[1]
  983. local PARENT = STUFF[2]
  984. local MATERIAL = STUFF[3]
  985. local COLOR = STUFF[4]
  986. local TRANSPARENCY = STUFF[5]
  987. if PART.ClassName == "Part" and PART ~= RootPart then
  988. PART.Material = MATERIAL
  989. PART.Color = COLOR
  990. PART.Transparency = TRANSPARENCY
  991. end
  992. if PART.Parent ~= PARENT then
  993. Humanoid:remove()
  994. PART.Parent = PARENT
  995. Humanoid = IT("Humanoid",Character)
  996. end
  997. end
  998. end
  999. end
  1000.  
  1001. function chatfunc(text)
  1002. local chat = coroutine.wrap(function()
  1003. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1004. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1005. end
  1006. local Bill = Instance.new("BillboardGui",Character)
  1007. Bill.Size = UDim2.new(0,100,0,40)
  1008. Bill.StudsOffset = Vector3.new(0,3,0)
  1009. Bill.Adornee = Character.Head
  1010. Bill.Name = "TalkingBillBoard"
  1011. local Hehe = Instance.new("TextLabel",Bill)
  1012. Hehe.BackgroundTransparency = 1
  1013. Hehe.BorderSizePixel = 0
  1014. Hehe.Text = ""
  1015. Hehe.Font = "Fantasy"
  1016. Hehe.TextSize = 40
  1017. Hehe.TextStrokeTransparency = 0
  1018. Hehe.Size = UDim2.new(1,0,0.5,0)
  1019. coroutine.resume(coroutine.create(function()
  1020. while Hehe ~= nil do
  1021. wait()
  1022. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1023. Hehe.Rotation = math.random(-5,5)
  1024. Hehe.TextColor3 = Color3.new(0,0,0)
  1025. Hehe.TextStrokeColor3 = Color3.new(255,0,0)
  1026. end
  1027. end))
  1028. for i = 1,string.len(text),1 do
  1029. wait()
  1030. Hehe.Text = string.sub(text,1,i)
  1031. end
  1032. wait(3)--Re[math.random(1, 93)]
  1033. for i = 0, 1, .025 do
  1034. wait()
  1035. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1036. Hehe.TextStrokeTransparency = i
  1037. Hehe.TextTransparency = i
  1038. end
  1039. Bill:Destroy()
  1040. end)
  1041. chat()
  1042. end
  1043.  
  1044. function onChatted(msg)
  1045. chatfunc(msg)
  1046. end
  1047.  
  1048. Player.Chatted:connect(onChatted)
  1049.  
  1050. chatfunc("Hello Ordinary Dude..?")
  1051.  
  1052. Humanoid.Parent = nil
  1053. RootPart.Size = RootPart.Size*SIZE
  1054. Torso.Size = Torso.Size*SIZE
  1055. RightArm.Size = RightArm.Size*SIZE
  1056. RightLeg.Size = RightLeg.Size*SIZE
  1057. LeftArm.Size = LeftArm.Size*SIZE
  1058. LeftLeg.Size = LeftLeg.Size*SIZE
  1059. RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  1060. RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  1061. Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1062. Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1063. RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  1064. LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  1065. RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1066. LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1067. RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1068. LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1069. Head.Size = Head.Size*SIZE
  1070. RootJoint.Parent = RootPart
  1071. Neck.Parent = Torso
  1072. RightShoulder.Parent = Torso
  1073. LeftShoulder.Parent = Torso
  1074. RightHip.Parent = Torso
  1075. LeftHip.Parent = Torso
  1076.  
  1077. Humanoid.DisplayDistanceType = "None"
  1078. local top = Instance.new("Shirt")
  1079. top.ShirtTemplate = "rbxassetid://45695443"
  1080. top.Parent = Character
  1081. top.Name = "Cloth"
  1082. local bottom = Instance.new("Pants")
  1083. bottom.PantsTemplate = "rbxassetid://45696190"
  1084. bottom.Parent = Character
  1085. bottom.Name = "Cloth"
  1086. local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
  1087. PRT.Color = C3(0,0,0)
  1088. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
  1089. CreateMesh("SpecialMesh", PRT, "FileMesh", "26768040", "", VT(1,1,1)*SIZE, VT(0,0,0))
  1090. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
  1091. PRT.Color = C3(0,0,0)
  1092. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  1093. CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "", VT(1,1,1)*SIZE, VT(0,0,0))
  1094. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
  1095. PRT.Color = C3(255/255, 0/255, 0/255)
  1096. MakeForm(PRT,"Ball")
  1097. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  1098. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
  1099. PRT.Color = C3(255/255, 0/255, 0/255)
  1100. MakeForm(PRT,"Ball")
  1101. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
  1102. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  1103. PRT.Color = C3(255/255, 0/255, 0/255)
  1104. MakeForm(PRT,"Ball")
  1105. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  1106. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  1107. PRT.Color = C3(255/255, 0/255, 0/255)
  1108. MakeForm(PRT,"Ball")
  1109. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  1110. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  1111. PRT.Color = C3(255/255, 0/255, 0/255)
  1112. MakeForm(PRT,"Ball")
  1113. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
  1114. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  1115. PRT.Color = C3(255/255, 0/255, 0/255)
  1116. MakeForm(PRT,"Ball")
  1117. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
  1118.  
  1119. local LASTPART = Head
  1120. for i = 1, 8 do
  1121. local MATH = (1-(i/14))
  1122. if LASTPART == Head then
  1123. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1124. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(-250), RAD(-90)), CF(0, 0, 0))
  1125. LASTPART = Horn
  1126. Horn.Color = C3(255/255),(0/255),(0/255)
  1127. else
  1128. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1129. 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))
  1130. LASTPART = Horn
  1131. Horn.Color = C3(255/255),(0/255),(0/255)
  1132. end
  1133. end
  1134. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
  1135. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1136. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
  1137. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1138. MakeForm(PRT,"Cyl")
  1139. local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
  1140. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1141. MakeForm(PRT,"Cyl")
  1142. PRT.Color = C3(255/255, 0/255, 0/255)
  1143. local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
  1144. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1145. MakeForm(RING,"Cyl")
  1146. RING.Color = C3(0,0,0)
  1147. for i = 1, 12 do
  1148. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
  1149. PRT.Color = C3(0,0,0)
  1150. local MSH = IT("BlockMesh",PRT)
  1151. MSH.Scale = VT(0.6,1,1)
  1152. 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))
  1153. end
  1154. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
  1155. PRT.Color = C3(0,0,0)
  1156. local MSH = IT("BlockMesh",PRT)
  1157. MSH.Scale = VT(0.4,1,1)
  1158. 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))
  1159. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
  1160. PRT.Color = C3(0,0,0)
  1161. local MSH = IT("BlockMesh",PRT)
  1162. MSH.Scale = VT(0.4,1,1)
  1163. 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))
  1164. coroutine.resume(coroutine.create(function()
  1165. while true do
  1166. Swait()
  1167. CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
  1168. WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  1169. WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  1170. if CLOCKLOOP <= -150 then
  1171. if VALUE1 == false then
  1172. CLOCKLOOP = 0
  1173. 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(0/255, 0/255, 0/255), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 1})
  1174. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1175. ApplyAoE(HITPOS,10,15,45,75,false)
  1176. 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(0/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 1})
  1177. 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(0/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 1})
  1178. if CLOCKTARGET ~= nil then
  1179. CLOCKTARGET.Health = CLOCKTARGET.Health - 20
  1180. if CLOCKTARGET.Torso ~= nil then
  1181. CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  1182. end
  1183. if CLOCKTARGET.Health == 0 then
  1184. CLOCKTARGET = nil
  1185. end
  1186. end
  1187. end
  1188. end
  1189. end
  1190. end))
  1191.  
  1192. for _, c in pairs(Weapon:GetChildren()) do
  1193. if c.ClassName == "Part" then
  1194. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1195. end
  1196. end
  1197.  
  1198. Neck.Name = "Weld"
  1199. RootJoint.Name = "Weld"
  1200. RightShoulder.Name = "Weld"
  1201. LeftShoulder.Name = "Weld"
  1202. RightHip.Name = "Weld"
  1203. LeftHip.Name = "Weld"
  1204.  
  1205. local SKILLTEXTCOLOR = C3(255/255, 0/255, 0/255)
  1206. local SKILLFONT = "Fantasy"
  1207. local SKILLTEXTSIZE = 7
  1208.  
  1209. Weapon.Parent = Character
  1210. Humanoid.Parent = Character
  1211.  
  1212. Humanoid.Died:connect(function()
  1213. ATTACK = true
  1214. end)
  1215.  
  1216. --//=================================\\
  1217. --|| DAMAGING
  1218. --\\=================================//
  1219.  
  1220. function ApplyDamage(Humanoid,Damage,TorsoPart)
  1221. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1222. defence.Name = ("HitBy"..Player.Name)
  1223. game:GetService("Debris"):AddItem(defence, 0.001)
  1224. Damage = Damage * DAMAGEMULTIPLIER
  1225. if Humanoid.Health ~= 0 then
  1226. local CritChance = MRANDOM(1,100)
  1227. if Damage > Humanoid.Health then
  1228. Damage = math.ceil(Humanoid.Health)
  1229. if Damage == 0 then
  1230. Damage = 0.1
  1231. end
  1232. end
  1233. Humanoid.Health = Humanoid.Health - Damage
  1234. end
  1235. end
  1236.  
  1237. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1238. local CHILDREN = workspace:GetDescendants()
  1239. for index, CHILD in pairs(CHILDREN) do
  1240. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1241. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1242. if HUM then
  1243. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1244. if TORSO then
  1245. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1246. if INSTAKILL == true then
  1247. CHILD:BreakJoints()
  1248. else
  1249. local DMG = MRANDOM(MINDMG,MAXDMG)
  1250. ApplyDamage(HUM,DMG,TORSO)
  1251. end
  1252. if FLING > 0 then
  1253. for _, c in pairs(CHILD:GetChildren()) do
  1254. if c:IsA("BasePart") then
  1255. local bv = Instance.new("BodyVelocity")
  1256. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1257. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1258. bv.Parent = c
  1259. Debris:AddItem(bv,0.05)
  1260. end
  1261. end
  1262. end
  1263. end
  1264. end
  1265. end
  1266. end
  1267. end
  1268. end
  1269.  
  1270. --//=================================\\
  1271. --|| ATTACK FUNCTIONS AND STUFF
  1272. --\\=================================//
  1273.  
  1274. function ApplyAoE(POSITION,RANGE,FLING,BURN)
  1275. local CHILDREN = workspace:GetDescendants()
  1276. for index, CHILD in pairs(CHILDREN) do
  1277. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1278. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1279. if HUM then
  1280. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1281. if TORSO then
  1282. if HUM.Health > 0 and (TORSO.Position - POSITION).Magnitude <= RANGE then
  1283. CHILD:BreakJoints()
  1284. if FLING ~= 0 then
  1285. for _, c in pairs(CHILD:GetChildren()) do
  1286. if c:IsA("BasePart") and c.Transparency == 0 then
  1287. if BURN == true then
  1288. Fire(c)
  1289. end
  1290. local bv = Instance.new("BodyVelocity")
  1291. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1292. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1293. bv.Parent = c
  1294. Debris:AddItem(bv,0.05)
  1295. end
  1296. end
  1297. end
  1298. end
  1299. end
  1300. end
  1301. end
  1302. end
  1303. end
  1304.  
  1305. function MagicMissiles()
  1306. chatfunc("Justice rains from above.")
  1307. ATTACK = true
  1308. Rooted = true
  1309. local SELECTING = true
  1310. local SPOTS = {}
  1311. coroutine.resume(coroutine.create(function()
  1312. local LOOP = 0
  1313. repeat
  1314. LOOP = LOOP + 1
  1315. Swait()
  1316. if LOOP >= 10 then
  1317. LOOP = 0
  1318. for i = 1, #SPOTS do
  1319. if SPOTS[i] ~= nil then
  1320. 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, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1321. 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, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1322. end
  1323. end
  1324. end
  1325. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 1 + 0.25*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1326. 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)
  1327. 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)
  1328. 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)
  1329. 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)
  1330. 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)
  1331. until SELECTING == false
  1332. Rooted = false
  1333. repeat
  1334. LOOP = LOOP + 1
  1335. Swait()
  1336. if LOOP >= 10 then
  1337. LOOP = 0
  1338. for i = 1, #SPOTS do
  1339. if SPOTS[i] ~= nil then
  1340. 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, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1341. 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, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1342. end
  1343. end
  1344. end
  1345. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 1 + 0.25*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1346. 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)
  1347. 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)
  1348. 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)
  1349. 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)
  1350. 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)
  1351. until ATTACK == false
  1352. end))
  1353. repeat
  1354. repeat Swait() until HOLD == true
  1355. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  1356. if DIST > 1500 then
  1357. DIST = 1500
  1358. end
  1359. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  1360. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1361. if HITFLOOR ~= nil then
  1362. table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
  1363. 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, 0/255, 0/255), SoundID = 90655239, SoundPitch = 1, SoundVolume = 6})
  1364. 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, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1365. end
  1366. repeat Swait() until HOLD == false
  1367. until #SPOTS == 1
  1368. SELECTING = false
  1369. for i = 1, #SPOTS do
  1370. if SPOTS[i] ~= nil then
  1371. local POS = SPOTS[i]
  1372. coroutine.resume(coroutine.create(function()
  1373. local MISSILE = IT("Model",Effects)
  1374. MISSILE.Name = "Missile"
  1375. local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Really black", "Part", VT(2,2,2))
  1376. MakeForm(BASEPART,"Cyl")
  1377. MISSILE.PrimaryPart = BASEPART
  1378. BASEPART.CFrame = POS*CF(0,-30*3,0)
  1379. local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Really black", "Part", VT(2,4,2))
  1380. MakeForm(HEAD,"Ball")
  1381. HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
  1382. local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Really black", "Part", VT(2.5,0.1,2.5))
  1383. MakeForm(TAIL,"Cyl")
  1384. TAIL.CFrame = BASEPART.CFrame*CF(0,1,0)
  1385. for i = 1, 10 do
  1386. Swait()
  1387. for _, c in pairs(MISSILE:GetChildren()) do
  1388. if c.ClassName == "Part" then
  1389. c.Transparency = c.Transparency - 1/10
  1390. end
  1391. end
  1392. end
  1393. for i = 1, 15*1.5 do
  1394. Swait()
  1395. MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
  1396. end
  1397. ApplyAoE(BASEPART.CFrame.p,40,70,90,150,false)
  1398. 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(0/255, 0/255, 0/255), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
  1399. 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(0/255, 0/255, 0/255), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 4})
  1400. 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, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1401. 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, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1402. MISSILE:remove()
  1403. end))
  1404. end
  1405. end
  1406. wait(0.8)
  1407. ATTACK = false
  1408. Rooted = false
  1409. end
  1410.  
  1411. function TimesUp()
  1412. chatfunc("IT'S TIME TO STOP")
  1413. CLOCKTARGET = nil
  1414. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1415. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1416. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1417. if TORSO then
  1418. ATTACK = true
  1419. Rooted = false
  1420. coroutine.resume(coroutine.create(function()
  1421. repeat
  1422. Swait()
  1423. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 1 + 0.25*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1424. 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)
  1425. 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)
  1426. 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)
  1427. 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)
  1428. 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)
  1429. until ATTACK == false
  1430. end))
  1431. if Effects:FindFirstChild("NeonDoll") then
  1432. repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
  1433. end
  1434. wait(0.5)
  1435. local FAKECHARACTER = IT("Model",Effects)
  1436. FAKECHARACTER.Name = "NeonDoll"
  1437. local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Really black", "Part", VT(0.3,0.3,0.15),false)
  1438. CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
  1439. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Really black", "Part", VT(0.15,0.3,0.15),false)
  1440. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
  1441. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Really black", "Part", VT(0.15,0.3,0.15),false)
  1442. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
  1443. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Really black", "Part", VT(0.15,0.3,0.15),false)
  1444. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
  1445. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Really black", "Part", VT(0.15,0.3,0.15),false)
  1446. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
  1447. local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Really red", "Part", VT(0.15,0.15,0.15),false)
  1448. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  1449. CreateSound(201858045, TORS, 5, 0.4, false)
  1450. for i = 1, 150 do
  1451. Swait()
  1452. CLOCKSPEED = 0.5
  1453. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  1454. if c.ClassName == "Part" then
  1455. c.Transparency = c.Transparency - 0.5/150
  1456. end
  1457. end
  1458. end
  1459. CLOCKTARGET = HUM
  1460. coroutine.resume(coroutine.create(function()
  1461. repeat Swait() CLOCKSPEED = 5 until CLOCKTARGET == nil
  1462. for i = 1, 25 do
  1463. Swait()
  1464. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  1465. if c.ClassName == "Part" then
  1466. c.Transparency = c.Transparency + 0.5/25
  1467. end
  1468. end
  1469. end
  1470. CLOCKSPEED = 1.5
  1471. FAKECHARACTER:remove()
  1472. end))
  1473. wait(0.5)
  1474. ATTACK = false
  1475. Rooted = false
  1476. end
  1477. end
  1478. end
  1479.  
  1480. function ChainPunch()
  1481. chatfunc("SMASH!!!")
  1482. ATTACK = true
  1483. Rooted = false
  1484. local GYRO = IT("BodyGyro",RootPart)
  1485. GYRO.D = 25
  1486. GYRO.P = 2000
  1487. GYRO.MaxTorque = VT(0,40000,0)
  1488. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1489. repeat
  1490. Swait()
  1491. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1492. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 1 + 0.25*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1493. 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)
  1494. 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)
  1495. 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)
  1496. 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)
  1497. 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)
  1498. until HOLD == true
  1499. local POS = Mouse.Hit.p
  1500. local CHAINS = false
  1501. local CHAINLINKS = {}
  1502. local A = IT("Attachment",RightArm)
  1503. A.Position = VT(1,-1,0)*SIZE
  1504. A.Orientation = VT(-90, -89.982, 0)
  1505. local B = IT("Attachment",RightArm)
  1506. B.Position = VT(-1,-1,0)*SIZE
  1507. B.Orientation = VT(-90, 89.988, 0)
  1508. local C = IT("Attachment",RightArm)
  1509. C.Position = VT(0.5,-1.3,0)*SIZE
  1510. C.Orientation = VT(-90, -89.982, 0)
  1511. local D = IT("Attachment",RightArm)
  1512. D.Position = VT(-0.5,-1.3,0)*SIZE
  1513. D.Orientation = VT(-90, 89.988, 0)
  1514. local LIGHT = IT("Attachment",RightArm)
  1515. LIGHT.Position = VT(0,-1,0)*SIZE
  1516. local LIGHT2 = IT("PointLight",LIGHT)
  1517. LIGHT2.Range = 7
  1518. LIGHT2.Brightness = 5
  1519. LIGHT2.Color = C3(255/255, 0/255, 0/255)
  1520. for i = 1, 2 do
  1521. local TWIST = -2
  1522. local START = A
  1523. local END = B
  1524. if i == 1 then
  1525. START = B
  1526. END = A
  1527. end
  1528. local ChainLink = IT("Beam",Torso)
  1529. ChainLink.Texture = "rbxassetid://73042633"
  1530. ChainLink.Color = ColorSequence.new(C3(255/255, 0/255, 0/255))
  1531. ChainLink.TextureSpeed = 1
  1532. ChainLink.Width0 = 1
  1533. ChainLink.Width1 = 1
  1534. ChainLink.TextureLength = 2.5
  1535. ChainLink.Attachment0 = START
  1536. ChainLink.Attachment1 = END
  1537. ChainLink.CurveSize0 = TWIST
  1538. ChainLink.CurveSize1 = TWIST
  1539. --ChainLink.FaceCamera = true
  1540. ChainLink.Segments = 45
  1541. ChainLink.Transparency = NumberSequence.new(1)
  1542. table.insert(CHAINLINKS,ChainLink)
  1543. end
  1544. for i = 1, 2 do
  1545. local TWIST = -1
  1546. local START = C
  1547. local END = D
  1548. if i == 1 then
  1549. START = D
  1550. END = C
  1551. end
  1552. local ChainLink = IT("Beam",Torso)
  1553. ChainLink.Texture = "rbxassetid://73042633"
  1554. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1555. ChainLink.TextureSpeed = 1
  1556. ChainLink.Width0 = 1
  1557. ChainLink.Width1 = 1
  1558. ChainLink.TextureLength = 5
  1559. ChainLink.Attachment0 = START
  1560. ChainLink.Attachment1 = END
  1561. ChainLink.CurveSize0 = TWIST
  1562. ChainLink.CurveSize1 = TWIST
  1563. --ChainLink.FaceCamera = true
  1564. ChainLink.Segments = 25
  1565. ChainLink.LightEmission = 0.5
  1566. ChainLink.Transparency = NumberSequence.new(1)
  1567. table.insert(CHAINLINKS,ChainLink)
  1568. end
  1569. coroutine.resume(coroutine.create(function()
  1570. repeat
  1571. Swait()
  1572. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 1*SIZE + 0.25*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1573. 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)
  1574. 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)
  1575. 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)
  1576. 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)
  1577. 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)
  1578. until CHAINS == true
  1579. repeat
  1580. Swait()
  1581. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 1*SIZE + 0.25*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1582. 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)
  1583. 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)
  1584. 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)
  1585. 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)
  1586. 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)
  1587. until ATTACK == false
  1588. for e = 1, 15 do
  1589. Swait()
  1590. for i = 1, #CHAINLINKS do
  1591. CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  1592. end
  1593. end
  1594. A:remove()
  1595. B:remove()
  1596. C:remove()
  1597. D:remove()
  1598. end))
  1599. CreateSound(233856115, RightArm, 5, 1.2, false)
  1600. for e = 1, 15 do
  1601. Swait()
  1602. for i = 1, #CHAINLINKS do
  1603. CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  1604. end
  1605. end
  1606. CHAINS = true
  1607. Rooted = true
  1608. wait(0.25)
  1609. local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "Alder", "Part", VT(2,2,2))
  1610. FIST.Color = C3(1, 215/255, 1)
  1611. FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  1612. local LIGHT3 = IT("PointLight",FIST)
  1613. LIGHT3.Range = 7
  1614. LIGHT3.Brightness = 5
  1615. LIGHT3.Color = C3(255/255, 0/255, 0/255)
  1616. CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
  1617. local FISTA = IT("Attachment",FIST)
  1618. FISTA.Position = VT(0.062, 0.977, 0)
  1619. local ChainLink = IT("Beam",Torso)
  1620. ChainLink.Texture = "rbxassetid://73042633"
  1621. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1622. ChainLink.TextureSpeed = 0
  1623. ChainLink.Width0 = 3
  1624. ChainLink.Width1 = 3
  1625. ChainLink.TextureLength = 12
  1626. ChainLink.Attachment0 = LIGHT
  1627. ChainLink.Attachment1 = FISTA
  1628. ChainLink.FaceCamera = true
  1629. ChainLink.Segments = 45
  1630. ChainLink.LightEmission = 0.5
  1631. ChainLink.Transparency = NumberSequence.new(0.25)
  1632. local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  1633. for i = 1, 85 do
  1634. Swait()
  1635. FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  1636. ChainLink.TextureLength = 12+(i*2)
  1637. ApplyAoE(FIST.Position,10,15,25,100,false)
  1638. 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(0/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1639. local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  1640. if HITFLOOR ~= nil then
  1641. HITFLOOR:BreakJoints()
  1642. coroutine.resume(coroutine.create(function()
  1643. for i = 1, 15 do
  1644. Swait()
  1645. FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  1646. ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
  1647. 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(0/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1648. end
  1649. end))
  1650. break
  1651. end
  1652. end
  1653. coroutine.resume(coroutine.create(function()
  1654. for i = 1, 50 do
  1655. Swait()
  1656. FIST.Transparency = FIST.Transparency + 0.5/50
  1657. LIGHT3.Range = LIGHT3.Range - 300/500
  1658. end
  1659. FIST:remove()
  1660. end))
  1661. LIGHT:remove()
  1662. GYRO:remove()
  1663. ATTACK = false
  1664. Rooted = false
  1665. end
  1666.  
  1667. function WarpMeteor()
  1668. chatfunc("Meteor Strike")
  1669. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  1670. if DIST > 180 then
  1671. DIST = 180
  1672. end
  1673. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  1674. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
  1675. if HITFLOOR then
  1676. local POS = HITPOS
  1677. ATTACK = true
  1678. Rooted = true
  1679. local WARPED = false
  1680. local SMASHED = false
  1681. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1682. coroutine.resume(coroutine.create(function()
  1683. repeat
  1684. Swait()
  1685. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 1 + 0.25*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1686. 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)
  1687. 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)
  1688. 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)
  1689. 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)
  1690. 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)
  1691. until WARPED == true
  1692. repeat
  1693. Swait()
  1694. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 1 + 0.25*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1695. 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)
  1696. 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)
  1697. 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)
  1698. 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)
  1699. 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)
  1700. until SMASHED == true
  1701. repeat
  1702. Swait()
  1703. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  1704. 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)
  1705. 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)
  1706. 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)
  1707. 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)
  1708. 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)
  1709. until ATTACK == false
  1710. end))
  1711. VALUE1 = true
  1712. CreateSound(233856115, Torso, 5, 1.6, false)
  1713. for i = 1, 25 do
  1714. Swait()
  1715. for _, c in pairs(Character:GetChildren()) do
  1716. if c.ClassName == "Part" then
  1717. c.Transparency = c.Transparency + 1/25
  1718. end
  1719. end
  1720. for _, c in pairs(Weapon:GetChildren()) do
  1721. if c.ClassName == "Part" then
  1722. c.Transparency = c.Transparency + 1/25
  1723. end
  1724. end
  1725. end
  1726. UNANCHOR = false
  1727. RootPart.Anchored = true
  1728. RootPart.Velocity = VT(0,0,0)
  1729. local ROOTPOS = RootPart.Position
  1730. RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
  1731. WARPED = true
  1732. for i = 1, 25 do
  1733. Swait()
  1734. for _, c in pairs(Character:GetChildren()) do
  1735. if c.ClassName == "Part" then
  1736. c.Transparency = c.Transparency - 1/25
  1737. end
  1738. end
  1739. for _, c in pairs(Weapon:GetChildren()) do
  1740. if c.ClassName == "Part" then
  1741. c.Transparency = c.Transparency - 1/25
  1742. end
  1743. end
  1744. end
  1745. local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Part", VT(0,0,0))
  1746. SHELL.CFrame = RootPart.CFrame
  1747. MakeForm(SHELL,"Ball")
  1748. CreateSound(402981977, SHELL, 5, 1.6, false)
  1749. for i = 1, 10 do
  1750. Swait()
  1751. SHELL.Transparency = SHELL.Transparency - 1/10
  1752. SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
  1753. end
  1754. for i = 1, math.ceil(75/2) do
  1755. Swait()
  1756. RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
  1757. SHELL.CFrame = CF(RootPart.Position)
  1758. 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, 0/255, 0/255), SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  1759. end
  1760. RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
  1761. SHELL.CFrame = CF(RootPart.Position)
  1762. 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})
  1763. 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, 0/255, 0/255), SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  1764. 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, 0/255, 0/255), SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  1765. for i = 1, 5 do
  1766. 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, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1767. end
  1768. SHELL:remove()
  1769. ApplyAoE(RootPart.Position,115,75,115,215,false)
  1770. SMASHED = true
  1771. wait(1)
  1772. VALUE1 = false
  1773. UNANCHOR = true
  1774. ATTACK = false
  1775. Rooted = false
  1776. end
  1777. end
  1778.  
  1779. function PandorasBox()
  1780. chatfunc("What's Inside The Box")
  1781. 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)
  1782. if HITFLOOR ~= nil then
  1783. ATTACK = true
  1784. Rooted = true
  1785. local RINGSPIN = true
  1786. local CONSTRUCTING = true
  1787. local RING = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Ring", VT(0,0,0))
  1788. RING.Color = C3(0,0,0)
  1789. MakeForm(RING,"Cyl")
  1790. RING.CFrame = CF(HITPOS)
  1791. CreateSound(402981977, RING, 5, 1.2, false)
  1792. coroutine.resume(coroutine.create(function()
  1793. repeat
  1794. Swait()
  1795. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1796. 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)
  1797. 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)
  1798. 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)
  1799. 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)
  1800. 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)
  1801. 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)
  1802. until CONSTRUCTING == false
  1803. repeat
  1804. Swait()
  1805. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1806. until RINGSPIN == false
  1807. for i = 1, 25 do
  1808. Swait()
  1809. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1810. RING.Size = RING.Size - VT(0.15,0,0.15)
  1811. --DECAL.Transparency = DECAL.Transparency + 1/25
  1812. RING.Transparency = RING.Transparency + 1/25
  1813. end
  1814. RING:remove()
  1815. end))
  1816. for i = 1, 15 do
  1817. Swait()
  1818. RING.Size = RING.Size + VT(0.75,0,0.75)
  1819. RING.Transparency = RING.Transparency - 1/15
  1820. end
  1821. local BOXSPIN = true
  1822. local PANDORASBOX = IT("Model",Effects)
  1823. PANDORASBOX.Name = "Pandora's Box"
  1824. local BOX = IT("Model",PANDORASBOX)
  1825. BOX.Name = "Body"
  1826. local LID = IT("Model",PANDORASBOX)
  1827. LID.Name = "Lid"
  1828. --BUILDING THE BOX--
  1829. local BASE = CreatePart(3, BOX, "Neon", 0, 0, "Alder", "Black", VT(2,1.8,2))
  1830. BASE.Color = C3(0,0,0)
  1831. PANDORASBOX.PrimaryPart = BASE
  1832. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  1833. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Really red", "Marble", VT(0.2,1.9,0.2))
  1834. WOOD.CFrame = BASE.CFrame*CF(1,0,1)
  1835. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Really red", "Marble", VT(0.2,1.9,0.2))
  1836. WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
  1837. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Really red", "Marble", VT(0.2,1.9,0.2))
  1838. WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
  1839. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Really red", "Marble", VT(0.2,1.9,0.2))
  1840. WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
  1841. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Really red", "Marble", VT(2.1,0.2,0.2))
  1842. WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
  1843. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Really red", "Marble", VT(2.1,0.2,0.2))
  1844. WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
  1845. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Really red", "Marble", VT(0.2,0.2,2.1))
  1846. WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
  1847. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Really red", "Marble", VT(0.2,0.2,2.1))
  1848. WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
  1849. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Really red", "Marble", VT(2.1,0.2,0.2))
  1850. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
  1851. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Really red", "Marble", VT(2.1,0.2,0.2))
  1852. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
  1853. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Really red", "Marble", VT(0.2,0.2,2.1))
  1854. WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
  1855. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Really red", "Marble", VT(0.2,0.2,2.1))
  1856. WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
  1857. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1))
  1858. WOOD.CFrame = BASE.CFrame*CF(0,0,1)
  1859. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1))
  1860. WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
  1861. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1))
  1862. WOOD.CFrame = BASE.CFrame*CF(1,0,0)
  1863. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1))
  1864. WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
  1865. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1))
  1866. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
  1867. -------------
  1868. local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1))
  1869. LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
  1870. LID.PrimaryPart = LIDPART
  1871. local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Really red", "Marble", VT(2.1,0.2,0.2))
  1872. WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
  1873. local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Really red", "Marble", VT(2.1,0.2,0.2))
  1874. WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
  1875. local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Really red", "Marble", VT(0.2,0.2,2.1))
  1876. WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
  1877. local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Really red", "Marble", VT(0.2,0.2,2.1))
  1878. WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
  1879. local DECAL = IT("Decal",LIDPART)
  1880. DECAL.Face = "Top"
  1881. DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
  1882. DECAL.Color3 = C3(0,0,0)
  1883. --BUILDING THE BOX--
  1884. coroutine.resume(coroutine.create(function()
  1885. repeat
  1886. Swait()
  1887. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
  1888. until BOXSPIN == false
  1889. end))
  1890. for i = 1, 25 do
  1891. Swait()
  1892. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
  1893. end
  1894. wait(0.5)
  1895. BOXSPIN = false
  1896. CONSTRUCTING = false
  1897. coroutine.resume(coroutine.create(function()
  1898. 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})
  1899. --[[for i = 1, 45 do
  1900. Swait()
  1901. LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
  1902. end-
  1903. LID:remove()]]--
  1904. for _, c in pairs(LID:GetChildren()) do
  1905. if c.ClassName == "Part" then
  1906. c.Anchored = false
  1907. c.CanCollide = true
  1908. if c ~= LIDPART then
  1909. weldBetween(LIDPART,c)
  1910. end
  1911. end
  1912. end
  1913. LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
  1914. Debris:AddItem(LID,15)
  1915. wait(0.5)
  1916. local RANDOMEFFECT = MRANDOM(1,4)
  1917. if RANDOMEFFECT == 1 then
  1918. for i = 1, 45 do
  1919. wait((2-(i/15))/15)
  1920. 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})
  1921. end
  1922. wait(1)
  1923. 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})
  1924. 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})
  1925. 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})
  1926. for i = 1, 5 do
  1927. 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})
  1928. end
  1929. ApplyAoE(BASE.Position,50,1,200,375,false)
  1930. ApplyAoE(BASE.Position,250,35,75,175,false)
  1931. elseif RANDOMEFFECT == 2 then
  1932. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  1933. FIELD.CFrame = BASE.CFrame
  1934. MakeForm(FIELD,"Ball")
  1935. for i = 1, 50 do
  1936. Swait()
  1937. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  1938. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  1939. end
  1940. wait(0.2)
  1941. local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
  1942. coroutine.resume(coroutine.create(function()
  1943. for i = 1, 75 do
  1944. Swait()
  1945. LOOP.Volume = LOOP.Volume + 10/75
  1946. LOOP.Parent = FIELD
  1947. local CHILDREN = workspace:GetDescendants()
  1948. for index, CHILD in pairs(CHILDREN) do
  1949. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1950. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1951. if HUM then
  1952. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1953. if TORSO then
  1954. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  1955. HUM.Health = HUM.Health - 0.1
  1956. TORSO.Velocity = VT(0,5,0)
  1957. HUM.PlatformStand = true
  1958. if TORSO.RotVelocity.Magnitude < 15 then
  1959. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1960. end
  1961. end
  1962. end
  1963. end
  1964. end
  1965. end
  1966. FIELD.Size = FIELD.Size + VT(3,3,3)
  1967. FIELD.Transparency = FIELD.Transparency + 0.8/75
  1968. end
  1969. for i = 1, 500 do
  1970. Swait()
  1971. LOOP.Parent = FIELD
  1972. local CHILDREN = workspace:GetDescendants()
  1973. for index, CHILD in pairs(CHILDREN) do
  1974. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1975. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1976. if HUM then
  1977. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1978. if TORSO then
  1979. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  1980. TORSO.Velocity = VT(0,5,0)
  1981. HUM.Health = HUM.Health - 0.1
  1982. HUM.PlatformStand = true
  1983. if TORSO.RotVelocity.Magnitude < 15 then
  1984. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1985. end
  1986. end
  1987. end
  1988. end
  1989. end
  1990. end
  1991. end
  1992. for i = 1, 25 do
  1993. Swait()
  1994. LOOP.Volume = LOOP.Volume + 10/25
  1995. LOOP.Parent = FIELD
  1996. local CHILDREN = workspace:GetDescendants()
  1997. for index, CHILD in pairs(CHILDREN) do
  1998. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1999. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2000. if HUM then
  2001. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2002. if TORSO then
  2003. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  2004. TORSO.Velocity = VT(0,5,0)
  2005. HUM.Health = HUM.Health - 0.1
  2006. HUM.PlatformStand = false
  2007. if TORSO.RotVelocity.Magnitude < 15 then
  2008. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  2009. end
  2010. end
  2011. end
  2012. end
  2013. end
  2014. end
  2015. FIELD.Size = FIELD.Size - VT(3,3,3)
  2016. FIELD.Transparency = FIELD.Transparency + 0.2/25
  2017. end
  2018. FIELD:remove()
  2019. end))
  2020. elseif RANDOMEFFECT == 3 then
  2021. for i = 1, 10 do
  2022. wait(0.15)
  2023. 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})
  2024. coroutine.resume(coroutine.create(function()
  2025. local MINION = CLONE:Clone()
  2026. MINION.Parent = Effects
  2027. MINION.Name = "Shadow"
  2028. MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  2029. MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
  2030. for _, c in pairs(MINION:GetChildren()) do
  2031. if c.ClassName == "Part" then
  2032. c.Material = "Neon"
  2033. c.Color = C3(0,0,0)
  2034. c.Transparency = 0.25
  2035. if c.Name == "Head" then
  2036. c:ClearAllChildren()
  2037. local MSH = IT("BlockMesh",c)
  2038. MSH.Scale = VT(0.5,1,1)
  2039. end
  2040. end
  2041. end
  2042. local TORSO = MINION.Torso
  2043. local HUMAN = MINION.Humanoid
  2044. HUMAN.WalkSpeed = 20
  2045. HUMAN.MaxHealth = math.huge
  2046. HUMAN.Health = math.huge
  2047. HUMAN.DisplayDistanceType = "None"
  2048. HUMAN.Died:connect(function()
  2049. MINION:remove()
  2050. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
  2051. end)
  2052. wait(1)
  2053. local findNearestTorso = function(POS)
  2054. local list = game.Workspace:GetDescendants()
  2055. local torso = nil
  2056. local dist = 500
  2057. local temp = nil
  2058. local human = nil
  2059. local temp2 = nil
  2060. for x = 1, #list do
  2061. temp2 = list[x]
  2062. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
  2063. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  2064. human = temp2:findFirstChildOfClass("Humanoid")
  2065. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  2066. if (temp.Position - POS).magnitude < dist then
  2067. torso = temp
  2068. dist = (temp.Position - POS).magnitude
  2069. end
  2070. end
  2071. end
  2072. end
  2073. return torso, dist
  2074. end
  2075. for i = 1, 40 do
  2076. if HUMAN.Health == 0 then
  2077. break
  2078. end
  2079. wait(0.3)
  2080. local target,dist= findNearestTorso(TORSO.Position)
  2081. if target then
  2082. HUMAN:MoveTo(target.Position)
  2083. if dist < 25 then
  2084. CreateSound(348663022, TORSO, 10, 1, true)
  2085. wait(2)
  2086. --local ANIM = HUMAN:LoadAnimation(ATANIM)
  2087. --ANIM:Play()
  2088. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
  2089. ApplyAoE(TORSO.Position,10,0,0,85,true)
  2090. 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})
  2091. for i = 1, 5 do
  2092. 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})
  2093. end
  2094. break
  2095. end
  2096. end
  2097. end
  2098. MINION:remove()
  2099. end))
  2100. end
  2101. elseif RANDOMEFFECT == 4 then
  2102. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  2103. FIELD.Color = C3(0,0,0)
  2104. FIELD.CFrame = BASE.CFrame
  2105. MakeForm(FIELD,"Ball")
  2106. FIELD.CanCollide = true
  2107. for i = 1, 50 do
  2108. Swait()
  2109. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  2110. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  2111. end
  2112. wait(0.2)
  2113. local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
  2114. coroutine.resume(coroutine.create(function()
  2115. local E = 0
  2116. for i = 1, 75 do
  2117. E = E + 1
  2118. Swait()
  2119. if E >= 35 then
  2120. E = 0
  2121. 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})
  2122. end
  2123. LOOP.Volume = LOOP.Volume + 10/75
  2124. LOOP.Parent = FIELD
  2125. local CHILDREN = workspace:GetDescendants()
  2126. for index, CHILD in pairs(CHILDREN) do
  2127. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2128. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2129. if HUM then
  2130. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2131. if TORSO then
  2132. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  2133. for _, c in pairs(CHILD:GetChildren()) do
  2134. if c:IsA("BasePart") then
  2135. local bv = Instance.new("BodyVelocity")
  2136. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2137. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  2138. bv.Parent = c
  2139. Debris:AddItem(bv,0.05)
  2140. end
  2141. end
  2142. HUM.Health = HUM.Health - 0.3
  2143. end
  2144. end
  2145. end
  2146. end
  2147. end
  2148. FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
  2149. end
  2150. for i = 1, 180 do
  2151. E = E + 1
  2152. Swait()
  2153. if E >= 35 then
  2154. E = 0
  2155. 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})
  2156. end
  2157. LOOP.Parent = FIELD
  2158. local CHILDREN = workspace:GetDescendants()
  2159. for index, CHILD in pairs(CHILDREN) do
  2160. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2161. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2162. if HUM then
  2163. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2164. if TORSO then
  2165. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  2166. for _, c in pairs(CHILD:GetChildren()) do
  2167. if c:IsA("BasePart") then
  2168. local bv = Instance.new("BodyVelocity")
  2169. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2170. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  2171. bv.Parent = c
  2172. Debris:AddItem(bv,0.05)
  2173. end
  2174. end
  2175. HUM.Health = HUM.Health - 0.3
  2176. end
  2177. end
  2178. end
  2179. end
  2180. end
  2181. end
  2182. ApplyAoE(FIELD.Position,40,15,20,375,false)
  2183. 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})
  2184. for i = 1, 5 do
  2185. 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})
  2186. end
  2187. FIELD:remove()
  2188. end))
  2189. elseif RANDOMEFFECT == 5 then
  2190. end
  2191. wait(0.5)
  2192. for i = 1, 25 do
  2193. Swait()
  2194. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
  2195. end
  2196. PANDORASBOX:remove()
  2197. RINGSPIN = false
  2198. end))
  2199. ATTACK = false
  2200. Rooted = false
  2201. end
  2202. end
  2203.  
  2204. function TimeSweep()
  2205. ATTACK = true
  2206. Rooted = false
  2207. for i=0, 0.5, 0.1 / Animation_Speed do
  2208. Swait()
  2209. 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)
  2210. 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)
  2211. end
  2212. for e = 1, #BODY do
  2213. if BODY[e] ~= nil then
  2214. local STUFF = BODY[e]
  2215. local PART = STUFF[1]
  2216. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  2217. local PRT = PART:Clone()
  2218. PRT.Anchored = true
  2219. PRT.CanCollide = false
  2220. PRT.Material = "Neon"
  2221. PRT.Color = C3(1,0,0)
  2222. PRT.Name = "WarpEffect"
  2223. PRT.Parent = Effects
  2224. PRT.CFrame = PART.CFrame
  2225. PRT:BreakJoints()
  2226. if PRT:FindFirstChildOfClass("Sound") then
  2227. PRT:FindFirstChildOfClass("Sound"):remove()
  2228. end
  2229. if PRT:FindFirstChildOfClass("Decal") then
  2230. PRT:FindFirstChildOfClass("Decal"):remove()
  2231. end
  2232. coroutine.resume(coroutine.create(function()
  2233. for i = 1, 100 do
  2234. Swait()
  2235. PRT.Transparency = PRT.Transparency + 1/100
  2236. end
  2237. PRT:remove()
  2238. end))
  2239. end
  2240. end
  2241. end
  2242. local POS = RootPart.Orientation
  2243. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  2244. RootPart.Orientation = POS
  2245. RootJoint.Parent = RootPart
  2246. for i=0, 0.5, 0.1 / Animation_Speed do
  2247. Swait()
  2248. 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)
  2249. 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)
  2250. end
  2251. for i=0, 0.1, 0.1 / Animation_Speed do
  2252. Swait()
  2253. 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)
  2254. end
  2255. ATTACK = false
  2256. Rooted = false
  2257. end
  2258.  
  2259. function Taunt()
  2260. chatfunc("Just don't bore me yeah")
  2261. ATTACK = true
  2262. Rooted = true
  2263. local TAUNT = CreateSound(159882635, Torso,17, 1, false)
  2264. repeat
  2265. Swait()
  2266. TAUNT.Parent = Torso
  2267. TAUNT.Playing = true
  2268. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2269. 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)
  2270. 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)
  2271. 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)
  2272. 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)
  2273. 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)
  2274. until TAUNT.TimePosition >= 1.25
  2275. for i=0, 1.6, 0.1 / Animation_Speed do
  2276. Swait()
  2277. TAUNT.Parent = Torso
  2278. 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)
  2279. 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)
  2280. 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)
  2281. 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)
  2282. 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)
  2283. 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)
  2284. end
  2285. ATTACK = false
  2286. Rooted = false
  2287. end
  2288.  
  2289. function Smite()
  2290. local RING, MESH, DELET = MakeRing()
  2291. local POS = Mouse.Hit.p
  2292. RING.CFrame = CF(Mouse.Hit.p + VT(MRANDOM(-25, 25), 200, MRANDOM(-25, 25)), Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0))
  2293. for i = 1, 45 do
  2294. Swait()
  2295. MESH.Scale = MESH.Scale + VT(12, 0, 12)
  2296. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2297. end
  2298. local HITFLOOR, HITPOS = Raycast(RING.Position, CF(RING.Position, RING.CFrame * CF(0, -1, 0).p).lookVector, 500, Character)
  2299. if HITFLOOR then
  2300. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really red"), "Beam", VT(0, 0, 0), true)
  2301. MakeForm(BEAM, "Cyl")
  2302. local DIST = (RING.Position - HITPOS).Magnitude
  2303. BEAM.Size = VT(0, DIST, 0)
  2304. BEAM.CFrame = CF(RING.Position, HITPOS) * CF(0, 0, -DIST / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
  2305. for i = 1, 5 do
  2306. WACKYEFFECT({
  2307. EffectType = "Wave",
  2308. Size = VT(25, 0, 25),
  2309. Size2 = VT(40, 0, 40) + VT(i * 6, i / 5, i * 6),
  2310. Transparency = 0,
  2311. Transparency2 = 1,
  2312. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  2313. MoveToPos = nil,
  2314. RotationX = 0,
  2315. RotationY = 3,
  2316. RotationZ = 0,
  2317. Material = "Neon",
  2318. Color = C3(0, 0, 0),
  2319. SoundID = nil,
  2320. SoundPitch = nil,
  2321. SoundVolume = nil
  2322. })
  2323. WACKYEFFECT({
  2324. EffectType = "Round Slash",
  2325. Size = VT(3, 0, 3) / 13,
  2326. Size2 = (VT(3, 0, 3) + VT(i, 0, i)) / 5,
  2327. Transparency = 0,
  2328. Transparency2 = 1,
  2329. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-35, 35)), RAD(0), RAD(MRANDOM(-35, 35))),
  2330. MoveToPos = nil,
  2331. RotationX = 0,
  2332. RotationY = 0,
  2333. RotationZ = 0,
  2334. Material = "Neon",
  2335. Color = C3(1, 0, 0),
  2336. SoundID = nil,
  2337. SoundPitch = nil,
  2338. SoundVolume = nil
  2339. })
  2340. WACKYEFFECT({
  2341. Time = 35,
  2342. EffectType = "Sphere",
  2343. Size = VT(22, 22, 22),
  2344. Size2 = VT(45, 45, 45) + VT(i * 5, i * 5, i * 5),
  2345. Transparency = 0,
  2346. Transparency2 = 1,
  2347. CFrame = CF(HITPOS),
  2348. MoveToPos = nil,
  2349. RotationX = 0,
  2350. RotationY = 0,
  2351. RotationZ = 0,
  2352. Material = "Neon",
  2353. Color = C3(0, 0, 0),
  2354. SoundID = 459523898,
  2355. SoundPitch = MRANDOM(9, 12) / 10,
  2356. SoundVolume = 10
  2357. })
  2358. end
  2359. SHAKECAM(HITPOS, 100, 8, 15)
  2360. ApplyAoE(HITPOS, 50)
  2361. for i = 1, 25 do
  2362. Swait()
  2363. BEAM.Size = BEAM.Size + VT(0.5, 0, 0.5)
  2364. BEAM.Transparency = BEAM.Transparency + 0.04
  2365. end
  2366. BEAM:remove()
  2367. end
  2368. wait(0.2)
  2369. DELET()
  2370. end
  2371.  
  2372. function Earthquake()
  2373. ATTACK = true
  2374. Rooted = true
  2375. local GYRO = IT("BodyGyro", RootPart)
  2376. GYRO.D = 20
  2377. GYRO.P = 4000
  2378. GYRO.MaxTorque = VT(0, 40000, 0)
  2379. local RING, MESH, DELET = MakeRing()
  2380. local HITFLOOR, HITPOS = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
  2381. RING.CFrame = CF(HITPOS)
  2382. for i = 0, 0.6, 0.1 / Animation_Speed do
  2383. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  2384. Swait()
  2385. MESH.Scale = MESH.Scale + VT(53, 0, 53)
  2386. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2387. 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})
  2388. 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)
  2389. 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)
  2390. end
  2391. local BLASTS = {468991944, 468991990}
  2392. coroutine.resume(coroutine.create(function()
  2393. local CFRAME = RootPart.CFrame
  2394. for i = 1, 100 do
  2395. CFRAME = CFRAME * CF(0, 0, -35)
  2396. do
  2397. local HITFLOOR, HITPOS = Raycast(CFRAME.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
  2398. if HITFLOOR then
  2399. Swait()
  2400. do
  2401. local OFFSET = CFRAME * CF(MRANDOM(-25, 25), 0, 0)
  2402. coroutine.resume(coroutine.create(function()
  2403. local RING, MESH, DELET = MakeRing()
  2404. RING.CFrame = CF(OFFSET.p.X, HITPOS.Y, OFFSET.p.Z)
  2405. for i = 1, 25 do
  2406. Swait()
  2407. MESH.Scale = MESH.Scale + VT(42, 0, 42)
  2408. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2409. end
  2410. ApplyAoE(RING.Position, 65)
  2411. SHAKECAM(RING.Position, 80, 12, 15)
  2412. local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
  2413. WACKYEFFECT({
  2414. Time = 25,
  2415. EffectType = "Sphere",
  2416. Size = VT(22, 22, 22),
  2417. Size2 = VT(85, 85, 85),
  2418. Transparency = 0,
  2419. Transparency2 = 1,
  2420. CFrame = CF(RING.Position),
  2421. MoveToPos = nil,
  2422. RotationX = 0,
  2423. RotationY = 0,
  2424. RotationZ = 0,
  2425. Material = "Neon",
  2426. Color = C3(0, 0, 0),
  2427. SoundID = BLASTS[MRANDOM(1, #BLASTS)],
  2428. SoundPitch = MRANDOM(9, 12) / 10,
  2429. SoundVolume = 10
  2430. })
  2431. for e = 1, 3 do
  2432. WACKYEFFECT({
  2433. EffectType = "Wave",
  2434. Size = VT(25, 0, 25),
  2435. Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
  2436. Transparency = 0,
  2437. Transparency2 = 1,
  2438. CFrame = CF(RING.Position) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  2439. MoveToPos = nil,
  2440. RotationX = 0,
  2441. RotationY = 3,
  2442. RotationZ = 0,
  2443. Material = "Neon",
  2444. Color = C3(0, 0, 0),
  2445. SoundID = nil,
  2446. SoundPitch = nil,
  2447. SoundVolume = nil
  2448. })
  2449. WACKYEFFECT({
  2450. Time = 35,
  2451. EffectType = "Sphere",
  2452. Size = VT(22, 45, 22),
  2453. Size2 = VT(25, 45 + e * 75, 25),
  2454. Transparency = 0,
  2455. Transparency2 = 1,
  2456. CFrame = CF(RING.Position) * TURN,
  2457. MoveToPos = nil,
  2458. RotationX = 0,
  2459. RotationY = 0,
  2460. RotationZ = 0,
  2461. Material = "Neon",
  2462. Color = C3(0, 0, 0),
  2463. SoundID = nil,
  2464. SoundPitch = MRANDOM(9, 12) / 10,
  2465. SoundVolume = 10
  2466. })
  2467. end
  2468. wait(0.3)
  2469. DELET()
  2470. end))
  2471. end
  2472. end
  2473. end
  2474. end
  2475. end))
  2476. Rooted = false
  2477. DELET()
  2478. GYRO:remove()
  2479. ATTACK = false
  2480. Rooted = false
  2481. end
  2482.  
  2483. function SpawnSmite(POS)
  2484. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  2485. local EMITPOS = HITPOS
  2486. if HITFLOOR ~= nil then
  2487. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  2488. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  2489. EMITPOS = HITPOS
  2490. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  2491. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  2492. EMITPOS = HITPOS
  2493. end
  2494. end
  2495. if HITFLOOR ~= nil then
  2496. ApplyAoE(EMITPOS,10)
  2497. 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})
  2498. 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})
  2499. 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})
  2500. for i = 1, 5 do
  2501. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  2502. 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})
  2503. end
  2504. end
  2505. end
  2506.  
  2507. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  2508. coroutine.resume(coroutine.create(function()
  2509. local METEOR = IT("Model",Effects)
  2510. METEOR.Name = "Meteorite"
  2511. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  2512. METEOR.PrimaryPart = CENTER
  2513. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  2514. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2515. for i = 1, 15 do
  2516. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "Fire", VT(5.1,1,5.1)*SIZE)
  2517. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2518. end
  2519. if ISDEBREE ~= true then
  2520. 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))))
  2521. else
  2522. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  2523. end
  2524. local IMPACT = false
  2525. CreateSound(463593339, CENTER, 10, 0.6)
  2526. if SIZE >= 3.5 then
  2527. for i = 1, MRANDOM(3,7) do
  2528. 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)
  2529. end
  2530. end
  2531. for i = 1, 200 do
  2532. Swait()
  2533. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  2534. if HITFLOOR == nil then
  2535. local ORI = CENTER.Orientation
  2536. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  2537. else
  2538. if HITFLOOR.Anchored == true then
  2539. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  2540. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  2541. end
  2542. IMPACT = true
  2543. break
  2544. end
  2545. end
  2546. if IMPACT == true then
  2547. 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})
  2548. 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})
  2549. 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})
  2550. ApplyAoE(CENTER.Position,30*SIZE)
  2551. end
  2552. METEOR:remove()
  2553. end))
  2554. end
  2555.  
  2556. function Smite2()
  2557. ATTACK = true
  2558. Rooted = false
  2559. CreateSound(1368573150, RightArm, 3, 1.5)
  2560. for i=0, 0.6, 0.1 / Animation_Speed do
  2561. Swait()
  2562. 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})
  2563. 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)
  2564. 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)
  2565. end
  2566. local POWER = 0
  2567. repeat
  2568. Swait()
  2569. WACKYEFFECT({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})
  2570. 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)
  2571. 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)
  2572. POWER = POWER + 0.5
  2573. if POWER >= 85 then
  2574. POWER = 85
  2575. end
  2576. until KEYHOLD == false
  2577. if POWER < 0.6 then
  2578. SpawnSmite(Mouse.Hit.p)
  2579. else
  2580. if POWER < 15 then
  2581. POWER = 15
  2582. end
  2583. SpawnMeteor(Mouse.Hit.p,POWER/15)
  2584. end
  2585. ATTACK = false
  2586. Rooted = false
  2587. end
  2588.  
  2589. function Taunt2()
  2590. chatfunc("I don't have all day.")
  2591. ATTACK = true
  2592. Rooted = true
  2593. local TAUNT = CreateSound(159882303,Torso,10,1,false)
  2594. coroutine.resume(coroutine.create(function()
  2595. repeat
  2596. Swait()
  2597. 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)
  2598. 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)
  2599. 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)
  2600. 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)
  2601. 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)
  2602. 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)
  2603. until ATTACK == false
  2604. end))
  2605. repeat wait() until TAUNT.Playing == false
  2606. ATTACK = false
  2607. Rooted = false
  2608. end
  2609.  
  2610. function Prison_Key()
  2611. if Mouse.Target ~= nil then
  2612. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2613. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2614. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  2615. local GYRO = IT("BodyGyro",RootPart)
  2616. GYRO.D = 750
  2617. GYRO.P = 20000
  2618. GYRO.MaxTorque = VT(0,40000000,0)
  2619. local grav = Instance.new("BodyPosition",TORSO)
  2620. grav.D = 15
  2621. grav.P = 20000
  2622. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2623. grav.position = TORSO.Position
  2624. local GYRO2 = IT("BodyGyro",TORSO)
  2625. GYRO2.D = 750
  2626. GYRO2.P = 20000
  2627. GYRO2.MaxTorque = VT(0,40000000,0)
  2628. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  2629. grav.Name = "Jail"
  2630. local LOCKPARTS = {}
  2631. ATTACK = true
  2632. Rooted = false
  2633. local LOCK = IT("Model",Effects)
  2634. LOCK.Name = "Lock"
  2635. local LOCK2 = IT("Model",LOCK)
  2636. LOCK2.Name = "Metal"
  2637. --CREATE LOCK--
  2638. local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Really black", "Keylock", VT(3, 2.5, 1))
  2639. LOCK.PrimaryPart = BASE
  2640. BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  2641. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Really black", "Keylock", VT(3, 1, 3))
  2642. PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  2643. MakeForm(PRT,"Cyl")
  2644. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(1, 1, 1))
  2645. PRT.Color = C3(0.58,0.58,0.58)
  2646. PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  2647. MakeForm(PRT,"Cyl")
  2648. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(0.5, 1, 1))
  2649. PRT.Color = C3(0.58,0.58,0.58)
  2650. PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  2651. for i = 1, 45 do
  2652. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  2653. PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  2654. end
  2655. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  2656. PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  2657. LOCK2.PrimaryPart = PRT
  2658. ---------------
  2659. local CHILDREN = LOCK:GetDescendants()
  2660. for index, CHILD in pairs(CHILDREN) do
  2661. if CHILD:IsA("BasePart") then
  2662. CHILD.Transparency = 1
  2663. end
  2664. end
  2665. for i = 1, 75 do
  2666. LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  2667. Swait()
  2668. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  2669. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  2670. local CHILDREN = LOCK:GetDescendants()
  2671. for index, CHILD in pairs(CHILDREN) do
  2672. if CHILD:IsA("BasePart") then
  2673. CHILD.Transparency = CHILD.Transparency - 1/75
  2674. end
  2675. end
  2676. end
  2677. HUM.DisplayDistanceType = "None"
  2678. local KEY = IT("Model",Effects)
  2679. KEY.Name = "Key"
  2680. --CREATE KEY--
  2681. local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Really red", "KeyBase", VT(0.1, 1, 0.1),false)
  2682. KEY.PrimaryPart = KBASE
  2683. KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  2684. local WLD = weldBetween(RightArm,KBASE)
  2685. for i = 1, 45 do
  2686. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really red", "Key", VT(0.1, 0.1, 0.1),false)
  2687. PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  2688. weldBetween(KBASE,PRT)
  2689. end
  2690. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really red", "Key", VT(0.3, 0.1, 0.1),false)
  2691. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  2692. weldBetween(KBASE,PRT)
  2693. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really red", "Key", VT(0.3, 0.1, 0.1),false)
  2694. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  2695. weldBetween(KBASE,PRT)
  2696. --------------
  2697. Rooted = true
  2698. Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  2699. coroutine.resume(coroutine.create(function()
  2700. for i = 1, 10 do
  2701. Swait()
  2702. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  2703. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  2704. end
  2705. CreateSound(1149318312,BASE,5,1,false)
  2706. CreateSound(160772554,BASE,3,1,false)
  2707. LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  2708. for i = 1, 4 do
  2709. 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"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2710. end
  2711. 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"Really red".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  2712. wait(1)
  2713. TORSO.Parent.Parent = LOCK
  2714. for i = 1, 75 do
  2715. Swait()
  2716. local CHILDREN = KEY:GetDescendants()
  2717. for index, CHILD in pairs(CHILDREN) do
  2718. if CHILD:IsA("BasePart") then
  2719. CHILD.Transparency = i/25
  2720. end
  2721. end
  2722. local CHILDREN = LOCK:GetDescendants()
  2723. for index, CHILD in pairs(CHILDREN) do
  2724. if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  2725. CHILD.Transparency = CHILD.Transparency + 1/75
  2726. elseif CHILD.ClassName == "Decal" then
  2727. CHILD.Transparency = CHILD.Transparency + 1/75
  2728. end
  2729. end
  2730. end
  2731. TORSO.Parent:ClearAllChildren()
  2732. KEY:remove()
  2733. LOCK:remove()
  2734. end))
  2735. Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  2736. GYRO:remove()
  2737. ATTACK = false
  2738. Rooted = false
  2739. end
  2740. end
  2741. end
  2742.  
  2743. function Endless_Pain()
  2744. local HITBODIES = {}
  2745. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  2746. if HITFLOOR ~= nil then
  2747. CreateSound("463598785", RootPart, 10, 0.8)
  2748. ATTACK = true
  2749. Rooted = true
  2750. VALUE1 = true
  2751. for i = 1, 500 do
  2752. Swait()
  2753. AddChildrenToTable(HITPOS, workspace, i / 3, HITBODIES)
  2754. 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))), "Really red", VT(0.001, 0, 0.001))
  2755. 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)), "Really red", VT(0, 0, 0))
  2756. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 1 + 0.25*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  2757. 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)
  2758. 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)
  2759. 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)
  2760. 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)
  2761. 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)
  2762. for e = 1, #HITBODIES do
  2763. if HITBODIES[e] ~= nil then
  2764. local BOD = HITBODIES[e]
  2765. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  2766. if TORS and TORS:FindFirstChild("BV") == nil then
  2767. local bv = Instance.new("BodyVelocity")
  2768. bv.Name = "BV"
  2769. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2770. bv.velocity = CF(TORS.Position, TORS.Position + VT(0, 1, 0)).lookVector * 20
  2771. bv.Parent = TORS
  2772. Debris:AddItem(bv, 0.1)
  2773. end
  2774. end
  2775. end
  2776. end
  2777. coroutine.resume(coroutine.create(function()
  2778. for e = 1, #HITBODIES do
  2779. Swait()
  2780. if HITBODIES[e] ~= nil then
  2781. local BOD = HITBODIES[e]
  2782. for i = 1, #HITBODIES do
  2783. if HITBODIES[i] == BOD and i ~= e then
  2784. table.remove(HITBODIES, i)
  2785. end
  2786. end
  2787. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  2788. if TORS then
  2789. TORS.Anchored = false
  2790. CreateSound("92597369", TORS, 10, 0.8)
  2791. Slice("Thin", 1, 35, CF(TORS.Position, HITPOS) * ANGLES(RAD(0), RAD(-90), RAD(0)), "Really red", VT(0.01, 0, 0.01))
  2792. BOD:BreakJoints()
  2793. for _, c in pairs(BOD:GetChildren()) do
  2794. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  2795. local bv = Instance.new("BodyVelocity")
  2796. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2797. bv.velocity = CF(HITPOS, c.Position).lookVector * 250
  2798. bv.Parent = c
  2799. Debris:AddItem(bv, 0.2)
  2800. end
  2801. end
  2802. end
  2803. end
  2804. end
  2805. end))
  2806. VALUE1 = false
  2807. ATTACK = false
  2808. Rooted = false
  2809. end
  2810. end
  2811.  
  2812. function Inferno_Ring()
  2813. ATTACK = true
  2814. Rooted = false
  2815. local GYRO = IT("BodyGyro",RootPart)
  2816. GYRO.D = 750
  2817. GYRO.P = 20000
  2818. GYRO.MaxTorque = VT(0,40000000,0)
  2819. local FIRE = IT("Model",Effects)
  2820. FIRE.Name = "Fire"
  2821. local MAIN = CreatePart(3, FIRE, "Neon", 0, 1, "Really red", "Center", VT(0,0,0))
  2822. FIRE.PrimaryPart = MAIN
  2823. local FIRES = {}
  2824. for i = 1, 45 do
  2825. local PRT = CreatePart(3, FIRE, "Neon", 0, 1, "Really red", "RingPart", VT(3,3,3))
  2826. PRT.CFrame = MAIN.CFrame*ANGLES(RAD(0),RAD((360/45)*i),RAD(0))*CF(0,0,20)
  2827. local F = Fire(PRT)
  2828. table.insert(FIRES,F)
  2829. end
  2830. repeat
  2831. FIRE:SetPrimaryPartCFrame(CF(Mouse.Hit.p))
  2832. Pose("Cast1",1.5,0.01,false,GYRO)
  2833. until HOLD == true
  2834. coroutine.resume(coroutine.create(function()
  2835. for i = 1, 4 do
  2836. ApplyAoE(MAIN.Position,21,-15,true)
  2837. CreateSound(463598785,MAIN,3,1,false)
  2838. for E = 1, #FIRES do
  2839. if FIRES[E] ~= nil then
  2840. FIRES[E].Acceleration = VT(0,300,0)
  2841. FIRES[E].Lifetime=NumberRange.new(0.35,1.5)
  2842. end
  2843. end
  2844. wait(0.3)
  2845. end
  2846. for E = 1, #FIRES do
  2847. if FIRES[E] ~= nil then
  2848. FIRES[E].Enabled = false
  2849. end
  2850. end
  2851. Debris:AddItem(FIRE,5)
  2852. end))
  2853. CreateSound(215395388,RightArm,3,2,false)
  2854. Pose("RightArmUp",1.5,0.5,true)
  2855. GYRO:remove()
  2856. ATTACK = false
  2857. Rooted = false
  2858. end
  2859.  
  2860. function TakeOnMe()
  2861. Speed = 5
  2862. local MEME = CreateSound(1554763595, Effects, 2, 1, false)
  2863. ATTACK = true
  2864. Rooted = false
  2865. local DANCE = true
  2866. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  2867. if NEWKEY == "]" then
  2868. DANCE = false
  2869. end
  2870. end)
  2871. PLAYSONG = false
  2872. while true do
  2873. for i = 1, 15 do
  2874. Swait()
  2875. MEME.Parent = Effects
  2876. 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)
  2877. 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)
  2878. 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)
  2879. 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)
  2880. 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)
  2881. 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)
  2882. end
  2883. if DANCE == false then
  2884. break
  2885. end
  2886. for i = 1, 15 do
  2887. Swait()
  2888. MEME.Parent = Effects
  2889. 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)
  2890. 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)
  2891. 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)
  2892. 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)
  2893. 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)
  2894. 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)
  2895. end
  2896. end
  2897. PLAYSONG = true
  2898. KEY:Disconnect()
  2899. MEME:remove()
  2900. Speed = 25
  2901. ATTACK = false
  2902. Rooted = false
  2903. end
  2904.  
  2905. --//=================================\\
  2906. --|| ASSIGN THINGS TO KEYS
  2907. --\\=================================//
  2908.  
  2909. function MouseDown(Mouse)
  2910. HOLD = true
  2911. if ATTACK == false then
  2912. end
  2913. end
  2914.  
  2915. function MouseUp(Mouse)
  2916. HOLD = false
  2917. end
  2918.  
  2919. function KeyDown(Key)
  2920. KEYHOLD = true
  2921. if Key == "z" and ATTACK == false then
  2922. MagicMissiles()
  2923. end
  2924.  
  2925. if Key == "b" and ATTACK == false then
  2926. TimesUp()
  2927. end
  2928.  
  2929. if Key == "q" and ATTACK == false then
  2930. TimeSweep()
  2931. end
  2932.  
  2933. if Key == "f" and ATTACK == false then
  2934. Smite2()
  2935. end
  2936.  
  2937. if Key == "g" and ATTACK == false then
  2938. Endless_Pain()
  2939. end
  2940.  
  2941. if Key == "c" and ATTACK == false then
  2942. ChainPunch()
  2943. end
  2944.  
  2945. if Key == "]" and ATTACK == false then
  2946. TakeOnMe()
  2947. end
  2948.  
  2949. if Key == "r" and ATTACK == false then
  2950. Earthquake()
  2951. end
  2952.  
  2953. if Key == "y" and ATTACK == false then
  2954. Prison_Key()
  2955. end
  2956.  
  2957. if Key == "v" and ATTACK == false then
  2958. WarpMeteor()
  2959. end
  2960.  
  2961. if Key == "t" and ATTACK == false then
  2962. Smite()
  2963. end
  2964.  
  2965. if Key == "h" and ATTACK == false then
  2966. Inferno_Ring()
  2967. end
  2968.  
  2969. if Key == "x" and ATTACK == false then
  2970. PandorasBox()
  2971. end
  2972.  
  2973. if Key == "1" and ATTACK == false then
  2974. Taunt()
  2975. end
  2976.  
  2977. if Key == "2" and ATTACK == false then
  2978. Taunt2()
  2979. end
  2980. end
  2981.  
  2982. function KeyUp(Key)
  2983. KEYHOLD = false
  2984. end
  2985.  
  2986. Mouse.Button1Down:connect(function(NEWKEY)
  2987. MouseDown(NEWKEY)
  2988. end)
  2989. Mouse.Button1Up:connect(function(NEWKEY)
  2990. MouseUp(NEWKEY)
  2991. end)
  2992. Mouse.KeyDown:connect(function(NEWKEY)
  2993. KeyDown(NEWKEY)
  2994. end)
  2995. Mouse.KeyUp:connect(function(NEWKEY)
  2996. KeyUp(NEWKEY)
  2997. end)
  2998.  
  2999. --//=================================\\
  3000. --\\=================================//
  3001.  
  3002.  
  3003. function unanchor()
  3004. if UNANCHOR == true then
  3005. RootPart.Anchored = false
  3006. end
  3007. g = Character:GetChildren()
  3008. for i = 1, #g do
  3009. if g[i].ClassName == "Part" and g[i] ~= RootPart then
  3010. g[i].Anchored = false
  3011. end
  3012. end
  3013. g = Weapon:GetChildren()
  3014. for i = 1, #g do
  3015. if g[i].ClassName == "Part" then
  3016. g[i].Anchored = false
  3017. end
  3018. end
  3019. end
  3020.  
  3021.  
  3022. --//=================================\\
  3023. --|| WRAP THE WHOLE SCRIPT UP
  3024. --\\=================================//
  3025.  
  3026. Humanoid.Changed:connect(function(Jump)
  3027. if Jump == "Jump" and (Disable_Jump == true) then
  3028. Humanoid.Jump = false
  3029. end
  3030. end)
  3031.  
  3032. while true do
  3033. Swait()
  3034. script.Parent = WEAPONGUI
  3035. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  3036. v:Stop();
  3037. end
  3038. ANIMATE.Parent = nil
  3039. SINE = SINE + CHANGE*1.5
  3040. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3041. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3042. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  3043. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  3044. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  3045. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0 * COS(SINE / (WALKSPEEDVALUE / 2)) * SIZE) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3046. Neck.C1 = Clerp(Neck.C1, CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * 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)
  3047. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  3048. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3049. Neck.C1 = Clerp(Neck.C1, CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3050. end
  3051. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  3052. ANIM = "Jump"
  3053. if ATTACK == false then
  3054. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3055. 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)
  3056. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3057. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3058. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
  3059. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed)
  3060. end
  3061. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  3062. ANIM = "Fall"
  3063. if ATTACK == false then
  3064. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3065. 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)
  3066. 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)
  3067. 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)
  3068. 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)
  3069. 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)
  3070. end
  3071. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  3072. ANIM = "Idle"
  3073. if ATTACK == false then
  3074. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + -0.04 * SIN(SINE / 12)*SIZE, 1 + 0.25*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  3075. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(20.31 - 4 * SIN(SINE / 12)), RAD(0), RAD(10.45)), 1 / Animation_Speed)
  3076. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.597*SIZE, 0.444*SIZE, -0.602*SIZE) * ANGLES(RAD(85.4), RAD(-5.91 + 2.5 * SIN(SINE / 25)), RAD(-92.59 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3077. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1*SIZE, 0.26*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)
  3078. 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)
  3079. 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)
  3080. end
  3081. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  3082. ANIM = "Walk"
  3083. if ATTACK == false then
  3084. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  3085. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3086. 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)
  3087. 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)
  3088. 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)
  3089. 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)
  3090. end
  3091. end
  3092. unanchor()
  3093. Humanoid.MaxHealth = "inf"
  3094. Humanoid.Health = "inf"
  3095. if Rooted == false then
  3096. Disable_Jump = false
  3097. Humanoid.WalkSpeed = Speed
  3098. elseif Rooted == true then
  3099. Disable_Jump = true
  3100. Humanoid.WalkSpeed = 0
  3101. end
  3102. for _, c in pairs(Character:GetChildren()) do
  3103. if c.ClassName == "Part" and c.Name ~= "Detail" then
  3104. c.Material = "Fabric"
  3105. if c:FindFirstChildOfClass("ParticleEmitter") then
  3106. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  3107. end
  3108. if c ~= Head then
  3109. c.Color = C3(0,0,0)
  3110. else
  3111. c.Color = C3(0,0,0)
  3112. end
  3113. if c == Head then
  3114. if c:FindFirstChild("face") then
  3115. c.face:remove()
  3116. end
  3117. end
  3118. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  3119. c:remove()
  3120. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  3121. c:remove()
  3122. end
  3123. sick.SoundId = "rbxassetid://1873219898"
  3124. sick.Looped = true
  3125. sick.Pitch = 1
  3126. sick.Volume = 2
  3127. sick.Parent = Effects
  3128. sick.Playing = PLAYSONG
  3129. end
  3130. Humanoid.Name = "Superior = "..Player.Name
  3131. end
  3132.  
  3133. --//=================================\\
  3134. --\\=================================//
  3135.  
  3136.  
  3137.  
  3138.  
  3139.  
  3140. --//====================================================\\--
  3141. --|| END OF SCRIPT
  3142. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement