Advertisement
JacksoMykalJunior

ERROR BANISHER [FE] ~ [UNFE]

Mar 2nd, 2019
1,049
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 139.11 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87.  
  88.  
  89. local Player = game:GetService("Players").Goldenknight577 --<=== Replace With Your Name
  90.  
  91.  
  92. local Mouse,mouse,UserInputService,ContextActionService
  93. do
  94. script.Parent = Player.Character
  95. local CAS = {Actions={}}
  96. local Event = Instance.new("RemoteEvent")
  97. Event.Name = "UserInput_Event"
  98. Event.Parent = Player.Character
  99. local fakeEvent = function()
  100. local t = {_fakeEvent=true}
  101. t.Connect = function(self,f)self.Function=f end
  102. t.connect = t.Connect
  103. return t
  104. end
  105. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  106. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  107. function CAS:BindAction(name,fun,touch,...)
  108. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  109. end
  110. function CAS:UnbindAction(name)
  111. CAS.Actions[name] = nil
  112. end
  113. local function te(self,ev,...)
  114. local t = m[ev]
  115. if t and t._fakeEvent and t.Function then
  116. t.Function(...)
  117. end
  118. end
  119. m.TrigEvent = te
  120. UIS.TrigEvent = te
  121. Event.OnServerEvent:Connect(function(plr,io)
  122. if plr~=Player then return end
  123. if io.isMouse then
  124. m.Target = io.Target
  125. m.Hit = io.Hit
  126. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  127. if io.UserInputState == Enum.UserInputState.Begin then
  128. m:TrigEvent("Button1Down")
  129. else
  130. m:TrigEvent("Button1Up")
  131. end
  132. else
  133. for n,t in pairs(CAS.Actions) do
  134. for _,k in pairs(t.Keys) do
  135. if k==io.KeyCode then
  136. t.Function(t.Name,io.UserInputState,io)
  137. end
  138. end
  139. end
  140. if io.UserInputState == Enum.UserInputState.Begin then
  141. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  142. UIS:TrigEvent("InputBegan",io,false)
  143. else
  144. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  145. UIS:TrigEvent("InputEnded",io,false)
  146. end
  147. end
  148. end)
  149. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  150. end
  151.  
  152. ---------Replace All "Goldenknight577" With Your Name.
  153. --Remove "Mouse =" or "local mouse =" at the start.
  154. --Replace Kermat161 At The Top Of The Script With You Name.
  155. -----------------------------Script In The Line's.
  156.  
  157.  
  158. script.Name = "Banisher Gun V3 / 1"
  159. --//====================================================\\--
  160. --|| CREATED BY SHACKLUSTER
  161. --\\====================================================//--
  162.  
  163. script:ClearAllChildren()
  164. wait(0.2)
  165.  
  166. Player = game:GetService("Players").Red_Jack142
  167. PlayerGui = Player.PlayerGui
  168. Cam = workspace.CurrentCamera
  169. Backpack = Player.Backpack
  170. Character = Player.Character
  171. Humanoid = Character.Humanoid
  172. RootPart = Character["HumanoidRootPart"]
  173. Torso = Character["Torso"]
  174. Head = Character["Head"]
  175. RightArm = Character["Right Arm"]
  176. LeftArm = Character["Left Arm"]
  177. RightLeg = Character["Right Leg"]
  178. LeftLeg = Character["Left Leg"]
  179. RootJoint = RootPart["RootJoint"]
  180. Neck = Torso["Neck"]
  181. RightShoulder = Torso["Right Shoulder"]
  182. LeftShoulder = Torso["Left Shoulder"]
  183. RightHip = Torso["Right Hip"]
  184. LeftHip = Torso["Left Hip"]
  185. local TIME = 0
  186. local sick = Instance.new("Sound",Torso)
  187.  
  188. IT = Instance.new
  189. CF = CFrame.new
  190. VT = Vector3.new
  191. RAD = math.rad
  192. C3 = Color3.new
  193. UD2 = UDim2.new
  194. BRICKC = BrickColor.new
  195. ANGLES = CFrame.Angles
  196. EULER = CFrame.fromEulerAnglesXYZ
  197. COS = math.cos
  198. ACOS = math.acos
  199. SIN = math.sin
  200. ASIN = math.asin
  201. ABS = math.abs
  202. MRANDOM = math.random
  203. FLOOR = math.floor
  204.  
  205. --//=================================\\
  206. --|| USEFUL VALUES
  207. --\\=================================//
  208.  
  209. Animation_Speed = 3
  210. local FORCERESET = false
  211. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  212. local Speed = 21
  213. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  214. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  215. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  216. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  217. local DAMAGEMULTIPLIER = 1
  218. local ANIM = "Idle"
  219. local ATTACK = false
  220. local LEFTWINGS = {}
  221. local RIGHTWINGS = {}
  222. local WHITELIST = {}
  223. local EQUIPPED = false
  224. local HOLD = false
  225. local COMBO = 1
  226. local Rooted = false
  227. local SINE = 0
  228. local KEYHOLD = false
  229. local CHANGE = 2 / Animation_Speed
  230. local WALKINGANIM = false
  231. local VALUE1 = false
  232. local VALUE2 = false
  233. local ROBLOXIDLEANIMATION = IT("Animation")
  234. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  235. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  236. --ROBLOXIDLEANIMATION.Parent = Humanoid
  237. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  238. WEAPONGUI.Name = "BanishV3Gui"
  239. local Weapon = IT("Model")
  240. Weapon.Name = "Adds"
  241. local Effects = IT("Folder", Weapon)
  242. Effects.Name = "Effects"
  243. local ANIMATOR = Humanoid.Animator
  244. local ANIMATE = Character:FindFirstChild("Animate")
  245. local UNANCHOR = true
  246. local TOBANISH = {}
  247. script.Parent = PlayerGui
  248.  
  249. --//=================================\\
  250. --\\=================================//
  251.  
  252.  
  253. --//=================================\\
  254. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  255. --\\=================================//
  256.  
  257. ArtificialHB = Instance.new("BindableEvent", script)
  258. ArtificialHB.Name = "ArtificialHB"
  259.  
  260. script:WaitForChild("ArtificialHB")
  261.  
  262. frame = Frame_Speed
  263. tf = 0
  264. allowframeloss = false
  265. tossremainder = false
  266. lastframe = tick()
  267. script.ArtificialHB:Fire()
  268.  
  269. game:GetService("RunService").Heartbeat:connect(function(s, p)
  270. tf = tf + s
  271. if tf >= frame then
  272. if allowframeloss then
  273. script.ArtificialHB:Fire()
  274. lastframe = tick()
  275. else
  276. for i = 1, math.floor(tf / frame) do
  277. script.ArtificialHB:Fire()
  278. end
  279. lastframe = tick()
  280. end
  281. if tossremainder then
  282. tf = 0
  283. else
  284. tf = tf - frame * math.floor(tf / frame)
  285. end
  286. end
  287. end)
  288.  
  289. --//=================================\\
  290. --\\=================================//
  291.  
  292. --//=================================\\
  293. --|| SOME FUNCTIONS
  294. --\\=================================//
  295.  
  296. local Create = LoadLibrary("RbxUtility").Create
  297.  
  298. function RemoveOutlines(part)
  299. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  300. end
  301.  
  302. CFuncs = {
  303. ["Part"] = {
  304. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  305. local Part = Create("Part"){
  306. Parent = Parent,
  307. Reflectance = Reflectance,
  308. Transparency = Transparency,
  309. CanCollide = false,
  310. Locked = true,
  311. BrickColor = BrickColor.new(tostring(BColor)),
  312. Name = Name,
  313. Size = Size,
  314. Material = Material,
  315. }
  316. RemoveOutlines(Part)
  317. return Part
  318. end;
  319. };
  320.  
  321. ["Mesh"] = {
  322. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  323. local Msh = Create(Mesh){
  324. Parent = Part,
  325. Offset = OffSet,
  326. Scale = Scale,
  327. }
  328. if Mesh == "SpecialMesh" then
  329. Msh.MeshType = MeshType
  330. Msh.MeshId = MeshId
  331. end
  332. return Msh
  333. end;
  334. };
  335.  
  336. ["Mesh"] = {
  337. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  338. local Msh = Create(Mesh){
  339. Parent = Part,
  340. Offset = OffSet,
  341. Scale = Scale,
  342. }
  343. if Mesh == "SpecialMesh" then
  344. Msh.MeshType = MeshType
  345. Msh.MeshId = MeshId
  346. end
  347. return Msh
  348. end;
  349. };
  350.  
  351. ["Weld"] = {
  352. Create = function(Parent, Part0, Part1, C0, C1)
  353. local Weld = Create("Weld"){
  354. Parent = Parent,
  355. Part0 = Part0,
  356. Part1 = Part1,
  357. C0 = C0,
  358. C1 = C1,
  359. }
  360. return Weld
  361. end;
  362. };
  363.  
  364. ["Sound"] = {
  365. Create = function(id, par, vol, pit)
  366. coroutine.resume(coroutine.create(function()
  367. local S = Create("Sound"){
  368. Volume = vol,
  369. Name = "EffectSoundo",
  370. Pitch = pit or 1,
  371. SoundId = id,
  372. Parent = par or workspace,
  373. }
  374. wait()
  375. S:play()
  376. game:GetService("Debris"):AddItem(S, 10)
  377. end))
  378. end;
  379. };
  380.  
  381. ["TimeSound"] = {
  382. Create = function(id, par, vol, pit, timepos)
  383. coroutine.resume(coroutine.create(function()
  384. local S = Create("Sound"){
  385. Volume = vol,
  386. Name = "EffectSoundo",
  387. Pitch = pit or 1,
  388. SoundId = id,
  389. TimePosition = timepos,
  390. Parent = par or workspace,
  391. }
  392. wait()
  393. S:play()
  394. game:GetService("Debris"):AddItem(S, 10)
  395. end))
  396. end;
  397. };
  398. ["EchoSound"] = {
  399. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  400. coroutine.resume(coroutine.create(function()
  401. local Sas = Create("Sound"){
  402. Volume = vol,
  403. Name = "EffectSoundo",
  404. Pitch = pit or 1,
  405. SoundId = id,
  406. TimePosition = timepos,
  407. Parent = par or workspace,
  408. }
  409. local E = Create("EchoSoundEffect"){
  410. Delay = echodelay,
  411. Name = "Echo",
  412. Feedback = fedb,
  413. DryLevel = dryl,
  414. Parent = Sas,
  415. }
  416. wait()
  417. Sas:play()
  418. game:GetService("Debris"):AddItem(Sas, delays)
  419. end))
  420. end;
  421. };
  422.  
  423. ["LongSound"] = {
  424. Create = function(id, par, vol, pit)
  425. coroutine.resume(coroutine.create(function()
  426. local S = Create("Sound"){
  427. Volume = vol,
  428. Pitch = pit or 1,
  429. SoundId = id,
  430. Parent = par or workspace,
  431. }
  432. wait()
  433. S:play()
  434. game:GetService("Debris"):AddItem(S, 60)
  435. end))
  436. end;
  437. };
  438.  
  439. ["ParticleEmitter"] = {
  440. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  441. local fp = Create("ParticleEmitter"){
  442. Parent = Parent,
  443. Color = ColorSequence.new(Color1, Color2),
  444. LightEmission = LightEmission,
  445. Size = Size,
  446. Texture = Texture,
  447. Transparency = Transparency,
  448. ZOffset = ZOffset,
  449. Acceleration = Accel,
  450. Drag = Drag,
  451. LockedToPart = LockedToPart,
  452. VelocityInheritance = VelocityInheritance,
  453. EmissionDirection = EmissionDirection,
  454. Enabled = Enabled,
  455. Lifetime = LifeTime,
  456. Rate = Rate,
  457. Rotation = Rotation,
  458. RotSpeed = RotSpeed,
  459. Speed = Speed,
  460. VelocitySpread = VelocitySpread,
  461. }
  462. return fp
  463. end;
  464. };
  465.  
  466. CreateTemplate = {
  467.  
  468. };
  469. }
  470.  
  471. local EyeSizes={
  472. NumberSequenceKeypoint.new(0,2,0),
  473. NumberSequenceKeypoint.new(1,0,0)
  474. }
  475. local EyeTrans={
  476. NumberSequenceKeypoint.new(0,0.5,0),
  477. NumberSequenceKeypoint.new(1,1,0)
  478. }
  479. local PE=Instance.new("ParticleEmitter",nil)
  480. PE.LightEmission=.8
  481. PE.Color = ColorSequence.new(BRICKC("Crimson").Color,BRICKC("Really red").Color)
  482. PE.Size=NumberSequence.new(EyeSizes)
  483. PE.Transparency=NumberSequence.new(EyeTrans)
  484. PE.Lifetime=NumberRange.new(0.35,1)
  485. PE.Rotation=NumberRange.new(0,360)
  486. PE.Rate=100
  487. PE.VelocitySpread = 10000
  488. PE.Acceleration = Vector3.new(0,85,0)
  489. PE.Drag = 5
  490. PE.Speed = NumberRange.new(0.1,5)
  491. PE.Texture="http://www.roblox.com/asset/?id=1460745664"
  492. PE.ZOffset = 0.5
  493. PE.Name = "PE"
  494. PE.Enabled = false
  495.  
  496. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  497. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  498. end
  499.  
  500. function PositiveAngle(NUMBER)
  501. if NUMBER >= 0 then
  502. NUMBER = 0
  503. end
  504. return NUMBER
  505. end
  506.  
  507. function NegativeAngle(NUMBER)
  508. if NUMBER <= 0 then
  509. NUMBER = 0
  510. end
  511. return NUMBER
  512. end
  513.  
  514. function Swait(NUMBER)
  515. if NUMBER == 0 or NUMBER == nil then
  516. ArtificialHB.Event:wait()
  517. else
  518. for i = 1, NUMBER do
  519. ArtificialHB.Event:wait()
  520. end
  521. end
  522. end
  523.  
  524. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  525. local NEWMESH = IT(MESH)
  526. if MESH == "SpecialMesh" then
  527. NEWMESH.MeshType = MESHTYPE
  528. if MESHID ~= "nil" and MESHID ~= "" then
  529. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  530. end
  531. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  532. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  533. end
  534. end
  535. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  536. NEWMESH.Scale = SCALE
  537. NEWMESH.Parent = PARENT
  538. return NEWMESH
  539. end
  540.  
  541. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  542. local NEWPART = IT("Part")
  543. NEWPART.formFactor = FORMFACTOR
  544. NEWPART.Reflectance = REFLECTANCE
  545. NEWPART.Transparency = TRANSPARENCY
  546. NEWPART.CanCollide = false
  547. NEWPART.Locked = true
  548. NEWPART.Anchored = true
  549. if ANCHOR == false then
  550. NEWPART.Anchored = false
  551. end
  552. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  553. NEWPART.Name = NAME
  554. NEWPART.Size = SIZE
  555. NEWPART.Position = Torso.Position
  556. NEWPART.Material = MATERIAL
  557. NEWPART:BreakJoints()
  558. NEWPART.Parent = PARENT
  559. return NEWPART
  560. end
  561.  
  562. local function weldBetween(a, b)
  563. local weldd = Instance.new("ManualWeld")
  564. weldd.Part0 = a
  565. weldd.Part1 = b
  566. weldd.C0 = CFrame.new()
  567. weldd.C1 = b.CFrame:inverse() * a.CFrame
  568. weldd.Parent = a
  569. return weldd
  570. end
  571.  
  572.  
  573. function QuaternionFromCFrame(cf)
  574. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  575. local trace = m00 + m11 + m22
  576. if trace > 0 then
  577. local s = math.sqrt(1 + trace)
  578. local recip = 0.5 / s
  579. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  580. else
  581. local i = 0
  582. if m11 > m00 then
  583. i = 1
  584. end
  585. if m22 > (i == 0 and m00 or m11) then
  586. i = 2
  587. end
  588. if i == 0 then
  589. local s = math.sqrt(m00 - m11 - m22 + 1)
  590. local recip = 0.5 / s
  591. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  592. elseif i == 1 then
  593. local s = math.sqrt(m11 - m22 - m00 + 1)
  594. local recip = 0.5 / s
  595. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  596. elseif i == 2 then
  597. local s = math.sqrt(m22 - m00 - m11 + 1)
  598. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  599. end
  600. end
  601. end
  602.  
  603. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  604. local xs, ys, zs = x + x, y + y, z + z
  605. local wx, wy, wz = w * xs, w * ys, w * zs
  606. local xx = x * xs
  607. local xy = x * ys
  608. local xz = x * zs
  609. local yy = y * ys
  610. local yz = y * zs
  611. local zz = z * zs
  612. 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))
  613. end
  614.  
  615. function QuaternionSlerp(a, b, t)
  616. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  617. local startInterp, finishInterp;
  618. if cosTheta >= 0.0001 then
  619. if (1 - cosTheta) > 0.0001 then
  620. local theta = ACOS(cosTheta)
  621. local invSinTheta = 1 / SIN(theta)
  622. startInterp = SIN((1 - t) * theta) * invSinTheta
  623. finishInterp = SIN(t * theta) * invSinTheta
  624. else
  625. startInterp = 1 - t
  626. finishInterp = t
  627. end
  628. else
  629. if (1 + cosTheta) > 0.0001 then
  630. local theta = ACOS(-cosTheta)
  631. local invSinTheta = 1 / SIN(theta)
  632. startInterp = SIN((t - 1) * theta) * invSinTheta
  633. finishInterp = SIN(t * theta) * invSinTheta
  634. else
  635. startInterp = t - 1
  636. finishInterp = t
  637. end
  638. end
  639. 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
  640. end
  641.  
  642. function Clerp(a, b, t)
  643. local qa = {QuaternionFromCFrame(a)}
  644. local qb = {QuaternionFromCFrame(b)}
  645. local ax, ay, az = a.x, a.y, a.z
  646. local bx, by, bz = b.x, b.y, b.z
  647. local _t = 1 - t
  648. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  649. end
  650.  
  651. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  652. local frame = IT("Frame")
  653. frame.BackgroundTransparency = TRANSPARENCY
  654. frame.BorderSizePixel = BORDERSIZEPIXEL
  655. frame.Position = POSITION
  656. frame.Size = SIZE
  657. frame.BackgroundColor3 = COLOR
  658. frame.BorderColor3 = BORDERCOLOR
  659. frame.Name = NAME
  660. frame.Parent = PARENT
  661. return frame
  662. end
  663.  
  664. function Fire(art)
  665. local PARTICLES = PE:Clone()
  666. PARTICLES.Parent = art
  667. PARTICLES.Enabled = true
  668. return PARTICLES
  669. end
  670.  
  671. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  672. local label = IT("TextLabel")
  673. label.BackgroundTransparency = 1
  674. label.Size = UD2(1, 0, 1, 0)
  675. label.Position = UD2(0, 0, 0, 0)
  676. label.TextColor3 = TEXTCOLOR
  677. label.TextStrokeTransparency = STROKETRANSPARENCY
  678. label.TextTransparency = TRANSPARENCY
  679. label.FontSize = TEXTFONTSIZE
  680. label.Font = TEXTFONT
  681. label.BorderSizePixel = BORDERSIZEPIXEL
  682. label.TextScaled = false
  683. label.Text = TEXT
  684. label.Name = NAME
  685. label.Parent = PARENT
  686. return label
  687. end
  688.  
  689. function NoOutlines(PART)
  690. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  691. end
  692.  
  693. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  694. local NEWWELD = IT(TYPE)
  695. NEWWELD.Part0 = PART0
  696. NEWWELD.Part1 = PART1
  697. NEWWELD.C0 = C0
  698. NEWWELD.C1 = C1
  699. NEWWELD.Parent = PARENT
  700. return NEWWELD
  701. end
  702.  
  703. local S = IT("Sound")
  704. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  705. local NEWSOUND = nil
  706. coroutine.resume(coroutine.create(function()
  707. NEWSOUND = S:Clone()
  708. NEWSOUND.Parent = PARENT
  709. NEWSOUND.Volume = VOLUME
  710. NEWSOUND.Pitch = PITCH
  711. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  712. NEWSOUND:play()
  713. if DOESLOOP == true then
  714. NEWSOUND.Looped = true
  715. else
  716. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  717. NEWSOUND:remove()
  718. end
  719. end))
  720. return NEWSOUND
  721. end
  722.  
  723. function CFrameFromTopBack(at, top, back)
  724. local right = top:Cross(back)
  725. 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)
  726. end
  727.  
  728. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  729. local p = Instance.new("Part")
  730. p.TopSurface = 0
  731. p.BottomSurface = 0
  732. p.Parent = parent
  733. p.Size = Vector3.new(0.1,0.1,0.1)
  734. p.Transparency = transparency
  735. p.Reflectance = reflectance
  736. p.CanCollide = false
  737. p.Locked = true
  738. p.BrickColor = brickcolor
  739. p.Material = material
  740. return p
  741. end
  742.  
  743. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  744. function WACKYEFFECT(Table)
  745. local TYPE = (Table.EffectType or "Sphere")
  746. local SIZE = (Table.Size or VT(1,1,1))
  747. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  748. local TRANSPARENCY = (Table.Transparency or 0)
  749. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  750. local CFRAME = (Table.CFrame or Torso.CFrame)
  751. local MOVEDIRECTION = (Table.MoveToPos or nil)
  752. local ROTATION1 = (Table.RotationX or 0)
  753. local ROTATION2 = (Table.RotationY or 0)
  754. local ROTATION3 = (Table.RotationZ or 0)
  755. local MATERIAL = (Table.Material or "Neon")
  756. local COLOR = (Table.Color or C3(1,1,1))
  757. local TIME = (Table.Time or 45)
  758. local SOUNDID = (Table.SoundID or nil)
  759. local SOUNDPITCH = (Table.SoundPitch or nil)
  760. local SOUNDVOLUME = (Table.SoundVolume or nil)
  761. coroutine.resume(coroutine.create(function()
  762. local PLAYSSOUND = false
  763. local SOUND = nil
  764. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  765. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  766. PLAYSSOUND = true
  767. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  768. end
  769. EFFECT.Color = COLOR
  770. local MSH = nil
  771. if TYPE == "Sphere" then
  772. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  773. elseif TYPE == "Block" then
  774. MSH = IT("BlockMesh",EFFECT)
  775. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  776. elseif TYPE == "Wave" then
  777. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  778. elseif TYPE == "Ring" then
  779. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  780. elseif TYPE == "Slash" then
  781. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  782. elseif TYPE == "Round Slash" then
  783. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  784. elseif TYPE == "Swirl" then
  785. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  786. elseif TYPE == "Skull" then
  787. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  788. elseif TYPE == "Crystal" then
  789. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  790. end
  791. if MSH ~= nil then
  792. local MOVESPEED = nil
  793. if MOVEDIRECTION ~= nil then
  794. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  795. end
  796. local GROWTH = SIZE - ENDSIZE
  797. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  798. if TYPE == "Block" then
  799. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  800. else
  801. EFFECT.CFrame = CFRAME
  802. end
  803. for LOOP = 1, TIME+1 do
  804. Swait()
  805. MSH.Scale = MSH.Scale - GROWTH/TIME
  806. if TYPE == "Wave" then
  807. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  808. end
  809. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  810. if TYPE == "Block" then
  811. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  812. else
  813. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  814. end
  815. if MOVEDIRECTION ~= nil then
  816. local ORI = EFFECT.Orientation
  817. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  818. EFFECT.Orientation = ORI
  819. end
  820. end
  821. if PLAYSSOUND == false then
  822. EFFECT:remove()
  823. else
  824. SOUND.Stopped:Connect(function()
  825. EFFECT:remove()
  826. end)
  827. end
  828. else
  829. if PLAYSSOUND == false then
  830. EFFECT:remove()
  831. else
  832. repeat Swait() until SOUND.Playing == false
  833. EFFECT:remove()
  834. end
  835. end
  836. end))
  837. end
  838.  
  839. function MakeForm(PART,TYPE)
  840. if TYPE == "Cyl" then
  841. local MSH = IT("CylinderMesh",PART)
  842. elseif TYPE == "Ball" then
  843. local MSH = IT("SpecialMesh",PART)
  844. MSH.MeshType = "Sphere"
  845. elseif TYPE == "Wedge" then
  846. local MSH = IT("SpecialMesh",PART)
  847. MSH.MeshType = "Wedge"
  848. end
  849. end
  850.  
  851. function SpawnTrail(FROM,TO,BIG)
  852. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Lime green", "Trail", VT(0,0,0))
  853. MakeForm(TRAIL,"Cyl")
  854. local DIST = (FROM - TO).Magnitude
  855. if BIG == true then
  856. TRAIL.Size = VT(0.5,DIST,0.5)
  857. else
  858. TRAIL.Size = VT(0.25,DIST,0.25)
  859. end
  860. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  861. coroutine.resume(coroutine.create(function()
  862. for i = 1, 5 do
  863. Swait()
  864. TRAIL.Transparency = TRAIL.Transparency + 0.1
  865. end
  866. TRAIL:remove()
  867. end))
  868. end
  869.  
  870. Debris = game:GetService("Debris")
  871.  
  872. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  873. local DIRECTION = CF(StartPos,EndPos).lookVector
  874. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  875. end
  876.  
  877. function turnto(position)
  878. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  879. end
  880.  
  881. function sphere(bonuspeed,type,pos,scale,value,color)
  882. local type = type
  883. local rng = Instance.new("Part", Character)
  884. rng.Anchored = true
  885. if ModeOfGlitch ~= 9 then
  886. rng.BrickColor = color
  887. elseif ModeOfGlitch == 9 then
  888. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  889. end
  890. rng.CanCollide = false
  891. rng.FormFactor = 3
  892. rng.Name = "Ring"
  893. rng.Material = "Neon"
  894. rng.Size = Vector3.new(1, 1, 1)
  895. rng.Transparency = 0
  896. rng.TopSurface = 0
  897. rng.BottomSurface = 0
  898. rng.CFrame = pos
  899. local rngm = Instance.new("SpecialMesh", rng)
  900. rngm.MeshType = "Sphere"
  901. rngm.Scale = scale
  902. if rainbowmode == true then
  903. rng.Color = Color3.new(r/255,g/255,b/255)
  904. end
  905. if ModeOfGlitch == 9 then
  906. coroutine.resume(coroutine.create(function()
  907. while true do
  908. Swait()
  909. if rng.Parent ~= nil then
  910. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  911. else
  912. break
  913. end
  914. end
  915. end))
  916. end
  917. local scaler2 = 1
  918. if type == "Add" then
  919. scaler2 = 1*value
  920. elseif type == "Divide" then
  921. scaler2 = 1/value
  922. end
  923. coroutine.resume(coroutine.create(function()
  924. for i = 0,10/bonuspeed,0.1 do
  925. Swait()
  926. if rainbowmode == true then
  927. rng.Color = Color3.new(r/255,g/255,b/255)
  928. end
  929. if type == "Add" then
  930. scaler2 = scaler2 - 0.01*value/bonuspeed
  931. elseif type == "Divide" then
  932. scaler2 = scaler2 - 0.01/value*bonuspeed
  933. end
  934. if chaosmode == true then
  935. rng.BrickColor = BrickColor.random()
  936. end
  937. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  938. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  939. end
  940. rng:Destroy()
  941. end))
  942. end
  943.  
  944. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  945. local type = type
  946. local rng = Instance.new("Part", Character)
  947. rng.Anchored = true
  948. if ModeOfGlitch ~= 9 then
  949. rng.BrickColor = color
  950. elseif ModeOfGlitch == 9 then
  951. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  952. end
  953. rng.CanCollide = false
  954. rng.FormFactor = 3
  955. rng.Name = "Ring"
  956. rng.Material = "Neon"
  957. rng.Size = Vector3.new(1, 1, 1)
  958. rng.Transparency = 0
  959. rng.TopSurface = 0
  960. rng.BottomSurface = 0
  961. rng.CFrame = pos
  962. local rngm = Instance.new("SpecialMesh", rng)
  963. rngm.MeshType = "Sphere"
  964. rngm.Scale = scale
  965. local scaler2 = 1
  966. local scaler2b = 1
  967. local scaler2c = 1
  968. if type == "Add" then
  969. scaler2 = 1*value
  970. scaler2b = 1*value2
  971. scaler2c = 1*value3
  972. elseif type == "Divide" then
  973. scaler2 = 1/value
  974. scaler2b = 1/value2
  975. scaler2c = 1/value3
  976. end
  977. if ModeOfGlitch == 9 then
  978. coroutine.resume(coroutine.create(function()
  979. while true do
  980. Swait()
  981. if rng.Parent ~= nil then
  982. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  983. else
  984. break
  985. end
  986. end
  987. end))
  988. end
  989. coroutine.resume(coroutine.create(function()
  990. for i = 0,10/bonuspeed,0.1 do
  991. Swait()
  992. if type == "Add" then
  993. scaler2 = scaler2 - 0.01*value/bonuspeed
  994. scaler2b = scaler2b - 0.01*value/bonuspeed
  995. scaler2c = scaler2c - 0.01*value/bonuspeed
  996. elseif type == "Divide" then
  997. scaler2 = scaler2 - 0.01/value*bonuspeed
  998. scaler2b = scaler2b - 0.01/value*bonuspeed
  999. scaler2c = scaler2c - 0.01/value*bonuspeed
  1000. end
  1001. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1002. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  1003. end
  1004. rng:Destroy()
  1005. end))
  1006. end
  1007.  
  1008. function CreateMesh2(parent,meshtype,x1,y1,z1)
  1009. local mesh = Instance.new("SpecialMesh",parent)
  1010. mesh.MeshType = meshtype
  1011. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  1012. return mesh
  1013. end
  1014.  
  1015. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  1016. local type = type
  1017. local rng = Instance.new("Part", Character)
  1018. rng.Anchored = true
  1019. if ModeOfGlitch ~= 9 then
  1020. rng.BrickColor = color
  1021. elseif ModeOfGlitch == 9 then
  1022. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1023. end
  1024. rng.CanCollide = false
  1025. rng.FormFactor = 3
  1026. rng.Name = "Ring"
  1027. rng.Material = "Neon"
  1028. rng.Size = Vector3.new(1, 1, 1)
  1029. rng.Transparency = 0
  1030. rng.TopSurface = 0
  1031. rng.BottomSurface = 0
  1032. rng.CFrame = pos
  1033. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  1034. local rngm = Instance.new("SpecialMesh", rng)
  1035. rngm.MeshType = "Sphere"
  1036. rngm.Scale = VT(x1,y1,z1)
  1037. if rainbowmode == true then
  1038. rng.Color = Color3.new(r/255,g/255,b/255)
  1039. end
  1040. if ModeOfGlitch == 9 then
  1041. coroutine.resume(coroutine.create(function()
  1042. while true do
  1043. Swait()
  1044. if rng.Parent ~= nil then
  1045. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1046. else
  1047. break
  1048. end
  1049. end
  1050. end))
  1051. end
  1052. local scaler2 = 1
  1053. local speeder = FastSpeed
  1054. if type == "Add" then
  1055. scaler2 = 1*value
  1056. elseif type == "Divide" then
  1057. scaler2 = 1/value
  1058. end
  1059. coroutine.resume(coroutine.create(function()
  1060. for i = 0,10/bonuspeed,0.1 do
  1061. Swait()
  1062. if rainbowmode == true then
  1063. rng.Color = Color3.new(r/255,g/255,b/255)
  1064. end
  1065. if type == "Add" then
  1066. scaler2 = scaler2 - 0.01*value/bonuspeed
  1067. elseif type == "Divide" then
  1068. scaler2 = scaler2 - 0.01/value*bonuspeed
  1069. end
  1070. if chaosmode == true then
  1071. rng.BrickColor = BrickColor.random()
  1072. end
  1073. speeder = speeder - 0.01*FastSpeed*bonuspeed
  1074. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  1075. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1076. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  1077. end
  1078. rng:Destroy()
  1079. end))
  1080. end
  1081.  
  1082. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  1083. local type = type
  1084. local rng = Instance.new("Part", char)
  1085. rng.Anchored = true
  1086. if ModeOfGlitch ~= 9 then
  1087. rng.BrickColor = color
  1088. elseif ModeOfGlitch == 9 then
  1089. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1090. end
  1091. rng.CanCollide = false
  1092. rng.FormFactor = 3
  1093. rng.Name = "Ring"
  1094. rng.Material = "Neon"
  1095. rng.Size = Vector3.new(1, 1, 1)
  1096. rng.Transparency = 1
  1097. rng.TopSurface = 0
  1098. rng.BottomSurface = 0
  1099. rng.CFrame = pos
  1100. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  1101. local rngm = Instance.new("SpecialMesh", rng)
  1102. rngm.MeshType = "Sphere"
  1103. rngm.Scale = vt(x1,y1,z1)
  1104. if rainbowmode == true then
  1105. rng.Color = Color3.new(r/255,g/255,b/255)
  1106. end
  1107. if ModeOfGlitch == 9 then
  1108. coroutine.resume(coroutine.create(function()
  1109. while true do
  1110. swait()
  1111. if rng.Parent ~= nil then
  1112. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1113. else
  1114. break
  1115. end
  1116. end
  1117. end))
  1118. end
  1119. local scaler2 = 1
  1120. local speeder = FastSpeed
  1121. if type == "Add" then
  1122. scaler2 = 1*value
  1123. elseif type == "Divide" then
  1124. scaler2 = 1/value
  1125. end
  1126. coroutine.resume(coroutine.create(function()
  1127. for i = 0,10/bonuspeed,0.1 do
  1128. swait()
  1129. if rainbowmode == true then
  1130. rng.Color = Color3.new(r/255,g/255,b/255)
  1131. end
  1132. if type == "Add" then
  1133. scaler2 = scaler2 - 0.01*value/bonuspeed
  1134. elseif type == "Divide" then
  1135. scaler2 = scaler2 - 0.01/value*bonuspeed
  1136. end
  1137. if chaosmode == true then
  1138. rng.BrickColor = BrickColor.random()
  1139. end
  1140. speeder = speeder - 0.01*FastSpeed*bonuspeed
  1141. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  1142. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  1143. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  1144. end
  1145. rng:Destroy()
  1146. end))
  1147. end
  1148.  
  1149. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  1150. local type = type
  1151. local rotenable = rotatingop
  1152. local rng = Instance.new("Part", Character)
  1153. rng.Anchored = true
  1154. rng.BrickColor = color
  1155. rng.CanCollide = false
  1156. rng.FormFactor = 3
  1157. rng.Name = "Ring"
  1158. rng.Material = "Neon"
  1159. rng.Size = Vector3.new(1, 1, 1)
  1160. rng.Transparency = 0
  1161. if typeoftrans == "In" then
  1162. rng.Transparency = 1
  1163. end
  1164. rng.TopSurface = 0
  1165. rng.BottomSurface = 0
  1166. rng.CFrame = pos
  1167. local rngm = Instance.new("SpecialMesh", rng)
  1168. rngm.MeshType = "FileMesh"
  1169. if typeofshape == "Normal" then
  1170. rngm.MeshId = "rbxassetid://662586858"
  1171. elseif typeofshape == "Round" then
  1172. rngm.MeshId = "rbxassetid://662585058"
  1173. end
  1174. rngm.Scale = scale
  1175. local scaler2 = 1/10
  1176. if type == "Add" then
  1177. scaler2 = 1*value/10
  1178. elseif type == "Divide" then
  1179. scaler2 = 1/value/10
  1180. end
  1181. local randomrot = math.random(1,2)
  1182. coroutine.resume(coroutine.create(function()
  1183. for i = 0,10/bonuspeed,0.1 do
  1184. Swait()
  1185. if type == "Add" then
  1186. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  1187. elseif type == "Divide" then
  1188. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  1189. end
  1190. if rotenable == true then
  1191. if randomrot == 1 then
  1192. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  1193. elseif randomrot == 2 then
  1194. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  1195. end
  1196. end
  1197. if typeoftrans == "Out" then
  1198. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1199. elseif typeoftrans == "In" then
  1200. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  1201. end
  1202. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  1203. end
  1204. rng:Destroy()
  1205. end))
  1206. end
  1207.  
  1208. --//=================================\\
  1209. --|| WEAPON CREATION
  1210. --\\=================================//
  1211.  
  1212.  
  1213. local Back = CreatePart(3, Character, "Granite", 0, 0, "Really black", "Wing", VT(1,1,0.35),false)
  1214. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Back, CF(0, 0.5, 1.2) * ANGLES(RAD(0),RAD(0),RAD(45)), CF(0, 0, 0))
  1215.  
  1216. local ANGLE = 35
  1217. for i = 1, 5 do
  1218. local Wing = CreatePart(3, Character, "Neon", 0, 0, "Lime green", "Wing", VT(0.15,2+(i/2),0.15),false)
  1219. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
  1220. local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "Lime green", "Wing", VT(0.25,1,0.25),false)
  1221. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
  1222. ANGLE = ANGLE - 15
  1223. table.insert(LEFTWINGS,WingWeld)
  1224. end
  1225. ANGLE = 35
  1226. for i = 1, 5 do
  1227. local Wing = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Wing", VT(0.15,2+(i/2),0.15),false)
  1228. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
  1229. local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Wing", VT(0.25,1,0.25),false)
  1230. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
  1231. ANGLE = ANGLE - 15
  1232. table.insert(RIGHTWINGS,WingWeld)
  1233. end
  1234.  
  1235. local LASTPART = Head
  1236. for i = 1, 20 do
  1237. local MATH = (1-(i/25))
  1238. if LASTPART == Head then
  1239. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1240. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  1241. LASTPART = Horn
  1242. Horn.Color = C3(0,1,0)
  1243. else
  1244. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1245. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  1246. LASTPART = Horn
  1247. Horn.Color = C3(0,1,0)
  1248. end
  1249. end
  1250. local LASTPART = Head
  1251. for i = 1, 20 do
  1252. local MATH = (1-(i/25))
  1253. if LASTPART == Head then
  1254. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1255. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  1256. LASTPART = Horn
  1257. Horn.Color = C3(0,1,0)
  1258. else
  1259. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1260. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
  1261. LASTPART = Horn
  1262. Horn.Color = C3(0,1,0)
  1263. end
  1264. end
  1265.  
  1266. local naeeym2 = Instance.new("BillboardGui",Character)
  1267. naeeym2.AlwaysOnTop = true
  1268. naeeym2.Size = UDim2.new(5,35,2,35)
  1269. naeeym2.StudsOffset = Vector3.new(0,1,0)
  1270. naeeym2.Adornee = Character.Head
  1271. naeeym2.Name = "Name"
  1272. local tecks2 = Instance.new("TextLabel",naeeym2)
  1273. tecks2.BackgroundTransparency = 1
  1274. tecks2.TextScaled = true
  1275. tecks2.BorderSizePixel = 0
  1276. tecks2.Text = "Error The Banisher"
  1277. tecks2.Font = "Cartoon"
  1278. tecks2.TextSize = 30
  1279. tecks2.TextStrokeTransparency = 0
  1280. tecks2.TextColor3 = Color3.new(0,0,0)
  1281. tecks2.TextStrokeColor3 = Color3.new(0,0.8,0)
  1282. tecks2.Size = UDim2.new(1,0,0.5,0)
  1283. tecks2.Parent = naeeym2
  1284.  
  1285. function WarnFunc(text)
  1286. local chat = coroutine.wrap(function()
  1287. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1288. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1289. end
  1290. local Bill = Instance.new("BillboardGui",Character)
  1291. Bill.Size = UDim2.new(0,100,0,40)
  1292. Bill.StudsOffset = Vector3.new(0,35,0)
  1293. Bill.Adornee = Character.Head
  1294. Bill.Name = "TalkingBillBoard"
  1295. local Hehe = Instance.new("TextLabel",Bill)
  1296. Hehe.BackgroundTransparency = 1
  1297. Hehe.BorderSizePixel = 0
  1298. Hehe.Text = ""
  1299. Hehe.Font = "Antique"
  1300. Hehe.TextSize = 120
  1301. Hehe.TextStrokeTransparency = 0
  1302. Hehe.Size = UDim2.new(1,0,0.5,0)
  1303. coroutine.resume(coroutine.create(function()
  1304. while Hehe ~= nil do
  1305. Swait()
  1306. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1307. Hehe.Rotation = math.random(-5,5)
  1308. Hehe.TextColor3 = Color3.new(255,0,0)
  1309. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  1310. end
  1311. end))
  1312. for i = 1,string.len(text),1 do
  1313. Swait()
  1314. Hehe.Text = string.sub(text,1,i)
  1315. end
  1316. Swait(90)--Re[math.random(1, 93)]
  1317. for i = 0, 1, .025 do
  1318. Swait()
  1319. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1320. Hehe.TextStrokeTransparency = i
  1321. Hehe.TextTransparency = i
  1322. end
  1323. Bill:Destroy()
  1324. end)
  1325. chat()
  1326. end
  1327.  
  1328. function chatfunc(text)
  1329. local chat = coroutine.wrap(function()
  1330. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1331. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1332. end
  1333. local Bill = Instance.new("BillboardGui",Character)
  1334. Bill.Size = UDim2.new(0,100,0,40)
  1335. Bill.StudsOffset = Vector3.new(0,3,0)
  1336. Bill.Adornee = Character.Head
  1337. Bill.Name = "TalkingBillBoard"
  1338. local Hehe = Instance.new("TextLabel",Bill)
  1339. Hehe.BackgroundTransparency = 1
  1340. Hehe.BorderSizePixel = 0
  1341. Hehe.Text = ""
  1342. Hehe.Font = "Bodoni"
  1343. Hehe.TextSize = 40
  1344. Hehe.TextStrokeTransparency = 0
  1345. Hehe.Size = UDim2.new(1,0,0.5,0)
  1346. coroutine.resume(coroutine.create(function()
  1347. while Hehe ~= nil do
  1348. Swait()
  1349. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1350. Hehe.Rotation = math.random(-2.5,2.5)
  1351. Hehe.TextColor3 = Color3.new(MRANDOM(55,255),0,0)
  1352. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  1353. end
  1354. end))
  1355. for i = 1,string.len(text),1 do
  1356. Swait()
  1357. Hehe.Text = string.sub(text,1,i)
  1358. end
  1359. Swait(90)--Re[math.random(1, 93)]
  1360. for i = 0, 1, .025 do
  1361. Swait()
  1362. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1363. Hehe.TextStrokeTransparency = i
  1364. Hehe.TextTransparency = i
  1365. end
  1366. Bill:Destroy()
  1367. end)
  1368. chat()
  1369. end
  1370.  
  1371. function Blink()
  1372. coroutine.resume(coroutine.create(function()
  1373. if EYE ~= nil then
  1374. for i = 1, 5 do
  1375. Swait()
  1376. EYE.Mesh.Scale = EYE.Mesh.Scale - VT(0,0.2,0)
  1377. EYE2.Mesh.Scale = EYE.Mesh.Scale
  1378. end
  1379. for i = 1, 7 do
  1380. Swait()
  1381. EYE.Mesh.Scale = EYE.Mesh.Scale + VT(0,0.2,0)
  1382. EYE2.Mesh.Scale = EYE.Mesh.Scale
  1383. end
  1384. EYE.Mesh.Scale = VT(1,1,1)
  1385. EYE2.Mesh.Scale = EYE.Mesh.Scale
  1386. end
  1387. end))
  1388. end
  1389.  
  1390. for i = 1, 35 do
  1391. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
  1392. FACE.Color = C3(0,0,0)
  1393. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1394. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  1395. end
  1396. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Eyeball", VT(0.15,0.15,0.15),false)
  1397. MakeForm(EYE,"Ball")
  1398. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.26,-0.55), CF(0, 0, 0))
  1399. local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "Lime green", "Eyeball2", VT(0.15,0.15,0.15),false)
  1400. MakeForm(EYE2,"Ball")
  1401. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0))
  1402.  
  1403. shirt = Instance.new("Shirt", Character)--Cloths--
  1404. shirt.Name = "Shirt"
  1405. pants = Instance.new("Pants", Character)
  1406. pants.Name = "Pants"
  1407. Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=691135228"
  1408. Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=691102036"
  1409. local BC = Character["Body Colors"]
  1410. BC.HeadColor = BrickColor.new("Lime green")
  1411. BC.LeftArmColor = BrickColor.new("Lime green")
  1412. BC.LeftLegColor = BrickColor.new("Really black")
  1413. BC.RightArmColor = BrickColor.new("Really black")
  1414. BC.RightLegColor = BrickColor.new("Lime green")
  1415. BC.TorsoColor = BrickColor.new("Really black")
  1416.  
  1417. local Particle = IT("ParticleEmitter",nil)
  1418. Particle.Enabled = false
  1419. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1420. Particle.LightEmission = 0.5
  1421. Particle.Rate = 150
  1422. Particle.ZOffset = 0.2
  1423. Particle.Rotation = NumberRange.new(-180, 180)
  1424. Particle.RotSpeed = NumberRange.new(-180, 180)
  1425. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1426. Particle.Color = ColorSequence.new(C3(0,0.2,0),C3(0,0,0))
  1427.  
  1428. local A = IT("Attachment",Torso)
  1429. A.Position = VT(1,1.3,0)
  1430. A.Orientation = VT(-0.098, -89.999, 0.227)
  1431. local B = IT("Attachment",Torso)
  1432. B.Position = VT(-1.3,-0.6,0)
  1433. B.Orientation = VT(-88.911, -68.808, 158.782)
  1434. local ChainLink = IT("Beam",Torso)
  1435. ChainLink.Texture = "rbxassetid://73042633"
  1436. ChainLink.Color = ColorSequence.new(C3(0,0,0))
  1437. ChainLink.TextureSpeed = 1
  1438. ChainLink.FaceCamera = true
  1439. ChainLink.Width0 = 1
  1440. ChainLink.Width1 = 1
  1441. ChainLink.TextureLength = 3
  1442. ChainLink.Attachment0 = A
  1443. ChainLink.Attachment1 = B
  1444. ChainLink.CurveSize0 = 1.6
  1445. ChainLink.CurveSize1 = 1.6
  1446. ChainLink.FaceCamera = true
  1447. ChainLink.Transparency = NumberSequence.new(0)
  1448. local ChainLink = IT("Beam",Torso)
  1449. ChainLink.Texture = "rbxassetid://73042633"
  1450. ChainLink.Color = ColorSequence.new(C3(0,0,0))
  1451. ChainLink.TextureSpeed = 1
  1452. ChainLink.FaceCamera = true
  1453. ChainLink.Width0 = 1
  1454. ChainLink.Width1 = 1
  1455. ChainLink.TextureLength = 3
  1456. ChainLink.Attachment0 = B
  1457. ChainLink.Attachment1 = A
  1458. ChainLink.CurveSize0 = 1.6
  1459. ChainLink.CurveSize1 = 1.6
  1460. ChainLink.FaceCamera = true
  1461. ChainLink.Transparency = NumberSequence.new(0)
  1462. local A = IT("Attachment",Torso)
  1463. A.Position = VT(1.3,-0.85,0)
  1464. A.Orientation = VT(-0.098, -89.999, 0.227)
  1465. local B = IT("Attachment",Torso)
  1466. B.Position = VT(-1,2,0)
  1467. B.Orientation = VT(-88.911, -68.808, 158.782)
  1468. local ChainLink = IT("Beam",Torso)
  1469. ChainLink.Texture = "rbxassetid://73042633"
  1470. ChainLink.Color = ColorSequence.new(C3(0,1,0))
  1471. ChainLink.TextureSpeed = 1
  1472. ChainLink.FaceCamera = true
  1473. ChainLink.Width0 = 1
  1474. ChainLink.Width1 = 1
  1475. ChainLink.TextureLength = 3
  1476. ChainLink.Attachment0 = A
  1477. ChainLink.Attachment1 = B
  1478. ChainLink.CurveSize0 = 1.3
  1479. ChainLink.CurveSize1 = 1.3
  1480. ChainLink.FaceCamera = true
  1481. ChainLink.Transparency = NumberSequence.new(0)
  1482. local ChainLink = IT("Beam",Torso)
  1483. ChainLink.Texture = "rbxassetid://73042633"
  1484. ChainLink.Color = ColorSequence.new(C3(0,1,0))
  1485. ChainLink.TextureSpeed = 1
  1486. ChainLink.FaceCamera = true
  1487. ChainLink.Width0 = 1
  1488. ChainLink.Width1 = 1
  1489. ChainLink.TextureLength = 3
  1490. ChainLink.Attachment0 = B
  1491. ChainLink.Attachment1 = A
  1492. ChainLink.CurveSize0 = 1.3
  1493. ChainLink.CurveSize1 = 1.3
  1494. ChainLink.FaceCamera = true
  1495. ChainLink.Transparency = NumberSequence.new(0)
  1496.  
  1497. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1498. function ParticleEmitter(Table)
  1499. local PRTCL = Particle:Clone()
  1500. local Speed = Table.Speed or 5
  1501. local Drag = Table.Drag or 0
  1502. local Size1 = Table.Size1 or 1
  1503. local Size2 = Table.Size2 or 5
  1504. local Lifetime1 = Table.Lifetime1 or 1
  1505. local Lifetime2 = Table.Lifetime2 or 1.5
  1506. local Parent = Table.Parent or Torso
  1507. local Emit = Table.Emit or 100
  1508. local Offset = Table.Offset or 360
  1509. local Acel = Table.Acel or VT(0,0,0)
  1510. local Enabled = Table.Enabled or false
  1511. PRTCL.Parent = Parent
  1512. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1513. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1514. PRTCL.Speed = NumberRange.new(Speed)
  1515. PRTCL.VelocitySpread = Offset
  1516. PRTCL.Drag = Drag
  1517. PRTCL.Acceleration = Acel
  1518. if Enabled == false then
  1519. PRTCL:Emit(Emit)
  1520. Debris:AddItem(PRTCL,Lifetime2)
  1521. else
  1522. PRTCL.Enabled = true
  1523. end
  1524. return PRTCL
  1525. end
  1526.  
  1527. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1528. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1529. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1530. MakeForm(Part,"Wedge")
  1531. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1532. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1533. MakeForm(Part,"Wedge")
  1534. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1535. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1536. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1537. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1538. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1539. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1540. MakeForm(Part,"Cyl")
  1541. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1542. for i = 1, 8 do
  1543. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1544. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1545. end
  1546. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1547. MakeForm(Part,"Cyl")
  1548. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1549. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1550. MakeForm(Part,"Ball")
  1551. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1552. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1553. MakeForm(Part,"Wedge")
  1554. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1555. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1556. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1557. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1558. MakeForm(Part,"Cyl")
  1559. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1560. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1561. MakeForm(Part,"Cyl")
  1562. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1563. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1564. MakeForm(Part,"Cyl")
  1565. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1566. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1567. MakeForm(Part,"Wedge")
  1568. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1569. local LASTPART = Handle
  1570. for i = 1, 10 do
  1571. if LASTPART == Handle then
  1572. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1573. LASTPART = Part
  1574. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1575. else
  1576. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1577. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1578. LASTPART = Part
  1579. end
  1580. end
  1581.  
  1582. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1583. MakeForm(Barrel,"Cyl")
  1584. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1585. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1586. MakeForm(Part,"Cyl")
  1587. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1588. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1589. MakeForm(Part,"Wedge")
  1590. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1591. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1592. MakeForm(Hole,"Cyl")
  1593. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1594. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1595. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1596. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1597. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1598. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1599. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1600. coroutine.resume(coroutine.create(function()
  1601. while wait() do
  1602. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1603. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1604. end
  1605. end))
  1606.  
  1607. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.3, Size2 = 0, Lifetime1 = 1, Lifetime2 = 1.4, Parent = EYE2, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1608. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1609. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1610.  
  1611. for _, c in pairs(Weapon:GetDescendants()) do
  1612. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1613. c.Material = "Glass"
  1614. c.Color = C3(0,0,0)
  1615. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1616. c.Color = C3(0,0.2,0)
  1617. c.Material = "Neon"
  1618. end
  1619. end
  1620.  
  1621. Weapon.Parent = Character
  1622. for _, c in pairs(Weapon:GetChildren()) do
  1623. if c.ClassName == "Part" then
  1624. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1625. end
  1626. end
  1627.  
  1628. local SKILLTEXTCOLOR = C3(0,0.2,0)
  1629. local SKILLFONT = "Antique"
  1630. local SKILLTEXTSIZE = 7
  1631.  
  1632. Humanoid.Died:connect(function()
  1633. ATTACK = true
  1634. end)
  1635.  
  1636. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1637. --[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1638. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1639. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1640. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1641. ]]
  1642. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1643. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1644. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1645. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1646. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1647. ]]
  1648. function printbye(Name)
  1649. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  1650. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1651. end
  1652.  
  1653. workspace.ChildAdded:connect(function(instance)
  1654. for BANISH = 1, #TOBANISH do
  1655. if TOBANISH[BANISH] ~= nil then
  1656. if instance.Name == TOBANISH[BANISH] then
  1657. coroutine.resume(coroutine.create(function()
  1658. printbye(instance.Name)
  1659. instance:ClearAllChildren()
  1660. Debris:AddItem(instance,0.0005)
  1661. end))
  1662. end
  1663. end
  1664. end
  1665. end)
  1666.  
  1667. --//=================================\\
  1668. --|| DAMAGING
  1669. --\\=================================//
  1670.  
  1671. function Banish(Foe)
  1672. if Foe then
  1673. coroutine.resume(coroutine.create(function()
  1674. --if game.Players:FindFirstChild(Foe.Name) then
  1675. table.insert(TOBANISH,Foe.Name)
  1676. printbye(Foe.Name)
  1677. --end
  1678. Foe.Archivable = true
  1679. local CLONE = Foe:Clone()
  1680. Foe:Destroy()
  1681. CLONE.Parent = Effects
  1682. CLONE:BreakJoints()
  1683. local MATERIALS = {"Glass","Neon"}
  1684. for _, c in pairs(CLONE:GetDescendants()) do
  1685. if c:IsA("BasePart") then
  1686. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1687. CreateSound(340722848, c, 10, 1, false)
  1688. end
  1689. c.Anchored = true
  1690. c.Transparency = c.Transparency + 0.2
  1691. c.Material = MATERIALS[MRANDOM(1,2)]
  1692. c.Color = C3(0,0.2,0)
  1693. if c.ClassName == "MeshPart" then
  1694. c.TextureID = ""
  1695. end
  1696. if c:FindFirstChildOfClass("SpecialMesh") then
  1697. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1698. end
  1699. if c:FindFirstChildOfClass("Decal") then
  1700. c:FindFirstChildOfClass("Decal"):remove()
  1701. end
  1702. c.Name = "Banished"
  1703. c.CanCollide = false
  1704. else
  1705. c:remove()
  1706. end
  1707. end
  1708. local A = false
  1709. for i = 1, 35 do
  1710. if A == false then
  1711. A = true
  1712. elseif A == true then
  1713. A = false
  1714. end
  1715. for _, c in pairs(CLONE:GetDescendants()) do
  1716. if c:IsA("BasePart") then
  1717. c.Anchored = true
  1718. c.Material = MATERIALS[MRANDOM(1,2)]
  1719. c.Transparency = c.Transparency + 0.8/35
  1720. if A == false then
  1721. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1722. elseif A == true then
  1723. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1724. end
  1725. end
  1726. end
  1727. Swait()
  1728. end
  1729. CLONE:remove()
  1730. end))
  1731. end
  1732. end
  1733.  
  1734. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1735. local CHILDREN = workspace:GetDescendants()
  1736. for index, CHILD in pairs(CHILDREN) do
  1737. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1738. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1739. if HUM then
  1740. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1741. if TORSO then
  1742. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1743. if ISBANISH == true then
  1744. Banish(CHILD)
  1745. else
  1746. if ISBANISH == "Gravity" then
  1747. HUM.PlatformStand = true
  1748. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1749. local grav = Instance.new("BodyPosition",TORSO)
  1750. grav.D = 15
  1751. grav.P = 20000
  1752. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1753. grav.position = TORSO.Position
  1754. grav.Name = "V3BanishForce"..Player.Name
  1755. else
  1756. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1757. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1758. end
  1759. else
  1760. HUM.PlatformStand = false
  1761. end
  1762. end
  1763. elseif ISBANISH == "Gravity" then
  1764. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1765. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1766. HUM.PlatformStand = false
  1767. end
  1768. end
  1769. end
  1770. end
  1771. end
  1772. end
  1773. end
  1774.  
  1775. local EyeSizes={
  1776. NumberSequenceKeypoint.new(0,1,0),
  1777. NumberSequenceKeypoint.new(1,0,0)
  1778. }
  1779. local EyeTrans={
  1780. NumberSequenceKeypoint.new(0,0.8,0),
  1781. NumberSequenceKeypoint.new(1,1,0)
  1782. }
  1783. local PE=Instance.new("ParticleEmitter",nil)
  1784. PE.LightEmission=.8
  1785. PE.Color = ColorSequence.new(BRICKC("Dark green").Color)
  1786. PE.Size=NumberSequence.new(EyeSizes)
  1787. PE.Transparency=NumberSequence.new(EyeTrans)
  1788. PE.Lifetime=NumberRange.new(0.35,1.5)
  1789. PE.Rotation=NumberRange.new(0,360)
  1790. PE.Rate=999
  1791. PE.VelocitySpread = 10000
  1792. PE.Acceleration = Vector3.new(0,0,0)
  1793. PE.Drag = 5
  1794. PE.Speed = NumberRange.new(0,0,0)
  1795. PE.Texture="http://www.roblox.com/asset/?id=1351966707"
  1796. PE.ZOffset = -0
  1797. PE.Name = "PE"
  1798. PE.Enabled = false
  1799.  
  1800. function particles(art)
  1801. local PARTICLES = PE:Clone()
  1802. PARTICLES.Parent = art
  1803. end
  1804.  
  1805. function ManualDamage(Humanoid,Damage,TorsoPart)
  1806. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1807. defence.Name = ("HitBy"..Player.Name)
  1808. game:GetService("Debris"):AddItem(defence, 0.001)
  1809. Damage = Damage * DAMAGEMULTIPLIER
  1810. if Humanoid.Health ~= 0 then
  1811. local CritChance = MRANDOM(1,100)
  1812. if Damage > Humanoid.Health then
  1813. Damage = math.ceil(Humanoid.Health)
  1814. if Damage == 0 then
  1815. Damage = 0.1
  1816. end
  1817. end
  1818. Humanoid.Health = Humanoid.Health - Damage
  1819. end
  1820. end
  1821.  
  1822. function ManualAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1823. local CHILDREN = workspace:GetDescendants()
  1824. for index, CHILD in pairs(CHILDREN) do
  1825. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1826. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1827. if HUM then
  1828. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1829. if TORSO then
  1830. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1831. if INSTAKILL == true then
  1832. CHILD:BreakJoints()
  1833. else
  1834. local DMG = MRANDOM(MINDMG,MAXDMG)
  1835. ManualDamage(HUM,DMG,TORSO)
  1836. end
  1837. if FLING > 0 then
  1838. for _, c in pairs(CHILD:GetChildren()) do
  1839. if c:IsA("BasePart") then
  1840. local bv = Instance.new("BodyVelocity")
  1841. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1842. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1843. bv.Parent = c
  1844. Debris:AddItem(bv,0.05)
  1845. end
  1846. end
  1847. end
  1848. end
  1849. end
  1850. end
  1851. end
  1852. end
  1853. end
  1854.  
  1855. function KillChildren(v)
  1856. v:BreakJoints()
  1857. for _, c in pairs(v:GetChildren()) do
  1858. if c:IsA("BasePart") then
  1859. if c.Transparency < 1 then
  1860. if c:FindFirstChildOfClass("Decal") then
  1861. c:FindFirstChildOfClass("Decal"):remove()
  1862. end
  1863. particles(c)
  1864. c.PE.Enabled = true
  1865. c.Parent = Effects
  1866. c.CanCollide = false
  1867. c.Material = "Neon"
  1868. c.Color = C3(1,0,0)
  1869. c.Transparency = 1
  1870. local grav = Instance.new("BodyPosition",c)
  1871. grav.P = 20000
  1872. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1873. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  1874. grav.Name = "GravityForce"
  1875. coroutine.resume(coroutine.create(function()
  1876. for i = 1, 20 do
  1877. Swait()
  1878. c.Transparency = c.Transparency + 1/20
  1879. end
  1880. c.PE.Enabled = false
  1881. Debris:AddItem(c,2)
  1882. end))
  1883. end
  1884. end
  1885. end
  1886. end
  1887.  
  1888. function SmiteAoE(POSITION,RANGE)
  1889. local CHILDREN = workspace:GetDescendants()
  1890. for index, CHILD in pairs(CHILDREN) do
  1891. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1892. local LISTED = false
  1893. for LIST = 1, #WHITELIST do
  1894. if WHITELIST[LIST] ~= nil then
  1895. if CHILD.Name == WHITELIST[LIST] then
  1896. LISTED = true
  1897. end
  1898. end
  1899. end
  1900. if LISTED == false then
  1901. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1902. if HUM then
  1903. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1904. if TORSO then
  1905. if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
  1906. KillChildren(CHILD)
  1907. end
  1908. end
  1909. end
  1910. end
  1911. end
  1912. end
  1913. end
  1914.  
  1915. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1916. if hit.Parent == nil then
  1917. return
  1918. end
  1919. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1920. for _, v in pairs(hit.Parent:children()) do
  1921. if v:IsA("Humanoid") then
  1922. h = v
  1923. end
  1924. end
  1925. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1926. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1927. return
  1928. end
  1929. local c = Create("ObjectValue")({
  1930. Name = "creator",
  1931. Value = Red_Jack142
  1932. Parent = h
  1933. })
  1934. game:GetService("Debris"):AddItem(c, 0.5)
  1935. if HitSound ~= nil and HitPitch ~= nil then
  1936. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1937. end
  1938. local Damage = math.random(minim, maxim)
  1939. local blocked = false
  1940. local block = hit.Parent:findFirstChild("Block")
  1941. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1942. blocked = true
  1943. block.Value = block.Value - 1
  1944. print(block.Value)
  1945. end
  1946. if blocked == false then
  1947. HitHealth = h.Health
  1948. h.MaxHealth = 100
  1949. h.Health = h.Health - Damage
  1950. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1951. print("gained kill")
  1952. end
  1953. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1954. else
  1955. h.Health = h.Health - Damage / 2
  1956. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1957. end
  1958. if Type == "Knockdown" then
  1959. local hum = hit.Parent.Humanoid
  1960. hum.PlatformStand = true
  1961. coroutine.resume(coroutine.create(function(HHumanoid)
  1962. Swait(1)
  1963. HHumanoid.PlatformStand = false
  1964. end), hum)
  1965. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1966. local bodvol = Create("BodyVelocity")({
  1967. velocity = angle * knockback,
  1968. P = 5000,
  1969. maxForce = Vector3.new(8000, 8000, 8000),
  1970. Parent = hit
  1971. })
  1972. local rl = Create("BodyAngularVelocity")({
  1973. P = 3000,
  1974. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1975. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1976. Parent = hit
  1977. })
  1978. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1979. game:GetService("Debris"):AddItem(rl, 0.5)
  1980. elseif Type == "Normal" then
  1981. local vp = Create("BodyVelocity")({
  1982. P = 500,
  1983. maxForce = Vector3.new(math.huge, 0, math.huge),
  1984. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1985. })
  1986. if knockback > 0 then
  1987. vp.Parent = hit.Parent.Head
  1988. end
  1989. game:GetService("Debris"):AddItem(vp, 0.5)
  1990. elseif Type == "Up" then
  1991. local bodyVelocity = Create("BodyVelocity")({
  1992. velocity = Vector3.new(0, 20, 0),
  1993. P = 5000,
  1994. maxForce = Vector3.new(8000, 8000, 8000),
  1995. Parent = hit
  1996. })
  1997. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1998. local bodyVelocity = Create("BodyVelocity")({
  1999. velocity = Vector3.new(0, 20, 0),
  2000. P = 5000,
  2001. maxForce = Vector3.new(8000, 8000, 8000),
  2002. Parent = hit
  2003. })
  2004. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2005. elseif Type == "Leech" then
  2006. local hum = hit.Parent.Humanoid
  2007. if hum ~= nil then
  2008. for i = 0, 2 do
  2009. Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  2010. end
  2011. Humanoid.Health = Humanoid.Health + 10
  2012. end
  2013. elseif Type == "UpKnock" then
  2014. local hum = hit.Parent.Humanoid
  2015. hum.PlatformStand = true
  2016. if hum ~= nil then
  2017. hitr = true
  2018. end
  2019. coroutine.resume(coroutine.create(function(HHumanoid)
  2020. Swait(5)
  2021. HHumanoid.PlatformStand = false
  2022. hitr = false
  2023. end), hum)
  2024. local bodyVelocity = Create("BodyVelocity")({
  2025. velocity = Vector3.new(0, 20, 0),
  2026. P = 5000,
  2027. maxForce = Vector3.new(8000, 8000, 8000),
  2028. Parent = hit
  2029. })
  2030. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2031. local bodyVelocity = Create("BodyVelocity")({
  2032. velocity = Vector3.new(0, 20, 0),
  2033. P = 5000,
  2034. maxForce = Vector3.new(8000, 8000, 8000),
  2035. Parent = hit
  2036. })
  2037. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2038. elseif Type == "Snare" then
  2039. local bp = Create("BodyPosition")({
  2040. P = 2000,
  2041. D = 100,
  2042. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2043. position = hit.Parent.Torso.Position,
  2044. Parent = hit.Parent.Torso
  2045. })
  2046. game:GetService("Debris"):AddItem(bp, 1)
  2047. elseif Type == "Slashnare" then
  2048. Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07)
  2049. for i = 1, math.random(4, 5) do
  2050. Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  2051. end
  2052. local bp = Create("BodyPosition")({
  2053. P = 2000,
  2054. D = 100,
  2055. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2056. position = hit.Parent.Torso.Position,
  2057. Parent = hit.Parent.Torso
  2058. })
  2059. game:GetService("Debris"):AddItem(bp, 1)
  2060. elseif Type == "Spike" then
  2061. CreateBigIceSword(hit.Parent.Torso.CFrame)
  2062. local bp = Create("BodyPosition")({
  2063. P = 2000,
  2064. D = 100,
  2065. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2066. position = hit.Parent.Torso.Position,
  2067. Parent = hit.Parent.Torso
  2068. })
  2069. game:GetService("Debris"):AddItem(bp, 1)
  2070. elseif Type == "Freeze" then
  2071. local BodPos = Create("BodyPosition")({
  2072. P = 50000,
  2073. D = 1000,
  2074. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2075. position = hit.Parent.Torso.Position,
  2076. Parent = hit.Parent.Torso
  2077. })
  2078. local BodGy = Create("BodyGyro")({
  2079. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  2080. P = 20000,
  2081. Parent = hit.Parent.Torso,
  2082. cframe = hit.Parent.Torso.CFrame
  2083. })
  2084. hit.Parent.Torso.Anchored = true
  2085. coroutine.resume(coroutine.create(function(Part)
  2086. Swait(1.5)
  2087. Part.Anchored = false
  2088. end), hit.Parent.Torso)
  2089. game:GetService("Debris"):AddItem(BodPos, 3)
  2090. game:GetService("Debris"):AddItem(BodGy, 3)
  2091. end
  2092. local debounce = Create("BoolValue")({
  2093. Name = "DebounceHit",
  2094. Parent = hit.Parent,
  2095. Value = true
  2096. })
  2097. game:GetService("Debris"):AddItem(debounce, Delay)
  2098. c = Instance.new("ObjectValue")
  2099. c.Name = "creator"
  2100. c.Value = Player
  2101. c.Parent = h
  2102. game:GetService("Debris"):AddItem(c, 0.5)
  2103. end
  2104. end
  2105. function ShowDamage(Pos, Text, Time, Color)
  2106. local Rate = 0.03333333333333333
  2107. local Pos = Pos or Vector3.new(0, 0, 0)
  2108. local Text = Text or ""
  2109. local Time = Time or 2
  2110. local Color = Color or Color3.new(1, 0, 1)
  2111. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2112. EffectPart.Anchored = true
  2113. local BillboardGui = Create("BillboardGui")({
  2114. Size = UDim2.new(3, 0, 3, 0),
  2115. Adornee = EffectPart,
  2116. Parent = EffectPart
  2117. })
  2118. local TextLabel = Create("TextLabel")({
  2119. BackgroundTransparency = 1,
  2120. Size = UDim2.new(1, 0, 1, 0),
  2121. Text = Text,
  2122. TextColor3 = Color,
  2123. TextScaled = true,
  2124. Font = Enum.Font.ArialBold,
  2125. Parent = BillboardGui
  2126. })
  2127. game.Debris:AddItem(EffectPart, Time + 0.1)
  2128. EffectPart.Parent = game:GetService("Workspace")
  2129. delay(0, function()
  2130. local Frames = Time / Rate
  2131. for Frame = 1, Frames do
  2132. wait(Rate)
  2133. local Percent = Frame / Frames
  2134. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2135. TextLabel.TextTransparency = Percent
  2136. end
  2137. if EffectPart and EffectPart.Parent then
  2138. EffectPart:Destroy()
  2139. end
  2140. end)
  2141. end
  2142. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2143. for _, c in pairs(workspace:children()) do
  2144. local hum = c:findFirstChildOfClass("Humanoid")
  2145. if hum ~= nil then
  2146. local head = c:findFirstChild("Head")
  2147. if head ~= nil then
  2148. local targ = head.Position - Part.Position
  2149. local mag = targ.magnitude
  2150. if magni >= mag and c.Name ~= Player.Name then
  2151. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2152. end
  2153. end
  2154. end
  2155. end
  2156. end
  2157.  
  2158. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  2159. local type = type
  2160. local rng = Instance.new("Part", char)
  2161. rng.Anchored = true
  2162. rng.BrickColor = color
  2163. rng.Color = color3
  2164. rng.CanCollide = false
  2165. rng.FormFactor = 3
  2166. rng.Name = "Ring"
  2167. rng.Material = "Neon"
  2168. rng.Size = Vector3.new(1, 1, 1)
  2169. rng.Transparency = 0
  2170. rng.TopSurface = 0
  2171. rng.BottomSurface = 0
  2172. rng.CFrame = pos
  2173. local rngm = Instance.new("SpecialMesh", rng)
  2174. rngm.MeshType = "Brick"
  2175. rngm.Scale = scale
  2176. local scaler2 = 1
  2177. local scaler2b = 1
  2178. local scaler2c = 1
  2179. if type == "Add" then
  2180. scaler2 = 1*value
  2181. scaler2b = 1*value2
  2182. scaler2c = 1*value3
  2183. elseif type == "Divide" then
  2184. scaler2 = 1/value
  2185. scaler2b = 1/value2
  2186. scaler2c = 1/value3
  2187. end
  2188. coroutine.resume(coroutine.create(function()
  2189. for i = 0,10/bonuspeed,0.1 do
  2190. swait()
  2191. if type == "Add" then
  2192. scaler2 = scaler2 - 0.01*value/bonuspeed
  2193. scaler2b = scaler2b - 0.01*value/bonuspeed
  2194. scaler2c = scaler2c - 0.01*value/bonuspeed
  2195. elseif type == "Divide" then
  2196. scaler2 = scaler2 - 0.01/value*bonuspeed
  2197. scaler2b = scaler2b - 0.01/value*bonuspeed
  2198. scaler2c = scaler2c - 0.01/value*bonuspeed
  2199. end
  2200. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2201. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2202. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2203. end
  2204. rng:Destroy()
  2205. end))
  2206. end
  2207.  
  2208. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  2209. PLAYMAINANIM = false
  2210. if WhichPose == "Cast1" then
  2211. for i=0, Time, 0.1 / Animation_Speed do
  2212. Swait()
  2213. if Magic == true then
  2214. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2215. end
  2216. if Gyro ~= nil and Gyro ~= false then
  2217. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2218. end
  2219. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  2220. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  2221. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  2222. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  2223. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  2224. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  2225. end
  2226. elseif WhichPose == "Cast2" then
  2227. for i=0, Time, 0.1 / Animation_Speed do
  2228. Swait()
  2229. if Magic == true then
  2230. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2231. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2232. end
  2233. if Gyro ~= nil and Gyro ~= false then
  2234. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2235. end
  2236. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  2237. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  2238. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  2239. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  2240. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  2241. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  2242. end
  2243. elseif WhichPose == "RightArmUp" then
  2244. for i=0, Time, 0.1 / Animation_Speed do
  2245. Swait()
  2246. if Magic == true then
  2247. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2248. end
  2249. if Gyro ~= nil and Gyro ~= false then
  2250. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2251. end
  2252. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
  2253. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  2254. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  2255. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  2256. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  2257. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  2258. end
  2259. elseif WhichPose == "Taunt" then
  2260. for i=0, Time, 0.1 / Animation_Speed do
  2261. Swait()
  2262. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  2263. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  2264. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  2265. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  2266. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  2267. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  2268. end
  2269. HATWELD.Part0 = RightArm
  2270. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  2271. CreateSound(221057812,Torso,10,1,false)
  2272. for i=0, Time*2, 0.1 / Animation_Speed do
  2273. Swait()
  2274. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  2275. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  2276. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  2277. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  2278. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  2279. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  2280. end
  2281. for i=0, Time, 0.1 / Animation_Speed do
  2282. Swait()
  2283. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  2284. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  2285. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  2286. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  2287. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  2288. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  2289. HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed)
  2290. end
  2291. HATWELD.Part0 = Head
  2292. HATWELD.C0 = CF(0,0.35,0)
  2293. elseif WhichPose == "Prepare key" then
  2294. for i=0, Time, 0.1 / Animation_Speed do
  2295. Swait()
  2296. if Gyro ~= nil and Gyro ~= false then
  2297. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  2298. end
  2299. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
  2300. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  2301. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  2302. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  2303. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  2304. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  2305. end
  2306. elseif WhichPose == "Turn key" then
  2307. for i=0, Time, 0.1 / Animation_Speed do
  2308. Swait()
  2309. if Gyro ~= nil and Gyro ~= false then
  2310. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  2311. end
  2312. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
  2313. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  2314. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  2315. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  2316. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  2317. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  2318. end
  2319. end
  2320. PLAYMAINANIM = true
  2321. end
  2322.  
  2323. function ApplyAoE(POSITION,RANGE,FLING,BURN)
  2324. local CHILDREN = workspace:GetDescendants()
  2325. for index, CHILD in pairs(CHILDREN) do
  2326. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2327. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2328. if HUM then
  2329. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2330. if TORSO then
  2331. if HUM.Health > 0 and (TORSO.Position - POSITION).Magnitude <= RANGE then
  2332. CHILD:BreakJoints()
  2333. if FLING ~= 0 then
  2334. for _, c in pairs(CHILD:GetChildren()) do
  2335. if c:IsA("BasePart") and c.Transparency == 0 then
  2336. if BURN == true then
  2337. Fire(c)
  2338. end
  2339. local bv = Instance.new("BodyVelocity")
  2340. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2341. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  2342. bv.Parent = c
  2343. Debris:AddItem(bv,0.05)
  2344. end
  2345. end
  2346. end
  2347. end
  2348. end
  2349. end
  2350. end
  2351. end
  2352. end
  2353.  
  2354. function recurse(root,callback,i)
  2355. i= i or 0
  2356. for _,v in pairs(root:GetChildren()) do
  2357. i = i + 1
  2358. callback(i,v)
  2359.  
  2360. if #v:GetChildren() > 0 then
  2361. i = recurse(v,callback,i)
  2362. end
  2363. end
  2364.  
  2365. return i
  2366. end
  2367.  
  2368. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  2369. attachmentName = attachmentName.."RigAttachment"
  2370. local constraint = Instance.new(className.."Constraint")
  2371. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  2372. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  2373. constraint.Name = "RagdollConstraint"..part1.Name
  2374.  
  2375. for _,propertyData in next,properties or {} do
  2376. constraint[propertyData[1]] = propertyData[2]
  2377. end
  2378.  
  2379. constraint.Parent = character
  2380. end
  2381.  
  2382. function getAttachment0(character, attachmentName)
  2383. for _,child in next,character:GetChildren() do
  2384. local attachment = child:FindFirstChild(attachmentName)
  2385. if attachment then
  2386. return attachment
  2387. end
  2388. end
  2389. end
  2390.  
  2391. function ArtificialHitbox(Part)
  2392. local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
  2393. HITBOX.CanCollide = true
  2394. HITBOX.CFrame = Part.CFrame
  2395. weldBetween(Part,HITBOX)
  2396. end
  2397.  
  2398. function R15Ragdoll(character,KeepArms)
  2399. character:BreakJoints()
  2400. coroutine.resume(coroutine.create(function()
  2401. recurse(character, function(_,v)
  2402. if v:IsA("Attachment") then
  2403. v.Axis = Vector3.new(0, 1, 0)
  2404. v.SecondaryAxis = Vector3.new(0, 0, 1)
  2405. v.Rotation = Vector3.new(0, 0, 0)
  2406. end
  2407. end)
  2408. for _,child in next,character:GetChildren() do
  2409. if child:IsA("Accoutrement") then
  2410. for _,part in next,child:GetChildren() do
  2411. if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  2412. local attachment1 = part:FindFirstChildOfClass("Attachment")
  2413. local attachment0 = getAttachment0(character,attachment1.Name)
  2414. if attachment0 and attachment1 then
  2415. local constraint = Instance.new("HingeConstraint")
  2416. constraint.Attachment0 = attachment0
  2417. constraint.Attachment1 = attachment1
  2418. constraint.LimitsEnabled = true
  2419. constraint.UpperAngle = 0
  2420. constraint.LowerAngle = 0
  2421. constraint.Parent = character
  2422. end
  2423. ArtificialHitbox(part)
  2424. elseif part.Name == "HumanoidRootPart" then
  2425. part:remove()
  2426. end
  2427. end
  2428. end
  2429. end
  2430.  
  2431. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  2432. {"LimitsEnabled",true};
  2433. {"UpperAngle",5};
  2434. })
  2435. if character:FindFirstChild("Head") then
  2436. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  2437. {"LimitsEnabled",true};
  2438. {"UpperAngle",15};
  2439. })
  2440. end
  2441.  
  2442. local handProperties = {
  2443. {"LimitsEnabled", true};
  2444. {"UpperAngle",0};
  2445. {"LowerAngle",0};
  2446. }
  2447. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  2448. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  2449.  
  2450. local shinProperties = {
  2451. {"LimitsEnabled", true};
  2452. {"UpperAngle", 0};
  2453. {"LowerAngle", -75};
  2454. }
  2455. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  2456. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  2457.  
  2458. local footProperties = {
  2459. {"LimitsEnabled", true};
  2460. {"UpperAngle", 15};
  2461. {"LowerAngle", -45};
  2462. }
  2463. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  2464. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  2465. if KeepArms == true then
  2466. ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  2467. ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  2468. ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  2469. ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  2470. end
  2471. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  2472. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  2473. Debris:AddItem(character,5)
  2474. end))
  2475. end
  2476.  
  2477. function Ragdoll(Character2,CharTorso,KeepArms)
  2478. coroutine.resume(coroutine.create(function()
  2479. Character2:BreakJoints()
  2480. local hum = Character2:findFirstChild("Humanoid")
  2481. hum:remove()
  2482. local function Scan(ch)
  2483. local e
  2484. for e = 1,#ch do
  2485. Scan(ch[e]:GetChildren())
  2486. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  2487. ch[e]:remove()
  2488. end
  2489. end
  2490. end
  2491. local NEWHUM = IT("Humanoid")
  2492. NEWHUM.Name = "Corpse"
  2493. NEWHUM.Health = 0
  2494. NEWHUM.MaxHealth = 0
  2495. NEWHUM.PlatformStand = true
  2496. NEWHUM.Parent = Character2
  2497. NEWHUM.DisplayDistanceType = "None"
  2498.  
  2499. local ch = Character2:GetChildren()
  2500. local i
  2501. for i = 1,#ch do
  2502. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  2503. ch[i]:remove()
  2504. end
  2505. end
  2506.  
  2507. local Torso2 = Character2.Torso
  2508. local movevector = Vector3.new()
  2509.  
  2510. if Torso2 then
  2511. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  2512. local Head = Character2:FindFirstChild("Head")
  2513. if Head then
  2514. local Neck = Instance.new("Weld")
  2515. Neck.Name = "Neck"
  2516. Neck.Part0 = Torso2
  2517. Neck.Part1 = Head
  2518. Neck.C0 = CFrame.new(0, 1.5, 0)
  2519. Neck.C1 = CFrame.new()
  2520. Neck.Parent = Torso2
  2521.  
  2522. end
  2523. local Limb = Character2:FindFirstChild("Right Arm")
  2524. if Limb and KeepArms == true then
  2525.  
  2526. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  2527. local Joint = Instance.new("Glue")
  2528. Joint.Name = "RightShoulder"
  2529. Joint.Part0 = Torso2
  2530. Joint.Part1 = Limb
  2531. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2532. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2533. Joint.Parent = Torso2
  2534.  
  2535. local B = Instance.new("Part")
  2536. B.TopSurface = 0
  2537. B.BottomSurface = 0
  2538. B.formFactor = "Symmetric"
  2539. B.Size = Vector3.new(1, 1, 1)
  2540. B.Transparency = 1
  2541. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2542. B.Parent = Character2
  2543. local W = Instance.new("Weld")
  2544. W.Part0 = Limb
  2545. W.Part1 = B
  2546. W.C0 = CFrame.new(0, -0.5, 0)
  2547. W.Parent = Limb
  2548.  
  2549. end
  2550. local Limb = Character2:FindFirstChild("Left Arm")
  2551. if Limb and KeepArms == true then
  2552.  
  2553. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  2554. local Joint = Instance.new("Glue")
  2555. Joint.Name = "LeftShoulder"
  2556. Joint.Part0 = Torso2
  2557. Joint.Part1 = Limb
  2558. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2559. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2560. Joint.Parent = Torso2
  2561.  
  2562. local B = Instance.new("Part")
  2563. B.TopSurface = 0
  2564. B.BottomSurface = 0
  2565. B.formFactor = "Symmetric"
  2566. B.Size = Vector3.new(1, 1, 1)
  2567. B.Transparency = 1
  2568. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2569. B.Parent = Character2
  2570. local W = Instance.new("Weld")
  2571. W.Part0 = Limb
  2572. W.Part1 = B
  2573. W.C0 = CFrame.new(0, -0.5, 0)
  2574. W.Parent = Limb
  2575.  
  2576. end
  2577. local Limb = Character2:FindFirstChild("Right Leg")
  2578. if Limb then
  2579.  
  2580. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  2581. local Joint = Instance.new("Glue")
  2582. Joint.Name = "RightHip"
  2583. Joint.Part0 = Torso2
  2584. Joint.Part1 = Limb
  2585. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2586. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2587. Joint.Parent = Torso2
  2588.  
  2589. local B = Instance.new("Part")
  2590. B.TopSurface = 0
  2591. B.BottomSurface = 0
  2592. B.formFactor = "Symmetric"
  2593. B.Size = Vector3.new(1, 1, 1)
  2594. B.Transparency = 1
  2595. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2596. B.Parent = Character2
  2597. local W = Instance.new("Weld")
  2598. W.Part0 = Limb
  2599. W.Part1 = B
  2600. W.C0 = CFrame.new(0, -0.5, 0)
  2601. W.Parent = Limb
  2602.  
  2603. end
  2604. local Limb = Character2:FindFirstChild("Left Leg")
  2605. if Limb then
  2606.  
  2607. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  2608. local Joint = Instance.new("Glue")
  2609. Joint.Name = "LeftHip"
  2610. Joint.Part0 = Torso2
  2611. Joint.Part1 = Limb
  2612. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2613. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2614. Joint.Parent = Torso2
  2615.  
  2616. local B = Instance.new("Part")
  2617. B.TopSurface = 0
  2618. B.BottomSurface = 0
  2619. B.formFactor = "Symmetric"
  2620. B.Size = Vector3.new(1, 1, 1)
  2621. B.Transparency = 1
  2622. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2623. B.Parent = Character2
  2624. local W = Instance.new("Weld")
  2625. W.Part0 = Limb
  2626. W.Part1 = B
  2627. W.C0 = CFrame.new(0, -0.5, 0)
  2628. W.Parent = Limb
  2629.  
  2630. end
  2631. --[
  2632. local Bar = Instance.new("Part")
  2633. Bar.TopSurface = 0
  2634. Bar.BottomSurface = 0
  2635. Bar.formFactor = "Symmetric"
  2636. Bar.Size = Vector3.new(1, 1, 1)
  2637. Bar.Transparency = 1
  2638. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  2639. Bar.Parent = Character2
  2640. local Weld = Instance.new("Weld")
  2641. Weld.Part0 = Torso2
  2642. Weld.Part1 = Bar
  2643. Weld.C0 = CFrame.new(0, 0.5, 0)
  2644. Weld.Parent = Torso2
  2645. --]]
  2646. end
  2647. Character2.Parent = workspace
  2648. Debris:AddItem(Character2,5)
  2649.  
  2650. return Character2,Torso2
  2651. end))
  2652. end
  2653.  
  2654. --//=================================\\
  2655. --|| ATTACK FUNCTIONS AND STUFF
  2656. --\\=================================//
  2657.  
  2658. function LimbRip()
  2659. ATTACK = true
  2660. Rooted = false
  2661. local TARGET = nil
  2662. local ROOT = nil
  2663. local HUMAN = nil
  2664. local DIST = 4
  2665. Speed = 12
  2666. for i=0, 1, 0.1 / Animation_Speed do
  2667. Swait()
  2668. local CHILDREN = workspace:GetDescendants()
  2669. for index, CHILD in pairs(CHILDREN) do
  2670. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2671. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2672. if HUM then
  2673. local TORSO = CHILD:FindFirstChild("HumanoidRootPart") or CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2674. if TORSO and HUM.Health > 0 then
  2675. if (TORSO.Position - RightArm.Position).Magnitude <= DIST then
  2676. DIST = (TORSO.Position - RightArm.Position).Magnitude
  2677. ROOT = TORSO
  2678. HUMAN = HUM
  2679. TARGET = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2680. end
  2681. end
  2682. end
  2683. end
  2684. end
  2685. if ROOT then
  2686. break
  2687. end
  2688. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2689. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(-25)), 1 / Animation_Speed)
  2690. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2691. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2692. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2693. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2694. end
  2695. Speed = 16
  2696. if ROOT then
  2697. CreateSound(305685800,Torso,5,1.3,false)
  2698. Rooted = true
  2699. local GORED = false
  2700. coroutine.resume(coroutine.create(function()
  2701. repeat
  2702. Swait()
  2703. ROOT.Anchored = true
  2704. until GORED == true
  2705. ROOT.Anchored = false
  2706. end))
  2707. RootPart.CFrame = ROOT.CFrame*CF(0,0,2.25)
  2708. if TARGET.Name == "Torso" then
  2709. local RARM = TARGET.Parent:FindFirstChild("Right Arm")
  2710. local LARM = TARGET.Parent:FindFirstChild("Left Arm")
  2711. if RARM and LARM then
  2712. for i=0, 1, 0.1 / Animation_Speed do
  2713. Swait()
  2714. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2715. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2716. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2717. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2718. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2719. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2720. end
  2721. for _, c in pairs(TARGET.Parent:GetDescendants()) do
  2722. if c:IsA("JointInstance") then
  2723. if c.Part1 == RARM or c.Part1 == LARM or c.Part0 == RARM or c.Part0 == LARM then
  2724. c:remove()
  2725. end
  2726. end
  2727. end
  2728. CreateSound(363808674, TARGET, 3, MRANDOM(7,9)/10, false)
  2729. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RARM, CF(0,-1.35,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2730. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, LARM, CF(0,-1.35,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2731. for i=0, 1, 0.1 / Animation_Speed do
  2732. Swait()
  2733. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2734. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2735. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2736. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2737. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2738. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2739. end
  2740. for i=0, 1, 0.1 / Animation_Speed do
  2741. Swait()
  2742. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.25) * ANGLES(RAD(-25), RAD(0), RAD(80)), 1 / Animation_Speed)
  2743. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  2744. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2745. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2746. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,1.5,0), 1 / Animation_Speed)
  2747. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2748. end
  2749. for i=0, 0.1, 0.1 / Animation_Speed do
  2750. Swait()
  2751. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
  2752. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  2753. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2754. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2755. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed)
  2756. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2757. end
  2758. GORED = true
  2759. Ragdoll(TARGET.Parent,Torso)
  2760. if ROOT.Name ~= "Torso" then
  2761. ROOT:remove()
  2762. end
  2763. local RGRAB = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RARM, CF(0,-1.35,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2764. local LGRAB = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, LARM, CF(0,-1.35,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2765. local bv = Instance.new("BodyVelocity",TARGET)
  2766. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2767. bv.velocity = TARGET.CFrame.lookVector*75
  2768. Debris:AddItem(bv,0.05)
  2769. CreateSound(621557962, RightLeg, 1, MRANDOM(7,9)/10, false)
  2770. for i=0, 0.5, 0.1 / Animation_Speed do
  2771. Swait()
  2772. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
  2773. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  2774. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2775. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2776. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed)
  2777. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2778. end
  2779. for i=0, 1, 0.1 / Animation_Speed do
  2780. Swait()
  2781. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2782. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  2783. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.6 / Animation_Speed)
  2784. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.6 / Animation_Speed)
  2785. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2786. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2787. end
  2788. local HITBOX = CreatePart(3, RARM, "Metal", 0, 1, "Really black", "Part", RARM.Size, false)
  2789. HITBOX.CFrame = RARM.CFrame
  2790. HITBOX.CanCollide = true
  2791. weldBetween(RARM,HITBOX)
  2792. local HITBOX = CreatePart(3, LARM, "Metal", 0, 1, "Really black", "Part", RARM.Size, false)
  2793. HITBOX.CFrame = LARM.CFrame
  2794. HITBOX.CanCollide = true
  2795. weldBetween(LARM,HITBOX)
  2796. RGRAB:remove()
  2797. LGRAB:remove()
  2798. for i=0, 0.4, 0.1 / Animation_Speed do
  2799. Swait()
  2800. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2801. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  2802. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(110)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2803. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(-110)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2804. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2805. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2806. end
  2807. end
  2808. elseif TARGET.Name == "UpperTorso" then
  2809. if TARGET.Parent:FindFirstChild("RightUpperArm") and TARGET.Parent:FindFirstChild("LeftUpperArm") then
  2810. for i=0, 0.3, 0.1 / Animation_Speed do
  2811. Swait()
  2812. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2813. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2814. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.5) * ANGLES(RAD(140), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(25), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2815. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2816. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2817. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2818. end
  2819. local SAWBLADE = CreatePart(3, Weapon, "Neon", 0, 0.5, "Really red", "Part", VT(0,0,0),false)
  2820. local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, SAWBLADE, CF(0,-1,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  2821. local BLADE = true
  2822. CreateMesh("SpecialMesh", SAWBLADE, "FileMesh", "74322089", "", VT(1,1,1), VT(0,0,0))
  2823. coroutine.resume(coroutine.create(function()
  2824. repeat
  2825. Swait()
  2826. WELD.C1 = WELD.C1 * ANGLES(RAD(0), RAD(0), RAD(25))
  2827. until BLADE == false
  2828. SAWBLADE:remove()
  2829. end))
  2830. CreateSound(1165167936, SAWBLADE, 2, 1, true)
  2831. for i=0, 1, 0.1 / Animation_Speed do
  2832. Swait()
  2833. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2834. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2835. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.5) * ANGLES(RAD(140), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(25), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2836. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2837. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2838. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2839. end
  2840. for i=0, 3, 0.1 / Animation_Speed do
  2841. Swait()
  2842. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2843. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2844. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.5) * ANGLES(RAD(15), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(-25), RAD(0)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  2845. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2846. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2847. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2848. end
  2849. CreateSound(363808674, TARGET, 3, MRANDOM(7,9)/10, false)
  2850. TARGET.Parent:FindFirstChild("RightUpperArm").RightShoulder:remove()
  2851. for i=0, 1, 0.1 / Animation_Speed do
  2852. Swait()
  2853. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(1, 0, 0.3) * ANGLES(RAD(0), RAD(0), RAD(90)), 1 / Animation_Speed)
  2854. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-80)), 1 / Animation_Speed)
  2855. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2856. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2857. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2858. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2859. end
  2860. for i=0, 3, 0.1 / Animation_Speed do
  2861. Swait()
  2862. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(1, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 1 / Animation_Speed)
  2863. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-80)), 1 / Animation_Speed)
  2864. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  2865. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2866. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2867. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2868. end
  2869. CreateSound(363808674, TARGET, 3, MRANDOM(7,9)/10, false)
  2870. TARGET.Parent:FindFirstChild("LeftUpperArm").LeftShoulder:remove()
  2871. BLADE = false
  2872. for i=0, 0.5, 0.1 / Animation_Speed do
  2873. Swait()
  2874. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.25) * ANGLES(RAD(-25), RAD(0), RAD(80)), 1 / Animation_Speed)
  2875. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  2876. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2877. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2878. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,1.5,0), 1 / Animation_Speed)
  2879. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2880. end
  2881. for i=0, 0.1, 0.1 / Animation_Speed do
  2882. Swait()
  2883. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
  2884. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  2885. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-32), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2886. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2887. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed)
  2888. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2889. end
  2890. GORED = true
  2891. TARGET.Parent:BreakJoints()
  2892. R15Ragdoll(TARGET.Parent)
  2893. if ROOT.Name ~= "Torso" then
  2894. ROOT:remove()
  2895. end
  2896. local bv = Instance.new("BodyVelocity",TARGET)
  2897. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2898. bv.velocity = TARGET.CFrame.lookVector*75
  2899. Debris:AddItem(bv,0.05)
  2900. CreateSound(621557962, RightLeg, 1, MRANDOM(7,9)/10, false)
  2901. for i=0, 0.3, 0.1 / Animation_Speed do
  2902. Swait()
  2903. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
  2904. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  2905. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-32), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2906. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2907. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed)
  2908. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2909. end
  2910. end
  2911. end
  2912. end
  2913. ATTACK = false
  2914. Rooted = false
  2915. end
  2916.  
  2917. function SHATTER()
  2918. ATTACK = true
  2919. Rooted = true
  2920. Cooldown2 = true
  2921. local MAINRUINCOLOR = BrickColor.new("Dark green")
  2922. for i=0, 0.6, 0.1 / Animation_Speed do
  2923. Swait()
  2924. WACKYEFFECT({Time = 10, EffectType = "Block", Size = VT(4,4,4), Size2 = VT(0,0,0), Transparency = 0.7, Transparency2 = 1, CFrame = Barrel.CFrame*CF(0,3,0) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0.2,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2925. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2926. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2927. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.9, 0) * ANGLES(RAD(165), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2928. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.9, 0) * ANGLES(RAD(165), RAD(0), RAD(17.5)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2929. 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.4 / Animation_Speed)
  2930. 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.4 / Animation_Speed)
  2931. end
  2932. CFuncs["Sound"].Create("rbxassetid://1718412034", RootPart, 15, 1)
  2933. CFuncs["EchoSound"].Create("rbxassetid://1718412034", Character, 5, 1,0,10,0.15,0.5,1)
  2934. for i=0, 3, 0.1 / Animation_Speed do
  2935. Swait()
  2936. WACKYEFFECT({Time = 10, EffectType = "Block", Size = VT(MRANDOM(2,8),MRANDOM(2,8),MRANDOM(2,8)), Size2 = VT(0,0,0), Transparency = 0.7, Transparency2 = 1, CFrame = Barrel.CFrame*CF(0,3,0) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0.2,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2937. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2938. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2939. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.9, 0) * ANGLES(RAD(165), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2940. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.9, 0) * ANGLES(RAD(165), RAD(0), RAD(17.5)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2941. 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.4 / Animation_Speed)
  2942. 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.4 / Animation_Speed)
  2943. end
  2944. for i=0, 0.25, 0.1 / Animation_Speed do
  2945. Swait()
  2946. WACKYEFFECT({Time = 10, EffectType = "Block", Size = VT(MRANDOM(2,6),MRANDOM(2,6),MRANDOM(2,6)), Size2 = VT(0,0,0), Transparency = 0.7, Transparency2 = 1, CFrame = Barrel.CFrame*CF(0,3,0) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(MRANDOM(0,0.2)/0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2947. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2948. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2949. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2950. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(50), RAD(0), RAD(17.5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2951. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(35), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2952. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(35), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2953. end
  2954. sphere2(2,"Add",RootPart.CFrame,VT(1,1,1),1,1,1,BrickColor.new("Dark green"),BrickColor.new("Lime green").Color)
  2955. sphere2(2,"Add",RootPart.CFrame,VT(1,1,1),2,2,2,BrickColor.new("Lime green"),BrickColor.new("Dark green").Color)
  2956. sphere2(2,"Add",RootPart.CFrame,VT(1,1,1),4,4,4,BrickColor.new("Dark green"),BrickColor.new("Lime green").Color)
  2957. sphere2(2,"Add",RootPart.CFrame,VT(1,1,1),8,8,8,BrickColor.new("Lime green"),BrickColor.new("Dark green").Color)
  2958. CFuncs["Sound"].Create("rbxassetid://1841058541", RootPart, 10,1)
  2959. CFuncs["Sound"].Create("rbxassetid://2095993595", Character, 5,0.8)
  2960. CFuncs["Sound"].Create("rbxassetid://1841058541", Character, 5,1)
  2961. Humanoid.CameraOffset = VT(0,0,0)
  2962. for i = 0, 24 do
  2963. slash(math.random(10,30)/10,5,true,"Round","Add","Out",RootPart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(0.01,0.01,0.01),math.random(500,1500)/250,BrickColor.new("Dark green"))
  2964. end
  2965. local distam = 0
  2966. coroutine.resume(coroutine.create(function()
  2967. for i = 0, 99 do
  2968. wait()
  2969. distam = distam + 1.5
  2970. local xa = CreateParta(Character,1,1,"SmoothPlastic",BrickColor.new("Dark green"))
  2971. xa.Anchored = true
  2972. xa.CFrame = RootPart.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  2973. game:GetService("Debris"):AddItem(xa, 5)
  2974. coroutine.resume(coroutine.create(function()
  2975. local eff = Instance.new("ParticleEmitter",xa)
  2976. eff.Texture = "rbxassetid://2092248396"
  2977. eff.LightEmission = 1
  2978. eff.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  2979. eff.Rate = 500000
  2980. eff.Lifetime = NumberRange.new(1,3)
  2981. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  2982. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2983. eff.Speed = NumberRange.new(50,500)
  2984. eff.Drag = 5
  2985. eff.Rotation = NumberRange.new(-500,500)
  2986. eff.VelocitySpread = 9000
  2987. eff.RotSpeed = NumberRange.new(-50,50)
  2988. wait(0.25)
  2989. eff.Enabled = false
  2990. end))
  2991. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  2992. sphere2(5,"Add",xa.CFrame,VT(1,1,1),0.5,0.5,0.5,BrickColor.new("Lime green"),BrickColor.new("Dark green").Color)
  2993. sphere2(5,"Add",xa.CFrame,VT(1,1,1),1,1,1,BrickColor.new("Dark green"),BrickColor.new("Lime green").Color)
  2994. sphere2(5,"Add",xa.CFrame,VT(1,1,1),0.5,0.5,0.5,BrickColor.new("Lime green"),BrickColor.new("Dark green").Color)
  2995. sphere2(5,"Add",xa.CFrame,VT(1,1,1),1,1,1,BrickColor.new("Dark green"),BrickColor.new("Lime green").Color)
  2996. sphere2(5,"Add",xa.CFrame,VT(1,1,1),0.5,0.5,0.5,BrickColor.new("Lime green"),BrickColor.new("Dark green").Color)
  2997. sphere2(5,"Add",xa.CFrame,VT(1,1,1),1,1,1,BrickColor.new("Dark green"),BrickColor.new("Lime green").Color)
  2998. SmiteAoE(xa.Position, 30)
  2999. end
  3000. end))
  3001. ATTACK = false
  3002. Rooted = false
  3003. wait(3)
  3004. Cooldown2 = false
  3005. end
  3006.  
  3007. function Shot()
  3008. ATTACK = true
  3009. Rooted = false
  3010. for i=0, 0.1, 0.1 / Animation_Speed do
  3011. Swait()
  3012. turnto(Mouse.Hit.p)
  3013. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.4 / Animation_Speed*3)
  3014. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-5.5,5.5)), RAD(MRANDOM(-5.5,5.5)), RAD(MRANDOM(-5.5,5.5))), 1)
  3015. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3016. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(12), RAD(0), RAD(0))* LEFTSHOULDERC0, 0.4 / Animation_Speed)
  3017. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 24), 0) * ANGLES(RAD(0), RAD(78), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  3018. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 24), 0) * ANGLES(RAD(0), RAD(-78), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  3019. end
  3020. repeat
  3021. for i=0, 0.1, 0.1 / Animation_Speed do
  3022. Swait()
  3023. turnto(Mouse.Hit.p)
  3024. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.4 / Animation_Speed*3)
  3025. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-5.5,5.5)), RAD(MRANDOM(-5.5,5.5)), RAD(MRANDOM(-5.5,5.5))), 1)
  3026. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3027. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(12), RAD(0), RAD(0))* LEFTSHOULDERC0, 0.4 / Animation_Speed)
  3028. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 24), 0) * ANGLES(RAD(0), RAD(78), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  3029. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 24), 0) * ANGLES(RAD(0), RAD(-78), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  3030. end
  3031. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  3032. SpawnTrail(Hole.Position,POS)
  3033. if HIT ~= nil then
  3034. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  3035. Banish(HIT.Parent)
  3036. end
  3037. end
  3038. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0.2,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3039. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0.2,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3040. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0.2,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3041. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0.2,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3042. for i=0, 0.1, 0.1 / Animation_Speed do
  3043. Swait()
  3044. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.4 / Animation_Speed*3)
  3045. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-5.5,5.5)), RAD(MRANDOM(-5.5,5.5)), RAD(MRANDOM(-5.5,5.5))), 1)
  3046. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(110), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3047. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(42), RAD(0), RAD(0))* LEFTSHOULDERC0, 0.4 / Animation_Speed)
  3048. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 24), 0) * ANGLES(RAD(0), RAD(78), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  3049. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 24), 0) * ANGLES(RAD(0), RAD(-78), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  3050. end
  3051. until KEYHOLD == false
  3052. ATTACK = false
  3053. Rooted = false
  3054. end
  3055.  
  3056. function Tuk()
  3057. ATTACK = true
  3058. Rooted = true
  3059. CreateSound("1238240145", Torso, 6, 0.9)
  3060. CreateSound(363808674, Torso, 6, 1, false)
  3061. for i=0, 0.6, 0.1 / Animation_Speed do
  3062. Swait()
  3063. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3064. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  3065. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3066. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3067. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3068. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3069. end
  3070. CreateSound(363808674, Torso, 6, 1, false)
  3071. for i=0, 0.6, 0.1 / Animation_Speed do
  3072. Swait()
  3073. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3074. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  3075. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3076. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3077. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3078. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3079. end
  3080. CreateSound(363808674, Torso, 6, 1, false)
  3081. for i=0, 0.6, 0.1 / Animation_Speed do
  3082. Swait()
  3083. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3084. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  3085. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3086. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3087. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3088. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3089. end
  3090. CreateSound(363808674, Torso, 6, 1, false)
  3091. for i=0, 0.6, 0.1 / Animation_Speed do
  3092. Swait()
  3093. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3094. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  3095. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3096. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3097. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3098. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3099. end
  3100. CreateSound(363808674, Torso, 6, 1, false)
  3101. for i=0, 0.6, 0.1 / Animation_Speed do
  3102. Swait()
  3103. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3104. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  3105. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3106. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3107. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3108. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3109. end
  3110. CreateSound(363808674, Torso, 6, 1, false)
  3111. for i=0, 0.6, 0.1 / Animation_Speed do
  3112. Swait()
  3113. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3114. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  3115. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3116. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3117. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3118. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3119. end
  3120. ATTACK = false
  3121. Rooted = false
  3122. end
  3123.  
  3124. --//=================================\\
  3125. --|| ASSIGN THINGS TO KEYS
  3126. --\\=================================//
  3127.  
  3128. function MouseDown(Mouse)
  3129. if ATTACK == false then
  3130. end
  3131. end
  3132.  
  3133. function MouseUp(Mouse)
  3134. HOLD = false
  3135. end
  3136.  
  3137. function KeyDown(Key)
  3138. KEYHOLD = true
  3139. if Key == "z" and ATTACK == false then
  3140. Shot()
  3141. end
  3142.  
  3143. if Key == "t" and ATTACK == false then
  3144. Tuk()
  3145. end
  3146.  
  3147. if Key == "c" and ATTACK == false then
  3148. LimbRip()
  3149. end
  3150.  
  3151. if Key == "v" and ATTACK == false then
  3152. end
  3153.  
  3154. if Key == "x" and ATTACK == false then
  3155. SHATTER()
  3156. end
  3157. end
  3158.  
  3159. function KeyUp(Key)
  3160. KEYHOLD = false
  3161. end
  3162.  
  3163. Mouse.Button1Down:connect(function(NEWKEY)
  3164. MouseDown(NEWKEY)
  3165. end)
  3166. Mouse.Button1Up:connect(function(NEWKEY)
  3167. MouseUp(NEWKEY)
  3168. end)
  3169. Mouse.KeyDown:connect(function(NEWKEY)
  3170. KeyDown(NEWKEY)
  3171. end)
  3172. Mouse.KeyUp:connect(function(NEWKEY)
  3173. KeyUp(NEWKEY)
  3174. end)
  3175.  
  3176. --//=================================\\
  3177. --\\=================================//
  3178.  
  3179.  
  3180. function unanchor()
  3181. if UNANCHOR == true then
  3182. g = Character:GetChildren()
  3183. for i = 1, #g do
  3184. if g[i].ClassName == "Part" then
  3185. g[i].Anchored = false
  3186. end
  3187. end
  3188. end
  3189. end
  3190.  
  3191.  
  3192. --//=================================\\
  3193. --|| WRAP THE WHOLE SCRIPT UP
  3194. --\\=================================//
  3195.  
  3196. Humanoid.Changed:connect(function(Jump)
  3197. if Jump == "Jump" and (Disable_Jump == true) then
  3198. Humanoid.Jump = false
  3199. end
  3200. end)
  3201.  
  3202. local CONNECT = nil
  3203.  
  3204. while true do
  3205. Swait()
  3206. ANIMATE.Parent = nil
  3207. if Character:FindFirstChildOfClass("Humanoid") == nil then
  3208. Humanoid = IT("Humanoid",Character)
  3209. end
  3210. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  3211. v:Stop();
  3212. end
  3213. SINE = SINE + CHANGE
  3214. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3215. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3216. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  3217. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  3218. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  3219. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3220. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3221. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3222. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3223. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  3224. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3225. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3226. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3227. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3228. end
  3229. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  3230. ANIM = "Jump"
  3231. if ATTACK == false then
  3232. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3233. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3234. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3235. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3236. 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)
  3237. 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)
  3238. end
  3239. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  3240. ANIM = "Fall"
  3241. if ATTACK == false then
  3242. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3243. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-5.5,5.5)), RAD(MRANDOM(-5.5,5.5)), RAD(MRANDOM(-5.5,5.5))), 1)
  3244. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3245. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3246. 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)
  3247. 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)
  3248. end
  3249. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  3250. ANIM = "Idle"
  3251. if ATTACK == false then
  3252. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.4 / Animation_Speed*3)
  3253. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-5.5,5.5)), RAD(MRANDOM(-5.5,5.5)), RAD(MRANDOM(-5.5,5.5))), 1)
  3254. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(40), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3255. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(45), RAD(15), RAD(-45)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  3256. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 24), 0) * ANGLES(RAD(0), RAD(78), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  3257. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 24), 0) * ANGLES(RAD(0), RAD(-78), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  3258. end
  3259. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  3260. ANIM = "Walk"
  3261. if ATTACK == false then
  3262. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3263. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-5.5,5.5)), RAD(MRANDOM(-5.5,5.5)), RAD(MRANDOM(-5.5,5.5))), 1)
  3264. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3265. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  3266. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  3267. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  3268. end
  3269. end
  3270. unanchor()
  3271. Humanoid.MaxHealth = "inf"
  3272. Humanoid.Health = "inf"
  3273. if Rooted == false then
  3274. Disable_Jump = false
  3275. Humanoid.WalkSpeed = Speed
  3276. elseif Rooted == true then
  3277. Disable_Jump = true
  3278. Humanoid.WalkSpeed = 0
  3279. end
  3280. for LW = 1, #LEFTWINGS do
  3281. if LEFTWINGS[LW] ~= nil then
  3282. LEFTWINGS[LW].C1 = Clerp(LEFTWINGS[LW].C1, CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(2.5 * SIN(SINE / 12)), RAD(0), RAD(-3 + 3 * SIN(SINE / 12))), 1 / Animation_Speed)
  3283. end
  3284. end
  3285. for RW = 1, #RIGHTWINGS do
  3286. if RIGHTWINGS[RW] ~= nil then
  3287. RIGHTWINGS[RW].C1 = Clerp(RIGHTWINGS[RW].C1, CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(2.5 * SIN(SINE / 12)), RAD(0), RAD(3 - 3 * SIN(SINE / 12))), 1 / Animation_Speed)
  3288. end
  3289. end
  3290. sick.Parent = Torso
  3291. sick:resume()
  3292. sick.Volume = 2
  3293. sick.Pitch = 1.02
  3294. sick.SoundId = "rbxassetid://186712548"
  3295. sick.Name = "Dead"
  3296. end
  3297.  
  3298. --//=================================\\
  3299. --\\=================================//
  3300.  
  3301.  
  3302.  
  3303.  
  3304.  
  3305. --//====================================================\\--
  3306. --|| END OF SCRIPT
  3307. --\\====================================================//--
  3308.  
  3309. -------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement