Advertisement
Mr_Scripter

Broken Soul (fixed for require)

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