Advertisement
Mr_Scripter

Broken Soul

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