Advertisement
Okkkkk

FE broken script xD

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