Advertisement
lafur

Untitled

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