Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 97.74 KB | None | 0 0
  1. --[Cyber Katana by SezHu]--
  2.  
  3. --https://github.com/Mokiros/roblox-FE-compatibility
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,game,owner = owner,game
  6. local RealPlayer = Player
  7. do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
  8.  
  9. wait(1 / 60)
  10.  
  11. warn("Black Magic reject incoming. --SezHu")
  12.  
  13. local oofowmybones = {
  14. 209527166,
  15. 209527158,
  16. 209527149,
  17. 209527127,
  18. 209527095,
  19. }
  20.  
  21.  
  22. Effects = { }
  23. local Player = game.Players.localPlayer
  24. local Mouse = Player:GetMouse()
  25. local Character = Player.Character
  26. local Humanoid = Character.Humanoid
  27. local Head = Character.Head
  28. local RootPart = Character.HumanoidRootPart
  29. local Torso = Character.Torso
  30. local LeftArm = Character["Left Arm"]
  31. local RightArm = Character["Right Arm"]
  32. local LeftLeg = Character["Left Leg"]
  33. local RightLeg = Character["Right Leg"]
  34. local Camera = game.Workspace.CurrentCamera
  35. local RootJoint = RootPart.RootJoint
  36. local equipped = false
  37. local Attack = false
  38. local Anim = 'Idle'
  39. local Idle = 0
  40. local Combo = 1
  41. local TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  42. local Velocity = RootPart.Velocity.y
  43. local Sine = 0
  44. local Change = 1
  45. local maincol = "Crimson"
  46. local genjirip = false
  47.  
  48.  
  49. local coZ = 8
  50. local coX = 10
  51. local coC = 15
  52. local coV = 25
  53.  
  54.  
  55. local cooldownZ = 0
  56. local cooldownX = 0
  57. local cooldownC = 0
  58. local cooldownV = 0
  59.  
  60.  
  61.  
  62.  
  63. local RbxUtility = LoadLibrary("RbxUtility")
  64. local Create = RbxUtility.Create
  65.  
  66. Humanoid.MaxHealth = 90
  67. Humanoid.WalkSpeed = 16
  68. Humanoid.JumpPower = 50
  69. Humanoid.Animator.Parent = nil
  70. Character.Animate.Parent = nil
  71.  
  72. local newMotor = function(part0, part1, c0, c1)
  73. local w = Create('Motor'){
  74. Parent = part0,
  75. Part0 = part0,
  76. Part1 = part1,
  77. C0 = c0,
  78. C1 = c1,
  79. }
  80. return w
  81. end
  82.  
  83.  
  84.  
  85. function clerp(a, b, t)
  86. return a:lerp(b, t)
  87. end
  88.  
  89. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  90. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  91.  
  92. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  93. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  94. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  95. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  96. RootJoint.C1 = CFrame.new(0, 0, 0)
  97. RootJoint.C0 = CFrame.new(0, 0, 0)
  98. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  99. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  100.  
  101. local rarmc1 = RW.C1
  102. local larmc1 = LW.C1
  103. local rlegc1 = RH.C1
  104. local llegc1 = LH.C1
  105.  
  106. local resetc1 = false
  107.  
  108. function PlayAnimationFromTable(table, speed, bool)
  109. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  110. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  111. RW.C0 = clerp(RW.C0, table[3], speed)
  112. LW.C0 = clerp(LW.C0, table[4], speed)
  113. RH.C0 = clerp(RH.C0, table[5], speed)
  114. LH.C0 = clerp(LH.C0, table[6], speed)
  115. if bool == true then
  116. if resetc1 == false then
  117. resetc1 = true
  118. RootJoint.C1 = RootJoint.C1
  119. Torso.Neck.C1 = Torso.Neck.C1
  120. RW.C1 = rarmc1
  121. LW.C1 = larmc1
  122. RH.C1 = rlegc1
  123. LH.C1 = llegc1
  124. end
  125. end
  126. end
  127.  
  128. ArtificialHB = Create("BindableEvent"){
  129. Parent = script,
  130. Name = "Heartbeat",
  131. }
  132. print(Player.Name)
  133. script:WaitForChild("Heartbeat")
  134. frame = 1 / 35
  135. tf = 0
  136. allowframeloss = false
  137. tossremainder = false
  138. lastframe = tick()
  139. script.Heartbeat:Fire()
  140.  
  141. game:GetService("RunService").Heartbeat:connect(function(s, p)
  142. tf = tf + s
  143. if tf >= frame then
  144. if allowframeloss then
  145. script.Heartbeat:Fire()
  146. lastframe = tick()
  147. else
  148. for i = 1, math.floor(tf / frame) do
  149. script.Heartbeat:Fire()
  150. end
  151. lastframe = tick()
  152. end
  153. if tossremainder then
  154. tf = 0
  155. else
  156. tf = tf - frame * math.floor(tf / frame)
  157. end
  158. end
  159. end)
  160.  
  161. function swait(num)
  162. if num == 0 or num == nil then
  163. ArtificialHB.Event:wait()
  164. else
  165. for i = 0, num do
  166. ArtificialHB.Event:wait()
  167. end
  168. end
  169. end
  170.  
  171. local m = Create("Model"){
  172. Parent = Character,
  173. Name = "WeaponModel"
  174. }
  175.  
  176. function RemoveOutlines(part)
  177. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  178. end
  179.  
  180. CFuncs = {
  181. Part = {
  182. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  183. local Part = Create("Part"){
  184. Parent = Parent,
  185. Reflectance = Reflectance,
  186. Transparency = Transparency,
  187. CanCollide = false,
  188. Locked = true,
  189. BrickColor = BrickColor.new(tostring(BColor)),
  190. Name = Name,
  191. Size = Size,
  192. Material = Material,
  193. }
  194. RemoveOutlines(Part)
  195. if Size == Vector3.new() then
  196. Part.Size = Vector3.new(0.2, 0.2, 0.2)
  197. else
  198. Part.Size = Size
  199. end
  200. return Part
  201. end;
  202. };
  203.  
  204. Mesh = {
  205. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  206. local Msh = Create(Mesh){
  207. Parent = Part,
  208. Offset = OffSet,
  209. Scale = Scale,
  210. }
  211. if Mesh == "SpecialMesh" then
  212. Msh.MeshType = MeshType
  213. Msh.MeshId = MeshId
  214. end
  215. return Msh
  216. end;
  217. };
  218.  
  219. Weld = {
  220. Create = function(Parent, Part0, Part1, C0, C1)
  221. local Weld = Create("Weld"){
  222. Parent = Parent,
  223. Part0 = Part0,
  224. Part1 = Part1,
  225. C0 = C0,
  226. C1 = C1,
  227. }
  228. return Weld
  229. end;
  230. };
  231.  
  232. Sound = {
  233. Create = function(id, par, vol, pit)
  234. coroutine.resume(coroutine.create(function()
  235. local S = Create("Sound"){
  236. Volume = vol,
  237. Pitch = pit or 1,
  238. SoundId = "rbxassetid://" .. id,
  239. Parent = par or workspace,
  240. }
  241. wait()
  242. S:play()
  243. game:GetService("Debris"):AddItem(S, 10)
  244. end))
  245. end;
  246. };
  247.  
  248. ParticleEmitter = {
  249. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  250. local Particle = Create("ParticleEmitter"){
  251. Parent = Parent,
  252. Color = ColorSequence.new(Color1, Color2),
  253. LightEmission = LightEmission,
  254. Size = Size,
  255. Texture = Texture,
  256. Transparency = Transparency,
  257. ZOffset = ZOffset,
  258. Acceleration = Accel,
  259. Drag = Drag,
  260. LockedToPart = LockedToPart,
  261. VelocityInheritance = VelocityInheritance,
  262. EmissionDirection = EmissionDirection,
  263. Enabled = Enabled,
  264. Lifetime = LifeTime,
  265. Rate = Rate,
  266. Rotation = Rotation,
  267. RotSpeed = RotSpeed,
  268. Speed = Speed,
  269. VelocitySpread = VelocitySpread,
  270. }
  271. return Particle
  272. end;
  273. };
  274.  
  275. CreateTemplate = {
  276.  
  277. };
  278. }
  279.  
  280.  
  281.  
  282. GleamPart=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","GleamPart",Vector3.new(0.0899999291, 0.190000042, 0.220000297))
  283. 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))
  284. RHandle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","RHandle",Vector3.new(0.380000323, 0.449999988, 0.9399997))
  285. 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))
  286. Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","Handle",Vector3.new(0.380000323, 0.449999988, 0.9399997))
  287. 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))
  288. FakeNeonPart=CFuncs.Part.Create(m,Enum.Material.Glass,0,0,"Really red","FakeNeonPart",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007))
  289. 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))
  290. CFuncs.Mesh.Create("SpecialMesh",FakeNeonPart,Enum.MeshType.FileMesh,"rbxassetid://1625992167",Vector3.new(0, 0, 0),Vector3.new(0.0799999982, 0.0799999982, 0.100000001))
  291. Hitbox=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","Hitbox",Vector3.new(1.00000262, 0.939999461, 4.98999929))
  292. 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))
  293. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007))
  294. 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))
  295. CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.FileMesh,"rbxassetid://1625991090",Vector3.new(0, 0, 0),Vector3.new(0.0797663927, 0.0797663927, 0.0797663927))
  296. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007))
  297. 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))
  298. CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.FileMesh,"rbxassetid://1625992464",Vector3.new(0, 0, 0),Vector3.new(0.0797663927, 0.0797663927, 0.0797663927))
  299. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Lily white","Part",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007))
  300. 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))
  301. CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.FileMesh,"rbxassetid://1625991466",Vector3.new(0, 0, 0),Vector3.new(0.0797663927, 0.0797663927, 0.0797663927))
  302. Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0.20000000298023,"Really red","Part",Vector3.new(0.188248605, 0.061420165, 0.0534434617))
  303. 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))
  304. CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  305. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Smoky grey","Part",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007))
  306. 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))
  307. CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.FileMesh,"rbxassetid://1625990842",Vector3.new(0, 0, 0),Vector3.new(0.0797663927, 0.0797663927, 0.0797663927))
  308. ParticleBrick=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","ParticleBrick",Vector3.new(0.0500000007, 0.0500000007, 3.58999777))
  309. 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))
  310. SwordEdge=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0.30000001192093,0,"Black","SwordEdge",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007))
  311. 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))
  312. CFuncs.Mesh.Create("SpecialMesh",SwordEdge,Enum.MeshType.FileMesh,"rbxassetid://1625992814",Vector3.new(0, 0, 0),Vector3.new(0.0780000016, 0.0799999982, 0.100000001))
  313. Swordbit=CFuncs.Part.Create(m,Enum.Material.Metal,0,0,"Black","Swordbit",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007))
  314. 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))
  315. CFuncs.Mesh.Create("SpecialMesh",Swordbit,Enum.MeshType.FileMesh,"rbxassetid://1625990432",Vector3.new(0, 0, 0),Vector3.new(0.0799999982, 0.0799999982, 0.100000001))
  316. TrailAtch1=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","TrailAtch1",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007))
  317. 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))
  318. TrailAtch2=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","TrailAtch2",Vector3.new(0.0500000007, 0.0500000007, 0.0500000007))
  319. 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))
  320. Grabby=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","Grabby",Vector3.new(0.590000212, 0.439999968, 0.379999876))
  321. 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))
  322.  
  323. Trail = Instance.new("Trail", Character)
  324. A2 = Instance.new('Attachment',TrailAtch1)
  325. A3 = Instance.new('Attachment',TrailAtch2)
  326. Trail = Instance.new('Trail',Character)
  327. Trail.Attachment0 = A2
  328. Trail.Attachment1 = A3
  329.  
  330. Trail.Lifetime = .1
  331. Trail.Enabled = false
  332. Trail.Attachment0 = A2
  333. Trail.Attachment1 = A3
  334. Trail.MinLength = 0
  335. Trail.Texture = "rbxassetid://1165010419"
  336. local startColor = Color3.new(200, 0, 0)
  337. local endColor = Color3.new(50,0, 0)
  338. local startT = 0
  339. local endT = 1
  340. local sequence = ColorSequence.new(startColor, endColor)
  341. local sequence2 = NumberSequence.new(startT, endT)
  342. Trail.Color = sequence
  343. Trail.Transparency = sequence2
  344.  
  345.  
  346.  
  347. Trail2 = Instance.new("Trail", Character)
  348. A2 = Instance.new('Attachment',TrailAtch1)
  349. A3 = Instance.new('Attachment',TrailAtch2)
  350. Trail2 = Instance.new('Trail',Character)
  351. Trail2.Attachment0 = A2
  352. Trail2.Attachment1 = A3
  353. Trail2.MinLength = 0
  354. Trail2.Lifetime = .5
  355. Trail2.Texture = "rbxassetid://1165010419"
  356. Trail2.Enabled = false
  357. Trail2.Attachment0 = A2
  358. Trail2.Attachment1 = A3
  359. local startColor2 = Color3.new(200, 0, 0)
  360. local endColor2 = Color3.new(50,0, 0)
  361. local startT2 = .5
  362. local endT2 = .8
  363.  
  364. local sequence2 = ColorSequence.new(startColor2, endColor2)
  365. local sequence3 = NumberSequence.new(startT2, endT2)
  366.  
  367. Trail2.Color = sequence2
  368. Trail2.Transparency = sequence3
  369.  
  370.  
  371.  
  372. function RayCast(Position, Direction, Range, Ignore)
  373. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  374. end
  375.  
  376. function FindNearestTorso(Position, Distance, SinglePlayer)
  377. if SinglePlayer then
  378. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  379. end
  380. local List = {}
  381. for i, v in pairs(workspace:GetChildren()) do
  382. if v:IsA("Model") then
  383. if v:findFirstChild("Torso") then
  384. if v ~= Character then
  385. if (v.Torso.Position - Position).magnitude <= Distance then
  386. table.insert(List, v)
  387. end
  388. end
  389. end
  390. end
  391. end
  392. return List
  393. end
  394.  
  395. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  396. if hit.Parent == nil then
  397. return
  398. end
  399. local h = hit.Parent:FindFirstChild("Humanoid")
  400. for _, v in pairs(hit.Parent:children()) do
  401. if v:IsA("Humanoid") then
  402. h = v
  403. end
  404. end
  405. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  406. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  407. if hit.Parent.DebounceHit.Value == true then
  408. return
  409. end
  410. end
  411. local c = Create("ObjectValue"){
  412. Name = "creator",
  413. Value = game:service("Players").LocalPlayer,
  414. Parent = h,
  415. }
  416. game:GetService("Debris"):AddItem(c, .5)
  417. if HitSound ~= nil and HitPitch ~= nil then
  418. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  419. end
  420. local Damage = math.random(minim, maxim)
  421. local blocked = false
  422. local block = hit.Parent:findFirstChild("Block")
  423. if block ~= nil then
  424. if block.className == "IntValue" then
  425. if block.Value > 0 then
  426. blocked = true
  427. block.Value = block.Value - 1
  428. print(block.Value)
  429. end
  430. end
  431. end
  432. if blocked == false then
  433. for i = 0, .4, 0.1 do
  434. Effects.Break.Create(BrickColor.new("Crimson"), hit.Parent.Torso.CFrame, .5, 2, .5)
  435. end
  436. h.Health = h.Health - Damage
  437. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really red").Color,BrickColor.new("Really black").Color)
  438. else
  439. h.Health = h.Health - (Damage / 2)
  440. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really red").Color,BrickColor.new("Really black").Color)
  441. end
  442. if Type == "Knockdown" then
  443. local hum = hit.Parent.Humanoid
  444. hum.PlatformStand = true
  445. coroutine.resume(coroutine.create(function(HHumanoid)
  446. swait(1)
  447. HHumanoid.PlatformStand = false
  448. end), hum)
  449. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  450. local bodvol = Create("BodyVelocity"){
  451. velocity = angle * knockback,
  452. P = 5000,
  453. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  454. Parent = hit,
  455. }
  456. local rl = Create("BodyAngularVelocity"){
  457. P = 3000,
  458. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  459. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  460. Parent = hit,
  461. }
  462. game:GetService("Debris"):AddItem(bodvol, .5)
  463. game:GetService("Debris"):AddItem(rl, .5)
  464. elseif Type == "Normal" then
  465. local vp = Create("BodyVelocity"){
  466. P = 500,
  467. maxForce = Vector3.new(math.huge, 0, math.huge),
  468. velocity = RootPart.CFrame.lookVector * knockback * 2,
  469. }
  470. if knockback > 0 then
  471. vp.Parent = hit.Parent.Torso
  472. end
  473. game:GetService("Debris"):AddItem(vp, .5)
  474.  
  475. elseif Type == "Bleed" then
  476. coroutine.resume(coroutine.create(function()
  477. local vp = Create("BodyVelocity"){
  478. P = 500,
  479. maxForce = Vector3.new(math.huge, 0, math.huge),
  480. velocity = RootPart.CFrame.lookVector * knockback * 2,
  481. }
  482. if knockback > 0 then
  483. vp.Parent = hit.Parent.Torso
  484. end
  485. game:GetService("Debris"):AddItem(vp, .5)
  486. 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("Really black").Color)
  487. wait(.3)
  488. for i = 0, 9, 1 do
  489. wait(1)
  490. --CFuncs.Sound.Create(oofowmybones[math.random(#oofowmybones)], hit.Parent.Head, .3, 1)
  491. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 1
  492. 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("Really black").Color)
  493. end
  494. end))
  495.  
  496. elseif Type == "Up" then
  497. local bodyVelocity = Create("BodyVelocity"){
  498. velocity = Vector3.new(0, 20, 0),
  499. P = 5000,
  500. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  501. Parent = hit,
  502. }
  503. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  504. elseif Type == "DarkUp" then
  505. coroutine.resume(coroutine.create(function()
  506. for i = 0, 1, 0.1 do
  507. swait()
  508. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  509. end
  510. end))
  511. local bodyVelocity = Create("BodyVelocity"){
  512. velocity = Vector3.new(0, 20, 0),
  513. P = 5000,
  514. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  515. Parent = hit,
  516. }
  517. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  518. elseif Type == "Snare" then
  519. local bp = Create("BodyPosition"){
  520. P = 2000,
  521. D = 100,
  522. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  523. position = hit.Parent.Torso.Position,
  524. Parent = hit.Parent.Torso,
  525. }
  526. game:GetService("Debris"):AddItem(bp, 1)
  527. elseif Type == "Stagger" then
  528. local BodPos = Create("BodyPosition"){
  529. P = 50000,
  530. D = 1000,
  531. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  532. position = hit.Parent.Torso.Position,
  533. Parent = hit.Parent.Torso,
  534. }
  535. local BodGy = Create("BodyGyro") {
  536. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  537. P = 20e+003,
  538. Parent = hit.Parent.Torso,
  539. CFrame = hit.Parent.Torso.CFrame,
  540. }
  541. 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("Really black").Color)
  542. hit.Parent.Torso.Anchored = true
  543. coroutine.resume(coroutine.create(function(Part)
  544. wait(.5)
  545. Part.Anchored = false
  546. end), hit.Parent.Torso)
  547. game:GetService("Debris"):AddItem(BodPos, .8)
  548. game:GetService("Debris"):AddItem(BodGy, .8)
  549. end
  550. local debounce = Create("BoolValue"){
  551. Name = "DebounceHit",
  552. Parent = hit.Parent,
  553. Value = true,
  554. }
  555. if Delay > 0 then
  556. game:GetService("Debris"):AddItem(debounce, Delay)
  557. c = Create("ObjectValue"){
  558. Name = "creator",
  559. Value = Player,
  560. Parent = h,
  561. }
  562. end
  563. game:GetService("Debris"):AddItem(c, .5)
  564. end
  565. end
  566.  
  567. function ShowDamage(Pos, Text, Time, Color, Color2)
  568. local Rate = (1 / 35)
  569. local Pos = (Pos or Vector3.new(0, 0, 0))
  570. local Text = (Text or "")
  571. local Time = (Time or 2)
  572. local Color = (Color or Color3.new(1, 0, 1))
  573. local Color2 = (Color2 or Color3.new(1, 0, 1))
  574. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  575. EffectPart.Anchored = false
  576. EffectPart.CFrame = CFrame.new(Pos)
  577. EffectPart.Velocity = EffectPart.CFrame.upVector * math.random(20,70)
  578. local sizebit = 5
  579. local BillboardGui = Create("BillboardGui"){
  580. Size = UDim2.new(sizebit, 0, sizebit, 0),
  581. Adornee = EffectPart,
  582. Parent = EffectPart,
  583. }
  584. local TextLabel = Create("TextLabel"){
  585. BackgroundTransparency = 1,
  586. Size = UDim2.new(1, 0, 1, 0),
  587. Text = Text,
  588. Font = "SourceSansLight",
  589. TextColor3 = Color,
  590. TextStrokeColor3 = Color2,
  591. TextStrokeTransparency = 0,
  592. TextScaled = true,
  593. Parent = BillboardGui,
  594. }
  595. game.Debris:AddItem(EffectPart, (Time))
  596. EffectPart.Parent = game:GetService("Workspace")
  597. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, 0, 0)
  598. delay(0, function()
  599. local Frames = (Time / Rate)
  600. wait(.15)
  601. EffectPart.Anchored = true
  602. for Frame = 1, Frames do
  603. wait(Rate)
  604. BillboardGui.Size = UDim2.new(sizebit, 0, sizebit, 0)
  605. local Percent = (Frame / Frames)
  606. TextLabel.TextTransparency = Percent
  607. sizebit = sizebit - .4
  608. end
  609. if EffectPart and EffectPart.Parent then
  610. EffectPart:Destroy()
  611. end
  612. end)
  613. end
  614.  
  615. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  616. for _, c in pairs(workspace:children()) do
  617. local hum = c:findFirstChild("Humanoid")
  618. if hum ~= nil then
  619. local head = c:findFirstChild("Torso")
  620. if head ~= nil then
  621. local targ = head.Position - Part.Position
  622. local mag = targ.magnitude
  623. if mag <= Magnitude and c.Name ~= Player.Name then
  624. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 0, "rbxassetid://" .. HitSound, HitPitch)
  625. end
  626. end
  627. end
  628. end
  629. end
  630.  
  631. EffectModel = Create("Model"){
  632. Parent = Character,
  633. Name = "EffectModel",
  634. }
  635.  
  636. Effects = {
  637. Block = {
  638. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, Part)
  639. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  640. prt.Anchored = true
  641. prt.CFrame = cframe
  642. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  643. game:GetService("Debris"):AddItem(prt, 10)
  644. if Type == 1 or Type == nil then
  645. table.insert(Effects, {
  646. prt,
  647. "Block1",
  648. delay,
  649. x3,
  650. y3,
  651. z3,
  652. msh
  653. })
  654. elseif Type == 2 then
  655. table.insert(Effects, {
  656. prt,
  657. "Block2",
  658. delay,
  659. x3,
  660. y3,
  661. z3,
  662. msh
  663. })
  664. elseif Type == 3 then
  665. table.insert(Effects, {
  666. prt,
  667. "Block3",
  668. delay,
  669. x3,
  670. y3,
  671. z3,
  672. msh,
  673. Part
  674. })
  675. elseif Type == 4 then
  676. table.insert(Effects, {
  677. prt,
  678. "Block2Fire",
  679. delay,
  680. x3,
  681. y3,
  682. z3,
  683. msh
  684. })
  685. end
  686. end
  687. };
  688.  
  689. Sphere = {
  690. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, parent)
  691. prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  692. prt.Anchored = true
  693. prt.CFrame = cframe
  694. if parent == nil then
  695. prt.Parent = workspace
  696. else
  697. prt.Parent = parent
  698. end
  699. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  700. game:GetService("Debris"):AddItem(prt, 10)
  701. table.insert(Effects, {
  702. prt,
  703. "Cylinder",
  704. delay,
  705. x3,
  706. y3,
  707. z3,
  708. msh
  709. })
  710. end
  711. };
  712.  
  713. Blood = {
  714. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  715. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  716. prt.Anchored = true
  717. prt.CFrame = cframe
  718. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  719. game:GetService("Debris"):AddItem(prt, 10)
  720. table.insert(Effects, {
  721. prt,
  722. "Blood",
  723. delay,
  724. x3,
  725. y3,
  726. z3,
  727. msh
  728. })
  729. end
  730. };
  731.  
  732. Blast = {
  733. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Part)
  734. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  735. prt.Anchored = true
  736. prt.CFrame = cframe
  737. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "1323306", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  738. game:GetService("Debris"):AddItem(prt, 10)
  739. table.insert(Effects, {
  740. prt,
  741. "Block4",
  742. delay,
  743. x3,
  744. y3,
  745. z3,
  746. msh,
  747. Part
  748. })
  749. end
  750. };
  751.  
  752. Ring = {
  753. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  754. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  755. prt.Anchored = true
  756. prt.CFrame = cframe
  757. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  758. game:GetService("Debris"):AddItem(prt, 10)
  759. table.insert(Effects, {
  760. prt,
  761. "Cylinder",
  762. delay,
  763. x3,
  764. y3,
  765. z3,
  766. msh
  767. })
  768. end
  769. };
  770.  
  771. Cylinder = {
  772. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  773. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  774. prt.Anchored = true
  775. prt.CFrame = cframe
  776. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  777. game:GetService("Debris"):AddItem(prt, 10)
  778. table.insert(Effects, {
  779. prt,
  780. "Cylinder",
  781. delay,
  782. x3,
  783. y3,
  784. z3,
  785. msh
  786. })
  787. end
  788. };
  789.  
  790. Head = {
  791. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  792. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  793. prt.Anchored = true
  794. prt.CFrame = cframe
  795. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  796. game:GetService("Debris"):AddItem(prt, 10)
  797. table.insert(Effects, {
  798. prt,
  799. "Cylinder",
  800. delay,
  801. x3,
  802. y3,
  803. z3,
  804. msh
  805. })
  806. end
  807. };
  808.  
  809. Wave = {
  810. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  811. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  812. prt.Anchored = true
  813. prt.CFrame = cframe
  814. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  815. game:GetService("Debris"):AddItem(prt, 10)
  816. table.insert(Effects, {
  817. prt,
  818. "Cylinder",
  819. delay,
  820. x3,
  821. y3,
  822. z3,
  823. msh
  824. })
  825. end
  826. };
  827.  
  828. Break = {
  829. Create = function(brickcolor, cframe, x1, y1, z1)
  830. prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  831. prt.Anchored = true
  832. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  833. game:GetService("Debris"):AddItem(prt, 10)
  834. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  835. local num = math.random(10, 50) / 1000
  836. table.insert(Effects, {
  837. prt,
  838. "Shatter",
  839. num,
  840. prt.CFrame,
  841. math.random() - math.random(),
  842. 0,
  843. math.random(50, 100) / 100
  844. })
  845. end
  846. };
  847.  
  848. Elec = {
  849. Create = function(brickcolor, cff, x, y, z)
  850. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1))
  851. prt.Anchored = true
  852. 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)
  853. prt.CFrame = CFrame.new(prt.Position)
  854. game:GetService("Debris"):AddItem(prt, 10)
  855. xval = math.random() / 9
  856. yval = math.random() / 9
  857. zval = math.random() / 9
  858. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  859. eul1 = math.random(-50, 50)
  860. eul2 = math.random(-50, 50)
  861. eul3 = math.random(-50, 50)
  862. euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
  863. euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
  864. table.insert(Effects, {
  865. prt,
  866. "Elec",
  867. .05,
  868. x,
  869. y,
  870. z,
  871. xval,
  872. yval,
  873. zval,
  874. msh,
  875. euld,
  876. euld2
  877. })
  878. end
  879. };
  880.  
  881. Elec2 = {
  882. Create = function(brickcolor, cff, x, y, z)
  883. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1))
  884. prt.Anchored = true
  885. 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)
  886. prt.CFrame = CFrame.new(prt.Position)
  887. game:GetService("Debris"):AddItem(prt, 10)
  888. xval = math.random() / 7
  889. yval = math.random() / 7
  890. zval = math.random() / 7
  891. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  892. eul1 = math.random(-50, 50)
  893. eul2 = math.random(-50, 50)
  894. eul3 = math.random(-50, 50)
  895. euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
  896. euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
  897. table.insert(Effects, {
  898. prt,
  899. "Elec",
  900. .1,
  901. x,
  902. y,
  903. z,
  904. xval,
  905. yval,
  906. zval,
  907. msh,
  908. euld,
  909. euld2
  910. })
  911. end
  912. };
  913.  
  914. Clone = {
  915. Create = function()
  916. for _, v in pairs(Torso.Parent:children()) do
  917. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  918. local c = CFuncs.Part.Create(EffectModel, "Neon", 0, .5, BrickColor.new("Bright blue"), "Effect", v.Size)
  919. c.Anchored = true
  920. c.CFrame = v.CFrame
  921. game:GetService("Debris"):AddItem(c, 5)
  922. local cmsh = nil
  923. if v.Name == "Head" then
  924. cmsh = CFuncs.Mesh.Create("SpecialMesh", c, "Head", "", Vector3.new(0, 0, 0), v.Mesh.Scale)
  925. else
  926. cmsh = CFuncs.Mesh.Create("BlockMesh", c, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  927. end
  928. table.insert(Effects, {
  929. c,
  930. "Cylinder",
  931. 0.05,
  932. 0.1,
  933. 0.1,
  934. 0.1,
  935. cmsh
  936. })
  937. end
  938. end
  939. end
  940. };
  941.  
  942. EffectTemplate = {
  943.  
  944. };
  945. }
  946.  
  947. function Attackone()
  948. Attack = true
  949. for i = 0, 1, 0.1 do
  950. swait()
  951. PlayAnimationFromTable({
  952. CFrame.new(0, 0, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  953. CFrame.new(0, 1.5, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  954. CFrame.new(1.5, 0, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  955. CFrame.new(-1.5, 0, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  956. CFrame.new(0.5, -2, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  957. CFrame.new(-0.5, -2, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  958. }, .3, false)
  959. end
  960. Attack = false
  961. end
  962.  
  963.  
  964. function basicatk1()
  965. Attack = true
  966. for i = 0, 1, 0.1 do
  967. swait()
  968. PlayAnimationFromTable({
  969. 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),
  970. 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),
  971. 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),
  972. 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),
  973. 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),
  974. 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),
  975. }, .5, false)
  976. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .5, .3) * CFrame.Angles(math.rad(50), math.rad(190), math.rad(0)), 1)
  977. end
  978. local con = Hitbox.Touched:connect(function(hit)
  979. Damage(Hitbox, hit, 9, 13, 6, "Normal", Torso, 0.5, "851453784", 1)end)
  980. CFuncs.Sound.Create("356430037", Hitbox, 1, 1)
  981. Trail.Enabled = true
  982. for i = 0, 1, 0.1 do
  983. swait()
  984. PlayAnimationFromTable({
  985. 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),
  986. 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),
  987. 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),
  988. 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),
  989. 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),
  990. 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),
  991. }, .4, false)
  992. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(.2, 0, 0) * CFrame.Angles(math.rad(-80), math.rad(-10), math.rad(-90)), .8)
  993. end
  994. Trail.Enabled = false
  995. con:Disconnect()
  996. Attack = false
  997. end
  998.  
  999.  
  1000. function basicatk2()
  1001. Attack = true
  1002. for i = 0, 1, 0.1 do
  1003. swait()
  1004. PlayAnimationFromTable({
  1005. 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),
  1006. 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),
  1007. 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),
  1008. 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),
  1009. 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),
  1010. 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),
  1011. }, .5, false)
  1012. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  1013. end
  1014. local con = Hitbox.Touched:connect(function(hit)
  1015. Damage(Hitbox, hit, 9, 13, 6, "Normal", Torso, 0.5, "851453784", 1)end)
  1016. CFuncs.Sound.Create("356430004", Hitbox, 1, 1)
  1017. Trail.Enabled = true
  1018. for i = 0, 1, 0.1 do
  1019. swait()
  1020. PlayAnimationFromTable({
  1021. 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),
  1022. 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),
  1023. 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),
  1024. 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),
  1025. 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),
  1026. 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),
  1027. }, .4, false)
  1028. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .5, -.2) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(0)), .8)
  1029. end
  1030. Trail.Enabled = false
  1031. con:Disconnect()
  1032. Attack = false
  1033. end
  1034.  
  1035. function basicatk3()
  1036. Attack = true
  1037. for i = 0, 1, 0.1 do
  1038. swait()
  1039. PlayAnimationFromTable({
  1040. 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),
  1041. 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),
  1042. 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),
  1043. 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),
  1044. 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),
  1045. 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),
  1046. }, .5, false)
  1047. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  1048. end
  1049. local con = Hitbox.Touched:connect(function(hit)
  1050. Damage(Hitbox, hit, 4, 7, 5, "Normal", Torso, 0.1, "851453784", 1)
  1051. end)
  1052. Trail.Enabled = true
  1053. Humanoid.AutoRotate = false
  1054. for i = 0, .2, 0.1 do
  1055. CFuncs.Sound.Create("356430037", Hitbox, 1, 1.1)
  1056. for i = 0, .2, 0.1 do
  1057. swait()
  1058. PlayAnimationFromTable({
  1059. 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),
  1060. 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),
  1061. 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),
  1062. 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),
  1063. 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),
  1064. 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),
  1065. }, .5, false)
  1066. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .5, -.2) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(0)), .8)
  1067. end
  1068. for i = 0, .2, 0.1 do
  1069. swait()
  1070. PlayAnimationFromTable({
  1071. 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),
  1072. 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),
  1073. 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),
  1074. 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),
  1075. 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),
  1076. 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),
  1077. }, .5, false)
  1078. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .5, -.2) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(0)), .8)
  1079. end
  1080. for i = 0, .2, 0.1 do
  1081. swait()
  1082. PlayAnimationFromTable({
  1083. 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),
  1084. 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),
  1085. 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),
  1086. 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),
  1087. 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),
  1088. 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),
  1089. }, .5, false)
  1090. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .5, -.2) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(0)), .8)
  1091. end
  1092. end
  1093. Trail.Enabled = false
  1094. Humanoid.WalkSpeed = 0
  1095. con:Disconnect()
  1096. Humanoid.AutoRotate = true
  1097. for i = 0, .3, 0.1 do
  1098. swait()
  1099. PlayAnimationFromTable({
  1100. 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),
  1101. 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),
  1102. 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),
  1103. 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),
  1104. 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),
  1105. 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),
  1106. }, .2, false)
  1107. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .5, -.2) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(0)), .8)
  1108. end
  1109. Humanoid.WalkSpeed = 16
  1110. Attack = false
  1111. end
  1112.  
  1113.  
  1114.  
  1115. function slashland()
  1116. Attack = true
  1117. Humanoid.WalkSpeed = 0
  1118. CFuncs.Sound.Create("1135967858", Hitbox, 1, 1)
  1119. local smonk = Instance.new("ParticleEmitter",ParticleBrick)
  1120. smonk.Size = NumberSequence.new(0.2)
  1121. smonk.Texture = "rbxassetid://1390780157"
  1122. local aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, .2),NumberSequenceKeypoint.new(1, .3)})
  1123. local bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1124. smonk.Transparency = bbb
  1125. smonk.Size = aaa
  1126. smonk.ZOffset = 0
  1127. smonk.LockedToPart = true
  1128. smonk.EmissionDirection = "Back"
  1129. smonk.Lifetime = NumberRange.new(.1, .3)
  1130. smonk.Rate = 100
  1131. smonk.Rotation = NumberRange.new(-360, 360)
  1132. smonk.RotSpeed = NumberRange.new(-100, 100)
  1133. smonk.Speed = NumberRange.new(0)
  1134. smonk.VelocitySpread = 50
  1135. for i = 0, 3, 0.1 do
  1136. swait()
  1137. PlayAnimationFromTable({
  1138. 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),
  1139. 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),
  1140. 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),
  1141. 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),
  1142. 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),
  1143. 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),
  1144. }, .4, false)
  1145. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  1146. end
  1147. Trail2.Enabled = true
  1148. Humanoid.AutoRotate = false
  1149. local x = 0
  1150. smonk:Destroy()
  1151. for i = 0, .3, 0.1 do
  1152. swait()
  1153. PlayAnimationFromTable({
  1154. 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),
  1155. 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),
  1156. 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),
  1157. 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),
  1158. 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),
  1159. 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),
  1160. }, .4, false)
  1161. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .5, -.2) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(0)), .8)
  1162. end
  1163. CFuncs.Sound.Create("1135968861", Hitbox, 1, 1)
  1164. local slashbox=CFuncs.Part.Create(Character, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "owo", Vector3.new(5,5,30))
  1165. slashbox.Anchored=false
  1166. slashbox.CanCollide=false
  1167.  
  1168.  
  1169. RootPart.CFrame=RootPart.CFrame*CFrame.new(0,0,-32)
  1170. local con = slashbox.Touched:connect(function(hit)
  1171. Damage(slashbox, hit, 15, 25, 0, "Normal", Torso, .1, 283376418, 1) Trail2.Enabled = false
  1172. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= Character then
  1173. if hit.Parent:FindFirstChild("Humanoid").Health == 0 then
  1174. for y,t in pairs(hit.Parent:GetChildren()) do
  1175. if t:IsA("Part") then
  1176. t:BreakJoints()
  1177. t.Parent = workspace
  1178. t.Material = "Neon"
  1179. t.BrickColor = BrickColor.new("Crimson")
  1180. t.Transparency = .5
  1181. t.CanCollide = false
  1182. local GRAVITY_ACCELERATION = 200
  1183. local bodyForce = Instance.new('BodyForce', t)
  1184. bodyForce.Name = 'Antigravity'
  1185. bodyForce.force = Vector3.new(0, t:GetMass() * GRAVITY_ACCELERATION, 0)
  1186. t.Velocity=Vector3.new(math.random(-1, 1),math.random(-1, 1),math.random(-1, 1))
  1187. local rl = Create("BodyAngularVelocity"){
  1188. P = 500,
  1189. maxTorque = Vector3.new(5, 5, 5),
  1190. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1191. Parent = t,
  1192. }
  1193.  
  1194. game:GetService("Debris"):AddItem(t, 1.5)
  1195. for a,b in pairs(t:GetChildren()) do
  1196. if b:IsA("Decal") then
  1197. b:Destroy()
  1198. end
  1199. end
  1200. end
  1201. genjirip = true
  1202. end
  1203. end
  1204. end
  1205. end)
  1206. slashbox.CFrame=RootPart.CFrame*CFrame.new(0,1,15)
  1207. game:GetService("Debris"):AddItem(slashbox, .1)
  1208. smonk.Enabled=false
  1209. for i = 0, 3, 0.1 do
  1210. 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)
  1211. x=x+1
  1212. end
  1213.  
  1214.  
  1215.  
  1216. for i = 0, .1, 0.1 do
  1217. swait()
  1218. PlayAnimationFromTable({
  1219. 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),
  1220. 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),
  1221. 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),
  1222. 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),
  1223. 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),
  1224. 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),
  1225. }, .5, false)
  1226. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, -1, .2) * CFrame.Angles(math.rad(-180), math.rad(0), math.rad(0)), 1)
  1227. Torso.Velocity=RootPart.CFrame.lookVector*10
  1228. end
  1229. if genjirip == true then
  1230. genjirip = false
  1231. CFuncs.Sound.Create("258468929", Hitbox, 1, 1)
  1232. 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)
  1233. 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)
  1234. cooldownZ = 10
  1235. elseif genjirip == false then
  1236. CFuncs.Sound.Create("742820596", Hitbox, 1, 1)
  1237. cooldownZ = 0
  1238. end
  1239.  
  1240. for i = 0, 1.4, 0.1 do
  1241. swait()
  1242. PlayAnimationFromTable({
  1243. 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),
  1244. 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),
  1245. 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),
  1246. 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),
  1247. 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),
  1248. 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),
  1249. }, .5, false)
  1250. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, -1, .2) * CFrame.Angles(math.rad(-180), math.rad(0), math.rad(0)), 1)
  1251. end
  1252.  
  1253.  
  1254. Torso.Velocity=RootPart.CFrame.lookVector*0
  1255. Trail2.Enabled = false
  1256. x = 0
  1257. Humanoid.AutoRotate = true
  1258. Humanoid.WalkSpeed = 16
  1259. Attack = false
  1260. end
  1261.  
  1262.  
  1263.  
  1264. function eviscerate()
  1265. Attack = true
  1266. Humanoid.WalkSpeed = 8
  1267. CFuncs.Sound.Create("1135967858", Hitbox, 1, 1)
  1268. for i = 0, 1.5, 0.1 do
  1269. swait()
  1270. PlayAnimationFromTable({
  1271. 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),
  1272. 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),
  1273. 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),
  1274. 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),
  1275. 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),
  1276. 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),
  1277. }, .5, false)
  1278. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .7, 0) * CFrame.Angles(math.rad(10), math.rad(-5), math.rad(0)), .5)
  1279. end
  1280. Humanoid.WalkSpeed = 0
  1281. local con = Hitbox.Touched:connect(function(hit)
  1282. Damage(Hitbox, hit, 5, 10, 15, "Bleed", Torso, 0.5, "851453784", 1) end)
  1283. CFuncs.Sound.Create("356430037", Hitbox, 1, 1)
  1284. Trail.Enabled = true
  1285. for i = 0, 1, 0.1 do
  1286. swait()
  1287. PlayAnimationFromTable({
  1288. 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),
  1289. 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),
  1290. 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),
  1291. 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),
  1292. 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),
  1293. 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),
  1294. }, .3, false)
  1295. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .8, 0) * CFrame.Angles(math.rad(10), math.rad(10), math.rad(0)), .5)
  1296. end
  1297. Humanoid.WalkSpeed = 16
  1298. Trail.Enabled = false
  1299. con:Disconnect()
  1300. Attack = false
  1301. end
  1302.  
  1303.  
  1304. function kunayy()
  1305. Attack = true
  1306. Humanoid.WalkSpeed = 8
  1307. Humanoid.AutoRotate = false
  1308. local bodygyro = Instance.new("BodyGyro",RootPart)
  1309. bodygyro.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  1310. bodygyro.P = 20000
  1311. for i = 0, 1, 0.1 do
  1312. swait()
  1313. PlayAnimationFromTable({
  1314. 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),
  1315. 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),
  1316. 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),
  1317. 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),
  1318. 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),
  1319. 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),
  1320. }, .4, false)
  1321. bodygyro.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
  1322. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .8, 0) * CFrame.Angles(math.rad(10), math.rad(10), math.rad(0)), .5)
  1323. end
  1324. local kunai=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","kunai",Vector3.new(1, 1, 1))
  1325. 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))
  1326. kunai.Anchored = true
  1327. kunai.CFrame = LeftArm.CFrame * CFrame.new(0,80,0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1328.  
  1329.  
  1330. for i = 0, .1, 0.1 do
  1331. swait()
  1332. PlayAnimationFromTable({
  1333. 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),
  1334. 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),
  1335. 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),
  1336. 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),
  1337. 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),
  1338. 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),
  1339. }, .4, false)
  1340. bodygyro.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
  1341. kunai.CFrame = LeftArm.CFrame * CFrame.new(0,-1.2,0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1342. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .8, 0) * CFrame.Angles(math.rad(10), math.rad(10), math.rad(0)), .5)
  1343. end
  1344.  
  1345. local kuntrail1=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Really black","kunai",Vector3.new(0.1, 0.1, 0.1))
  1346. local kuntrail2=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Really black","kunai",Vector3.new(0.1, 0.1, 0.1))
  1347. kuntrail1.Anchored = true
  1348. kuntrail2.Anchored = true
  1349. kuntrail1.CFrame = kunai.CFrame * CFrame.new(0,.2,1)
  1350. kuntrail2.CFrame = kunai.CFrame * CFrame.new(0,-.2,1)
  1351. local Trail3 = Instance.new("Trail", Character)
  1352. A2 = Instance.new('Attachment',kuntrail2)
  1353. A3 = Instance.new('Attachment',kuntrail1)
  1354. Trail3 = Instance.new('Trail',Character)
  1355. Trail3.Attachment0 = A2
  1356. Trail3.Attachment1 = A3
  1357. Trail3.Lifetime = .2
  1358. Trail3.Attachment0 = A2
  1359. Trail3.Attachment1 = A3
  1360. Trail3.MinLength = 0
  1361. Trail3.Texture = "rbxassetid://1165010419"
  1362. local startColor = Color3.new(200, 0, 0)
  1363. local endColor = Color3.new(0,0, 0)
  1364. local startT = .5
  1365. local endT = 1
  1366. local startW = .1
  1367. local endW = .1
  1368. local sequence = ColorSequence.new(startColor, endColor)
  1369. local sequence2 = NumberSequence.new(startT, endT)
  1370. local sequence3 = NumberSequence.new(startW, endW)
  1371. Trail3.Color = sequence
  1372. Trail3.WidthScale = sequence3
  1373. Trail3.Transparency = sequence2
  1374. Trail3.Enabled = true
  1375. local con = kunai.Touched:connect(function(hit)
  1376. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= Character then
  1377. Damage(Hitbox, hit, 5, 6, 0, "Stagger", hit, 0.5, "851453784", 1)
  1378. RootPart.CFrame=hit.Parent.Torso.CFrame * CFrame.new(0,0,3) kunai:Destroy()
  1379. end end)
  1380. CFuncs.Sound.Create("608494468", Torso, 1, 1)
  1381. kunai.Anchored = false
  1382. local roketsped = 250
  1383. kunai.CFrame = CFrame.new(kunai.Position, Mouse.hit.p)
  1384. kunai.Velocity = kunai.CFrame.lookVector * roketsped
  1385. local GRAVITY_ACCELERATION = 130
  1386. local bodyForce = Instance.new('BodyForce', kunai)
  1387. bodyForce.Name = 'Antigravity'
  1388. bodyForce.force = Vector3.new(0, kunai:GetMass() * GRAVITY_ACCELERATION, 0)
  1389. game:GetService("Debris"):AddItem(kunai, 3)
  1390. game:GetService("Debris"):AddItem(kuntrail1, 3)
  1391. game:GetService("Debris"):AddItem(kuntrail2, 3)
  1392. for i = 0, .4, 0.1 do
  1393. swait()
  1394. PlayAnimationFromTable({
  1395. 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),
  1396. 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),
  1397. 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),
  1398. 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),
  1399. 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),
  1400. 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),
  1401. }, .5, false)
  1402. bodygyro.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
  1403. kuntrail1.CFrame = kunai.CFrame * CFrame.new(0,.3,1)
  1404. kuntrail2.CFrame = kunai.CFrame * CFrame.new(0,-.3,1)
  1405. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .8, 0) * CFrame.Angles(math.rad(10), math.rad(10), math.rad(0)), .5)
  1406. end
  1407. Humanoid.WalkSpeed = 16
  1408. bodygyro:Destroy()
  1409. Humanoid.AutoRotate = true
  1410. Attack = false
  1411. while kunai do
  1412. swait()
  1413. kuntrail1.CFrame = kunai.CFrame * CFrame.new(0,.3,1)
  1414. kuntrail2.CFrame = kunai.CFrame * CFrame.new(0,-.3,1)
  1415. end
  1416. end
  1417.  
  1418. local Grabbed = false
  1419.  
  1420. function LetsMakeItWorthTheWait()
  1421. Attack = true
  1422. Humanoid.WalkSpeed = 0
  1423. CFuncs.Sound.Create("1428540783", Torso, 1, 1)
  1424. for i = 0, 1, 0.1 do
  1425. swait()
  1426. PlayAnimationFromTable({
  1427. 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),
  1428. 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),
  1429. 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),
  1430. 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),
  1431. 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),
  1432. 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),
  1433. }, .5, false)
  1434. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .8, 0) * CFrame.Angles(math.rad(10), math.rad(10), math.rad(0)), .5)
  1435. end
  1436. local grab = nil
  1437. Humanoid.AutoRotate = false
  1438. Torso.Velocity = RootPart.CFrame.lookVector * 100
  1439. for i = 0, 1.5, 0.1 do
  1440. swait()
  1441. PlayAnimationFromTable({
  1442. 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),
  1443. 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),
  1444. 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),
  1445. 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),
  1446. 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),
  1447. 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),
  1448. }, .3, false)
  1449. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 3)) do
  1450. if v:FindFirstChild('Torso') and grab == nil then
  1451. Grabbed = true
  1452. grab = v
  1453. bp1 = Instance.new("BodyPosition",grab.Torso)
  1454. bp1.P = 1000000
  1455. bp1.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1456. CFuncs.Sound.Create("260411131", Torso, 1, 1)
  1457. game:GetService("Debris"):AddItem(bp1, 8)
  1458. end
  1459. end
  1460. if Grabbed == true and grab ~= nil then
  1461. grab.Humanoid.PlatformStand = true
  1462. bp1.Position = Grabby.Position
  1463. end
  1464. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .8, 0) * CFrame.Angles(math.rad(10), math.rad(10), math.rad(0)), .5)
  1465. end
  1466. Torso.Velocity = RootPart.CFrame.lookVector * 0
  1467. if Grabbed == true and grab ~= nil then
  1468. for i = 0, .5, 0.1 do
  1469. swait()
  1470. PlayAnimationFromTable({
  1471. 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),
  1472. 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),
  1473. 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),
  1474. 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),
  1475. 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),
  1476. 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),
  1477. }, .3, false)
  1478. bp1.Position = Grabby.Position
  1479. end
  1480. bp1:Destroy()
  1481. grab.Humanoid.PlatformStand = false
  1482. bp1 = Instance.new("BodyPosition",grab.Torso)
  1483. bp1.P = 10000
  1484. bp1.MaxForce = Vector3.new(1000000,1000000,1000000)
  1485. local ref=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Really black","kunai",Vector3.new(1, 1, 1))
  1486. ref.Anchored = true
  1487. ref.CFrame = RootPart.CFrame * CFrame.new(0,20,-20)
  1488. bp1.Position = ref.Position
  1489. game:GetService("Debris"):AddItem(ref, 0)
  1490. game:GetService("Debris"):AddItem(bp1, .05)
  1491. for i = 0, .5, 0.1 do
  1492. swait()
  1493. PlayAnimationFromTable({
  1494. 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),
  1495. 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),
  1496. 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),
  1497. 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),
  1498. 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),
  1499. 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),
  1500. }, .3, false)
  1501. end
  1502. Humanoid.WalkSpeed = 8
  1503. Humanoid.AutoRotate = false
  1504. local bodygyro = Instance.new("BodyGyro",RootPart)
  1505. bodygyro.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  1506. bodygyro.P = 20000
  1507. for i = 0, 4, 1 do
  1508. for i = 0, .5, 0.1 do
  1509. swait()
  1510. PlayAnimationFromTable({
  1511. 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),
  1512. 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),
  1513. 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),
  1514. 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),
  1515. 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),
  1516. 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),
  1517. }, .4, false)
  1518. bodygyro.CFrame = CFrame.new(RootPart.Position, Vector3.new(grab.Torso.Position.X, RootPart.Position.Y, grab.Torso.Position.Z))
  1519. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .8, 0) * CFrame.Angles(math.rad(10), math.rad(10), math.rad(0)), .5)
  1520. end
  1521. local kunai=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","kunai",Vector3.new(1, 1, 1))
  1522. 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))
  1523. kunai.Anchored = true
  1524. kunai.CFrame = LeftArm.CFrame * CFrame.new(0,80,0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1525.  
  1526.  
  1527. for i = 0, .1, 0.1 do
  1528. swait()
  1529. PlayAnimationFromTable({
  1530. 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),
  1531. 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),
  1532. 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),
  1533. 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),
  1534. 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),
  1535. 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),
  1536. }, .4, false)
  1537. bodygyro.CFrame = CFrame.new(RootPart.Position, Vector3.new(grab.Torso.Position.X, RootPart.Position.Y, grab.Torso.Position.Z))
  1538. kunai.CFrame = LeftArm.CFrame * CFrame.new(0,-1.2,0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1539. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .8, 0) * CFrame.Angles(math.rad(10), math.rad(10), math.rad(0)), .5)
  1540. end
  1541.  
  1542. local con = kunai.Touched:connect(function(hit)
  1543. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= Character then
  1544. Damage(Hitbox, hit, 10, 15, 1, "Normal", hit, 0.1, "851453784", 1) kunai:Destroy()
  1545. end end)
  1546. CFuncs.Sound.Create("608494468", Torso, 1, 1)
  1547. kunai.Anchored = false
  1548. local roketsped = 500
  1549. kunai.CFrame = CFrame.new(kunai.Position, grab.Torso.Position)
  1550. kunai.Velocity = kunai.CFrame.lookVector * roketsped
  1551. local GRAVITY_ACCELERATION = 196.2
  1552. local bodyForce = Instance.new('BodyForce', kunai)
  1553. bodyForce.Name = 'Antigravity'
  1554. bodyForce.force = Vector3.new(0, kunai:GetMass() * GRAVITY_ACCELERATION, 0)
  1555. game:GetService("Debris"):AddItem(kunai, 3)
  1556. for i = 0, .4, 0.1 do
  1557. swait()
  1558. PlayAnimationFromTable({
  1559. 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),
  1560. 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),
  1561. 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),
  1562. 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),
  1563. 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),
  1564. 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),
  1565. }, .5, false)
  1566. bodygyro.CFrame = CFrame.new(RootPart.Position, Vector3.new(grab.Torso.Position.X, RootPart.Position.Y, grab.Torso.Position.Z))
  1567. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .8, 0) * CFrame.Angles(math.rad(10), math.rad(10), math.rad(0)), .5)
  1568. end
  1569. end
  1570. bodygyro:Destroy()
  1571. end
  1572.  
  1573. Humanoid.WalkSpeed = 16
  1574. Humanoid.AutoRotate = true
  1575. Attack = false
  1576. end
  1577.  
  1578.  
  1579.  
  1580. Mouse.Button1Down:connect(function()
  1581. if Attack == false and Combo== 1 then
  1582. basicatk1()
  1583. Combo=2
  1584. elseif Attack == false and Combo== 2 then
  1585. basicatk2()
  1586. Combo=3
  1587. elseif Attack == false and Combo== 3 then
  1588. basicatk3()
  1589. Combo=1
  1590. end
  1591. end)
  1592.  
  1593. Mouse.KeyDown:connect(function(Key)
  1594. Key = Key:lower()
  1595. if Attack == false and Key == 'z' and cooldownZ >=coZ then
  1596. slashland()
  1597. elseif Attack == false and Key == 'x' and cooldownX >=coX then
  1598. cooldownX = 0
  1599. kunayy()
  1600. elseif Attack == false and Key == 'c' and cooldownC >=coC then
  1601. if Combo==3 then
  1602. Combo=1
  1603. elseif Combo==2 then
  1604. Combo=3
  1605. elseif Combo==1 then
  1606. Combo=2
  1607. end
  1608. cooldownC = 0
  1609. eviscerate()
  1610. elseif Attack == false and Key == 'v' and cooldownV >=coV then
  1611. cooldownV = 0
  1612. LetsMakeItWorthTheWait()
  1613. end
  1614. end)
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620. function updateskills1()
  1621. if cooldownZ <= coZ then
  1622. cooldownZ = cooldownZ + 1 / 35
  1623. end
  1624. if cooldownX <= coX then
  1625. cooldownX = cooldownX + 1 / 35
  1626. end
  1627. if cooldownC <= coC then
  1628. cooldownC = cooldownC + 1 / 35
  1629. end
  1630. if cooldownV <= coV then
  1631. cooldownV = cooldownV + 1 / 35
  1632. end
  1633. end
  1634.  
  1635.  
  1636.  
  1637.  
  1638. while true do
  1639. swait()
  1640. updateskills1()
  1641. for i, v in pairs(Character:GetChildren()) do
  1642. if v:IsA("Part") then
  1643. v.Material = "SmoothPlastic"
  1644. elseif v:IsA("Accessory") then
  1645. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1646. end
  1647. end
  1648. for i, v in pairs(Character:GetChildren()) do
  1649. if v:IsA'Model' then
  1650. for _, c in pairs(v:GetChildren()) do
  1651. if c:IsA'Part' then
  1652. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1653. end
  1654. end
  1655. end
  1656. end
  1657. TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1658. Velocity = RootPart.Velocity.y
  1659. Sine = Sine + Change
  1660. local hit, pos = RayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1661. if RootPart.Velocity.y > 1 and hit == nil and equipped == false then
  1662. Anim = "Jump"
  1663. if Attack == false then
  1664. Change = 1
  1665. PlayAnimationFromTable({
  1666. 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),
  1667. 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),
  1668. 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),
  1669. 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),
  1670. 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),
  1671. 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),
  1672. }, .2, false)
  1673. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .8, 0) * CFrame.Angles(math.rad(10), math.rad(10), math.rad(0)), .5)
  1674. end
  1675. elseif RootPart.Velocity.y < -1 and hit == nil and equipped == false then
  1676. Anim = "Fall"
  1677. if Attack == false then
  1678. Change = 1
  1679. PlayAnimationFromTable({
  1680. 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),
  1681. 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),
  1682. 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),
  1683. 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),
  1684. 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),
  1685. 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),
  1686. }, .1, false)
  1687. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .8, 0) * CFrame.Angles(math.rad(10), math.rad(10), math.rad(0)), .5)
  1688. end
  1689. elseif TorsoVelocity < 1 and hit ~= nil and equipped == false then
  1690. Anim = "Idle"
  1691. if Attack == false then
  1692. Change = 1
  1693. PlayAnimationFromTable({
  1694. 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),
  1695. 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),
  1696. 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),
  1697. 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),
  1698. 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),
  1699. 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),
  1700. }, .2, false)
  1701. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .8, 0) * CFrame.Angles(math.rad(10), math.rad(10), math.rad(0)), .5)
  1702. end
  1703. elseif TorsoVelocity > 2 and hit ~= nil then
  1704. Anim = "Walk"
  1705. if Attack == false and equipped == false then
  1706. PlayAnimationFromTable({
  1707. 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),
  1708. 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),
  1709. 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),
  1710. 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),
  1711. 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)),
  1712. 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)
  1713. HandleWeld.C0 = clerp(HandleWeld.C0, CFrame.new(0, .8, 0) * CFrame.Angles(math.rad(10), math.rad(10), math.rad(0)), .5)
  1714. end
  1715. end
  1716. if #Effects > 0 then
  1717. for e = 1, #Effects do
  1718. if Effects[e] ~= nil then
  1719. local Thing = Effects[e]
  1720. if Thing ~= nil then
  1721. local Part = Thing[1]
  1722. local Mode = Thing[2]
  1723. local Delay = Thing[3]
  1724. local IncX = Thing[4]
  1725. local IncY = Thing[5]
  1726. if Thing[1].Transparency <= 1 then
  1727. if Thing[2] == "Block1" then
  1728. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1729. Mesh = Thing[7]
  1730. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1731. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1732. elseif Thing[2] == "Ice" then
  1733. if Thing[6] <= Thing[5] then
  1734. Thing[6] = Thing[6] + .05
  1735. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .4, 0)
  1736. else
  1737. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1738. end
  1739. elseif Thing[2] == "Shatter" then
  1740. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1741. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1742. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1743. Thing[6] = Thing[6] + Thing[5]
  1744. elseif Thing[2] == "Block2" then
  1745. Thing[1].CFrame = Thing[1].CFrame
  1746. Mesh = Thing[7]
  1747. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1748. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1749. elseif Thing[2] == "Block3" then
  1750. Thing[1].CFrame = Thing[8].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1751. Mesh = Thing[7]
  1752. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1753. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1754. elseif Thing[2] == "Block4" then
  1755. Thing[1].CFrame = Thing[8].CFrame * CFrame.new(0, -Thing[7].Scale.Y, 0) * CFrame.fromEulerAnglesXYZ(3.14, 0, 0)
  1756. Mesh = Thing[7]
  1757. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1758. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1759. elseif Thing[2] == "Block2Fire" then
  1760. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1761. Mesh = Thing[7]
  1762. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1763. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1764. if Thing[1].Transparency >= .3 then
  1765. Thing[1].BrickColor = BrickColor.new("Bright red")
  1766. else
  1767. Thing[1].BrickColor = BrickColor.new("Bright yellow")
  1768. end
  1769. elseif Thing[2] == "Cylinder" then
  1770. Mesh = Thing[7]
  1771. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1772. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1773. elseif Thing[2] == "Blood" then
  1774. Mesh = Thing[7]
  1775. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, -.5, 0)
  1776. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1777. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1778. elseif Thing[2] == "Elec" then
  1779. Mesh = Thing[10]
  1780. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1781. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1782. Thing[1].CFrame = Thing[1].CFrame * Thing[11] * CFrame.new(0, 0, .2)
  1783. Thing[1].Rotation = Vector3.new(0, 0, 0)
  1784. elseif Thing[2] == "Disappear" then
  1785. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1786. end
  1787. else
  1788. Part.Parent = nil
  1789. table.remove(Effects, e)
  1790. end
  1791. end
  1792. end
  1793. end
  1794. end
  1795.  
  1796. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement