Advertisement
NikaForever

False God (FE)

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