Advertisement
yeetusFE

a god FE

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