Advertisement
SirSkyvalky

Untitled

Aug 17th, 2018
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 102.47 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86. wait(0.2)
  87.  
  88. Player = owner
  89. PlayerGui = Player.PlayerGui
  90. Cam = workspace.CurrentCamera
  91. Backpack = Player.Backpack
  92. Character = Player.Character
  93. Humanoid = Character:FindFirstChildOfClass("Humanoid")
  94.  
  95. RootPart = Character["HumanoidRootPart"]
  96. Torso = Character["Torso"]
  97. Head = Character["Head"]
  98. RightArm = Character["Right Arm"]
  99. LeftArm = Character["Left Arm"]
  100. RightLeg = Character["Right Leg"]
  101. LeftLeg = Character["Left Leg"]
  102. RootJoint = RootPart["RootJoint"]
  103. Neck = Torso["Neck"]
  104. RightShoulder = Torso["Right Shoulder"]
  105. LeftShoulder = Torso["Left Shoulder"]
  106. RightHip = Torso["Right Hip"]
  107. LeftHip = Torso["Left Hip"]
  108.  
  109. IT = Instance.new
  110. CF = CFrame.new
  111. VT = Vector3.new
  112. RAD = math.rad
  113. C3 = Color3.new
  114. UD2 = UDim2.new
  115. BRICKC = BrickColor.new
  116. ANGLES = CFrame.Angles
  117. EULER = CFrame.fromEulerAnglesXYZ
  118. COS = math.cos
  119. ACOS = math.acos
  120. SIN = math.sin
  121. ASIN = math.asin
  122. ABS = math.abs
  123. MRANDOM = math.random
  124. FLOOR = math.floor
  125.  
  126. --//=================================\\
  127. --|| USEFUL VALUES
  128. --\\=================================//
  129.  
  130. Animation_Speed = 3
  131. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  132. local Speed = 25
  133. local SIZE = 2
  134. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  135. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  136. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  137. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  138. local DAMAGEMULTIPLIER = 1
  139. local ANIM = "Idle"
  140. local ATTACK = false
  141. local EQUIPPED = false
  142. local HOLD = false
  143. local COMBO = 1
  144. local Rooted = false
  145. local SINE = 0
  146. local KEYHOLD = false
  147. local CHANGE = 2 / Animation_Speed
  148. local WALKINGANIM = false
  149. local VALUE1 = false
  150. local VALUE2 = false
  151. local ROBLOXIDLEANIMATION = IT("Animation")
  152. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  153. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  154. --ROBLOXIDLEANIMATION.Parent = Humanoid
  155. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  156. WEAPONGUI.Name = "Weapon GUI"
  157. local Weapon = IT("Folder")
  158. Weapon.Name = "Adds"
  159. local Effects = IT("Folder", Weapon)
  160. Effects.Name = "Effects"
  161. local ANIMATOR = Humanoid.Animator
  162. local ANIMATE = Character.Animate
  163. local UNANCHOR = true
  164. local VOCALS_BASIC = {468972244,468972378,468972711,468972944}
  165. local VOCALS_TAUNT = {468973055,468973159}
  166. local VOCAL_GROWL = 468971411
  167. local VOCALS_ENRAGES = {528589078,528589175,528589274,528589382}
  168. local CHARGE = 459523787
  169. local ROUGHBLAST = 461105534
  170. local WALLSOUND = 424195952
  171. local FORCEIDLE = false
  172. Character.Archivable = true
  173. script.Parent = WEAPONGUI
  174. local CLONE = Character:Clone()
  175. CLONE.Parent = nil
  176. Character.Archivable = false
  177. local sick = Instance.new("Sound",Character)
  178. local XATTACK = false
  179. Humanoid.JumpPower = 200
  180.  
  181. --//=================================\\
  182. --\\=================================//
  183.  
  184.  
  185. --//=================================\\
  186. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  187. --\\=================================//
  188.  
  189. ArtificialHB = Instance.new("BindableEvent", script)
  190. ArtificialHB.Name = "ArtificialHB"
  191.  
  192. script:WaitForChild("ArtificialHB")
  193.  
  194. frame = Frame_Speed
  195. tf = 0
  196. allowframeloss = false
  197. tossremainder = false
  198. lastframe = tick()
  199. script.ArtificialHB:Fire()
  200.  
  201. game:GetService("RunService").Heartbeat:connect(function(s, p)
  202. tf = tf + s
  203. if tf >= frame then
  204. if allowframeloss then
  205. script.ArtificialHB:Fire()
  206. lastframe = tick()
  207. else
  208. for i = 1, math.floor(tf / frame) do
  209. script.ArtificialHB:Fire()
  210. end
  211. lastframe = tick()
  212. end
  213. if tossremainder then
  214. tf = 0
  215. else
  216. tf = tf - frame * math.floor(tf / frame)
  217. end
  218. end
  219. end)
  220.  
  221. --//=================================\\
  222. --\\=================================//
  223.  
  224. --//=================================\\
  225. --|| SOME FUNCTIONS
  226. --\\=================================//
  227.  
  228. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  229. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  230. end
  231.  
  232. function PositiveAngle(NUMBER)
  233. if NUMBER >= 0 then
  234. NUMBER = 0
  235. end
  236. return NUMBER
  237. end
  238.  
  239. function NegativeAngle(NUMBER)
  240. if NUMBER <= 0 then
  241. NUMBER = 0
  242. end
  243. return NUMBER
  244. end
  245.  
  246. function Swait(NUMBER)
  247. if NUMBER == 0 or NUMBER == nil then
  248. ArtificialHB.Event:wait()
  249. else
  250. for i = 1, NUMBER do
  251. ArtificialHB.Event:wait()
  252. end
  253. end
  254. end
  255.  
  256. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  257. local NEWMESH = IT(MESH)
  258. if MESH == "SpecialMesh" then
  259. NEWMESH.MeshType = MESHTYPE
  260. if MESHID ~= "nil" and MESHID ~= "" then
  261. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  262. end
  263. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  264. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  265. end
  266. end
  267. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  268. NEWMESH.Scale = SCALE
  269. NEWMESH.Parent = PARENT
  270. return NEWMESH
  271. end
  272.  
  273. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  274. local NEWPART = IT("Part")
  275. NEWPART.formFactor = FORMFACTOR
  276. NEWPART.Reflectance = REFLECTANCE
  277. NEWPART.Transparency = TRANSPARENCY
  278. NEWPART.CanCollide = false
  279. NEWPART.Locked = true
  280. NEWPART.Anchored = true
  281. if ANCHOR == false then
  282. NEWPART.Anchored = false
  283. end
  284. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  285. NEWPART.Name = NAME
  286. NEWPART.Size = SIZE
  287. NEWPART.Position = Torso.Position
  288. NEWPART.Material = MATERIAL
  289. NEWPART:BreakJoints()
  290. NEWPART.Parent = PARENT
  291. return NEWPART
  292. end
  293.  
  294. local function weldBetween(a, b)
  295. local weldd = Instance.new("ManualWeld")
  296. weldd.Part0 = a
  297. weldd.Part1 = b
  298. weldd.C0 = CFrame.new()
  299. weldd.C1 = b.CFrame:inverse() * a.CFrame
  300. weldd.Parent = a
  301. return weldd
  302. end
  303.  
  304.  
  305. function QuaternionFromCFrame(cf)
  306. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  307. local trace = m00 + m11 + m22
  308. if trace > 0 then
  309. local s = math.sqrt(1 + trace)
  310. local recip = 0.5 / s
  311. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  312. else
  313. local i = 0
  314. if m11 > m00 then
  315. i = 1
  316. end
  317. if m22 > (i == 0 and m00 or m11) then
  318. i = 2
  319. end
  320. if i == 0 then
  321. local s = math.sqrt(m00 - m11 - m22 + 1)
  322. local recip = 0.5 / s
  323. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  324. elseif i == 1 then
  325. local s = math.sqrt(m11 - m22 - m00 + 1)
  326. local recip = 0.5 / s
  327. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  328. elseif i == 2 then
  329. local s = math.sqrt(m22 - m00 - m11 + 1)
  330. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  331. end
  332. end
  333. end
  334.  
  335. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  336. local xs, ys, zs = x + x, y + y, z + z
  337. local wx, wy, wz = w * xs, w * ys, w * zs
  338. local xx = x * xs
  339. local xy = x * ys
  340. local xz = x * zs
  341. local yy = y * ys
  342. local yz = y * zs
  343. local zz = z * zs
  344. 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))
  345. end
  346.  
  347. function QuaternionSlerp(a, b, t)
  348. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  349. local startInterp, finishInterp;
  350. if cosTheta >= 0.0001 then
  351. if (1 - cosTheta) > 0.0001 then
  352. local theta = ACOS(cosTheta)
  353. local invSinTheta = 1 / SIN(theta)
  354. startInterp = SIN((1 - t) * theta) * invSinTheta
  355. finishInterp = SIN(t * theta) * invSinTheta
  356. else
  357. startInterp = 1 - t
  358. finishInterp = t
  359. end
  360. else
  361. if (1 + cosTheta) > 0.0001 then
  362. local theta = ACOS(-cosTheta)
  363. local invSinTheta = 1 / SIN(theta)
  364. startInterp = SIN((t - 1) * theta) * invSinTheta
  365. finishInterp = SIN(t * theta) * invSinTheta
  366. else
  367. startInterp = t - 1
  368. finishInterp = t
  369. end
  370. end
  371. 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
  372. end
  373.  
  374. function Clerp(a, b, t)
  375. local qa = {QuaternionFromCFrame(a)}
  376. local qb = {QuaternionFromCFrame(b)}
  377. local ax, ay, az = a.x, a.y, a.z
  378. local bx, by, bz = b.x, b.y, b.z
  379. local _t = 1 - t
  380. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  381. end
  382.  
  383. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  384. local frame = IT("Frame")
  385. frame.BackgroundTransparency = TRANSPARENCY
  386. frame.BorderSizePixel = BORDERSIZEPIXEL
  387. frame.Position = POSITION
  388. frame.Size = SIZE
  389. frame.BackgroundColor3 = COLOR
  390. frame.BorderColor3 = BORDERCOLOR
  391. frame.Name = NAME
  392. frame.Parent = PARENT
  393. return frame
  394. end
  395.  
  396. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  397. local label = IT("TextLabel")
  398. label.BackgroundTransparency = 1
  399. label.Size = UD2(1, 0, 1, 0)
  400. label.Position = UD2(0, 0, 0, 0)
  401. label.TextColor3 = TEXTCOLOR
  402. label.TextStrokeTransparency = STROKETRANSPARENCY
  403. label.TextTransparency = TRANSPARENCY
  404. label.FontSize = TEXTFONTSIZE
  405. label.Font = TEXTFONT
  406. label.BorderSizePixel = BORDERSIZEPIXEL
  407. label.TextScaled = false
  408. label.Text = TEXT
  409. label.Name = NAME
  410. label.Parent = PARENT
  411. return label
  412. end
  413.  
  414. function NoOutlines(PART)
  415. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  416. end
  417.  
  418. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  419. local NEWWELD = IT(TYPE)
  420. NEWWELD.Part0 = PART0
  421. NEWWELD.Part1 = PART1
  422. NEWWELD.C0 = C0
  423. NEWWELD.C1 = C1
  424. NEWWELD.Parent = PARENT
  425. return NEWWELD
  426. end
  427.  
  428. local S = IT("Sound")
  429. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  430. local NEWSOUND = nil
  431. coroutine.resume(coroutine.create(function()
  432. NEWSOUND = S:Clone()
  433. NEWSOUND.Parent = PARENT
  434. NEWSOUND.Volume = VOLUME
  435. NEWSOUND.Pitch = PITCH
  436. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  437. NEWSOUND:play()
  438. if DOESLOOP == true then
  439. NEWSOUND.Looped = true
  440. else
  441. repeat wait(1) until NEWSOUND.Playing == false
  442. NEWSOUND:remove()
  443. end
  444. end))
  445. return NEWSOUND
  446. end
  447.  
  448. function CFrameFromTopBack(at, top, back)
  449. local right = top:Cross(back)
  450. 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)
  451. end
  452.  
  453. --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})
  454. function WACKYEFFECT(Table)
  455. local TYPE = (Table.EffectType or "Sphere")
  456. local SIZE = (Table.Size or VT(1,1,1))
  457. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  458. local TRANSPARENCY = (Table.Transparency or 0)
  459. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  460. local CFRAME = (Table.CFrame or Torso.CFrame)
  461. local MOVEDIRECTION = (Table.MoveToPos or nil)
  462. local ROTATION1 = (Table.RotationX or 0)
  463. local ROTATION2 = (Table.RotationY or 0)
  464. local ROTATION3 = (Table.RotationZ or 0)
  465. local MATERIAL = (Table.Material or "Neon")
  466. local COLOR = (Table.Color or C3(1,1,1))
  467. local TIME = (Table.Time or 45)
  468. local SOUNDID = (Table.SoundID or nil)
  469. local SOUNDPITCH = (Table.SoundPitch or nil)
  470. local SOUNDVOLUME = (Table.SoundVolume or nil)
  471. coroutine.resume(coroutine.create(function()
  472. local PLAYSSOUND = false
  473. local SOUND = nil
  474. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  475. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  476. PLAYSSOUND = true
  477. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  478. end
  479. EFFECT.Color = COLOR
  480. local MSH = nil
  481. if TYPE == "Sphere" then
  482. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  483. elseif TYPE == "Block" then
  484. MSH = IT("BlockMesh",EFFECT)
  485. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  486. elseif TYPE == "Wave" then
  487. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  488. elseif TYPE == "Ring" then
  489. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  490. elseif TYPE == "Slash" then
  491. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  492. elseif TYPE == "Round Slash" then
  493. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  494. elseif TYPE == "Swirl" then
  495. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  496. elseif TYPE == "Skull" then
  497. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  498. elseif TYPE == "Crystal" then
  499. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  500. end
  501. if MSH ~= nil then
  502. local MOVESPEED = nil
  503. if MOVEDIRECTION ~= nil then
  504. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  505. end
  506. local GROWTH = SIZE - ENDSIZE
  507. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  508. if TYPE == "Block" then
  509. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  510. else
  511. EFFECT.CFrame = CFRAME
  512. end
  513. for LOOP = 1, TIME+1 do
  514. Swait()
  515. MSH.Scale = MSH.Scale - GROWTH/TIME
  516. if TYPE == "Wave" then
  517. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  518. end
  519. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  520. if TYPE == "Block" then
  521. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  522. else
  523. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  524. end
  525. if MOVEDIRECTION ~= nil then
  526. local ORI = EFFECT.Orientation
  527. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  528. EFFECT.Orientation = ORI
  529. end
  530. end
  531. EFFECT.Transparency = 1
  532. if PLAYSSOUND == false then
  533. EFFECT:remove()
  534. else
  535. repeat Swait() until SOUND.Playing == false
  536. EFFECT:remove()
  537. end
  538. else
  539. if PLAYSSOUND == false then
  540. EFFECT:remove()
  541. else
  542. repeat Swait() until SOUND.Playing == false
  543. EFFECT:remove()
  544. end
  545. end
  546. end))
  547. end
  548.  
  549. function MakeForm(PART,TYPE)
  550. if TYPE == "Cyl" then
  551. local MSH = IT("CylinderMesh",PART)
  552. elseif TYPE == "Ball" then
  553. local MSH = IT("SpecialMesh",PART)
  554. MSH.MeshType = "Sphere"
  555. elseif TYPE == "Wedge" then
  556. local MSH = IT("SpecialMesh",PART)
  557. MSH.MeshType = "Wedge"
  558. end
  559. end
  560.  
  561. Debris = game:GetService("Debris")
  562.  
  563. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  564. local DIRECTION = CF(StartPos,EndPos).lookVector
  565. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  566. end
  567.  
  568. function turnto(position)
  569. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  570. end
  571.  
  572. local Particle = IT("ParticleEmitter",nil)
  573. Particle.Enabled = false
  574. Particle.LightEmission = 0.2
  575. Particle.Rate = 150
  576. Particle.ZOffset = 1
  577. Particle.Rotation = NumberRange.new(-180, 180)
  578.  
  579. --ParticleEmitter({Speed = 5, RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false, Color1 = C3(1,1,1), Color2 = C3(1,1,1), Texture = ""})
  580. function ParticleEmitter(Table)
  581. local PRTCL = Particle:Clone()
  582. local Color1 = Table.Color1 or C3(1,1,1)
  583. local Color2 = Table.Color2 or C3(1,1,1)
  584. local Speed = Table.Speed or 5
  585. local Drag = Table.Drag or 0
  586. local Size1 = Table.Size1 or 1
  587. local Size2 = Table.Size2 or 5
  588. local Lifetime1 = Table.Lifetime1 or 1
  589. local Lifetime2 = Table.Lifetime2 or 1.5
  590. local Parent = Table.Parent or Torso
  591. local Emit = Table.Emit or 100
  592. local Offset = Table.Offset or 360
  593. local Acel = Table.Acel or VT(0,0,0)
  594. local Enabled = Table.Enabled or false
  595. local Texture = Table.Texture or "281983280"
  596. local RotS = Table.RotSpeed or NumberRange.new(-15, 15)
  597. local Trans1 = Table.Transparency1 or 0
  598. local Trans2 = Table.Transparency2 or 0
  599. PRTCL.Parent = Parent
  600. PRTCL.RotSpeed = RotS
  601. PRTCL.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,Trans1),NumberSequenceKeypoint.new(1,Trans2)})
  602. PRTCL.Texture = "http://www.roblox.com/asset/?id="..Texture
  603. PRTCL.Color = ColorSequence.new(Color1,Color2)
  604. PRTCL.Size = NumberSequence.new(Size1,Size2)
  605. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  606. PRTCL.Speed = NumberRange.new(Speed)
  607. PRTCL.VelocitySpread = Offset
  608. PRTCL.Drag = Drag
  609. PRTCL.Acceleration = Acel
  610. if Enabled == false then
  611. PRTCL:Emit(Emit)
  612. Debris:AddItem(PRTCL,Lifetime2)
  613. else
  614. PRTCL.Enabled = true
  615. end
  616. return PRTCL
  617. end
  618.  
  619. function AddChildrenToTable(FROM,PARENT,DIST,TABLE)
  620. for _, c in pairs(PARENT:GetDescendants()) do
  621. if c.ClassName == "Model" then
  622. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  623. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  624. local TORSO = (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso"))
  625. if (TORSO.Position - FROM).Magnitude < DIST then
  626. table.insert(TABLE,c)
  627. end
  628. end
  629. end
  630. end
  631. end
  632.  
  633. --//=================================\\
  634. --|| WEAPON CREATION
  635. --\\=================================//
  636.  
  637. local DECAL = IT("Decal",nil)
  638. DECAL.Transparency = 1
  639. DECAL.Texture = "http://www.roblox.com/asset/?id=99174105"
  640. Head:ClearAllChildren()
  641.  
  642. Humanoid.Parent = nil
  643. RootPart.Size = RootPart.Size*SIZE
  644. Torso.Size = Torso.Size*SIZE
  645. RightArm.Size = RightArm.Size*SIZE
  646. RightLeg.Size = RightLeg.Size*SIZE
  647. LeftArm.Size = LeftArm.Size*SIZE
  648. LeftLeg.Size = LeftLeg.Size*SIZE
  649. RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  650. RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  651. Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  652. Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
  653. RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  654. LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  655. RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  656. LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  657. RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  658. LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  659. Head.Size = VT(Head.Size.Y,Head.Size.Y,Head.Size.Y)*SIZE
  660. RootJoint.Parent = RootPart
  661. Neck.Parent = Torso
  662. RightShoulder.Parent = Torso
  663. LeftShoulder.Parent = Torso
  664. RightHip.Parent = Torso
  665. LeftHip.Parent = Torso
  666.  
  667. CreateMesh("SpecialMesh", Head, "FileMesh", "1532586252", "1532589976", VT(1.75, 1.75, 1.7)*SIZE, VT(0,0.4,0.1)*SIZE)
  668. --CreateMesh("SpecialMesh", Head, "FileMesh", "62719736", "1566254101", VT(0.85,0.85,0.85)*SIZE, VT(0,1,-0.4))
  669. Humanoid.DisplayDistanceType = "None"
  670. local naeeym = IT("BillboardGui",Character)
  671. naeeym.AlwaysOnTop = true
  672. naeeym.Size = UDim2.new(5,35,2,15)
  673. naeeym.StudsOffset = Vector3.new(0,5,0)
  674. naeeym.MaxDistance = 75
  675. naeeym.Adornee = Character.Head
  676. naeeym.Name = "Name"
  677. local tecks = IT("TextLabel",naeeym)
  678. tecks.BackgroundTransparency = 1
  679. tecks.TextScaled = true
  680. tecks.BorderSizePixel = 0
  681. tecks.Text = "///////////////////"
  682. tecks.Font = "Fantasy"
  683. tecks.TextSize = 30
  684. tecks.TextTransparency = 0.5
  685. tecks.TextStrokeTransparency = 0.5
  686. tecks.TextColor3 = C3(0,0,0)
  687. tecks.TextStrokeColor3 = C3(175/1275, 148/1275, 131/1275)
  688. tecks.Size = UDim2.new(1,0,0.5,0)
  689. tecks.Parent = naeeym
  690. local naeeym2 = IT("BillboardGui",Character)
  691. naeeym2.AlwaysOnTop = true
  692. naeeym2.Size = UDim2.new(7,35,3,15)
  693. naeeym2.StudsOffset = Vector3.new(0,5,0)
  694. naeeym2.MaxDistance = 75
  695. naeeym2.Adornee = Character.Head
  696. naeeym2.Name = "Name2"
  697. local tecks2 = IT("TextLabel",naeeym2)
  698. tecks2.BackgroundTransparency = 1
  699. tecks2.TextScaled = true
  700. tecks2.BorderSizePixel = 0
  701. tecks2.Text = "Satan"
  702. tecks2.Font = "Fantasy"
  703. tecks2.TextSize = 30
  704. tecks2.TextStrokeTransparency = 0
  705. tecks2.TextColor3 = C3(0,0,0)
  706. tecks2.TextStrokeColor3 = C3(175/575, 148/675, 131/675)
  707. tecks2.Size = UDim2.new(1,0,0.5,0)
  708. tecks2.Parent = naeeym2
  709.  
  710. local MSG = game.Chat:FilterStringForBroadcast(tecks2.Text,Player)
  711. tecks2.Text = MSG
  712.  
  713. local MSG = game.Chat:FilterStringForBroadcast(tecks.Text,Player)
  714. tecks.Text = MSG
  715.  
  716. local RINGFIRE = {}
  717. local top = Instance.new("Shirt")
  718. top.ShirtTemplate = "rbxassetid://791994658"
  719. top.Parent = Character
  720. top.Name = "Cloth"
  721. local bottom = Instance.new("Pants")
  722. bottom.PantsTemplate = "rbxassetid://1029442377"
  723. bottom.Parent = Character
  724. bottom.Name = "Cloth"
  725. local FIRE = IT("Model",Weapon)
  726. FIRE.Name = "RingOfFire"
  727. local MAIN = CreatePart(3, FIRE, "Neon", 0, 1, "Lavender", "Center", VT(0,0,0))
  728. FIRE.PrimaryPart = MAIN
  729. for i = 1, 45 do
  730. local PRT = CreatePart(3, FIRE, "Neon", 0, 1, "Lavender", "RingPart", VT(1,1,1))
  731. PRT.CFrame = MAIN.CFrame*ANGLES(RAD(0),RAD((360/45)*i),RAD(0))*CF(0,0,8)
  732. local PRTCL = ParticleEmitter({Transparency1 = 1, Transparency2 = 0,Speed = 0.2, Acel = VT(8,18,6), RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 1, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 0.8, Parent = PRT, Emit = 100, Offset = 360, Enabled = true, Color1 = C3(0,0,0), Color2 = C3(0.5,0,0), Texture = "1523916715"})
  733. PRTCL.LockedToPart = true
  734. PRTCL.Rate = 35
  735. table.insert(RINGFIRE,PRTCL)
  736. end
  737. local A = IT("Attachment",RightArm)
  738. A.Position = VT(0,-1*SIZE,0.1*SIZE)
  739. local B = IT("Attachment",LeftArm)
  740. B.Position = VT(0,-1*SIZE,0.1*SIZE)
  741. local PRTCL = ParticleEmitter({Transparency1 = 1, Transparency2 = 0,Speed = 1, Acel = VT(0,-1,0), RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 1, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1.4, Parent = A, Emit = 100, Offset = 360, Enabled = true, Color1 = C3(0,0,0), Color2 = C3(0.3,0,0), Texture = "1523916715"})
  742. PRTCL.LockedToPart = true
  743. PRTCL.Rate = 85
  744. table.insert(RINGFIRE,PRTCL)
  745. local PRTCL = ParticleEmitter({Transparency1 = 1, Transparency2 = 0,Speed = 1, Acel = VT(0,-1,0), RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 1, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1.4, Parent = B, Emit = 100, Offset = 360, Enabled = true, Color1 = C3(0,0,0), Color2 = C3(0.3,0,0), Texture = "1523916715"})
  746. PRTCL.LockedToPart = true
  747. PRTCL.Rate = 85
  748. table.insert(RINGFIRE,PRTCL)
  749. for _, c in pairs(Character:GetChildren()) do
  750. if c.ClassName == "Part" and c ~= RootPart then
  751. local Face = DECAL:Clone()
  752. Face.Parent = c
  753. Face.Face = "Top"
  754. local Face = DECAL:Clone()
  755. Face.Parent = c
  756. Face.Face = "Left"
  757. local Face = DECAL:Clone()
  758. Face.Parent = c
  759. Face.Face = "Right"
  760. local Face = DECAL:Clone()
  761. Face.Parent = c
  762. Face.Face = "Front"
  763. local Face = DECAL:Clone()
  764. Face.Parent = c
  765. Face.Face = "Back"
  766. local Face = DECAL:Clone()
  767. Face.Parent = c
  768. Face.Face = "Bottom"
  769. end
  770. end
  771.  
  772. local LASTPART = Head
  773. for i = 1, 45 do
  774. local MATH = (1-(i/50))
  775. if LASTPART == Head then
  776. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  777. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.15, 1.5, -0.2) * ANGLES(RAD(-75), RAD(15), RAD(-15)), CF(0, 0, 0))
  778. LASTPART = Horn
  779. Horn.Color = C3(0,0,0)
  780. MakeForm(Horn,"Cyl")
  781. local Face = DECAL:Clone()
  782. Face.Parent = Horn
  783. Face.Face = "Top"
  784. local Face = DECAL:Clone()
  785. Face.Parent = Horn
  786. Face.Face = "Left"
  787. local Face = DECAL:Clone()
  788. Face.Parent = Horn
  789. Face.Face = "Right"
  790. local Face = DECAL:Clone()
  791. Face.Parent = Horn
  792. Face.Face = "Front"
  793. local Face = DECAL:Clone()
  794. Face.Parent = Horn
  795. Face.Face = "Back"
  796. local Face = DECAL:Clone()
  797. Face.Parent = Horn
  798. Face.Face = "Bottom"
  799. else
  800. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.15,0.25*MATH),false)
  801. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(3), RAD(1), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  802. LASTPART = Horn
  803. Horn.Color = C3(0,0,0)
  804. MakeForm(Horn,"Cyl")
  805. local Face = DECAL:Clone()
  806. Face.Parent = Horn
  807. Face.Face = "Top"
  808. local Face = DECAL:Clone()
  809. Face.Parent = Horn
  810. Face.Face = "Left"
  811. local Face = DECAL:Clone()
  812. Face.Parent = Horn
  813. Face.Face = "Right"
  814. local Face = DECAL:Clone()
  815. Face.Parent = Horn
  816. Face.Face = "Front"
  817. local Face = DECAL:Clone()
  818. Face.Parent = Horn
  819. Face.Face = "Back"
  820. local Face = DECAL:Clone()
  821. Face.Parent = Horn
  822. Face.Face = "Bottom"
  823. end
  824. end
  825. local LASTPART = Head
  826. for i = 1, 45 do
  827. local MATH = (1-(i/50))
  828. if LASTPART == Head then
  829. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  830. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.15, 1.5, -0.2) * ANGLES(RAD(-75), RAD(-15), RAD(15)), CF(0, 0, 0))
  831. LASTPART = Horn
  832. Horn.Color = C3(0,0,0)
  833. MakeForm(Horn,"Cyl")
  834. local Face = DECAL:Clone()
  835. Face.Parent = Horn
  836. Face.Face = "Top"
  837. local Face = DECAL:Clone()
  838. Face.Parent = Horn
  839. Face.Face = "Left"
  840. local Face = DECAL:Clone()
  841. Face.Parent = Horn
  842. Face.Face = "Right"
  843. local Face = DECAL:Clone()
  844. Face.Parent = Horn
  845. Face.Face = "Front"
  846. local Face = DECAL:Clone()
  847. Face.Parent = Horn
  848. Face.Face = "Back"
  849. local Face = DECAL:Clone()
  850. Face.Parent = Horn
  851. Face.Face = "Bottom"
  852. else
  853. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.15,0.25*MATH),false)
  854. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(3), RAD(-1), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  855. LASTPART = Horn
  856. Horn.Color = C3(0,0,0)
  857. MakeForm(Horn,"Cyl")
  858. local Face = DECAL:Clone()
  859. Face.Parent = Horn
  860. Face.Face = "Top"
  861. local Face = DECAL:Clone()
  862. Face.Parent = Horn
  863. Face.Face = "Left"
  864. local Face = DECAL:Clone()
  865. Face.Parent = Horn
  866. Face.Face = "Right"
  867. local Face = DECAL:Clone()
  868. Face.Parent = Horn
  869. Face.Face = "Front"
  870. local Face = DECAL:Clone()
  871. Face.Parent = Horn
  872. Face.Face = "Back"
  873. local Face = DECAL:Clone()
  874. Face.Parent = Horn
  875. Face.Face = "Bottom"
  876. end
  877. end
  878. local LASTPART = Head
  879. for i = 1, 45 do
  880. local MATH = (1-(i/50))
  881. if LASTPART == Head then
  882. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  883. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.25, 1.5, -0.2) * ANGLES(RAD(-45), RAD(15), RAD(-35)), CF(0, 0, 0))
  884. LASTPART = Horn
  885. Horn.Color = C3(0,0,0)
  886. MakeForm(Horn,"Cyl")
  887. local Face = DECAL:Clone()
  888. Face.Parent = Horn
  889. Face.Face = "Top"
  890. local Face = DECAL:Clone()
  891. Face.Parent = Horn
  892. Face.Face = "Left"
  893. local Face = DECAL:Clone()
  894. Face.Parent = Horn
  895. Face.Face = "Right"
  896. local Face = DECAL:Clone()
  897. Face.Parent = Horn
  898. Face.Face = "Front"
  899. local Face = DECAL:Clone()
  900. Face.Parent = Horn
  901. Face.Face = "Back"
  902. local Face = DECAL:Clone()
  903. Face.Parent = Horn
  904. Face.Face = "Bottom"
  905. else
  906. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.12,0.25*MATH),false)
  907. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(4), RAD(1), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  908. LASTPART = Horn
  909. Horn.Color = C3(0,0,0)
  910. MakeForm(Horn,"Cyl")
  911. local Face = DECAL:Clone()
  912. Face.Parent = Horn
  913. Face.Face = "Top"
  914. local Face = DECAL:Clone()
  915. Face.Parent = Horn
  916. Face.Face = "Left"
  917. local Face = DECAL:Clone()
  918. Face.Parent = Horn
  919. Face.Face = "Right"
  920. local Face = DECAL:Clone()
  921. Face.Parent = Horn
  922. Face.Face = "Front"
  923. local Face = DECAL:Clone()
  924. Face.Parent = Horn
  925. Face.Face = "Back"
  926. local Face = DECAL:Clone()
  927. Face.Parent = Horn
  928. Face.Face = "Bottom"
  929. end
  930. end
  931. local LASTPART = Head
  932. for i = 1, 45 do
  933. local MATH = (1-(i/50))
  934. if LASTPART == Head then
  935. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  936. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.25, 1.5, -0.2) * ANGLES(RAD(-45), RAD(-15), RAD(35)), CF(0, 0, 0))
  937. LASTPART = Horn
  938. Horn.Color = C3(0,0,0)
  939. MakeForm(Horn,"Cyl")
  940. local Face = DECAL:Clone()
  941. Face.Parent = Horn
  942. Face.Face = "Top"
  943. local Face = DECAL:Clone()
  944. Face.Parent = Horn
  945. Face.Face = "Left"
  946. local Face = DECAL:Clone()
  947. Face.Parent = Horn
  948. Face.Face = "Right"
  949. local Face = DECAL:Clone()
  950. Face.Parent = Horn
  951. Face.Face = "Front"
  952. local Face = DECAL:Clone()
  953. Face.Parent = Horn
  954. Face.Face = "Back"
  955. local Face = DECAL:Clone()
  956. Face.Parent = Horn
  957. Face.Face = "Bottom"
  958. else
  959. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.12,0.25*MATH),false)
  960. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(4), RAD(-1), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  961. LASTPART = Horn
  962. Horn.Color = C3(0,0,0)
  963. MakeForm(Horn,"Cyl")
  964. local Face = DECAL:Clone()
  965. Face.Parent = Horn
  966. Face.Face = "Top"
  967. local Face = DECAL:Clone()
  968. Face.Parent = Horn
  969. Face.Face = "Left"
  970. local Face = DECAL:Clone()
  971. Face.Parent = Horn
  972. Face.Face = "Right"
  973. local Face = DECAL:Clone()
  974. Face.Parent = Horn
  975. Face.Face = "Front"
  976. local Face = DECAL:Clone()
  977. Face.Parent = Horn
  978. Face.Face = "Back"
  979. local Face = DECAL:Clone()
  980. Face.Parent = Horn
  981. Face.Face = "Bottom"
  982. end
  983. end
  984.  
  985. local EYE1 = IT("Attachment",Head)
  986. EYE1.Position = (VT(0.5, 0.900, -1.195)/2)*SIZE
  987. local EYE2 = IT("Attachment",Head)
  988. EYE2.Position = (VT(-0.5, 0.900, -1.195)/2)*SIZE
  989. local PRTCL = ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 0.2, Acel = VT(2,0.5,0.6), RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 0.15, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1.4, Parent = EYE1, Emit = 100, Offset = 360, Enabled = true, Color1 = C3(1,0,0), Color2 = C3(0.3,0,0), Texture = "1523916715"})
  990. PRTCL.LockedToPart = true
  991. PRTCL.Rate = 185
  992. PRTCL.ZOffset = 0.1
  993. table.insert(RINGFIRE,PRTCL)
  994. local PRTCL = ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 0.2, Acel = VT(-2,0.5,0.6), RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 0.15, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1.4, Parent = EYE2, Emit = 100, Offset = 360, Enabled = true, Color1 = C3(1,0,0), Color2 = C3(0.3,0,0), Texture = "1523916715"})
  995. PRTCL.LockedToPart = true
  996. PRTCL.Rate = 185
  997. PRTCL.ZOffset = 0.1
  998. local BODY = {}
  999. table.insert(RINGFIRE,PRTCL)
  1000. for _, c in pairs(Character:GetDescendants()) do
  1001. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1002. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1003. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1004. end
  1005. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
  1006. elseif c:IsA("JointInstance") then
  1007. table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
  1008. end
  1009. end
  1010. function refit()
  1011. Character.Parent = workspace
  1012. for e = 1, #BODY do
  1013. if BODY[e] ~= nil then
  1014. local STUFF = BODY[e]
  1015. local PART = STUFF[1]
  1016. local PARENT = STUFF[2]
  1017. local MATERIAL = STUFF[3]
  1018. local COLOR = STUFF[4]
  1019. local TRANSPARENCY = STUFF[5]
  1020. --local SIZE = STUFF[6]
  1021. local NAME = STUFF[7]
  1022. if PART.ClassName == "Part" and PART ~= RootPart then
  1023. PART.Material = MATERIAL
  1024. PART.Transparency = TRANSPARENCY
  1025. PART.Name = NAME
  1026. end
  1027. if PART.Parent ~= PARENT then
  1028. Humanoid:remove()
  1029. PART.Parent = PARENT
  1030. Humanoid = IT("Humanoid",Character)
  1031. end
  1032. end
  1033. end
  1034. end
  1035.  
  1036. for _, c in pairs(Weapon:GetChildren()) do
  1037. if c.ClassName == "Part" then
  1038. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1039. end
  1040. end
  1041.  
  1042. local SKILLTEXTCOLOR = C3(0,0,0)
  1043. local SKILLFONT = "Fantasy"
  1044. local SKILLTEXTSIZE = 6
  1045.  
  1046. Weapon.Parent = Character
  1047. Humanoid.Parent = Character
  1048.  
  1049. Humanoid.Died:connect(function()
  1050. refit()
  1051. end)
  1052.  
  1053. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1054. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1055. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.82, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1056. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.78, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1057. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.74, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1058.  
  1059. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 1")
  1060. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
  1061. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 3")
  1062. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 4")
  1063. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 5")
  1064.  
  1065. --//=================================\\
  1066. --|| DAMAGING
  1067. --\\=================================//
  1068.  
  1069. function ApplyDamage(Humanoid,Damage,TorsoPart)
  1070. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1071. defence.Name = ("HitBy"..Player.Name)
  1072. game:GetService("Debris"):AddItem(defence, 0.001)
  1073. Damage = Damage * DAMAGEMULTIPLIER
  1074. if Humanoid.Health ~= 0 then
  1075. local CritChance = MRANDOM(1,100)
  1076. if Damage > Humanoid.Health then
  1077. Damage = math.ceil(Humanoid.Health)
  1078. if Damage == 0 then
  1079. Damage = 0.1
  1080. end
  1081. end
  1082. Humanoid.Health = Humanoid.Health - Damage
  1083. end
  1084. end
  1085.  
  1086. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1087. local CHILDREN = workspace:GetDescendants()
  1088. for index, CHILD in pairs(CHILDREN) do
  1089. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1090. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1091. if HUM then
  1092. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1093. if TORSO then
  1094. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1095. if CHILD.Parent == Effects and CHILD:FindFirstChild("RealBody") then
  1096. local BODY = CHILD.RealBody.Value
  1097. if BODY then
  1098. local HUM = BODY:FindFirstChildOfClass("Humanoid")
  1099. if HUM then
  1100. if INSTAKILL == true or (HUM.MaxHealth == math.huge and MAXDMG > 0) then
  1101. BODY:BreakJoints()
  1102. else
  1103. local TORSO = BODY:FindFirstChild("Torso") or BODY:FindFirstChild("UpperTorso")
  1104. if TORSO then
  1105. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  1106. local DMG = MRANDOM(MINDMG,MAXDMG)/2
  1107. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,85,1), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Neon", Color = C3(0.3,0,0), SoundID = HITPLAYERSOUNDS[MRANDOM(1,#HITPLAYERSOUNDS)], SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  1108. ApplyDamage(HUM,DMG,TORSO)
  1109. end
  1110. end
  1111. end
  1112. end
  1113. else
  1114. if INSTAKILL == true or (HUM.MaxHealth == math.huge and MAXDMG > 0) then
  1115. CHILD:BreakJoints()
  1116. else
  1117. local DMG = MRANDOM(MINDMG,MAXDMG)
  1118. ApplyDamage(HUM,DMG,TORSO)
  1119. end
  1120. if FLING > 0 then
  1121. for _, c in pairs(CHILD:GetChildren()) do
  1122. if c:IsA("BasePart") then
  1123. local bv = Instance.new("BodyVelocity")
  1124. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1125. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1126. bv.Parent = c
  1127. Debris:AddItem(bv,0.05)
  1128. end
  1129. end
  1130. end
  1131. end
  1132. end
  1133. end
  1134. end
  1135. end
  1136. end
  1137. end
  1138.  
  1139. --//=================================\\
  1140. --|| ATTACK FUNCTIONS AND STUFF
  1141. --\\=================================//
  1142.  
  1143. function MissilesOfDespair()
  1144. ATTACK = true
  1145. Rooted = true
  1146. local MAKERING = true
  1147. local RINGGROW = false
  1148. CreateSound(VOCALS_BASIC[MRANDOM(1,#VOCALS_BASIC)], Head, MRANDOM(9,11)/1.5, MRANDOM(9,11)/10, false)
  1149. coroutine.resume(coroutine.create(function()
  1150. repeat
  1151. Swait()
  1152. if ATTACK == false then
  1153. break
  1154. end
  1155. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1156. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1157. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1158. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1159. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1160. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1161. until MAKERING == false
  1162. repeat
  1163. Swait()
  1164. if ATTACK == false then
  1165. break
  1166. end
  1167. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1168. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1169. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(43 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1170. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-42 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1171. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1172. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1173. until RINGGROW == true
  1174. end))
  1175. local FIRERING = IT("Model",Effects)
  1176. FIRERING.Name = "RingOfFire"
  1177. local MAIN = CreatePart(3, FIRERING, "Neon", 0, 1, "Lavender", "Center", VT(0,0,0))
  1178. FIRERING.PrimaryPart = MAIN
  1179. local RINGS = {}
  1180. local EMITTERS = {}
  1181. for i = 1, 45 do
  1182. local PRT = CreatePart(3, FIRERING, "Neon", 0, 1, "Lavender", "RingPart", VT(1,1,1))
  1183. PRT.CFrame = MAIN.CFrame*ANGLES(RAD(0),RAD((360/45)*i),RAD(0))*CF(0,0,0)
  1184. table.insert(RINGS,PRT)
  1185. local PRTCL = ParticleEmitter({Transparency1 = 1, Transparency2 = 0,Speed = 0.2, Acel = VT(8,18,6), RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 1, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 0.8, Parent = PRT, Emit = 100, Offset = 360, Enabled = true, Color1 = C3(0,0,0), Color2 = C3(0.5,0,0), Texture = "1523916715"})
  1186. PRTCL.LockedToPart = true
  1187. PRTCL.Rate = 35
  1188. table.insert(EMITTERS,PRTCL)
  1189. end
  1190. FIRERING:SetPrimaryPartCFrame(RootPart.CFrame*CF(0,3,-3)*ANGLES(RAD(-75),RAD(0),RAD(0)))
  1191. wait(0.5)
  1192. MAKERING = false
  1193. CreateSound(278641993, MAIN, 5, 1.2, false)
  1194. for e = 1, 45 do
  1195. Swait()
  1196. FIRERING:SetPrimaryPartCFrame(RootPart.CFrame*CF(0,3,-3)*ANGLES(RAD(-75),RAD(0),RAD(0)))
  1197. for i = 1, #RINGS do
  1198. RINGS[i].CFrame = MAIN.CFrame*ANGLES(RAD(0),RAD((360/45)*i),RAD(0))*CF(0,0,e/10)
  1199. end
  1200. end
  1201. RINGGROW = true
  1202. wait(0.2)
  1203. for i = 1, 15 do
  1204. wait(0.08)
  1205. coroutine.resume(coroutine.create(function()
  1206. local POS = Mouse.Hit.p
  1207. local MISSILE = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "Missile", VT(0.5,1,0.5))
  1208. MISSILE.Color = C3(0.2,0,0)
  1209. CreateSound(84005018, MISSILE, 0.2, 1.2, false)
  1210. MakeForm(MISSILE,"Ball")
  1211. MISSILE.CFrame = MAIN.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(1,5))
  1212. for i = 1, 10 do
  1213. Swait()
  1214. MISSILE.Transparency = MISSILE.Transparency - 1/15
  1215. MISSILE.CFrame = MISSILE.CFrame * CF(0,0.7,0)
  1216. end
  1217. for i = 1, 5 do
  1218. Swait()
  1219. MISSILE.Transparency = MISSILE.Transparency - 1/15
  1220. MISSILE.CFrame = MISSILE.CFrame * CF(0,0.5,0)
  1221. end
  1222. MISSILE.Size = VT(0.2,0.2,1.5)
  1223. MISSILE.CFrame = CF(MISSILE.Position,POS)
  1224. for i = 1, 150 do
  1225. Swait()
  1226. MISSILE.CFrame = MISSILE.CFrame*CF(0,0,-3)
  1227. local HIT = Raycast(MISSILE.Position, MISSILE.CFrame.lookVector, 4, Character)
  1228. if HIT ~= nil then
  1229. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = MISSILE.Size, Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = MISSILE.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = MISSILE.Color, SoundID = nil, SoundPitch = 1.3, SoundVolume = 3})
  1230. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = MISSILE.Size, Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = MISSILE.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = MISSILE.Color, SoundID = nil, SoundPitch = 1.3, SoundVolume = 3})
  1231. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = MISSILE.Size, Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = MISSILE.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = MISSILE.Color, SoundID = 165970126, SoundPitch = MRANDOM(7,15)/10, SoundVolume = MRANDOM(15,30)/10})
  1232. for i = 1, 5 do
  1233. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(35,2,35), Transparency = 0.8, Transparency2 = 1, CFrame = MISSILE.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})
  1234. end
  1235. ApplyAoE(MISSILE.Position,15,15,25,35,false)
  1236. break
  1237. end
  1238. end
  1239. MISSILE:remove()
  1240. end))
  1241. end
  1242. for i = 1, #EMITTERS do
  1243. EMITTERS[i].Enabled = false
  1244. end
  1245. Debris:AddItem(FIRERING,3)
  1246. ATTACK = false
  1247. Rooted = false
  1248. end
  1249.  
  1250. function ShadowRoam()
  1251. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  1252. if HITFLOOR then
  1253. ATTACK = true
  1254. CreateSound(VOCALS_BASIC[MRANDOM(1,#VOCALS_BASIC)], Head, MRANDOM(9,11)/1.5, MRANDOM(9,11)/10, false)
  1255. local BUSY = false
  1256. Rooted = true
  1257. local CLOAKING = false
  1258. local UNCLOAKED = true
  1259. local LOOP = nil
  1260. local FAKESHADOW = IT("Model",Effects)
  1261. FAKESHADOW.Name = "Shadow"
  1262. local POS = RootPart.Position
  1263. local MOUSEHIT = nil
  1264. --
  1265. local TORS = CreatePart(3, FAKESHADOW, "Neon", 0, 1, "Maroon", "Spike", Torso.Size)
  1266. TORS.Color = C3(0,0,0)
  1267. TORS.CFrame = RootPart.CFrame*CF(0,-6.85,-0.8) * ANGLES(RAD(90), RAD(180), RAD(0))
  1268. local HED = CreatePart(3, FAKESHADOW, "Neon", 0, 1, "Maroon", "Spike", VT(Head.Size.Y,Head.Size.Y,Head.Size.Y))
  1269. HED.Color = C3(0,0,0)
  1270. HED.CFrame = TORS.CFrame*CF(0,-TORS.Size.Y/2-HED.Size.Y/2,0)
  1271. local RARM = CreatePart(3, FAKESHADOW, "Neon", 0, 1, "Maroon", "Spike", RightArm.Size)
  1272. RARM.Color = C3(0,0,0)
  1273. RARM.CFrame = TORS.CFrame*CF(TORS.Size.X/2+RARM.Size.X/1.9,-0.3,0) * ANGLES(RAD(0), RAD(0), RAD(-15))
  1274. local LARM = CreatePart(3, FAKESHADOW, "Neon", 0, 1, "Maroon", "Spike", RightArm.Size)
  1275. LARM.Color = C3(0,0,0)
  1276. LARM.CFrame = TORS.CFrame*CF(-TORS.Size.X/2-RARM.Size.X/1.9,-0.3,0) * ANGLES(RAD(0), RAD(0), RAD(15))
  1277. local RLEG = CreatePart(3, FAKESHADOW, "Neon", 0, 1, "Maroon", "Spike", RightLeg.Size)
  1278. RLEG.Color = C3(0,0,0)
  1279. RLEG.CFrame = TORS.CFrame*CF(TORS.Size.X/2.8,TORS.Size.Y,0) * ANGLES(RAD(0), RAD(0), RAD(-15))
  1280. local LLEG = CreatePart(3, FAKESHADOW, "Neon", 0, 1, "Maroon", "Spike", RightLeg.Size)
  1281. LLEG.Color = C3(0,0,0)
  1282. LLEG.CFrame = TORS.CFrame*CF(-TORS.Size.X/2.8,TORS.Size.Y,0) * ANGLES(RAD(0), RAD(0), RAD(15))
  1283. --
  1284. coroutine.resume(coroutine.create(function()
  1285. coroutine.resume(coroutine.create(function()
  1286. while wait() do
  1287. if RootPart.Position.Y > POS.Y then
  1288. BUSY = true
  1289. if MOUSEHIT then
  1290. MOUSEHIT:disconnect()
  1291. end
  1292. for _, c in pairs(Character:GetChildren()) do
  1293. if c.ClassName == "Part" and c ~= RootPart then
  1294. c.Transparency = 0
  1295. for _, q in pairs(c:GetChildren()) do
  1296. if q.ClassName == "Decal" then
  1297. q.Transparency = 0
  1298. end
  1299. end
  1300. end
  1301. end
  1302. for i=0, 1.5, 0.1 / Animation_Speed do
  1303. Swait()
  1304. RootPart.Anchored = true
  1305. UNCLOAKED = false
  1306. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  1307. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1308. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1309. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(-15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1310. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1311. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1312. end
  1313. coroutine.resume(coroutine.create(function()
  1314. for i = 1, 15 do
  1315. Swait()
  1316. if FAKESHADOW then
  1317. for _, q in pairs(FAKESHADOW:GetChildren()) do
  1318. if q.ClassName == "Part" then
  1319. q.Transparency = q.Transparency + 1/15
  1320. end
  1321. end
  1322. end
  1323. end
  1324. if FAKESHADOW then
  1325. FAKESHADOW:remove()
  1326. end
  1327. FAKESHADOW = nil
  1328. end))
  1329. for i=0, 0.5, 0.1 / Animation_Speed do
  1330. Swait()
  1331. RootPart.Anchored = true
  1332. UNCLOAKED = true
  1333. if LOOP then
  1334. LOOP.Pitch = LOOP.Pitch - 0.2
  1335. end
  1336. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  1337. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1338. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1339. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(-15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1340. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1341. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1342. end
  1343. LOOP:remove()
  1344. LOOP = nil
  1345. for i = 1, 35 do
  1346. Swait()
  1347. for _, c in pairs(Character:GetChildren()) do
  1348. if c.ClassName == "Part" then
  1349. for _, q in pairs(c:GetChildren()) do
  1350. if q.ClassName == "Decal" then
  1351. q.Transparency = q.Transparency + 1/35
  1352. end
  1353. end
  1354. end
  1355. end
  1356. end
  1357. UNANCHOR = true
  1358. ATTACK = false
  1359. Rooted = false
  1360. end
  1361. if FAKESHADOW then
  1362. TORS.CFrame = RootPart.CFrame*CF(0,-6.85,-0.8) * ANGLES(RAD(90), RAD(180), RAD(0))
  1363. HED.CFrame = TORS.CFrame*CF(0,-TORS.Size.Y/2-HED.Size.Y/2,0)
  1364. RARM.CFrame = TORS.CFrame*CF(TORS.Size.X/2+RARM.Size.X/1.9,-0.3,0) * ANGLES(RAD(0), RAD(0), RAD(-15))
  1365. LARM.CFrame = TORS.CFrame*CF(-TORS.Size.X/2-RARM.Size.X/1.9,-0.3,0) * ANGLES(RAD(0), RAD(0), RAD(15))
  1366. RLEG.CFrame = TORS.CFrame*CF(TORS.Size.X/2.8,TORS.Size.Y,0) * ANGLES(RAD(0), RAD(0), RAD(-15))
  1367. LLEG.CFrame = TORS.CFrame*CF(-TORS.Size.X/2.8,TORS.Size.Y,0) * ANGLES(RAD(0), RAD(0), RAD(15))
  1368. end
  1369. if LOOP ~= nil then
  1370. LOOP.Parent = TORS
  1371. end
  1372. naeeym.Enabled = UNCLOAKED
  1373. naeeym2.Enabled = UNCLOAKED
  1374. for c = 1, #RINGFIRE do
  1375. RINGFIRE[c].Enabled = UNCLOAKED
  1376. end
  1377. if ATTACK == false then
  1378. break
  1379. end
  1380. end
  1381. end))
  1382. repeat
  1383. Swait()
  1384. if ATTACK == false then
  1385. break
  1386. end
  1387. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1388. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1389. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1390. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(-15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1391. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1392. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1393. until CLOAKING == true
  1394. end))
  1395. wait(0.3)
  1396. for i = 1, 35 do
  1397. Swait()
  1398. for _, c in pairs(Character:GetChildren()) do
  1399. if c.ClassName == "Part" then
  1400. for _, q in pairs(c:GetChildren()) do
  1401. if q.ClassName == "Decal" then
  1402. q.Transparency = q.Transparency - 1/35
  1403. end
  1404. end
  1405. end
  1406. end
  1407. end
  1408. UNANCHOR = false
  1409. RootPart.Anchored = true
  1410. CLOAKING = true
  1411. coroutine.resume(coroutine.create(function()
  1412. for i = 1, 15 do
  1413. Swait()
  1414. for _, q in pairs(FAKESHADOW:GetChildren()) do
  1415. if q.ClassName == "Part" then
  1416. q.Transparency = q.Transparency - 1/15
  1417. end
  1418. end
  1419. end
  1420. end))
  1421. for i=0, 0.2, 0.1 / Animation_Speed do
  1422. Swait()
  1423. RootPart.Anchored = true
  1424. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -2*SIZE) * ANGLES(RAD(10), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  1425. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1426. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1427. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(-15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1428. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1429. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1430. end
  1431. LOOP = CreateSound(487214658, TORS, 0, 1, true)
  1432. for i=0, 0.6, 0.1 / Animation_Speed do
  1433. Swait()
  1434. RootPart.Anchored = true
  1435. UNCLOAKED = false
  1436. if LOOP then
  1437. LOOP.Volume = LOOP.Volume + 0.1
  1438. end
  1439. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -7*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  1440. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1441. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1442. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(-15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1443. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1444. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1445. end
  1446. for _, c in pairs(Character:GetChildren()) do
  1447. if c.ClassName == "Part" then
  1448. c.Transparency = 1
  1449. for _, q in pairs(c:GetChildren()) do
  1450. if q.ClassName == "Decal" then
  1451. q.Transparency = 1
  1452. end
  1453. end
  1454. end
  1455. end
  1456. MOUSEHIT = Mouse.Button1Down:connect(function(NEWKEY)
  1457. local HITFLOOR,HITPOS = Raycast(RootPart.Position-VT(0,2.1*SIZE,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  1458. if HITFLOOR then
  1459. local POS = HITPOS
  1460. local WORKING = true
  1461. coroutine.resume(coroutine.create(function()
  1462. repeat
  1463. Swait()
  1464. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(10,0.2,10), Size2 = VT(0,0.5,0), Transparency = 1, Transparency2 = 0, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = MRANDOM(15,30)/10})
  1465. until WORKING == false
  1466. end))
  1467. wait(0.3)
  1468. local SPIKE = CreatePart(3, Effects, "Fabric", 0, 0, "Maroon", "Spike", VT(2,32,2))
  1469. SPIKE.Color = C3(0,0,0)
  1470. local MSH = IT("SpecialMesh",SPIKE)
  1471. MSH.MeshType = "FileMesh"
  1472. MSH.MeshId = "http://www.roblox.com/asset/?id=785967755"
  1473. MSH.Scale = SPIKE.Size/50
  1474. SPIKE.CFrame = CF(POS+VT(0,15,0))
  1475. ApplyAoE(SPIKE.Position,15,35,55,35,false)
  1476. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,5,0), Size2 = VT(5,1,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 178452241, SoundPitch = MRANDOM(7,15)/10, SoundVolume = MRANDOM(15,30)/10})
  1477. wait(0.2)
  1478. for i = 1, 16 do
  1479. Swait()
  1480. SPIKE.CFrame = SPIKE.CFrame*CF(0,-2,0)
  1481. end
  1482. SPIKE:remove()
  1483. WORKING = false
  1484. end
  1485. end)
  1486. Mouse.KeyDown:connect(function(NEWKEY)
  1487. if NEWKEY == "b" and BUSY == false then
  1488. BUSY = true
  1489. if MOUSEHIT then
  1490. MOUSEHIT:disconnect()
  1491. end
  1492. for _, c in pairs(Character:GetChildren()) do
  1493. if c.ClassName == "Part" and c ~= RootPart then
  1494. c.Transparency = 0
  1495. for _, q in pairs(c:GetChildren()) do
  1496. if q.ClassName == "Decal" then
  1497. q.Transparency = 0
  1498. end
  1499. end
  1500. end
  1501. end
  1502. for i=0, 1.5, 0.1 / Animation_Speed do
  1503. Swait()
  1504. RootPart.Anchored = true
  1505. UNCLOAKED = false
  1506. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  1507. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1508. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1509. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(-15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1510. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1511. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1512. end
  1513. coroutine.resume(coroutine.create(function()
  1514. for i = 1, 15 do
  1515. Swait()
  1516. for _, q in pairs(FAKESHADOW:GetChildren()) do
  1517. if q.ClassName == "Part" then
  1518. q.Transparency = q.Transparency + 1/15
  1519. end
  1520. end
  1521. end
  1522. FAKESHADOW:remove()
  1523. FAKESHADOW = nil
  1524. end))
  1525. for i=0, 0.5, 0.1 / Animation_Speed do
  1526. Swait()
  1527. RootPart.Anchored = true
  1528. UNCLOAKED = true
  1529. LOOP.Pitch = LOOP.Pitch - 0.2
  1530. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  1531. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1532. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1533. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(-15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1534. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1535. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1536. end
  1537. LOOP:remove()
  1538. LOOP = nil
  1539. for i = 1, 35 do
  1540. Swait()
  1541. for _, c in pairs(Character:GetChildren()) do
  1542. if c.ClassName == "Part" then
  1543. for _, q in pairs(c:GetChildren()) do
  1544. if q.ClassName == "Decal" then
  1545. q.Transparency = q.Transparency + 1/35
  1546. end
  1547. end
  1548. end
  1549. end
  1550. end
  1551. UNANCHOR = true
  1552. ATTACK = false
  1553. Rooted = false
  1554. elseif NEWKEY == "w" and BUSY == false then
  1555. repeat
  1556. Swait()
  1557. local HITFLOOR = Raycast(CF(RootPart.CFrame*CF(0,-2.1*SIZE,0).p,VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z))*CF(0,0,-3).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 5*SIZE, Character)
  1558. local FLOOR,HITPOS = Raycast(RootPart.Position-VT(0,-2.1*SIZE,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 5*SIZE, Character)
  1559. if HITFLOOR then
  1560. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(4,0.2,4), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = MRANDOM(15,30)/10})
  1561. RootPart.CFrame = CF(RootPart.Position,VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z))*CF(0,0,-1)
  1562. end
  1563. until KEYHOLD == false or BUSY == true
  1564. end
  1565. end)
  1566. end
  1567. end
  1568.  
  1569. function PillarOfDespair()
  1570. ATTACK = true
  1571. Rooted = true
  1572. CreateSound(VOCALS_BASIC[MRANDOM(1,#VOCALS_BASIC)], Head, MRANDOM(9,11)/2.5, MRANDOM(9,11)/10, false)
  1573. FORCEIDLE = true
  1574. for i = 1, 5 do
  1575. Swait()
  1576. for _, c in pairs(Character:GetChildren()) do
  1577. if c.ClassName == "Part" then
  1578. for _, q in pairs(c:GetChildren()) do
  1579. if q.ClassName == "Decal" then
  1580. q.Transparency = q.Transparency - 1/5
  1581. end
  1582. end
  1583. end
  1584. end
  1585. end
  1586. local ORIGINPOS = RootPart.Position
  1587. CreateSound(1447872444, Torso, 10, 1.2, false)
  1588. for c = 1, #RINGFIRE do
  1589. RINGFIRE[c].Enabled = false
  1590. end
  1591. for i = 1, 25 do
  1592. Swait()
  1593. coroutine.resume(coroutine.create(function()
  1594. local POS = RootPart.Position
  1595. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,50,0), Size2 = VT(15+i,45,15+i), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,2.2*SIZE,0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1596. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,25,0), Size2 = VT(25+i,0,25+i), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,2.2*SIZE,0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1597. wait(0.3)
  1598. ApplyAoE(POS,25+i,15,25,25,false)
  1599. end))
  1600. RootPart.CFrame = RootPart.CFrame*CF(0,0,5)
  1601. end
  1602. for c = 1, #RINGFIRE do
  1603. RINGFIRE[c].Enabled = true
  1604. end
  1605. FORCEIDLE = false
  1606. local BUILDUP = true
  1607. coroutine.resume(coroutine.create(function()
  1608. for i = 1, 35 do
  1609. Swait()
  1610. for _, c in pairs(Character:GetChildren()) do
  1611. if c.ClassName == "Part" then
  1612. for _, q in pairs(c:GetChildren()) do
  1613. if q.ClassName == "Decal" then
  1614. q.Transparency = q.Transparency + 1/35
  1615. end
  1616. end
  1617. end
  1618. end
  1619. end
  1620. end))
  1621. coroutine.resume(coroutine.create(function()
  1622. repeat
  1623. Swait()
  1624. if ATTACK == false then
  1625. break
  1626. end
  1627. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1628. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1629. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1630. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1631. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1632. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1633. until BUILDUP == false
  1634. repeat
  1635. Swait()
  1636. if ATTACK == false then
  1637. break
  1638. end
  1639. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1640. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1641. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(43 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1642. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-42 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1643. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1644. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1645. until ATTACK == false
  1646. end))
  1647. wait(0.5)
  1648. BUILDUP = false
  1649. coroutine.resume(coroutine.create(function()
  1650. WACKYEFFECT({Time = 50, EffectType = "Sphere", Size = VT(15,15,15), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CF(ORIGINPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = CHARGE, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/1.2})
  1651. for i = 1, 5 do
  1652. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(25,2,25), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.7, CFrame = CF(ORIGINPOS) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 1, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2})
  1653. end
  1654. wait(1.3)
  1655. for i = 1, 6 do
  1656. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(25,25,25), Size2 = VT(85+(i*3),85+(i*3),85+(i*3)), Transparency = 0, Transparency2 = 1, CFrame = CF(ORIGINPOS-VT(0,2,0)) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))*CF(0,25,0), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-15,15), RotationZ = 0, Material = "Neon", Color = C3(i/120,0,0), SoundID = ROUGHBLAST, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 10})
  1657. end
  1658. for i = 1, 25 do
  1659. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(325,1,325), Transparency = 0.8, Transparency2 = 1, CFrame = CF(ORIGINPOS-VT(0,2,0)) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 1, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2})
  1660. end
  1661. ApplyAoE(ORIGINPOS,85,35,85,125,false)
  1662. end))
  1663. wait(0.4)
  1664. ATTACK = false
  1665. Rooted = false
  1666. end
  1667.  
  1668. function InfernoWall()
  1669. CreateSound(VOCALS_BASIC[MRANDOM(1,#VOCALS_BASIC)], Head, MRANDOM(9,11)/1.5, MRANDOM(9,11)/10, false)
  1670. ATTACK = true
  1671. Rooted = true
  1672. local BUILDUP = true
  1673. local WALL = IT("Model",Effects)
  1674. WALL.Name = "Wall of Fire"
  1675. local BASE = CreatePart(3, WALL, "Fabric", 0, 1, "Maroon", "FirePart", VT(0,0,0))
  1676. BASE.CFrame = RootPart.CFrame*CF(0,-2.8*SIZE,8)
  1677. local FIRES = {}
  1678. local BODIES = {}
  1679. local REPEATREMOVE = true
  1680. WALL.PrimaryPart = BASE
  1681. coroutine.resume(coroutine.create(function()
  1682. repeat
  1683. Swait()
  1684. if ATTACK == false then
  1685. break
  1686. end
  1687. turnto(Mouse.Hit.p)
  1688. WALL:SetPrimaryPartCFrame(RootPart.CFrame*CF(0,-2.8*SIZE,8))
  1689. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1690. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1691. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1692. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1693. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1694. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1695. until BUILDUP == false
  1696. repeat
  1697. Swait()
  1698. if ATTACK == false then
  1699. break
  1700. end
  1701. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1702. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1703. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(43 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1704. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-42 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1705. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1706. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1707. until ATTACK == false
  1708. end))
  1709. CreateSound(278641993, BASE, 10, 0.8, false)
  1710. coroutine.resume(coroutine.create(function()
  1711. for i = 1, 45 do
  1712. Swait()
  1713. local PART = CreatePart(3, WALL, "Fabric", 0, 1, "Maroon", "FirePart", VT(2,0,2))
  1714. PART.CFrame = BASE.CFrame * ANGLES(RAD(0), RAD(90+i), RAD(0))*CF(32,0,0)
  1715. local PRTCL = ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 0.2, Acel = VT(0,28+(i/5),6), RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 3, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 2+(i/25), Parent = PART, Emit = 100, Offset = 360, Enabled = true, Color1 = C3(0,0,0), Color2 = C3(0.5,0,0), Texture = "1523916715"})
  1716. PRTCL.LockedToPart = true
  1717. PRTCL.Rate = 35
  1718. table.insert(FIRES,PRTCL)
  1719. end
  1720. end))
  1721. coroutine.resume(coroutine.create(function()
  1722. for i = 1, 45 do
  1723. Swait()
  1724. local PART = CreatePart(3, WALL, "Fabric", 0, 1, "Maroon", "FirePart", VT(2,0,2))
  1725. PART.CFrame = BASE.CFrame * ANGLES(RAD(0), RAD(-90-i), RAD(0))*CF(-32,0,0)
  1726. local PRTCL = ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 0.2, Acel = VT(0,28+(i/5),6), RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 3, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 2+(i/25), Parent = PART, Emit = 100, Offset = 360, Enabled = true, Color1 = C3(0,0,0), Color2 = C3(0.5,0,0), Texture = "1523916715"})
  1727. PRTCL.LockedToPart = true
  1728. PRTCL.Rate = 35
  1729. table.insert(FIRES,PRTCL)
  1730. end
  1731. end))
  1732. repeat wait() until #WALL:GetChildren() == 91
  1733. wait(0.3)
  1734. BUILDUP = false
  1735. coroutine.resume(coroutine.create(function()
  1736. coroutine.resume(coroutine.create(function()
  1737. repeat
  1738. wait(1)
  1739. for e = 1, #BODIES do
  1740. if BODIES[e] ~= nil and REPEATREMOVE == true then
  1741. local BOD = BODIES[e]
  1742. local TORSO = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  1743. if TORSO then
  1744. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*(TORSO.Size.Y/2), workspace)
  1745. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Neon", Color = C3(0.2,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = MRANDOM(15,30)/10})
  1746. end
  1747. for i = 1, 10 do
  1748. for i = 1, #BODIES do
  1749. if (BODIES[i] == BOD and i ~= e) then
  1750. table.remove(BODIES,i)
  1751. end
  1752. end
  1753. end
  1754. end
  1755. end
  1756. until REPEATREMOVE == false
  1757. end))
  1758. CreateSound(WALLSOUND, BASE, 10, 0.8, false)
  1759. for i = 1, 70 do
  1760. Swait()
  1761. AddChildrenToTable(BASE.Position,workspace,32,BODIES)
  1762. WALL:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0,-4))
  1763. end
  1764. for i = 1, #FIRES do
  1765. FIRES[i].Enabled = false
  1766. end
  1767. Debris:AddItem(WALL,5)
  1768. wait(1)
  1769. REPEATREMOVE = false
  1770. for e = 1, #BODIES do
  1771. if BODIES[e] ~= nil then
  1772. Swait()
  1773. local BOD = BODIES[e]
  1774. local TORSO = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  1775. if TORSO then
  1776. local HUM = BOD:FindFirstChildOfClass("Humanoid")
  1777. if HUM then
  1778. if HUM.Health > 0 then
  1779. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*(TORSO.Size.Y/2), BOD)
  1780. if HITFLOOR then
  1781. ApplyDamage(HUM,MRANDOM(65,85),TORSO)
  1782. CreateSound(ROUGHBLAST, TORSO, 10, 1.2, false)
  1783. ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = VT(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 3, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 0.7, Parent = TORSO, Emit = 300, Offset = 360, Enabled = false, Color1 = C3(0,0,0), Color2 = C3(0.5,0,0), Texture = "1523916715"})
  1784. end
  1785. end
  1786. end
  1787. end
  1788. end
  1789. end
  1790. end))
  1791. wait(1)
  1792. ATTACK = false
  1793. Rooted = false
  1794. end
  1795.  
  1796. function FormerShadow()
  1797. CreateSound(VOCALS_BASIC[MRANDOM(1,#VOCALS_BASIC)], Head, MRANDOM(9,11)/1.5, MRANDOM(9,11)/10, false)
  1798. XATTACK = true
  1799. ATTACK = true
  1800. Rooted = true
  1801. local BODIES = {}
  1802. local SHADOWS = {}
  1803. local BUILDUP = true
  1804. local DONE = false
  1805. coroutine.resume(coroutine.create(function()
  1806. repeat
  1807. Swait()
  1808. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1809. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-10), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1810. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15*SIZE, 0.65*SIZE, -0.75*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-90)) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1811. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15*SIZE, 0.1*SIZE, -0.75*SIZE) * ANGLES(RAD(-15), RAD(0), RAD(90)) * ANGLES(RAD(25), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1812. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(20), RAD(55), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1813. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(10), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1814. until DONE == true
  1815. end))
  1816. local MOUSEHIT = Mouse.Button1Down:connect(function(NEWKEY)
  1817. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1818. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1819. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1820. if TORSO and HUM then
  1821. local PASS = true
  1822. for e = 1, #BODIES do
  1823. if BODIES[e] ~= nil then
  1824. if BODIES[e] == Mouse.Target.Parent then
  1825. PASS = false
  1826. end
  1827. end
  1828. end
  1829. if PASS == true then
  1830. table.insert(BODIES,Mouse.Target.Parent)
  1831. end
  1832. end
  1833. end
  1834. end)
  1835. local KEYDOWN = Mouse.KeyDown:connect(function(NEWKEY)
  1836. if NEWKEY == "x" then
  1837. DONE = true
  1838. end
  1839. end)
  1840. repeat wait() until DONE == true or #BODIES == 3
  1841. DONE = true
  1842. MOUSEHIT:disconnect()
  1843. KEYDOWN:disconnect()
  1844. if #BODIES > 0 then
  1845. coroutine.resume(coroutine.create(function()
  1846. repeat
  1847. Swait()
  1848. if ATTACK == false then
  1849. break
  1850. end
  1851. ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = VT(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 1, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1, Parent = RightArm, Emit = 25, Offset = 360, Enabled = false, Color1 = C3(0,0,0), Color2 = C3(0,0,0), Texture = "1523916715"})
  1852. ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = VT(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 1, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1, Parent = LeftArm, Emit = 25, Offset = 360, Enabled = false, Color1 = C3(0,0,0), Color2 = C3(0,0,0), Texture = "1523916715"})
  1853. ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = VT(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 1, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1, Parent = RightLeg, Emit = 25, Offset = 360, Enabled = false, Color1 = C3(0,0,0), Color2 = C3(0,0,0), Texture = "1523916715"})
  1854. ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = VT(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 1, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1, Parent = LeftLeg, Emit = 25, Offset = 360, Enabled = false, Color1 = C3(0,0,0), Color2 = C3(0,0,0), Texture = "1523916715"})
  1855. ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = VT(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 1, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1, Parent = Torso, Emit = 25, Offset = 360, Enabled = false, Color1 = C3(0,0,0), Color2 = C3(0,0,0), Texture = "1523916715"})
  1856. ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = VT(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 1, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1, Parent = Head, Emit = 25, Offset = 360, Enabled = false, Color1 = C3(0,0,0), Color2 = C3(0,0,0), Texture = "1523916715"})
  1857. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  1858. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(0,2,0), Size2 = VT(35,12,35), Transparency = 0.2, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(MRANDOM(0,360)), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-15,15), RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2})
  1859. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1860. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1861. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1862. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1863. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1864. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1865. until BUILDUP == false
  1866. end))
  1867. CreateSound(WALLSOUND, Torso, 10, 0.8, false)
  1868. CreateSound(ROUGHBLAST, Torso, 10, 0.8, false)
  1869. for i = 1, #BODIES do
  1870. if BODIES[i] ~= nil then
  1871. local TORSO = BODIES[i]:FindFirstChild("HumanoidRootPart") or BODIES[i]:FindFirstChild("Torso") or BODIES[i]:FindFirstChild("UpperTorso")
  1872. if TORSO then
  1873. CreateSound(WALLSOUND, TORSO, 10, 1, false)
  1874. ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = VT(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 3, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1, Parent = TORSO, Emit = 300, Offset = 360, Enabled = false, Color1 = C3(0,0,0), Color2 = C3(0,0,0), Texture = "1523916715"})
  1875. end
  1876. end
  1877. end
  1878. wait(1)
  1879. local SHADOWFADE = false
  1880. for i = 1, #BODIES do
  1881. if BODIES[i] ~= nil then
  1882. local TORSO = BODIES[i]:FindFirstChild("HumanoidRootPart") or BODIES[i]:FindFirstChild("Torso") or BODIES[i]:FindFirstChild("UpperTorso")
  1883. if TORSO then
  1884. local SHADOW = CLONE:Clone()
  1885. SHADOW.Parent = Effects
  1886. SHADOW.HumanoidRootPart.CFrame = TORSO.CFrame*CF(0,6,0)
  1887. --SHADOW.HumanoidRootPart.CFrame = RootPart.CFrame * ANGLES(RAD(0), RAD((360/#SHADOWS)*i), RAD(0))*CF(0,0,15)
  1888. SHADOW.Humanoid.WalkSpeed = 35
  1889. SHADOW.Humanoid.Health = 1
  1890. SHADOW.Humanoid.MaxHealth = 1
  1891. SHADOW.Name = BODIES[i].Name
  1892. for i = 1, 3 do
  1893. for _, c in pairs(SHADOW:GetChildren()) do
  1894. if c.ClassName == "Part" then
  1895. c.Material = "Neon"
  1896. c.Color = C3(0,0,0)
  1897. c.Transparency = 1
  1898. if c.Name == "Head" then
  1899. c:ClearAllChildren()
  1900. local MSH = IT("BlockMesh",c)
  1901. MSH.Scale = VT(0.5,1,1)
  1902. end
  1903. elseif c.ClassName ~= "Part" and c.ClassName ~= "Humanoid" and c.Name ~= "Animate" then
  1904. c:remove()
  1905. end
  1906. end
  1907. end
  1908. local BODY = IT("ObjectValue",SHADOW)
  1909. BODY.Name = "RealBody"
  1910. BODY.Value = BODIES[i]
  1911. table.insert(SHADOWS,SHADOW)
  1912. end
  1913. end
  1914. end
  1915. coroutine.resume(coroutine.create(function()
  1916. local LOOP = 0
  1917. for i = 1, 25 do
  1918. Swait()
  1919. for i = 1, #SHADOWS do
  1920. if SHADOWS[i] ~= nil then
  1921. for _, c in pairs(SHADOWS[i]:GetChildren()) do
  1922. if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  1923. c.Color = C3(0,0,0)
  1924. c.Transparency = c.Transparency - 1/25
  1925. end
  1926. end
  1927. end
  1928. end
  1929. end
  1930. local KEYDOWN = Mouse.KeyDown:connect(function(NEWKEY)
  1931. if NEWKEY == "x" then
  1932. SHADOWFADE = true
  1933. end
  1934. end)
  1935. repeat
  1936. LOOP = LOOP + 2
  1937. local JUMPIES = {}
  1938. for i = 1, #SHADOWS do
  1939. if SHADOWS[i] ~= nil then
  1940. SHADOWS[i].Humanoid:MoveTo(CF(RootPart.Position) * ANGLES(RAD(0), RAD(((360/#SHADOWS)*i)+LOOP), RAD(0))*CF(0,0,25).p)
  1941. local BODY = SHADOWS[i].RealBody.Value
  1942. if BODY then
  1943. local HUM = BODY:FindFirstChildOfClass("Humanoid")
  1944. if HUM then
  1945. local TRIGGER = HUM.Changed:connect(function(Jump)
  1946. if HUM.Jump == true then
  1947. SHADOWS[i].Humanoid.JumpPower = HUM.JumpPower
  1948. SHADOWS[i].Humanoid.Jump = true
  1949. end
  1950. end)
  1951. table.insert(JUMPIES,TRIGGER)
  1952. if HUM.Health == 0 then
  1953. SHADOWS[i].Humanoid.Health = 0
  1954. end
  1955. end
  1956. end
  1957. if SHADOWS[i].Humanoid.Health == 0 then
  1958. if BODY then
  1959. BODY:BreakJoints()
  1960. end
  1961. SHADOWS[i]:remove()
  1962. table.remove(SHADOWS,i)
  1963. end
  1964. end
  1965. end
  1966. Swait()
  1967. for i = 1, #JUMPIES do
  1968. if JUMPIES[i] ~= nil then
  1969. JUMPIES[i]:disconnect()
  1970. end
  1971. end
  1972. until SHADOWFADE == true or #SHADOWS == 0
  1973. KEYDOWN:disconnect()
  1974. if #SHADOWS > 0 then
  1975. for i = 1, 45 do
  1976. Swait()
  1977. for i = 1, #SHADOWS do
  1978. if SHADOWS[i] ~= nil then
  1979. for _, c in pairs(SHADOWS[i]:GetChildren()) do
  1980. if c.ClassName == "Part" then
  1981. c.Transparency = c.Transparency + 1/45
  1982. end
  1983. end
  1984. SHADOWS[i].Humanoid.WalkSpeed = 12
  1985. SHADOWS[i].Humanoid:MoveTo(CF(RootPart.Position,SHADOWS[i].HumanoidRootPart.Position+VT(0,2,0))*CF(0,0,-5).p)
  1986. end
  1987. end
  1988. end
  1989. for i = 1, #SHADOWS do
  1990. if SHADOWS[i] ~= nil then
  1991. SHADOWS[i]:remove()
  1992. end
  1993. end
  1994. end
  1995. XATTACK = false
  1996. end))
  1997. else
  1998. XATTACK = false
  1999. end
  2000. ATTACK = false
  2001. Rooted = false
  2002. end
  2003.  
  2004. function Taunt()
  2005. ATTACK = true
  2006. Rooted = true
  2007. local VIOLENCE = 1
  2008. FORCEIDLE = true
  2009. repeat Swait() VIOLENCE = VIOLENCE + 1 until KEYHOLD == false
  2010. FORCEIDLE = false
  2011. if VIOLENCE <= 10 then
  2012. for i=0, 0.2, 0.1 / Animation_Speed do
  2013. Swait()
  2014. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2015. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-10), RAD(0), RAD(-15)), 1 / Animation_Speed)
  2016. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15*SIZE, 0.65*SIZE, -0.75*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-90)) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2017. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15*SIZE, 0.1*SIZE, -0.75*SIZE) * ANGLES(RAD(-15), RAD(0), RAD(90)) * ANGLES(RAD(25), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2018. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(20), RAD(55), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2019. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(10), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2020. end
  2021. local TAUNT = CreateSound(VOCALS_TAUNT[MRANDOM(1,#VOCALS_TAUNT)], Head, 10, 1, false)
  2022. repeat
  2023. Swait()
  2024. TAUNT.Parent = Head
  2025. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2026. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-10-(TAUNT.PlaybackLoudness/55)), RAD(0), RAD(-15)), 1 / Animation_Speed)
  2027. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15*SIZE, 0.65*SIZE, -0.75*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-90)) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2028. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15*SIZE, 0.1*SIZE, -0.75*SIZE) * ANGLES(RAD(-15), RAD(0), RAD(90)) * ANGLES(RAD(25), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2029. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(20), RAD(55), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2030. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(10), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2031. until TAUNT.Playing == false
  2032. else
  2033. for i=0, 1, 0.1 / Animation_Speed do
  2034. Swait()
  2035. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2036. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2037. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(22)) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2038. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-22)) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2039. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2040. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2041. end
  2042. local TAUNT = CreateSound(VOCALS_ENRAGES[MRANDOM(1,#VOCALS_ENRAGES)], Head, 10, 1, false)
  2043. repeat Swait() until TAUNT.TimeLength > 0
  2044. repeat
  2045. Swait()
  2046. ApplyAoE(Head.Position,15,0,0,200,false)
  2047. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  2048. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,2,0), Size2 = VT(15,0,15), Transparency = 1-(TAUNT.PlaybackLoudness/1250), Transparency2 = 1, CFrame = CF(Head.Position) * 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(1,1,1), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2})
  2049. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,2,0), Size2 = VT(35,0,35), Transparency = 0.2, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2})
  2050. TAUNT.Parent = Head
  2051. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, -0.2*SIZE, -0.1*SIZE) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2052. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-25+MRANDOM(-(TAUNT.PlaybackLoudness/25),(TAUNT.PlaybackLoudness/25))), RAD(MRANDOM(-(TAUNT.PlaybackLoudness/15),(TAUNT.PlaybackLoudness/15))), RAD(MRANDOM(-(TAUNT.PlaybackLoudness/25),(TAUNT.PlaybackLoudness/25)))), 1 / Animation_Speed)
  2053. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0.1*SIZE) * ANGLES(RAD(-35), RAD(0), RAD(42)) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2054. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0.1*SIZE) * ANGLES(RAD(-35), RAD(0), RAD(-42)) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2055. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(25), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2056. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(45), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2057. until TAUNT.TimePosition > TAUNT.TimeLength - 2
  2058. end
  2059. ATTACK = false
  2060. Rooted = false
  2061. end
  2062.  
  2063. --//=================================\\
  2064. --|| ASSIGN THINGS TO KEYS
  2065. --\\=================================//
  2066.  
  2067. function MouseDown(Mouse)
  2068. if ATTACK == false then
  2069. end
  2070. end
  2071.  
  2072. function MouseUp(Mouse)
  2073. HOLD = false
  2074. end
  2075.  
  2076. function KeyDown(Key)
  2077. KEYHOLD = true
  2078. if Key == "t" and ATTACK == false then
  2079. Taunt()
  2080. end
  2081.  
  2082. if Key == "z" and ATTACK == false then
  2083. MissilesOfDespair()
  2084. end
  2085.  
  2086. if Key == "b" and ATTACK == false and XATTACK == false then
  2087. ShadowRoam()
  2088. end
  2089.  
  2090. if Key == "c" and ATTACK == false then
  2091. PillarOfDespair()
  2092. end
  2093.  
  2094. if Key == "v" and ATTACK == false then
  2095. InfernoWall()
  2096. end
  2097.  
  2098. if Key == "x" and ATTACK == false and XATTACK == false then
  2099. FormerShadow()
  2100. end
  2101. end
  2102.  
  2103. function KeyUp(Key)
  2104. KEYHOLD = false
  2105. end
  2106.  
  2107. Mouse.Button1Down:connect(function(NEWKEY)
  2108. MouseDown(NEWKEY)
  2109. end)
  2110. Mouse.Button1Up:connect(function(NEWKEY)
  2111. MouseUp(NEWKEY)
  2112. end)
  2113. Mouse.KeyDown:connect(function(NEWKEY)
  2114. KeyDown(NEWKEY)
  2115. end)
  2116. Mouse.KeyUp:connect(function(NEWKEY)
  2117. KeyUp(NEWKEY)
  2118. end)
  2119.  
  2120. --//=================================\\
  2121. --\\=================================//
  2122.  
  2123. function unanchor()
  2124. if UNANCHOR == true then
  2125. RootPart.Anchored = false
  2126. end
  2127. g = Character:GetChildren()
  2128. for i = 1, #g do
  2129. if g[i].ClassName == "Part" and g[i] ~= RootPart then
  2130. g[i].Anchored = false
  2131. end
  2132. end
  2133. g = Weapon:GetChildren()
  2134. for i = 1, #g do
  2135. if g[i].ClassName == "Part" then
  2136. g[i].Anchored = false
  2137. end
  2138. end
  2139. end
  2140.  
  2141.  
  2142. --//=================================\\
  2143. --|| WRAP THE WHOLE SCRIPT UP
  2144. --\\=================================//
  2145.  
  2146. Humanoid.Changed:connect(function(Jump)
  2147. if Jump == "Jump" and (Disable_Jump == true) then
  2148. Humanoid.Jump = false
  2149. end
  2150. end)
  2151.  
  2152. while true do
  2153. Swait()
  2154. script.Parent = WEAPONGUI
  2155. ANIMATE.Parent = nil
  2156. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2157. v:Stop();
  2158. end
  2159. SINE = SINE + CHANGE
  2160. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2161. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2162. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  2163. local FLOOR1,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 8*SIZE, Character)
  2164. local FLOOR2,HITPOS2 = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 8*SIZE, Character)
  2165. local WALKSPEEDVALUE = 8 / (Humanoid.WalkSpeed / 16)
  2166. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2167. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2168. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2169. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.7+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2170. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.7+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2171. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2172. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2173. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2174. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2175. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2176. end
  2177. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil and FORCEIDLE == false then
  2178. ANIM = "Jump"
  2179. if ATTACK == false then
  2180. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2181. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2182. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.55*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(12)) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2183. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.55*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-12)) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2184. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.3*SIZE, -0.5*SIZE) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
  2185. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.1*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed)
  2186. end
  2187. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil and FORCEIDLE == false then
  2188. ANIM = "Fall"
  2189. if ATTACK == false then
  2190. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  2191. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2192. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(42)) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2193. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(-42)) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2194. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE, -0.5*SIZE) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
  2195. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(-25), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
  2196. end
  2197. elseif (TORSOVELOCITY < 1 and HITFLOOR ~= nil) or FORCEIDLE == true then
  2198. ANIM = "Idle"
  2199. if ATTACK == false or FORCEIDLE == true then
  2200. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2201. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 1 / Animation_Speed)
  2202. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(52 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2203. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(-42 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2204. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(20), RAD(55), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2205. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(10), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2206. end
  2207. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil and FORCEIDLE == false then
  2208. ANIM = "Walk"
  2209. if ATTACK == false then
  2210. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-8*SIN(SINE/WALKSPEEDVALUE))), 1 / Animation_Speed)
  2211. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(5), RAD(-2*SIN(SINE/WALKSPEEDVALUE)), RAD(8*SIN(SINE/WALKSPEEDVALUE))), 1/ Animation_Speed)
  2212. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE + 0.15 * COS(SINE/WALKSPEEDVALUE*2), 0.1*SIZE-0.3*SIN(SINE/WALKSPEEDVALUE)) * ANGLES(RAD(35), RAD(0), RAD(22 + 3* SIN(SINE/WALKSPEEDVALUE))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2213. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE + 0.15 * COS(SINE/WALKSPEEDVALUE*2), 0.1*SIZE+0.3*SIN(SINE/WALKSPEEDVALUE)) * ANGLES(RAD(35), RAD(0), RAD(-22 - 3* SIN(SINE/WALKSPEEDVALUE))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2214. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  2215. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  2216. end
  2217. end
  2218. unanchor()
  2219. Humanoid.MaxHealth = "inf"
  2220. Humanoid.Health = "inf"
  2221. if Rooted == false then
  2222. Disable_Jump = false
  2223. Humanoid.WalkSpeed = Speed
  2224. elseif Rooted == true then
  2225. Disable_Jump = true
  2226. Humanoid.WalkSpeed = 0
  2227. end
  2228. for _, c in pairs(Character:GetChildren()) do
  2229. if c.ClassName == "Part" and c.Name ~= "Eye" then
  2230. c.Material = "Granite"
  2231. if c ~= Head and c ~= Torso and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  2232. c.Color = C3(175/575, 148/675, 131/675)
  2233. else
  2234. c.Color = C3(0,0,0)
  2235. end
  2236. if c == Head then
  2237. if c:FindFirstChild("face") then
  2238. c.face:remove()
  2239. end
  2240. end
  2241. elseif (c.ClassName == "CharacterMesh" or c.ClassName == "ShirtGraphic" or c.ClassName == "Accessory" or c.Name == "Body Colors") and c.Name ~= "Pressimus" then
  2242. c:remove()
  2243. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  2244. c:remove()
  2245. end
  2246. end
  2247. sick.Parent = Character
  2248. sick.SoundId = "rbxassetid://900318768"
  2249. sick.Looped = true
  2250. sick.Pitch = 0.95
  2251. sick.Volume = 2
  2252. sick.Playing = true
  2253. if FLOOR1 ~= nil then
  2254. FIRE:SetPrimaryPartCFrame(CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(-90), RAD(0), RAD(0)))
  2255. else
  2256. FIRE:SetPrimaryPartCFrame(CF(HITPOS2))
  2257. end
  2258. SKILL1FRAME.Rotation = MRANDOM(-25,25)/2
  2259. SKILL2FRAME.Rotation = MRANDOM(-25,25)/2
  2260. SKILL3FRAME.Rotation = MRANDOM(-25,25)/2
  2261. SKILL4FRAME.Rotation = MRANDOM(-25,25)/2
  2262. SKILL5FRAME.Rotation = MRANDOM(-25,25)/2
  2263. tecks2.Rotation = MRANDOM(-25,25)/8
  2264. tecks.Rotation = MRANDOM(-25,25)/8
  2265. Humanoid.Name = MRANDOM(1000000,99999999)
  2266. FIRE.Parent = Weapon
  2267. refit()
  2268. end
  2269.  
  2270. --//=================================\\
  2271. --\\=================================//
  2272.  
  2273.  
  2274.  
  2275.  
  2276.  
  2277. --//====================================================\\--
  2278. --|| END OF SCRIPT
  2279. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement