Advertisement
Christoffer07700Extr

Fasle God FE

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