Advertisement
5sdfsadgaq5465

satan edit fe

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