DoggoClan

Karma

Jul 8th, 2018
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 107.22 KB | None | 0 0
  1. --// KarmaV2 By ItzPartapika \\--
  2. --// Shortcut Variables \\--
  3.  
  4. print([[
  5. Kristan, The Bad Karma.
  6. HEIGHT: 4'3
  7. WEIGHT: 69 kg
  8. STATUS: INSANE. DESTRUCTIVE. WILL KILL ON SIGHT.
  9. ]])
  10.  
  11. warn([[
  12. Kristan was in a giant continuous battle until she was knocked out. She soon got up and her body was gone.
  13. She was mentally unstable, believing everyone was against her.
  14. She healed herself fully after a year. She killed everyone around her in one shot. She started looking around for the person that made her go insane.
  15. She later found him. The person that made her go insane. The person that destroyed her.
  16.  
  17. She went into battle and went down once. Now this is phase 2.
  18.  
  19. This is Karma V2.
  20. ]])
  21.  
  22. print([[
  23. -------------------------------------------------
  24. CONTROLS:
  25.  
  26. LClick - Click Combo
  27. Z - One Punch (just hover your mouse over a noob and press the key)
  28. X - Sky Strike
  29. C - Karma's Slam
  30. V - Health Drain
  31. F - Painful Stomp
  32. T - Taunt
  33. ]])
  34. -------------------------------------------------
  35.  
  36. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  37. local Plrs = S.Players
  38. local Plr = Plrs.LocalPlayer
  39. local Char = Plr.Character
  40. local Hum = Char:FindFirstChildOfClass'Humanoid'
  41. local RArm = Char["Right Arm"]
  42. local LArm = Char["Left Arm"]
  43. local RLeg = Char["Right Leg"]
  44. local LLeg = Char["Left Leg"]
  45. local Root = Char:FindFirstChild'HumanoidRootPart'
  46. local RootPart = Char:FindFirstChild'HumanoidRootPart'
  47. local rootj = Root.RootJoint
  48. local Torso = Char.Torso
  49. local Tors = Char.Torso
  50. local Head = Char.Head
  51. local NeutralAnims = true
  52. local Attack = false
  53. local BloodPuddles = {}
  54. local Effects = {}
  55. local Debounces = {Debounces={}}
  56. local Mouse = Plr:GetMouse()
  57. local Hit = {}
  58. local Sine = 0
  59. local sine = 0
  60. local Change = 1
  61. local IT = Instance.new
  62. Cos = math.cos
  63. local Rooted = false
  64. local PlayMusic = true
  65. local CF = CFrame.new
  66. local VT = Vector3.new
  67. local RAD = math.rad
  68. local C3 = Color3.new
  69. local UD2 = UDim2.new
  70. local BRICKC = BrickColor.new
  71. local ANGLES = CFrame.Angles
  72. local EULER = CFrame.fromEulerAnglesXYZ
  73. local COS = math.cos
  74. local ACOS = math.acos
  75. local SIN = math.sin
  76. local ASIN = math.asin
  77. local ABS = math.abs
  78. local MRANDOM = math.random
  79. local FLOOR = math.floor
  80. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  81. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  82. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  83. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  84. local R3 = {N=Region3.new}
  85. local De = S.Debris
  86. local WS = workspace
  87. local Lght = S.Lighting
  88. local RepS = S.ReplicatedStorage
  89. local IN = Instance.new
  90. local CSK = ColorSequenceKeypoint.new
  91. local CS = ColorSequence.new
  92. local OneShotAttack = false
  93. plr = game.Players.LocalPlayer
  94. char = plr.Character
  95. hum = char.Humanoid
  96. t = char.Torso
  97. h = char.Head
  98. ra = char["Right Arm"]
  99. la = char["Left Arm"]
  100. rl = char["Right Leg"]
  101. ll = char["Left Leg"]
  102. tors = char.Torso
  103. lleg = char["Left Leg"]
  104. root = char.HumanoidRootPart
  105. hed = char.Head
  106. rleg = char["Right Leg"]
  107. rarm = char["Right Arm"]
  108. larm = char["Left Arm"]
  109. vt = Vector3.new
  110. bc = BrickColor.new
  111. br = BrickColor.random
  112. it = Instance.new
  113. cf = CFrame.new
  114.  
  115. function createpart(parent,transparency,reflectance,material,brickcolor)
  116. local p = Instance.new("Part")
  117. p.Parent = parent
  118. p.Size = Vector3.new(1,1,1)
  119. p.Transparency = transparency
  120. p.Reflectance = reflectance
  121. p.CanCollide = false
  122. p.Locked = true
  123. p.BrickColor = brickcolor
  124. p.Material = material
  125. return p
  126. end
  127.  
  128. function createmesh(parent,meshtype,x1,y1,z1)
  129. local mesh = Instance.new("SpecialMesh",parent)
  130. mesh.MeshType = meshtype
  131. mesh.Scale = Vector3.new(x1,y1,z1)
  132. return mesh
  133. end
  134.  
  135.  
  136. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  137. local mesh = Instance.new("SpecialMesh",parent)
  138. mesh.MeshType = "FileMesh"
  139. mesh.MeshId = meshid
  140. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  141. mesh.Scale = Vector3.new(x1,y1,z1)
  142. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  143. return mesh
  144. end
  145.  
  146.  
  147. function createweld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  148. local weld = Instance.new("Weld")
  149. weld.Parent = parent
  150. weld.Part0 = part0
  151. weld.Part1 = part1
  152. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  153. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  154. return weld
  155. end
  156. local m = Instance.new("Model",char)
  157. m.Name = "wot"
  158.  
  159. --// Instance Creation Functions \\--
  160.  
  161. function swait(num)
  162. if num == 0 or num == nil then
  163. game:service("RunService").Stepped:wait(0)
  164. else
  165. for i = 0, num do
  166. game:service("RunService").Stepped:wait(0)
  167. end
  168. end
  169. end
  170.  
  171. function CreateSound(ID, PARENT, VOLUME, PITCH)
  172. local NSound = nil
  173. coroutine.resume(coroutine.create(function()
  174. NSound = Instance.new("Sound", PARENT)
  175. NSound.Volume = VOLUME
  176. NSound.Pitch = PITCH
  177. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  178. swait()
  179. NSound:play()
  180. game:GetService("Debris"):AddItem(NSound, 10)
  181. end))
  182. return NSound
  183. end
  184.  
  185. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  186. local mesh = Instance.new("SpecialMesh",parent)
  187. mesh.MeshType = "FileMesh"
  188. mesh.MeshId = meshid
  189. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  190. mesh.Scale = Vector3.new(x1,y1,z1)
  191. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  192. return mesh
  193. end
  194.  
  195. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  196. local Sound = IN("Sound")
  197. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  198. Sound.Pitch = pitch or 1
  199. Sound.Volume = volume or 1
  200. Sound.Looped = looped or false
  201. if(autoPlay)then
  202. coroutine.wrap(function()
  203. repeat wait() until Sound.IsLoaded
  204. Sound.Playing = autoPlay or false
  205. end)()
  206. end
  207. if(not looped and effect)then
  208. Sound.Stopped:connect(function()
  209. Sound.Volume = 0
  210. Sound:destroy()
  211. end)
  212. elseif(effect)then
  213. warn("Sound can't be looped and a sound effect!")
  214. end
  215. Sound.Parent =parent or Torso
  216. return Sound
  217. end
  218. function Part(parent,color,material,size,cframe,anchored,cancollide)
  219. local part = IN("Part")
  220. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  221. part.Material = (material or Enum.Material.SmoothPlastic)
  222. part.TopSurface,part.BottomSurface=10,10
  223. part.Size = (size or V3.N(1,1,1))
  224. part.CFrame = (cframe or CF.N(0,0,0))
  225. part.Anchored = (anchored or false)
  226. part.CanCollide = (cancollide or false)
  227. part.Parent = (parent or Char)
  228. return part
  229. end
  230. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  231. local part = IN("SpecialMesh")
  232. part.MeshId = meshid or ""
  233. part.TextureId = textid or ""
  234. part.Scale = scale or V3.N(1,1,1)
  235. part.Offset = offset or V3.N(0,0,0)
  236. part.MeshType = meshtype or Enum.MeshType.Sphere
  237. part.Parent = parent
  238. return part
  239. end
  240.  
  241. NewInstance = function(instance,parent,properties)
  242. local inst = Instance.new(instance,parent)
  243. if(properties)then
  244. for i,v in next, properties do
  245. pcall(function() inst[i] = v end)
  246. end
  247. end
  248. return inst;
  249. end
  250.  
  251. New = function(Object, Parent, Name, Data)
  252. local Object = Instance.new(Object)
  253. for Index, Value in pairs(Data or {}) do
  254. Object[Index] = Value
  255. end
  256. Object.Parent = Parent
  257. Object.Name = Name
  258. return Object
  259. end
  260.  
  261. --// Extended ROBLOX tables \\--
  262. local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
  263.  
  264. local Effects = IN("Folder",Char)
  265. Effects.Name = "Effects"
  266.  
  267. function newWeld(wp0, wp1, wc0x, wc0y, wc0z)
  268.  
  269. local wld = Instance.new("Weld", wp1)
  270.  
  271. wld.Part0 = wp0
  272.  
  273. wld.Part1 = wp1
  274.  
  275. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  276.  
  277. return wld
  278.  
  279. end
  280.  
  281. function weld(model)
  282. local parts,last = {}
  283. local function scan(parent)
  284. for _,v in pairs(parent:GetChildren()) do
  285. if (v:IsA("BasePart")) then
  286. if (last) then
  287. local w = Instance.new("Weld")
  288. w.Name = ("%s_Weld"):format(v.Name)
  289. w.Part0,w.Part1 = last,v
  290. w.C0 = last.CFrame:inverse()
  291. w.C1 = v.CFrame:inverse()
  292. w.Parent = last
  293. end
  294. last = v
  295. table.insert(parts,v)
  296. end
  297. scan(v)
  298. end
  299. end
  300. scan(model)
  301. for _,v in pairs(parts) do
  302. v.Anchored = false
  303. v.Locked = true
  304. v.Anchored = false
  305. v.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  306. v.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  307. v.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  308. v.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  309. v.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  310. v.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  311. v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0)
  312. end
  313. end
  314.  
  315. local maincolor = BrickColor.random()
  316.  
  317. coroutine.resume(coroutine.create(function()
  318. while true do
  319. swait(2)
  320. maincolor = BrickColor.random()
  321. end
  322. end))
  323.  
  324. local Character = game.Players.LocalPlayer.Character
  325.  
  326. local plr = game:service'Players'.LocalPlayer
  327. print('Local User is '..plr.Name)
  328. local char = plr.Character
  329. local hum = char.Humanoid
  330. local ra = char["Right Arm"]
  331. local la= char["Left Arm"]
  332. local rl= char["Right Leg"]
  333. local ll = char["Left Leg"]
  334. local hed = char.Head
  335. local root = char.HumanoidRootPart
  336. local rootj = root.RootJoint
  337. local tors = char.Torso
  338. local mouse = plr:GetMouse()
  339. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  340. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  341. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  342. -------------------------------------------------------
  343. --Start Good Stuff--
  344. -------------------------------------------------------
  345. CF = CFrame.new
  346. angles = CFrame.Angles
  347. attack = false
  348. Euler = CFrame.fromEulerAnglesXYZ
  349. Rad = math.rad
  350. IT = Instance.new
  351. BrickC = BrickColor.new
  352. Cos = math.cos
  353. Acos = math.acos
  354. Sin = math.sin
  355. Asin = math.asin
  356. Abs = math.abs
  357. Mrandom = math.random
  358. Floor = math.floor
  359. -------------------------------------------------------
  360. --End Good Stuff--
  361. -------------------------------------------------------
  362. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  363. RSH, LSH = nil, nil
  364. RW = Instance.new("Weld")
  365. LW = Instance.new("Weld")
  366. RH = tors["Right Hip"]
  367. LH = tors["Left Hip"]
  368. RSH = tors["Right Shoulder"]
  369. LSH = tors["Left Shoulder"]
  370. RSH.Parent = nil
  371. LSH.Parent = nil
  372. RW.Name = "RW"
  373. RW.Part0 = tors
  374. RW.C0 = CF(1.5, 0.5, 0)
  375. RW.C1 = CF(0, 0.5, 0)
  376. RW.Part1 = ra
  377. RW.Parent = tors
  378. LW.Name = "LW"
  379. LW.Part0 = tors
  380. LW.C0 = CF(-1.5, 0.5, 0)
  381. LW.C1 = CF(0, 0.5, 0)
  382. LW.Part1 = la
  383. LW.Parent = tors
  384. Effects = {}
  385.  
  386. -------------------------------------------------------
  387. --Start HeartBeat--
  388. -------------------------------------------------------
  389. ArtificialHB = Instance.new("BindableEvent", script)
  390. ArtificialHB.Name = "Heartbeat"
  391. script:WaitForChild("Heartbeat")
  392.  
  393. frame = 1 / 60
  394. tf = 0
  395. allowframeloss = false
  396. tossremainder = false
  397.  
  398.  
  399. lastframe = tick()
  400. script.Heartbeat:Fire()
  401.  
  402.  
  403. game:GetService("RunService").Heartbeat:connect(function(s, p)
  404. tf = tf + s
  405. if tf >= frame then
  406. if allowframeloss then
  407. script.Heartbeat:Fire()
  408. lastframe = tick()
  409. else
  410. for i = 1, math.floor(tf / frame) do
  411. script.Heartbeat:Fire()
  412. end
  413. lastframe = tick()
  414. end
  415. if tossremainder then
  416. tf = 0
  417. else
  418. tf = tf - frame * math.floor(tf / frame)
  419. end
  420. end
  421. end)
  422. -------------------------------------------------------
  423. --End HeartBeat--
  424. -------------------------------------------------------
  425.  
  426. -------------------------------------------------------
  427. --Start Important Functions--
  428. -------------------------------------------------------
  429.  
  430. function Swait(NUMBER)
  431. if NUMBER == 0 or NUMBER == nil then
  432. ArtificialHB.Event:wait()
  433. else
  434. for i = 1, NUMBER do
  435. ArtificialHB.Event:wait()
  436. end
  437. end
  438. end
  439.  
  440. function thread(f)
  441. coroutine.resume(coroutine.create(f))
  442. end
  443. function clerp(a, b, t)
  444. local qa = {
  445. QuaternionFromCFrame(a)
  446. }
  447. local qb = {
  448. QuaternionFromCFrame(b)
  449. }
  450. local ax, ay, az = a.x, a.y, a.z
  451. local bx, by, bz = b.x, b.y, b.z
  452. local _t = 1 - t
  453. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  454. end
  455. ----------------------------------------------------------------------------
  456.  
  457. function lerp(a, b, t)
  458. return a + (b - a)*t
  459. end
  460.  
  461. ----------------------------------------------------------------------------
  462.  
  463. function Lerp(c1,c2,al)
  464. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  465. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  466. for i,v in pairs(com1) do
  467. com1[i] = v+(com2[i]-v)*al
  468. end
  469. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  470. end
  471.  
  472. ----------------------------------------------------------------------------
  473.  
  474. function QuaternionFromCFrame(cf)
  475. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  476. local trace = m00 + m11 + m22
  477. if trace > 0 then
  478. local s = math.sqrt(1 + trace)
  479. local recip = 0.5 / s
  480. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  481. else
  482. local i = 0
  483. if m00 < m11 then
  484. i = 1
  485. end
  486. if m22 > (i == 0 and m00 or m11) then
  487. i = 2
  488. end
  489. if i == 0 then
  490. local s = math.sqrt(m00 - m11 - m22 + 1)
  491. local recip = 0.5 / s
  492. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  493. elseif i == 1 then
  494. local s = math.sqrt(m11 - m22 - m00 + 1)
  495. local recip = 0.5 / s
  496. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  497. elseif i == 2 then
  498. local s = math.sqrt(m22 - m00 - m11 + 1)
  499. local recip = 0.5 / s
  500. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  501. end
  502. end
  503. end
  504. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  505. local xs, ys, zs = x + x, y + y, z + z
  506. local wx, wy, wz = w * xs, w * ys, w * zs
  507. local xx = x * xs
  508. local xy = x * ys
  509. local xz = x * zs
  510. local yy = y * ys
  511. local yz = y * zs
  512. local zz = z * zs
  513. 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))
  514. end
  515. function QuaternionSlerp(a, b, t)
  516. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  517. local startInterp, finishInterp
  518. if cosTheta >= 1.0E-4 then
  519. if 1 - cosTheta > 1.0E-4 then
  520. local theta = math.acos(cosTheta)
  521. local invSinTheta = 1 / Sin(theta)
  522. startInterp = Sin((1 - t) * theta) * invSinTheta
  523. finishInterp = Sin(t * theta) * invSinTheta
  524. else
  525. startInterp = 1 - t
  526. finishInterp = t
  527. end
  528. elseif 1 + cosTheta > 1.0E-4 then
  529. local theta = math.acos(-cosTheta)
  530. local invSinTheta = 1 / Sin(theta)
  531. startInterp = Sin((t - 1) * theta) * invSinTheta
  532. finishInterp = Sin(t * theta) * invSinTheta
  533. else
  534. startInterp = t - 1
  535. finishInterp = t
  536. end
  537. 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
  538. end
  539. function rayCast(Position, Direction, Range, Ignore)
  540. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  541. end
  542. local RbxUtility = LoadLibrary("RbxUtility")
  543. local Create = RbxUtility.Create
  544.  
  545. -------------------------------------------------------
  546. --Start Damage Function--
  547. -------------------------------------------------------
  548. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  549. if hit.Parent == nil then
  550. return
  551. end
  552. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  553. for _, v in pairs(hit.Parent:children()) do
  554. if v:IsA("Humanoid") then
  555. h = v
  556. end
  557. end
  558. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  559.  
  560. hit.Parent:FindFirstChild("Head"):BreakJoints()
  561. end
  562.  
  563. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  564. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  565. if hit.Parent.DebounceHit.Value == true then
  566. return
  567. end
  568. end
  569. if insta == true then
  570. hit.Parent:FindFirstChild("Head"):BreakJoints()
  571. end
  572. local c = Create("ObjectValue"){
  573. Name = "creator",
  574. Value = game:service("Players").LocalPlayer,
  575. Parent = h,
  576. }
  577. game:GetService("Debris"):AddItem(c, .5)
  578. if HitSound ~= nil and HitPitch ~= nil then
  579. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  580. end
  581. local Damage = math.random(minim, maxim)
  582. local blocked = false
  583. local block = hit.Parent:findFirstChild("Block")
  584. if block ~= nil then
  585. if block.className == "IntValue" then
  586. if block.Value > 0 then
  587. blocked = true
  588. block.Value = block.Value - 1
  589. print(block.Value)
  590. end
  591. end
  592. end
  593. if blocked == false then
  594. h.Health = h.Health - Damage
  595. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, maincolor.Color)
  596. else
  597. h.Health = h.Health - (Damage / 2)
  598. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, maincolor.Color)
  599. end
  600. if Type == "Knockdown" then
  601. local hum = hit.Parent.Humanoid
  602. hum.PlatformStand = true
  603. coroutine.resume(coroutine.create(function(HHumanoid)
  604. swait(1)
  605. HHumanoid.PlatformStand = false
  606. end), hum)
  607. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  608. local bodvol = Create("BodyVelocity"){
  609. velocity = angle * knockback,
  610. P = 5000,
  611. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  612. Parent = hit,
  613. }
  614. local rl = Create("BodyAngularVelocity"){
  615. P = 3000,
  616. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  617. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  618. Parent = hit,
  619. }
  620. game:GetService("Debris"):AddItem(bodvol, .5)
  621. game:GetService("Debris"):AddItem(rl, .5)
  622. elseif Type == "Normal" then
  623. local vp = Create("BodyVelocity"){
  624. P = 500,
  625. maxForce = Vector3.new(math.huge, 0, math.huge),
  626. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  627. }
  628. if knockback > 0 then
  629. vp.Parent = hit.Parent.Torso
  630. end
  631. game:GetService("Debris"):AddItem(vp, .5)
  632. elseif Type == "Up" then
  633. local bodyVelocity = Create("BodyVelocity"){
  634. velocity = Vector3.new(0, 20, 0),
  635. P = 5000,
  636. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  637. Parent = hit,
  638. }
  639. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  640. elseif Type == "DarkUp" then
  641. coroutine.resume(coroutine.create(function()
  642. for i = 0, 1, 0.1 do
  643. swait()
  644. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  645. end
  646. end))
  647. local bodyVelocity = Create("BodyVelocity"){
  648. velocity = Vector3.new(0, 20, 0),
  649. P = 5000,
  650. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  651. Parent = hit,
  652. }
  653. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  654. elseif Type == "Snare" then
  655. local bp = Create("BodyPosition"){
  656. P = 2000,
  657. D = 100,
  658. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  659. position = hit.Parent.Torso.Position,
  660. Parent = hit.Parent.Torso,
  661. }
  662. game:GetService("Debris"):AddItem(bp, 1)
  663. elseif Type == "Freeze" then
  664. local BodPos = Create("BodyPosition"){
  665. P = 50000,
  666. D = 1000,
  667. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  668. position = hit.Parent.Torso.Position,
  669. Parent = hit.Parent.Torso,
  670. }
  671. local BodGy = Create("BodyGyro") {
  672. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  673. P = 20e+003,
  674. Parent = hit.Parent.Torso,
  675. cframe = hit.Parent.Torso.CFrame,
  676. }
  677. hit.Parent.Torso.Anchored = true
  678. coroutine.resume(coroutine.create(function(Part)
  679. swait(1.5)
  680. Part.Anchored = false
  681. end), hit.Parent.Torso)
  682. game:GetService("Debris"):AddItem(BodPos, 3)
  683. game:GetService("Debris"):AddItem(BodGy, 3)
  684. end
  685. local debounce = Create("BoolValue"){
  686. Name = "DebounceHit",
  687. Parent = hit.Parent,
  688. Value = true,
  689. }
  690. game:GetService("Debris"):AddItem(debounce, Delay)
  691. c = Create("ObjectValue"){
  692. Name = "creator",
  693. Value = Player,
  694. Parent = h,
  695. }
  696. game:GetService("Debris"):AddItem(c, .5)
  697. end
  698. end
  699. -------------------------------------------------------
  700. --End Damage Function--
  701. -------------------------------------------------------
  702.  
  703. -------------------------------------------------------
  704. --Start Damage Function Customization--
  705. -------------------------------------------------------
  706. function ShowDamage(Pos, Text, Time, Color)
  707. local Rate = (1 / 30)
  708. local Pos = (Pos or Vector3.new(0, 0, 0))
  709. local Text = (Text or "")
  710. local Time = (Time or 2)
  711. local Color = (Color or Color3.new(1, 0, 1))
  712. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  713. EffectPart.Anchored = true
  714. local BillboardGui = Create("BillboardGui"){
  715. Size = UDim2.new(3, 0, 3, 0),
  716. Adornee = EffectPart,
  717. Parent = EffectPart,
  718. }
  719. local TextLabel = Create("TextLabel"){
  720. BackgroundTransparency = 1,
  721. Size = UDim2.new(1, 0, 1, 0),
  722. Text = Text,
  723. Font = "Highway",
  724. TextColor3 = Color,
  725. TextScaled = true,
  726. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  727. Parent = BillboardGui,
  728. }
  729. game.Debris:AddItem(EffectPart, (Time))
  730. EffectPart.Parent = game:GetService("Workspace")
  731. delay(0, function()
  732. local Frames = (Time / Rate)
  733. for Frame = 1, Frames do
  734. wait(Rate)
  735. local Percent = (Frame / Frames)
  736. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  737. TextLabel.TextTransparency = Percent
  738. end
  739. if EffectPart and EffectPart.Parent then
  740. EffectPart:Destroy()
  741. end
  742. end)
  743. end
  744. -------------------------------------------------------
  745. --End Damage Function Customization--
  746. -------------------------------------------------------
  747.  
  748. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  749. for _, c in pairs(workspace:children()) do
  750. local hum = c:findFirstChild("Humanoid")
  751. if hum ~= nil then
  752. local head = c:findFirstChild("Head")
  753. if head ~= nil then
  754. local targ = head.Position - Part.Position
  755. local mag = targ.magnitude
  756. if magni >= mag and c.Name ~= plr.Name then
  757. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  758. end
  759. end
  760. end
  761. end
  762. end
  763.  
  764.  
  765. CFuncs = {
  766. Part = {
  767. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  768. local Part = Create("Part")({
  769. Parent = Parent,
  770. Reflectance = Reflectance,
  771. Transparency = Transparency,
  772. CanCollide = false,
  773. Locked = true,
  774. BrickColor = BrickColor.new(tostring(BColor)),
  775. Name = Name,
  776. Size = Size,
  777. Material = Material
  778. })
  779. RemoveOutlines(Part)
  780. return Part
  781. end
  782. },
  783. Mesh = {
  784. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  785. local Msh = Create(Mesh)({
  786. Parent = Part,
  787. Offset = OffSet,
  788. Scale = Scale
  789. })
  790. if Mesh == "SpecialMesh" then
  791. Msh.MeshType = MeshType
  792. Msh.MeshId = MeshId
  793. end
  794. return Msh
  795. end
  796. },
  797. Mesh = {
  798. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  799. local Msh = Create(Mesh)({
  800. Parent = Part,
  801. Offset = OffSet,
  802. Scale = Scale
  803. })
  804. if Mesh == "SpecialMesh" then
  805. Msh.MeshType = MeshType
  806. Msh.MeshId = MeshId
  807. end
  808. return Msh
  809. end
  810. },
  811. Weld = {
  812. Create = function(Parent, Part0, Part1, C0, C1)
  813. local Weld = Create("Weld")({
  814. Parent = Parent,
  815. Part0 = Part0,
  816. Part1 = Part1,
  817. C0 = C0,
  818. C1 = C1
  819. })
  820. return Weld
  821. end
  822. },
  823. Sound = {
  824. Create = function(id, par, vol, pit)
  825. coroutine.resume(coroutine.create(function()
  826. local S = Create("Sound")({
  827. Volume = vol,
  828. Pitch = pit or 1,
  829. SoundId = id,
  830. Parent = par or workspace
  831. })
  832. wait()
  833. S:play()
  834. game:GetService("Debris"):AddItem(S, 6)
  835. end))
  836. end
  837. },
  838. ParticleEmitter = {
  839. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  840. local fp = Create("ParticleEmitter")({
  841. Parent = Parent,
  842. Color = ColorSequence.new(Color1, Color2),
  843. LightEmission = LightEmission,
  844. Size = Size,
  845. Texture = Texture,
  846. Transparency = Transparency,
  847. ZOffset = ZOffset,
  848. Acceleration = Accel,
  849. Drag = Drag,
  850. LockedToPart = LockedToPart,
  851. VelocityInheritance = VelocityInheritance,
  852. EmissionDirection = EmissionDirection,
  853. Enabled = Enabled,
  854. Lifetime = LifeTime,
  855. Rate = Rate,
  856. Rotation = Rotation,
  857. RotSpeed = RotSpeed,
  858. Speed = Speed,
  859. VelocitySpread = VelocitySpread
  860. })
  861. return fp
  862. end
  863. }
  864. }
  865. function RemoveOutlines(part)
  866. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  867. end
  868. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  869. local Part = Create("Part")({
  870. formFactor = FormFactor,
  871. Parent = Parent,
  872. Reflectance = Reflectance,
  873. Transparency = Transparency,
  874. CanCollide = false,
  875. Locked = true,
  876. BrickColor = BrickColor.new(tostring(BColor)),
  877. Name = Name,
  878. Size = Size,
  879. Material = Material
  880. })
  881. RemoveOutlines(Part)
  882. return Part
  883. end
  884. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  885. local Msh = Create(Mesh)({
  886. Parent = Part,
  887. Offset = OffSet,
  888. Scale = Scale
  889. })
  890. if Mesh == "SpecialMesh" then
  891. Msh.MeshType = MeshType
  892. Msh.MeshId = MeshId
  893. end
  894. return Msh
  895. end
  896. function CreateWeld(Parent, Part0, Part1, C0, C1)
  897. local Weld = Create("Weld")({
  898. Parent = Parent,
  899. Part0 = Part0,
  900. Part1 = Part1,
  901. C0 = C0,
  902. C1 = C1
  903. })
  904. return Weld
  905. end
  906.  
  907. -------------------------------------------------------
  908. --Start Effect Function--
  909. -------------------------------------------------------
  910. EffectModel = Instance.new("Model", char)
  911. Effects = {
  912. Block = {
  913. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  914. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  915. prt.Anchored = true
  916. prt.CFrame = cframe
  917. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  918. game:GetService("Debris"):AddItem(prt, 10)
  919. if Type == 1 or Type == nil then
  920. table.insert(Effects, {
  921. prt,
  922. "Block1",
  923. delay,
  924. x3,
  925. y3,
  926. z3,
  927. msh
  928. })
  929. elseif Type == 2 then
  930. table.insert(Effects, {
  931. prt,
  932. "Block2",
  933. delay,
  934. x3,
  935. y3,
  936. z3,
  937. msh
  938. })
  939. else
  940. table.insert(Effects, {
  941. prt,
  942. "Block3",
  943. delay,
  944. x3,
  945. y3,
  946. z3,
  947. msh
  948. })
  949. end
  950. end
  951. },
  952. Sphere = {
  953. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  954. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  955. prt.Anchored = true
  956. prt.CFrame = cframe
  957. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  958. game:GetService("Debris"):AddItem(prt, 10)
  959. table.insert(Effects, {
  960. prt,
  961. "Cylinder",
  962. delay,
  963. x3,
  964. y3,
  965. z3,
  966. msh
  967. })
  968. end
  969. },
  970. Cylinder = {
  971. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  972. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  973. prt.Anchored = true
  974. prt.CFrame = cframe
  975. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  976. game:GetService("Debris"):AddItem(prt, 10)
  977. table.insert(Effects, {
  978. prt,
  979. "Cylinder",
  980. delay,
  981. x3,
  982. y3,
  983. z3,
  984. msh
  985. })
  986. end
  987. },
  988. Wave = {
  989. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  990. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  991. prt.Anchored = true
  992. prt.CFrame = cframe
  993. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  994. game:GetService("Debris"):AddItem(prt, 10)
  995. table.insert(Effects, {
  996. prt,
  997. "Cylinder",
  998. delay,
  999. x3 / 60,
  1000. y3 / 60,
  1001. z3 / 60,
  1002. msh
  1003. })
  1004. end
  1005. },
  1006. Ring = {
  1007. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1008. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1009. prt.Anchored = true
  1010. prt.CFrame = cframe
  1011. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1012. game:GetService("Debris"):AddItem(prt, 10)
  1013. table.insert(Effects, {
  1014. prt,
  1015. "Cylinder",
  1016. delay,
  1017. x3,
  1018. y3,
  1019. z3,
  1020. msh
  1021. })
  1022. end
  1023. },
  1024. Break = {
  1025. Create = function(brickcolor, cframe, x1, y1, z1)
  1026. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1027. prt.Anchored = true
  1028. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1029. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1030. local num = math.random(10, 50) / 1000
  1031. game:GetService("Debris"):AddItem(prt, 10)
  1032. table.insert(Effects, {
  1033. prt,
  1034. "Shatter",
  1035. num,
  1036. prt.CFrame,
  1037. math.random() - math.random(),
  1038. 0,
  1039. math.random(50, 100) / 100
  1040. })
  1041. end
  1042. },
  1043. Spiral = {
  1044. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1045. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1046. prt.Anchored = true
  1047. prt.CFrame = cframe
  1048. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1049. game:GetService("Debris"):AddItem(prt, 10)
  1050. table.insert(Effects, {
  1051. prt,
  1052. "Cylinder",
  1053. delay,
  1054. x3,
  1055. y3,
  1056. z3,
  1057. msh
  1058. })
  1059. end
  1060. },
  1061. Push = {
  1062. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1063. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1064. prt.Anchored = true
  1065. prt.CFrame = cframe
  1066. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1067. game:GetService("Debris"):AddItem(prt, 10)
  1068. table.insert(Effects, {
  1069. prt,
  1070. "Cylinder",
  1071. delay,
  1072. x3,
  1073. y3,
  1074. z3,
  1075. msh
  1076. })
  1077. end
  1078. }
  1079. }
  1080. -------------------------------------------------------
  1081. --End Effect Function--
  1082. -------------------------------------------------------
  1083.  
  1084. function CreateSound(ID, PARENT, VOLUME, PITCH)
  1085. local NSound = nil
  1086. coroutine.resume(coroutine.create(function()
  1087. NSound = Instance.new("Sound", PARENT)
  1088. NSound.Volume = VOLUME
  1089. NSound.Pitch = PITCH
  1090. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1091. swait()
  1092. NSound:play()
  1093. game:GetService("Debris"):AddItem(NSound, 10)
  1094. end))
  1095. return NSound
  1096. end
  1097.  
  1098. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1099. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1100. prt.Anchored = true
  1101. prt.CFrame = cframe
  1102. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1103. game:GetService("Debris"):AddItem(prt, 10)
  1104. if Type == 1 or Type == nil then
  1105. table.insert(Effects, {
  1106. prt,
  1107. "Block1",
  1108. delay,
  1109. x3,
  1110. y3,
  1111. z3,
  1112. msh
  1113. })
  1114. elseif Type == 2 then
  1115. table.insert(Effects, {
  1116. prt,
  1117. "Block2",
  1118. delay,
  1119. x3,
  1120. y3,
  1121. z3,
  1122. msh
  1123. })
  1124. elseif Type == 3 then
  1125. table.insert(Effects, {
  1126. prt,
  1127. "Block3",
  1128. delay,
  1129. x3,
  1130. y3,
  1131. z3,
  1132. msh
  1133. })
  1134. end
  1135. end
  1136.  
  1137. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1138. local fp=Instance.new("Part")
  1139. fp.formFactor=formfactor
  1140. fp.Parent=parent
  1141. fp.Reflectance=reflectance
  1142. fp.Transparency=transparency
  1143. fp.CanCollide=false
  1144. fp.Locked=true
  1145. fp.BrickColor=brickcolor
  1146. fp.Name=name
  1147. fp.Size=size
  1148. fp.Position=tors.Position
  1149. RemoveOutlines(fp)
  1150. fp.Material="SmoothPlastic"
  1151. fp:BreakJoints()
  1152. return fp
  1153. end
  1154.  
  1155. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1156. local mesh=Instance.new(Mesh)
  1157. mesh.Parent=part
  1158. if Mesh=="SpecialMesh" then
  1159. mesh.MeshType=meshtype
  1160. if meshid~="nil" then
  1161. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1162. end
  1163. end
  1164. mesh.Offset=offset
  1165. mesh.Scale=scale
  1166. return mesh
  1167. end
  1168.  
  1169. function MagicShockTrailAlt2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
  1170. local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1171. prt.Anchored = true
  1172. prt.Material = "Neon"
  1173. prt.CFrame = cframe
  1174. local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1175. game:GetService("Debris"):AddItem(prt, 5)
  1176. coroutine.resume(coroutine.create(function(Part, Mesh)
  1177. local rtype = rottype
  1178. for i = 0, 1, delay do
  1179. swait()
  1180. if rtype == 1 then
  1181. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  1182. elseif rtype == 2 then
  1183. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  1184. end
  1185. prt.Transparency = i
  1186. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  1187. end
  1188. Part.Parent = nil
  1189. end), prt, msh)
  1190. end
  1191.  
  1192.  
  1193. function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1194. local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1195. prt.Anchored = true
  1196. prt.Material = "Neon"
  1197. prt.CFrame = cframe
  1198. prt.CFrame = prt.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1199. local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1200. game:GetService("Debris"):AddItem(prt, 5)
  1201. coroutine.resume(coroutine.create(function(Part, Mesh)
  1202. for i = 0, 1, delay do
  1203. swait()
  1204. Part.CFrame = Part.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1205. Part.Transparency = i
  1206. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  1207. end
  1208. Part.Parent = nil
  1209. end), prt, msh)
  1210. end
  1211.  
  1212.  
  1213. function MagicShockAlt(brickcolor, cframe, x1, y1, x3, y3, delay, rottype)
  1214. local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1215. prt.Anchored = true
  1216. prt.Material = "Neon"
  1217. prt.CFrame = cframe
  1218. local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, 0.01))
  1219. game:GetService("Debris"):AddItem(prt, 5)
  1220. coroutine.resume(coroutine.create(function(Part, Mesh)
  1221. local rtype = rottype
  1222. for i = 0, 1, delay do
  1223. swait()
  1224. if rtype == 1 then
  1225. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  1226. elseif rtype == 2 then
  1227. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  1228. end
  1229. prt.Transparency = i
  1230. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, 0)
  1231. end
  1232. Part.Parent = nil
  1233. end), prt, msh)
  1234. end
  1235.  
  1236. function Eviscerate(dude)
  1237. if dude.Name ~= char then
  1238. local bgf = IT("BodyGyro", dude.Head)
  1239. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1240. local val = IT("BoolValue", dude)
  1241. val.Name = "IsHit"
  1242. local ds = coroutine.wrap(function()
  1243. dude:WaitForChild("Head"):BreakJoints()
  1244. wait(0.5)
  1245. target = nil
  1246. coroutine.resume(coroutine.create(function()
  1247. for i, v in pairs(dude:GetChildren()) do
  1248. if v:IsA("Accessory") then
  1249. v:Destroy()
  1250. end
  1251. if v:IsA("Humanoid") then
  1252. v:Destroy()
  1253. end
  1254. if v:IsA("CharacterMesh") then
  1255. v:Destroy()
  1256. end
  1257. if v:IsA("Model") then
  1258. v:Destroy()
  1259. end
  1260. if v:IsA("Part") or v:IsA("MeshPart") then
  1261. for x, o in pairs(v:GetChildren()) do
  1262. if o:IsA("Decal") then
  1263. o:Destroy()
  1264. end
  1265. end
  1266. coroutine.resume(coroutine.create(function()
  1267. v.Material = "Neon"
  1268. v.CanCollide = false
  1269. local PartEmmit1 = IT("ParticleEmitter", v)
  1270. PartEmmit1.LightEmission = 1
  1271. PartEmmit1.Texture = "rbxassetid://284205403"
  1272. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1273. PartEmmit1.Rate = 150
  1274. PartEmmit1.Lifetime = NumberRange.new(1)
  1275. PartEmmit1.Size = NumberSequence.new({
  1276. NumberSequenceKeypoint.new(0, 0.75, 0),
  1277. NumberSequenceKeypoint.new(1, 0, 0)
  1278. })
  1279. PartEmmit1.Transparency = NumberSequence.new({
  1280. NumberSequenceKeypoint.new(0, 0, 0),
  1281. NumberSequenceKeypoint.new(1, 1, 0)
  1282. })
  1283. PartEmmit1.Speed = NumberRange.new(0, 0)
  1284. PartEmmit1.VelocitySpread = 30000
  1285. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1286. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1287. local BodPoss = IT("BodyPosition", v)
  1288. BodPoss.P = 3000
  1289. BodPoss.D = 1000
  1290. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1291. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1292. v.Color = maincolor.Color
  1293. coroutine.resume(coroutine.create(function()
  1294. for i = 0, 49 do
  1295. swait(1)
  1296. v.Transparency = v.Transparency + 0.08
  1297. end
  1298. wait(0.5)
  1299. PartEmmit1.Enabled = false
  1300. wait(3)
  1301. v:Destroy()
  1302. dude:Destroy()
  1303. end))
  1304. end))
  1305. end
  1306. end
  1307. end))
  1308. end)
  1309. ds()
  1310. end
  1311. end
  1312.  
  1313. function OneShot(dude)
  1314. OneShotAttack = true
  1315. if dude.Name ~= char then
  1316. local bgf = IT("BodyGyro", dude.Head)
  1317. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1318. local val = IT("BoolValue", dude)
  1319. val.Name = "IsHit"
  1320. local ds = coroutine.wrap(function()
  1321. dude:WaitForChild("Head"):BreakJoints()
  1322. wait(0.5)
  1323. target = nil
  1324. coroutine.resume(coroutine.create(function()
  1325. for i, v in pairs(dude:GetChildren()) do
  1326. if v:IsA("Accessory") then
  1327. v:Destroy()
  1328. end
  1329. if v:IsA("Humanoid") then
  1330. v:Destroy()
  1331. end
  1332. if v:IsA("CharacterMesh") then
  1333. v:Destroy()
  1334. end
  1335. if v:IsA("Model") then
  1336. v:Destroy()
  1337. end
  1338. if v:IsA("Part") or v:IsA("MeshPart") then
  1339. for x, o in pairs(v:GetChildren()) do
  1340. if o:IsA("Decal") then
  1341. o:Destroy()
  1342. end
  1343. end
  1344. coroutine.resume(coroutine.create(function()
  1345. v.Material = "Neon"
  1346. v.CanCollide = false
  1347. local PartEmmit1 = IT("ParticleEmitter", v)
  1348. PartEmmit1.LightEmission = 1
  1349. PartEmmit1.Texture = "rbxassetid://284205403"
  1350. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1351. PartEmmit1.Rate = 150
  1352. PartEmmit1.Lifetime = NumberRange.new(1)
  1353. PartEmmit1.Size = NumberSequence.new({
  1354. NumberSequenceKeypoint.new(0, 0.75, 0),
  1355. NumberSequenceKeypoint.new(1, 0, 0)
  1356. })
  1357. PartEmmit1.Transparency = NumberSequence.new({
  1358. NumberSequenceKeypoint.new(0, 0, 0),
  1359. NumberSequenceKeypoint.new(1, 1, 0)
  1360. })
  1361. PartEmmit1.Speed = NumberRange.new(0, 0)
  1362. PartEmmit1.VelocitySpread = 30000
  1363. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1364. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1365. local BodPoss = IT("BodyPosition", v)
  1366. BodPoss.P = 3000
  1367. BodPoss.D = 1000
  1368. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1369. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1370. v.Color = maincolor.Color
  1371. coroutine.resume(coroutine.create(function()
  1372. for i = 0, 49 do
  1373. swait(1)
  1374. v.Transparency = v.Transparency + 0.08
  1375. end
  1376. wait(0.5)
  1377. PartEmmit1.Enabled = false
  1378. wait(3)
  1379. v:Destroy()
  1380. dude:Destroy()
  1381. end))
  1382. end))
  1383. end
  1384. end
  1385. end))
  1386. end)
  1387. ds()
  1388. end
  1389. OneShotAttack = false
  1390. end
  1391.  
  1392. function FindNearestHead(Position, Distance, SinglePlayer)
  1393. if SinglePlayer then
  1394. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1395. end
  1396. local List = {}
  1397. for i, v in pairs(workspace:GetChildren()) do
  1398. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1399. table.insert(List, v)
  1400. end
  1401. end
  1402. return List
  1403. end
  1404. function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
  1405. local type = type
  1406. local rng = Instance.new("Part", char)
  1407. rng.Anchored = true
  1408. rng.BrickColor = color
  1409. rng.CanCollide = false
  1410. rng.FormFactor = 3
  1411. rng.Name = "Ring"
  1412. rng.Material = "Neon"
  1413. rng.Size = Vector3.new(1, 1, 1)
  1414. rng.Transparency = 0
  1415. rng.TopSurface = 0
  1416. rng.BottomSurface = 0
  1417. rng.CFrame = pos
  1418. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1419. local rngm = Instance.new("SpecialMesh", rng)
  1420. rngm.MeshType = "Sphere"
  1421. rngm.Scale = Vector3.new(x1, y1, z1)
  1422. local scaler2 = 1
  1423. local speeder = FastSpeed
  1424. if type == "Add" then
  1425. scaler2 = 1 * value
  1426. elseif type == "Divide" then
  1427. scaler2 = 1 / value
  1428. end
  1429. coroutine.resume(coroutine.create(function()
  1430. for i = 0, 10 / bonuspeed, 0.1 do
  1431. swait()
  1432. if type == "Add" then
  1433. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1434. elseif type == "Divide" then
  1435. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1436. end
  1437. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1438. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1439. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1440. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1441. end
  1442. rng:Destroy()
  1443. end))
  1444. end
  1445. -------------------------------------------------------
  1446. --End Important Functions--
  1447. -------------------------------------------------------
  1448. Head.face.Texture = "rbxassetid://404306534"
  1449.  
  1450. --[[
  1451. Thanks for using Build-To-Lua by jarredbcv.
  1452. ]]--
  1453.  
  1454. New = function(Object, Parent, Name, Data)
  1455. local Object = Instance.new(Object)
  1456. for Index, Value in pairs(Data or {}) do
  1457. Object[Index] = Value
  1458. end
  1459. Object.Parent = Parent
  1460. Object.Name = Name
  1461. return Object
  1462. end
  1463.  
  1464. Knife = New("Model",char,"Knife",{})
  1465. Handle = New("Part",Knife,"Handle",{BrickColor = BrickColor.new("Bright green"),Transparency = 1,Transparency = 1,Size = Vector3.new(1.65882361, 1.99058843, 1.65882361),CFrame = CFrame.new(82.2077255, 1.57540321, 117.400002, 0, 0, -1, 1, 0, 0, 0, -1, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.294118, 0.592157, 0.294118),})
  1466. Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(0.600000024, 0.200000003, 1.20000005),})
  1467. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.3119583, 1.46481109, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  1468. Mesh = New("SpecialMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.266666681, 0.0666666701),MeshType = Enum.MeshType.Wedge,})
  1469. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-0.110592127, 0, 0.895767212, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1470. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.2456055, 1.685987, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  1471. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.466666669, 0.0666666701),})
  1472. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0.110583782, 0, 0.962120056, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1473. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.5110245, 1.57540321, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  1474. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.333333343, 0.0666666701),})
  1475. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0, 0, 0.69670105, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1476. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Mid gray"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.9533539, 1.57540321, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),})
  1477. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.333333343, 0.0666666701),})
  1478. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0, 0, 0.254371643, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1479. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Mid gray"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 1.32705891, 1.65882361),CFrame = CFrame.new(82.1745453, 1.6859839, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),})
  1480. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 1.16666663, 0.0666666701),})
  1481. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0.110580683, 0, 0.0331802368, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1482. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(83.9108047, 1.57541645, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  1483. Mesh = New("CylinderMesh",Brick,"Mesh",{Scale = Vector3.new(0.24000001, 0.0800000057, 0.24000001),})
  1484. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(1.32322311e-05, 0, -1.70307922, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1485. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 1.32705891, 1.65882361),CFrame = CFrame.new(82.1745529, 1.46481287, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  1486. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 1.16666663, 0.0666666701),})
  1487. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-0.110590339, 0, 0.0331726074, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1488. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Mid gray"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(82.3957291, 1.57539487, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),})
  1489. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.333333343, 0.0666666701),})
  1490. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-8.34465027e-06, 0, -0.18800354, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1491. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.0465393, 1.685987, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  1492. Mesh = New("SpecialMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.13333334, 0.0666666701),MeshType = Enum.MeshType.Wedge,})
  1493. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0.110583782, 0, 1.16118622, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1494. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(83.9550476, 1.57542157, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  1495. Mesh = New("CylinderMesh",Brick,"Mesh",{Scale = Vector3.new(0.220000014, 0.0733333379, 0.220000014),})
  1496. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(1.83582306e-05, 0, -1.74732208, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1497. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(82.9707947, 1.57539833, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  1498. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.200000003, 0.0666666701, 0.333333343),})
  1499. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-4.88758087e-06, 0, -0.763069153, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1500. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(82.9311295, 1.94298697, 117.400002, 0.406722844, -0.913551688, -3.65672458e-05, -0.913551688, -0.406722814, 2.31264985e-05, -3.59999867e-05, 2.39999936e-05, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  1501. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.13333334, 0.0666666701, 0.200000003),})
  1502. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.406722844, -0.913551688, -3.59999867e-05, -0.913551688, -0.406722814, 2.39999936e-05, -3.65672458e-05, 2.31264985e-05, -1),C1 = CFrame.new(0.367583752, 0, -0.723403931, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1503. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.1571426, 1.57541645, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  1504. Mesh = New("SpecialMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.200000018, 0.0666666701),MeshType = Enum.MeshType.Wedge,})
  1505. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(1.32322311e-05, 0, 1.05058289, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1506. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Mid gray"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(82.8380737, 1.57540321, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),})
  1507. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.333333343, 0.0666666701),})
  1508. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0, 0, -0.630348206, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1509. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.3119583, 1.57540166, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  1510. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.266666681, 0.0666666701),})
  1511. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-1.54972076e-06, 0, 0.895767212, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1512. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(83.424202, 1.57539666, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  1513. Mesh = New("CylinderMesh",Brick,"Mesh",{Scale = Vector3.new(0.200000003, 1.4000001, 0.200000003),})
  1514. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-6.55651093e-06, 0, -1.21647644, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1515. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(83.0150146, 1.21046209, 117.400002, 0.406722844, -0.913551688, -3.65672458e-05, -0.913551688, -0.406722814, 2.31264985e-05, -3.59999867e-05, 2.39999936e-05, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  1516. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.13333334, 0.0666666701, 0.200000003),})
  1517. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.406722844, -0.913551688, -3.59999867e-05, -0.913551688, -0.406722814, 2.39999936e-05, -3.65672458e-05, 2.31264985e-05, -1),C1 = CFrame.new(-0.36494112, 0, -0.807289124, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1518.  
  1519.  
  1520.  
  1521. for _,v in next, Knife:GetChildren() do
  1522. if v:IsA'BasePart' then
  1523. v.CanCollide = false
  1524. end
  1525. end
  1526.  
  1527. NewInstance = function(instance,parent,properties)
  1528. local inst = Instance.new(instance,parent)
  1529. if(properties)then
  1530. for i,v in next, properties do
  1531. pcall(function() inst[i] = v end)
  1532. end
  1533. end
  1534. return inst;
  1535. end
  1536.  
  1537. local HW = NewInstance('Weld',char,{Part0=la,Part1=Handle,C0 = CFrame.new(0,-1,1.3)*CFrame.Angles(math.rad(0),0,math.rad(90))})
  1538. local Hitbox = New("Part",Knife,"Hitbox",{Size=Vector3.new(1,2,1),CanCollide=false,Transparency=1})
  1539. local HitboxWeld = New("Weld",Knife,"Weldie",{Part0=Hitbox,Part1=Handle,C0=CFrame.new(0,-1,0)})
  1540.  
  1541. Knife = New("Model",char,"Knife",{})
  1542. Handle = New("Part",Knife,"Handle",{BrickColor = BrickColor.new("Bright green"),Transparency = 1,Transparency = 1,Size = Vector3.new(1.65882361, 1.99058843, 1.65882361),CFrame = CFrame.new(82.2077255, 1.57540321, 117.400002, 0, 0, -1, 1, 0, 0, 0, -1, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.294118, 0.592157, 0.294118),})
  1543. Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(0.600000024, 0.200000003, 1.20000005),})
  1544. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.3119583, 1.46481109, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  1545. Mesh = New("SpecialMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.266666681, 0.0666666701),MeshType = Enum.MeshType.Wedge,})
  1546. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-0.110592127, 0, 0.895767212, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1547. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.2456055, 1.685987, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  1548. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.466666669, 0.0666666701),})
  1549. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0.110583782, 0, 0.962120056, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1550. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.5110245, 1.57540321, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  1551. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.333333343, 0.0666666701),})
  1552. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0, 0, 0.69670105, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1553. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Mid gray"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.9533539, 1.57540321, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),})
  1554. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.333333343, 0.0666666701),})
  1555. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0, 0, 0.254371643, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1556. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Mid gray"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 1.32705891, 1.65882361),CFrame = CFrame.new(82.1745453, 1.6859839, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),})
  1557. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 1.16666663, 0.0666666701),})
  1558. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0.110580683, 0, 0.0331802368, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1559. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(83.9108047, 1.57541645, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  1560. Mesh = New("CylinderMesh",Brick,"Mesh",{Scale = Vector3.new(0.24000001, 0.0800000057, 0.24000001),})
  1561. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(1.32322311e-05, 0, -1.70307922, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1562. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 1.32705891, 1.65882361),CFrame = CFrame.new(82.1745529, 1.46481287, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  1563. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 1.16666663, 0.0666666701),})
  1564. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-0.110590339, 0, 0.0331726074, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1565. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Mid gray"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(82.3957291, 1.57539487, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),})
  1566. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.333333343, 0.0666666701),})
  1567. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-8.34465027e-06, 0, -0.18800354, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1568. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.0465393, 1.685987, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  1569. Mesh = New("SpecialMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.13333334, 0.0666666701),MeshType = Enum.MeshType.Wedge,})
  1570. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0.110583782, 0, 1.16118622, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1571. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(83.9550476, 1.57542157, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  1572. Mesh = New("CylinderMesh",Brick,"Mesh",{Scale = Vector3.new(0.220000014, 0.0733333379, 0.220000014),})
  1573. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(1.83582306e-05, 0, -1.74732208, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1574. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(82.9707947, 1.57539833, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  1575. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.200000003, 0.0666666701, 0.333333343),})
  1576. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-4.88758087e-06, 0, -0.763069153, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1577. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(82.9311295, 1.94298697, 117.400002, 0.406722844, -0.913551688, -3.65672458e-05, -0.913551688, -0.406722814, 2.31264985e-05, -3.59999867e-05, 2.39999936e-05, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  1578. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.13333334, 0.0666666701, 0.200000003),})
  1579. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.406722844, -0.913551688, -3.59999867e-05, -0.913551688, -0.406722814, 2.39999936e-05, -3.65672458e-05, 2.31264985e-05, -1),C1 = CFrame.new(0.367583752, 0, -0.723403931, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1580. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.1571426, 1.57541645, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  1581. Mesh = New("SpecialMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.200000018, 0.0666666701),MeshType = Enum.MeshType.Wedge,})
  1582. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(1.32322311e-05, 0, 1.05058289, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1583. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Mid gray"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(82.8380737, 1.57540321, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),})
  1584. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.333333343, 0.0666666701),})
  1585. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0, 0, -0.630348206, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1586. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.3119583, 1.57540166, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  1587. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.266666681, 0.0666666701),})
  1588. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-1.54972076e-06, 0, 0.895767212, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1589. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(83.424202, 1.57539666, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  1590. Mesh = New("CylinderMesh",Brick,"Mesh",{Scale = Vector3.new(0.200000003, 1.4000001, 0.200000003),})
  1591. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-6.55651093e-06, 0, -1.21647644, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1592. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(83.0150146, 1.21046209, 117.400002, 0.406722844, -0.913551688, -3.65672458e-05, -0.913551688, -0.406722814, 2.31264985e-05, -3.59999867e-05, 2.39999936e-05, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  1593. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.13333334, 0.0666666701, 0.200000003),})
  1594. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.406722844, -0.913551688, -3.59999867e-05, -0.913551688, -0.406722814, 2.39999936e-05, -3.65672458e-05, 2.31264985e-05, -1),C1 = CFrame.new(-0.36494112, 0, -0.807289124, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  1595.  
  1596. local HW = NewInstance('Weld',char,{Part0=ra,Part1=Handle,C0 = CFrame.new(0,-1,1.3)*CFrame.Angles(math.rad(0),0,math.rad(90))})
  1597. local Hitbox = New("Part",Knife,"Hitbox",{Size=Vector3.new(1,2,1),CanCollide=false,Transparency=1})
  1598. local HitboxWeld = New("Weld",Knife,"Weldie",{Part0=Hitbox,Part1=Handle,C0=CFrame.new(0,-1,0)})
  1599.  
  1600.  
  1601. -------------------------------------------------------
  1602. --Start Music Option--
  1603. -------------------------------------------------------
  1604. local Music = Instance.new("Sound",tors)
  1605. Music.SoundId = "rbxassetid://900450645"
  1606. Music.Volume = 2.5
  1607. Music.Looped = true
  1608. Music.Pitch = 1 --Pitcher
  1609. -------------------------------------------------------
  1610. --End Music Option--
  1611. -------------------------------------------------------
  1612.  
  1613. local naeeym2 = Instance.new("BillboardGui",char)
  1614. naeeym2.AlwaysOnTop = true
  1615. naeeym2.Size = UDim2.new(5,35,2,35)
  1616. naeeym2.StudsOffset = Vector3.new(0,2,0)
  1617. naeeym2.Adornee = hed
  1618. naeeym2.Name = "Name"
  1619.  
  1620. local tecks2 = Instance.new("TextLabel",naeeym2)
  1621. tecks2.BackgroundTransparency = 1
  1622. tecks2.TextScaled = true
  1623. tecks2.BorderSizePixel = 0
  1624. tecks2.Font = "Code"
  1625. tecks2.TextSize = 30
  1626. tecks2.TextStrokeTransparency = 0
  1627. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  1628. tecks2.Size = UDim2.new(1,0,0.5,0)
  1629. tecks2.Parent = naeeym2
  1630.  
  1631. function RecolorTextAndRename(name, col1, col2)
  1632. tecks2.TextStrokeColor3 = col2
  1633. tecks2.TextColor3 = col1
  1634. tecks2.Text = name
  1635. end
  1636. RecolorTextAndRename("Karma", Color3.new(0, 0, 0), BrickColor.random().Color)
  1637.  
  1638. coroutine.resume(coroutine.create(function()
  1639. while true do
  1640. swait(2)
  1641. RecolorTextAndRename("Karma", Color3.new(0, 0, 0), BrickColor.random().Color)
  1642. end
  1643. end))
  1644.  
  1645. function chatfunc(text, color)
  1646. local chat = coroutine.wrap(function()
  1647. if Character:FindFirstChild("TalkingBillBoard") ~= nil then
  1648. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1649. end
  1650. local naeeym3 = Instance.new("BillboardGui", Character)
  1651. naeeym3.Size = UDim2.new(0, 100, 0, 40)
  1652. naeeym3.StudsOffset = Vector3.new(0, 3, 0)
  1653. naeeym3.Adornee = Character.Head
  1654. naeeym3.Name = "TalkingBillBoard"
  1655. local tecks3 = Instance.new("TextLabel", naeeym3)
  1656. tecks3.BackgroundTransparency = 1
  1657. tecks3.BorderSizePixel = 0
  1658. tecks3.Text = ""
  1659. tecks3.Font = "SciFi"
  1660. tecks3.TextSize = 30
  1661. tecks3.TextStrokeTransparency = 0
  1662. tecks3.TextColor3 = color
  1663. tecks3.TextStrokeColor3 = Color3.new(0, 0, 0)
  1664. tecks3.Size = UDim2.new(1, 0, 0.5, 0)
  1665. local tecks4 = Instance.new("TextLabel", naeeym3)
  1666. tecks4.BackgroundTransparency = 1
  1667. tecks4.BorderSizePixel = 0
  1668. tecks4.Text = ""
  1669. tecks4.Font = "SciFi"
  1670. tecks4.TextSize = 30
  1671. tecks4.TextStrokeTransparency = 0
  1672. tecks4.TextColor3 = Color3.new(0, 0, 0)
  1673. tecks4.TextStrokeColor3 = color
  1674. tecks4.Size = UDim2.new(1, 0, 0.5, 0)
  1675. coroutine.resume(coroutine.create(function()
  1676. while true do
  1677. swait(1)
  1678. tecks3.TextColor3 = BrickColor.random().Color
  1679. tecks4.TextStrokeColor3 = BrickColor.random().Color
  1680. tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  1681. tecks4.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  1682. tecks3.Rotation = math.random(-5, 5)
  1683. tecks4.Rotation = math.random(-5, 5)
  1684. end
  1685. end))
  1686. for i = 1, string.len(text) do
  1687. CFuncs.Sound.Create("rbxassetid://274118116", char, 0.25, 0.115)
  1688. tecks3.Text = string.sub(text, 1, i)
  1689. tecks4.Text = string.sub(text, 1, i)
  1690. swait(1)
  1691. end
  1692. wait(1)
  1693. local randomrot = math.random(1, 2)
  1694. if randomrot == 1 then
  1695. for i = 1, 50 do
  1696. swait()
  1697. tecks3.Rotation = tecks2.Rotation - 0.75
  1698. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  1699. tecks3.TextTransparency = tecks2.TextTransparency + 0.04
  1700. tecks4.Rotation = tecks2.Rotation + 0.75
  1701. tecks4.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  1702. tecks4.TextTransparency = tecks2.TextTransparency + 0.04
  1703. end
  1704. elseif randomrot == 2 then
  1705. for i = 1, 50 do
  1706. swait()
  1707. tecks3.Rotation = tecks2.Rotation + 0.75
  1708. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  1709. tecks3.TextTransparency = tecks2.TextTransparency + 0.04
  1710. tecks4.Rotation = tecks2.Rotation - 0.75
  1711. tecks4.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  1712. tecks4.TextTransparency = tecks2.TextTransparency + 0.04
  1713. end
  1714. end
  1715. naeeym3:Destroy()
  1716. end)
  1717. chat()
  1718. end
  1719.  
  1720. -------------------------------------------------------
  1721. --Start Attacks N Stuff--
  1722. -------------------------------------------------------
  1723. local sine=0
  1724.  
  1725. function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
  1726. local Hitboxpart = Instance.new("Part", EffectModel)
  1727. RemoveOutlines(Hitboxpart)
  1728. Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
  1729. Hitboxpart.CanCollide = false
  1730. Hitboxpart.Transparency = 1
  1731. Hitboxpart.Anchored = true
  1732. Hitboxpart.CFrame = Pose
  1733. game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  1734. MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
  1735. end
  1736. wait2 = false
  1737. combo = 1
  1738.  
  1739. mouse.Button1Down:connect(function(key)
  1740. if attack == false then
  1741. attack = true
  1742. hum.WalkSpeed = 3.01
  1743. if combo == 1 and wait2 == false then
  1744. wait2 = true
  1745. for i = 0, 1.2, 0.1 do
  1746. swait()
  1747. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3)
  1748. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
  1749. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
  1750. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1751. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3)
  1752. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3)
  1753. end
  1754. CreateSound("138097048", ra, 3, .8)
  1755. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal")
  1756. for i = 0, 1.2, 0.1 do
  1757. swait()
  1758. BlockEffect(maincolor, Handle.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2)
  1759. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(55)), 0.3)
  1760. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1761. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(95), math.rad(0), math.rad(40)), 0.1)
  1762. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1763. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-17)), 0.3)
  1764. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
  1765. end
  1766. combo = 2
  1767. end
  1768. if combo == 2 and wait2 == false then
  1769. wait2 = true
  1770. for i = 0, 1.2, 0.1 do
  1771. swait()
  1772. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-25), math.rad(10), math.rad(-65)), 0.3)
  1773. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1774. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
  1775. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1776. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-25)), 0.3)
  1777. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(-20)), 0.3)
  1778. end
  1779. CreateSound("138097048", rl, 3, 1)
  1780. HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 3, "Normal")
  1781. for i = 0, 1.6, 0.1 do
  1782. swait()
  1783. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(65+255.45*i)), 0.3)
  1784. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1785. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(54), math.rad(0), math.rad(35)), 0.1)
  1786. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-34), math.rad(0), math.rad(-35)), 0.3)
  1787. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(95)), 0.3)
  1788. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-4.5), math.rad(-30), math.rad(0)), 0.3)
  1789. end
  1790. combo = 3
  1791. end
  1792. if combo == 3 and wait2 == false then
  1793. for i = 0, 1.2, 0.1 do
  1794. swait()
  1795. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3)
  1796. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
  1797. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
  1798. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1799. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3)
  1800. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3)
  1801. end
  1802. CreateSound("138097048", ra, 3, .8)
  1803. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
  1804. for i = 0, 1.2, 0.1 do
  1805. swait()
  1806. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(35)), 0.3)
  1807. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1808. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(96), math.rad(0), math.rad(10)), 0.1)
  1809. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1810. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3)
  1811. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
  1812. end
  1813. Effects.Sphere.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 0.1, 0.1, 0.1, 0.03)
  1814. Effects.Ring.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
  1815. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
  1816. for i = 0, 1.2, 0.1 do
  1817. swait()
  1818. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-35)), 0.3)
  1819. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1820. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(25), math.rad(0), math.rad(10)), 0.1)
  1821. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1822. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3)
  1823. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
  1824. end
  1825. combo = 1
  1826. end
  1827. hum.WalkSpeed = 8
  1828. wait2 = false
  1829. attack = false
  1830. end
  1831. end)
  1832.  
  1833. function Taunt()
  1834. attack = true
  1835. hum.WalkSpeed = 0
  1836. CreateSound("290084602", tors, 10, 1)
  1837. chatfunc("Wake up and smell the ashes.", BrickColor.random().Color)
  1838. for i = 0,6.2,0.1 do
  1839. swait()
  1840. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1841. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30), Rad(0), Rad(0)), 0.3)
  1842. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1843. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1844. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(145)), 0.1)
  1845. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(-145)), 0.1)
  1846. end
  1847. for i = 0,6.2,0.1 do
  1848. swait()
  1849. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  1850. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1851. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(20)), 0.15)
  1852. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-20)), 0.15)
  1853. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(15)), 0.1)
  1854. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(-15)), 0.1)
  1855. end
  1856. attack = false
  1857. hum.WalkSpeed = 16
  1858. end
  1859.  
  1860. function SkyShot()
  1861. local UhhhhThing = New("Part",EffectModel,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = tors.CFrame,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1862. attack = true
  1863. hum.WalkSpeed = 3.01
  1864. for i = 0,6.3,0.1 do
  1865. swait()
  1866. Effects.Block.Create(BrickColor.new(maincolor.Color), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1867. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1868. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1869. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  1870. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  1871. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1)
  1872. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
  1873. end
  1874. CreateSound("142070127", tors, 10, 1)
  1875. Effects.Sphere.Create(BrickColor.new(maincolor.Color), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
  1876. Effects.Sphere.Create(BrickColor.new(maincolor.Color), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
  1877. Effects.Sphere.Create(BrickColor.new(maincolor.Color), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
  1878. Effects.Sphere.Create(BrickColor.new(maincolor.Color), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
  1879. for i = 0,3.8,0.1 do
  1880. swait()
  1881. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1882. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1883. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  1884. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  1885. RW.C0 = clerp(RW.C0, CF(1.5, .2 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1)
  1886. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
  1887. end
  1888. CreateSound("224339201", tors, 10, 0.5)
  1889. for i = 1, 3 do
  1890. MagniDamage(UhhhhThing, 100, 1000, 10000, inf, "DarkUp")
  1891. UhhhhThing.CFrame = mouse.Hit
  1892. Effects.Cylinder.Create(BrickColor.new(maincolor.Color), UhhhhThing.CFrame, .5, 9999, .5, 10, 0, 10, 0.05)
  1893. Effects.Block.Create(BrickColor.new(maincolor.Color), UhhhhThing.CFrame, 1, 1, 1, 10, 10, 10, 0.05)
  1894. end
  1895. UhhhhThing:Destroy()
  1896. attack = false
  1897. hum.WalkSpeed = 8
  1898. end
  1899.  
  1900. function KarmaSlam()
  1901. attack = true
  1902. for i = 0,5.2,0.1 do
  1903. swait()
  1904. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  1905. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1906. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  1907. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  1908. end
  1909. CreateSound("331666100", tors, 10, 1)
  1910. for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
  1911. if v:FindFirstChild("Head") then
  1912. Eviscerate(v)
  1913. end
  1914. end
  1915. Effects.Ring.Create(BrickColor.new(maincolor.Color), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 3.6, 3.6, 3.6, 0.03)
  1916. Effects.Ring.Create(BrickColor.new(maincolor.Color), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 5.6, 5.6, 5.6, 0.03)
  1917. Effects.Ring.Create(BrickColor.new(maincolor.Color), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03)
  1918. Effects.Ring.Create(BrickColor.new(maincolor.Color), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 10.6, 10, 10, 0.03)
  1919. MagniDamage(tors, 12, 40, 60, 10, "Normal")
  1920. coroutine.resume(coroutine.create(function()
  1921. for i = 0,1.8,0.1 do
  1922. swait()
  1923. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  1924. end
  1925. for i = 0,1.8,0.1 do
  1926. swait()
  1927. hum.CameraOffset = Vector3.new(0,0,0)
  1928. end
  1929. end))
  1930. for i = 1,4.7,0.1 do
  1931. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  1932. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  1933. RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
  1934. RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1)
  1935. end
  1936. chatfunc("DIE!", BrickColor.random().Color)
  1937. wait(.6)
  1938. attack = false
  1939. end
  1940.  
  1941. function PainfulStomp()
  1942. for i = 0,0.1,0.1 do
  1943. swait()
  1944. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  1945. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1946. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  1947. LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  1948. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1)
  1949. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1)
  1950. end
  1951. CreateSound("331666100", char, 10, 1)
  1952. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  1953. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  1954. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  1955. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  1956. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05)
  1957. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05)
  1958. Effects.Ring.Create(BrickColor.Random(), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03)
  1959. for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
  1960. if v:FindFirstChild("Head") then
  1961. Eviscerate(v)
  1962. end
  1963. end
  1964. coroutine.resume(coroutine.create(function()
  1965. for i = 0,2.8,0.1 do
  1966. swait()
  1967. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  1968. end
  1969. for i = 0,1.8,0.1 do
  1970. swait()
  1971. hum.CameraOffset = Vector3.new(0,0,0)
  1972. end
  1973. end))
  1974. for i = 0,3.7,0.1 do
  1975. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  1976. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1977. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15)
  1978. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15)
  1979. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  1980. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  1981. end
  1982. wait(.6)
  1983. end
  1984. function Drainer()
  1985. attack=true
  1986. for i = 0,5,0.1 do
  1987. swait()
  1988. rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1989. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-65)),.3)
  1990. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1991. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  1992. HW.C0=clerp(HW.C0,cf(0,-2,0)*angles(math.rad(90),math.rad(0),math.rad(0)),0.15)
  1993. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 10, 1000, 10000, 3, "Normal")
  1994. end
  1995. attack=false
  1996. end
  1997.  
  1998. function OnePunch()
  1999. local target = nil
  2000. local targettorso = nil
  2001. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  2002. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  2003. targetT = mouse.Target.Parent
  2004. target = mouse.Target.Parent.Humanoid
  2005. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  2006. targethead = mouse.Target.Parent:FindFirstChild("Head")
  2007. end
  2008. end
  2009. if target ~= nil then
  2010. targettorso.Anchored = true
  2011. attack = true
  2012. hum.WalkSpeed = 0
  2013. root.CFrame = targettorso.CFrame * CF(0,0,2.6)
  2014. for i = 0,1.8,0.1 do
  2015. swait()
  2016. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-65)), 0.15)
  2017. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(65)), 0.3)
  2018. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
  2019. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
  2020. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(35)), 0.1)
  2021. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  2022. end
  2023. OneShot(targetT)
  2024. CreateSound("331666100", ra, 4, 1)
  2025. CreateSound("180083286", targettorso, 10, 1)
  2026. coroutine.resume(coroutine.create(function()
  2027. for i = 0,1.8,0.1 do
  2028. swait()
  2029. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  2030. end
  2031. for i = 0,1.8,0.1 do
  2032. swait()
  2033. hum.CameraOffset = Vector3.new(0,0,0)
  2034. end
  2035. end))
  2036. for i = 0,4.6,0.1 do
  2037. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
  2038. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  2039. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
  2040. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
  2041. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  2042. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  2043. end
  2044. wait(.6)
  2045. attack = false
  2046. hum.WalkSpeed = 8
  2047. end
  2048. end
  2049.  
  2050. -------------------------------------------------------
  2051. --End Attacks N Stuff--
  2052. -------------------------------------------------------
  2053. mouse.KeyDown:connect(function(key)
  2054. if string.byte(key) == 48 then
  2055. Swing = 2
  2056. hum.WalkSpeed = 38.82
  2057. end
  2058. end)
  2059. mouse.KeyUp:connect(function(key)
  2060. if string.byte(key) == 48 then
  2061. Swing = 1
  2062. hum.WalkSpeed = 8
  2063. end
  2064. end)
  2065.  
  2066. Music.Parent = tors
  2067. Music:Play()
  2068.  
  2069. mouse.KeyDown:connect(function(key)
  2070. if attack == false then
  2071. if key == 't' then
  2072. Taunt()
  2073. elseif key == 'z' then
  2074. OnePunch()
  2075. elseif key == 'x' then
  2076. SkyShot()
  2077. elseif key == 'c' then
  2078. KarmaSlam()
  2079. elseif key == 'v' then
  2080. Drainer()
  2081. end
  2082. end
  2083. end)
  2084.  
  2085.  
  2086. mouse.KeyDown:connect(function(key)
  2087. if attack == false then
  2088. if key == 'f' then
  2089. PainfulStomp()
  2090. end
  2091. end
  2092. end)
  2093.  
  2094. -------------------------------------------------------
  2095. --Start Animations--
  2096. -------------------------------------------------------
  2097. local equipped = false
  2098. local idle = 0
  2099. local change = 1
  2100. local val = 0
  2101. local toim = 0
  2102. local idleanim = 0.4
  2103. local Player_Size = 1
  2104. hum.WalkSpeed = 8
  2105. hum.Animator.Parent = nil
  2106. while true do
  2107. swait()
  2108. Music.Parent = char
  2109. sine = sine + change
  2110. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  2111. local velderp = root.Velocity.y
  2112. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
  2113. if equipped == true or equipped == false then
  2114. if attack == false then
  2115. idle = idle + 1
  2116. else
  2117. idle = 0
  2118. end
  2119. if 1 < root.Velocity.y and hitfloor == nil then
  2120. Anim = "Jump"
  2121. change = 1
  2122. if attack == false then
  2123. rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3)
  2124. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3)
  2125. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(15)),0.3)
  2126. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-15)),0.3)
  2127. LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  2128. RH.C0=clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
  2129. end
  2130. elseif -1 > root.Velocity.y and hitfloor == nil then
  2131. Anim = "Fall"
  2132. change = 1
  2133. if attack == false then
  2134. rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3)
  2135. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3)
  2136. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(90)),0.3)
  2137. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-90)),0.3)
  2138. LH.C0 = clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  2139. RH.C0 = clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
  2140. end
  2141. elseif torvel < 1 and hitfloor ~= nil then
  2142. Anim = "Idle"
  2143. change = 1
  2144. if attack == false then
  2145. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2146. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2147. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15)
  2148. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  2149. RW.C0 = clerp(RW.C0, CF(1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(-0), Rad(-30)), 0.1)
  2150. LW.C0 = clerp(LW.C0, CF(-1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(30)), 0.1)
  2151. end
  2152. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  2153. Anim = "Walk"
  2154. change = .6
  2155. if attack == false then
  2156. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15)
  2157. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  2158. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2159. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2160. RW.C0 = clerp(RW.C0, CF(1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(-0), Rad(-30)), 0.1)
  2161. LW.C0 = clerp(LW.C0, CF(-1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(30)), 0.1)
  2162. end
  2163. elseif torvel >= 25 and hitfloor ~= nil then
  2164. Anim = "Sprint"
  2165. change = 1.35
  2166. if attack == false then
  2167. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  2168. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  2169. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 - 35 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2170. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 + 35 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2171. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.34 * Cos(sine / 7)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  2172. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -0.34 * Cos(sine / 7)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  2173. end
  2174. end
  2175. end
  2176. if 0 < #Effects then
  2177. for e = 1, #Effects do
  2178. if Effects[e] ~= nil then
  2179. local Thing = Effects[e]
  2180. if Thing ~= nil then
  2181. local Part = Thing[1]
  2182. local Mode = Thing[2]
  2183. local Delay = Thing[3]
  2184. local IncX = Thing[4]
  2185. local IncY = Thing[5]
  2186. local IncZ = Thing[6]
  2187. if 1 >= Thing[1].Transparency then
  2188. if Thing[2] == "Block1" then
  2189. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2190. local Mesh = Thing[1].Mesh
  2191. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2192. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2193. elseif Thing[2] == "Block2" then
  2194. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  2195. local Mesh = Thing[7]
  2196. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2197. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2198. elseif Thing[2] == "Block3" then
  2199. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  2200. local Mesh = Thing[7]
  2201. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2202. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2203. elseif Thing[2] == "Cylinder" then
  2204. local Mesh = Thing[1].Mesh
  2205. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2206. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2207. elseif Thing[2] == "Blood" then
  2208. local Mesh = Thing[7]
  2209. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2210. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2211. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2212. elseif Thing[2] == "Elec" then
  2213. local Mesh = Thing[1].Mesh
  2214. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2215. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2216. elseif Thing[2] == "Disappear" then
  2217. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2218. elseif Thing[2] == "Shatter" then
  2219. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2220. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2221. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2222. Thing[6] = Thing[6] + Thing[5]
  2223. end
  2224. else
  2225. Part.Parent = nil
  2226. table.remove(Effects, e)
  2227. end
  2228. end
  2229. end
  2230. end
  2231. end
  2232. end
  2233.  
  2234. -------------------------------------------------------
  2235. --End Animations And Script--
  2236. -------------------------------------------------------
Add Comment
Please, Sign In to add comment