Advertisement
Penien23

False God

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