Advertisement
Rawscript

Untitled

Aug 24th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 97.58 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. print("FE Compatibility")
  5. script.Parent = Player.Character
  6.  
  7. --RemoteEvent for communicating
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10.  
  11. --Fake event to make stuff like Mouse.KeyDown work
  12. local function fakeEvent()
  13. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14. t.connect = t.Connect
  15. return t
  16. end
  17.  
  18. --Creating fake input objects with fake variables
  19. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23. end}
  24. --Merged 2 functions into one by checking amount of arguments
  25. CAS.UnbindAction = CAS.BindAction
  26.  
  27. --This function will trigger the events that have been :Connect()'ed
  28. local function te(self,ev,...)
  29. local t = m[ev]
  30. if t and t._fakeEvent and t.Function then
  31. t.Function(...)
  32. end
  33. end
  34. m.TrigEvent = te
  35. UIS.TrigEvent = te
  36.  
  37. Event.OnServerEvent:Connect(function(plr,io)
  38. if plr~=Player then return end
  39. if io.isMouse then
  40. m.Target = io.Target
  41. m.Hit = io.Hit
  42. else
  43. local b = io.UserInputState == Enum.UserInputState.Begin
  44. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46. end
  47. for _,t in pairs(CAS.Actions) do
  48. for _,k in pairs(t.Keys) do
  49. if k==io.KeyCode then
  50. t.Function(t.Name,io.UserInputState,io)
  51. end
  52. end
  53. end
  54. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56. end
  57. end)
  58. Event.Parent = NLS([==[
  59. local Player = game:GetService("Players").LocalPlayer
  60. local Event = script:WaitForChild("UserInput_Event")
  61. local UIS = game:GetService("UserInputService")
  62. local input = function(io,a)
  63. if a then return end
  64. --Since InputObject is a client-side instance, we create and pass table instead
  65. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  66. end
  67. UIS.InputBegan:Connect(input)
  68. UIS.InputEnded:Connect(input)
  69. local Mouse = Player:GetMouse()
  70. local h,t
  71. --Give the server mouse data 30 times every second, but only if the values changed
  72. --If player is not moving their mouse, client won't fire events
  73. while wait(1/30) do
  74. if h~=Mouse.Hit or t~=Mouse.Target then
  75. h,t=Mouse.Hit,Mouse.Target
  76. Event:FireServer({isMouse=true,Target=t,Hit=h})
  77. end
  78. end]==],Player.Character)
  79. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  80. end
  81.  
  82. --[Cyber Katana by SezHu]--
  83. wait(1 / 60)
  84.  
  85. warn("boi Magic reject incoming. --SezHu")
  86.  
  87. local oofowmybones = {
  88. 209527166,
  89. 209527158,
  90. 209527149,
  91. 209527127,
  92. 209527095,
  93. }
  94.  
  95.  
  96. Effects = { }
  97. local Player = owner
  98. local Character = Player.Character
  99. local Humanoid = Character.Humanoid
  100. local Head = Character.Head
  101. local RootPart = Character.HumanoidRootPart
  102. local Torso = Character.Torso
  103. local LeftArm = Character["Left Arm"]
  104. local RightArm = Character["Right Arm"]
  105. local LeftLeg = Character["Left Leg"]
  106. local RightLeg = Character["Right Leg"]
  107. local Camera = game.Workspace.CurrentCamera
  108. local RootJoint = RootPart.RootJoint
  109. local equipped = false
  110. local Attack = false
  111. local Anim = 'Idle'
  112. local Idle = 0
  113. local Combo = 1
  114. local TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  115. local Velocity = RootPart.Velocity.y
  116. local Sine = 0
  117. local Change = 1
  118. local maincol = "Crimson"
  119. local genjirip = false
  120.  
  121.  
  122. local coZ = 0
  123. local coX = 0
  124. local coC = 0
  125. local coV = 0
  126.  
  127.  
  128. local cooldownZ = 0
  129. local cooldownX = 0
  130. local cooldownC = 0
  131. local cooldownV = 0
  132.  
  133.  
  134.  
  135.  
  136. local RbxUtility = LoadLibrary("RbxUtility")
  137. local Create = RbxUtility.Create
  138.  
  139. Humanoid.MaxHealth = 90
  140. Humanoid.WalkSpeed = 16
  141. Humanoid.JumpPower = 1000
  142. Humanoid.Animator.Parent = nil
  143. Character.Animate.Parent = nil
  144.  
  145. local newMotor = function(part0, part1, c0, c1)
  146. local w = Create('Motor'){
  147. Parent = part0,
  148. Part0 = part0,
  149. Part1 = part1,
  150. C0 = c0,
  151. C1 = c1,
  152. }
  153. return w
  154. end
  155.  
  156.  
  157.  
  158. function clerp(a, b, t)
  159. return a:lerp(b, t)
  160. end
  161.  
  162. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  163. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  164.  
  165. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  166. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  167. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  168. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  169. RootJoint.C1 = CFrame.new(0, 0, 0)
  170. RootJoint.C0 = CFrame.new(0, 0, 0)
  171. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  172. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  173.  
  174. local rarmc1 = RW.C1
  175. local larmc1 = LW.C1
  176. local rlegc1 = RH.C1
  177. local llegc1 = LH.C1
  178.  
  179. local resetc1 = false
  180.  
  181. function PlayAnimationFromTable(table, speed, bool)
  182. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  183. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  184. RW.C0 = clerp(RW.C0, table[3], speed)
  185. LW.C0 = clerp(LW.C0, table[4], speed)
  186. RH.C0 = clerp(RH.C0, table[5], speed)
  187. LH.C0 = clerp(LH.C0, table[6], speed)
  188. if bool == true then
  189. if resetc1 == false then
  190. resetc1 = true
  191. RootJoint.C1 = RootJoint.C1
  192. Torso.Neck.C1 = Torso.Neck.C1
  193. RW.C1 = rarmc1
  194. LW.C1 = larmc1
  195. RH.C1 = rlegc1
  196. LH.C1 = llegc1
  197. end
  198. end
  199. end
  200.  
  201. ArtificialHB = Create("BindableEvent"){
  202. Parent = script,
  203. Name = "Heartbeat",
  204. }
  205. print(Player.Name)
  206. script:WaitForChild("Heartbeat")
  207. frame = 1 / 35
  208. tf = 0
  209. allowframeloss = false
  210. tossremainder = false
  211. lastframe = tick()
  212. script.Heartbeat:Fire()
  213.  
  214. game:GetService("RunService").Heartbeat:connect(function(s, p)
  215. tf = tf + s
  216. if tf >= frame then
  217. if allowframeloss then
  218. script.Heartbeat:Fire()
  219. lastframe = tick()
  220. else
  221. for i = 1, math.floor(tf / frame) do
  222. script.Heartbeat:Fire()
  223. end
  224. lastframe = tick()
  225. end
  226. if tossremainder then
  227. tf = 0
  228. else
  229. tf = tf - frame * math.floor(tf / frame)
  230. end
  231. end
  232. end)
  233.  
  234. function swait(num)
  235. if num == 0 or num == nil then
  236. ArtificialHB.Event:wait()
  237. else
  238. for i = 0, num do
  239. ArtificialHB.Event:wait()
  240. end
  241. end
  242. end
  243.  
  244. local m = Create("Model"){
  245. Parent = Character,
  246. Name = "WeaponModel"
  247. }
  248.  
  249. function RemoveOutlines(part)
  250. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  251. end
  252.  
  253. CFuncs = {
  254. Part = {
  255. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  256. local Part = Create("Part"){
  257. Parent = Parent,
  258. Reflectance = Reflectance,
  259. Transparency = Transparency,
  260. CanCollide = false,
  261. Locked = true,
  262. BrickColor = BrickColor.new(tostring(BColor)),
  263. Name = Name,
  264. Size = Size,
  265. Material = Material,
  266. }
  267. RemoveOutlines(Part)
  268. if Size == Vector3.new() then
  269. Part.Size = Vector3.new(0.2, 0.2, 0.2)
  270. else
  271. Part.Size = Size
  272. end
  273. return Part
  274. end;
  275. };
  276.  
  277. Mesh = {
  278. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  279. local Msh = Create(Mesh){
  280. Parent = Part,
  281. Offset = OffSet,
  282. Scale = Scale,
  283. }
  284. if Mesh == "SpecialMesh" then
  285. Msh.MeshType = MeshType
  286. Msh.MeshId = MeshId
  287. end
  288. return Msh
  289. end;
  290. };
  291.  
  292. Weld = {
  293. Create = function(Parent, Part0, Part1, C0, C1)
  294. local Weld = Create("Weld"){
  295. Parent = Parent,
  296. Part0 = Part0,
  297. Part1 = Part1,
  298. C0 = C0,
  299. C1 = C1,
  300. }
  301. return Weld
  302. end;
  303. };
  304.  
  305. Sound = {
  306. Create = function(id, par, vol, pit)
  307. coroutine.resume(coroutine.create(function()
  308. local S = Create("Sound"){
  309. Volume = vol,
  310. Pitch = pit or 1,
  311. SoundId = "rbxassetid://" .. id,
  312. Parent = par or workspace,
  313. }
  314. wait()
  315. S:play()
  316. game:GetService("Debris"):AddItem(S, 10)
  317. end))
  318. end;
  319. };
  320.  
  321. ParticleEmitter = {
  322. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  323. local Particle = Create("ParticleEmitter"){
  324. Parent = Parent,
  325. Color = ColorSequence.new(Color1, Color2),
  326. LightEmission = LightEmission,
  327. Size = Size,
  328. Texture = Texture,
  329. Transparency = Transparency,
  330. ZOffset = ZOffset,
  331. Acceleration = Accel,
  332. Drag = Drag,
  333. LockedToPart = LockedToPart,
  334. VelocityInheritance = VelocityInheritance,
  335. EmissionDirection = EmissionDirection,
  336. Enabled = Enabled,
  337. Lifetime = LifeTime,
  338. Rate = Rate,
  339. Rotation = Rotation,
  340. RotSpeed = RotSpeed,
  341. Speed = Speed,
  342. VelocitySpread = VelocitySpread,
  343. }
  344. return Particle
  345. end;
  346. };
  347.  
  348. CreateTemplate = {
  349.  
  350. };
  351. }
  352.  
  353.  
  354.  
  355. GleamPart=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","GleamPart",Vector3.new(0.0899999291, 0.190000042, 0.220000297))
  356. GleamPartWeld=CFuncs.Weld.Create(m,Character["Head"],GleamPart,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.545001984, -0.194999933, -0.220005035, -2.98023224e-08, 0, -1, 0, 1, 0, 1, 0, -2.98023224e-08))
  357. RHandle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","RHandle",Vector3.new(0.380000323, 0.449999988, 0.9399997))
  358. RHandleWeld=CFuncs.Weld.Create(m,Character["Right Arm"],RHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.241340041, 0.756091118, 0.047064364, 0.972961843, -0.223824054, -0.056994807, 0.215028957, 0.967887759, -0.130215153, 0.0843098462, 0.114438847, 0.989846289))
  359. Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","Handle",Vector3.new(0.380000323, 0.449999988, 0.9399997))
  360. HandleWeld=CFuncs.Weld.Create(m,RHandle,Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.241340041, 0.756091118, 0.047064364, 0.972961843, -0.223824054, -0.056994807, 0.215028957, 0.967887759, -0.130215153, 0.0843098462, 0.114438847, 0.989846289))
  361. FakeNeonPart=CFuncs.Part.Create(m,Enum.Material.Glass,0,0,"Pastel blue","FakeNeonPart",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007))
  362. FakeNeonPartWeld=CFuncs.Weld.Create(m,Handle,FakeNeonPart,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.130118728, 0.0759687424, -2.15013003, -0.343665242, 0.938437879, 0.0350530818, 0.917687774, 0.327674031, 0.224675417, 0.199357927, 0.109380879, -0.973803103))
  363. CFuncs.Mesh.Create("SpecialMesh",FakeNeonPart,Enum.MeshType.FileMesh,"rbxassetid://1625992167",Vector3.new(0, 0, 0),Vector3.new(0.0799999982, 0.0799999982, 0.100000001))
  364. Hitbox=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","Hitbox",Vector3.new(1.00000262, 0.939999461, 4.98999929))
  365. HitboxWeld=CFuncs.Weld.Create(m,Handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0693097115, 0.288284421, -3.16799116, -0.971259058, -0.171010017, -0.165564254, -0.195555598, 0.969846189, 0.145452395, 0.13569805, 0.173648939, -0.975413918))
  366. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Bright bluish green","Part",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007))
  367. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.175208926, 0.075571537, -8.69035721e-05, -0.343665242, 0.938437879, 0.0350530818, 0.917687774, 0.327674031, 0.224675417, 0.199357927, 0.109380879, -0.973803103))
  368. CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.FileMesh,"rbxassetid://1625991090",Vector3.new(0, 0, 0),Vector3.new(0.0797663927, 0.0797663927, 0.0797663927))
  369. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Bright bluish green","Part",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007))
  370. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.175208569, 0.0755660534, -0.643471003, -0.343665242, 0.938437879, 0.0350530818, 0.917687774, 0.327674031, 0.224675417, 0.199357927, 0.109380879, -0.973803103))
  371. CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.FileMesh,"rbxassetid://1625992464",Vector3.new(0, 0, 0),Vector3.new(0.0797663927, 0.0797663927, 0.0797663927))
  372. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Lily white","Part",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007))
  373. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.136491299, 0.0755722523, -0.20572865, -0.343665242, 0.938437879, 0.0350530818, 0.917687774, 0.327674031, 0.224675417, 0.199357927, 0.109380879, -0.973803103))
  374. CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.FileMesh,"rbxassetid://1625991466",Vector3.new(0, 0, 0),Vector3.new(0.0797663927, 0.0797663927, 0.0797663927))
  375. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0.20000000298023,"Pastel blue","Part",Vector3.new(0.188248605, 0.061420165, 0.0534434617))
  376. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0745561123, -0.137215376, -0.639466047, 0.917687833, 0.327673912, 0.224675417, 0.343665034, -0.938437819, -0.0350531079, 0.199357927, 0.109380879, -0.973803103))
  377. CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  378. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Smoky grey","Part",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007))
  379. PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.23342824, 0.0755720139, 0.490041733, -0.343665242, 0.938437879, 0.0350530818, 0.917687774, 0.327674031, 0.224675417, 0.199357927, 0.109380879, -0.973803103))
  380. CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.FileMesh,"rbxassetid://1625990842",Vector3.new(0, 0, 0),Vector3.new(0.0797663927, 0.0797663927, 0.0797663927))
  381. ParticleBrick=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","ParticleBrick",Vector3.new(0.0500000007, 0.0500000007, 3.58999777))
  382. ParticleBrickWeld=CFuncs.Weld.Create(m,Handle,ParticleBrick,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0228426456, 0.338142753, -2.49886847, -0.965712547, -0.164612994, -0.200753704, -0.185468316, 0.978537798, 0.0898066387, 0.181661785, 0.12396083, -0.975516796))
  383. SwordEdge=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0.30000001192093,0,"Bright bluish green","SwordEdge",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007))
  384. SwordEdgeWeld=CFuncs.Weld.Create(m,Handle,SwordEdge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0682126284, 0.0755708218, -3.0655992, -0.343665242, 0.938437879, 0.0350530818, 0.917687774, 0.327674031, 0.224675417, 0.199357927, 0.109380879, -0.973803103))
  385. CFuncs.Mesh.Create("SpecialMesh",SwordEdge,Enum.MeshType.FileMesh,"rbxassetid://1625992814",Vector3.new(0, 0, 0),Vector3.new(0.0780000016, 0.0799999982, 0.100000001))
  386. Swordbit=CFuncs.Part.Create(m,Enum.Material.Metal,0,0,"Bright bluish green","Swordbit",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007))
  387. SwordbitWeld=CFuncs.Weld.Create(m,Handle,Swordbit,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0701296329, 0.0755696297, -2.96353936, -0.343665242, 0.938437879, 0.0350530818, 0.917687774, 0.327674031, 0.224675417, 0.199357927, 0.109380879, -0.973803103))
  388. CFuncs.Mesh.Create("SpecialMesh",Swordbit,Enum.MeshType.FileMesh,"rbxassetid://1625990432",Vector3.new(0, 0, 0),Vector3.new(0.0799999982, 0.0799999982, 0.100000001))
  389. TrailAtch1=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","TrailAtch1",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007))
  390. TrailAtch1Weld=CFuncs.Weld.Create(m,Handle,TrailAtch1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.022841692, 0.272662282, -4.47857618, -0.965712547, -0.164612994, -0.200753704, -0.185468316, 0.978537798, 0.0898066387, 0.181661785, 0.12396083, -0.975516796))
  391. TrailAtch2=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","TrailAtch2",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007))
  392. TrailAtch2Weld=CFuncs.Weld.Create(m,Handle,TrailAtch2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0228409767, 0.344876766, -0.71957016, -0.965712547, -0.164612994, -0.200753689, -0.185468301, 0.978537738, 0.0898066461, 0.181661814, 0.12396083, -0.975516915))
  393. Grabby=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","Grabby",Vector3.new(0.590000212, 0.439999968, 0.379999876))
  394. GrabbyWeld=CFuncs.Weld.Create(m,Character["Left Arm"],Grabby,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0250015259, 1.34013653, -0.0200023651, -8.94069672e-08, 5.96046448e-08, -1.00000012, 1.04308128e-07, 0.999999881, 1.1920929e-07, 1, -2.98023224e-08, -1.49011612e-07))
  395.  
  396. Trail = Instance.new("Trail", Character)
  397. A2 = Instance.new('Attachment',TrailAtch1)
  398. A3 = Instance.new('Attachment',TrailAtch2)
  399. Trail = Instance.new('Trail',Character)
  400. Trail.Attachment0 = A2
  401. Trail.Attachment1 = A3
  402.  
  403. Trail.Lifetime = .1
  404. Trail.Enabled = false
  405. Trail.Attachment0 = A2
  406. Trail.Attachment1 = A3
  407. Trail.MinLength = 0
  408. Trail.Texture = "rbxassetid://1165010419"
  409. local startColor = Color3.new(200, 0, 0)
  410. local endColor = Color3.new(50,0, 0)
  411. local startT = 0
  412. local endT = 1
  413. local sequence = ColorSequence.new(startColor, endColor)
  414. local sequence2 = NumberSequence.new(startT, endT)
  415. Trail.Color = sequence
  416. Trail.Transparency = sequence2
  417.  
  418.  
  419.  
  420. Trail2 = Instance.new("Trail", Character)
  421. A2 = Instance.new('Attachment',TrailAtch1)
  422. A3 = Instance.new('Attachment',TrailAtch2)
  423. Trail2 = Instance.new('Trail',Character)
  424. Trail2.Attachment0 = A2
  425. Trail2.Attachment1 = A3
  426. Trail2.MinLength = 0
  427. Trail2.Lifetime = .5
  428. Trail2.Texture = "rbxassetid://1165010419"
  429. Trail2.Enabled = false
  430. Trail2.Attachment0 = A2
  431. Trail2.Attachment1 = A3
  432. local startColor2 = Color3.new(200, 0, 0)
  433. local endColor2 = Color3.new(50,0, 0)
  434. local startT2 = .5
  435. local endT2 = .8
  436.  
  437. local sequence2 = ColorSequence.new(startColor2, endColor2)
  438. local sequence3 = NumberSequence.new(startT2, endT2)
  439.  
  440. Trail2.Color = sequence2
  441. Trail2.Transparency = sequence3
  442.  
  443.  
  444.  
  445. function RayCast(Position, Direction, Range, Ignore)
  446. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  447. end
  448.  
  449. function FindNearestTorso(Position, Distance, SinglePlayer)
  450. if SinglePlayer then
  451. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  452. end
  453. local List = {}
  454. for i, v in pairs(workspace:GetChildren()) do
  455. if v:IsA("Model") then
  456. if v:findFirstChild("Torso") then
  457. if v ~= Character then
  458. if (v.Torso.Position - Position).magnitude <= Distance then
  459. table.insert(List, v)
  460. end
  461. end
  462. end
  463. end
  464. end
  465. return List
  466. end
  467.  
  468. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  469. if hit.Parent == nil then
  470. return
  471. end
  472. local h = hit.Parent:FindFirstChild("Humanoid")
  473. for _, v in pairs(hit.Parent:children()) do
  474. if v:IsA("Humanoid") then
  475. h = v
  476. end
  477. end
  478. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  479. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  480. if hit.Parent.DebounceHit.Value == true then
  481. return
  482. end
  483. end
  484. local c = Create("ObjectValue"){
  485. Name = "creator",
  486. Value = game:service("Players").LocalPlayer,
  487. Parent = h,
  488. }
  489. game:GetService("Debris"):AddItem(c, .5)
  490. if HitSound ~= nil and HitPitch ~= nil then
  491. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  492. end
  493. local Damage = math.random(minim, maxim)
  494. local blocked = false
  495. local block = hit.Parent:findFirstChild("Block")
  496. if block ~= nil then
  497. if block.className == "IntValue" then
  498. if block.Value > 0 then
  499. blocked = true
  500. block.Value = block.Value - 1
  501. print(block.Value)
  502. end
  503. end
  504. end
  505. if blocked == false then
  506. for i = 0, .4, 0.1 do
  507. Effects.Break.Create(BrickColor.new("Crimson"), hit.Parent.Torso.CFrame, .5, 2, .5)
  508. end
  509. h.Health = h.Health - Damage
  510. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Pastel blue").Color,BrickColor.new("Bright bluish green").Color)
  511. else
  512. h.Health = h.Health - (Damage / 2)
  513. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Pastel blue").Color,BrickColor.new("Bright bluish green").Color)
  514. end
  515. if Type == "Knockdown" then
  516. local hum = hit.Parent.Humanoid
  517. hum.PlatformStand = true
  518. coroutine.resume(coroutine.create(function(HHumanoid)
  519. swait(1)
  520. HHumanoid.PlatformStand = false
  521. end), hum)
  522. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  523. local bodvol = Create("BodyVelocity"){
  524. velocity = angle * knockback,
  525. P = 5000,
  526. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  527. Parent = hit,
  528. }
  529. local rl = Create("BodyAngularVelocity"){
  530. P = 3000,
  531. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  532. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  533. Parent = hit,
  534. }
  535. game:GetService("Debris"):AddItem(bodvol, .5)
  536. game:GetService("Debris"):AddItem(rl, .5)
  537. elseif Type == "Normal" then
  538. local vp = Create("BodyVelocity"){
  539. P = 500,
  540. maxForce = Vector3.new(math.huge, 0, math.huge),
  541. velocity = RootPart.CFrame.lookVector * knockback * 2,
  542. }
  543. if knockback > 0 then
  544. vp.Parent = hit.Parent.Torso
  545. end
  546. game:GetService("Debris"):AddItem(vp, .5)
  547.  
  548. elseif Type == "Bleed" then
  549. coroutine.resume(coroutine.create(function()
  550. local vp = Create("BodyVelocity"){
  551. P = 500,
  552. maxForce = Vector3.new(math.huge, 0, math.huge),
  553. velocity = RootPart.CFrame.lookVector * knockback * 2,
  554. }
  555. if knockback > 0 then
  556. vp.Parent = hit.Parent.Torso
  557. end
  558. game:GetService("Debris"):AddItem(vp, .5)
  559. ShowDamage((hit.Parent.Head.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), "Bleeding!", .5, BrickColor.new(maincol).Color,BrickColor.new("Bright bluish green").Color)
  560. wait(.3)
  561. for i = 0, 9, 1 do
  562. wait(1)
  563. --CFuncs.Sound.Create(oofowmybones[math.random(#oofowmybones)], hit.Parent.Head, .3, 1)
  564. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 1
  565. ShowDamage((hit.Parent.Head.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), "-1", 1.5, BrickColor.new(maincol).Color,BrickColor.new("Bright bluish green").Color)
  566. end
  567. end))
  568.  
  569. elseif Type == "Up" then
  570. local bodyVelocity = Create("BodyVelocity"){
  571. velocity = Vector3.new(0, 20, 0),
  572. P = 5000,
  573. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  574. Parent = hit,
  575. }
  576. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  577. elseif Type == "DarkUp" then
  578. coroutine.resume(coroutine.create(function()
  579. for i = 0, 1, 0.1 do
  580. swait()
  581. Effects.Block.Create(BrickColor.new("Bright bluish green"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  582. end
  583. end))
  584. local bodyVelocity = Create("BodyVelocity"){
  585. velocity = Vector3.new(0, 20, 0),
  586. P = 5000,
  587. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  588. Parent = hit,
  589. }
  590. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  591. elseif Type == "Snare" then
  592. local bp = Create("BodyPosition"){
  593. P = 2000,
  594. D = 100,
  595. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  596. position = hit.Parent.Torso.Position,
  597. Parent = hit.Parent.Torso,
  598. }
  599. game:GetService("Debris"):AddItem(bp, 1)
  600. elseif Type == "Stagger" then
  601. local BodPos = Create("BodyPosition"){
  602. P = 50000,
  603. D = 1000,
  604. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  605. position = hit.Parent.Torso.Position,
  606. Parent = hit.Parent.Torso,
  607. }
  608. local BodGy = Create("BodyGyro") {
  609. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  610. P = 20e+003,
  611. Parent = hit.Parent.Torso,
  612. CFrame = hit.Parent.Torso.CFrame,
  613. }
  614. ShowDamage((hit.Parent.Head.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), "Staggered!", 1, BrickColor.new("New Yeller").Color,BrickColor.new("Bright bluish green").Color)
  615. hit.Parent.Torso.Anchored = true
  616. coroutine.resume(coroutine.create(function(Part)
  617. wait(.5)
  618. Part.Anchored = false
  619. end), hit.Parent.Torso)
  620. game:GetService("Debris"):AddItem(BodPos, .8)
  621. game:GetService("Debris"):AddItem(BodGy, .8)
  622. end
  623. local debounce = Create("BoolValue"){
  624. Name = "DebounceHit",
  625. Parent = hit.Parent,
  626. Value = true,
  627. }
  628. if Delay > 0 then
  629. game:GetService("Debris"):AddItem(debounce, Delay)
  630. c = Create("ObjectValue"){
  631. Name = "creator",
  632. Value = Player,
  633. Parent = h,
  634. }
  635. end
  636. game:GetService("Debris"):AddItem(c, .5)
  637. end
  638. end
  639.  
  640. function ShowDamage(Pos, Text, Time, Color, Color2)
  641. local Rate = (1 / 35)
  642. local Pos = (Pos or Vector3.new(0, 0, 0))
  643. local Text = (Text or "")
  644. local Time = (Time or 2)
  645. local Color = (Color or Color3.new(1, 0, 1))
  646. local Color2 = (Color2 or Color3.new(1, 0, 1))
  647. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  648. EffectPart.Anchored = false
  649. EffectPart.CFrame = CFrame.new(Pos)
  650. EffectPart.Velocity = EffectPart.CFrame.upVector * math.random(20,70)
  651. local sizebit = 5
  652. local BillboardGui = Create("BillboardGui"){
  653. Size = UDim2.new(sizebit, 0, sizebit, 0),
  654. Adornee = EffectPart,
  655. Parent = EffectPart,
  656. }
  657. local TextLabel = Create("TextLabel"){
  658. BackgroundTransparency = 1,
  659. Size = UDim2.new(1, 0, 1, 0),
  660. Text = Text,
  661. Font = "SourceSansLight",
  662. TextColor3 = Color,
  663. TextStrokeColor3 = Color2,
  664. TextStrokeTransparency = 0,
  665. TextScaled = true,
  666. Parent = BillboardGui,
  667. }
  668. game.Debris:AddItem(EffectPart, (Time))
  669. EffectPart.Parent = game:GetService("Workspace")
  670. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, 0, 0)
  671. delay(0, function()
  672. local Frames = (Time / Rate)
  673. wait(.15)
  674. EffectPart.Anchored = true
  675. for Frame = 1, Frames do
  676. wait(Rate)
  677. BillboardGui.Size = UDim2.new(sizebit, 0, sizebit, 0)
  678. local Percent = (Frame / Frames)
  679. TextLabel.TextTransparency = Percent
  680. sizebit = sizebit - .4
  681. end
  682. if EffectPart and EffectPart.Parent then
  683. EffectPart:Destroy()
  684. end
  685. end)
  686. end
  687.  
  688. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  689. for _, c in pairs(workspace:children()) do
  690. local hum = c:findFirstChild("Humanoid")
  691. if hum ~= nil then
  692. local head = c:findFirstChild("Torso")
  693. if head ~= nil then
  694. local targ = head.Position - Part.Position
  695. local mag = targ.magnitude
  696. if mag <= Magnitude and c.Name ~= Player.Name then
  697. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 0, "rbxassetid://" .. HitSound, HitPitch)
  698. end
  699. end
  700. end
  701. end
  702. end
  703.  
  704. EffectModel = Create("Model"){
  705. Parent = Character,
  706. Name = "EffectModel",
  707. }
  708.  
  709. Effects = {
  710. Block = {
  711. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, Part)
  712. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  713. prt.Anchored = true
  714. prt.CFrame = cframe
  715. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  716. game:GetService("Debris"):AddItem(prt, 10)
  717. if Type == 1 or Type == nil then
  718. table.insert(Effects, {
  719. prt,
  720. "Block1",
  721. delay,
  722. x3,
  723. y3,
  724. z3,
  725. msh
  726. })
  727. elseif Type == 2 then
  728. table.insert(Effects, {
  729. prt,
  730. "Block2",
  731. delay,
  732. x3,
  733. y3,
  734. z3,
  735. msh
  736. })
  737. elseif Type == 3 then
  738. table.insert(Effects, {
  739. prt,
  740. "Block3",
  741. delay,
  742. x3,
  743. y3,
  744. z3,
  745. msh,
  746. Part
  747. })
  748. elseif Type == 4 then
  749. table.insert(Effects, {
  750. prt,
  751. "Block2Fire",
  752. delay,
  753. x3,
  754. y3,
  755. z3,
  756. msh
  757. })
  758. end
  759. end
  760. };
  761.  
  762. Sphere = {
  763. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, parent)
  764. prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  765. prt.Anchored = true
  766. prt.CFrame = cframe
  767. if parent == nil then
  768. prt.Parent = workspace
  769. else
  770. prt.Parent = parent
  771. end
  772. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  773. game:GetService("Debris"):AddItem(prt, 10)
  774. table.insert(Effects, {
  775. prt,
  776. "Cylinder",
  777. delay,
  778. x3,
  779. y3,
  780. z3,
  781. msh
  782. })
  783. end
  784. };
  785.  
  786. Blood = {
  787. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  788. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  789. prt.Anchored = true
  790. prt.CFrame = cframe
  791. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  792. game:GetService("Debris"):AddItem(prt, 10)
  793. table.insert(Effects, {
  794. prt,
  795. "Blood",
  796. delay,
  797. x3,
  798. y3,
  799. z3,
  800. msh
  801. })
  802. end
  803. };
  804.  
  805. Blast = {
  806. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Part)
  807. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  808. prt.Anchored = true
  809. prt.CFrame = cframe
  810. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "1323306", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  811. game:GetService("Debris"):AddItem(prt, 10)
  812. table.insert(Effects, {
  813. prt,
  814. "Block4",
  815. delay,
  816. x3,
  817. y3,
  818. z3,
  819. msh,
  820. Part
  821. })
  822. end
  823. };
  824.  
  825. Ring = {
  826. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  827. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  828. prt.Anchored = true
  829. prt.CFrame = cframe
  830. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  831. game:GetService("Debris"):AddItem(prt, 10)
  832. table.insert(Effects, {
  833. prt,
  834. "Cylinder",
  835. delay,
  836. x3,
  837. y3,
  838. z3,
  839. msh
  840. })
  841. end
  842. };
  843.  
  844. Cylinder = {
  845. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  846. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  847. prt.Anchored = true
  848. prt.CFrame = cframe
  849. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  850. game:GetService("Debris"):AddItem(prt, 10)
  851. table.insert(Effects, {
  852. prt,
  853. "Cylinder",
  854. delay,
  855. x3,
  856. y3,
  857. z3,
  858. msh
  859. })
  860. end
  861. };
  862.  
  863. Head = {
  864. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  865. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  866. prt.Anchored = true
  867. prt.CFrame = cframe
  868. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  869. game:GetService("Debris"):AddItem(prt, 10)
  870. table.insert(Effects, {
  871. prt,
  872. "Cylinder",
  873. delay,
  874. x3,
  875. y3,
  876. z3,
  877. msh
  878. })
  879. end
  880. };
  881.  
  882. Wave = {
  883. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  884. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  885. prt.Anchored = true
  886. prt.CFrame = cframe
  887. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  888. game:GetService("Debris"):AddItem(prt, 10)
  889. table.insert(Effects, {
  890. prt,
  891. "Cylinder",
  892. delay,
  893. x3,
  894. y3,
  895. z3,
  896. msh
  897. })
  898. end
  899. };
  900.  
  901. Break = {
  902. Create = function(brickcolor, cframe, x1, y1, z1)
  903. prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  904. prt.Anchored = true
  905. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  906. game:GetService("Debris"):AddItem(prt, 10)
  907. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  908. local num = math.random(10, 50) / 1000
  909. table.insert(Effects, {
  910. prt,
  911. "Shatter",
  912. num,
  913. prt.CFrame,
  914. math.random() - math.random(),
  915. 0,
  916. math.random(50, 100) / 100
  917. })
  918. end
  919. };
  920.  
  921. Elec = {
  922. Create = function(brickcolor, cff, x, y, z)
  923. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1))
  924. prt.Anchored = true
  925. prt.CFrame = cff * CFrame.new(math.random(-x * 100, x * 100) / 100, math.random(-y * 100, y * 100) / 100, math.random(-z * 100, z * 100) / 100)
  926. prt.CFrame = CFrame.new(prt.Position)
  927. game:GetService("Debris"):AddItem(prt, 10)
  928. xval = math.random() / 9
  929. yval = math.random() / 9
  930. zval = math.random() / 9
  931. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  932. eul1 = math.random(-50, 50)
  933. eul2 = math.random(-50, 50)
  934. eul3 = math.random(-50, 50)
  935. euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
  936. euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
  937. table.insert(Effects, {
  938. prt,
  939. "Elec",
  940. .05,
  941. x,
  942. y,
  943. z,
  944. xval,
  945. yval,
  946. zval,
  947. msh,
  948. euld,
  949. euld2
  950. })
  951. end
  952. };
  953.  
  954. Elec2 = {
  955. Create = function(brickcolor, cff, x, y, z)
  956. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1))
  957. prt.Anchored = true
  958. prt.CFrame = cff * CFrame.new(math.random(-x * 100, x * 100) / 100, math.random(-y * 100, y * 100) / 100, math.random(-z * 100, z * 100) / 100)
  959. prt.CFrame = CFrame.new(prt.Position)
  960. game:GetService("Debris"):AddItem(prt, 10)
  961. xval = math.random() / 7
  962. yval = math.random() / 7
  963. zval = math.random() / 7
  964. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  965. eul1 = math.random(-50, 50)
  966. eul2 = math.random(-50, 50)
  967. eul3 = math.random(-50, 50)
  968. euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
  969. euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
  970. table.insert(Effects, {
  971. prt,
  972. "Elec",
  973. .1,
  974. x,
  975. y,
  976. z,
  977. xval,
  978. yval,
  979. zval,
  980. msh,
  981. euld,
  982. euld2
  983. })
  984. end
  985. };
  986.  
  987. Clone = {
  988. Create = function()
  989. for _, v in pairs(Torso.Parent:children()) do
  990. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  991. local c = CFuncs.Part.Create(EffectModel, "Neon", 0, .5, BrickColor.new("Bright blue"), "Effect", v.Size)
  992. c.Anchored = true
  993. c.CFrame = v.CFrame
  994. game:GetService("Debris"):AddItem(c, 5)
  995. local cmsh = nil
  996. if v.Name == "Head" then
  997. cmsh = CFuncs.Mesh.Create("SpecialMesh", c, "Head", "", Vector3.new(0, 0, 0), v.Mesh.Scale)
  998. else
  999. cmsh = CFuncs.Mesh.Create("BlockMesh", c, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1000. end
  1001. table.insert(Effects, {
  1002. c,
  1003. "Cylinder",
  1004. 0.05,
  1005. 0.1,
  1006. 0.1,
  1007. 0.1,
  1008. cmsh
  1009. })
  1010. end
  1011. end
  1012. end
  1013. };
  1014.  
  1015. EffectTemplate = {
  1016.  
  1017. };
  1018. }
  1019.  
  1020. function Attackone()
  1021. Attack = true
  1022. for i = 0, 1, 0.1 do
  1023. swait()
  1024. PlayAnimationFromTable({
  1025. CFrame.new(0, 0, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1026. CFrame.new(0, 1.5, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1027. CFrame.new(1.5, 0, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1028. CFrame.new(-1.5, 0, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1029. CFrame.new(0.5, -2, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1030. CFrame.new(-0.5, -2, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1031. }, .3, false)
  1032. end
  1033. Attack = false
  1034. end
  1035.  
  1036.  
  1037. function basicatk1()
  1038. Attack = true
  1039. for i = 0, 1, 0.1 do
  1040. swait()
  1041. PlayAnimationFromTable({
  1042. CFrame.new(-0.0142327882, 0.0233180653, 0.0206850152, 0.342022419, 9.53674316e-07, -0.939693272, -1.97067857e-06, 0.999999821, -2.77161598e-06, 0.939691842, -3.1888485e-06, 0.342018187) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1043. CFrame.new(-3.0002484e-06, 1.49992502, -4.16819603e-06, 0.536599159, 0, 0.843837321, 0, 1, 0, -0.843837321, 0, 0.536599159) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1044. CFrame.new(1.86725414, 0.520918071, 0.271278173, -0.192566082, -0.920491397, -0.340020508, 0.967886448, -0.121106967, -0.220293105, 0.16159907, -0.371522188, 0.914252102) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1045. CFrame.new(-1.63878369, 0.0883156657, 0.277901947, 0.932158768, 0.313689649, 0.180773243, -0.33414492, 0.937619865, 0.0960013121, -0.139381975, -0.149892926, 0.978828311) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1046. CFrame.new(0.631921172, -2.00664234, -0.186664119, 0.932272255, -0.109707505, 0.344721258, 0.134574026, 0.989692569, -0.0489756428, -0.335795075, 0.0920491666, 0.937426567) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1047. CFrame.new(-0.51753515, -2, 0.082954295, 0.939693093, 0, 0.342018992, 0, 1, 0, -0.342019022, 0, 0.939693093) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1048. }, .5, false)
  1049. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .5, .3) * CFrame.Angles(math.rad(50), math.rad(190), math.rad(0)), 1)
  1050. end
  1051. local con = Hitbox.Touched:connect(function(hit)
  1052. Damage(Hitbox, hit, 9, 13, 6, "Normal", Torso, 0.5, "851453784", 1)end)
  1053. CFuncs.Sound.Create("356430037", Hitbox, 1, 1)
  1054. Trail.Enabled = true
  1055. for i = 0, 1, 0.1 do
  1056. swait()
  1057. PlayAnimationFromTable({
  1058. CFrame.new(-0.0142326681, 0.0233180001, 0.0206871442, 1.78813934e-07, 0, 1.00000203, 0, 1, 0, -1.00000203, 0, 1.49011612e-07) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1059. CFrame.new(0, 1.49992609, 0, 0.462487102, 0, -0.886626124, 0, 1, 0, 0.886626124, 0, 0.462487072) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1060. CFrame.new(1.59986377, 0.488647908, -0.460965931, 0.695726395, -0.716896534, 0.0449903496, 0.0475609899, -0.0165210012, -0.998731732, 0.716730595, 0.696983814, 0.0226022154) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1061. CFrame.new(-1.80470943, 0.308719665, 0.00611042976, 0.864646077, 0.492070675, 0.1012609, -0.498273998, 0.865697801, 0.0478584878, -0.0641115457, -0.0918363109, 0.993708193) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1062. CFrame.new(0.450665146, -1.87432182, 0.242756784, 0.938798666, 0.182527304, -0.29213196, -0.024868004, 0.881770015, 0.471023679, 0.343567908, -0.434931636, 0.832343459) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1063. CFrame.new(-0.463921428, -2, -0.403737426, 0.766046047, 0, -0.642788887, 0, 1, 0, 0.642788887, 0, 0.766046047) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1064. }, .4, false)
  1065. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(.2, 0, 0) * CFrame.Angles(math.rad(-80), math.rad(-10), math.rad(-90)), .8)
  1066. end
  1067. Trail.Enabled = false
  1068. con:Disconnect()
  1069. Attack = false
  1070. end
  1071.  
  1072.  
  1073. function basicatk2()
  1074. Attack = true
  1075. for i = 0, 1, 0.1 do
  1076. swait()
  1077. PlayAnimationFromTable({
  1078. CFrame.new(0.269944966, -0.136297852, 0.0317531712, -0.342023432, -0.321392804, 0.883021414, 0, 0.939692855, 0.342019528, -0.939691484, 0.116978675, -0.321397007) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1079. CFrame.new(0.122265525, 1.54922485, 0.11197, 0.922779918, 0.100400083, -0.372017741, -0.103109837, 0.994589448, 0.0126584945, 0.371275842, 0.0266776793, 0.928139448) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1080. CFrame.new(0.758847594, 0.841563702, -1.25006151, 0.250777006, 0.706322193, 0.661981881, 0.918670297, -0.389249355, 0.067304045, 0.305214375, 0.591264844, -0.746492028) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1081. CFrame.new(-1.62002361, 0.0563841164, 0.0205107611, 0.981400728, 0.191971093, -1.78813934e-06, -0.18039459, 0.922215581, -0.342017859, -0.0656558871, 0.335656881, 0.939693511) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1082. CFrame.new(0.637906969, -1.80080652, -0.655436993, 0.989692926, -0.134568274, -0.0489828289, 0.134568334, 0.990898788, -0.00331147201, 0.0489826202, -0.00331418216, 0.998794198) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1083. CFrame.new(-0.867939234, -1.78434336, -0.55360961, 0.984807909, 0.173648, 2.98023224e-07, -0.163175792, 0.925417423, -0.34201777, -0.0593909919, 0.336821735, 0.93969363) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1084. }, .5, false)
  1085. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  1086. end
  1087. local con = Hitbox.Touched:connect(function(hit)
  1088. Damage(Hitbox, hit, 9, 13, 6, "Normal", Torso, 0.5, "851453784", 1)end)
  1089. CFuncs.Sound.Create("356430004", Hitbox, 1, 1)
  1090. Trail.Enabled = true
  1091. for i = 0, 1, 0.1 do
  1092. swait()
  1093. PlayAnimationFromTable({
  1094. CFrame.new(0.303778768, 0.0392352566, 0.0897992924, 0.866023779, -0.0868238509, 0.492406875, 0, 0.984808087, 0.173646703, -0.500002861, -0.150382176, 0.852867246) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1095. CFrame.new(-0.175833046, 1.5185591, 0.0131349564, 0.483953655, 0.105494767, -0.86871171, -0.0980787277, 0.992991269, 0.0659480393, 0.86958015, 0.0532863289, 0.490908504) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1096. CFrame.new(1.92705095, 0.711528957, -0.432023853, -0.129649267, -0.899685979, 0.416841, 0.969798267, -0.202645451, -0.135743886, 0.206597805, 0.386652559, 0.898786664) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1097. CFrame.new(-1.58646297, 0.120606795, -0.361709118, 0.981400669, 0.16624926, -0.0959900618, -0.189055681, 0.750184417, -0.633625567, -0.0333295465, 0.639987946, 0.767661989) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1098. CFrame.new(0.732877254, -1.9314785, -0.344442487, 0.989692986, -0.14320603, -4.14252281e-06, 0.141029716, 0.974657536, -0.173647359, 0.0248713493, 0.17185697, 0.984808087) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1099. CFrame.new(-0.555576324, -2.03161073, -0.235348016, 1, 0, 0, 7.4505806e-09, 0.984808087, -0.173646718, -2.98023224e-08, 0.173646703, 0.984808147) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1100. }, .4, false)
  1101. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .5, -.2) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(0)), .8)
  1102. end
  1103. Trail.Enabled = false
  1104. con:Disconnect()
  1105. Attack = false
  1106. end
  1107.  
  1108. function basicatk3()
  1109. Attack = true
  1110. for i = 0, 1, 0.1 do
  1111. swait()
  1112. PlayAnimationFromTable({
  1113. CFrame.new(0.269944966, -0.136297852, 0.0317531712, -0.342023432, -0.321392804, 0.883021414, 0, 0.939692855, 0.342019528, -0.939691484, 0.116978675, -0.321397007) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1114. CFrame.new(0.122265525, 1.54922485, 0.11197, 0.922779918, 0.100400083, -0.372017741, -0.103109837, 0.994589448, 0.0126584945, 0.371275842, 0.0266776793, 0.928139448) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1115. CFrame.new(0.758847594, 0.841563702, -1.25006151, 0.250777006, 0.706322193, 0.661981881, 0.918670297, -0.389249355, 0.067304045, 0.305214375, 0.591264844, -0.746492028) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1116. CFrame.new(-1.62002361, 0.0563841164, 0.0205107611, 0.981400728, 0.191971093, -1.78813934e-06, -0.18039459, 0.922215581, -0.342017859, -0.0656558871, 0.335656881, 0.939693511) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1117. CFrame.new(0.637906969, -1.80080652, -0.655436993, 0.989692926, -0.134568274, -0.0489828289, 0.134568334, 0.990898788, -0.00331147201, 0.0489826202, -0.00331418216, 0.998794198) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1118. CFrame.new(-0.867939234, -1.78434336, -0.55360961, 0.984807909, 0.173648, 2.98023224e-07, -0.163175792, 0.925417423, -0.34201777, -0.0593909919, 0.336821735, 0.93969363) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1119. }, .5, false)
  1120. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  1121. end
  1122. local con = Hitbox.Touched:connect(function(hit)
  1123. Damage(Hitbox, hit, 4, 7, 5, "Normal", Torso, 0.1, "851453784", 1)
  1124. end)
  1125. Trail.Enabled = true
  1126. Humanoid.AutoRotate = false
  1127. for i = 0, .2, 0.1 do
  1128. CFuncs.Sound.Create("356430037", Hitbox, 1, 1.1)
  1129. for i = 0, .2, 0.1 do
  1130. swait()
  1131. PlayAnimationFromTable({
  1132. CFrame.new(0.303778768, 0.0392352566, 0.0897992924, 0.866023779, -0.0868238509, 0.492406875, 0, 0.984808087, 0.173646703, -0.500002861, -0.150382176, 0.852867246) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1133. CFrame.new(-0.175833046, 1.5185591, 0.0131349564, 0.483953655, 0.105494767, -0.86871171, -0.0980787277, 0.992991269, 0.0659480393, 0.86958015, 0.0532863289, 0.490908504) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1134. CFrame.new(1.92705095, 0.711528957, -0.432023853, -0.129649267, -0.899685979, 0.416841, 0.969798267, -0.202645451, -0.135743886, 0.206597805, 0.386652559, 0.898786664) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1135. CFrame.new(-1.58646297, 0.120606795, -0.361709118, 0.981400669, 0.16624926, -0.0959900618, -0.189055681, 0.750184417, -0.633625567, -0.0333295465, 0.639987946, 0.767661989) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1136. CFrame.new(0.732877254, -1.9314785, -0.344442487, 0.989692986, -0.14320603, -4.14252281e-06, 0.141029716, 0.974657536, -0.173647359, 0.0248713493, 0.17185697, 0.984808087) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1137. CFrame.new(-0.555576324, -2.03161073, -0.235348016, 1, 0, 0, 7.4505806e-09, 0.984808087, -0.173646718, -2.98023224e-08, 0.173646703, 0.984808147) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1138. }, .5, false)
  1139. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .5, -.2) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(0)), .8)
  1140. end
  1141. for i = 0, .2, 0.1 do
  1142. swait()
  1143. PlayAnimationFromTable({
  1144. CFrame.new(-0.131680578, 0.0392344035, 0.177475512, 3.9935112e-06, 0.173646688, -0.984808147, 0, 0.984808087, 0.173646674, 1.00000012, -6.92903996e-07, 3.92645597e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1145. CFrame.new(-0.175829023, 1.51855814, 0.0131424218, 0.483953327, 0.105493553, -0.868712008, -0.0980787277, 0.992991388, 0.0659466907, 0.869580388, 0.0532870442, 0.490908116) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1146. CFrame.new(1.92705524, 0.711528778, -0.432021856, -0.129648954, -0.899686754, 0.416839421, 0.969797909, -0.202645466, -0.13574563, 0.206599116, 0.386650681, 0.898787022) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1147. CFrame.new(-1.58646131, 0.120606169, -0.361707538, 0.981400669, 0.166249424, -0.0959896222, -0.189055473, 0.750183463, -0.633626878, -0.0333302654, 0.639989078, 0.767660975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1148. CFrame.new(0.732890725, -1.93148088, -0.344431549, 0.989692926, -0.143206015, -5.00679016e-06, 0.141029507, 0.974657357, -0.17364879, 0.0248724222, 0.171858251, 0.98480773) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1149. CFrame.new(-0.555568755, -2.03161144, -0.235344261, 1.00000012, 0, 0, 9.31322575e-10, 0.984808087, -0.173646688, -7.4505806e-09, 0.173646674, 0.984808147) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1150. }, .5, false)
  1151. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .5, -.2) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(0)), .8)
  1152. end
  1153. for i = 0, .2, 0.1 do
  1154. swait()
  1155. PlayAnimationFromTable({
  1156. CFrame.new(0.291614532, 0.0392349176, 0.182818621, -0.342023432, -0.163174704, 0.925415635, 0, 0.984807968, 0.173647121, -0.939691484, 0.0593913794, -0.336827427) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1157. CFrame.new(-0.175860137, 1.51855576, 0.0131514519, 0.483953863, 0.105493337, -0.86871171, -0.0980790704, 0.992991269, 0.0659461915, 0.869579971, 0.0532875322, 0.490908623) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1158. CFrame.new(1.92705405, 0.711531043, -0.4320319, -0.12964952, -0.899687052, 0.416838408, 0.969797969, -0.20264554, -0.135744974, 0.206598461, 0.386649787, 0.898787618) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1159. CFrame.new(-1.58647645, 0.120604157, -0.361687124, 0.981400669, 0.166249454, -0.0959895998, -0.189055532, 0.750184417, -0.633625567, -0.0333300084, 0.639987946, 0.76766175) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1160. CFrame.new(0.732882917, -1.93148088, -0.344430625, 0.989692926, -0.143205985, -3.69548798e-06, 0.141029581, 0.974656463, -0.173653543, 0.0248718262, 0.171863168, 0.984806895) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1161. CFrame.new(-0.555574477, -2.03161144, -0.235345215, 1.00000012, 0, 0, 3.7252903e-09, 0.984807968, -0.173647106, 0, 0.173647121, 0.984808028) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1162. }, .5, false)
  1163. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .5, -.2) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(0)), .8)
  1164. end
  1165. end
  1166. Trail.Enabled = false
  1167. Humanoid.WalkSpeed = 0
  1168. con:Disconnect()
  1169. Humanoid.AutoRotate = true
  1170. for i = 0, .3, 0.1 do
  1171. swait()
  1172. PlayAnimationFromTable({
  1173. CFrame.new(-0.085297212, -0.117206737, -0.273834854, 0.984807193, -0.0593922809, 0.163179219, 0, 0.939692855, 0.342019618, -0.17365168, -0.336823404, 0.925416231) * CFrame.new(0, 0 + .05 * math.cos(Sine/5), 0) * CFrame.Angles(0, 0, 0),
  1174. CFrame.new(-0.106502928, 1.473984, 0.110595882, 0.980033696, -0.0321001932, -0.196223736, 0.026790319, 0.999201179, -0.0296556354, 0.197018921, 0.023806572, 0.980110705) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1175. CFrame.new(1.75001621, 0.234652162, -0.164528459, 0.179263011, -0.344981521, -0.921332002, -0.0941825956, 0.926182985, -0.365123004, 0.979282677, 0.152226463, 0.133539096) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1176. CFrame.new(-1.08586502, 1.11276603, -0.367580116, 0.937622309, -0.334145695, -0.0959743783, -0.346033961, -0.923615456, -0.164909869, -0.0335395001, 0.187833548, -0.98162812) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1177. CFrame.new(0.73288101, -1.94343245, -0.484567285, 0.989693046, -0.143206, -3.7625432e-06, 0.134568051, 0.930005312, -0.342025936, 0.048983641, 0.338500112, 0.93969053) * CFrame.new(0, 0 - .05 * math.cos(Sine/5), 0) * CFrame.Angles(0, 0, 0),
  1178. CFrame.new(-0.555587769, -2.06098604, -0.394522667, 1, 0, 0, 1.86264515e-09, 0.939692855, -0.342019647, -7.4505806e-09, 0.342019618, 0.939692855) * CFrame.new(0, 0 - .05 * math.cos(Sine/5), 0) * CFrame.Angles(0, 0, 0),
  1179. }, .2, false)
  1180. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .5, -.2) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(0)), .8)
  1181. end
  1182. Humanoid.WalkSpeed = 16
  1183. Attack = false
  1184. end
  1185.  
  1186.  
  1187.  
  1188. function slashland()
  1189. Attack = true
  1190. Humanoid.WalkSpeed = 0
  1191. CFuncs.Sound.Create("1135967858", Hitbox, 1, 1)
  1192. local smonk = Instance.new("ParticleEmitter",ParticleBrick)
  1193. smonk.Size = NumberSequence.new(0.2)
  1194. smonk.Texture = "rbxassetid://1390780157"
  1195. local aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, .2),NumberSequenceKeypoint.new(1, .3)})
  1196. local bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1197. smonk.Transparency = bbb
  1198. smonk.Size = aaa
  1199. smonk.ZOffset = 0
  1200. smonk.LockedToPart = true
  1201. smonk.EmissionDirection = "Back"
  1202. smonk.Lifetime = NumberRange.new(.1, .3)
  1203. smonk.Rate = 100
  1204. smonk.Rotation = NumberRange.new(-360, 360)
  1205. smonk.RotSpeed = NumberRange.new(-100, 100)
  1206. smonk.Speed = NumberRange.new(0)
  1207. smonk.VelocitySpread = 50
  1208. for i = 0, 3, 0.1 do
  1209. swait()
  1210. PlayAnimationFromTable({
  1211. CFrame.new(0.269944966, -0.136297852, 0.0317531712, -0.342023432, -0.321392804, 0.883021414, 0, 0.939692855, 0.342019528, -0.939691484, 0.116978675, -0.321397007) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1212. CFrame.new(0.122265525, 1.54922485, 0.11197, 0.922779918, 0.100400083, -0.372017741, -0.103109837, 0.994589448, 0.0126584945, 0.371275842, 0.0266776793, 0.928139448) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1213. CFrame.new(0.758847594, 0.841563702, -1.25006151, 0.250777006, 0.706322193, 0.661981881, 0.918670297, -0.389249355, 0.067304045, 0.305214375, 0.591264844, -0.746492028) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1214. CFrame.new(-1.62002361, 0.0563841164, 0.0205107611, 0.981400728, 0.191971093, -1.78813934e-06, -0.18039459, 0.922215581, -0.342017859, -0.0656558871, 0.335656881, 0.939693511) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1215. CFrame.new(0.637906969, -1.80080652, -0.655436993, 0.989692926, -0.134568274, -0.0489828289, 0.134568334, 0.990898788, -0.00331147201, 0.0489826202, -0.00331418216, 0.998794198) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1216. CFrame.new(-0.867939234, -1.78434336, -0.55360961, 0.984807909, 0.173648, 2.98023224e-07, -0.163175792, 0.925417423, -0.34201777, -0.0593909919, 0.336821735, 0.93969363) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1217. }, .4, false)
  1218. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  1219. end
  1220. Trail2.Enabled = true
  1221. Humanoid.AutoRotate = false
  1222. local x = 0
  1223. smonk:Destroy()
  1224. for i = 0, .3, 0.1 do
  1225. swait()
  1226. PlayAnimationFromTable({
  1227. CFrame.new(0.303778768, 0.0392352566, 0.0897992924, 0.866023779, -0.0868238509, 0.492406875, 0, 0.984808087, 0.173646703, -0.500002861, -0.150382176, 0.852867246) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1228. CFrame.new(-0.175833046, 1.5185591, 0.0131349564, 0.483953655, 0.105494767, -0.86871171, -0.0980787277, 0.992991269, 0.0659480393, 0.86958015, 0.0532863289, 0.490908504) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1229. CFrame.new(1.92705095, 0.711528957, -0.432023853, -0.129649267, -0.899685979, 0.416841, 0.969798267, -0.202645451, -0.135743886, 0.206597805, 0.386652559, 0.898786664) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1230. CFrame.new(-1.58646297, 0.120606795, -0.361709118, 0.981400669, 0.16624926, -0.0959900618, -0.189055681, 0.750184417, -0.633625567, -0.0333295465, 0.639987946, 0.767661989) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1231. CFrame.new(0.732877254, -1.9314785, -0.344442487, 0.989692986, -0.14320603, -4.14252281e-06, 0.141029716, 0.974657536, -0.173647359, 0.0248713493, 0.17185697, 0.984808087) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1232. CFrame.new(-0.555576324, -2.03161073, -0.235348016, 1, 0, 0, 7.4505806e-09, 0.984808087, -0.173646718, -2.98023224e-08, 0.173646703, 0.984808147) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1233. }, .4, false)
  1234. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .5, -.2) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(0)), .8)
  1235. end
  1236. CFuncs.Sound.Create("1135968861", Hitbox, 1, 1)
  1237. local slashbox=CFuncs.Part.Create(Character, "SmoothPlastic", 0, 1, BrickColor.new("Bright bluish green"), "owo", Vector3.new(5,5,30))
  1238. slashbox.Anchored=false
  1239. slashbox.CanCollide=false
  1240.  
  1241.  
  1242. RootPart.CFrame=RootPart.CFrame*CFrame.new(0,0,-32)
  1243. local con = slashbox.Touched:connect(function(hit)
  1244. Damage(slashbox, hit, 15, 25, 0, "Normal", Torso, .1, 283376418, 1) Trail2.Enabled = false
  1245. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= Character then
  1246. if hit.Parent:FindFirstChild("Humanoid").Health == 0 then
  1247. for y,t in pairs(hit.Parent:GetChildren()) do
  1248. if t:IsA("Part") then
  1249. t:BreakJoints()
  1250. t.Parent = workspace
  1251. t.Material = "Neon"
  1252. t.BrickColor = BrickColor.new("Crimson")
  1253. t.Transparency = .5
  1254. t.CanCollide = false
  1255. local GRAVITY_ACCELERATION = 200
  1256. local bodyForce = Instance.new('BodyForce', t)
  1257. bodyForce.Name = 'Antigravity'
  1258. bodyForce.force = Vector3.new(0, t:GetMass() * GRAVITY_ACCELERATION, 0)
  1259. t.Velocity=Vector3.new(math.random(-1, 1),math.random(-1, 1),math.random(-1, 1))
  1260. local rl = Create("BodyAngularVelocity"){
  1261. P = 500,
  1262. maxTorque = Vector3.new(5, 5, 5),
  1263. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1264. Parent = t,
  1265. }
  1266.  
  1267. game:GetService("Debris"):AddItem(t, 1.5)
  1268. for a,b in pairs(t:GetChildren()) do
  1269. if b:IsA("Decal") then
  1270. b:Destroy()
  1271. end
  1272. end
  1273. end
  1274. genjirip = true
  1275. end
  1276. end
  1277. end
  1278. end)
  1279. slashbox.CFrame=RootPart.CFrame*CFrame.new(0,1,15)
  1280. game:GetService("Debris"):AddItem(slashbox, .1)
  1281. smonk.Enabled=false
  1282. for i = 0, 3, 0.1 do
  1283. Effects.Sphere.Create(BrickColor.new(maincol), RootPart.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(3,30)) * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360))) , .1, 1, .1, .1, 3, .1, .03)
  1284. x=x+1
  1285. end
  1286.  
  1287.  
  1288.  
  1289. for i = 0, .1, 0.1 do
  1290. swait()
  1291. PlayAnimationFromTable({
  1292. CFrame.new(0.056967862, 0.118550956, -0.12392126, 0.984808207, -0.0301531889, -0.171007454, 0, 0.984807849, -0.173648059, 0.173645437, 0.171010047, 0.969846845) * CFrame.new(0, 0 + .05 * math.cos(Sine/8), 0) * CFrame.Angles(0, 0, 0),
  1293. CFrame.new(-0.0735047907, 1.59116268, -0.180348814, 0.988933265, -0.100751191, 0.108905405, 0.0348803364, 0.87136817, 0.489388674, -0.144203186, -0.480174065, 0.865238965) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1294. CFrame.new(1.61665702, 0.0398887843, 0.0250055026, 0.977912545, -0.206564933, -0.0319060981, 0.208211273, 0.949367702, 0.235264495, -0.0183068216, -0.236711293, 0.971407652) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1295. CFrame.new(-1.21035373, 1.11410511, -0.730613232, 0.865252137, -0.277722895, 0.417383194, -0.274877965, -0.959049523, -0.0683096498, 0.41926229, -0.055624336, -0.906159639) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1296. CFrame.new(0.625658393, -2.008708, -0.295205534, 0.999147177, 0.0329658017, 0.0248636007, -0.0330197215, 0.999453127, 0.00176072121, -0.0247919858, -0.00258021057, 0.9996894) * CFrame.new(0, 0 - .05 * math.cos(Sine/8), 0) * CFrame.Angles(0, 0, 0),
  1297. CFrame.new(-0.417378128, -1.93872416, 0.154234827, 0.939692378, -0.116977699, 0.321394622, -0.0593912564, 0.869607747, 0.490158379, -0.336824834, -0.479686081, 0.810216308) * CFrame.new(0, 0 - .05 * math.cos(Sine/8), 0) * CFrame.Angles(0, 0, 0),
  1298. }, .5, false)
  1299. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, -1, .2) * CFrame.Angles(math.rad(-180), math.rad(0), math.rad(0)), 1)
  1300. Torso.Velocity=RootPart.CFrame.lookVector*10
  1301. end
  1302. if genjirip == true then
  1303. genjirip = false
  1304. CFuncs.Sound.Create("258468929", Hitbox, 1, 1)
  1305. Effects.Sphere.Create(BrickColor.new(Torso.Color), GleamPart.CFrame * CFrame.new(.3,.15,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .1, .2, .1, .1, 2, .1, .07)
  1306. Effects.Sphere.Create(BrickColor.new(Torso.Color), GleamPart.CFrame * CFrame.new(.3,.15,0) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)), .1, .2, .1, .1, 2, .1, .07)
  1307. cooldownZ = 10
  1308. elseif genjirip == false then
  1309. CFuncs.Sound.Create("742820596", Hitbox, 1, 1)
  1310. cooldownZ = 0
  1311. end
  1312.  
  1313. for i = 0, 1.4, 0.1 do
  1314. swait()
  1315. PlayAnimationFromTable({
  1316. CFrame.new(0.056967862, 0.118550956, -0.12392126, 0.984808207, -0.0301531889, -0.171007454, 0, 0.984807849, -0.173648059, 0.173645437, 0.171010047, 0.969846845) * CFrame.new(0, 0 + .05 * math.cos(Sine/8), 0) * CFrame.Angles(0, 0, 0),
  1317. CFrame.new(-0.0735047907, 1.59116268, -0.180348814, 0.988933265, -0.100751191, 0.108905405, 0.0348803364, 0.87136817, 0.489388674, -0.144203186, -0.480174065, 0.865238965) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1318. CFrame.new(1.61665702, 0.0398887843, 0.0250055026, 0.977912545, -0.206564933, -0.0319060981, 0.208211273, 0.949367702, 0.235264495, -0.0183068216, -0.236711293, 0.971407652) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1319. CFrame.new(-1.21035373, 1.11410511, -0.730613232, 0.865252137, -0.277722895, 0.417383194, -0.274877965, -0.959049523, -0.0683096498, 0.41926229, -0.055624336, -0.906159639) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1320. CFrame.new(0.625658393, -2.008708, -0.295205534, 0.999147177, 0.0329658017, 0.0248636007, -0.0330197215, 0.999453127, 0.00176072121, -0.0247919858, -0.00258021057, 0.9996894) * CFrame.new(0, 0 - .05 * math.cos(Sine/8), 0) * CFrame.Angles(0, 0, 0),
  1321. CFrame.new(-0.417378128, -1.93872416, 0.154234827, 0.939692378, -0.116977699, 0.321394622, -0.0593912564, 0.869607747, 0.490158379, -0.336824834, -0.479686081, 0.810216308) * CFrame.new(0, 0 - .05 * math.cos(Sine/8), 0) * CFrame.Angles(0, 0, 0),
  1322. }, .5, false)
  1323. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, -1, .2) * CFrame.Angles(math.rad(-180), math.rad(0), math.rad(0)), 1)
  1324. end
  1325.  
  1326.  
  1327. Torso.Velocity=RootPart.CFrame.lookVector*0
  1328. Trail2.Enabled = false
  1329. x = 0
  1330. Humanoid.AutoRotate = true
  1331. Humanoid.WalkSpeed = 16
  1332. Attack = false
  1333. end
  1334.  
  1335.  
  1336.  
  1337. function eviscerate()
  1338. Attack = true
  1339. Humanoid.WalkSpeed = 8
  1340. CFuncs.Sound.Create("1135967858", Hitbox, 1, 1)
  1341. for i = 0, 1.5, 0.1 do
  1342. swait()
  1343. PlayAnimationFromTable({
  1344. CFrame.new(-0.0458893031, 0.0233199894, 0.00852047652, 0.642786622, 0, 0.766045451, 0, 1, 0, -0.766045451, 0, 0.642786622) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1345. CFrame.new(-3.7252903e-07, 1.49992311, 2.83122063e-07, 0.609421909, 0.0691012964, -0.789829135, 0, 0.996194661, 0.0871559978, 0.792846203, -0.0531147718, 0.607102871) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1346. CFrame.new(0.0943778157, 0.940841079, -1.12602353, 0.426232457, 0.603392184, 0.673976243, 0.585196078, -0.75206691, 0.303217977, 0.689834476, 0.265166849, -0.673658013) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1347. CFrame.new(-1.67025638, 0.084327966, 0.0316855907, 0.990968049, 0.132812575, -0.0185303688, -0.128943056, 0.981674016, 0.140321121, 0.0368272066, -0.136664391, 0.989932656) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1348. CFrame.new(0.629439831, -1.71538591, -0.248679817, 0.865063012, 0.137056947, -0.482578039, 0.0530059822, 0.931599379, 0.359601319, 0.498855233, -0.336657315, 0.798627317) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1349. CFrame.new(-0.624710441, -1.94632924, -0.112823054, 0.937575758, 0.0560208336, -0.343239754, -0.0754769817, 0.996194899, -0.0435780883, 0.339492381, 0.066764459, 0.938236535) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1350. }, .5, false)
  1351. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .7, 0) * CFrame.Angles(math.rad(10), math.rad(-5), math.rad(0)), .5)
  1352. end
  1353. Humanoid.WalkSpeed = 0
  1354. local con = Hitbox.Touched:connect(function(hit)
  1355. Damage(Hitbox, hit, 5, 10, 15, "Bleed", Torso, 0.5, "851453784", 1) end)
  1356. CFuncs.Sound.Create("356430037", Hitbox, 1, 1)
  1357. Trail.Enabled = true
  1358. for i = 0, 1, 0.1 do
  1359. swait()
  1360. PlayAnimationFromTable({
  1361. CFrame.new(-0.0787980556, -1.3984735, 0.210181862, 0.773100019, 0.116978504, -0.623403907, 0.116977945, 0.939691901, 0.321395725, 0.623404145, -0.321395546, 0.71279192) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1362. CFrame.new(0.167461932, 1.48767281, 0.0717237964, 0.832675278, 0.183072329, -0.522624791, -0.24244833, 0.969033182, -0.0468358546, 0.497866362, 0.165708527, 0.851275444) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1363. CFrame.new(1.77043903, 0.127353668, -0.608350813, 0.440236121, -0.71480149, 0.543370187, 0.888771892, 0.43290326, -0.150596276, -0.127580345, 0.54922998, 0.825875103) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1364. CFrame.new(-1.71090555, 0.246254131, -0.166778117, 0.954284787, 0.279950738, -0.104728758, -0.292272031, 0.947345078, -0.130822003, 0.0625905395, 0.155450732, 0.985858798) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1365. CFrame.new(0.410227358, -1.35434425, -0.378370583, 0.954839408, -0.214596987, 0.205499411, -0.0407914519, 0.590403914, 0.806076467, -0.294309199, -0.778056085, 0.554987252) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1366. CFrame.new(-0.299851596, -1.67116189, 1.11658049, 0.965596139, -0.250979006, 0.0680721402, 0.00862145424, 0.292521626, 0.956220031, -0.25990364, -0.922735453, 0.284621537) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1367. }, .3, false)
  1368. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .8, 0) * CFrame.Angles(math.rad(10), math.rad(10), math.rad(0)), .5)
  1369. end
  1370. Humanoid.WalkSpeed = 16
  1371. Trail.Enabled = false
  1372. con:Disconnect()
  1373. Attack = false
  1374. end
  1375.  
  1376.  
  1377. function kunayy()
  1378. Attack = true
  1379. Humanoid.WalkSpeed = 8
  1380. Humanoid.AutoRotate = false
  1381. local bodygyro = Instance.new("BodyGyro",RootPart)
  1382. bodygyro.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  1383. bodygyro.P = 20000
  1384. for i = 0, 1, 0.1 do
  1385. swait()
  1386. PlayAnimationFromTable({
  1387. CFrame.new(-0.0132390689, 0.0233201589, 0.089176558, 6.00516796e-06, 0.173649311, -0.984810889, 0, 0.98480773, 0.17364873, 1.00000334, -1.05053186e-06, 5.91576099e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1388. CFrame.new(-0.103041366, 1.48747063, 0.0480993837, 0.994157851, -0.0809517652, -0.071394071, 0.0844595805, 0.995291293, 0.0475610606, 0.0672077239, -0.0533130877, 0.996313632) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1389. CFrame.new(1.70731008, 0.0952474996, -0.163227618, 0.958621502, -0.205043569, 0.197489589, 0.267551988, 0.885916233, -0.378904611, -0.0972672403, 0.416064799, 0.904117942) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1390. CFrame.new(-0.894582868, 0.225302547, -0.807934582, 0.709045291, -0.671143293, 0.216383159, 0.444058239, 0.186590791, -0.876353979, 0.547783971, 0.717461228, 0.430327922) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1391. CFrame.new(0.68700707, -1.98529398, -0.371600866, 0.930009067, -0.191918284, 0.313449889, 0.199811533, 0.979808986, 0.00707193511, -0.308478206, 0.0560539477, 0.949578464) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1392. CFrame.new(-0.469858557, -1.99930918, -0.178885132, 0.939692974, 0, 0.342019349, 0.0593912229, 0.98480773, -0.163176507, -0.336823285, 0.17364873, 0.925416768) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1393. }, .4, false)
  1394. bodygyro.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
  1395. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .8, 0) * CFrame.Angles(math.rad(10), math.rad(10), math.rad(0)), .5)
  1396. end
  1397. local kunai=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright bluish green","kunai",Vector3.new(1, 1, 1))
  1398. CFuncs.Mesh.Create("SpecialMesh",kunai,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=45728702",Vector3.new(0, 0, 0),Vector3.new(2, 2, 2))
  1399. kunai.Anchored = true
  1400. kunai.CFrame = LeftArm.CFrame * CFrame.new(0,80,0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1401.  
  1402.  
  1403. for i = 0, .1, 0.1 do
  1404. swait()
  1405. PlayAnimationFromTable({
  1406. CFrame.new(0.267050862, 0.0233191699, -0.145480633, 0.766051054, 0.111617945, -0.633019686, 0, 0.984807968, 0.173647434, 0.642784894, -0.133022785, 0.754413128) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1407. CFrame.new(-0.103030369, 1.48747206, 0.0481008291, 0.896663129, -0.0809524283, 0.435249299, 0.0493626073, 0.995291054, 0.083422482, -0.439952999, -0.0533168167, 0.896436691) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1408. CFrame.new(1.70731616, 0.0952472389, -0.163225979, 0.958621681, -0.260223269, 0.115448803, 0.26755172, 0.962081969, -0.0530517697, -0.0972658694, 0.0817451179, 0.991895676) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1409. CFrame.new(-1.91511369, 0.529604673, -0.64014852, 0.834547937, 0.542870939, 0.0939203352, 0.206015989, -0.149394542, -0.967077494, -0.510967135, 0.826421559, -0.236516997) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1410. CFrame.new(0.68701154, -1.98529327, -0.37160185, 0.930008888, -0.28755042, 0.228906691, 0.199811101, 0.918300092, 0.341761321, -0.308478624, -0.272102952, 0.91148293) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1411. CFrame.new(-0.58936131, -1.88161922, -0.491538405, 0.939692616, 0.0593912527, 0.33682391, 0.0593908988, 0.941511333, -0.331706613, -0.33682403, 0.331706524, 0.881204009) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1412. }, .4, false)
  1413. bodygyro.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
  1414. kunai.CFrame = LeftArm.CFrame * CFrame.new(0,-1.2,0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1415. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .8, 0) * CFrame.Angles(math.rad(10), math.rad(10), math.rad(0)), .5)
  1416. end
  1417.  
  1418. local kuntrail1=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Bright bluish green","kunai",Vector3.new(0.1, 0.1, 0.1))
  1419. local kuntrail2=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Bright bluish green","kunai",Vector3.new(0.1, 0.1, 0.1))
  1420. kuntrail1.Anchored = true
  1421. kuntrail2.Anchored = true
  1422. kuntrail1.CFrame = kunai.CFrame * CFrame.new(0,.2,1)
  1423. kuntrail2.CFrame = kunai.CFrame * CFrame.new(0,-.2,1)
  1424. local Trail3 = Instance.new("Trail", Character)
  1425. A2 = Instance.new('Attachment',kuntrail2)
  1426. A3 = Instance.new('Attachment',kuntrail1)
  1427. Trail3 = Instance.new('Trail',Character)
  1428. Trail3.Attachment0 = A2
  1429. Trail3.Attachment1 = A3
  1430. Trail3.Lifetime = .2
  1431. Trail3.Attachment0 = A2
  1432. Trail3.Attachment1 = A3
  1433. Trail3.MinLength = 0
  1434. Trail3.Texture = "rbxassetid://1165010419"
  1435. local startColor = Color3.new(200, 0, 0)
  1436. local endColor = Color3.new(0,0, 0)
  1437. local startT = .5
  1438. local endT = 1
  1439. local startW = .1
  1440. local endW = .1
  1441. local sequence = ColorSequence.new(startColor, endColor)
  1442. local sequence2 = NumberSequence.new(startT, endT)
  1443. local sequence3 = NumberSequence.new(startW, endW)
  1444. Trail3.Color = sequence
  1445. Trail3.WidthScale = sequence3
  1446. Trail3.Transparency = sequence2
  1447. Trail3.Enabled = true
  1448. local con = kunai.Touched:connect(function(hit)
  1449. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= Character then
  1450. Damage(Hitbox, hit, 5, 6, 0, "Stagger", hit, 0.5, "851453784", 1)
  1451. RootPart.CFrame=hit.Parent.Torso.CFrame * CFrame.new(0,0,3) kunai:Destroy()
  1452. end end)
  1453. CFuncs.Sound.Create("608494468", Torso, 1, 1)
  1454. kunai.Anchored = false
  1455. local roketsped = 250
  1456. kunai.CFrame = CFrame.new(kunai.Position, Mouse.hit.p)
  1457. kunai.Velocity = kunai.CFrame.lookVector * roketsped
  1458. local GRAVITY_ACCELERATION = 130
  1459. local bodyForce = Instance.new('BodyForce', kunai)
  1460. bodyForce.Name = 'Antigravity'
  1461. bodyForce.force = Vector3.new(0, kunai:GetMass() * GRAVITY_ACCELERATION, 0)
  1462. game:GetService("Debris"):AddItem(kunai, 3)
  1463. game:GetService("Debris"):AddItem(kuntrail1, 3)
  1464. game:GetService("Debris"):AddItem(kuntrail2, 3)
  1465. for i = 0, .4, 0.1 do
  1466. swait()
  1467. PlayAnimationFromTable({
  1468. CFrame.new(0.0406299457, 0.0233199894, -0.0756803155, 1.00000334, 0, 6.9886446e-06, 0, 1, 0, -6.9886446e-06, 0, 1.00000334) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1469. CFrame.new(0.0230878145, 1.48596978, -0.0395567417, 0.806168199, -0.00414236449, 0.591672063, -0.0387550145, 0.997458518, 0.0597880185, -0.590416014, -0.0711294487, 0.803958774) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1470. CFrame.new(1.68625438, 0.0885032937, -0.279244632, 0.958621979, -0.205044419, 0.197486714, 0.246597111, 0.944705844, -0.216149762, -0.142246574, 0.255905539, 0.956179142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1471. CFrame.new(-1.88312232, 0.716546774, -0.608011961, 0.451612294, 0.886880159, -0.0974167064, 0.270454913, -0.24012588, -0.932305574, -0.850235701, 0.394693822, -0.348304898) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1472. CFrame.new(0.687008262, -2.01966119, -0.0212197751, 0.930009007, -0.191918314, 0.313449889, 0.14320907, 0.974656999, 0.1718577, -0.338488758, -0.114940353, 0.933924139) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1473. CFrame.new(-0.589368761, -1.9383862, -0.157336846, 0.939693034, 0.0593909137, 0.336823344, 0, 0.984807849, -0.173647821, -0.342019379, 0.163175642, 0.925417006) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1474. }, .5, false)
  1475. bodygyro.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
  1476. kuntrail1.CFrame = kunai.CFrame * CFrame.new(0,.3,1)
  1477. kuntrail2.CFrame = kunai.CFrame * CFrame.new(0,-.3,1)
  1478. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .8, 0) * CFrame.Angles(math.rad(10), math.rad(10), math.rad(0)), .5)
  1479. end
  1480. Humanoid.WalkSpeed = 16
  1481. bodygyro:Destroy()
  1482. Humanoid.AutoRotate = true
  1483. Attack = false
  1484. while kunai do
  1485. swait()
  1486. kuntrail1.CFrame = kunai.CFrame * CFrame.new(0,.3,1)
  1487. kuntrail2.CFrame = kunai.CFrame * CFrame.new(0,-.3,1)
  1488. end
  1489. end
  1490.  
  1491. local Grabbed = false
  1492.  
  1493. function LetsMakeItWorthTheWait()
  1494. Attack = true
  1495. Humanoid.WalkSpeed = 0
  1496. CFuncs.Sound.Create("1428540783", Torso, 1, 1)
  1497. for i = 0, 1, 0.1 do
  1498. swait()
  1499. PlayAnimationFromTable({
  1500. CFrame.new(-0.0333155356, 0.0233187675, 0.197782785, 0.499996066, 0, 0.866031528, 0, 1, 0, -0.866031528, 0, 0.499996066) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1501. CFrame.new(0, 1.49992299, 0, 0.609417915, 0, -0.792849422, 0, 1, 0, 0.792849422, 0, 0.609417915) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1502. CFrame.new(1.71061885, 0.0137988478, 0.357897758, 0.827914357, -0.0647464767, -0.557104886, 0.215027958, 0.954053581, 0.208673686, 0.517997026, -0.292557061, 0.803796947) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1503. CFrame.new(-2.12302017, 0.574781239, -0.154309124, 0.335662484, 0.92221415, -0.191968501, -0.0656579956, -0.180391043, -0.981401086, -0.939691305, 0.34202382, 2.23517418e-07) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1504. CFrame.new(0.6499874, -1.9999944, 2.44965736e-06, 0.989692569, -0.143207997, -6.13927841e-06, 0.143207967, 0.989692628, -7.94403718e-07, 6.2584877e-06, -1.04308128e-07, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1505. CFrame.new(-0.500015318, -1.99999607, -0, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1506. }, .5, false)
  1507. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .8, 0) * CFrame.Angles(math.rad(10), math.rad(10), math.rad(0)), .5)
  1508. end
  1509. local grab = nil
  1510. Humanoid.AutoRotate = false
  1511. Torso.Velocity = RootPart.CFrame.lookVector * 100
  1512. for i = 0, 1.5, 0.1 do
  1513. swait()
  1514. PlayAnimationFromTable({
  1515. CFrame.new(-0.0280991532, 0.0233187675, -0.0499025211, 0.500006914, 0, -0.866025209, 0, 1, 0, 0.866025209, 0, 0.500006914) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1516. CFrame.new(0.240943387, 1.49992299, -0.0102872998, 0.381918371, 0, 0.924196184, 0, 1, 0, -0.924196184, 0, 0.381918371) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1517. CFrame.new(1.71062016, 0.0137983859, 0.357904017, 0.827914119, -0.334626853, -0.450092465, 0.215028897, 0.930570304, -0.296313226, 0.517997026, 0.148538977, 0.842386663) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1518. CFrame.new(-1.98095691, 0.546994209, -0.578191876, 0.630834579, 0.751795232, -0.191968143, -0.123396076, -0.147055, -0.981401205, -0.76604265, 0.642789841, 1.20699406e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1519. CFrame.new(0.649979949, -1.99999607, 1.00135803e-05, 0.989692688, -0.134569272, -0.0489861369, 0.143207997, 0.9300071, 0.338494182, 6.51180744e-06, -0.342020392, 0.939692616) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1520. CFrame.new(-0.500007689, -1.99999607, 2.28881872e-05, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1521. }, .3, false)
  1522. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 3)) do
  1523. if v:FindFirstChild('Torso') and grab == nil then
  1524. Grabbed = true
  1525. grab = v
  1526. bp1 = Instance.new("BodyPosition",grab.Torso)
  1527. bp1.P = 1000000
  1528. bp1.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1529. CFuncs.Sound.Create("260411131", Torso, 1, 1)
  1530. game:GetService("Debris"):AddItem(bp1, 8)
  1531. end
  1532. end
  1533. if Grabbed == true and grab ~= nil then
  1534. grab.Humanoid.PlatformStand = true
  1535. bp1.Position = Grabby.Position
  1536. end
  1537. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .8, 0) * CFrame.Angles(math.rad(10), math.rad(10), math.rad(0)), .5)
  1538. end
  1539. Torso.Velocity = RootPart.CFrame.lookVector * 0
  1540. if Grabbed == true and grab ~= nil then
  1541. for i = 0, .5, 0.1 do
  1542. swait()
  1543. PlayAnimationFromTable({
  1544. CFrame.new(-0.0554977916, 0.0623728335, -0.152154908, 0.480865866, -0.130426377, -0.867043018, 0.336192876, 0.940720201, 0.0449446328, 0.809782922, -0.313106, 0.496208608) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1545. CFrame.new(0.0193056464, 1.55411339, -0.06709712, 0.376117229, -0.148114711, 0.914657354, -0.0663197041, 0.980305851, 0.186016947, -0.924195588, -0.130623966, 0.358886987) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1546. CFrame.new(1.72180605, 0.218793139, -0.00660773739, 0.941652536, -0.336580455, -0.00209197402, 0.332422674, 0.930959046, -0.151031703, 0.0527818352, 0.141523957, 0.988526702) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1547. CFrame.new(-1.71522117, 0.234984636, -0.272691578, 0.599825084, 0.668729424, 0.439330131, -0.231067121, 0.670452714, -0.705054164, -0.766040325, 0.321394414, 0.556675613) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1548. CFrame.new(0.292810827, -2.08248138, 1.04904175e-05, 0.989370286, -0.145036727, 0.0105372518, 0.132740736, 0.93032974, 0.341857553, -0.0593850166, -0.336824924, 0.939692795) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1549. CFrame.new(-1.13200116, -1.77640009, 2.15031832e-05, 0.939692855, 0.342019886, -5.96046448e-08, -0.342019886, 0.939692855, -7.30156898e-07, -1.78813934e-07, 7.13160262e-07, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1550. }, .3, false)
  1551. bp1.Position = Grabby.Position
  1552. end
  1553. bp1:Destroy()
  1554. grab.Humanoid.PlatformStand = false
  1555. bp1 = Instance.new("BodyPosition",grab.Torso)
  1556. bp1.P = 10000
  1557. bp1.MaxForce = Vector3.new(1000000,1000000,1000000)
  1558. local ref=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Bright bluish green","kunai",Vector3.new(1, 1, 1))
  1559. ref.Anchored = true
  1560. ref.CFrame = RootPart.CFrame * CFrame.new(0,20,-20)
  1561. bp1.Position = ref.Position
  1562. game:GetService("Debris"):AddItem(ref, 0)
  1563. game:GetService("Debris"):AddItem(bp1, .05)
  1564. for i = 0, .5, 0.1 do
  1565. swait()
  1566. PlayAnimationFromTable({
  1567. CFrame.new(0.00070281513, -0.0234149024, 0.0575801767, 0.496474743, -0.0419043228, -0.867043018, 0.0058269999, 0.998972535, -0.0449439213, 0.868035495, 0.0172612611, 0.496208787) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1568. CFrame.new(0.0193071961, 1.55410862, -0.0670970976, 0.376117468, 0.329057723, 0.866173625, -0.0663187504, 0.941978037, -0.329058111, -0.924195707, 0.0663209632, 0.37611708) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1569. CFrame.new(1.81039298, 0.0338475034, -0.421948314, 0.941652358, -0.292533785, 0.166477874, 0.332422704, 0.730717838, -0.596277416, 0.052782923, 0.616827071, 0.785327017) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1570. CFrame.new(-1.44418693, 1.45612931, -0.469804764, 0.479306877, 0.256443471, -0.839346111, -0.152324677, -0.917537451, -0.367317796, -0.86432755, 0.30391106, -0.400719374) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1571. CFrame.new(0.631909788, -1.95479882, 0.206661612, 0.989370346, -0.145036399, 0.0105374008, 0.132740378, 0.930329859, 0.341857374, -0.0593849868, -0.336824834, 0.939692795) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1572. CFrame.new(-0.57471472, -2.04357886, 2.66249262e-05, 1.00000012, 0, 1.49011612e-08, 4.65661287e-10, 1.00000012, -9.69157554e-07, 0, 9.71485861e-07, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1573. }, .3, false)
  1574. end
  1575. Humanoid.WalkSpeed = 8
  1576. Humanoid.AutoRotate = false
  1577. local bodygyro = Instance.new("BodyGyro",RootPart)
  1578. bodygyro.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  1579. bodygyro.P = 20000
  1580. for i = 0, 4, 1 do
  1581. for i = 0, .5, 0.1 do
  1582. swait()
  1583. PlayAnimationFromTable({
  1584. CFrame.new(-0.0132390689, 0.0233201589, 0.089176558, 6.00516796e-06, 0.173649311, -0.984810889, 0, 0.98480773, 0.17364873, 1.00000334, -1.05053186e-06, 5.91576099e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1585. CFrame.new(-0.103041366, 1.48747063, 0.0480993837, 0.994157851, -0.0809517652, -0.071394071, 0.0844595805, 0.995291293, 0.0475610606, 0.0672077239, -0.0533130877, 0.996313632) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1586. CFrame.new(1.70731008, 0.0952474996, -0.163227618, 0.958621502, -0.205043569, 0.197489589, 0.267551988, 0.885916233, -0.378904611, -0.0972672403, 0.416064799, 0.904117942) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1587. CFrame.new(-0.894582868, 0.225302547, -0.807934582, 0.709045291, -0.671143293, 0.216383159, 0.444058239, 0.186590791, -0.876353979, 0.547783971, 0.717461228, 0.430327922) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1588. CFrame.new(0.68700707, -1.98529398, -0.371600866, 0.930009067, -0.191918284, 0.313449889, 0.199811533, 0.979808986, 0.00707193511, -0.308478206, 0.0560539477, 0.949578464) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1589. CFrame.new(-0.469858557, -1.99930918, -0.178885132, 0.939692974, 0, 0.342019349, 0.0593912229, 0.98480773, -0.163176507, -0.336823285, 0.17364873, 0.925416768) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1590. }, .4, false)
  1591. bodygyro.CFrame = CFrame.new(RootPart.Position, Vector3.new(grab.Torso.Position.X, RootPart.Position.Y, grab.Torso.Position.Z))
  1592. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .8, 0) * CFrame.Angles(math.rad(10), math.rad(10), math.rad(0)), .5)
  1593. end
  1594. local kunai=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright bluish green","kunai",Vector3.new(1, 1, 1))
  1595. CFuncs.Mesh.Create("SpecialMesh",kunai,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=45728702",Vector3.new(0, 0, 0),Vector3.new(2, 2, 2))
  1596. kunai.Anchored = true
  1597. kunai.CFrame = LeftArm.CFrame * CFrame.new(0,80,0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1598.  
  1599.  
  1600. for i = 0, .1, 0.1 do
  1601. swait()
  1602. PlayAnimationFromTable({
  1603. CFrame.new(0.267050862, 0.0233191699, -0.145480633, 0.766051054, 0.111617945, -0.633019686, 0, 0.984807968, 0.173647434, 0.642784894, -0.133022785, 0.754413128) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1604. CFrame.new(-0.103030369, 1.48747206, 0.0481008291, 0.896663129, -0.0809524283, 0.435249299, 0.0493626073, 0.995291054, 0.083422482, -0.439952999, -0.0533168167, 0.896436691) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1605. CFrame.new(1.70731616, 0.0952472389, -0.163225979, 0.958621681, -0.260223269, 0.115448803, 0.26755172, 0.962081969, -0.0530517697, -0.0972658694, 0.0817451179, 0.991895676) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1606. CFrame.new(-1.91511369, 0.529604673, -0.64014852, 0.834547937, 0.542870939, 0.0939203352, 0.206015989, -0.149394542, -0.967077494, -0.510967135, 0.826421559, -0.236516997) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1607. CFrame.new(0.68701154, -1.98529327, -0.37160185, 0.930008888, -0.28755042, 0.228906691, 0.199811101, 0.918300092, 0.341761321, -0.308478624, -0.272102952, 0.91148293) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1608. CFrame.new(-0.58936131, -1.88161922, -0.491538405, 0.939692616, 0.0593912527, 0.33682391, 0.0593908988, 0.941511333, -0.331706613, -0.33682403, 0.331706524, 0.881204009) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1609. }, .4, false)
  1610. bodygyro.CFrame = CFrame.new(RootPart.Position, Vector3.new(grab.Torso.Position.X, RootPart.Position.Y, grab.Torso.Position.Z))
  1611. kunai.CFrame = LeftArm.CFrame * CFrame.new(0,-1.2,0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1612. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .8, 0) * CFrame.Angles(math.rad(10), math.rad(10), math.rad(0)), .5)
  1613. end
  1614.  
  1615. local con = kunai.Touched:connect(function(hit)
  1616. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= Character then
  1617. Damage(Hitbox, hit, 10, 15, 1, "Normal", hit, 0.1, "851453784", 1) kunai:Destroy()
  1618. end end)
  1619. CFuncs.Sound.Create("608494468", Torso, 1, 1)
  1620. kunai.Anchored = false
  1621. local roketsped = 500
  1622. kunai.CFrame = CFrame.new(kunai.Position, grab.Torso.Position)
  1623. kunai.Velocity = kunai.CFrame.lookVector * roketsped
  1624. local GRAVITY_ACCELERATION = 196.2
  1625. local bodyForce = Instance.new('BodyForce', kunai)
  1626. bodyForce.Name = 'Antigravity'
  1627. bodyForce.force = Vector3.new(0, kunai:GetMass() * GRAVITY_ACCELERATION, 0)
  1628. game:GetService("Debris"):AddItem(kunai, 3)
  1629. for i = 0, .4, 0.1 do
  1630. swait()
  1631. PlayAnimationFromTable({
  1632. CFrame.new(0.0406299457, 0.0233199894, -0.0756803155, 1.00000334, 0, 6.9886446e-06, 0, 1, 0, -6.9886446e-06, 0, 1.00000334) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1633. CFrame.new(0.0230878145, 1.48596978, -0.0395567417, 0.806168199, -0.00414236449, 0.591672063, -0.0387550145, 0.997458518, 0.0597880185, -0.590416014, -0.0711294487, 0.803958774) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1634. CFrame.new(1.68625438, 0.0885032937, -0.279244632, 0.958621979, -0.205044419, 0.197486714, 0.246597111, 0.944705844, -0.216149762, -0.142246574, 0.255905539, 0.956179142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1635. CFrame.new(-1.88312232, 0.716546774, -0.608011961, 0.451612294, 0.886880159, -0.0974167064, 0.270454913, -0.24012588, -0.932305574, -0.850235701, 0.394693822, -0.348304898) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1636. CFrame.new(0.687008262, -2.01966119, -0.0212197751, 0.930009007, -0.191918314, 0.313449889, 0.14320907, 0.974656999, 0.1718577, -0.338488758, -0.114940353, 0.933924139) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1637. CFrame.new(-0.589368761, -1.9383862, -0.157336846, 0.939693034, 0.0593909137, 0.336823344, 0, 0.984807849, -0.173647821, -0.342019379, 0.163175642, 0.925417006) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1638. }, .5, false)
  1639. bodygyro.CFrame = CFrame.new(RootPart.Position, Vector3.new(grab.Torso.Position.X, RootPart.Position.Y, grab.Torso.Position.Z))
  1640. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .8, 0) * CFrame.Angles(math.rad(10), math.rad(10), math.rad(0)), .5)
  1641. end
  1642. end
  1643. bodygyro:Destroy()
  1644. end
  1645.  
  1646. Humanoid.WalkSpeed = 16
  1647. Humanoid.AutoRotate = true
  1648. Attack = false
  1649. end
  1650.  
  1651.  
  1652.  
  1653. Mouse.Button1Down:connect(function()
  1654. if Attack == false and Combo== 1 then
  1655. basicatk1()
  1656. Combo=2
  1657. elseif Attack == false and Combo== 2 then
  1658. basicatk2()
  1659. Combo=3
  1660. elseif Attack == false and Combo== 3 then
  1661. basicatk3()
  1662. Combo=1
  1663. end
  1664. end)
  1665.  
  1666. Mouse.KeyDown:connect(function(Key)
  1667. Key = Key:lower()
  1668. if Attack == false and Key == 'z' and cooldownZ >=coZ then
  1669. slashland()
  1670. elseif Attack == false and Key == 'x' and cooldownX >=coX then
  1671. cooldownX = 0
  1672. kunayy()
  1673. elseif Attack == false and Key == 'c' and cooldownC >=coC then
  1674. if Combo==3 then
  1675. Combo=1
  1676. elseif Combo==2 then
  1677. Combo=3
  1678. elseif Combo==1 then
  1679. Combo=2
  1680. end
  1681. cooldownC = 0
  1682. eviscerate()
  1683. elseif Attack == false and Key == 'v' and cooldownV >=coV then
  1684. cooldownV = 0
  1685. LetsMakeItWorthTheWait()
  1686. end
  1687. end)
  1688.  
  1689.  
  1690.  
  1691.  
  1692.  
  1693. function updateskills1()
  1694. if cooldownZ <= coZ then
  1695. cooldownZ = cooldownZ + 1 / 35
  1696. end
  1697. if cooldownX <= coX then
  1698. cooldownX = cooldownX + 1 / 35
  1699. end
  1700. if cooldownC <= coC then
  1701. cooldownC = cooldownC + 1 / 35
  1702. end
  1703. if cooldownV <= coV then
  1704. cooldownV = cooldownV + 1 / 35
  1705. end
  1706. end
  1707.  
  1708.  
  1709.  
  1710.  
  1711. while true do
  1712. swait()
  1713. updateskills1()
  1714. for i, v in pairs(Character:GetChildren()) do
  1715. if v:IsA("Part") then
  1716. v.Material = "SmoothPlastic"
  1717. elseif v:IsA("Accessory") then
  1718. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1719. end
  1720. end
  1721. for i, v in pairs(Character:GetChildren()) do
  1722. if v:IsA'Model' then
  1723. for _, c in pairs(v:GetChildren()) do
  1724. if c:IsA'Part' then
  1725. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1726. end
  1727. end
  1728. end
  1729. end
  1730. TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1731. Velocity = RootPart.Velocity.y
  1732. Sine = Sine + Change
  1733. local hit, pos = RayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1734. if RootPart.Velocity.y > 1 and hit == nil and equipped == false then
  1735. Anim = "Jump"
  1736. if Attack == false then
  1737. Change = 1
  1738. PlayAnimationFromTable({
  1739. CFrame.new(-0.0142319221, 0.0233184248, 0.0206878185, 1.00000012, 1.49011612e-08, 0, 2.72463048e-08, 0.965925992, 0.258818656, 2.98023224e-08, -0.258818597, 0.965925932) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1740. CFrame.new(0.0172861218, 1.54588914, -0.00366462767, 0.999084175, 0.00742999092, -0.0421376228, -0.011074245, 0.996153653, -0.0869220346, 0.0413297117, 0.0873090774, 0.995323658) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1741. CFrame.new(1.54051697, 0.254249156, -0.521965742, 0.890014946, -0.152965426, -0.429505706, -0.32768172, 0.440404594, -0.835864007, 0.317014515, 0.884672523, 0.341842651) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1742. CFrame.new(-1.55745959, 0.112057857, 0.343250573, 0.986049891, 0.113037676, 0.12218184, -0.158506706, 0.861737013, 0.481959641, -0.050808996, -0.49460274, 0.867632747) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1743. CFrame.new(0.566533923, -1.59700418, -0.481964171, 0.999206185, -0.0385679156, -0.00998616219, 0.0397087261, 0.94381088, 0.328091979, -0.00322881341, -0.328228056, 0.944592893) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1744. CFrame.new(-0.433014154, -1.95977831, 0.0051856637, 1, 0, 0, 0, 0.965925813, 0.258819401, -2.98023224e-08, -0.258819431, 0.965925753) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1745. }, .2, false)
  1746. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .8, 0) * CFrame.Angles(math.rad(10), math.rad(10), math.rad(0)), .5)
  1747. end
  1748. elseif RootPart.Velocity.y < -1 and hit == nil and equipped == false then
  1749. Anim = "Fall"
  1750. if Attack == false then
  1751. Change = 1
  1752. PlayAnimationFromTable({
  1753. CFrame.new(-0.0142319212, 0.0233183783, 0.0206877608, 1.00000012, 1.49011612e-08, 2.98023224e-08, 2.72463048e-08, 0.984807968, 0.173647314, 2.98023224e-08, -0.17364724, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1754. CFrame.new(0.0154076805, 1.5522356, -0.0916171968, 0.999084175, 0.0180828422, -0.0387787819, -0.00742995739, 0.9658584, 0.258964151, 0.0421376526, -0.258438855, 0.965108156) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1755. CFrame.new(1.44003379, 0.0510732532, -0.418421805, 0.890014946, -0.0760585517, -0.449542671, -0.298804998, 0.647417247, -0.701118112, 0.344367683, 0.75833106, 0.553484201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1756. CFrame.new(-1.55745959, 0.141547889, 0.332177758, 0.986049891, 0.113037676, 0.12218184, -0.162331849, 0.815350056, 0.555745184, -0.036800772, -0.567826271, 0.822325349) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1757. CFrame.new(0.573113441, -1.8059541, -0.374102622, 0.999206126, -0.0373207629, 0.0139417946, 0.0392762311, 0.98143959, -0.187706873, -0.00667765737, 0.188105404, 0.982126117) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1758. CFrame.new(-0.433013678, -1.95186841, 0.175973177, 1, 0, 2.98023224e-08, 0, 0.98480773, 0.173648328, 2.98023224e-08, -0.173648328, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1759. }, .1, false)
  1760. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .8, 0) * CFrame.Angles(math.rad(10), math.rad(10), math.rad(0)), .5)
  1761. end
  1762. elseif TorsoVelocity < 1 and hit ~= nil and equipped == false then
  1763. Anim = "Idle"
  1764. if Attack == false then
  1765. Change = 1
  1766. PlayAnimationFromTable({
  1767. CFrame.new(0, -0, -0, 0.64278698, 0, -0.766044974, 0, 1, 0, 0.766044974, 0, 0.64278698) * CFrame.new(0, 0 + .05 * math.cos(Sine/20), 0) * CFrame.Angles(0, 0, 0),
  1768. CFrame.new(-8.94069672e-08, 1.49998629, -7.4505806e-08, 0.64278698, -0.133022159, 0.754407108, 0, 0.984807849, 0.173647985, -0.766044974, -0.11161866, 0.633021653) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(5 * math.sin(Sine / 20)/2), 0, 0),
  1769. CFrame.new(0.274591953, 0.453050971, -1.06877387, 0.258818567, 0.965925932, -0, 0, 0, -1, -0.965925932, 0.258818567, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(5 * math.sin(Sine / 20)/2), 0, 0),
  1770. CFrame.new(-0.891517162, 0.434179008, -0.57989186, 0.965925694, -0.258819431, -0, 0, 0, -1, 0.258819431, 0.965925694, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(5 * math.sin(Sine / 20)/2), 0, 0),
  1771. CFrame.new(0.58007282, -1.993595, 0.00245711952, 0.992461562, -0.0858315825, -0.0874815583, 0.0868240073, 0.996194661, 0.00759596378, 0.0864966214, -0.0151341967, 0.996137261) * CFrame.new(0, 0 - .05 * math.cos(Sine/20), 0) * CFrame.Angles(0, 0, 0),
  1772. CFrame.new(-0.553183556, -1.99999607, 0.0178237632, 0.98480773, 0, 0.173648447, 0, 1, 0, -0.173648447, 0, 0.98480773) * CFrame.new(0, 0 - .05 * math.cos(Sine/20), 0) * CFrame.Angles(0, 0, 0),
  1773. }, .2, false)
  1774. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .8, 0) * CFrame.Angles(math.rad(10), math.rad(10), math.rad(0)), .5)
  1775. end
  1776. elseif TorsoVelocity > 2 and hit ~= nil then
  1777. Anim = "Walk"
  1778. if Attack == false and equipped == false then
  1779. PlayAnimationFromTable({
  1780. CFrame.new(-0.0142326364, 0.023318341, 0.0206875801, 1.00000012, 1.5803721e-08, 5.96046448e-08, 2.72463048e-08, 1, 5.61747235e-08, 2.98023224e-08, 2.44280045e-08, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(-.2, math.rad(0 - 10 * math.cos(Sine/6)/2), 0),
  1781. CFrame.new(1.03447394e-06, 1.49992573, -8.27737608e-07, 0.999084234, 2.72463048e-08, -0.0427876711, 2.93197502e-08, 1, 2.55612349e-08, 0.0427877009, 5.61747235e-08, 0.999084353) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1782. CFrame.new(1.66816366, 0.125450149, 0.167713135, 0.975411952, -0.217704624, -0.0342991352, 0.22028406, 0.9678877, 0.12111339, 0.0068307519, -0.125690982, 0.992045999) * CFrame.new(0, 0, 0 + .2 * math.cos(Sine/6)/2) * CFrame.Angles(math.rad(5 - 30 * math.cos(Sine/6)/2), 0, 0),
  1783. CFrame.new(-1.58983934, 0.0268005617, -0.146883398, 0.986049891, 0.166255936, -0.00805497169, -0.16625604, 0.981399775, -0.0959867239, -0.00805321336, 0.0959868878, 0.995350063) * CFrame.new(0, 0, 0 - .2 * math.cos(Sine/6)/2) * CFrame.Angles(math.rad(0 + 30 * math.cos(Sine/6)/2), 0, 0),
  1784. CFrame.new(.5, -1.64 - 0.8 * math.cos(Sine / 6) / 2, 0 + 2 * math.sin(Sine / 6) / 3) * CFrame.Angles(math.rad(-50 * math.sin(Sine / 6)), math.rad(-3), math.rad(0)),
  1785. CFrame.new(-.5, -1.64 + 0.8 * math.cos(Sine / 6) / 2, 0 - 2 * math.sin(Sine / 6) / 3) * CFrame.Angles(math.rad(50 * math.sin(Sine / 6)), math.rad(3), math.rad(0)),}, .2, false)
  1786. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .8, 0) * CFrame.Angles(math.rad(10), math.rad(10), math.rad(0)), .5)
  1787. end
  1788. end
  1789. if #Effects > 0 then
  1790. for e = 1, #Effects do
  1791. if Effects[e] ~= nil then
  1792. local Thing = Effects[e]
  1793. if Thing ~= nil then
  1794. local Part = Thing[1]
  1795. local Mode = Thing[2]
  1796. local Delay = Thing[3]
  1797. local IncX = Thing[4]
  1798. local IncY = Thing[5]
  1799. if Thing[1].Transparency <= 1 then
  1800. if Thing[2] == "Block1" then
  1801. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1802. Mesh = Thing[7]
  1803. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1804. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1805. elseif Thing[2] == "Ice" then
  1806. if Thing[6] <= Thing[5] then
  1807. Thing[6] = Thing[6] + .05
  1808. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .4, 0)
  1809. else
  1810. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1811. end
  1812. elseif Thing[2] == "Shatter" then
  1813. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1814. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1815. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1816. Thing[6] = Thing[6] + Thing[5]
  1817. elseif Thing[2] == "Block2" then
  1818. Thing[1].CFrame = Thing[1].CFrame
  1819. Mesh = Thing[7]
  1820. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1821. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1822. elseif Thing[2] == "Block3" then
  1823. Thing[1].CFrame = Thing[8].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1824. Mesh = Thing[7]
  1825. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1826. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1827. elseif Thing[2] == "Block4" then
  1828. Thing[1].CFrame = Thing[8].CFrame * CFrame.new(0, -Thing[7].Scale.Y, 0) * CFrame.fromEulerAnglesXYZ(3.14, 0, 0)
  1829. Mesh = Thing[7]
  1830. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1831. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1832. elseif Thing[2] == "Block2Fire" then
  1833. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1834. Mesh = Thing[7]
  1835. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1836. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1837. if Thing[1].Transparency >= .3 then
  1838. Thing[1].BrickColor = BrickColor.new("Bright red")
  1839. else
  1840. Thing[1].BrickColor = BrickColor.new("Bright yellow")
  1841. end
  1842. elseif Thing[2] == "Cylinder" then
  1843. Mesh = Thing[7]
  1844. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1845. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1846. elseif Thing[2] == "Blood" then
  1847. Mesh = Thing[7]
  1848. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, -.5, 0)
  1849. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1850. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1851. elseif Thing[2] == "Elec" then
  1852. Mesh = Thing[10]
  1853. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1854. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1855. Thing[1].CFrame = Thing[1].CFrame * Thing[11] * CFrame.new(0, 0, .2)
  1856. Thing[1].Rotation = Vector3.new(0, 0, 0)
  1857. elseif Thing[2] == "Disappear" then
  1858. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1859. end
  1860. else
  1861. Part.Parent = nil
  1862. table.remove(Effects, e)
  1863. end
  1864. end
  1865. end
  1866. end
  1867. end
  1868.  
  1869. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement