memberhero

False God Fixed

Dec 29th, 2020 (edited)
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 90.89 KB | None | 0 0
  1. local Player = owner
  2. local Character = Player.Character
  3. local mouse,Mouse,MMouse = nil
  4. local RemoteEvent = Instance.new("RemoteEvent")
  5. RemoteEvent.Name = "KeyDown"
  6. RemoteEvent.Parent = Character
  7. local RemoteEvent2 = Instance.new("RemoteEvent")
  8. RemoteEvent2.Name = "ButtonDown"
  9. RemoteEvent2.Parent = Character
  10. local RemoteEvent3 = Instance.new("RemoteFunction")
  11. RemoteEvent3.Name = "MousePos"
  12. RemoteEvent3.Parent = Character
  13. local RemoteEvent4 = Instance.new("RemoteEvent")
  14. RemoteEvent4.Name = "KeyUp"
  15. RemoteEvent4.Parent = Character
  16. local RemoteEvent5 = Instance.new("RemoteEvent")
  17. RemoteEvent5.Name = "ButtonUp"
  18. RemoteEvent5.Parent = Character
  19. function getMouseHit()
  20. return RemoteEvent3:InvokeClient (owner, 1);
  21. end;
  22. function getMouseTarget()
  23. return RemoteEvent3:InvokeClient (owner, 2);
  24. end;
  25. NLS([==[
  26. local Player = game.Players.LocalPlayer
  27. local mouse = Player:GetMouse()
  28. local remote = Player.Character:WaitForChild("KeyDown")
  29. local remote2 = Player.Character:WaitForChild("ButtonDown")
  30. local remote3 = Player.Character:WaitForChild("MousePos")
  31. local remote4 = Player.Character:WaitForChild("KeyUp")
  32. local remote5 = Player.Character:WaitForChild("ButtonUp")
  33. mouse.KeyDown:Connect(function(k)
  34. k = k:lower()
  35. remote:FireServer(k)
  36. end)
  37.  
  38. mouse.Button1Down:Connect(function()
  39. remote2:FireServer()
  40. end)
  41. mouse.KeyUp:Connect(function(k)
  42. k = k:lower()
  43. remote4:FireServer(k)
  44. end)
  45. mouse.Button1Up:Connect(function()
  46. remote5:FireServer()
  47. end)
  48. remote3.OnClientInvoke = function (request, ...)
  49. if (request == 1) then
  50. return mouse.Hit.p;
  51. end;
  52. if (request == 2) then
  53. return mouse.Target;
  54. end;
  55. end;
  56.  
  57.  
  58.  
  59. ]==],Player.Character)
  60. print("FE Converter By basstracker1970")
  61. -- Synapse Decompiler
  62. -- Purchase Here: https://brack4712.xyz/synapse/purchase/
  63.  
  64. wait(0.2)
  65. PlayerGui = Player.PlayerGui
  66. Cam = workspace.CurrentCamera
  67. Backpack = Player.Backpack
  68. Character = Player.Character
  69. Humanoid = Character.Humanoid
  70.  
  71. RootPart = Character.HumanoidRootPart
  72. Torso = Character.Torso
  73. Head = Character.Head
  74. RightArm = Character["Right Arm"]
  75. LeftArm = Character["Left Arm"]
  76. RightLeg = Character["Right Leg"]
  77. LeftLeg = Character["Left Leg"]
  78. RootJoint = RootPart.RootJoint
  79. Neck = Torso.Neck
  80. RightShoulder = Torso["Right Shoulder"]
  81. LeftShoulder = Torso["Left Shoulder"]
  82. RightHip = Torso["Right Hip"]
  83. LeftHip = Torso["Left Hip"]
  84. local sick = Instance.new("Sound", Torso)
  85. sick.SoundId = "rbxassetid://142306659"
  86. sick.Looped = true
  87. sick.Pitch = 1
  88. sick.Volume = 3
  89. IT = Instance.new
  90. CF = CFrame.new
  91. VT = Vector3.new
  92. RAD = math.rad
  93. C3 = Color3.new
  94. UD2 = UDim2.new
  95. BRICKC = BrickColor.new
  96. ANGLES = CFrame.Angles
  97. EULER = CFrame.fromEulerAnglesXYZ
  98. COS = math.cos
  99. ACOS = math.acos
  100. SIN = math.sin
  101. ASIN = math.asin
  102. ABS = math.abs
  103. MRANDOM = math.random
  104. FLOOR = math.floor
  105. Animation_Speed = 3
  106. Frame_Speed = 0.016666666666666666
  107. local Speed = 16
  108. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  109. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  110. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  111. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  112. local DAMAGEMULTIPLIER = 1
  113. local ANIM = "Idle"
  114. local ATTACK = false
  115. local EQUIPPED = false
  116. local HOLD = false
  117. local COMBO = 1
  118. local Rooted = false
  119. local SINE = 0
  120. local KEYHOLD = false
  121. local CHANGE = 2 / Animation_Speed
  122. local WALKINGANIM = false
  123. local VALUE1 = false
  124. local VALUE2 = false
  125. local ROBLOXIDLEANIMATION = IT("Animation")
  126. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  127. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  128. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  129. WEAPONGUI.Name = "Weapon GUI"
  130. local Weapon = IT("Model")
  131. Weapon.Name = "Adds"
  132. local Effects = IT("Folder", Weapon)
  133. Effects.Name = "Effects"
  134. local ANIMATOR = Humanoid.Animator
  135. local ANIMATE = Character.Animate
  136. local UNANCHOR = true
  137. local RWINGS = {}
  138. local LWINGS = {}
  139. local EYE, PUPIL
  140. local BLINKLOOP = 0
  141. local FINISHEDINTRO = false
  142. local INTROING = false
  143. local INSTANT = false
  144. local EYES = {}
  145. ArtificialHB = Instance.new("BindableEvent", script)
  146. ArtificialHB.Name = "ArtificialHB"
  147. script:WaitForChild("ArtificialHB")
  148. frame = Frame_Speed
  149. tf = 0
  150. allowframeloss = false
  151. tossremainder = false
  152. lastframe = tick()
  153. script.ArtificialHB:Fire()
  154. game:GetService("RunService").Heartbeat:connect(function(s, p)
  155. tf = tf + s
  156. if tf >= frame then
  157. if allowframeloss then
  158. script.ArtificialHB:Fire()
  159. lastframe = tick()
  160. else
  161. for i = 1, math.floor(tf / frame) do
  162. script.ArtificialHB:Fire()
  163. end
  164. lastframe = tick()
  165. end
  166. if tossremainder then
  167. tf = 0
  168. else
  169. tf = tf - frame * math.floor(tf / frame)
  170. end
  171. end
  172. end)
  173. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  174. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  175. end
  176. function PositiveAngle(NUMBER)
  177. if NUMBER >= 0 then
  178. NUMBER = 0
  179. end
  180. return NUMBER
  181. end
  182. function NegativeAngle(NUMBER)
  183. if NUMBER <= 0 then
  184. NUMBER = 0
  185. end
  186. return NUMBER
  187. end
  188. function Swait(NUMBER)
  189. if NUMBER == 0 or NUMBER == nil then
  190. ArtificialHB.Event:wait()
  191. else
  192. for i = 1, NUMBER do
  193. ArtificialHB.Event:wait()
  194. end
  195. end
  196. end
  197. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  198. local NEWMESH = IT(MESH)
  199. if MESH == "SpecialMesh" then
  200. NEWMESH.MeshType = MESHTYPE
  201. if MESHID ~= "nil" and MESHID ~= "" then
  202. NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
  203. end
  204. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  205. NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
  206. end
  207. end
  208. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  209. NEWMESH.Scale = SCALE
  210. NEWMESH.Parent = PARENT
  211. return NEWMESH
  212. end
  213. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  214. local NEWPART = IT("Part")
  215. NEWPART.formFactor = FORMFACTOR
  216. NEWPART.Reflectance = REFLECTANCE
  217. NEWPART.Transparency = TRANSPARENCY
  218. NEWPART.CanCollide = false
  219. NEWPART.Locked = true
  220. NEWPART.Anchored = true
  221. if ANCHOR == false then
  222. NEWPART.Anchored = false
  223. end
  224. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  225. NEWPART.Name = NAME
  226. NEWPART.Size = SIZE
  227. NEWPART.Position = Torso.Position
  228. NEWPART.Material = MATERIAL
  229. NEWPART:BreakJoints()
  230. NEWPART.Parent = PARENT
  231. return NEWPART
  232. end
  233. local weldBetween = function(a, b)
  234. local weldd = Instance.new("ManualWeld")
  235. weldd.Part0 = a
  236. weldd.Part1 = b
  237. weldd.C0 = CFrame.new()
  238. weldd.C1 = b.CFrame:inverse() * a.CFrame
  239. weldd.Parent = a
  240. return weldd
  241. end
  242. function QuaternionFromCFrame(cf)
  243. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  244. local trace = m00 + m11 + m22
  245. if trace > 0 then
  246. local s = math.sqrt(1 + trace)
  247. local recip = 0.5 / s
  248. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  249. else
  250. local i = 0
  251. if m00 < m11 then
  252. i = 1
  253. end
  254. if m22 > (i == 0 and m00 or m11) then
  255. i = 2
  256. end
  257. if i == 0 then
  258. local s = math.sqrt(m00 - m11 - m22 + 1)
  259. local recip = 0.5 / s
  260. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  261. elseif i == 1 then
  262. local s = math.sqrt(m11 - m22 - m00 + 1)
  263. local recip = 0.5 / s
  264. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  265. elseif i == 2 then
  266. local s = math.sqrt(m22 - m00 - m11 + 1)
  267. local recip = 0.5 / s
  268. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  269. end
  270. end
  271. end
  272. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  273. local xs, ys, zs = x + x, y + y, z + z
  274. local wx, wy, wz = w * xs, w * ys, w * zs
  275. local xx = x * xs
  276. local xy = x * ys
  277. local xz = x * zs
  278. local yy = y * ys
  279. local yz = y * zs
  280. local zz = z * zs
  281. 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))
  282. end
  283. function QuaternionSlerp(a, b, t)
  284. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  285. local startInterp, finishInterp
  286. if cosTheta >= 1.0E-4 then
  287. if 1 - cosTheta > 1.0E-4 then
  288. local theta = ACOS(cosTheta)
  289. local invSinTheta = 1 / SIN(theta)
  290. startInterp = SIN((1 - t) * theta) * invSinTheta
  291. finishInterp = SIN(t * theta) * invSinTheta
  292. else
  293. startInterp = 1 - t
  294. finishInterp = t
  295. end
  296. elseif 1 + cosTheta > 1.0E-4 then
  297. local theta = ACOS(-cosTheta)
  298. local invSinTheta = 1 / SIN(theta)
  299. startInterp = SIN((t - 1) * theta) * invSinTheta
  300. finishInterp = SIN(t * theta) * invSinTheta
  301. else
  302. startInterp = t - 1
  303. finishInterp = t
  304. end
  305. 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
  306. end
  307. function Clerp(a, b, t)
  308. local qa = {
  309. QuaternionFromCFrame(a)
  310. }
  311. local qb = {
  312. QuaternionFromCFrame(b)
  313. }
  314. local ax, ay, az = a.x, a.y, a.z
  315. local bx, by, bz = b.x, b.y, b.z
  316. local _t = 1 - t
  317. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  318. end
  319. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  320. local frame = IT("Frame")
  321. frame.BackgroundTransparency = TRANSPARENCY
  322. frame.BorderSizePixel = BORDERSIZEPIXEL
  323. frame.Position = POSITION
  324. frame.Size = SIZE
  325. frame.BackgroundColor3 = COLOR
  326. frame.BorderColor3 = BORDERCOLOR
  327. frame.Name = NAME
  328. frame.Parent = PARENT
  329. return frame
  330. end
  331. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  332. local label = IT("TextLabel")
  333. label.BackgroundTransparency = 1
  334. label.Size = UD2(1, 0, 1, 0)
  335. label.Position = UD2(0, 0, 0, 0)
  336. label.TextColor3 = TEXTCOLOR
  337. label.TextStrokeTransparency = STROKETRANSPARENCY
  338. label.TextTransparency = TRANSPARENCY
  339. label.FontSize = TEXTFONTSIZE
  340. label.Font = TEXTFONT
  341. label.BorderSizePixel = BORDERSIZEPIXEL
  342. label.TextScaled = false
  343. label.Text = TEXT
  344. label.Name = NAME
  345. label.Parent = PARENT
  346. return label
  347. end
  348. function NoOutlines(PART)
  349. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  350. end
  351. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  352. local NEWWELD = IT(TYPE)
  353. NEWWELD.Part0 = PART0
  354. NEWWELD.Part1 = PART1
  355. NEWWELD.C0 = C0
  356. NEWWELD.C1 = C1
  357. NEWWELD.Parent = PARENT
  358. return NEWWELD
  359. end
  360. local S = IT("Sound")
  361. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  362. local NEWSOUND
  363. coroutine.resume(coroutine.create(function()
  364. NEWSOUND = S:Clone()
  365. NEWSOUND.Parent = PARENT
  366. NEWSOUND.Volume = VOLUME
  367. NEWSOUND.Pitch = PITCH
  368. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  369. NEWSOUND:play()
  370. if DOESLOOP == true then
  371. NEWSOUND.Looped = true
  372. else
  373. repeat
  374. Swait()
  375. until NEWSOUND.Playing == false
  376. NEWSOUND:remove()
  377. end
  378. end))
  379. return NEWSOUND
  380. end
  381. function CFrameFromTopBack(at, top, back)
  382. local right = top:Cross(back)
  383. 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)
  384. end
  385. function WACKYEFFECT(Table)
  386. local TYPE = Table.EffectType or "Sphere"
  387. local SIZE = Table.Size or VT(1, 1, 1)
  388. local ENDSIZE = Table.Size2 or VT(0, 0, 0)
  389. local TRANSPARENCY = Table.Transparency or 0
  390. local ENDTRANSPARENCY = Table.Transparency2 or 1
  391. local CFRAME = Table.CFrame or Torso.CFrame
  392. local MOVEDIRECTION = Table.MoveToPos or nil
  393. local ROTATION1 = Table.RotationX or 0
  394. local ROTATION2 = Table.RotationY or 0
  395. local ROTATION3 = Table.RotationZ or 0
  396. local MATERIAL = Table.Material or "Neon"
  397. local COLOR = Table.Color or C3(1, 1, 1)
  398. local TIME = Table.Time or 45
  399. local SOUNDID = Table.SoundID or nil
  400. local SOUNDPITCH = Table.SoundPitch or nil
  401. local SOUNDVOLUME = Table.SoundVolume or nil
  402. coroutine.resume(coroutine.create(function()
  403. local PLAYSSOUND = false
  404. local SOUND
  405. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
  406. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  407. PLAYSSOUND = true
  408. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  409. end
  410. EFFECT.Color = COLOR
  411. local MSH
  412. if TYPE == "Sphere" then
  413. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
  414. elseif TYPE == "Block" then
  415. MSH = IT("BlockMesh", EFFECT)
  416. MSH.Scale = VT(SIZE.X, SIZE.X, SIZE.X)
  417. elseif TYPE == "Wave" then
  418. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  419. elseif TYPE == "Ring" then
  420. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
  421. elseif TYPE == "Slash" then
  422. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  423. elseif TYPE == "Round Slash" then
  424. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  425. elseif TYPE == "Swirl" then
  426. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0))
  427. elseif TYPE == "Skull" then
  428. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
  429. elseif TYPE == "Crystal" then
  430. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0))
  431. end
  432. if MSH ~= nil then
  433. local MOVESPEED
  434. if MOVEDIRECTION ~= nil then
  435. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME
  436. end
  437. local GROWTH = SIZE - ENDSIZE
  438. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  439. if TYPE == "Block" then
  440. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  441. else
  442. EFFECT.CFrame = CFRAME
  443. end
  444. for LOOP = 1, TIME do
  445. Swait()
  446. MSH.Scale = MSH.Scale - GROWTH / TIME
  447. if TYPE == "Wave" then
  448. MSH.Offset = VT(0, 0, -MSH.Scale.X / 8)
  449. end
  450. EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
  451. if TYPE == "Block" then
  452. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  453. else
  454. EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
  455. end
  456. if MOVEDIRECTION ~= nil then
  457. local ORI = EFFECT.Orientation
  458. EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED)
  459. EFFECT.Orientation = ORI
  460. end
  461. end
  462. if PLAYSSOUND == false then
  463. EFFECT:remove()
  464. else
  465. repeat
  466. Swait()
  467. until SOUND.Playing == false
  468. EFFECT:remove()
  469. end
  470. elseif PLAYSSOUND == false then
  471. EFFECT:remove()
  472. else
  473. repeat
  474. Swait()
  475. until SOUND.Playing == false
  476. EFFECT:remove()
  477. end
  478. end))
  479. end
  480. function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
  481. if FLOOR ~= nil then
  482. coroutine.resume(coroutine.create(function()
  483. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
  484. PART.CFrame = CF(POSITION)
  485. for i = 1, 45 do
  486. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  487. RingPiece.Material = FLOOR.Material
  488. RingPiece.Color = FLOOR.Color
  489. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i * 8), RAD(0)) * CF(SIZE * 4, 0, 0) * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  490. Debris:AddItem(RingPiece, SWAIT)
  491. end
  492. PART:remove()
  493. end))
  494. end
  495. end
  496. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
  497. if FLOOR ~= nil then
  498. for i = 1, AMOUNT do
  499. do
  500. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, 0, "Peal", "Debree", BLOCKSIZE, false)
  501. DEBREE.Material = FLOOR.Material
  502. DEBREE.Color = FLOOR.Color
  503. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  504. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), STRENGTH, MRANDOM(-STRENGTH, STRENGTH))
  505. coroutine.resume(coroutine.create(function()
  506. Swait(15)
  507. DEBREE.Parent = workspace
  508. DEBREE.CanCollide = true
  509. Debris:AddItem(DEBREE, SWAIT)
  510. end))
  511. end
  512. end
  513. end
  514. end
  515. function MakeForm(PART, TYPE)
  516. if TYPE == "Cyl" then
  517. local MSH = IT("CylinderMesh", PART)
  518. elseif TYPE == "Ball" then
  519. local MSH = IT("SpecialMesh", PART)
  520. MSH.MeshType = "Sphere"
  521. elseif TYPE == "Wedge" then
  522. local MSH = IT("SpecialMesh", PART)
  523. MSH.MeshType = "Wedge"
  524. end
  525. end
  526. function CheckTableForString(Table, String)
  527. for i, v in pairs(Table) do
  528. if string.find(string.lower(String), string.lower(v)) then
  529. return true
  530. end
  531. end
  532. return false
  533. end
  534. function CheckIntangible(Hit)
  535. local ProjectileNames = {
  536. "Water",
  537. "Arrow",
  538. "Projectile",
  539. "Effect",
  540. "Rail",
  541. "Lightning",
  542. "Bullet"
  543. }
  544. if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then
  545. return true
  546. end
  547. return false
  548. end
  549. Debris = game:GetService("Debris")
  550. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  551. local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  552. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Vec * Length), Ignore)
  553. if RayHit and CheckIntangible(RayHit) then
  554. if DelayIfHit then
  555. wait()
  556. end
  557. RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit)
  558. end
  559. return RayHit, RayPos, RayNormal
  560. end
  561. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  562. local DIRECTION = CF(StartPos, EndPos).lookVector
  563. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  564. end
  565. function turnto(position)
  566. RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0)
  567. end
  568. BaseLightning = IT("Part")
  569. BaseLightning.Anchored = true
  570. BaseLightning.CanCollide = false
  571. BaseLightning.Material = "Neon"
  572. local LightningBolts = {}
  573. function Zap(Table)
  574. local StartPos, TargetPos, Character, Color = Table.StartPosition, Table.TargetPosition, Table.Character, Table.Color
  575. local Duration = Table.Duration or 2
  576. local Offset = Table.Offset or 2
  577. local Individualize = Table.Individualize or false
  578. local MaxRange = Table.MaxRange or 200
  579. local SegmentLength = Table.SegmentLength or 5
  580. local Transparency = Table.Transparency or 0
  581. local Ignore = Table.Ignore or {}
  582. local SIZE = Table.SIZE or 0.3
  583. if not (StartPos and TargetPos) or not Character then
  584. return
  585. end
  586. local LightningModel = IT("Folder", Effects)
  587. LightningModel.Name = "ZAPP"
  588. for i, v in pairs({Character, LightningModel}) do
  589. table.insert(Ignore, v)
  590. end
  591. local LastPos = StartPos
  592. local Direction = CFrame.new(StartPos, TargetPos).lookVector
  593. local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Direction, MaxRange, Ignore, false)
  594. local RayLength = (StartPos - RayPos).Magnitude
  595. local Struck = false
  596. local TotalSegments = math.ceil(RayLength / SegmentLength)
  597. Direction = CFrame.new(StartPos, RayPos).lookVector
  598. local LightningBolt = IT("Model", Effects)
  599. LightningBolt.Name = "Lightning"
  600. LastBolt = LightningBolt
  601. Debris:AddItem(LightningBolt, Duration)
  602. LightningBolt.Parent = LightningModel
  603. for i = 1, TotalSegments do
  604. if not Struck then
  605. local Entropy = Vector3.new(math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset)
  606. local NewPos = StartPos + Direction * (RayLength * (i / TotalSegments)) + Entropy
  607. local SegmentVec = NewPos - LastPos
  608. local RayHit, RayPos, RayNormal = CastZapRay(LastPos, SegmentVec.Unit, SegmentVec.Magnitude, {Character, LightningModel}, false)
  609. local RayVec = LastPos - RayPos
  610. local LightningPart = BaseLightning:Clone()
  611. LightningPart.BrickColor = BrickColor.new(Color)
  612. LightningPart.Transparency = Transparency
  613. LightningPart.Size = Vector3.new(SIZE, SIZE, RayVec.Magnitude)
  614. LightningPart.CFrame = CFrame.new(LastPos, RayPos) * CFrame.new(0, 0, -(RayVec.Magnitude / 2))
  615. local CylinderMesh = IT("CylinderMesh", LightningPart)
  616. local OrigCF = LightningPart.CFrame
  617. LightningPart.Size = Vector3.new(LightningPart.Size.X, LightningPart.Size.Z, LightningPart.Size.Y)
  618. LightningPart.CFrame = OrigCF * CFrame.Angles(math.pi / 2, 0, 0)
  619. LightningPart.Parent = LightningBolt
  620. LastPos = NewPos
  621. end
  622. end
  623. return {
  624. RayHit = RayHit,
  625. RayPos = RayPos,
  626. RayNormal = RayNormal,
  627. LightningModel = LightningModel
  628. }
  629. end
  630. function Blink()
  631. coroutine.resume(coroutine.create(function()
  632. if EYE ~= nil and PUPIL ~= nil then
  633. for i = 1, 5 do
  634. Swait()
  635. EYE.Mesh.Scale = EYE.Mesh.Scale - VT(0, 0.2, 0)
  636. PUPIL.Mesh.Scale = PUPIL.Mesh.Scale - VT(0, 0.2, 0)
  637. end
  638. for i = 1, 7 do
  639. Swait()
  640. EYE.Mesh.Scale = EYE.Mesh.Scale + VT(0, 0.2, 0)
  641. PUPIL.Mesh.Scale = PUPIL.Mesh.Scale + VT(0, 0.2, 0)
  642. end
  643. EYE.Mesh.Scale = VT(1, 1, 1)
  644. PUPIL.Mesh.Scale = VT(1, 1, 1)
  645. end
  646. end))
  647. end
  648. local BODY = {}
  649. function Face()
  650. local FACE = CreatePart(3, Weapon, "Fabric", 0, 0, "Dark stone grey", "Face", VT(1.01, 0.725, 1.01), false)
  651. FACE.Color = C3(0, 0, 0)
  652. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  653. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0, 0.225, 0), CF(0, 0, 0))
  654. EYE = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eyeball", VT(0.15, 0.3, 0.15), false)
  655. MakeForm(EYE, "Ball")
  656. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15, 0.26, -0.55), CF(0, 0, 0))
  657. PUPIL = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eyeball", VT(0.05, 0.2, 0.05), false)
  658. PUPIL.Color = C3(0, 0, 0)
  659. MakeForm(PUPIL, "Ball")
  660. CreateWeldOrSnapOrMotor("Weld", Head, Head, PUPIL, CF(0.15, 0.26, -0.6), CF(0, 0, 0))
  661. local LASTPART = Head
  662. for i = 1, 30 do
  663. local MATH = 1 - i / 40
  664. if LASTPART == Head then
  665. local Horn = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25 * MATH, 0.25, 0.25 * MATH), false)
  666. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.5, 0.35, -0.15) * ANGLES(RAD(-15), RAD(15), RAD(-15)), CF(0, 0, 0))
  667. LASTPART = Horn
  668. Horn.Color = C3((i * 2 - 2) / 255, (i * 2 - 2) / 255, (i * 2 - 2) / 255)
  669. else
  670. local Horn = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25 * MATH, 0.25, 0.25 * MATH), false)
  671. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y / 1.8, 0) * ANGLES(RAD(17), RAD(3), RAD(0)), CF(0, 0, 0))
  672. LASTPART = Horn
  673. Horn.Color = C3((i * 2 - 2) / 255, (i * 2 - 2) / 255, (i * 2 - 2) / 255)
  674. end
  675. end
  676. local LASTPART = Head
  677. for i = 1, 30 do
  678. local MATH = 1 - i / 40
  679. if LASTPART == Head then
  680. local Horn = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25 * MATH, 0.25, 0.25 * MATH), false)
  681. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.5, 0.35, -0.15) * ANGLES(RAD(-15), RAD(-15), RAD(15)), CF(0, 0, 0))
  682. LASTPART = Horn
  683. Horn.Color = C3((i * 2 - 2) / 255, (i * 2 - 2) / 255, (i * 2 - 2) / 255)
  684. else
  685. local Horn = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25 * MATH, 0.25, 0.25 * MATH), false)
  686. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y / 1.8, 0) * ANGLES(RAD(17), RAD(-3), RAD(0)), CF(0, 0, 0))
  687. LASTPART = Horn
  688. Horn.Color = C3((i * 2 - 2) / 255, (i * 2 - 2) / 255, (i * 2 - 2) / 255)
  689. end
  690. end
  691. BODY = {}
  692. for _, c in pairs(Character:GetDescendants()) do
  693. if c:IsA("BasePart") then
  694. table.insert(BODY, {
  695. c,
  696. c.Parent,
  697. c.Material,
  698. c.Color
  699. })
  700. elseif c:IsA("JointInstance") then
  701. table.insert(BODY, {
  702. c,
  703. c.Parent,
  704. nil,
  705. nil
  706. })
  707. end
  708. end
  709. end
  710. function RightWing()
  711. for i = 1, 2 do
  712. local PART
  713. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  714. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Wing, CF(0.8, 0.75 - 0.25 * i, 1) * ANGLES(RAD(0), RAD(-15 * i), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-30 * i)), CF(0, 0, 0))
  715. table.insert(RWINGS, WingWeld)
  716. PART = Wing
  717. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "LargeWing", VT(1, 1.7, 1), false)
  718. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(25), RAD(0)), CF(0, -0.8, 0))
  719. PART = Wing
  720. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  721. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0))
  722. local Wing1 = CreatePart(3, Weapon, "Marble", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.2, 0.51), false)
  723. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  724. PART = Wing
  725. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  726. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0))
  727. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.8, 0.15, 0.15), false)
  728. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  729. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark orange", "WingPart", VT(0.25, 0.2, 0.25), false)
  730. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  731. PART = Wing
  732. table.insert(RWINGS, WingWeld)
  733. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.4, 0.5, 0.4), false)
  734. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)), CF(0, 0, 0))
  735. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark indigo", "WingPart", VT(0.45, 0.2, 0.45), false)
  736. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  737. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.15, 0.15), false)
  738. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  739. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  740. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0, 0))
  741. PART = Wing
  742. table.insert(RWINGS, WingWeld)
  743. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  744. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  745. PART = Wing
  746. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  747. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(15), RAD(15)), CF(0, 0, 0))
  748. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.3, 0.3), false)
  749. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  750. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(1, 0.2, 0.2), false)
  751. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0.15, 0))
  752. PART = Wing
  753. table.insert(RWINGS, WingWeld)
  754. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "WingPart", VT(1, 1, 1), false)
  755. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)), CF(0, 0, 0))
  756. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(0.3, 0.3, 0.3), false)
  757. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  758. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.7, 0.7, 0.7), false)
  759. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  760. local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Burgundy", "WingPart", VT(0.45, 0.45, 0.45), false)
  761. table.insert(EYES, Wing1)
  762. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(-35)), CF(0, 0, 0))
  763. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  764. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  765. PART = Wing
  766. table.insert(RWINGS, WingWeld)
  767. end
  768. BODY = {}
  769. for _, c in pairs(Character:GetDescendants()) do
  770. if c:IsA("BasePart") then
  771. table.insert(BODY, {
  772. c,
  773. c.Parent,
  774. c.Material,
  775. c.Color
  776. })
  777. elseif c:IsA("JointInstance") then
  778. table.insert(BODY, {
  779. c,
  780. c.Parent,
  781. nil,
  782. nil
  783. })
  784. end
  785. end
  786. end
  787. function LeftWing()
  788. for i = 1, 2 do
  789. local PART
  790. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  791. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Wing, CF(-0.8, 0.75 - 0.25 * i, 1) * ANGLES(RAD(0), RAD(15 * i), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(30 * i)), CF(0, 0, 0))
  792. table.insert(LWINGS, WingWeld)
  793. PART = Wing
  794. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "LargeWing", VT(1, 1.7, 1), false)
  795. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(-25), RAD(0)), CF(0, -0.8, 0))
  796. PART = Wing
  797. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  798. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0))
  799. local Wing1 = CreatePart(3, Weapon, "Marble", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.2, 0.51), false)
  800. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  801. PART = Wing
  802. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  803. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0))
  804. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.8, 0.15, 0.15), false)
  805. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  806. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark orange", "WingPart", VT(0.25, 0.2, 0.25), false)
  807. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  808. PART = Wing
  809. table.insert(LWINGS, WingWeld)
  810. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.4, 0.5, 0.4), false)
  811. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0))
  812. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark indigo", "WingPart", VT(0.45, 0.2, 0.45), false)
  813. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  814. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.15, 0.15), false)
  815. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  816. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  817. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0, 0))
  818. PART = Wing
  819. table.insert(LWINGS, WingWeld)
  820. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  821. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  822. PART = Wing
  823. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  824. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(-15), RAD(-15)), CF(0, 0, 0))
  825. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.3, 0.3), false)
  826. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  827. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(1, 0.2, 0.2), false)
  828. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0.15, 0))
  829. PART = Wing
  830. table.insert(LWINGS, WingWeld)
  831. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "WingPart", VT(1, 1, 1), false)
  832. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0))
  833. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(0.3, 0.3, 0.3), false)
  834. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  835. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.7, 0.7, 0.7), false)
  836. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  837. local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Burgundy", "WingPart", VT(0.45, 0.45, 0.45), false)
  838. table.insert(EYES, Wing1)
  839. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(35)), CF(0, 0, 0))
  840. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  841. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  842. PART = Wing
  843. table.insert(LWINGS, WingWeld)
  844. end
  845. BODY = {}
  846. for _, c in pairs(Character:GetDescendants()) do
  847. if c:IsA("BasePart") then
  848. table.insert(BODY, {
  849. c,
  850. c.Parent,
  851. c.Material,
  852. c.Color
  853. })
  854. elseif c:IsA("JointInstance") then
  855. table.insert(BODY, {
  856. c,
  857. c.Parent,
  858. nil,
  859. nil
  860. })
  861. end
  862. end
  863. end
  864. for _, c in pairs(Weapon:GetChildren()) do
  865. if c.ClassName == "Part" then
  866. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  867. end
  868. end
  869. for _, c in pairs(Character:GetDescendants()) do
  870. if c:IsA("BasePart") then
  871. table.insert(BODY, {
  872. c,
  873. c.Parent,
  874. c.Material,
  875. c.Color
  876. })
  877. elseif c:IsA("JointInstance") then
  878. table.insert(BODY, {
  879. c,
  880. c.Parent,
  881. nil,
  882. nil
  883. })
  884. end
  885. end
  886. for e = 1, #BODY do
  887. if BODY[e] ~= nil then
  888. do
  889. local STUFF = BODY[e]
  890. local PART = STUFF[1]
  891. local PARENT = STUFF[2]
  892. local MATERIAL = STUFF[3]
  893. local COLOR = STUFF[4]
  894. PART.AncestryChanged:Connect(function()
  895. if PART.ClassName == "Part" then
  896. PART.Material = MATERIAL
  897. PART.Color = COLOR
  898. end
  899. PART.Parent = PARENT
  900. end)
  901. end
  902. end
  903. end
  904. function refit()
  905. Weapon.Parent = Character
  906. Character.Parent = workspace
  907. for e = 1, #BODY do
  908. if BODY[e] ~= nil then
  909. local STUFF = BODY[e]
  910. local PART = STUFF[1]
  911. local PARENT = STUFF[2]
  912. local MATERIAL = STUFF[3]
  913. local COLOR = STUFF[4]
  914. if PART.Parent ~= PARENT then
  915. Humanoid:remove()
  916. if PART.ClassName == "Part" then
  917. PART.Material = MATERIAL
  918. PART.Color = COLOR
  919. end
  920. PART.Parent = PARENT
  921. Humanoid = IT("Humanoid", Character)
  922. end
  923. end
  924. end
  925. end
  926. local SKILLTEXTCOLOR = C3(0, 0, 0)
  927. local SKILLFONT = "SciFi"
  928. local SKILLTEXTSIZE = 7
  929. Weapon.Parent = Character
  930. Humanoid.Died:connect(function()
  931. refit()
  932. end)
  933. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 1 Frame")
  934. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.5, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 2 Frame")
  935. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 3 Frame")
  936. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Neck Snap", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 1")
  937. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Imperfect Command", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
  938. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Fire At Will", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 3")
  939. function StatLabel(CFRAME, TEXT, COLOR)
  940. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  941. STATPART.CFrame = CF(CFRAME.p, CFRAME.p + VT(MRANDOM(-5, 5), MRANDOM(0, 5), MRANDOM(-5, 5)))
  942. local BODYGYRO = IT("BodyGyro", STATPART)
  943. game:GetService("Debris"):AddItem(STATPART, 5)
  944. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  945. BILLBOARDGUI.Adornee = STATPART
  946. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5, 0)
  947. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  948. BILLBOARDGUI.AlwaysOnTop = false
  949. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  950. TEXTLABEL.BackgroundTransparency = 1
  951. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  952. TEXTLABEL.Text = TEXT
  953. TEXTLABEL.Font = SKILLFONT
  954. TEXTLABEL.FontSize = "Size42"
  955. TEXTLABEL.TextColor3 = COLOR
  956. TEXTLABEL.TextStrokeTransparency = 0
  957. TEXTLABEL.TextScaled = true
  958. TEXTLABEL.TextWrapped = true
  959. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  960. for i = 1, 50 do
  961. Swait()
  962. STATPART.CFrame = STATPART.CFrame * CF(0, 0, -0.2)
  963. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + 0.02
  964. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  965. end
  966. THEPART.Parent = nil
  967. end), STATPART, TEXTLABEL)
  968. end
  969. function Ragdoll(Character2, CharTorso, Headless, Velocity)
  970. local svch = Character2
  971. Character2:BreakJoints()
  972. local hum = Character2:findFirstChild("Humanoid")
  973. local q = Character2:GetChildren()
  974. local CLONE = IT("Model", Effects)
  975. for i = 1, #q do
  976. if q[i].ClassName == "Accessory" and Headless == true then
  977. q[i]:remove()
  978. elseif q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Gear" then
  979. q[i].Parent = CLONE
  980. elseif q[i].ClassName ~= "Humanoid" then
  981. q[i]:remove()
  982. end
  983. end
  984. local chrclone = CLONE
  985. local ch = chrclone:GetChildren()
  986. local i
  987. for i = 1, #ch do
  988. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  989. ch[i]:remove()
  990. end
  991. end
  992. local function Scan(ch)
  993. local e
  994. for e = 1, #ch do
  995. Scan(ch[e]:GetChildren())
  996. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  997. ch[e]:remove()
  998. end
  999. end
  1000. end
  1001. Character2:remove()
  1002. local NEWHUM = IT("Humanoid")
  1003. NEWHUM.Name = "Corpse"
  1004. NEWHUM.Health = 0
  1005. NEWHUM.MaxHealth = 0
  1006. NEWHUM.PlatformStand = true
  1007. NEWHUM.Parent = CLONE
  1008. NEWHUM.DisplayDistanceType = "None"
  1009. Scan(chrclone:GetChildren())
  1010. local ch = Character2:GetChildren()
  1011. local i
  1012. for i = 1, #ch do
  1013. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  1014. ch[i]:remove()
  1015. end
  1016. end
  1017. local ch = Character2:GetChildren()
  1018. local i
  1019. for i = 1, #ch do
  1020. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  1021. ch[i]:remove()
  1022. end
  1023. end
  1024. Character2 = chrclone
  1025. local Torso2 = Character2.Torso
  1026. local movevector = Vector3.new()
  1027. if Torso2 then
  1028. movevector = CFrame.new(CharTorso.Position, Torso2.Position).lookVector
  1029. local Head = Character2:FindFirstChild("Head")
  1030. if Head then
  1031. local Neck = Instance.new("Weld")
  1032. Neck.Name = "Neck"
  1033. Neck.Part0 = Torso2
  1034. Neck.Part1 = Head
  1035. Neck.C0 = CFrame.new(0, 1.5, 0)
  1036. Neck.C1 = CFrame.new()
  1037. Neck.Parent = Torso2
  1038. if Headless == true then
  1039. Head.Transparency = 1
  1040. Head:ClearAllChildren()
  1041. end
  1042. end
  1043. local Limb = Character2:FindFirstChild("Right Arm")
  1044. if Limb then
  1045. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  1046. local Joint = Instance.new("Glue")
  1047. Joint.Name = "RightShoulder"
  1048. Joint.Part0 = Torso2
  1049. Joint.Part1 = Limb
  1050. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1051. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1052. Joint.Parent = Torso2
  1053. local B = Instance.new("Part")
  1054. B.TopSurface = 0
  1055. B.BottomSurface = 0
  1056. B.formFactor = "Symmetric"
  1057. B.Size = Vector3.new(1, 1, 1)
  1058. B.Transparency = 1
  1059. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1060. B.Parent = Character2
  1061. local W = Instance.new("Weld")
  1062. W.Part0 = Limb
  1063. W.Part1 = B
  1064. W.C0 = CFrame.new(0, -0.5, 0)
  1065. W.Parent = Limb
  1066. end
  1067. local Limb = Character2:FindFirstChild("Left Arm")
  1068. if Limb then
  1069. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  1070. local Joint = Instance.new("Glue")
  1071. Joint.Name = "LeftShoulder"
  1072. Joint.Part0 = Torso2
  1073. Joint.Part1 = Limb
  1074. Joint.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1075. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1076. Joint.Parent = Torso2
  1077. local B = Instance.new("Part")
  1078. B.TopSurface = 0
  1079. B.BottomSurface = 0
  1080. B.formFactor = "Symmetric"
  1081. B.Size = Vector3.new(1, 1, 1)
  1082. B.Transparency = 1
  1083. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1084. B.Parent = Character2
  1085. local W = Instance.new("Weld")
  1086. W.Part0 = Limb
  1087. W.Part1 = B
  1088. W.C0 = CFrame.new(0, -0.5, 0)
  1089. W.Parent = Limb
  1090. end
  1091. local Limb = Character2:FindFirstChild("Right Leg")
  1092. if Limb then
  1093. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  1094. local Joint = Instance.new("Glue")
  1095. Joint.Name = "RightHip"
  1096. Joint.Part0 = Torso2
  1097. Joint.Part1 = Limb
  1098. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1099. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1100. Joint.Parent = Torso2
  1101. local B = Instance.new("Part")
  1102. B.TopSurface = 0
  1103. B.BottomSurface = 0
  1104. B.formFactor = "Symmetric"
  1105. B.Size = Vector3.new(1, 1, 1)
  1106. B.Transparency = 1
  1107. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1108. B.Parent = Character2
  1109. local W = Instance.new("Weld")
  1110. W.Part0 = Limb
  1111. W.Part1 = B
  1112. W.C0 = CFrame.new(0, -0.5, 0)
  1113. W.Parent = Limb
  1114. end
  1115. local Limb = Character2:FindFirstChild("Left Leg")
  1116. if Limb then
  1117. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  1118. local Joint = Instance.new("Glue")
  1119. Joint.Name = "LeftHip"
  1120. Joint.Part0 = Torso2
  1121. Joint.Part1 = Limb
  1122. Joint.C0 = CFrame.new(-0.5, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1123. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1124. Joint.Parent = Torso2
  1125. local B = Instance.new("Part")
  1126. B.TopSurface = 0
  1127. B.BottomSurface = 0
  1128. B.formFactor = "Symmetric"
  1129. B.Size = Vector3.new(1, 1, 1)
  1130. B.Transparency = 1
  1131. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1132. B.Parent = Character2
  1133. local W = Instance.new("Weld")
  1134. W.Part0 = Limb
  1135. W.Part1 = B
  1136. W.C0 = CFrame.new(0, -0.5, 0)
  1137. W.Parent = Limb
  1138. end
  1139. local Bar = Instance.new("Part")
  1140. Bar.TopSurface = 0
  1141. Bar.BottomSurface = 0
  1142. Bar.formFactor = "Symmetric"
  1143. Bar.Size = Vector3.new(1, 1, 1)
  1144. Bar.Transparency = 1
  1145. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  1146. Bar.Parent = Character2
  1147. local Weld = Instance.new("Weld")
  1148. Weld.Part0 = Torso2
  1149. Weld.Part1 = Bar
  1150. Weld.C0 = CFrame.new(0, 0.5, 0)
  1151. Weld.Parent = Torso2
  1152. end
  1153. Character2.Parent = Weapon
  1154. if movevector ~= Vector3.new() then
  1155. for i = 1, 10 do
  1156. Torso2.Velocity = movevector * Velocity
  1157. end
  1158. end
  1159. Character2.Name = "Corpse"
  1160. return Character2, Torso2
  1161. end
  1162. function PuddleOfBlood(Position, MaxDrop, Model, MaxSize)
  1163. local HITFLOOR, HITPOS, NORMAL = Raycast(Position, CF(Position, Position + VT(0, -1, 0)).lookVector, MaxDrop, Model)
  1164. if HITFLOOR ~= nil and HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then
  1165. if HITFLOOR.Name == "BloodPuddle" then
  1166. local DIST = (Position - HITFLOOR.Position).Magnitude
  1167. if HITFLOOR.Size.Z <= 5 and MaxSize > HITFLOOR.Size.Z or HITFLOOR.Size.Z > 5 and MaxSize > HITFLOOR.Size.Z and DIST < HITFLOOR.Size.Z / 3 then
  1168. HITFLOOR.Size = HITFLOOR.Size + VT(0.1, 0, 0.1)
  1169. end
  1170. elseif HITFLOOR.Anchored == true then
  1171. do
  1172. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(2, 0, 2))
  1173. BLOOD.CFrame = CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
  1174. MakeForm(BLOOD, "Cyl")
  1175. coroutine.resume(coroutine.create(function()
  1176. Swait(75)
  1177. while true do
  1178. Swait()
  1179. BLOOD.Size = BLOOD.Size - VT(0.02, 0, 0.02)
  1180. if BLOOD.Size.Z < 0.051 then
  1181. BLOOD:remove()
  1182. break
  1183. end
  1184. end
  1185. end))
  1186. end
  1187. end
  1188. end
  1189. end
  1190. function SprayBlood(POSITION, DIRECTION, BloodSize)
  1191. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(1, 1, 1), false)
  1192. BLOOD.CFrame = CF(POSITION)
  1193. MakeForm(BLOOD, "Ball")
  1194. local bv = Instance.new("BodyVelocity", BLOOD)
  1195. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1196. bv.velocity = CF(POSITION, DIRECTION + VT(MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30)).lookVector * 25
  1197. bv.Name = "MOVE"
  1198. Debris:AddItem(bv, 0.05)
  1199. coroutine.resume(coroutine.create(function()
  1200. local HASTOUCHEDGROUND = false
  1201. local HIT = BLOOD.Touched:Connect(function(hit)
  1202. if hit.Anchored == true then
  1203. HASTOUCHEDGROUND = true
  1204. PuddleOfBlood(BLOOD.Position + VT(0, 1, 0), 2, BLOOD, BloodSize)
  1205. end
  1206. end)
  1207. wait(5)
  1208. if HASTOUCHEDGROUND == false then
  1209. BLOOD:remove()
  1210. end
  1211. end))
  1212. end
  1213. function ApplyDamage(Humanoid, Damage, TorsoPart)
  1214. local defence = Instance.new("BoolValue", Humanoid.Parent)
  1215. defence.Name = "HitBy" .. Player.Name
  1216. game:GetService("Debris"):AddItem(defence, 0.001)
  1217. Damage = Damage * DAMAGEMULTIPLIER
  1218. if Humanoid.Health ~= 0 then
  1219. local CritChance = MRANDOM(1, 100)
  1220. if Damage > Humanoid.Health then
  1221. Damage = math.ceil(Humanoid.Health)
  1222. if Damage == 0 then
  1223. Damage = 0.1
  1224. end
  1225. end
  1226. Humanoid.Health = Humanoid.Health - Damage
  1227. StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
  1228. end
  1229. end
  1230. function ApplyAoE(POSITION, RANGE, MINDMG, MAXDMG, FLING, INSTAKILL)
  1231. local CHILDREN = workspace:GetDescendants()
  1232. for index, CHILD in pairs(CHILDREN) do
  1233. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1234. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1235. if HUM then
  1236. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1237. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1238. if INSTAKILL == true then
  1239. Petrify(CHILD)
  1240. else
  1241. local DMG = MRANDOM(MINDMG, MAXDMG)
  1242. ApplyDamage(HUM, DMG, TORSO)
  1243. end
  1244. if FLING > 0 then
  1245. for _, c in pairs(CHILD:GetChildren()) do
  1246. if c:IsA("BasePart") then
  1247. local bv = Instance.new("BodyVelocity")
  1248. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1249. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  1250. bv.Parent = c
  1251. Debris:AddItem(bv, 0.05)
  1252. end
  1253. end
  1254. end
  1255. end
  1256. end
  1257. end
  1258. end
  1259. end
  1260. function Petrify(Foe)
  1261. local STONEMODEL = IT("Model", Effects)
  1262. local CHILDREN = Foe:GetDescendants()
  1263. for index, CHILD in pairs(CHILDREN) do
  1264. if CHILD:IsA("BasePart") and CHILD.Parent.ClassName ~= "Folder" then
  1265. CHILD.Parent = STONEMODEL
  1266. CHILD.Material = "Slate"
  1267. CHILD.Color = C3(0.5, 0.5, 0.5)
  1268. if CHILD:FindFirstChildOfClass("SpecialMesh") then
  1269. local mesh = CHILD:FindFirstChildOfClass("SpecialMesh")
  1270. mesh.TextureId = ""
  1271. end
  1272. if CHILD:FindFirstChildOfClass("Decal") then
  1273. local mesh = CHILD:FindFirstChildOfClass("Decal")
  1274. mesh:remove()
  1275. end
  1276. if CHILD.ClassName == "MeshPart" then
  1277. CHILD.TextureID = ""
  1278. end
  1279. if CHILD.ClassName == "UnionOperation" then
  1280. CHILD.UsePartColor = true
  1281. end
  1282. CHILD.CanCollide = true
  1283. end
  1284. end
  1285. Debris:AddItem(STONEMODEL, 5)
  1286. end
  1287. function Intro()
  1288. coroutine.resume(coroutine.create(function()
  1289. INTROING = true
  1290. Rooted = true
  1291. sick:Play()
  1292. FINISHEDINTRO = true
  1293. Head.Transparency = 1
  1294. Torso.Transparency = 1
  1295. LeftArm.Transparency = 1
  1296. RightArm.Transparency = 1
  1297. LeftLeg.Transparency = 1
  1298. RightLeg.Transparency = 1
  1299. repeat
  1300. Swait()
  1301. until sick.TimePosition > 3.2
  1302. for i = 1, 5 do
  1303. WACKYEFFECT({
  1304. EffectType = "Sphere",
  1305. Size = VT(3, 3, 3),
  1306. Size2 = VT(0, 5, 0),
  1307. Transparency = 0.5,
  1308. Transparency2 = 1,
  1309. CFrame = Torso.CFrame,
  1310. MoveToPos = Torso.CFrame * CF(15, -5 + i * 3, 1).p,
  1311. RotationX = MRANDOM(-5, 5),
  1312. RotationY = MRANDOM(-5, 5),
  1313. RotationZ = MRANDOM(-5, 5),
  1314. Material = "Neon",
  1315. Color = C3(1, 0, 0),
  1316. SoundID = nil,
  1317. SoundPitch = nil,
  1318. SoundVolume = nil
  1319. })
  1320. end
  1321. RightWing()
  1322. repeat
  1323. Swait()
  1324. until sick.TimePosition > 6.2
  1325. for i = 1, 5 do
  1326. WACKYEFFECT({
  1327. EffectType = "Sphere",
  1328. Size = VT(3, 3, 3),
  1329. Size2 = VT(0, 5, 0),
  1330. Transparency = 0.5,
  1331. Transparency2 = 1,
  1332. CFrame = Torso.CFrame,
  1333. MoveToPos = Torso.CFrame * CF(-15, -5 + i * 3, 1).p,
  1334. RotationX = MRANDOM(-5, 5),
  1335. RotationY = MRANDOM(-5, 5),
  1336. RotationZ = MRANDOM(-5, 5),
  1337. Material = "Neon",
  1338. Color = C3(1, 0, 0),
  1339. SoundID = nil,
  1340. SoundPitch = nil,
  1341. SoundVolume = nil
  1342. })
  1343. end
  1344. LeftWing()
  1345. repeat
  1346. Swait()
  1347. until sick.TimePosition > 16
  1348. for i = 1, 6 do
  1349. WACKYEFFECT({
  1350. EffectType = "Sphere",
  1351. Size = VT(1.5, 1.5, 1.5),
  1352. Size2 = VT(4, 4, 4) * i,
  1353. Transparency = 0,
  1354. Transparency2 = 1,
  1355. CFrame = Head.CFrame,
  1356. MoveToPos = nil,
  1357. RotationX = 0,
  1358. RotationY = 0,
  1359. RotationZ = 0,
  1360. Material = "Neon",
  1361. Color = C3(1, 0, 0),
  1362. SoundID = nil,
  1363. SoundPitch = nil,
  1364. SoundVolume = nil
  1365. })
  1366. end
  1367. Head.Transparency = 0
  1368. Face()
  1369. wait(1)
  1370. for i = 1, 100 do
  1371. Swait()
  1372. Torso.Transparency = 1 - i / 100
  1373. LeftArm.Transparency = 1 - i / 100
  1374. RightArm.Transparency = 1 - i / 100
  1375. LeftLeg.Transparency = 1 - i / 100
  1376. RightLeg.Transparency = 1 - i / 100
  1377. end
  1378. FINISHEDINTRO = true
  1379. Rooted = false
  1380. end))
  1381. end
  1382. function Neck_Snap()
  1383. ATTACK = true
  1384. Rooted = false
  1385. local TARGET, HUM, WLD
  1386. local HIT = RightArm.Touched:Connect(function(hit)
  1387. if hit.Parent ~= nil and hit.Parent:FindFirstChildOfClass("Humanoid") then
  1388. local H = hit.Parent:FindFirstChildOfClass("Humanoid")
  1389. if H.Health > 0 then
  1390. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1391. if TORSO then
  1392. HUM = H
  1393. TARGET = TORSO
  1394. H.PlatformStand = true
  1395. CreateSound("260411131", TORSO, 10, 1)
  1396. WLD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, TORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  1397. end
  1398. end
  1399. end
  1400. end)
  1401. for i = 0, 1, 0.1 / Animation_Speed do
  1402. Swait()
  1403. if TARGET ~= nil then
  1404. break
  1405. end
  1406. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1407. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
  1408. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.45, -0.3) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1409. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1410. if ANIM == "Idle" then
  1411. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1412. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1413. elseif ANIM == "Walk" then
  1414. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1415. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1416. elseif ANIM == "Jump" or ANIM == "Fall" then
  1417. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1418. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1419. end
  1420. end
  1421. HIT:disconnect()
  1422. if TARGET ~= nil then
  1423. if TARGET.Name == "Torso" then
  1424. for i = 0, 2, 0.1 / Animation_Speed do
  1425. Swait()
  1426. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1427. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1428. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(65), RAD(25), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1429. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1430. if ANIM == "Idle" then
  1431. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1432. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1433. elseif ANIM == "Walk" then
  1434. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1435. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1436. elseif ANIM == "Jump" or ANIM == "Fall" then
  1437. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1438. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1439. end
  1440. end
  1441. WLD:remove()
  1442. local HEAD = TARGET.Parent:FindFirstChild("Head")
  1443. if HEAD then
  1444. UNANCHOR = false
  1445. RootPart.Anchored = true
  1446. local HD = HEAD:Clone()
  1447. HD.Name = "FakeHead"
  1448. for i = 1, 7 do
  1449. SprayBlood(TARGET.CFrame * CF(0, TARGET.Size.Y / 2, 0).p, TARGET.CFrame * CF(MRANDOM(25, 55), MRANDOM(-25, 25), MRANDOM(25, 55)).p, 15)
  1450. end
  1451. local RAGDOLL, RAGTORSO = Ragdoll(TARGET.Parent, Torso, true, 0)
  1452. local RAGWELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RAGTORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  1453. HD.Parent = RAGDOLL
  1454. CreateSound("264486467", RAGTORSO, 10, 1)
  1455. local HEADWELD = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, HD, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  1456. for i = 0, 2, 0.1 / Animation_Speed do
  1457. Swait()
  1458. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1459. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1460. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1461. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(150), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1462. if ANIM == "Idle" then
  1463. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1464. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1465. elseif ANIM == "Walk" then
  1466. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1467. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1468. elseif ANIM == "Jump" or ANIM == "Fall" then
  1469. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1470. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1471. end
  1472. end
  1473. HEADWELD:remove()
  1474. for i = 0, 0.5, 0.1 / Animation_Speed do
  1475. Swait()
  1476. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1477. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1478. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1479. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1480. if ANIM == "Idle" then
  1481. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1482. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1483. elseif ANIM == "Walk" then
  1484. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1485. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1486. elseif ANIM == "Jump" or ANIM == "Fall" then
  1487. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1488. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1489. end
  1490. end
  1491. CreateSound("907333406", Torso, 10, 1)
  1492. for i = 0, 0.25, 0.1 / Animation_Speed do
  1493. Swait()
  1494. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1495. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1496. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1497. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1498. if ANIM == "Idle" then
  1499. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1500. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1501. elseif ANIM == "Walk" then
  1502. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1503. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1504. elseif ANIM == "Jump" or ANIM == "Fall" then
  1505. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1506. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1507. end
  1508. end
  1509. RAGWELD:remove()
  1510. local bv = Instance.new("BodyVelocity")
  1511. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1512. bv.velocity = CF(Torso.Position, RAGTORSO.Position).lookVector * 75
  1513. bv.Parent = RAGTORSO
  1514. Debris:AddItem(bv, 0.05)
  1515. Debris:AddItem(RAGDOLL, 5)
  1516. for i = 0, 0.15, 0.1 / Animation_Speed do
  1517. Swait()
  1518. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1519. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1520. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1521. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1522. if ANIM == "Idle" then
  1523. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1524. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1525. elseif ANIM == "Walk" then
  1526. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1527. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1528. elseif ANIM == "Jump" or ANIM == "Fall" then
  1529. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1530. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1531. end
  1532. end
  1533. UNANCHOR = true
  1534. RootPart.Anchored = false
  1535. end
  1536. else
  1537. UNANCHOR = false
  1538. RootPart.Anchored = true
  1539. for i = 0, 0.5, 0.1 / Animation_Speed do
  1540. Swait()
  1541. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1542. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1543. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1544. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1545. if ANIM == "Idle" then
  1546. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1547. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1548. elseif ANIM == "Walk" then
  1549. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1550. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1551. elseif ANIM == "Jump" or ANIM == "Fall" then
  1552. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1553. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1554. end
  1555. end
  1556. for i = 0, 0.25, 0.1 / Animation_Speed do
  1557. Swait()
  1558. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1559. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1560. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1561. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1562. if ANIM == "Idle" then
  1563. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1564. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1565. elseif ANIM == "Walk" then
  1566. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1567. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1568. elseif ANIM == "Jump" or ANIM == "Fall" then
  1569. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1570. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1571. end
  1572. end
  1573. WLD:remove()
  1574. TARGET.Parent:BreakJoints()
  1575. for _, c in pairs(TARGET.Parent:GetChildren()) do
  1576. if c:IsA("BasePart") then
  1577. local bv = Instance.new("BodyVelocity")
  1578. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1579. bv.velocity = CF(Torso.Position, c.Position).lookVector * 75
  1580. bv.Parent = c
  1581. Debris:AddItem(bv, 0.05)
  1582. end
  1583. end
  1584. for i = 0, 0.15, 0.1 / Animation_Speed do
  1585. Swait()
  1586. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1587. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1588. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1589. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1590. if ANIM == "Idle" then
  1591. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1592. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1593. elseif ANIM == "Walk" then
  1594. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1595. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1596. elseif ANIM == "Jump" or ANIM == "Fall" then
  1597. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1598. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1599. end
  1600. end
  1601. UNANCHOR = true
  1602. RootPart.Anchored = false
  1603. end
  1604. end
  1605. ATTACK = false
  1606. Rooted = false
  1607. end
  1608. function Imperfect_Command()
  1609. ATTACK = true
  1610. Rooted = true
  1611. if getMouseTarget().Parent ~= Character and getMouseTarget().Parent.Parent ~= Character and getMouseTarget().Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1612. local HUM = getMouseTarget().Parent:FindFirstChildOfClass("Humanoid")
  1613. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1614. if TORSO then
  1615. local GYRO = IT("BodyGyro", RootPart)
  1616. GYRO.D = 750
  1617. GYRO.P = 2000
  1618. GYRO.MaxTorque = VT(0, 40000, 0)
  1619. CreateSound("907330103", Torso, 10, 1)
  1620. for i = 0, 1.6, 0.1 / Animation_Speed do
  1621. Swait()
  1622. WACKYEFFECT({
  1623. Time = 5,
  1624. EffectType = "Round Slash",
  1625. Size = VT(0, 0, 0),
  1626. Size2 = VT(0.01, 0, 0.01),
  1627. Transparency = 0.5,
  1628. Transparency2 = 1,
  1629. CFrame = CF(EYE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1630. MoveToPos = nil,
  1631. RotationX = MRANDOM(-50, 50) / 10,
  1632. RotationY = MRANDOM(-50, 50) / 10,
  1633. RotationZ = MRANDOM(-50, 50) / 10,
  1634. Material = "Neon",
  1635. Color = C3(1, 0, 0),
  1636. SoundID = nil,
  1637. SoundPitch = nil,
  1638. SoundVolume = nil
  1639. })
  1640. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  1641. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.2 / Animation_Speed)
  1642. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.2 / Animation_Speed)
  1643. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(120), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-45)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1644. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1645. if ANIM == "Idle" then
  1646. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1647. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1648. elseif ANIM == "Walk" then
  1649. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1650. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1651. elseif ANIM == "Jump" or ANIM == "Fall" then
  1652. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1653. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1654. end
  1655. end
  1656. GYRO:remove()
  1657. for i = 1, 15 do
  1658. WACKYEFFECT({
  1659. Time = MRANDOM(15, 85),
  1660. EffectType = "Round Slash",
  1661. Size = VT(0, 0, 0),
  1662. Size2 = VT(0.3, 0, 0.3),
  1663. Transparency = 0.5,
  1664. Transparency2 = 1,
  1665. CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1666. MoveToPos = nil,
  1667. RotationX = MRANDOM(-50, 50) / 10,
  1668. RotationY = MRANDOM(-50, 50) / 10,
  1669. RotationZ = MRANDOM(-50, 50) / 10,
  1670. Material = "Neon",
  1671. Color = C3(1, 0, 0),
  1672. SoundID = nil,
  1673. SoundPitch = nil,
  1674. SoundVolume = nil
  1675. })
  1676. end
  1677. local bv = Instance.new("BodyVelocity")
  1678. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1679. bv.velocity = CF(Torso.Position, TORSO.Position).lookVector * 5
  1680. bv.Parent = TORSO
  1681. Debris:AddItem(bv, 0.05)
  1682. CreateSound("1222405264", TORSO, 10, 1)
  1683. Petrify(HUM.Parent)
  1684. for i = 0, 0.5, 0.1 / Animation_Speed do
  1685. Swait()
  1686. WACKYEFFECT({
  1687. Time = 5,
  1688. EffectType = "Round Slash",
  1689. Size = VT(0, 0, 0),
  1690. Size2 = VT(0.01, 0, 0.01),
  1691. Transparency = 0.5,
  1692. Transparency2 = 1,
  1693. CFrame = CF(EYE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1694. MoveToPos = nil,
  1695. RotationX = MRANDOM(-50, 50) / 10,
  1696. RotationY = MRANDOM(-50, 50) / 10,
  1697. RotationZ = MRANDOM(-50, 50) / 10,
  1698. Material = "Neon",
  1699. Color = C3(1, 0, 0),
  1700. SoundID = nil,
  1701. SoundPitch = nil,
  1702. SoundVolume = nil
  1703. })
  1704. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  1705. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 2 / Animation_Speed)
  1706. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 2 / Animation_Speed)
  1707. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 22), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1708. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1709. if ANIM == "Idle" then
  1710. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1711. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1712. elseif ANIM == "Walk" then
  1713. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1714. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1715. elseif ANIM == "Jump" or ANIM == "Fall" then
  1716. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1717. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1718. end
  1719. end
  1720. end
  1721. end
  1722. ATTACK = false
  1723. Rooted = false
  1724. end
  1725. function Fire_At_Will()
  1726. ATTACK = true
  1727. Rooted = false
  1728. local GYRO = IT("BodyGyro", RootPart)
  1729. GYRO.D = 750
  1730. GYRO.P = 2000
  1731. GYRO.MaxTorque = VT(0, 40000, 0)
  1732. for i = 0, 0.2, 0.1 / Animation_Speed do
  1733. Swait()
  1734. GYRO.cframe = CF(RootPart.Position, getMouseHit())
  1735. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1736. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
  1737. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1738. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1739. if ANIM == "Idle" then
  1740. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1741. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1742. elseif ANIM == "Walk" then
  1743. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1744. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1745. elseif ANIM == "Jump" or ANIM == "Fall" then
  1746. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1747. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1748. end
  1749. end
  1750. local BOMB = CreatePart(3, Effects, "Neon", 0, 0, "Burgundy", "Sphere", VT(1, 1, 1), false)
  1751. MakeForm(BOMB, "Ball")
  1752. BOMB.Mesh.Scale = VT(0.5, 0.5, 0.5)
  1753. local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BOMB, CF(0, -2, 0), CF(0, 0, 0))
  1754. for i = 0, 1.5, 0.1 / Animation_Speed do
  1755. Swait()
  1756. if MRANDOM(1, 2) == 1 then
  1757. for E = 1, #EYES do
  1758. if EYES[E] ~= nil then
  1759. local EY = EYES[E]
  1760. local LIGHTNING = Zap({
  1761. StartPosition = EY.Position,
  1762. TargetPosition = BOMB.Position,
  1763. Character = Character,
  1764. Color = "Burgundy",
  1765. Individual = false,
  1766. MaxRange = 7,
  1767. SegmentLength = 1,
  1768. Offset = 0.3,
  1769. SIZE = 0.05
  1770. })
  1771. Debris:AddItem(LIGHTNING.LightningModel, 0.05)
  1772. end
  1773. end
  1774. end
  1775. BOMB.Mesh.Scale = BOMB.Mesh.Scale + VT(0.1, 0.1, 0.1)
  1776. GYRO.cframe = CF(RootPart.Position, getMouseHit())
  1777. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1778. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
  1779. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1780. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1781. if ANIM == "Idle" then
  1782. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1783. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1784. elseif ANIM == "Walk" then
  1785. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1786. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1787. elseif ANIM == "Jump" or ANIM == "Fall" then
  1788. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1789. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1790. end
  1791. end
  1792. WACKYEFFECT({
  1793. Time = 25,
  1794. EffectType = "Ring",
  1795. Size = VT(0, 0, 0),
  1796. Size2 = VT(3.75, 3.75, 0),
  1797. Transparency = 0.7,
  1798. Transparency2 = 1,
  1799. CFrame = RootPart.CFrame * CF(0, -0.25, -1.3),
  1800. MoveToPos = nil,
  1801. RotationX = 0,
  1802. RotationY = 0,
  1803. RotationZ = 0,
  1804. Material = "Neon",
  1805. Color = BOMB.Color,
  1806. SoundID = nil,
  1807. SoundPitch = nil,
  1808. SoundVolume = nil
  1809. })
  1810. WACKYEFFECT({
  1811. Time = 50,
  1812. EffectType = "Ring",
  1813. Size = VT(0, 0, 0),
  1814. Size2 = VT(15, 15, 0),
  1815. Transparency = 0.7,
  1816. Transparency2 = 1,
  1817. CFrame = RootPart.CFrame * CF(0, -0.25, -1.3),
  1818. MoveToPos = nil,
  1819. RotationX = 0,
  1820. RotationY = 0,
  1821. RotationZ = 0,
  1822. Material = "Neon",
  1823. Color = BOMB.Color,
  1824. SoundID = nil,
  1825. SoundPitch = nil,
  1826. SoundVolume = nil
  1827. })
  1828. BOMB.Anchored = true
  1829. WELD:remove()
  1830. GYRO:remove()
  1831. coroutine.resume(coroutine.create(function()
  1832. BOMB.CFrame = CF(BOMB.Position, getMouseHit())
  1833. for i = 1, 500 do
  1834. Swait()
  1835. BOMB.CFrame = BOMB.CFrame * CF(0, 0, -2)
  1836. local HITFLOOR, HITPOS = Raycast(BOMB.Position, BOMB.CFrame.lookVector, 2.2, Character)
  1837. if HITFLOOR ~= nil then
  1838. break
  1839. end
  1840. end
  1841. ApplyAoE(BOMB.Position, 75, 0, 0, 0, true)
  1842. for i = 1, 3 do
  1843. WACKYEFFECT({
  1844. Time = 35,
  1845. EffectType = "Swirl",
  1846. Size = VT(0, 0, 0),
  1847. Size2 = VT(150, 225, 150) + VT(5, 15, 5) * i,
  1848. Transparency = 0,
  1849. Transparency2 = 1,
  1850. CFrame = BOMB.CFrame,
  1851. MoveToPos = nil,
  1852. RotationX = 0,
  1853. RotationY = 5 * i,
  1854. RotationZ = 0,
  1855. Material = "Neon",
  1856. Color = BOMB.Color,
  1857. SoundID = nil,
  1858. SoundPitch = nil,
  1859. SoundVolume = nil
  1860. })
  1861. end
  1862. for i = 1, 5 do
  1863. WACKYEFFECT({
  1864. Time = 75,
  1865. EffectType = "Sphere",
  1866. Size = BOMB.Mesh.Scale,
  1867. Size2 = VT(25, 25, 25) * i,
  1868. Transparency = 0.5,
  1869. Transparency2 = 1,
  1870. CFrame = BOMB.CFrame,
  1871. MoveToPos = nil,
  1872. RotationX = 0,
  1873. RotationY = 0,
  1874. RotationZ = 0,
  1875. Material = "Neon",
  1876. Color = BOMB.Color,
  1877. SoundID = 1222405264,
  1878. SoundPitch = 1,
  1879. SoundVolume = 10
  1880. })
  1881. end
  1882. local HITFLOOR, HITPOS = Raycast(BOMB.Position, CF(BOMB.Position + VT(0, 1, 0), BOMB.Position - VT(0, 1, 0)).lookVector, 15, Character)
  1883. if HITFLOOR then
  1884. CreateDebreeRing(HITFLOOR, HITPOS, 15, VT(8, 8, 8), 5)
  1885. end
  1886. BOMB.Transparency = 1
  1887. for i = 1, 35 do
  1888. Swait()
  1889. CreateFlyingDebree(BOMB, CF(BOMB.Position), 1, VT(0.5, 0.5, 0.5), 5, 150)
  1890. end
  1891. BOMB:remove()
  1892. end))
  1893. ATTACK = false
  1894. Rooted = false
  1895. end
  1896. function Imperfect_Storm()
  1897. ATTACK = true
  1898. Rooted = false
  1899. for i = 0, 1, 0.1 / Animation_Speed do
  1900. Swait()
  1901. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1902. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1903. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1904. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1905. if ANIM == "Idle" then
  1906. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1907. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1908. elseif ANIM == "Walk" then
  1909. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1910. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1911. elseif ANIM == "Jump" or ANIM == "Fall" then
  1912. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1913. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1914. end
  1915. end
  1916. ATTACK = false
  1917. Rooted = false
  1918. end
  1919. RemoteEvent2.OnServerEvent:Connect(function()
  1920. if ATTACK == false then
  1921. end
  1922. end)
  1923. RemoteEvent5.OnServerEvent:Connect(function()
  1924. HOLD = false
  1925. end)
  1926. RemoteEvent.OnServerEvent:Connect(function(plr,Key)
  1927. KEYHOLD = true
  1928. if FINISHEDINTRO == true then
  1929. if Key == "z" and ATTACK == false then
  1930. Neck_Snap()
  1931. end
  1932. if Key == "b" and ATTACK == false then
  1933. Imperfect_Command()
  1934. end
  1935. if Key == "c" and ATTACK == false then
  1936. Fire_At_Will()
  1937. end
  1938. if Key ~= "v" or ATTACK == false then
  1939. end
  1940. if Key ~= "x" or ATTACK == false then
  1941. end
  1942. end
  1943. end)
  1944. RemoteEvent4.OnServerEvent:Connect(function()
  1945. KEYHOLD = false
  1946. end)
  1947.  
  1948. function unanchor()
  1949. if UNANCHOR == true then
  1950. RootPart.Anchored = false
  1951. end
  1952. local CHILDREN = Character:GetDescendants()
  1953. for index, CHILD in pairs(CHILDREN) do
  1954. if CHILD:IsA("BasePart") and CHILD ~= RootPart and CHILD.Parent ~= Effects and CHILD.Parent.Parent ~= Effects then
  1955. CHILD.Anchored = false
  1956. end
  1957. end
  1958. end
  1959. Humanoid.Changed:connect(function(Jump)
  1960. if Jump == "Jump" and Disable_Jump == true then
  1961. Humanoid.Jump = false
  1962. end
  1963. end)
  1964. while true do
  1965. Swait()
  1966. script.Parent = WEAPONGUI
  1967. ANIMATE.Parent = nil
  1968. if Humanoid then
  1969. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1970. IDLEANIMATION:Play()
  1971. end
  1972. for RW = 1, #RWINGS do
  1973. if RWINGS[RW] ~= nil then
  1974. RWINGS[RW].C1 = Clerp(RWINGS[RW].C1, CF(-0.25 + 0.25 * COS(SINE / 22), 0, 0 + 0.15 * COS(SINE / 22)) * ANGLES(RAD(2.5 * SIN(SINE / 22)), RAD(0), RAD(0 + 5 * SIN(SINE / 22))), 1 / Animation_Speed)
  1975. end
  1976. end
  1977. for LW = 1, #LWINGS do
  1978. if LWINGS[LW] ~= nil then
  1979. LWINGS[LW].C1 = Clerp(LWINGS[LW].C1, CF(0.25 - 0.25 * COS(SINE / 22), 0, 0 + 0.15 * COS(SINE / 22)) * ANGLES(RAD(2.5 * SIN(SINE / 22)), RAD(0), RAD(0 - 5 * SIN(SINE / 22))), 1 / Animation_Speed)
  1980. end
  1981. end
  1982. SINE = SINE + CHANGE
  1983. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1984. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1985. local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 + Humanoid.HipHeight, Character)
  1986. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1987. if FINISHEDINTRO == true then
  1988. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1989. ANIM = "Jump"
  1990. if ATTACK == false then
  1991. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1992. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1993. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1994. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1995. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1996. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1997. end
  1998. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1999. ANIM = "Fall"
  2000. if ATTACK == false then
  2001. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2002. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2003. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2004. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2005. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2006. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2007. end
  2008. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2009. ANIM = "Idle"
  2010. if ATTACK == false then
  2011. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2012. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.15 / Animation_Speed)
  2013. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2014. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2015. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 22), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2016. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 22), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2017. end
  2018. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2019. ANIM = "Walk"
  2020. if ATTACK == false then
  2021. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 22)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 22)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2022. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 22)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 22))), 1 / Animation_Speed)
  2023. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 22), 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 22)), RAD(15 + 7.5 * SIN(SINE / 22))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2024. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 22), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 22)), RAD(-15 - 7.5 * SIN(SINE / 22))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2025. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2026. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2027. end
  2028. end
  2029. if TORSOVELOCITY > 1 then
  2030. Humanoid.HipHeight = 1
  2031. else
  2032. Humanoid.HipHeight = 0
  2033. end
  2034. elseif FINISHEDINTRO == false then
  2035. Humanoid.HipHeight = 0
  2036. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2037. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2038. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2039. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2040. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2041. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2042. end
  2043. unanchor()
  2044. Humanoid.MaxHealth = "inf"
  2045. Humanoid.Health = "inf"
  2046. if Rooted == false then
  2047. Disable_Jump = false
  2048. Humanoid.WalkSpeed = Speed
  2049. elseif Rooted == true then
  2050. Disable_Jump = true
  2051. Humanoid.WalkSpeed = 0
  2052. end
  2053. sick.Parent = Torso
  2054. sick.Playing = true
  2055. sick.Volume = 3
  2056. sick.Pitch = 1
  2057. BLINKLOOP = BLINKLOOP + 1
  2058. if BLINKLOOP >= 650 then
  2059. BLINKLOOP = 0
  2060. Blink()
  2061. end
  2062. if Character:FindFirstChildOfClass("Accessory") then
  2063. Character:FindFirstChildOfClass("Accessory"):remove()
  2064. end
  2065. if Head:FindFirstChildOfClass("Sound") then
  2066. Head:FindFirstChildOfClass("Sound"):remove()
  2067. end
  2068. if INTROING == false and FINISHEDINTRO == false then
  2069. if INSTANT == false then
  2070. Intro()
  2071. else
  2072. FINISHEDINTRO = true
  2073. Face()
  2074. RightWing()
  2075. LeftWing()
  2076. end
  2077. end
  2078. if Head:FindFirstChild("face") then
  2079. Head.face:remove()
  2080. end
  2081. refit()
  2082. Humanoid.PlatformStand = false
  2083. end
Add Comment
Please, Sign In to add comment