Advertisement
Axelpuff

God guy FE

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