Advertisement
PiterMosskva_TV

hotttt

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