killerkillerkiller

Untitled

Aug 5th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 67.50 KB | None | 0 0
  1. script.Name = "Banisher Gun V3 / 1"
  2. --//====================================================\\--
  3. --|| CREATED BY SHACKLUSTER
  4. --\\====================================================//--
  5.  
  6. script:ClearAllChildren()
  7. wait(0.2)
  8.  
  9. Player = owner
  10. PlayerGui = Player.PlayerGui
  11. Cam = workspace.CurrentCamera
  12. Backpack = Player.Backpack
  13. Character = Player.Character
  14. Humanoid = Character.Humanoid
  15. RootPart = Character["HumanoidRootPart"]
  16. Torso = Character["Torso"]
  17. Head = Character["Head"]
  18. RightArm = Character["Right Arm"]
  19. LeftArm = Character["Left Arm"]
  20. RightLeg = Character["Right Leg"]
  21. LeftLeg = Character["Left Leg"]
  22. RootJoint = RootPart["RootJoint"]
  23. Neck = Torso["Neck"]
  24. RightShoulder = Torso["Right Shoulder"]
  25. LeftShoulder = Torso["Left Shoulder"]
  26. RightHip = Torso["Right Hip"]
  27. LeftHip = Torso["Left Hip"]
  28. local TIME = 0
  29. local sick = Instance.new("Sound",Torso)
  30.  
  31. IT = Instance.new
  32. CF = CFrame.new
  33. VT = Vector3.new
  34. RAD = math.rad
  35. C3 = Color3.new
  36. UD2 = UDim2.new
  37. BRICKC = BrickColor.new
  38. ANGLES = CFrame.Angles
  39. EULER = CFrame.fromEulerAnglesXYZ
  40. COS = math.cos
  41. ACOS = math.acos
  42. SIN = math.sin
  43. ASIN = math.asin
  44. ABS = math.abs
  45. MRANDOM = math.random
  46. FLOOR = math.floor
  47.  
  48. --//=================================\\
  49. --|| USEFUL VALUES
  50. --\\=================================//
  51.  
  52. Animation_Speed = 3
  53. local FORCERESET = false
  54. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  55. local Speed = 16
  56. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  57. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  58. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  59. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  60. local DAMAGEMULTIPLIER = 1
  61. local ANIM = "Idle"
  62. local ATTACK = false
  63. local EQUIPPED = false
  64. local HOLD = false
  65. local COMBO = 1
  66. local Rooted = false
  67. local SINE = 0
  68. local KEYHOLD = false
  69. local CHANGE = 2 / Animation_Speed
  70. local WALKINGANIM = false
  71. local VALUE1 = false
  72. local VALUE2 = false
  73. local ROBLOXIDLEANIMATION = IT("Animation")
  74. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  75. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  76. --ROBLOXIDLEANIMATION.Parent = Humanoid
  77. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  78. WEAPONGUI.Name = "BanishV3Gui"
  79. local Weapon = IT("Model")
  80. Weapon.Name = "Adds"
  81. local Effects = IT("Folder", Weapon)
  82. Effects.Name = "Effects"
  83. local ANIMATOR = Humanoid.Animator
  84. local ANIMATE = Character:FindFirstChild("Animate")
  85. local UNANCHOR = true
  86. local TOBANISH = {}
  87. script.Parent = PlayerGui
  88.  
  89. --//=================================\\
  90. --\\=================================//
  91.  
  92.  
  93. --//=================================\\
  94. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  95. --\\=================================//
  96.  
  97. ArtificialHB = Instance.new("BindableEvent", script)
  98. ArtificialHB.Name = "ArtificialHB"
  99.  
  100. script:WaitForChild("ArtificialHB")
  101.  
  102. frame = Frame_Speed
  103. tf = 0
  104. allowframeloss = false
  105. tossremainder = false
  106. lastframe = tick()
  107. script.ArtificialHB:Fire()
  108.  
  109. game:GetService("RunService").Heartbeat:connect(function(s, p)
  110. tf = tf + s
  111. if tf >= frame then
  112. if allowframeloss then
  113. script.ArtificialHB:Fire()
  114. lastframe = tick()
  115. else
  116. for i = 1, math.floor(tf / frame) do
  117. script.ArtificialHB:Fire()
  118. end
  119. lastframe = tick()
  120. end
  121. if tossremainder then
  122. tf = 0
  123. else
  124. tf = tf - frame * math.floor(tf / frame)
  125. end
  126. end
  127. end)
  128.  
  129. --//=================================\\
  130. --\\=================================//
  131.  
  132. --//=================================\\
  133. --|| SOME FUNCTIONS
  134. --\\=================================//
  135.  
  136. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  137. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  138. end
  139.  
  140. function PositiveAngle(NUMBER)
  141. if NUMBER >= 0 then
  142. NUMBER = 0
  143. end
  144. return NUMBER
  145. end
  146.  
  147. function NegativeAngle(NUMBER)
  148. if NUMBER <= 0 then
  149. NUMBER = 0
  150. end
  151. return NUMBER
  152. end
  153.  
  154. function Swait(NUMBER)
  155. if NUMBER == 0 or NUMBER == nil then
  156. ArtificialHB.Event:wait()
  157. else
  158. for i = 1, NUMBER do
  159. ArtificialHB.Event:wait()
  160. end
  161. end
  162. end
  163.  
  164. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  165. local NEWMESH = IT(MESH)
  166. if MESH == "SpecialMesh" then
  167. NEWMESH.MeshType = MESHTYPE
  168. if MESHID ~= "nil" and MESHID ~= "" then
  169. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  170. end
  171. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  172. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  173. end
  174. end
  175. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  176. NEWMESH.Scale = SCALE
  177. NEWMESH.Parent = PARENT
  178. return NEWMESH
  179. end
  180.  
  181. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  182. local NEWPART = IT("Part")
  183. NEWPART.formFactor = FORMFACTOR
  184. NEWPART.Reflectance = REFLECTANCE
  185. NEWPART.Transparency = TRANSPARENCY
  186. NEWPART.CanCollide = false
  187. NEWPART.Locked = true
  188. NEWPART.Anchored = true
  189. if ANCHOR == false then
  190. NEWPART.Anchored = false
  191. end
  192. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  193. NEWPART.Name = NAME
  194. NEWPART.Size = SIZE
  195. NEWPART.Position = Torso.Position
  196. NEWPART.Material = MATERIAL
  197. NEWPART:BreakJoints()
  198. NEWPART.Parent = PARENT
  199. return NEWPART
  200. end
  201.  
  202. local function weldBetween(a, b)
  203. local weldd = Instance.new("ManualWeld")
  204. weldd.Part0 = a
  205. weldd.Part1 = b
  206. weldd.C0 = CFrame.new()
  207. weldd.C1 = b.CFrame:inverse() * a.CFrame
  208. weldd.Parent = a
  209. return weldd
  210. end
  211.  
  212.  
  213. function QuaternionFromCFrame(cf)
  214. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  215. local trace = m00 + m11 + m22
  216. if trace > 0 then
  217. local s = math.sqrt(1 + trace)
  218. local recip = 0.5 / s
  219. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  220. else
  221. local i = 0
  222. if m11 > m00 then
  223. i = 1
  224. end
  225. if m22 > (i == 0 and m00 or m11) then
  226. i = 2
  227. end
  228. if i == 0 then
  229. local s = math.sqrt(m00 - m11 - m22 + 1)
  230. local recip = 0.5 / s
  231. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  232. elseif i == 1 then
  233. local s = math.sqrt(m11 - m22 - m00 + 1)
  234. local recip = 0.5 / s
  235. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  236. elseif i == 2 then
  237. local s = math.sqrt(m22 - m00 - m11 + 1)
  238. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  239. end
  240. end
  241. end
  242.  
  243. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  244. local xs, ys, zs = x + x, y + y, z + z
  245. local wx, wy, wz = w * xs, w * ys, w * zs
  246. local xx = x * xs
  247. local xy = x * ys
  248. local xz = x * zs
  249. local yy = y * ys
  250. local yz = y * zs
  251. local zz = z * zs
  252. 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))
  253. end
  254.  
  255. function QuaternionSlerp(a, b, t)
  256. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  257. local startInterp, finishInterp;
  258. if cosTheta >= 0.0001 then
  259. if (1 - cosTheta) > 0.0001 then
  260. local theta = ACOS(cosTheta)
  261. local invSinTheta = 1 / SIN(theta)
  262. startInterp = SIN((1 - t) * theta) * invSinTheta
  263. finishInterp = SIN(t * theta) * invSinTheta
  264. else
  265. startInterp = 1 - t
  266. finishInterp = t
  267. end
  268. else
  269. if (1 + cosTheta) > 0.0001 then
  270. local theta = ACOS(-cosTheta)
  271. local invSinTheta = 1 / SIN(theta)
  272. startInterp = SIN((t - 1) * theta) * invSinTheta
  273. finishInterp = SIN(t * theta) * invSinTheta
  274. else
  275. startInterp = t - 1
  276. finishInterp = t
  277. end
  278. end
  279. 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
  280. end
  281.  
  282. function Clerp(a, b, t)
  283. local qa = {QuaternionFromCFrame(a)}
  284. local qb = {QuaternionFromCFrame(b)}
  285. local ax, ay, az = a.x, a.y, a.z
  286. local bx, by, bz = b.x, b.y, b.z
  287. local _t = 1 - t
  288. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  289. end
  290.  
  291. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  292. local frame = IT("Frame")
  293. frame.BackgroundTransparency = TRANSPARENCY
  294. frame.BorderSizePixel = BORDERSIZEPIXEL
  295. frame.Position = POSITION
  296. frame.Size = SIZE
  297. frame.BackgroundColor3 = COLOR
  298. frame.BorderColor3 = BORDERCOLOR
  299. frame.Name = NAME
  300. frame.Parent = PARENT
  301. return frame
  302. end
  303.  
  304. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  305. local label = IT("TextLabel")
  306. label.BackgroundTransparency = 1
  307. label.Size = UD2(1, 0, 1, 0)
  308. label.Position = UD2(0, 0, 0, 0)
  309. label.TextColor3 = TEXTCOLOR
  310. label.TextStrokeTransparency = STROKETRANSPARENCY
  311. label.TextTransparency = TRANSPARENCY
  312. label.FontSize = TEXTFONTSIZE
  313. label.Font = TEXTFONT
  314. label.BorderSizePixel = BORDERSIZEPIXEL
  315. label.TextScaled = false
  316. label.Text = TEXT
  317. label.Name = NAME
  318. label.Parent = PARENT
  319. return label
  320. end
  321.  
  322. function NoOutlines(PART)
  323. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  324. end
  325.  
  326. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  327. local NEWWELD = IT(TYPE)
  328. NEWWELD.Part0 = PART0
  329. NEWWELD.Part1 = PART1
  330. NEWWELD.C0 = C0
  331. NEWWELD.C1 = C1
  332. NEWWELD.Parent = PARENT
  333. return NEWWELD
  334. end
  335.  
  336. local S = IT("Sound")
  337. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  338. local NEWSOUND = nil
  339. coroutine.resume(coroutine.create(function()
  340. NEWSOUND = S:Clone()
  341. NEWSOUND.Parent = PARENT
  342. NEWSOUND.Volume = VOLUME
  343. NEWSOUND.Pitch = PITCH
  344. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  345. NEWSOUND:play()
  346. if DOESLOOP == true then
  347. NEWSOUND.Looped = true
  348. else
  349. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  350. NEWSOUND:remove()
  351. end
  352. end))
  353. return NEWSOUND
  354. end
  355.  
  356. function CFrameFromTopBack(at, top, back)
  357. local right = top:Cross(back)
  358. 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)
  359. end
  360.  
  361. --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})
  362. function WACKYEFFECT(Table)
  363. local TYPE = (Table.EffectType or "Sphere")
  364. local SIZE = (Table.Size or VT(1,1,1))
  365. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  366. local TRANSPARENCY = (Table.Transparency or 0)
  367. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  368. local CFRAME = (Table.CFrame or Torso.CFrame)
  369. local MOVEDIRECTION = (Table.MoveToPos or nil)
  370. local ROTATION1 = (Table.RotationX or 0)
  371. local ROTATION2 = (Table.RotationY or 0)
  372. local ROTATION3 = (Table.RotationZ or 0)
  373. local MATERIAL = (Table.Material or "Neon")
  374. local COLOR = (Table.Color or C3(1,1,1))
  375. local TIME = (Table.Time or 45)
  376. local SOUNDID = (Table.SoundID or nil)
  377. local SOUNDPITCH = (Table.SoundPitch or nil)
  378. local SOUNDVOLUME = (Table.SoundVolume or nil)
  379. coroutine.resume(coroutine.create(function()
  380. local PLAYSSOUND = false
  381. local SOUND = nil
  382. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  383. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  384. PLAYSSOUND = true
  385. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  386. end
  387. EFFECT.Color = COLOR
  388. local MSH = nil
  389. if TYPE == "Sphere" then
  390. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  391. elseif TYPE == "Block" then
  392. MSH = IT("BlockMesh",EFFECT)
  393. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  394. elseif TYPE == "Wave" then
  395. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  396. elseif TYPE == "Ring" then
  397. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  398. elseif TYPE == "Slash" then
  399. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  400. elseif TYPE == "Round Slash" then
  401. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  402. elseif TYPE == "Swirl" then
  403. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  404. elseif TYPE == "Skull" then
  405. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  406. elseif TYPE == "Crystal" then
  407. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  408. end
  409. if MSH ~= nil then
  410. local MOVESPEED = nil
  411. if MOVEDIRECTION ~= nil then
  412. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  413. end
  414. local GROWTH = SIZE - ENDSIZE
  415. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  416. if TYPE == "Block" then
  417. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  418. else
  419. EFFECT.CFrame = CFRAME
  420. end
  421. for LOOP = 1, TIME+1 do
  422. Swait()
  423. MSH.Scale = MSH.Scale - GROWTH/TIME
  424. if TYPE == "Wave" then
  425. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  426. end
  427. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  428. if TYPE == "Block" then
  429. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  430. else
  431. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  432. end
  433. if MOVEDIRECTION ~= nil then
  434. local ORI = EFFECT.Orientation
  435. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  436. EFFECT.Orientation = ORI
  437. end
  438. end
  439. if PLAYSSOUND == false then
  440. EFFECT:remove()
  441. else
  442. SOUND.Stopped:Connect(function()
  443. EFFECT:remove()
  444. end)
  445. end
  446. else
  447. if PLAYSSOUND == false then
  448. EFFECT:remove()
  449. else
  450. repeat Swait() until SOUND.Playing == false
  451. EFFECT:remove()
  452. end
  453. end
  454. end))
  455. end
  456.  
  457. function MakeForm(PART,TYPE)
  458. if TYPE == "Cyl" then
  459. local MSH = IT("CylinderMesh",PART)
  460. elseif TYPE == "Ball" then
  461. local MSH = IT("SpecialMesh",PART)
  462. MSH.MeshType = "Sphere"
  463. elseif TYPE == "Wedge" then
  464. local MSH = IT("SpecialMesh",PART)
  465. MSH.MeshType = "Wedge"
  466. end
  467. end
  468.  
  469. function SpawnTrail(FROM,TO,BIG)
  470. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really white", "Trail", VT(0,0,0))
  471. MakeForm(TRAIL,"Cyl")
  472. local DIST = (FROM - TO).Magnitude
  473. if BIG == true then
  474. TRAIL.Size = VT(0.5,DIST,0.5)
  475. else
  476. TRAIL.Size = VT(0.25,DIST,0.25)
  477. end
  478. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  479. coroutine.resume(coroutine.create(function()
  480. for i = 1, 5 do
  481. Swait()
  482. TRAIL.Transparency = TRAIL.Transparency + 0.1
  483. end
  484. TRAIL:remove()
  485. end))
  486. end
  487.  
  488. Debris = game:GetService("Debris")
  489.  
  490. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  491. local DIRECTION = CF(StartPos,EndPos).lookVector
  492. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  493. end
  494.  
  495. function turnto(position)
  496. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  497. end
  498. local asd = Instance.new("ParticleEmitter")
  499. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  500. asd.LightEmission = .1
  501. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  502. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  503. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  504. asd.Transparency = bbb
  505. asd.Size = aaa
  506. asd.ZOffset = .9
  507. asd.Acceleration = Vector3.new(0, -15, 0)
  508. asd.LockedToPart = false
  509. asd.EmissionDirection = "Back"
  510. asd.Lifetime = NumberRange.new(1, 2)
  511. asd.Rotation = NumberRange.new(-100, 100)
  512. asd.RotSpeed = NumberRange.new(-100, 100)
  513. asd.Speed = NumberRange.new(10)
  514. asd.Enabled = false
  515. asd.VelocitySpread = 999
  516.  
  517. function getbloody(victim,amount)
  518. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  519. PART.CFrame = victim.CFrame
  520. local HITPLAYERSOUNDS = {"356551938","264486467"}
  521. Debris:AddItem(PART,5)
  522. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  523. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  524. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  525. local prtcl = asd:Clone()
  526. prtcl.Parent = PART
  527. prtcl:Emit(amount*10)
  528. end
  529.  
  530. local Particle = IT("ParticleEmitter",nil)
  531. Particle.Enabled = false
  532. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  533. Particle.LightEmission = 0.5
  534. Particle.Rate = 150
  535. Particle.ZOffset = 1
  536. Particle.Rotation = NumberRange.new(-180, 180)
  537. Particle.RotSpeed = NumberRange.new(-180, 180)
  538. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  539. Particle.Color = ColorSequence.new(C3(255, 255, 255),C3(0.4,0,0))
  540.  
  541. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  542. function ParticleEmitter(Table)
  543. local PRTCL = Particle:Clone()
  544. local Speed = Table.Speed or 5
  545. local Drag = Table.Drag or 0
  546. local Size1 = Table.Size1 or 1
  547. local Size2 = Table.Size2 or 5
  548. local Lifetime1 = Table.Lifetime1 or 1
  549. local Lifetime2 = Table.Lifetime2 or 1.5
  550. local Parent = Table.Parent or Torso
  551. local Emit = Table.Emit or 100
  552. local Offset = Table.Offset or 360
  553. local Acel = Table.Acel or VT(0,0,0)
  554. local Enabled = Table.Enabled or false
  555. PRTCL.Parent = Parent
  556. PRTCL.Size = NumberSequence.new(Size1,Size2)
  557. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  558. PRTCL.Speed = NumberRange.new(Speed)
  559. PRTCL.VelocitySpread = Offset
  560. PRTCL.Drag = Drag
  561. PRTCL.Acceleration = Acel
  562. if Enabled == false then
  563. PRTCL:Emit(Emit)
  564. Debris:AddItem(PRTCL,Lifetime2)
  565. else
  566. PRTCL.Enabled = true
  567. end
  568. return PRTCL
  569. end
  570.  
  571. --//=================================\\
  572. --|| WEAPON CREATION
  573. --\\=================================//
  574.  
  575. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really white", "Hood", VT(1,1,1),false)
  576. PRT.Color = C3(0,0,0)
  577. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  578. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  579. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really white", "Scarf", VT(1,1,1),false)
  580. PRT.Color = C3(0,0,0)
  581. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  582. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  583. for i = 1, 16 do
  584. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
  585. FACE.Color = C3(0,0,0)
  586. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  587. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
  588. end
  589. local LASTPART = Head
  590. for i = 1, 20 do
  591. local MATH = (1-(i/25))
  592. if LASTPART == Head then
  593. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  594. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  595. LASTPART = Horn
  596. Horn.Color = C3((i*3-3)/255,0,0)
  597. else
  598. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  599. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  600. LASTPART = Horn
  601. Horn.Color = C3((i*3-3)/255,0,0)
  602. end
  603. end
  604. local LASTPART = Head
  605. for i = 1, 20 do
  606. local MATH = (1-(i/25))
  607. if LASTPART == Head then
  608. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  609. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  610. LASTPART = Horn
  611. Horn.Color = C3((i*3-3)/255,0,0)
  612. else
  613. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  614. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
  615. LASTPART = Horn
  616. Horn.Color = C3((i*3-3)/255,0,0)
  617. end
  618. end
  619. local Hair = CreatePart(3, Character, "Fabric", 0, 0, "Really blue", "Hair", VT(1,1,1),false)
  620. local HairWeld1 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.1,-0.25) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  621. CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "", VT(0.025, 0.025, 0.02), VT(0,0,0))
  622. local Hair = CreatePart(3, Character, "Fabric", 0, 0, "Really red", "Hair", VT(1,1,1),false)
  623. local HairWeld2 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  624. CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "", VT(0.03, 0.015, 0.01), VT(0,0,-0.1))
  625.  
  626. local BODY = {}
  627.  
  628. for _, c in pairs(Character:GetDescendants()) do
  629. if c:IsA("BasePart") and c.Name ~= "Handle" then
  630. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  631. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  632. end
  633. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  634. elseif c:IsA("JointInstance") then
  635. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  636. end
  637. end
  638.  
  639. for e = 1, #BODY do
  640. if BODY[e] ~= nil then
  641. local STUFF = BODY[e]
  642. local PART = STUFF[1]
  643. local PARENT = STUFF[2]
  644. local MATERIAL = STUFF[3]
  645. local COLOR = STUFF[4]
  646. local TRANSPARENCY = STUFF[5]
  647. if PART.ClassName == "Part" and PART ~= RootPart then
  648. PART.Material = MATERIAL
  649. PART.Color = COLOR
  650. PART.Transparency = TRANSPARENCY
  651. end
  652. PART.AncestryChanged:Connect(function()
  653. PART.Parent = PARENT
  654. end)
  655. end
  656. end
  657.  
  658. function refit()
  659. Character.Parent = workspace
  660. for e = 1, #BODY do
  661. if BODY[e] ~= nil then
  662. local STUFF = BODY[e]
  663. local PART = STUFF[1]
  664. local PARENT = STUFF[2]
  665. local MATERIAL = STUFF[3]
  666. local COLOR = STUFF[4]
  667. local TRANSPARENCY = STUFF[5]
  668. if PART.ClassName == "Part" and PART ~= RootPart then
  669. PART.Material = MATERIAL
  670. PART.Color = COLOR
  671. PART.Transparency = TRANSPARENCY
  672. end
  673. if PART.Parent ~= PARENT then
  674. Humanoid:remove()
  675. PART.Parent = PARENT
  676. Humanoid = IT("Humanoid",Character)
  677. end
  678. end
  679. end
  680. end
  681.  
  682.  
  683. function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
  684. if FLOOR ~= nil then
  685. coroutine.resume(coroutine.create(function()
  686. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
  687. PART.CFrame = CF(POSITION)
  688. for i = 1, 45 do
  689. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  690. RingPiece.Material = FLOOR.Material
  691. RingPiece.Color = FLOOR.Color
  692. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i * 8), RAD(0)) * CF(SIZE * 4, 0, 0) * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  693. Debris:AddItem(RingPiece, SWAIT)
  694. end
  695. PART:remove()
  696. end))
  697. end
  698. end
  699. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
  700. if FLOOR ~= nil then
  701. for i = 1, AMOUNT do
  702. do
  703. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  704. DEBREE.Material = FLOOR.Material
  705. DEBREE.Color = FLOOR.Color
  706. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  707. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH))
  708. coroutine.resume(coroutine.create(function()
  709. Swait(15)
  710. DEBREE.Parent = workspace
  711. DEBREE.CanCollide = true
  712. Debris:AddItem(DEBREE, SWAIT)
  713. end))
  714. end
  715. end
  716. end
  717. end
  718.  
  719. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  720. MakeForm(LeftHole,"Cyl")
  721. CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
  722. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Eye", VT(0.6,0.1,1)/2,false)
  723. MakeForm(Eye,"Ball")
  724. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  725. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Eye", VT(0.6,0.1,1)/2,false)
  726. MakeForm(Eye,"Ball")
  727. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  728. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  729. MakeForm(Eye,"Ball")
  730. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  731. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  732. MakeForm(Eye,"Ball")
  733. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  734. local A = IT("Attachment",Torso)
  735. A.Position = VT(1,1.3,0)
  736. A.Orientation = VT(-0.098, -89.999, 0.227)
  737. local B = IT("Attachment",Torso)
  738. B.Position = VT(-1.3,-0.6,0)
  739. B.Orientation = VT(-88.911, -68.808, 158.782)
  740. local ChainLink = IT("Beam",Torso)
  741. ChainLink.Texture = "rbxassetid://73042633"
  742. ChainLink.Color = ColorSequence.new(C3(0, 0, 255))
  743. ChainLink.TextureSpeed = 1
  744. ChainLink.FaceCamera = true
  745. ChainLink.Width0 = 1
  746. ChainLink.Width1 = 1
  747. ChainLink.TextureLength = 3
  748. ChainLink.Attachment0 = A
  749. ChainLink.Attachment1 = B
  750. ChainLink.CurveSize0 = 1.6
  751. ChainLink.CurveSize1 = 1.6
  752. ChainLink.FaceCamera = true
  753. ChainLink.Transparency = NumberSequence.new(0)
  754. local ChainLink = IT("Beam",Torso)
  755. ChainLink.Texture = "rbxassetid://73042633"
  756. ChainLink.Color = ColorSequence.new(C3(0, 0, 255))
  757. ChainLink.TextureSpeed = 1
  758. ChainLink.FaceCamera = true
  759. ChainLink.Width0 = 1
  760. ChainLink.Width1 = 1
  761. ChainLink.TextureLength = 3
  762. ChainLink.Attachment0 = B
  763. ChainLink.Attachment1 = A
  764. ChainLink.CurveSize0 = 1.6
  765. ChainLink.CurveSize1 = 1.6
  766. ChainLink.FaceCamera = true
  767. ChainLink.Transparency = NumberSequence.new(0)
  768. local A = IT("Attachment",Torso)
  769. A.Position = VT(1.3,-0.85,0)
  770. A.Orientation = VT(-0.098, -89.999, 0.227)
  771. local B = IT("Attachment",Torso)
  772. B.Position = VT(-1,2,0)
  773. B.Orientation = VT(-88.911, -68.808, 158.782)
  774. local ChainLink = IT("Beam",Torso)
  775. ChainLink.Texture = "rbxassetid://73042633"
  776. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  777. ChainLink.TextureSpeed = 1
  778. ChainLink.FaceCamera = true
  779. ChainLink.Width0 = 1
  780. ChainLink.Width1 = 1
  781. ChainLink.TextureLength = 3
  782. ChainLink.Attachment0 = A
  783. ChainLink.Attachment1 = B
  784. ChainLink.CurveSize0 = 1.3
  785. ChainLink.CurveSize1 = 1.3
  786. ChainLink.FaceCamera = true
  787. ChainLink.Transparency = NumberSequence.new(0)
  788. local ChainLink = IT("Beam",Torso)
  789. ChainLink.Texture = "rbxassetid://73042633"
  790. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  791. ChainLink.TextureSpeed = 1
  792. ChainLink.FaceCamera = true
  793. ChainLink.Width0 = 1
  794. ChainLink.Width1 = 1
  795. ChainLink.TextureLength = 3
  796. ChainLink.Attachment0 = B
  797. ChainLink.Attachment1 = A
  798. ChainLink.CurveSize0 = 1.3
  799. ChainLink.CurveSize1 = 1.3
  800. ChainLink.FaceCamera = true
  801. ChainLink.Transparency = NumberSequence.new(0)
  802.  
  803. local A = IT("Attachment",RightBarrel)
  804. A.Position = VT(0,-2.5,0)
  805. local B = IT("Attachment",RightBarrel)
  806. B.Position = VT(0,2.5,0)
  807. local Trail = IT("Trail",RightBarrel)
  808. Trail.Attachment0 = A
  809. Trail.Attachment1 = B
  810. Trail.Lifetime = 0.2
  811. Trail.Color = ColorSequence.new(BRICKC"Really white".Color)
  812. Trail.Transparency = NumberSequence.new(0, 1)
  813. Trail.Enabled = false
  814.  
  815. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightLeg, Emit = 100, Offset = 360, Enabled = true})
  816. PRT.LockedToPart = true
  817. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftLeg, Emit = 100, Offset = 360, Enabled = true})
  818. PRT.LockedToPart = true
  819. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = true})
  820. PRT.LockedToPart = true
  821. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightArm, Emit = 100, Offset = 360, Enabled = true})
  822. PRT.LockedToPart = true
  823. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftArm, Emit = 100, Offset = 360, Enabled = true})
  824. PRT.LockedToPart = true
  825. for _, c in pairs(Character:GetDescendants()) do
  826. if c and c.Parent then
  827. if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
  828. local ACCESSORY = c.Parent
  829. c.Parent = Character
  830. if c then
  831. if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
  832. weldBetween(Head,c)
  833. else
  834. weldBetween(Torso,c)
  835. end
  836. end
  837. end
  838. end
  839. end
  840. local BODY = {}
  841. for _, c in pairs(Character:GetDescendants()) do
  842. if c:IsA("BasePart") and c.Name ~= "Handle" then
  843. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  844. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  845. end
  846. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
  847. elseif c:IsA("JointInstance") then
  848. table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
  849. end
  850. end
  851. function refit()
  852. Character.Parent = workspace
  853. for e = 1, #BODY do
  854. if BODY[e] ~= nil then
  855. local STUFF = BODY[e]
  856. local PART = STUFF[1]
  857. local PARENT = STUFF[2]
  858. local MATERIAL = STUFF[3]
  859. local COLOR = STUFF[4]
  860. local TRANSPARENCY = STUFF[5]
  861. --local SIZE = STUFF[6]
  862. local NAME = STUFF[7]
  863. if PART.ClassName == "Part" and PART ~= RootPart then
  864. PART.Material = MATERIAL
  865. PART.Transparency = TRANSPARENCY
  866. PART.Name = NAME
  867. end
  868. if PART.Parent ~= PARENT then
  869. Humanoid:remove()
  870. PART.Parent = PARENT
  871. Humanoid = IT("Humanoid",Character)
  872. end
  873. end
  874. end
  875. end
  876.  
  877.  
  878. local Particle = IT("ParticleEmitter",nil)
  879. Particle.Enabled = false
  880. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  881. Particle.LightEmission = 0.5
  882. Particle.Rate = 150
  883. Particle.ZOffset = 0.2
  884. Particle.Rotation = NumberRange.new(-180, 180)
  885. Particle.RotSpeed = NumberRange.new(-180, 180)
  886. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  887. Particle.Color = ColorSequence.new(C3(255,255,255),C3(0.4,0,0))
  888.  
  889. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  890. function ParticleEmitter(Table)
  891. local PRTCL = Particle:Clone()
  892. local Speed = Table.Speed or 5
  893. local Drag = Table.Drag or 0
  894. local Size1 = Table.Size1 or 1
  895. local Size2 = Table.Size2 or 5
  896. local Lifetime1 = Table.Lifetime1 or 1
  897. local Lifetime2 = Table.Lifetime2 or 1.5
  898. local Parent = Table.Parent or Torso
  899. local Emit = Table.Emit or 100
  900. local Offset = Table.Offset or 360
  901. local Acel = Table.Acel or VT(0,0,0)
  902. local Enabled = Table.Enabled or false
  903. PRTCL.Parent = Parent
  904. PRTCL.Size = NumberSequence.new(Size1,Size2)
  905. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  906. PRTCL.Speed = NumberRange.new(Speed)
  907. PRTCL.VelocitySpread = Offset
  908. PRTCL.Drag = Drag
  909. PRTCL.Acceleration = Acel
  910. if Enabled == false then
  911. PRTCL:Emit(Emit)
  912. Debris:AddItem(PRTCL,Lifetime2)
  913. else
  914. PRTCL.Enabled = true
  915. end
  916. return PRTCL
  917. end
  918.  
  919. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  920. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  921. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  922. MakeForm(Part,"Wedge")
  923. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  924. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  925. MakeForm(Part,"Wedge")
  926. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  927. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  928. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  929. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  930. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  931. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  932. MakeForm(Part,"Cyl")
  933. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  934. for i = 1, 8 do
  935. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  936. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  937. end
  938. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  939. MakeForm(Part,"Cyl")
  940. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  941. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  942. MakeForm(Part,"Ball")
  943. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  944. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  945. MakeForm(Part,"Wedge")
  946. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  947. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  948. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  949. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  950. MakeForm(Part,"Cyl")
  951. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  952. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  953. MakeForm(Part,"Cyl")
  954. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  955. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  956. MakeForm(Part,"Cyl")
  957. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  958. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  959. MakeForm(Part,"Wedge")
  960. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  961. local LASTPART = Handle
  962. for i = 1, 10 do
  963. if LASTPART == Handle then
  964. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  965. LASTPART = Part
  966. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  967. else
  968. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  969. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  970. LASTPART = Part
  971. end
  972. end
  973.  
  974. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  975. MakeForm(Barrel,"Cyl")
  976. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  977. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  978. MakeForm(Part,"Cyl")
  979. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  980. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  981. MakeForm(Part,"Wedge")
  982. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  983. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  984. MakeForm(Hole,"Cyl")
  985. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  986. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  987. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  988. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  989. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  990. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  991. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  992. coroutine.resume(coroutine.create(function()
  993. while wait() do
  994. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  995. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  996. end
  997. end))
  998.  
  999. 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)})
  1000. --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)})
  1001.  
  1002. for _, c in pairs(Weapon:GetDescendants()) do
  1003. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1004. c.Material = "Glass"
  1005. c.Color = C3(255,255,255)
  1006. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1007. c.Color = C3(255,255,255)
  1008. c.Material = "Neon"
  1009. end
  1010. end
  1011.  
  1012. Weapon.Parent = Character
  1013. for _, c in pairs(Weapon:GetChildren()) do
  1014. if c.ClassName == "Part" then
  1015. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1016. end
  1017. end
  1018.  
  1019. local SKILLTEXTCOLOR = C3(255,255,255)
  1020. local SKILLFONT = "Antique"
  1021. local SKILLTEXTSIZE = 7
  1022.  
  1023. Humanoid.Died:connect(function()
  1024. ATTACK = true
  1025. end)
  1026.  
  1027. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1028. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1029.  
  1030. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Bullet", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 1")
  1031. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Smash", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 2")
  1032.  
  1033. function printbye(Name)
  1034. 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, "}
  1035. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1036. end
  1037.  
  1038. workspace.ChildAdded:connect(function(instance)
  1039. for BANISH = 1, #TOBANISH do
  1040. if TOBANISH[BANISH] ~= nil then
  1041. if instance.Name == TOBANISH[BANISH] then
  1042. coroutine.resume(coroutine.create(function()
  1043. printbye(instance.Name)
  1044. instance:ClearAllChildren()
  1045. Debris:AddItem(instance,0.0005)
  1046. end))
  1047. end
  1048. end
  1049. end
  1050. end)
  1051.  
  1052. --//=================================\\
  1053. --|| DAMAGING
  1054. --\\=================================//
  1055.  
  1056. function Banish(Foe)
  1057. if Foe then
  1058. coroutine.resume(coroutine.create(function()
  1059. --if game.Players:FindFirstChild(Foe.Name) then
  1060. table.insert(TOBANISH,Foe.Name)
  1061. printbye(Foe.Name)
  1062. --end
  1063. Foe.Archivable = true
  1064. local CLONE = Foe:Clone()
  1065. Foe:Destroy()
  1066. CLONE.Parent = Effects
  1067. CLONE:BreakJoints()
  1068. local MATERIALS = {"Glass","Neon"}
  1069. for _, c in pairs(CLONE:GetDescendants()) do
  1070. if c:IsA("BasePart") then
  1071. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1072. CreateSound(340722848, c, 10, 1, false)
  1073. end
  1074. c.Anchored = true
  1075. c.Transparency = c.Transparency + 0.2
  1076. c.Material = MATERIALS[MRANDOM(1,2)]
  1077. c.Color = C3(255, 255, 255)
  1078. if c.ClassName == "MeshPart" then
  1079. c.TextureID = ""
  1080. end
  1081. if c:FindFirstChildOfClass("SpecialMesh") then
  1082. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1083. end
  1084. if c:FindFirstChildOfClass("Decal") then
  1085. c:FindFirstChildOfClass("Decal"):remove()
  1086. end
  1087. c.Name = "Banished"
  1088. c.CanCollide = false
  1089. else
  1090. c:remove()
  1091. end
  1092. end
  1093. local A = false
  1094. for i = 1, 35 do
  1095. if A == false then
  1096. A = true
  1097. elseif A == true then
  1098. A = false
  1099. end
  1100. for _, c in pairs(CLONE:GetDescendants()) do
  1101. if c:IsA("BasePart") then
  1102. c.Anchored = true
  1103. c.Material = MATERIALS[MRANDOM(1,2)]
  1104. c.Transparency = c.Transparency + 0.8/35
  1105. if A == false then
  1106. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1107. elseif A == true then
  1108. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1109. end
  1110. end
  1111. end
  1112. Swait()
  1113. end
  1114. CLONE:remove()
  1115. end))
  1116. end
  1117. end
  1118.  
  1119. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1120. local CHILDREN = workspace:GetDescendants()
  1121. for index, CHILD in pairs(CHILDREN) do
  1122. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1123. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1124. if HUM then
  1125. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1126. if TORSO then
  1127. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1128. if ISBANISH == true then
  1129. Banish(CHILD)
  1130. else
  1131. if ISBANISH == "Gravity" then
  1132. HUM.PlatformStand = true
  1133. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1134. local grav = Instance.new("BodyPosition",TORSO)
  1135. grav.D = 15
  1136. grav.P = 20000
  1137. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1138. grav.position = TORSO.Position
  1139. grav.Name = "V3BanishForce"..Player.Name
  1140. else
  1141. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1142. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1143. end
  1144. else
  1145. HUM.PlatformStand = false
  1146. end
  1147. end
  1148. elseif ISBANISH == "Gravity" then
  1149. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1150. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1151. HUM.PlatformStand = false
  1152. end
  1153. end
  1154. end
  1155. end
  1156. end
  1157. end
  1158. end
  1159.  
  1160. --//=================================\\
  1161. --|| ATTACK FUNCTIONS AND STUFF
  1162. --\\=================================//
  1163.  
  1164. function Extreme_Offset()
  1165. local HITFLOOR, HITPOS = Raycast(Mouse.Hit.p + VT(0, 1, 0), CF(Mouse.Hit.p + VT(0, 1, 0), Mouse.Hit.p - VT(0, 1, 0)).lookVector, 25, Character)
  1166. if HITFLOOR then
  1167. local ORIGINPOS = VT(RootPart.Position.X, HITPOS.Y + 8, RootPart.Position.Z)
  1168. CreateSound("1295446488", Torso, 5, 1)
  1169. for i = 1, 5 do
  1170. WACKYEFFECT({
  1171. Time = MRANDOM(15, 35),
  1172. EffectType = "Round Slash",
  1173. Size = VT(0, 0, 0),
  1174. Size2 = VT(0.3, 0, 0.3),
  1175. Transparency = 0.5,
  1176. Transparency2 = 1,
  1177. CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
  1178. MoveToPos = nil,
  1179. RotationX = MRANDOM(-50, 50) / 10,
  1180. RotationY = MRANDOM(-50, 50) / 10,
  1181. RotationZ = MRANDOM(-50, 50) / 10,
  1182. Material = "Neon",
  1183. Color = C3(1, 1, 1),
  1184. SoundID = nil,
  1185. SoundPitch = nil,
  1186. SoundVolume = nil
  1187. })
  1188. end
  1189. ATTACK = true
  1190. Rooted = true
  1191. UNANCHOR = false
  1192. RootPart.Anchored = true
  1193. RootPart.CFrame = CF(HITPOS + VT(0, 8, 0), ORIGINPOS) * ANGLES(RAD(0), RAD(180), RAD(0))
  1194. for i = 1, 5 do
  1195. WACKYEFFECT({
  1196. Time = MRANDOM(15, 35),
  1197. EffectType = "Round Slash",
  1198. Size = VT(0, 0, 0),
  1199. Size2 = VT(0.3, 0, 0.3),
  1200. Transparency = 0.5,
  1201. Transparency2 = 1,
  1202. CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
  1203. MoveToPos = nil,
  1204. RotationX = MRANDOM(-50, 50) / 10,
  1205. RotationY = MRANDOM(-50, 50) / 10,
  1206. RotationZ = MRANDOM(-50, 50) / 10,
  1207. Material = "Neon",
  1208. Color = C3(1, 1, 1),
  1209. SoundID = nil,
  1210. SoundPitch = nil,
  1211. SoundVolume = nil
  1212. })
  1213. end
  1214. for i = 0, 0.2, 0.1 / Animation_Speed do
  1215. Swait()
  1216. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(150)), 2 / Animation_Speed)
  1217. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1218. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1219. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1220. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1221. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 2 / Animation_Speed)
  1222. end
  1223. for i = 0, 1, 0.1 / Animation_Speed do
  1224. Swait()
  1225. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 0.02 / Animation_Speed)
  1226. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.02 / Animation_Speed)
  1227. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.02 / Animation_Speed)
  1228. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.02 / Animation_Speed)
  1229. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.02 / Animation_Speed)
  1230. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 0.02 / Animation_Speed)
  1231. end
  1232. for i = 1, 10 do
  1233. Swait()
  1234. RootPart.CFrame = RootPart.CFrame * CF(0, -0.4, 0)
  1235. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 1.7 / Animation_Speed)
  1236. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1.7 / Animation_Speed)
  1237. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 1.7 / Animation_Speed)
  1238. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.7 / Animation_Speed)
  1239. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.7 / Animation_Speed)
  1240. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.7 / Animation_Speed)
  1241. end
  1242. for i = 0, 0.2, 0.1 / Animation_Speed do
  1243. Swait()
  1244. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
  1245. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
  1246. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1247. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  1248. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  1249. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  1250. end
  1251. local HITFLOOR, HITPOS = Raycast(RightArm.Position, CF(RightArm.Position, RightArm.Position + VT(0, -1, 0)).lookVector, 8, Character)
  1252. if HITFLOOR then
  1253. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  1254. local CHILDREN = HITFLOOR.Parent:GetDescendants()
  1255. for index, CHILD in pairs(CHILDREN) do
  1256. if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
  1257. for i = 1, 5 do
  1258. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
  1259. CHILD:remove()
  1260. end
  1261. end
  1262. end
  1263. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  1264. SOUNDPART.CFrame = CF(HITPOS)
  1265. Debris:AddItem(SOUNDPART, 5)
  1266. CreateSound("130972023", SOUNDPART, 6, 3)
  1267. CreateSound("182765513", SOUNDPART, 6, 1)
  1268. WACKYEFFECT({
  1269. EffectType = "Ring",
  1270. Size = VT(0, 0, 0),
  1271. Size2 = VT(1, 1, 0),
  1272. Transparency = 0.7,
  1273. Transparency2 = 1,
  1274. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  1275. MoveToPos = nil,
  1276. RotationX = 0,
  1277. RotationY = 0,
  1278. RotationZ = 0,
  1279. Material = "Neon",
  1280. Color = C3(1, 1, 1),
  1281. SoundID = nil,
  1282. SoundPitch = nil,
  1283. SoundVolume = nil
  1284. })
  1285. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1286. local CHILDREN = HITFLOOR.Parent.Parent:GetDescendants()
  1287. for index, CHILD in pairs(CHILDREN) do
  1288. if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
  1289. for i = 1, 5 do
  1290. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
  1291. CHILD:remove()
  1292. end
  1293. end
  1294. end
  1295. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  1296. SOUNDPART.CFrame = CF(HITPOS)
  1297. Debris:AddItem(SOUNDPART, 5)
  1298. CreateSound("130972023", SOUNDPART, 6, 3)
  1299. CreateSound("182765513", SOUNDPART, 6, 1)
  1300. WACKYEFFECT({
  1301. EffectType = "Ring",
  1302. Size = VT(0, 0, 0),
  1303. Size2 = VT(1, 1, 0),
  1304. Transparency = 0.7,
  1305. Transparency2 = 1,
  1306. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  1307. MoveToPos = nil,
  1308. RotationX = 0,
  1309. RotationY = 0,
  1310. RotationZ = 0,
  1311. Material = "Neon",
  1312. Color = C3(1, 1, 1),
  1313. SoundID = nil,
  1314. SoundPitch = nil,
  1315. SoundVolume = nil
  1316. })
  1317. elseif HITFLOOR.Anchored == false then
  1318. if HITFLOOR.Parent ~= workspace then
  1319. local CHILDREN = HITFLOOR.Parent:GetDescendants()
  1320. for index, CHILD in pairs(CHILDREN) do
  1321. if CHILD:IsA("BasePart") and CHILD.Position.Y < HITPOS.Y then
  1322. for i = 1, 5 do
  1323. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 3, 5, MRANDOM(15, 25))
  1324. end
  1325. CHILD:remove()
  1326. end
  1327. end
  1328. else
  1329. for i = 1, 5 do
  1330. CreateFlyingDebree(HITFLOOR, CF(HITFLOOR.Position), 1, HITFLOOR.Size / 3, 5, MRANDOM(15, 25))
  1331. end
  1332. HITFLOOR:remove()
  1333. end
  1334. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  1335. SOUNDPART.CFrame = CF(HITPOS)
  1336. Debris:AddItem(SOUNDPART, 5)
  1337. CreateSound("130972023", SOUNDPART, 10, 3)
  1338. CreateSound("178452217", SOUNDPART, 6, 1)
  1339. WACKYEFFECT({
  1340. EffectType = "Ring",
  1341. Size = VT(0, 0, 0),
  1342. Size2 = VT(1, 1, 0),
  1343. Transparency = 0.7,
  1344. Transparency2 = 1,
  1345. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  1346. MoveToPos = nil,
  1347. RotationX = 0,
  1348. RotationY = 0,
  1349. RotationZ = 0,
  1350. Material = "Neon",
  1351. Color = C3(1, 1, 1),
  1352. SoundID = nil,
  1353. SoundPitch = nil,
  1354. SoundVolume = nil
  1355. })
  1356. else
  1357. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  1358. SOUNDPART.CFrame = CF(HITPOS)
  1359. Debris:AddItem(SOUNDPART, 5)
  1360. CreateSound("130972023", SOUNDPART, 10, 1)
  1361. CreateSound("130972023", SOUNDPART, 6, 0.7)
  1362. CreateDebreeRing(HITFLOOR, HITPOS, 5, VT(5, 5, 5), 5)
  1363. CreateDebreeRing(HITFLOOR, HITPOS, 8, VT(8, 8, 8), 5)
  1364. ApplyAoE(HITPOS, 15, 45, 75, 75, false)
  1365. ApplyAoE(HITPOS, 25, 25, 35, 35, false)
  1366. for i = 1, 5 do
  1367. CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10), 5, MRANDOM(75, 150))
  1368. end
  1369. for i = 1, 5 do
  1370. CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2), 5, MRANDOM(75, 150))
  1371. end
  1372. end
  1373. end
  1374. for i = 0, 1.2, 0.1 / Animation_Speed do
  1375. Swait()
  1376. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
  1377. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
  1378. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1379. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  1380. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  1381. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  1382. end
  1383. ATTACK = false
  1384. Rooted = false
  1385. UNANCHOR = true
  1386. RootPart.Anchored = false
  1387. end
  1388. end
  1389.  
  1390. function Banisher_Bullet()
  1391. ATTACK = true
  1392. Rooted = false
  1393. for i=0, 0.4, 0.1 / Animation_Speed do
  1394. Swait()
  1395. turnto(Mouse.Hit.p)
  1396. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1397. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1398. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1399. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1400. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1401. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1402. end
  1403. repeat
  1404. for i=0, 0.2, 0.1 / Animation_Speed do
  1405. Swait()
  1406. turnto(Mouse.Hit.p)
  1407. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1408. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1409. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1410. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1411. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1412. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1413. end
  1414. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1415. SpawnTrail(Hole.Position,POS)
  1416. if HIT ~= nil then
  1417. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1418. Banish(HIT.Parent)
  1419. end
  1420. end
  1421. 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(255, 255, 255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1422. 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(255, 255, 255), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1423. 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(255, 255, 255), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1424. 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(255, 255, 255), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1425. for i=0, 0.3, 0.1 / Animation_Speed do
  1426. Swait()
  1427. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1428. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1429. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1430. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1431. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1432. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1433. end
  1434. until KEYHOLD == false
  1435. ATTACK = false
  1436. Rooted = false
  1437. end
  1438.  
  1439. function AttackTemplate()
  1440. ATTACK = true
  1441. Rooted = false
  1442. for i=0, 1, 0.1 / Animation_Speed do
  1443. Swait()
  1444. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1445. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1446. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1447. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1448. 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.15 / Animation_Speed)
  1449. 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.15 / Animation_Speed)
  1450. end
  1451. ATTACK = false
  1452. Rooted = false
  1453. end
  1454.  
  1455. --//=================================\\
  1456. --|| ASSIGN THINGS TO KEYS
  1457. --\\=================================//
  1458.  
  1459. function MouseDown(Mouse)
  1460. if ATTACK == false then
  1461. end
  1462. end
  1463.  
  1464. function MouseUp(Mouse)
  1465. HOLD = false
  1466. end
  1467.  
  1468. function KeyDown(Key)
  1469. KEYHOLD = true
  1470. if Key == "z" and ATTACK == false then
  1471. Banisher_Bullet()
  1472. end
  1473.  
  1474. if Key == "b" and ATTACK == false then
  1475. Extreme_Offset()
  1476. end
  1477.  
  1478. if Key == "c" and ATTACK == false then
  1479. end
  1480.  
  1481. if Key == "v" and ATTACK == false then
  1482. end
  1483.  
  1484. if Key == "x" and ATTACK == false then
  1485. end
  1486. end
  1487.  
  1488. function KeyUp(Key)
  1489. KEYHOLD = false
  1490. end
  1491.  
  1492. Mouse.Button1Down:connect(function(NEWKEY)
  1493. MouseDown(NEWKEY)
  1494. end)
  1495. Mouse.Button1Up:connect(function(NEWKEY)
  1496. MouseUp(NEWKEY)
  1497. end)
  1498. Mouse.KeyDown:connect(function(NEWKEY)
  1499. KeyDown(NEWKEY)
  1500. end)
  1501. Mouse.KeyUp:connect(function(NEWKEY)
  1502. KeyUp(NEWKEY)
  1503. end)
  1504.  
  1505. --//=================================\\
  1506. --\\=================================//
  1507.  
  1508.  
  1509. function unanchor()
  1510. if UNANCHOR == true then
  1511. g = Character:GetChildren()
  1512. for i = 1, #g do
  1513. if g[i].ClassName == "Part" then
  1514. g[i].Anchored = false
  1515. end
  1516. end
  1517. end
  1518. end
  1519.  
  1520.  
  1521. --//=================================\\
  1522. --|| WRAP THE WHOLE SCRIPT UP
  1523. --\\=================================//
  1524.  
  1525. Humanoid.Changed:connect(function(Jump)
  1526. if Jump == "Jump" and (Disable_Jump == true) then
  1527. Humanoid.Jump = false
  1528. end
  1529. end)
  1530.  
  1531. local CONNECT = nil
  1532.  
  1533. while true do
  1534. Swait()
  1535. ANIMATE.Parent = nil
  1536. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1537. Humanoid = IT("Humanoid",Character)
  1538. end
  1539. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1540. v:Stop();
  1541. end
  1542. SINE = SINE + CHANGE
  1543. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1544. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1545. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1546. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1547. HairWeld1.C1 = Clerp(HairWeld1.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0 + 1.5 * SIN(SINE / 12) - 2.5 * COS(SINE / 12)), RAD(4.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1548. HairWeld2.C1 = Clerp(HairWeld2.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0 - 1.5 * SIN(SINE / 12) + 2.5 * COS(SINE / 12)), RAD(-4.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1549. HoodWeld.C1 = Clerp(HoodWeld.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0 + 0.75 * SIN(SINE / 12) - 1.75 * COS(SINE / 12)), RAD(2.75 * SIN(SINE / 12))), 1 / Animation_Speed)
  1550. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1551. 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)
  1552. 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)
  1553. 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)
  1554. 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)
  1555. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1556. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1557. 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)
  1558. 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)
  1559. 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)
  1560. end
  1561. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1562. ANIM = "Jump"
  1563. if ATTACK == false then
  1564. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1565. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1566. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1567. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1568. 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)
  1569. 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)
  1570. end
  1571. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1572. ANIM = "Fall"
  1573. if ATTACK == false then
  1574. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1575. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1576. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1577. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(25), RAD(10), RAD(10)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1578. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1579. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1580. end
  1581. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1582. ANIM = "Idle"
  1583. if ATTACK == false then
  1584. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  1585. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  1586. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(180), RAD(65), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1587. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(35), RAD(20), RAD(10)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1588. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 22), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1589. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 22), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1590. end
  1591. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1592. ANIM = "Walk"
  1593. if ATTACK == false then
  1594. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1595. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1596. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(180), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1597. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1598. 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)
  1599. 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)
  1600. end
  1601. end
  1602. unanchor()
  1603. Humanoid.MaxHealth = "inf"
  1604. Humanoid.Health = "inf"
  1605. if Rooted == false then
  1606. Disable_Jump = false
  1607. Humanoid.WalkSpeed = Speed
  1608. elseif Rooted == true then
  1609. Disable_Jump = true
  1610. Humanoid.WalkSpeed = 0
  1611. end
  1612. sick.Parent = Torso
  1613. sick:resume()
  1614. sick.Volume = 5
  1615. sick.Pitch = 1
  1616. sick.SoundId = "rbxassetid://924339757"
  1617. sick.Name = "BanishV3Music"
  1618. end
  1619.  
  1620. --//=================================\\
  1621. --\\=================================//
  1622.  
  1623.  
  1624.  
  1625.  
  1626.  
  1627. --//====================================================\\--
  1628. --|| END OF SCRIPT
  1629. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment