Advertisement
Mz_TH_edit

Untitled

Jun 21st, 2018
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 48.29 KB | None | 0 0
  1.  
  2. script.Name = "Banisher Gun V3 / 1"
  3. --//====================================================\\--
  4. --|| CREATED BY SHACKLUSTER
  5. --\\====================================================//--
  6.  
  7. script:ClearAllChildren()
  8. wait(0.2)
  9.  
  10. Player = game:GetService("Players").LocalPlayer
  11. PlayerGui = Player.PlayerGui
  12. Cam = workspace.CurrentCamera
  13. Backpack = Player.Backpack
  14. Character = Player.Character
  15. Humanoid = Character.Humanoid
  16. Mouse = Player:GetMouse()
  17. RootPart = Character["HumanoidRootPart"]
  18. Torso = Character["Torso"]
  19. Head = Character["Head"]
  20. RightArm = Character["Right Arm"]
  21. LeftArm = Character["Left Arm"]
  22. RightLeg = Character["Right Leg"]
  23. LeftLeg = Character["Left Leg"]
  24. RootJoint = RootPart["RootJoint"]
  25. Neck = Torso["Neck"]
  26. RightShoulder = Torso["Right Shoulder"]
  27. LeftShoulder = Torso["Left Shoulder"]
  28. RightHip = Torso["Right Hip"]
  29. LeftHip = Torso["Left Hip"]
  30. local TIME = 0
  31. local sick = Instance.new("Sound",Torso)
  32.  
  33. IT = Instance.new
  34. CF = CFrame.new
  35. VT = Vector3.new
  36. RAD = math.rad
  37. C3 = Color3.new
  38. UD2 = UDim2.new
  39. BRICKC = BrickColor.new
  40. ANGLES = CFrame.Angles
  41. EULER = CFrame.fromEulerAnglesXYZ
  42. COS = math.cos
  43. ACOS = math.acos
  44. SIN = math.sin
  45. ASIN = math.asin
  46. ABS = math.abs
  47. MRANDOM = math.random
  48. FLOOR = math.floor
  49.  
  50. --//=================================\\
  51. --|| USEFUL VALUES
  52. --\\=================================//
  53.  
  54. Animation_Speed = 3
  55. local FORCERESET = false
  56. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  57. local Speed = 16
  58. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  59. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  60. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  61. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  62. local DAMAGEMULTIPLIER = 1
  63. local ANIM = "Idle"
  64. local ATTACK = false
  65. local EQUIPPED = false
  66. local HOLD = false
  67. local COMBO = 1
  68. local Rooted = false
  69. local SINE = 1
  70. local KEYHOLD = false
  71. local CHANGE = 2 / Animation_Speed
  72. local WALKINGANIM = false
  73. local VALUE1 = false
  74. local VALUE2 = false
  75. local ROBLOXIDLEANIMATION = IT("Animation")
  76. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  77. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  78. --ROBLOXIDLEANIMATION.Parent = Humanoid
  79. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  80. WEAPONGUI.Name = "BanishV3Gui"
  81. local Weapon = IT("Model")
  82. Weapon.Name = "Adds"
  83. local Effects = IT("Folder", Weapon)
  84. Effects.Name = "Effects"
  85. local ANIMATOR = Humanoid.Animator
  86. local ANIMATE = Character:FindFirstChild("Animate")
  87. local UNANCHOR = true
  88. local TOBANISH = {}
  89. script.Parent = PlayerGui
  90.  
  91. --//=================================\\
  92. --\\=================================//
  93.  
  94.  
  95. --//=================================\\
  96. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  97. --\\=================================//
  98.  
  99. ArtificialHB = Instance.new("BindableEvent", script)
  100. ArtificialHB.Name = "ArtificialHB"
  101.  
  102. script:WaitForChild("ArtificialHB")
  103.  
  104. frame = Frame_Speed
  105. tf = 0
  106. allowframeloss = false
  107. tossremainder = false
  108. lastframe = tick()
  109. script.ArtificialHB:Fire()
  110.  
  111. game:GetService("RunService").Heartbeat:connect(function(s, p)
  112. tf = tf + s
  113. if tf >= frame then
  114. if allowframeloss then
  115. script.ArtificialHB:Fire()
  116. lastframe = tick()
  117. else
  118. for i = 1, math.floor(tf / frame) do
  119. script.ArtificialHB:Fire()
  120. end
  121. lastframe = tick()
  122. end
  123. if tossremainder then
  124. tf = 0
  125. else
  126. tf = tf - frame * math.floor(tf / frame)
  127. end
  128. end
  129. end)
  130.  
  131. --//=================================\\
  132. --\\=================================//
  133.  
  134. --//=================================\\
  135. --|| SOME FUNCTIONS
  136. --\\=================================//
  137.  
  138. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  139. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  140. end
  141.  
  142. function PositiveAngle(NUMBER)
  143. if NUMBER >= 0 then
  144. NUMBER = 0
  145. end
  146. return NUMBER
  147. end
  148.  
  149. function NegativeAngle(NUMBER)
  150. if NUMBER <= 0 then
  151. NUMBER = 0
  152. end
  153. return NUMBER
  154. end
  155.  
  156. function Swait(NUMBER)
  157. if NUMBER == 0 or NUMBER == nil then
  158. ArtificialHB.Event:wait()
  159. else
  160. for i = 1, NUMBER do
  161. ArtificialHB.Event:wait()
  162. end
  163. end
  164. end
  165.  
  166. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  167. local NEWMESH = IT(MESH)
  168. if MESH == "SpecialMesh" then
  169. NEWMESH.MeshType = MESHTYPE
  170. if MESHID ~= "nil" and MESHID ~= "" then
  171. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  172. end
  173. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  174. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  175. end
  176. end
  177. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  178. NEWMESH.Scale = SCALE
  179. NEWMESH.Parent = PARENT
  180. return NEWMESH
  181. end
  182.  
  183. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  184. local NEWPART = IT("Part")
  185. NEWPART.formFactor = FORMFACTOR
  186. NEWPART.Reflectance = REFLECTANCE
  187. NEWPART.Transparency = TRANSPARENCY
  188. NEWPART.CanCollide = false
  189. NEWPART.Locked = true
  190. NEWPART.Anchored = true
  191. if ANCHOR == false then
  192. NEWPART.Anchored = false
  193. end
  194. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  195. NEWPART.Name = NAME
  196. NEWPART.Size = SIZE
  197. NEWPART.Position = Torso.Position
  198. NEWPART.Material = MATERIAL
  199. NEWPART:BreakJoints()
  200. NEWPART.Parent = PARENT
  201. return NEWPART
  202. end
  203.  
  204. local function weldBetween(a, b)
  205. local weldd = Instance.new("ManualWeld")
  206. weldd.Part0 = a
  207. weldd.Part1 = b
  208. weldd.C0 = CFrame.new()
  209. weldd.C1 = b.CFrame:inverse() * a.CFrame
  210. weldd.Parent = a
  211. return weldd
  212. end
  213.  
  214.  
  215. function QuaternionFromCFrame(cf)
  216. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  217. local trace = m00 + m11 + m22
  218. if trace > 0 then
  219. local s = math.sqrt(1 + trace)
  220. local recip = 0.5 / s
  221. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  222. else
  223. local i = 0
  224. if m11 > m00 then
  225. i = 1
  226. end
  227. if m22 > (i == 0 and m00 or m11) then
  228. i = 2
  229. end
  230. if i == 0 then
  231. local s = math.sqrt(m00 - m11 - m22 + 1)
  232. local recip = 0.5 / s
  233. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  234. elseif i == 1 then
  235. local s = math.sqrt(m11 - m22 - m00 + 1)
  236. local recip = 0.5 / s
  237. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  238. elseif i == 2 then
  239. local s = math.sqrt(m22 - m00 - m11 + 1)
  240. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  241. end
  242. end
  243. end
  244.  
  245. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  246. local xs, ys, zs = x + x, y + y, z + z
  247. local wx, wy, wz = w * xs, w * ys, w * zs
  248. local xx = x * xs
  249. local xy = x * ys
  250. local xz = x * zs
  251. local yy = y * ys
  252. local yz = y * zs
  253. local zz = z * zs
  254. 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))
  255. end
  256.  
  257. function QuaternionSlerp(a, b, t)
  258. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  259. local startInterp, finishInterp;
  260. if cosTheta >= 0.0001 then
  261. if (1 - cosTheta) > 0.0001 then
  262. local theta = ACOS(cosTheta)
  263. local invSinTheta = 1 / SIN(theta)
  264. startInterp = SIN((1 - t) * theta) * invSinTheta
  265. finishInterp = SIN(t * theta) * invSinTheta
  266. else
  267. startInterp = 1 - t
  268. finishInterp = t
  269. end
  270. else
  271. if (1 + cosTheta) > 0.0001 then
  272. local theta = ACOS(-cosTheta)
  273. local invSinTheta = 1 / SIN(theta)
  274. startInterp = SIN((t - 1) * theta) * invSinTheta
  275. finishInterp = SIN(t * theta) * invSinTheta
  276. else
  277. startInterp = t - 1
  278. finishInterp = t
  279. end
  280. end
  281. 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
  282. end
  283.  
  284. function Clerp(a, b, t)
  285. local qa = {QuaternionFromCFrame(a)}
  286. local qb = {QuaternionFromCFrame(b)}
  287. local ax, ay, az = a.x, a.y, a.z
  288. local bx, by, bz = b.x, b.y, b.z
  289. local _t = 1 - t
  290. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  291. end
  292.  
  293. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  294. local frame = IT("Frame")
  295. frame.BackgroundTransparency = TRANSPARENCY
  296. frame.BorderSizePixel = BORDERSIZEPIXEL
  297. frame.Position = POSITION
  298. frame.Size = SIZE
  299. frame.BackgroundColor3 = COLOR
  300. frame.BorderColor3 = BORDERCOLOR
  301. frame.Name = NAME
  302. frame.Parent = PARENT
  303. return frame
  304. end
  305.  
  306. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  307. local label = IT("TextLabel")
  308. label.BackgroundTransparency = 1
  309. label.Size = UD2(1, 0, 1, 0)
  310. label.Position = UD2(0, 0, 0, 0)
  311. label.TextColor3 = TEXTCOLOR
  312. label.TextStrokeTransparency = STROKETRANSPARENCY
  313. label.TextTransparency = TRANSPARENCY
  314. label.FontSize = TEXTFONTSIZE
  315. label.Font = TEXTFONT
  316. label.BorderSizePixel = BORDERSIZEPIXEL
  317. label.TextScaled = false
  318. label.Text = TEXT
  319. label.Name = NAME
  320. label.Parent = PARENT
  321. return label
  322. end
  323.  
  324. function NoOutlines(PART)
  325. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  326. end
  327.  
  328. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  329. local NEWWELD = IT(TYPE)
  330. NEWWELD.Part0 = PART0
  331. NEWWELD.Part1 = PART1
  332. NEWWELD.C0 = C0
  333. NEWWELD.C1 = C1
  334. NEWWELD.Parent = PARENT
  335. return NEWWELD
  336. end
  337.  
  338. local S = IT("Sound")
  339. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  340. local NEWSOUND = nil
  341. coroutine.resume(coroutine.create(function()
  342. NEWSOUND = S:Clone()
  343. NEWSOUND.Parent = PARENT
  344. NEWSOUND.Volume = VOLUME
  345. NEWSOUND.Pitch = PITCH
  346. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  347. NEWSOUND:play()
  348. if DOESLOOP == true then
  349. NEWSOUND.Looped = true
  350. else
  351. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  352. NEWSOUND:remove()
  353. end
  354. end))
  355. return NEWSOUND
  356. end
  357.  
  358. function CFrameFromTopBack(at, top, back)
  359. local right = top:Cross(back)
  360. 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)
  361. end
  362.  
  363. --WACKYEFFECT({EffectType = "", Size = VT(20,20,20), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  364. function WACKYEFFECT(Table)
  365. local TYPE = (Table.EffectType or "Sphere")
  366. local SIZE = (Table.Size or VT(20,20,20))
  367. local ENDSIZE = (Table.Size2 or VT(10,10,10))
  368. local TRANSPARENCY = (Table.Transparency or 0)
  369. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  370. local CFRAME = (Table.CFrame or Torso.CFrame)
  371. local MOVEDIRECTION = (Table.MoveToPos or nil)
  372. local ROTATION1 = (Table.RotationX or 0)
  373. local ROTATION2 = (Table.RotationY or 0)
  374. local ROTATION3 = (Table.RotationZ or 0)
  375. local MATERIAL = (Table.Material or "Neon")
  376. local COLOR = (Table.Color or C3(0,1,0))
  377. local TIME = (Table.Time or 45)
  378. local SOUNDID = (Table.SoundID or nil)
  379. local SOUNDPITCH = (Table.SoundPitch or nil)
  380. local SOUNDVOLUME = (Table.SoundVolume or nil)
  381. coroutine.resume(coroutine.create(function()
  382. local PLAYSSOUND = false
  383. local SOUND = nil
  384. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("White"), "Effect", VT(20,20,20), true)
  385. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  386. PLAYSSOUND = true
  387. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  388. end
  389. EFFECT.Color = COLOR
  390. local MSH = nil
  391. if TYPE == "Sphere" then
  392. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  393. elseif TYPE == "Block" then
  394. MSH = IT("BlockMesh",EFFECT)
  395. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  396. elseif TYPE == "Wave" then
  397. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  398. elseif TYPE == "Ring" then
  399. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  400. elseif TYPE == "Slash" then
  401. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  402. elseif TYPE == "Round Slash" then
  403. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  404. elseif TYPE == "Swirl" then
  405. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  406. elseif TYPE == "Skull" then
  407. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  408. elseif TYPE == "Crystal" then
  409. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  410. end
  411. if MSH ~= nil then
  412. local MOVESPEED = nil
  413. if MOVEDIRECTION ~= nil then
  414. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  415. end
  416. local GROWTH = SIZE - ENDSIZE
  417. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  418. if TYPE == "Block" then
  419. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  420. else
  421. EFFECT.CFrame = CFRAME
  422. end
  423. for LOOP = 1, TIME+1 do
  424. Swait()
  425. MSH.Scale = MSH.Scale - GROWTH/TIME
  426. if TYPE == "Wave" then
  427. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  428. end
  429. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  430. if TYPE == "Block" then
  431. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  432. else
  433. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  434. end
  435. if MOVEDIRECTION ~= nil then
  436. local ORI = EFFECT.Orientation
  437. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  438. EFFECT.Orientation = ORI
  439. end
  440. end
  441. if PLAYSSOUND == false then
  442. EFFECT:remove()
  443. else
  444. SOUND.Stopped:Connect(function()
  445. EFFECT:remove()
  446. end)
  447. end
  448. else
  449. if PLAYSSOUND == false then
  450. EFFECT:remove()
  451. else
  452. repeat Swait() until SOUND.Playing == false
  453. EFFECT:remove()
  454. end
  455. end
  456. end))
  457. end
  458.  
  459. function MakeForm(PART,TYPE)
  460. if TYPE == "Cyl" then
  461. local MSH = IT("CylinderMesh",PART)
  462. elseif TYPE == "Ball" then
  463. local MSH = IT("SpecialMesh",PART)
  464. MSH.MeshType = "Sphere"
  465. elseif TYPE == "Wedge" then
  466. local MSH = IT("SpecialMesh",PART)
  467. MSH.MeshType = "Wedge"
  468. end
  469. end
  470.  
  471. function SpawnTrail(FROM,TO,BIG)
  472. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Lime blue", "Trail", VT(0,0,0))
  473. MakeForm(TRAIL,"Cyl")
  474. local DIST = (FROM - TO).Magnitude
  475. if BIG == true then
  476. TRAIL.Size = VT(0,DIST,0)
  477. else
  478. TRAIL.Size = VT(0,DIST,0)
  479. end
  480. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  481. coroutine.resume(coroutine.create(function()
  482. for i = 1, 5 do
  483. Swait()
  484. TRAIL.Transparency = TRAIL.Transparency + 0.1
  485. end
  486. TRAIL:remove()
  487. end))
  488. end
  489.  
  490. Debris = game:GetService("Debris")
  491.  
  492. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  493. local DIRECTION = CF(StartPos,EndPos).lookVector
  494. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  495. end
  496.  
  497. function turnto(position)
  498. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  499. end
  500.  
  501. --//=================================\\
  502. --|| WEAPON CREATION
  503. --\\=================================//
  504.  
  505. local Particle = IT("ParticleEmitter",nil)
  506. Particle.Enabled = false
  507. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  508. Particle.LightEmission = 0.5
  509. Particle.Rate = 150
  510. Particle.ZOffset = 0.2
  511. Particle.Rotation = NumberRange.new(-180, 180)
  512. Particle.RotSpeed = NumberRange.new(-180, 180)
  513. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  514. Particle.Color = ColorSequence.new(C3(0,1,0),C3(0,1,0))
  515.  
  516. --ParticleEmitter({Speed = 20, Drag = 0, Size1 = 0, Size2 = 0, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  517. function ParticleEmitter(Table)
  518. local PRTCL = Particle:Clone()
  519. local Speed = Table.Speed or 1
  520. local Drag = Table.Drag or 1
  521. local Size1 = Table.Size1 or 0
  522. local Size2 = Table.Size2 or 0
  523. local Lifetime1 = Table.Lifetime1 or 1
  524. local Lifetime2 = Table.Lifetime2 or 1.5
  525. local Parent = Table.Parent or Torso
  526. local Emit = Table.Emit or 1
  527. local Offset = Table.Offset or 360
  528. local Acel = Table.Acel or VT(0,0,0)
  529. local Enabled = Table.Enabled or false
  530. PRTCL.Parent = Parent
  531. PRTCL.Size = NumberSequence.new(Size1,Size2)
  532. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  533. PRTCL.Speed = NumberRange.new(Speed)
  534. PRTCL.VelocitySpread = Offset
  535. PRTCL.Drag = Drag
  536. PRTCL.Acceleration = Acel
  537. if Enabled == false then
  538. PRTCL:Emit(Emit)
  539. Debris:AddItem(PRTCL,Lifetime2)
  540. else
  541. PRTCL.Enabled = true
  542. end
  543. return PRTCL
  544. end
  545.  
  546. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid blue", "Part", VT(0.2,0.6,0.2),false)
  547. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  548. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid blue", "Part", VT(0.2,0.5,0.2),false)
  549. MakeForm(Part,"Wedge")
  550. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  551. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid blue", "Part", VT(0.2,0.3,0.2),false)
  552. MakeForm(Part,"Wedge")
  553. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  554. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid blue", "Part", VT(0.3,0.3,0.3),false)
  555. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  556. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid blue", "Part", VT(0.3,0.5,0.5),false)
  557. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  558. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid blue", "Part", VT(0.4,0.4,0.4),false)
  559. MakeForm(Part,"Cyl")
  560. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  561. for i = 1, 8 do
  562. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid blue", "Eye", VT(0,0.35,0.41),false)
  563. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  564. end
  565. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid blue", "Eye", VT(0.38,0.41,0.38),false)
  566. MakeForm(Part,"Cyl")
  567. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  568. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid blue", "Part", VT(0.37,0.5,0.37),false)
  569. MakeForm(Part,"Ball")
  570. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  571. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid blue", "Part", VT(0.2,0.7,0.4),false)
  572. MakeForm(Part,"Wedge")
  573. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  574. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid blue", "Part", VT(0.3,0.4,0.2),false)
  575. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  576. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid blue", "Part", VT(0.35,0.35,0.35),false)
  577. MakeForm(Part,"Cyl")
  578. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  579. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid blue", "Part", VT(0.5,0.1,0.5),false)
  580. MakeForm(Part,"Cyl")
  581. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  582. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid blue", "Part", VT(0.5,0.1,0.45),false)
  583. MakeForm(Part,"Cyl")
  584. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  585. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid grablue", "Part", VT(0.2,0.5,0.2),false)
  586. MakeForm(Part,"Wedge")
  587. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  588. local LASTPART = Handle
  589. for i = 1, 10 do
  590. if LASTPART == Handle then
  591. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Lime blue", "Part", VT(0.1,0.2,0),false)
  592. LASTPART = Part
  593. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  594. else
  595. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Lime blue", "Part", VT(0.1,0.05,0),false)
  596. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  597. LASTPART = Part
  598. end
  599. end
  600.  
  601. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  602. MakeForm(Barrel,"Cyl")
  603. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  604. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  605. MakeForm(Part,"Cyl")
  606. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  607. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  608. MakeForm(Part,"Wedge")
  609. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  610. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  611. MakeForm(Hole,"Cyl")
  612. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  613. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  614. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  615. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  616. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  617. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  618. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  619. coroutine.resume(coroutine.create(function()
  620. while wait() do
  621. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  622. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  623. end
  624. end))
  625.  
  626. ParticleEmitter({Speed = 20, Drag = 0, Size1 = 0, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  627. --ParticleEmitter({Speed = 20, Drag = 0, Size1 = 0, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(20,20,20)})
  628.  
  629. for _, c in pairs(Weapon:GetDescendants()) do
  630. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  631. c.Material = "Glass"
  632. c.Color = C3(0,1,0)
  633. elseif c.ClassName == "Part" and c.Name == "Eye" then
  634. c.Color = C3(0,1,0)
  635. c.Material = "Neon"
  636. end
  637. end
  638.  
  639. Weapon.Parent = Character
  640. for _, c in pairs(Weapon:GetChildren()) do
  641. if c.ClassName == "Part" then
  642. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  643. end
  644. end
  645.  
  646. local SKILLTEXTCOLOR = C3(0,1,0)
  647. local SKILLFONT = "Antique"
  648. local SKILLTEXTSIZE = 7
  649.  
  650. Humanoid.Died:connect(function()
  651. ATTACK = true
  652. end)
  653.  
  654. 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")
  655. --[[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")
  656. 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")
  657. 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")
  658. 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")
  659. ]]
  660. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  661. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  662. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  663. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  664. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  665. ]]
  666. function printbye(Name)
  667. 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, "}
  668. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  669. end
  670.  
  671. workspace.ChildAdded:connect(function(instance)
  672. for BANISH = 1, #TOBANISH do
  673. if TOBANISH[BANISH] ~= nil then
  674. if instance.Name == TOBANISH[BANISH] then
  675. coroutine.resume(coroutine.create(function()
  676. printbye(instance.Name)
  677. instance:ClearAllChildren()
  678. Debris:AddItem(instance,0.0005)
  679. end))
  680. end
  681. end
  682. end
  683. end)
  684.  
  685. --//=================================\\
  686. --|| DAMAGING
  687. --\\=================================//
  688.  
  689. function Banish(Foe)
  690. if Foe then
  691. coroutine.resume(coroutine.create(function()
  692. --if game.Players:FindFirstChild(Foe.Name) then
  693. table.insert(TOBANISH,Foe.Name)
  694. printbye(Foe.Name)
  695. --end
  696. Foe.Archivable = true
  697. local CLONE = Foe:Clone()
  698. Foe:Destroy()
  699. CLONE.Parent = Effects
  700. CLONE:BreakJoints()
  701. local MATERIALS = {"Glass","Neon"}
  702. for _, c in pairs(CLONE:GetDescendants()) do
  703. if c:IsA("BasePart") then
  704. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  705. CreateSound(340722848, c, 10, 1, false)
  706. end
  707. c.Anchored = true
  708. c.Transparency = c.Transparency + 0.
  709. c.Material = MATERIALS[MRANDOM(1,2)]
  710. c.Color = C3(0,1,0)
  711. if c.ClassName == "MeshPart" then
  712. c.TextureID = ""
  713. end
  714. if c:FindFirstChildOfClass("SpecialMesh") then
  715. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  716. end
  717. if c:FindFirstChildOfClass("Decal") then
  718. c:FindFirstChildOfClass("Decal"):remove()
  719. end
  720. c.Name = "Banish"
  721. c.CanCollide = false
  722. else
  723. c:remove()
  724. end
  725. end
  726. local A = false
  727. for i = 1, 35 do
  728. if A == false then
  729. A = true
  730. elseif A == true then
  731. A = false
  732. end
  733. for _, c in pairs(CLONE:GetDescendants()) do
  734. if c:IsA("BasePart") then
  735. c.Anchored = true
  736. c.Material = MATERIALS[MRANDOM(1,2)]
  737. c.Transparency = c.Transparency + 0.8/35
  738. if A == false then
  739. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  740. elseif A == true then
  741. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  742. end
  743. end
  744. end
  745. Swait()
  746. end
  747. CLONE:remove()
  748. end))
  749. end
  750. end
  751.  
  752. function ApplyAoE(POSITION,RANGE,ISBANISH)
  753. local CHILDREN = workspace:GetDescendants()
  754. for index, CHILD in pairs(CHILDREN) do
  755. if CHILD.ClassName == "Model" and CHILD ~= Character then
  756. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  757. if HUM then
  758. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  759. if TORSO then
  760. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  761. if ISBANISH == true then
  762. Banish(CHILD)
  763. else
  764. if ISBANISH == "Gravity" then
  765. HUM.PlatformStand = true
  766. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  767. local grav = Instance.new("BodyPosition",TORSO)
  768. grav.D = 15
  769. grav.P = 10000
  770. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  771. grav.position = TORSO.Position
  772. grav.Name = "V3BanishForce"..Player.Name
  773. else
  774. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  775. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  776. end
  777. else
  778. HUM.PlatformStand = false
  779. end
  780. end
  781. elseif ISBANISH == "Gravity" then
  782. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  783. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  784. HUM.PlatformStand = false
  785. end
  786. end
  787. end
  788. end
  789. end
  790. end
  791. end
  792.  
  793. --//=================================\\
  794. --|| ATTACK FUNCTIONS AND STUFF
  795. --\\=================================//
  796.  
  797. function Taunt2()
  798. ATTACK = true
  799. Rooted = true
  800. local TAUNT = CreateSound(159882303,Torso,10,1,false)
  801. coroutine.resume(coroutine.create(function()
  802. repeat
  803. Swait()
  804. 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)
  805. 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.15 / Animation_Speed)
  806. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.75, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  807. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(90), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  808. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  809. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  810. until ATTACK == false
  811. end))
  812. repeat wait() until TAUNT.Playing == false
  813. ATTACK = false
  814. Rooted = false
  815. end
  816.  
  817.  
  818. function Taunt3()
  819. ATTACK = true
  820. Rooted = true
  821. local TAUNT = CreateSound(159882635, Torso, 7, 1, false)
  822. repeat
  823. Swait()
  824. TAUNT.Parent = Torso
  825. TAUNT.Playing = true
  826. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  827. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  828. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  829. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  830. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  831. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  832. until TAUNT.TimePosition >= 1.25
  833. for i=0, 1.6, 0.1 / Animation_Speed do
  834. Swait()
  835. TAUNT.Parent = Torso
  836. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
  837. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  838. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  839. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  840. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  841. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  842. end
  843. ATTACK = false
  844. Rooted = false
  845. end
  846.  
  847. function Colorful_Death()
  848. ATTACK = true
  849. Rooted = false
  850. for i=0, 0.05, 0.1 / Animation_Speed do
  851. Swait()
  852. turnto(Mouse.Hit.p)
  853. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  854. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  855. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  856. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  857. 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)
  858. 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)
  859. end
  860. repeat
  861. for i=0, 0.05, 0.1 / Animation_Speed do
  862. Swait()
  863. turnto(Mouse.Hit.p)
  864. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  865. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  866. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  867. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  868. 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)
  869. 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)
  870. end
  871. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 2000, Character)
  872. SpawnTrail(Hole.Position,POS)
  873. if HIT ~= nil then
  874. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  875. Banish(HIT.Parent)
  876. end
  877. end
  878. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(3,3,3), 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,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  879. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  880. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(3,3,3), 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,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  881. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(3,3,3), 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,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  882. for i=0, 0.05, 0.1 / Animation_Speed do
  883. Swait()
  884. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  885. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  886. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  887. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  888. 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)
  889. 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)
  890. end
  891. until KEYHOLD == false
  892. ATTACK = false
  893. Rooted = false
  894. end
  895.  
  896. function AttackTemplate()
  897. ATTACK = true
  898. Rooted = false
  899. for i=0, 1, 0.1 / Animation_Speed do
  900. Swait()
  901. 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)
  902. 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)
  903. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  904. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  905. 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.1 / Animation_Speed)
  906. 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.1 / Animation_Speed)
  907. end
  908. ATTACK = false
  909. Rooted = false
  910. end
  911.  
  912. function TakeOnMe()
  913. Speed = 5
  914. local MEME = CreateSound(0, Effects, 2, 1, false)
  915. ATTACK = true
  916. Rooted = false
  917. local DANCE = true
  918. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  919. if NEWKEY == "p" then
  920. DANCE = false
  921. end
  922. end)
  923. PLAYSONG = false
  924. while true do
  925. for i = 1, 15 do
  926. Swait()
  927. MEME.Parent = Effects
  928. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  929. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  930. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  931. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  932. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  933. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  934. end
  935. if DANCE == false then
  936. break
  937. end
  938. for i = 1, 15 do
  939. Swait()
  940. MEME.Parent = Effects
  941. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  942. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  943. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  944. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  945. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  946. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  947. end
  948. end
  949. PLAYSONG = true
  950. KEY:Disconnect()
  951. MEME:remove()
  952. Speed = 25
  953. ATTACK = false
  954. Rooted = false
  955. end
  956.  
  957.  
  958. --//=================================\\
  959. --|| ASSIGN THINGS TO KEYS
  960. --\\=================================//
  961.  
  962. function MouseDown(Mouse)
  963. if ATTACK == false then
  964. end
  965. end
  966.  
  967. function MouseUp(Mouse)
  968. HOLD = false
  969. end
  970.  
  971. function KeyDown(Key)
  972. KEYHOLD = true
  973. if Key == "z" and ATTACK == false then
  974. Colorful_Death()
  975. end
  976.  
  977. if Key == "t" and ATTACK == false then
  978. TakeOnMe()
  979. end
  980.  
  981. if Key == "b" and ATTACK == false then
  982. end
  983.  
  984. if Key == "c" and ATTACK == false then
  985. end
  986.  
  987. if Key == "v" and ATTACK == false then
  988. end
  989.  
  990. if Key == "q" and ATTACK == false then
  991. Taunt2()
  992. end
  993.  
  994. if Key == "e" and ATTACK == false then
  995. Taunt3()
  996. end
  997.  
  998. if Key == "x" and ATTACK == false then
  999. end
  1000. end
  1001.  
  1002. function KeyUp(Key)
  1003. KEYHOLD = false
  1004. end
  1005.  
  1006. Mouse.Button1Down:connect(function(NEWKEY)
  1007. MouseDown(NEWKEY)
  1008. end)
  1009. Mouse.Button1Up:connect(function(NEWKEY)
  1010. MouseUp(NEWKEY)
  1011. end)
  1012. Mouse.KeyDown:connect(function(NEWKEY)
  1013. KeyDown(NEWKEY)
  1014. end)
  1015. Mouse.KeyUp:connect(function(NEWKEY)
  1016. KeyUp(NEWKEY)
  1017. end)
  1018.  
  1019. --//=================================\\
  1020. --\\=================================//
  1021.  
  1022.  
  1023. function unanchor()
  1024. if UNANCHOR == true then
  1025. g = Character:GetChildren()
  1026. for i = 1, #g do
  1027. if g[i].ClassName == "Part" then
  1028. g[i].Anchored = false
  1029. end
  1030. end
  1031. end
  1032. end
  1033.  
  1034.  
  1035. --//=================================\\
  1036. --|| WRAP THE WHOLE SCRIPT UP
  1037. --\\=================================//
  1038.  
  1039. Humanoid.Changed:connect(function(Jump)
  1040. if Jump == "Jump" and (Disable_Jump == true) then
  1041. Humanoid.Jump = false
  1042. end
  1043. end)
  1044.  
  1045. local CONNECT = nil
  1046.  
  1047. while true do
  1048. Swait()
  1049. ANIMATE.Parent = nil
  1050. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1051. Humanoid = IT("Humanoid",Character)
  1052. end
  1053. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1054. v:Stop();
  1055. end
  1056. SINE = SINE + CHANGE
  1057. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1058. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1059. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1060. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1061. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1062. 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)
  1063. 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)
  1064. 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)
  1065. 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)
  1066. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1067. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1068. 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)
  1069. 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)
  1070. 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)
  1071. end
  1072. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1073. ANIM = "Jump"
  1074. if ATTACK == false then
  1075. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1076. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1077. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1078. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1079. 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)
  1080. 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)
  1081. end
  1082. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1083. ANIM = "Fall"
  1084. if ATTACK == false then
  1085. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1086. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1087. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1088. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1089. 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)
  1090. 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)
  1091. end
  1092. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1093. ANIM = "Idle"
  1094. if ATTACK == false then
  1095. 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)
  1096. 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)
  1097. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1098. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1099. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1100. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1101. end
  1102. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1103. ANIM = "Walk"
  1104. if ATTACK == false then
  1105. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1106. 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)
  1107. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1108. 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)
  1109. 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)
  1110. 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)
  1111. end
  1112. end
  1113. unanchor()
  1114. Humanoid.MaxHealth = "inf"
  1115. Humanoid.Health = "inf"
  1116. if Rooted == false then
  1117. Disable_Jump = false
  1118. Humanoid.WalkSpeed = Speed
  1119. elseif Rooted == true then
  1120. Disable_Jump = true
  1121. Humanoid.WalkSpeed = 0
  1122. end
  1123. sick.Parent = Torso
  1124. sick:resume()
  1125. sick.Volume = 5
  1126. sick.Pitch = 1
  1127. sick.SoundId = "rbxassetid://1259371424"
  1128. sick.Name = "BanishV3Music"
  1129. end
  1130.  
  1131. --//=================================\\
  1132. --\\=================================//
  1133.  
  1134.  
  1135.  
  1136.  
  1137.  
  1138. --//====================================================\\--
  1139. --|| END OF SCRIPT
  1140. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement