Advertisement
Ban43_GodOfEdits

nina

Nov 19th, 2018
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 61.02 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  6.  
  7. wait(0.2)
  8. plr = game.Players.LocalPlayer
  9. chr = plr.Character
  10. Head = chr.Head
  11. Root = chr.HumanoidRootPart
  12. Torso = chr.Torso
  13. RArm = chr["Right Arm"]
  14. LArm = chr["Left Arm"]
  15. RLeg = chr["Right Leg"]
  16. LLeg = chr["Left Leg"]
  17. RJ = Root.RootJoint
  18. Neck = Torso.Neck
  19. LS = Torso["Left Shoulder"]
  20. LH = Torso["Left Hip"]
  21. RS = Torso["Right Shoulder"]
  22. RH = Torso["Right Hip"]
  23. hum = chr:FindFirstChildOfClass("Humanoid")
  24. mouse = plr:GetMouse()
  25. Head2, Root2, RArm2, LArm2, RLeg2, LLeg2 = nil, nil, nil, nil, nil, nil
  26. Pose = "Idle"
  27. attack = false
  28. skilldoing = false
  29. skilldoing2 = false
  30. attack2 = false
  31. skilldoing5 = false
  32. skilldoing4 = false
  33. skilldoing3 = false
  34. comb = 1
  35. cc = 1
  36. sin = 0
  37. cha = 1
  38. clonez = false
  39. create = LoadLibrary("RbxUtility").Create
  40. chr.Animate:Remove()
  41. hum.Animator:Remove()
  42. function clerp(a, b, t)
  43. return a:lerp(b, t)
  44. end
  45. local newMotor = function(p0, p1, c0, c1)
  46. local w = Instance.new("Motor", p0)
  47. w.Part0 = p0
  48. w.Part1 = p1
  49. w.C0 = c0
  50. w.C1 = c1
  51. return w
  52. end
  53. RJ.C0, RJ.C1 = CFrame.new(0, 0, 0), CFrame.new(0, 0, 0)
  54. Neck.C0, Neck.C1 = CFrame.new(0, 1.5, 0), CFrame.new(0, 0, 0)
  55. local RS = newMotor(Torso, RArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  56. local LS = newMotor(Torso, LArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  57. local RH = newMotor(Torso, RLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
  58. local LH = newMotor(Torso, LLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
  59. function NoOutline(Part)
  60. Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10
  61. end
  62. function rayCast(Position, Direction, Range, Ignore)
  63. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  64. end
  65. function swait(num)
  66. if num == 0 or num == nil then
  67. game:service("RunService").Stepped:wait(0)
  68. else
  69. for i = 0, num do
  70. game:service("RunService").Stepped:wait(0)
  71. end
  72. end
  73. end
  74. function parts(Par, name, size, color, mat, ref, tra)
  75. local part = create("Part")({
  76. Parent = Par,
  77. Name = name,
  78. Size = size,
  79. CanCollide = false,
  80. Anchored = false,
  81. BrickColor = BrickColor.new(color),
  82. Material = mat,
  83. Reflectance = ref,
  84. Transparency = tra
  85. })
  86. NoOutline(part)
  87. part:BreakJoints()
  88. return part
  89. end
  90. function meshs(Par, name, scale, mtype, id)
  91. local mesh = create("SpecialMesh")({
  92. Parent = Par,
  93. Name = name,
  94. Scale = scale,
  95. MeshType = mtype
  96. })
  97. if id ~= "" then
  98. mesh.MeshId = "rbxassetid://" .. id
  99. end
  100. return meshs
  101. end
  102. function welds(Par, name, p0, p1, c0, c1)
  103. local weld = create("Weld")({
  104. Parent = Par,
  105. Name = name,
  106. Part0 = p0,
  107. Part1 = p1,
  108. C0 = c0,
  109. C1 = c1
  110. })
  111. return weld
  112. end
  113. function sounds(Par, id, vol, pit)
  114. local sound = create("Sound")({
  115. Parent = Par,
  116. SoundId = id,
  117. Volume = vol,
  118. PlaybackSpeed = pit
  119. })
  120. sound:Play()
  121. game:GetService("Debris"):AddItem(sound, 10)
  122. return sound
  123. end
  124. m = Instance.new("Model", chr)
  125. m.Name = "Suit"
  126. e = Instance.new("Model", chr)
  127. e.Name = "Effect"
  128. N2T = parts(m, "N2T", Vector3.new(1.60000002, 2, 0.200000003), "Smoky grey", Enum.Material.SmoothPlastic, 0, 0)
  129. N2TWeld = welds(N2T, "N2TWeld", Torso, N2T, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.46047974E-4, -0.211395741, -0.600017548, 1, 2.04278001E-12, -5.23859955E-10, -2.04277524E-12, 1, 8.84741169E-9, 5.23859955E-10, -8.84741258E-9, 1))
  130. N2T = parts(m, "N2T", Vector3.new(1.20000005, 1.00000012, 0.200000003), "Smoky grey", Enum.Material.SmoothPlastic, 0, 0)
  131. N2TWeld = welds(N2T, "N2TWeld", Torso, N2T, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.05990601E-5, -0.706868172, 0.800048828, 1, 2.04278001E-12, -5.23859955E-10, -2.04277524E-12, 1, 8.84741169E-9, 5.23859955E-10, -8.84741258E-9, 1))
  132. N2T = parts(m, "N2T", Vector3.new(1.20000005, 1.20000005, 0.400000006), "Smoky grey", Enum.Material.SmoothPlastic, 0, 0)
  133. N2TWeld = welds(N2T, "N2TWeld", Torso, N2T, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.145903587, 0.146348, -0.899757385, -0.707038879, 0.707186699, 6.38328493E-5, -0.707186878, -0.707038939, -2.88823212E-5, 2.47075841E-5, -6.55715703E-5, 1.00000012))
  134. N2T = parts(m, "N2T", Vector3.new(1.20000005, 1.60000014, 0.200000003), "Smoky grey", Enum.Material.SmoothPlastic, 0, 0)
  135. N2TWeld = welds(N2T, "N2TWeld", Torso, N2T, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-6.29425049E-5, 0.193191051, 0.600090027, 1, 2.04278001E-12, -5.23859955E-10, -2.04277524E-12, 1, 8.84741169E-9, 5.23859955E-10, -8.84741258E-9, 1))
  136. N2T = parts(m, "N2T", Vector3.new(2, 0.600000024, 1.20000005), "Smoky grey", Enum.Material.SmoothPlastic, 0, 0)
  137. N2TWeld = welds(N2T, "N2TWeld", Torso, N2T, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.12669373E-4, -0.906851768, 0.100070953, 1, 2.04278001E-12, -5.23859955E-10, -2.04277524E-12, 1, 8.84741169E-9, 5.23859955E-10, -8.84741258E-9, 1))
  138. N2T = parts(m, "N2T", Vector3.new(2.0999999, 0.200000003, 1.10000002), "Smoky grey", Enum.Material.SmoothPlastic, 0, 0)
  139. N2TWeld = welds(N2T, "N2TWeld", Torso, N2T, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.41143799E-4, 0.893153906, 8.39233398E-5, 1, 2.04278001E-12, -5.23859955E-10, -2.04277524E-12, 1, 8.84741169E-9, 5.23859955E-10, -8.84741258E-9, 1))
  140. N2 = parts(m, "N2", Vector3.new(0.200000003, 1, 0.200000003), "Institutional white", Enum.Material.SmoothPlastic, 0, 0)
  141. N2Weld = welds(N2, "N2Weld", Torso, N2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.146298885, -0.145599365, -1.1001091, 0.707137525, 0.707088232, 5.0610106E-5, -0.707088292, 0.707137465, 9.14899283E-6, -2.93186422E-5, -4.22642916E-5, 1))
  142. N2 = parts(m, "N2", Vector3.new(1.19999993, 1.5999999, 0.200000003), "Fossil", Enum.Material.SmoothPlastic, 0, 0)
  143. N2Weld = welds(N2, "N2Weld", Torso, N2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.39372253E-4, -0.211386681, -0.800308228, 1, 2.04278001E-12, -5.23859955E-10, -2.04277524E-12, 1, 8.84741169E-9, 5.23859955E-10, -8.84741258E-9, 1))
  144. N2 = parts(m, "N2", Vector3.new(0.200000003, 1, 0.200000003), "Institutional white", Enum.Material.SmoothPlastic, 0, 0)
  145. N2Weld = welds(N2, "N2Weld", Torso, N2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.145659447, 0.14627552, -1.10010529, -0.707090497, 0.70713526, 6.38453057E-5, -0.70713532, -0.707090497, -2.88922456E-5, 2.47141797E-5, -6.55855983E-5, 1.00000012))
  146. N2T = parts(m, "N2T", Vector3.new(1.39999998, 1.39999998, 0.400000006), "Smoky grey", Enum.Material.SmoothPlastic, 0, 0)
  147. N2TWeld = welds(N2T, "N2TWeld", Head, N2T, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00810337067, -0.00790786743, -0.299024582, 0.70712018, -7.31203589E-4, -0.70709914, 0.707105279, -1.32752175E-4, 0.707114279, -6.10913557E-4, -1.00000834, 4.23167832E-4))
  148. N2T = parts(m, "N2T", Vector3.new(1.20000005, 0.200000003, 1), "Smoky grey", Enum.Material.SmoothPlastic, 0, 0)
  149. N2TWeld = welds(N2T, "N2TWeld", Head, N2T, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.6907196E-4, -1.36633682, 1.79227257, 1.00000823, -8.15352483E-4, -8.94709447E-5, -7.64434342E-4, -0.965952456, 0.258749306, -2.97397026E-4, -0.258751333, -0.965944529))
  150. N2T = parts(m, "N2T", Vector3.new(1.20000005, 1.20000005, 0.200000003), "Smoky grey", Enum.Material.SmoothPlastic, 0, 0)
  151. N2TWeld = welds(N2T, "N2TWeld", Head, N2T, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.42640686E-4, -1.32083321, 0.466089249, 0.999999642, -8.35441286E-4, -9.05738998E-5, -5.26776887E-4, -0.707188785, 0.707024634, -6.54730306E-4, -0.707024276, -0.707189023))
  152. N2T = parts(m, "N2T", Vector3.new(1.20000005, 0.800000072, 0.200000003), "Smoky grey", Enum.Material.SmoothPlastic, 0, 0)
  153. N2TWeld = welds(N2T, "N2TWeld", Head, N2T, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.72068787E-4, -0.500007629, -0.200611115, 0.999999642, -8.25215713E-4, -5.56122395E-5, 5.55146726E-5, -1.18256903E-4, 1, -8.25222291E-4, -0.999999642, -1.18211057E-4))
  154. N2 = parts(m, "N2", Vector3.new(0.199999928, 0.399999738, 1.60000014), "Really black", Enum.Material.SmoothPlastic, 0, 0)
  155. N2Weld = welds(N2, "N2Weld", LArm, N2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.27928162E-4, 1.00000691, -0.100688934, -1.00000858, 1.8356173E-4, -5.89061528E-7, 1.83562224E-4, 1.00000811, -0.0010377958, 3.98042175E-7, -0.0010377958, -0.999999464))
  156. N2 = parts(m, "N2", Vector3.new(0.199999928, 0.19999975, 0.399999917), "Really black", Enum.Material.SmoothPlastic, 0, 0)
  157. N2Weld = welds(N2, "N2Weld", LArm, N2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.19345093E-4, 0.700006247, -0.700645447, -1.00000858, 1.82562231E-4, 4.11459041E-7, 1.82561678E-4, 1.00000811, -0.00103679579, -6.01263309E-7, -0.00103679567, -0.999999523))
  158. meshs(N2, "Mesh", Vector3.new(1, 1, 1), Enum.MeshType.Wedge, "")
  159. N2 = parts(m, "N2", Vector3.new(0.199999928, 0.19999975, 0.399999917), "Really black", Enum.Material.SmoothPlastic, 0, 0)
  160. N2Weld = welds(N2, "N2Weld", LArm, N2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.14576721E-4, -1.29994774, -0.700683594, 1.00000858, -1.82559641E-4, 4.58854083E-6, -1.82564603E-4, -1.00000799, 0.00110879575, 4.38563438E-6, -0.00110879727, -0.999999464))
  161. meshs(N2, "Mesh", Vector3.new(1, 1, 1), Enum.MeshType.Wedge, "")
  162. N2 = parts(m, "N2", Vector3.new(0.199999928, 0.399999738, 1.4000001), "Really black", Enum.Material.SmoothPlastic, 0, 0)
  163. N2Weld = welds(N2, "N2Weld", LArm, N2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.9100647E-5, 0.800937653, 1.59953308, 1.00000858, -5.6068086E-7, -5.05879143E-7, 5.60671197E-7, 1.00000858, -8.01577698E-7, 5.0640665E-7, 7.92671926E-7, 1))
  164. meshs(N2, "Mesh", Vector3.new(1, 1, 1), Enum.MeshType.Wedge, "")
  165. N2 = parts(m, "N2", Vector3.new(0.199999928, 0.399999738, 1.4000001), "Really black", Enum.Material.SmoothPlastic, 0, 0)
  166. N2Weld = welds(N2, "N2Weld", LArm, N2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.29153442E-5, -1.20100975, 1.59948349, -1.00000858, 5.57568058E-7, -5.49412107E-6, -5.57165947E-7, -1.0000087, -7.11984467E-5, -5.49368451E-6, -7.12079345E-5, 1.00000012))
  167. meshs(N2, "Mesh", Vector3.new(1, 1, 1), Enum.MeshType.Wedge, "")
  168. N21 = parts(m, "N21", Vector3.new(0.200000003, 0.200000003, 0.200000003), "Really black", Enum.Material.SmoothPlastic, 0, 1)
  169. N21Weld = welds(N21, "N21Weld", LArm, N21, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.38690186E-5, -1.00100994, 1.39948654, -1.00000858, 5.57568058E-7, -5.49412107E-6, -5.57165947E-7, -1.0000087, -7.11984467E-5, -5.49368451E-6, -7.12079345E-5, 1.00000012))
  170. for _, v in pairs(m:children()) do
  171. if v:IsA("Part") and v.Name == "N2T" then
  172. v.BrickColor = Torso.BrickColor
  173. end
  174. end
  175. aaa = NumberSequence.new({
  176. NumberSequenceKeypoint.new(0, 0.2),
  177. NumberSequenceKeypoint.new(1, 0)
  178. })
  179. bbb = NumberSequence.new({
  180. NumberSequenceKeypoint.new(0, 0),
  181. NumberSequenceKeypoint.new(1, 0)
  182. })
  183. local Efect = create("ParticleEmitter")({
  184. Color = ColorSequence.new(Color3.new(0, 0, 0)),
  185. LightEmission = 0.45,
  186. Texture = "rbxassetid://50657528",
  187. Transparency = bbb,
  188. Size = aaa,
  189. ZOffset = 0,
  190. Acceleration = Vector3.new(0, 0, 0),
  191. LockedToPart = false,
  192. EmissionDirection = "Top",
  193. Lifetime = NumberRange.new(0.2, 0.6),
  194. Rate = 800,
  195. Rotation = NumberRange.new(-100, 100),
  196. RotSpeed = NumberRange.new(-50, 50),
  197. Speed = NumberRange.new(0),
  198. VelocitySpread = 1000,
  199. Enabled = false,
  200. Parent = Root
  201. })
  202. local Buff = create("BillboardGui")({
  203. Size = UDim2.new(5, 0, 15, 0),
  204. Adornee = Root,
  205. Parent = Root,
  206. ExtentsOffset = Vector3.new(0, 3, 0),
  207. AlwaysOnTop = true
  208. })
  209. local BuffLabel = create("TextLabel")({
  210. AnchorPoint = Vector2.new(0.5, 0.5),
  211. BackgroundTransparency = 1,
  212. TextStrokeTransparency = 1,
  213. TextTransparency = 1,
  214. TextColor3 = Color3.new(1, 0, 0),
  215. Position = UDim2.new(0.5, 0, 0.5, 0),
  216. Size = UDim2.new(1.5, 0, 0.2, 0),
  217. Text = "gg",
  218. Font = "SourceSansBold",
  219. TextScaled = true,
  220. Parent = Buff
  221. })
  222. function Damage(Type, Part, hit, dmg, delet)
  223. if hit.Parent == nil then
  224. return
  225. end
  226. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  227. for _, v in pairs(hit.Parent:children()) do
  228. if v:IsA("Humanoid") then
  229. h = v
  230. end
  231. end
  232. if h ~= nil and hit.Parent.Name ~= chr.Name then
  233. if hit.Parent:findFirstChild("AHit") == nil then
  234. h.Health = h.Health - dmg
  235. if h.Health == math.huge then
  236. hit.Parent:BreakJoints()
  237. end
  238. end
  239. if Type == "Disappear" then
  240. Part.Parent = nil
  241. if hit.Parent:findFirstChild("AHit") == nil then
  242. local c = create("BoolValue")({
  243. Name = "AHit",
  244. Value = true,
  245. Parent = hit.Parent
  246. })
  247. game:GetService("Debris"):AddItem(c, 0)
  248. end
  249. elseif Type == "None" then
  250. if hit.Parent:findFirstChild("AHit") == nil then
  251. local c = create("BoolValue")({
  252. Name = "AHit",
  253. Value = true,
  254. Parent = hit.Parent
  255. })
  256. game:GetService("Debris"):AddItem(c, 0.25)
  257. end
  258. elseif Type == "None2" then
  259. end
  260. end
  261. end
  262. function Mdamage(Type, Part, Magn, Dmg)
  263. for _, c in pairs(workspace:children()) do
  264. local hum = c:findFirstChildOfClass("Humanoid")
  265. if hum ~= nil then
  266. local ddee = c:findFirstChild("Torso")
  267. if ddee ~= nil then
  268. local targ = ddee.Position - Part.Position
  269. local mag = targ.magnitude
  270. if Magn >= mag and c.Name ~= plr.Name then
  271. Damage(Type, Part, ddee, Dmg)
  272. if hum.Health == math.huge then
  273. ddee:BreakJoints()
  274. end
  275. end
  276. end
  277. end
  278. end
  279. end
  280. function effect(par, color, CF, x, y, z, x1, y1, z1, de, mtyp, typ)
  281. local ex = create("Part")({
  282. Size = Vector3.new(0.2, 0.2, 0.2),
  283. BrickColor = color,
  284. CanCollide = false,
  285. Material = "Neon",
  286. Anchored = true,
  287. CFrame = CF,
  288. Parent = par
  289. })
  290. NoOutline(ex)
  291. local exe = create("SpecialMesh")({
  292. Scale = Vector3.new(x, y, z),
  293. MeshType = mtyp,
  294. Parent = ex
  295. })
  296. game:GetService("Debris"):AddItem(ex, 10)
  297. coroutine.resume(coroutine.create(function()
  298. for i = 0, 1.1, de do
  299. swait()
  300. ex.Transparency = i
  301. exe.Scale = exe.Scale + Vector3.new(x1, y1, z1)
  302. if typ == 1 then
  303. ex.CFrame = ex.CFrame * CFrame.Angles(math.random(-360, 360), math.random(-360, 360), math.random(-360, 360))
  304. end
  305. end
  306. ex:Remove()
  307. end))
  308. end
  309. function Shuriken()
  310. attack = true
  311. if cc == 1 then
  312. for i = 1, 3 do
  313. for i = 0, 1, 0.4 do
  314. swait()
  315. RJ.C0 = clerp(RJ.C0, CFrame.new(5.39479697E-6, 0, -5.39479697E-6, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  316. Neck.C0 = clerp(Neck.C0, CFrame.new(-8.72439887E-6, 1.50000358, -6.32202955E-7, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  317. RS.C0 = clerp(RS.C0, CFrame.new(1.60169411, 0.263376445, -1.02972603, 0.612372458, -0.707106829, -0.353553593, -0.500000238, 0, -0.866025388, 0.612372458, 0.707106829, -0.353553593) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  318. LS.C0 = clerp(LS.C0, CFrame.new(-1.6232332, 0.186604798, -3.19772289E-6, 0.866025507, 0.5, 2.68220901E-7, -0.5, 0.866025448, -9.89961904E-7, -7.15255737E-7, 7.00354576E-7, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  319. if skilldoing == true or skilldoing2 == true then
  320. break
  321. end
  322. end
  323. sounds(Root, "rbxassetid://173979241", 1.2, 1)
  324. do
  325. local efec = parts(e, "hit", Vector3.new(1.4, 0.2, 1.4), "Really black", Enum.Material.Neon, 0, 0)
  326. efec.CFrame = Root.CFrame * CFrame.new(1.2, 0.8, -2)
  327. meshs(efec, "Mesh", Vector3.new(3.2, 3.2, 3.2), Enum.MeshType.FileMesh, "11376946")
  328. local fire = Efect:Clone()
  329. fire.Parent = efec
  330. fire.Color = ColorSequence.new(BrickColor.new("Really black").Color)
  331. fire.Enabled = true
  332. local aa = create("BodyVelocity")({
  333. Parent = efec,
  334. MaxForce = Vector3.new(math.huge, math.huge, math.huge),
  335. Velocity = efec.CFrame.lookVector * 80
  336. })
  337. local aaa = create("BodyAngularVelocity")({
  338. Parent = efec,
  339. MaxTorque = Vector3.new(math.huge, math.huge, math.huge),
  340. AngularVelocity = Vector3.new(0, 7, 0)
  341. })
  342. game:GetService("Debris"):AddItem(efec, 5)
  343. local hon = efec.Touched:connect(function(hitt)
  344. if hitt.Parent.Name ~= chr.Name then
  345. Damage("Disappear", efec, hitt, 15)
  346. end
  347. end)
  348. for i = 0, 1, 0.4 do
  349. swait()
  350. RJ.C0 = clerp(RJ.C0, CFrame.new(5.39422035E-6, 0, 0.599998474, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
  351. Neck.C0 = clerp(Neck.C0, CFrame.new(-6.32202955E-7, 1.50000358, 8.72439887E-6, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
  352. RS.C0 = clerp(RS.C0, CFrame.new(0.311239719, 0.323183596, -0.962758541, 0.612372458, 0.707106829, -0.353553593, -0.500000238, 0, -0.866025388, -0.612372458, 0.707106829, 0.353553593) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
  353. LS.C0 = clerp(LS.C0, CFrame.new(-1.68166852, 0.110567018, -0.255912811, 0.926776588, 0.308681726, -0.21401155, -0.369599998, 0.85098207, -0.373129249, 0.0669417977, 0.424906135, 0.902758956) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
  354. if skilldoing == true or skilldoing2 == true then
  355. break
  356. end
  357. end
  358. end
  359. end
  360. for i = 0, 1, 0.15 do
  361. swait()
  362. RJ.C0 = clerp(RJ.C0, CFrame.new(5.39422035E-6, 0, 0.599998474, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
  363. Neck.C0 = clerp(Neck.C0, CFrame.new(-6.32202955E-7, 1.50000358, 8.72439887E-6, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
  364. RS.C0 = clerp(RS.C0, CFrame.new(0.311239719, 0.323183596, -0.962758541, 0.612372458, 0.707106829, -0.353553593, -0.500000238, 0, -0.866025388, -0.612372458, 0.707106829, 0.353553593) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
  365. LS.C0 = clerp(LS.C0, CFrame.new(-1.68166852, 0.110567018, -0.255912811, 0.926776588, 0.308681726, -0.21401155, -0.369599998, 0.85098207, -0.373129249, 0.0669417977, 0.424906135, 0.902758956) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
  366. if skilldoing == true or skilldoing2 == true then
  367. break
  368. end
  369. end
  370. else
  371. for i = 0, 1, 0.3 do
  372. swait()
  373. RJ.C0 = clerp(RJ.C0, CFrame.new(5.39479697E-6, 0, -5.39479697E-6, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  374. Neck.C0 = clerp(Neck.C0, CFrame.new(-8.72439887E-6, 1.50000358, -6.32202955E-7, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  375. RS.C0 = clerp(RS.C0, CFrame.new(1.60169411, 0.263376445, -1.02972603, 0.612372458, -0.707106829, -0.353553593, -0.500000238, 0, -0.866025388, 0.612372458, 0.707106829, -0.353553593) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  376. LS.C0 = clerp(LS.C0, CFrame.new(-1.6232332, 0.186604798, -3.19772289E-6, 0.866025507, 0.5, 2.68220901E-7, -0.5, 0.866025448, -9.89961904E-7, -7.15255737E-7, 7.00354576E-7, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  377. if skilldoing == true or skilldoing2 == true then
  378. break
  379. end
  380. end
  381. sounds(Root, "rbxassetid://173979241", 1.2, 1)
  382. for i = -15, 15, 15 do
  383. do
  384. local efec = parts(e, "hit", Vector3.new(1.4, 0.2, 1.4), "Really black", Enum.Material.Neon, 0, 0)
  385. efec.CFrame = Root.CFrame * CFrame.new(1.2, 0.8, -2) * CFrame.Angles(0, math.rad(i), 0)
  386. meshs(efec, "Mesh", Vector3.new(3.2, 3.2, 3.2), Enum.MeshType.FileMesh, "11376946")
  387. local fire = Efect:Clone()
  388. fire.Parent = efec
  389. fire.Color = ColorSequence.new(BrickColor.new("Really black").Color)
  390. fire.Enabled = true
  391. local aa = create("BodyVelocity")({
  392. Parent = efec,
  393. MaxForce = Vector3.new(math.huge, math.huge, math.huge),
  394. Velocity = efec.CFrame.lookVector * 80
  395. })
  396. local aaa = create("BodyAngularVelocity")({
  397. Parent = efec,
  398. MaxTorque = Vector3.new(math.huge, math.huge, math.huge),
  399. AngularVelocity = Vector3.new(0, 7, 0)
  400. })
  401. game:GetService("Debris"):AddItem(efec, 5)
  402. local hon = efec.Touched:connect(function(hitt)
  403. if hitt.Parent.Name ~= chr.Name then
  404. Damage("Disappear", efec, hitt, 15)
  405. end
  406. end)
  407. end
  408. end
  409. for i = 0, 1, 0.15 do
  410. swait()
  411. RJ.C0 = clerp(RJ.C0, CFrame.new(5.39422035E-6, 0, 0.599998474, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
  412. Neck.C0 = clerp(Neck.C0, CFrame.new(-6.32202955E-7, 1.50000358, 8.72439887E-6, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
  413. RS.C0 = clerp(RS.C0, CFrame.new(0.311239719, 0.323183596, -0.962758541, 0.612372458, 0.707106829, -0.353553593, -0.500000238, 0, -0.866025388, -0.612372458, 0.707106829, 0.353553593) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
  414. LS.C0 = clerp(LS.C0, CFrame.new(-1.68166852, 0.110567018, -0.255912811, 0.926776588, 0.308681726, -0.21401155, -0.369599998, 0.85098207, -0.373129249, 0.0669417977, 0.424906135, 0.902758956) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
  415. if skilldoing == true or skilldoing2 == true then
  416. break
  417. end
  418. end
  419. end
  420. attack = false
  421. end
  422. function Kunai()
  423. if skilldoing == true then
  424. return
  425. end
  426. skilldoing = true
  427. sounds(Root, "rbxasset://sounds/swordslash.wav", 1.2, 1)
  428. for i = 0, 1, 0.25 do
  429. swait()
  430. Torso.Velocity = Root.CFrame.lookVector * 140
  431. RJ.C0 = clerp(RJ.C0, CFrame.new(0, 0, 0, 0.866025388, 0, 0.500000238, 2.13162821E-14, 1.00000286, 1.19782726E-8, -0.500001669, 0, 0.866028011) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
  432. Neck.C0 = clerp(Neck.C0, CFrame.new(-5.96048153E-8, 1.49998045, 1.21205701E-7, 0.866025388, 2.13162821E-14, -0.500001669, 0, 1.00000286, 0, 0.500000238, 1.19782726E-8, 0.866028011) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
  433. RS.C0 = clerp(RS.C0, CFrame.new(1.60606456, 0.0366053469, -0.131955534, 0.482963264, -0.83651793, 0.25881651, 0.866028428, 0.500000834, -8.67884296E-7, -0.129408836, 0.224144787, 0.965928316) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
  434. LS.C0 = clerp(LS.C0, CFrame.new(-1.71560395, 0.0669845939, -0.161288857, 0.258820772, 0.836516619, 0.482963234, -3.04645908E-9, 0.50000155, -0.866028011, -0.965928495, 0.224143565, 0.129409388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
  435. if attack == true or skilldoing2 == true then
  436. break
  437. end
  438. end
  439. for i = 0, 1, 0.07 do
  440. swait()
  441. Mdamage("None", N21, 4, 55)
  442. RJ.C0 = clerp(RJ.C0, CFrame.new(-0.0203323364, -0.0963098034, -1.39782917, 0.500000119, -1.34110465E-7, -0.866025388, 0.22414431, 0.965927184, 0.129409656, 0.836517394, -0.258819491, 0.482963771) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  443. Neck.C0 = clerp(Neck.C0, CFrame.new(-0.00815251563, 1.49997628, -0.0281848833, 0.500000119, 4.91738319E-7, 0.866025388, -1.34110465E-7, 1.00000012, -4.76837158E-7, -0.866025388, 1.11758709E-7, 0.500000238) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  444. RS.C0 = clerp(RS.C0, CFrame.new(1.93907893, 0.436611146, -0.555155039, 2.68220901E-7, -0.866025746, 0.499999553, 1, 2.23517418E-7, -1.1920929E-7, -1.49011612E-8, 0.499999613, 0.866025746) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  445. LS.C0 = clerp(LS.C0, CFrame.new(-1.12217736, 0.466988266, -0.830502391, 1.96695328E-6, -0.258817494, 0.96592623, 1, -4.54485416E-7, -2.16066837E-6, 9.68575478E-7, 0.965926409, 0.258817494) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  446. if attack == true or skilldoing2 == true then
  447. break
  448. end
  449. end
  450. skilldoing = false
  451. end
  452. function Lightning_Shuriken()
  453. if skilldoing2 == true then
  454. return
  455. end
  456. skilldoing2 = true
  457. local ref = parts(m, "ref", Vector3.new(5, 0.200000003, 5), "Toothpaste", Enum.Material.Plastic, 0, 0)
  458. local refWeld = welds(ref, "refWeld", RArm, ref, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.48865318, 0.0169677734, 2.57646179, -5.13309264E-4, -0.706745803, 0.707473516, 1.00000846, -6.78976241E-4, 4.72805768E-5, 4.46942693E-4, 0.707479417, 0.706740022))
  459. meshs(ref, "Mesh", Vector3.new(12, 3, 12), Enum.MeshType.FileMesh, "11376946")
  460. for i = 0, 1, 0.034 do
  461. swait()
  462. RJ.C0 = clerp(RJ.C0, CFrame.new(6.64666277E-6, 0, -1.00668276E-5, 0.258818984, 0, 0.965925872, 0, 1, 0, -0.965925872, 0, 0.258818984) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.15)
  463. Neck.C0 = clerp(Neck.C0, CFrame.new(-1.0692761E-5, 1.5000031, -3.05878189E-6, 0.258818984, 0, -0.965925872, 0, 1, 0, 0.965925872, 0, 0.258818984) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.15)
  464. RS.C0 = clerp(RS.C0, CFrame.new(0.656109691, 0.499978065, -1.00995207, 0, 0.707107008, 0.707106769, 1, 0, 0, 0, 0.707106769, -0.707107008) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.15)
  465. LS.C0 = clerp(LS.C0, CFrame.new(-1.57073712, 0.122477025, 7.45061016E-6, 0.965925932, 0.258818954, -1.49011612E-7, -0.258818954, 0.965925813, -6.80347227E-7, -1.49011612E-8, 7.00354576E-7, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.15)
  466. if attack == true or skilldoing == true then
  467. break
  468. end
  469. end
  470. for i = 0, 1, 0.4 do
  471. swait()
  472. RJ.C0 = clerp(RJ.C0, CFrame.new(0.0368113965, 0, -1.1551051572, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  473. Neck.C0 = clerp(Neck.C0, CFrame.new(-0.0649897754, 1.5000031, -0.0129353739, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  474. RS.C0 = clerp(RS.C0, CFrame.new(1.89369929, 0.499978065, -0.535830021, 0, -0.866024494, 0.500001788, 1, 0, 0, 0, 0.500001788, 0.866024494) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  475. LS.C0 = clerp(LS.C0, CFrame.new(-1.61982954, 0.0547468066, -0.438916326, 0.965925813, 0.250000268, -0.0669871271, -0.25000006, 0.834233463, -0.491482019, -0.0669877529, 0.49148193, 0.86830771) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  476. if attack == true or skilldoing == true then
  477. break
  478. end
  479. end
  480. sounds(Root, "rbxassetid://173979241", 1.2, 1)
  481. refWeld:Remove()
  482. ref.CFrame = Root.CFrame * CFrame.new(0, 0.8, -2)
  483. local fire = Efect:Clone()
  484. fire.Parent = ref
  485. fire.Color = ColorSequence.new(BrickColor.new("Toothpaste").Color)
  486. fire.Enabled = true
  487. local aa = create("BodyVelocity")({
  488. Parent = ref,
  489. MaxForce = Vector3.new(math.huge, math.huge, math.huge),
  490. Velocity = ref.CFrame.lookVector * 65
  491. })
  492. local aaa = create("BodyAngularVelocity")({
  493. Parent = ref,
  494. MaxTorque = Vector3.new(math.huge, math.huge, math.huge),
  495. AngularVelocity = Vector3.new(0, -12, 0)
  496. })
  497. game:GetService("Debris"):AddItem(ref, 5)
  498. local hon = ref.Touched:connect(function(hitt)
  499. if hitt.Parent.Name ~= chr.Name then
  500. Damage("None2", ref, hitt, 10)
  501. end
  502. end)
  503. for i = 0, 1, 0.08 do
  504. swait()
  505. RJ.C0 = clerp(RJ.C0, CFrame.new(0.0368113965, 0, -1.1551051572, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  506. Neck.C0 = clerp(Neck.C0, CFrame.new(-0.0649897754, 1.5000031, -0.0129353739, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  507. RS.C0 = clerp(RS.C0, CFrame.new(1.89369929, 0.499978065, -0.535830021, 0, -0.866024494, 0.500001788, 1, 0, 0, 0, 0.500001788, 0.866024494) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  508. LS.C0 = clerp(LS.C0, CFrame.new(-1.61982954, 0.0547468066, -0.438916326, 0.965925813, 0.250000268, -0.0669871271, -0.25000006, 0.834233463, -0.491482019, -0.0669877529, 0.49148193, 0.86830771) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  509. if attack == true or skilldoing == true then
  510. break
  511. end
  512. end
  513. skilldoing2 = false
  514. end
  515. function ShurikenC()
  516. if attack2 == true then
  517. return
  518. end
  519. attack2 = true
  520. if cc == 1 then
  521. for i = 1, 3 do
  522. for i = 0, 1, 0.4 do
  523. swait()
  524. RJ2.C0 = clerp(RJ2.C0, CFrame.new(5.39479697E-6, 0, -5.39479697E-6, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  525. Neck2.C0 = clerp(Neck2.C0, CFrame.new(-8.72439887E-6, 1.50000358, -6.32202955E-7, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  526. RS2.C0 = clerp(RS2.C0, CFrame.new(1.60169411, 0.263376445, -1.02972603, 0.612372458, -0.707106829, -0.353553593, -0.500000238, 0, -0.866025388, 0.612372458, 0.707106829, -0.353553593) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  527. LS2.C0 = clerp(LS2.C0, CFrame.new(-1.6232332, 0.186604798, -3.19772289E-6, 0.866025507, 0.5, 2.68220901E-7, -0.5, 0.866025448, -9.89961904E-7, -7.15255737E-7, 7.00354576E-7, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  528. if skilldoing4 == true or skilldoing5 == true or 1 > hum2.Health then
  529. break
  530. end
  531. end
  532. sounds(Root2, "rbxassetid://173979241", 1.2, 1)
  533. do
  534. local efec = parts(e, "hit", Vector3.new(1.4, 0.2, 1.4), "Really black", Enum.Material.Neon, 0, 0)
  535. efec.CFrame = Root2.CFrame * CFrame.new(1.2, 0.8, -2)
  536. meshs(efec, "Mesh", Vector3.new(3.2, 3.2, 3.2), Enum.MeshType.FileMesh, "11376946")
  537. local fire = Efect:Clone()
  538. fire.Parent = efec
  539. fire.Color = ColorSequence.new(BrickColor.new("Really black").Color)
  540. fire.Enabled = true
  541. local aa = create("BodyVelocity")({
  542. Parent = efec,
  543. MaxForce = Vector3.new(math.huge, math.huge, math.huge),
  544. Velocity = efec.CFrame.lookVector * 80
  545. })
  546. local aaa = create("BodyAngularVelocity")({
  547. Parent = efec,
  548. MaxTorque = Vector3.new(math.huge, math.huge, math.huge),
  549. AngularVelocity = Vector3.new(0, 7, 0)
  550. })
  551. game:GetService("Debris"):AddItem(efec, 5)
  552. local hon = efec.Touched:connect(function(hitt)
  553. if hitt.Parent.Name ~= chr.Name then
  554. Damage("Disappear", efec, hitt, 15)
  555. end
  556. end)
  557. for i = 0, 1, 0.4 do
  558. swait()
  559. RJ2.C0 = clerp(RJ2.C0, CFrame.new(5.39422035E-6, 0, 0.599998474, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
  560. Neck2.C0 = clerp(Neck2.C0, CFrame.new(-6.32202955E-7, 1.50000358, 8.72439887E-6, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
  561. RS2.C0 = clerp(RS2.C0, CFrame.new(0.311239719, 0.323183596, -0.962758541, 0.612372458, 0.707106829, -0.353553593, -0.500000238, 0, -0.866025388, -0.612372458, 0.707106829, 0.353553593) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
  562. LS2.C0 = clerp(LS2.C0, CFrame.new(-1.68166852, 0.110567018, -0.255912811, 0.926776588, 0.308681726, -0.21401155, -0.369599998, 0.85098207, -0.373129249, 0.0669417977, 0.424906135, 0.902758956) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
  563. if skilldoing5 == true or skilldoing4 == true or 1 > hum2.Health then
  564. break
  565. end
  566. end
  567. end
  568. end
  569. for i = 0, 1, 0.15 do
  570. swait()
  571. RJ2.C0 = clerp(RJ2.C0, CFrame.new(5.39422035E-6, 0, 0.599998474, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
  572. Neck2.C0 = clerp(Neck2.C0, CFrame.new(-6.32202955E-7, 1.50000358, 8.72439887E-6, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
  573. RS2.C0 = clerp(RS2.C0, CFrame.new(0.311239719, 0.323183596, -0.962758541, 0.612372458, 0.707106829, -0.353553593, -0.500000238, 0, -0.866025388, -0.612372458, 0.707106829, 0.353553593) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
  574. LS2.C0 = clerp(LS2.C0, CFrame.new(-1.68166852, 0.110567018, -0.255912811, 0.926776588, 0.308681726, -0.21401155, -0.369599998, 0.85098207, -0.373129249, 0.0669417977, 0.424906135, 0.902758956) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
  575. if skilldoing5 == true or skilldoing4 == true or 1 > hum2.Health then
  576. break
  577. end
  578. end
  579. else
  580. for i = 0, 1, 0.3 do
  581. swait()
  582. RJ2.C0 = clerp(RJ2.C0, CFrame.new(5.39479697E-6, 0, -5.39479697E-6, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  583. Neck2.C0 = clerp(Neck2.C0, CFrame.new(-8.72439887E-6, 1.50000358, -6.32202955E-7, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  584. RS2.C0 = clerp(RS2.C0, CFrame.new(1.60169411, 0.263376445, -1.02972603, 0.612372458, -0.707106829, -0.353553593, -0.500000238, 0, -0.866025388, 0.612372458, 0.707106829, -0.353553593) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  585. LS2.C0 = clerp(LS2.C0, CFrame.new(-1.6232332, 0.186604798, -3.19772289E-6, 0.866025507, 0.5, 2.68220901E-7, -0.5, 0.866025448, -9.89961904E-7, -7.15255737E-7, 7.00354576E-7, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  586. if skilldoing5 == true or skilldoing4 == true or 1 > hum2.Health then
  587. break
  588. end
  589. end
  590. sounds(Root2, "rbxassetid://173979241", 1.2, 1)
  591. for i = -15, 15, 15 do
  592. do
  593. local efec = parts(e, "hit", Vector3.new(1.4, 0.2, 1.4), "Really black", Enum.Material.Neon, 0, 0)
  594. efec.CFrame = Root2.CFrame * CFrame.new(1.2, 0.8, -2) * CFrame.Angles(0, math.rad(i), 0)
  595. meshs(efec, "Mesh", Vector3.new(3.2, 3.2, 3.2), Enum.MeshType.FileMesh, "11376946")
  596. local fire = Efect:Clone()
  597. fire.Parent = efec
  598. fire.Color = ColorSequence.new(BrickColor.new("Really black").Color)
  599. fire.Enabled = true
  600. local aa = create("BodyVelocity")({
  601. Parent = efec,
  602. MaxForce = Vector3.new(math.huge, math.huge, math.huge),
  603. Velocity = efec.CFrame.lookVector * 80
  604. })
  605. local aaa = create("BodyAngularVelocity")({
  606. Parent = efec,
  607. MaxTorque = Vector3.new(math.huge, math.huge, math.huge),
  608. AngularVelocity = Vector3.new(0, 7, 0)
  609. })
  610. game:GetService("Debris"):AddItem(efec, 5)
  611. local hon = efec.Touched:connect(function(hitt)
  612. if hitt.Parent.Name ~= chr.Name then
  613. Damage("Disappear", efec, hitt, 15)
  614. end
  615. end)
  616. end
  617. end
  618. for i = 0, 1, 0.15 do
  619. swait()
  620. RJ2.C0 = clerp(RJ2.C0, CFrame.new(5.39422035E-6, 0, 0.599998474, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
  621. Neck2.C0 = clerp(Neck2.C0, CFrame.new(-6.32202955E-7, 1.50000358, 8.72439887E-6, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
  622. RS2.C0 = clerp(RS2.C0, CFrame.new(0.311239719, 0.323183596, -0.962758541, 0.612372458, 0.707106829, -0.353553593, -0.500000238, 0, -0.866025388, -0.612372458, 0.707106829, 0.353553593) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
  623. LS2.C0 = clerp(LS2.C0, CFrame.new(-1.68166852, 0.110567018, -0.255912811, 0.926776588, 0.308681726, -0.21401155, -0.369599998, 0.85098207, -0.373129249, 0.0669417977, 0.424906135, 0.902758956) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
  624. if skilldoing5 == true or skilldoing4 == true or 1 > hum2.Health then
  625. break
  626. end
  627. end
  628. end
  629. attack2 = false
  630. end
  631. function KunaiC()
  632. if skilldoing5 == true then
  633. return
  634. end
  635. skilldoing5 = true
  636. sounds(Root2, "rbxasset://sounds/swordslash.wav", 1.2, 1)
  637. for i = 0, 1, 0.25 do
  638. swait()
  639. Torso2.Velocity = Root2.CFrame.lookVector * 140
  640. RJ2.C0 = clerp(RJ2.C0, CFrame.new(0, 0, 0, 0.866025388, 0, 0.500000238, 2.13162821E-14, 1.00000286, 1.19782726E-8, -0.500001669, 0, 0.866028011) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
  641. Neck2.C0 = clerp(Neck2.C0, CFrame.new(-5.96048153E-8, 1.49998045, 1.21205701E-7, 0.866025388, 2.13162821E-14, -0.500001669, 0, 1.00000286, 0, 0.500000238, 1.19782726E-8, 0.866028011) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
  642. RS2.C0 = clerp(RS2.C0, CFrame.new(1.60606456, 0.0366053469, -0.131955534, 0.482963264, -0.83651793, 0.25881651, 0.866028428, 0.500000834, -8.67884296E-7, -0.129408836, 0.224144787, 0.965928316) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
  643. LS2.C0 = clerp(LS2.C0, CFrame.new(-1.71560395, 0.0669845939, -0.161288857, 0.258820772, 0.836516619, 0.482963234, -3.04645908E-9, 0.50000155, -0.866028011, -0.965928495, 0.224143565, 0.129409388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
  644. if attack2 == true or skilldoing4 == true or 1 > hum2.Health then
  645. break
  646. end
  647. end
  648. for i = 0, 1, 0.07 do
  649. swait()
  650. Mdamage("None", N22, 4, 55)
  651. RJ2.C0 = clerp(RJ2.C0, CFrame.new(-0.0203323364, -0.0963098034, -1.39782917, 0.500000119, -1.34110465E-7, -0.866025388, 0.22414431, 0.965927184, 0.129409656, 0.836517394, -0.258819491, 0.482963771) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  652. Neck2.C0 = clerp(Neck2.C0, CFrame.new(-0.00815251563, 1.49997628, -0.0281848833, 0.500000119, 4.91738319E-7, 0.866025388, -1.34110465E-7, 1.00000012, -4.76837158E-7, -0.866025388, 1.11758709E-7, 0.500000238) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  653. RS2.C0 = clerp(RS2.C0, CFrame.new(1.93907893, 0.436611146, -0.555155039, 2.68220901E-7, -0.866025746, 0.499999553, 1, 2.23517418E-7, -1.1920929E-7, -1.49011612E-8, 0.499999613, 0.866025746) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  654. LS2.C0 = clerp(LS2.C0, CFrame.new(-1.12217736, 0.466988266, -0.830502391, 1.96695328E-6, -0.258817494, 0.96592623, 1, -4.54485416E-7, -2.16066837E-6, 9.68575478E-7, 0.965926409, 0.258817494) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  655. if attack2 == true or skilldoing4 == true or 1 > hum2.Health then
  656. break
  657. end
  658. end
  659. skilldoing5 = false
  660. end
  661. function Lightning_ShurikenC()
  662. if skilldoing4 == true then
  663. return
  664. end
  665. skilldoing4 = true
  666. local ref = parts(m, "ref", Vector3.new(5, 0.200000003, 5), "Toothpaste", Enum.Material.Plastic, 0, 0)
  667. local refWeld = welds(ref, "refWeld", RArm2, ref, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.48865318, 0.0169677734, 2.57646179, -5.13309264E-4, -0.706745803, 0.707473516, 1.00000846, -6.78976241E-4, 4.72805768E-5, 4.46942693E-4, 0.707479417, 0.706740022))
  668. meshs(ref, "Mesh", Vector3.new(12, 3, 12), Enum.MeshType.FileMesh, "11376946")
  669. for i = 0, 1, 0.034 do
  670. swait()
  671. RJ2.C0 = clerp(RJ2.C0, CFrame.new(6.64666277E-6, 0, -1.00668276E-5, 0.258818984, 0, 0.965925872, 0, 1, 0, -0.965925872, 0, 0.258818984) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.15)
  672. Neck2.C0 = clerp(Neck2.C0, CFrame.new(-1.0692761E-5, 1.5000031, -3.05878189E-6, 0.258818984, 0, -0.965925872, 0, 1, 0, 0.965925872, 0, 0.258818984) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.15)
  673. RS2.C0 = clerp(RS2.C0, CFrame.new(0.656109691, 0.499978065, -1.00995207, 0, 0.707107008, 0.707106769, 1, 0, 0, 0, 0.707106769, -0.707107008) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.15)
  674. LS2.C0 = clerp(LS2.C0, CFrame.new(-1.57073712, 0.122477025, 7.45061016E-6, 0.965925932, 0.258818954, -1.49011612E-7, -0.258818954, 0.965925813, -6.80347227E-7, -1.49011612E-8, 7.00354576E-7, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.15)
  675. if attack2 == true or skilldoing5 == true or 1 > hum2.Health then
  676. break
  677. end
  678. end
  679. for i = 0, 1, 0.4 do
  680. swait()
  681. RJ2.C0 = clerp(RJ2.C0, CFrame.new(0.0368113965, 0, -1.1551051572, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  682. Neck2.C0 = clerp(Neck2.C0, CFrame.new(-0.0649897754, 1.5000031, -0.0129353739, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  683. RS2.C0 = clerp(RS2.C0, CFrame.new(1.89369929, 0.499978065, -0.535830021, 0, -0.866024494, 0.500001788, 1, 0, 0, 0, 0.500001788, 0.866024494) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  684. LS2.C0 = clerp(LS2.C0, CFrame.new(-1.61982954, 0.0547468066, -0.438916326, 0.965925813, 0.250000268, -0.0669871271, -0.25000006, 0.834233463, -0.491482019, -0.0669877529, 0.49148193, 0.86830771) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  685. if attack2 == true or skilldoing5 == true or 1 > hum2.Health then
  686. break
  687. end
  688. end
  689. sounds(Root2, "rbxassetid://173979241", 1.2, 1)
  690. refWeld:Remove()
  691. ref.CFrame = Root2.CFrame * CFrame.new(0, 0.8, -2)
  692. local fire = Efect:Clone()
  693. fire.Parent = ref
  694. fire.Color = ColorSequence.new(BrickColor.new("Toothpaste").Color)
  695. fire.Enabled = true
  696. local aa = create("BodyVelocity")({
  697. Parent = ref,
  698. MaxForce = Vector3.new(math.huge, math.huge, math.huge),
  699. Velocity = ref.CFrame.lookVector * 65
  700. })
  701. local aaa = create("BodyAngularVelocity")({
  702. Parent = ref,
  703. MaxTorque = Vector3.new(math.huge, math.huge, math.huge),
  704. AngularVelocity = Vector3.new(0, -12, 0)
  705. })
  706. game:GetService("Debris"):AddItem(ref, 5)
  707. local hon = ref.Touched:connect(function(hitt)
  708. if hitt.Parent.Name ~= chr.Name then
  709. Damage("None2", ref, hitt, 10)
  710. end
  711. end)
  712. for i = 0, 1, 0.08 do
  713. swait()
  714. RJ2.C0 = clerp(RJ2.C0, CFrame.new(0.0368113965, 0, -1.1551051572, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  715. Neck2.C0 = clerp(Neck2.C0, CFrame.new(-0.0649897754, 1.5000031, -0.0129353739, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  716. RS2.C0 = clerp(RS2.C0, CFrame.new(1.89369929, 0.499978065, -0.535830021, 0, -0.866024494, 0.500001788, 1, 0, 0, 0, 0.500001788, 0.866024494) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  717. LS2.C0 = clerp(LS2.C0, CFrame.new(-1.61982954, 0.0547468066, -0.438916326, 0.965925813, 0.250000268, -0.0669871271, -0.25000006, 0.834233463, -0.491482019, -0.0669877529, 0.49148193, 0.86830771) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  718. if attack2 == true or skilldoing5 == true or 1 > hum2.Health then
  719. break
  720. end
  721. end
  722. skilldoing4 = false
  723. end
  724. aaaa = nil
  725. function weeb()
  726. skilldoing3 = true
  727. for i = 0, 1, 0.12 do
  728. swait()
  729. RJ.C0 = clerp(RJ.C0, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  730. Neck.C0 = clerp(Neck.C0, CFrame.new(0, 1.50000262, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  731. RS.C0 = clerp(RS.C0, CFrame.new(1.83661962, 0.499978065, -0.48303616, 0, -0.866025388, 0.500000238, 1, 0, 0, 0, 0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  732. LS.C0 = clerp(LS.C0, CFrame.new(-1.83663654, 0.5, -0.483010679, 0, 0.866025388, -0.500000238, -1, 0, 0, 0, 0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  733. end
  734. for i = 0, 1, 0.1 do
  735. swait()
  736. RJ.C0 = clerp(RJ.C0, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  737. Neck.C0 = clerp(Neck.C0, CFrame.new(0, 1.50000262, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  738. RS.C0 = clerp(RS.C0, CFrame.new(0.678798556, 0.317686826, -0.833746672, -0.183012947, 0.842752099, 0.506236255, 0.965925753, 0.250000358, -0.0669873282, -0.183012947, 0.476727068, -0.859789252) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  739. LS.C0 = clerp(LS.C0, CFrame.new(-0.574818015, 0.620926201, -0.745570123, 0.224143937, -0.678603172, -0.699469328, -0.965925753, -0.250000387, -0.0669870302, -0.129409969, 0.690650165, -0.71151638) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
  740. end
  741. chr.Archivable = true
  742. clone = chr:Clone()
  743. clone.Parent = workspace
  744. swait()
  745. clone.Parent = chr
  746. Head2 = clone.Head
  747. Root2 = clone.HumanoidRootPart
  748. Torso2 = clone.Torso
  749. Root2.CFrame = Root.CFrame * CFrame.new(0, 0, -3)
  750. RArm2 = clone["Right Arm"]
  751. LArm2 = clone["Left Arm"]
  752. RLeg2 = clone["Right Leg"]
  753. LLeg2 = clone["Left Leg"]
  754. clone.Sound:Remove()
  755. for _, v in pairs(clone:children()) do
  756. if v:IsA("Part") and v.Name == "Torso" then
  757. for _, vs in pairs(v:children()) do
  758. if vs:IsA("Motor6D") or vs:IsA("Motor") then
  759. vs:Remove()
  760. end
  761. end
  762. else
  763. for _, vs in pairs(v:children()) do
  764. if vs:IsA("Sound") then
  765. vs:Remove()
  766. end
  767. end
  768. end
  769. end
  770. hum2 = clone:findFirstChildOfClass("Humanoid")
  771. N22 = clone.Suit.N21
  772. RJ2 = newMotor(Root2, Torso2, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  773. Neck2 = newMotor(Torso2, Head2, CFrame.new(0, 1.5, 0), CFrame.new(0, 0, 0))
  774. RS2 = newMotor(Torso2, RArm2, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  775. LS2 = newMotor(Torso2, LArm2, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  776. RH2 = newMotor(Torso2, RLeg2, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
  777. LH2 = newMotor(Torso2, LLeg2, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
  778. aaaa = clone
  779. swait()
  780. effect(e, Torso.BrickColor, Root2.CFrame, 40, 40, 40, 1.5, 1.5, 1.5, 0.06, "Sphere", 2)
  781. sounds(Root2, "rbxassetid://944087788", 1.2, 1)
  782. clonez = true
  783. skilldoing3 = false
  784. end
  785. mouse.Button1Down:connect(function()
  786. if attack == false then
  787. coroutine.resume(coroutine.create(function()
  788. Shuriken()
  789. end))
  790. if clonez == true then
  791. ShurikenC()
  792. end
  793. end
  794. end)
  795. mouse.KeyDown:connect(function(k)
  796. k = k:lower()
  797. if k == "z" and skilldoing == false then
  798. coroutine.resume(coroutine.create(function()
  799. Kunai()
  800. end))
  801. if clonez == true then
  802. KunaiC()
  803. end
  804. elseif k == "x" and skilldoing2 == false then
  805. coroutine.resume(coroutine.create(function()
  806. Lightning_Shuriken()
  807. end))
  808. if clonez == true then
  809. Lightning_ShurikenC()
  810. end
  811. elseif k == "c" and cc == 1 then
  812. cc = 2
  813. print("wide")
  814. elseif k == "c" and cc == 2 then
  815. cc = 1
  816. print("straight")
  817. elseif k == "n" and clonez == false then
  818. weeb()
  819. elseif k == " " and (Pose == "Jump" or Pose == "Fall") then
  820. sounds(Root, "rbxassetid://322364178", 0.7, 1)
  821. Torso.Velocity = Root.CFrame.lookVector * hum.WalkSpeed + Vector3.new(0, 1, 0) * 70
  822. if clonez == true then
  823. sounds(Root2, "rbxassetid://322364178", 0.7, 1)
  824. Torso2.Velocity = Root2.CFrame.lookVector * hum2.WalkSpeed + Vector3.new(0, 1, 0) * 70
  825. end
  826. end
  827. if k == " " and clonez == true then
  828. hum2.Jump = true
  829. end
  830. end)
  831. Pose2 = "Idle"
  832. coroutine.resume(coroutine.create(function()
  833. while true do
  834. swait()
  835. if clonez == true and aaaa ~= nil and hum2.Health < 1 then
  836. game:GetService("Debris"):AddItem(clone, 5)
  837. swait(2)
  838. Head2, Root2, RArm2, LArm2, RLeg2, LLeg2 = nil, nil, nil, nil, nil, nil
  839. aaaa = nil
  840. clonez = false
  841. end
  842. if clonez == true and aaaa ~= nil then
  843. hum2.WalkSpeed = 35
  844. local torvel = (Root2.Velocity * Vector3.new(1, 0, 1)).magnitude
  845. local velderp = Root2.Velocity.y
  846. hitfloor, posfloor = rayCast(Root2.Position, CFrame.new(Root2.Position, Root2.Position - Vector3.new(0, 1, 0)).lookVector, 4, chr)
  847. if 1 < Root2.Velocity.y and hitfloor == nil then
  848. Pose2 = "Jump"
  849. if attack2 == false and skilldoing5 == false and skilldoing4 == false then
  850. RJ2.C0 = clerp(RJ2.C0, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  851. Neck2.C0 = clerp(Neck2.C0, CFrame.new(0, 1.49998474, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  852. RS2.C0 = clerp(RS2.C0, CFrame.new(1.70980763, 0.236601114, 0, 0.866025388, -0.500000238, 0, 0.500000238, 0.866025388, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  853. LS2.C0 = clerp(LS2.C0, CFrame.new(-1.70980763, 0.236601114, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  854. end
  855. RH2.C0 = clerp(RH2.C0, CFrame.new(0.5, -1.99998808, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  856. LH2.C0 = clerp(LH2.C0, CFrame.new(-0.5, -1.99998808, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  857. elseif Root2.Velocity.y < -1 and hitfloor == nil then
  858. Pose2 = "Fall"
  859. if attack2 == false and skilldoing5 == false and skilldoing4 == false then
  860. RJ2.C0 = clerp(RJ2.C0, CFrame.new(-0.034501072, 0, -0.0986937582, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  861. Neck2.C0 = clerp(Neck2.C0, CFrame.new(0.0941823646, 1.49998474, 0.0453972146, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  862. RS2.C0 = clerp(RS2.C0, CFrame.new(1.63909817, 0.114127249, -2.24583914E-7, 0.965925992, -0.258818954, 1.78813934E-7, 0.258818924, 0.965925932, -6.76490401E-7, 0, 7.15255737E-7, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  863. LS2.C0 = clerp(LS2.C0, CFrame.new(-1.63910222, 0.114126861, 2.24584937E-7, 0.965925992, 0.258818954, 1.78813934E-7, -0.258818924, 0.965925932, 6.76490401E-7, 0, -7.15255737E-7, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  864. end
  865. RH2.C0 = clerp(RH2.C0, CFrame.new(0.499996245, -1.99998808, -7.62939544E-6, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  866. LH2.C0 = clerp(LH2.C0, CFrame.new(-0.499994338, -1.19998801, -0.500003874, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  867. elseif torvel < 1 and hitfloor ~= nil then
  868. Pose2 = "Idle"
  869. if attack2 == false and skilldoing5 == false and skilldoing4 == false then
  870. RJ2.C0 = clerp(RJ2.C0, CFrame.new(0, -0.1, 0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388) * CFrame.new(0, 0 - 0.05 * math.cos(sin / 18), 0) * CFrame.Angles(0, 0, 0), 0.3)
  871. Neck2.C0 = clerp(Neck2.C0, CFrame.new(-9.53674771E-7, 1.49998951, -1.65181234E-6, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  872. RS2.C0 = clerp(RS2.C0, CFrame.new(1.67320299, 0.10000509, 3.71405895E-6, 0.866025567, -0.5, 8.94069672E-8, 0.49999994, 0.866025507, -2.49183756E-7, 5.96046448E-8, 2.5331974E-7, 1.00000012) * CFrame.new(0 - 0.05 * math.cos(sin / 18), 0, 0) * CFrame.Angles(0, 0, math.rad(0 - 8 * math.cos(sin / 18))), 0.3)
  873. LS2.C0 = clerp(LS2.C0, CFrame.new(-1.67320156, 0.0999999046, 1.0063988E-7, 0.866025567, 0.5, 8.94069672E-8, -0.49999994, 0.866025507, 2.50893436E-7, 5.96046448E-8, -2.5331974E-7, 1.00000012) * CFrame.new(0 + 0.05 * math.cos(sin / 18), 0, 0) * CFrame.Angles(0, 0, math.rad(0 + 8 * math.cos(sin / 18))), 0.3)
  874. end
  875. RH2.C0 = clerp(RH2.C0, CFrame.new(0.500003934, -1.89999309, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024) * CFrame.new(0, 0 + 0.05 * math.cos(sin / 18), 0) * CFrame.Angles(0, 0, 0), 0.3)
  876. LH2.C0 = clerp(LH2.C0, CFrame.new(-0.500000119, -1.89999309, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024) * CFrame.new(0, 0 + 0.05 * math.cos(sin / 18), 0) * CFrame.Angles(0, 0, 0), 0.3)
  877. elseif torvel > 2 and hitfloor ~= nil then
  878. Pose2 = "Walk"
  879. if attack2 == false and skilldoing5 == false and skilldoing4 == false then
  880. RJ2.C0 = clerp(RJ2.C0, CFrame.new(0, -0.0669884086 - 0.1 * math.cos(sin / 3), -0.249999404, 1, 0, 0, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0) + Root.RotVelocity.Y / 15, 0), 0.3)
  881. Neck2.C0 = clerp(Neck2.C0, CFrame.new(0, 1.47410548, 0.096591115, 1, 0, 0, 0, 0.965925872, -0.258819342, 0, 0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0 + Head.RotVelocity.Y / 25, 0), 0.3)
  882. RS2.C0 = clerp(RS2.C0, CFrame.new(1.50000083, -1.7881257E-7, -7.55374003E-7, 0.866024852, -0.500000954, -3.31524848E-6, 0.500000954, 0.866024971, -2.38418579E-7, 2.98023224E-6, -1.4603138E-6, 1.00000012) * CFrame.new(0.2, 0.1, 0 + 0.8 * math.cos(sin / 6)) * CFrame.Angles(math.rad(0 - 70 * math.cos(sin / 6)), 0, 0), 0.3)
  883. LS2.C0 = clerp(LS2.C0, CFrame.new(-1.5, 7.74863224E-7, -2.42472197E-7, 0.86602515, 0.500000536, -1.43179045E-6, -0.500000536, 0.866025209, 1.49011612E-6, 1.98185444E-6, -5.66244125E-7, 1.00000012) * CFrame.new(-0.2, 0.1, 0 - 0.8 * math.cos(sin / 6)) * CFrame.Angles(math.rad(0 + 70 * math.cos(sin / 6)), 0, 0), 0.3)
  884. end
  885. RH2.C0 = clerp(RH2.C0, CFrame.new(0.5, -1.99998903, 0, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) * CFrame.new(0, 0, 0 - 1 * math.cos(sin / 6)) * CFrame.Angles(math.rad(0 + 70 * math.cos(sin / 6)), 0, 0), 0.3)
  886. LH2.C0 = clerp(LH2.C0, CFrame.new(-0.5, -1.99998903, 0, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) * CFrame.new(0, 0, 0 + 1 * math.cos(sin / 6)) * CFrame.Angles(math.rad(0 - 70 * math.cos(sin / 6)), 0, 0), 0.3)
  887. end
  888. end
  889. end
  890. end))
  891. while chr.Humanoid.Health >= 0 do
  892. swait()
  893. sin = sin + cha
  894. hum.WalkSpeed = 35
  895. local torvel = (Root.Velocity * Vector3.new(1, 0, 1)).magnitude
  896. local velderp = Root.Velocity.y
  897. hitfloor, posfloor = rayCast(Root.Position, CFrame.new(Root.Position, Root.Position - Vector3.new(0, 1, 0)).lookVector, 4, chr)
  898. if Root.Velocity.y > 1 and hitfloor == nil then
  899. Pose = "Jump"
  900. if attack == false and skilldoing == false and skilldoing2 == false and skilldoing3 == false then
  901. RJ.C0 = clerp(RJ.C0, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  902. Neck.C0 = clerp(Neck.C0, CFrame.new(0, 1.49998474, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  903. RS.C0 = clerp(RS.C0, CFrame.new(1.70980763, 0.236601114, 0, 0.866025388, -0.500000238, 0, 0.500000238, 0.866025388, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  904. LS.C0 = clerp(LS.C0, CFrame.new(-1.70980763, 0.236601114, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  905. end
  906. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -1.99998808, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  907. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -1.99998808, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  908. elseif Root.Velocity.y < -1 and hitfloor == nil then
  909. Pose = "Fall"
  910. if attack == false and skilldoing == false and skilldoing2 == false and skilldoing3 == false then
  911. RJ.C0 = clerp(RJ.C0, CFrame.new(-0.034501072, 0, -0.0986937582, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  912. Neck.C0 = clerp(Neck.C0, CFrame.new(0.0941823646, 1.49998474, 0.0453972146, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  913. RS.C0 = clerp(RS.C0, CFrame.new(1.63909817, 0.114127249, -2.24583914E-7, 0.965925992, -0.258818954, 1.78813934E-7, 0.258818924, 0.965925932, -6.76490401E-7, 0, 7.15255737E-7, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  914. LS.C0 = clerp(LS.C0, CFrame.new(-1.63910222, 0.114126861, 2.24584937E-7, 0.965925992, 0.258818954, 1.78813934E-7, -0.258818924, 0.965925932, 6.76490401E-7, 0, -7.15255737E-7, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  915. end
  916. RH.C0 = clerp(RH.C0, CFrame.new(0.499996245, -1.99998808, -7.62939544E-6, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  917. LH.C0 = clerp(LH.C0, CFrame.new(-0.499994338, -1.19998801, -0.500003874, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  918. elseif torvel < 1 and hitfloor ~= nil then
  919. Pose = "Idle"
  920. if attack == false and skilldoing == false and skilldoing2 == false and skilldoing3 == false then
  921. RJ.C0 = clerp(RJ.C0, CFrame.new(0, -0.1, 0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388) * CFrame.new(0, 0 - 0.05 * math.cos(sin / 18), 0) * CFrame.Angles(0, 0, 0), 0.3)
  922. Neck.C0 = clerp(Neck.C0, CFrame.new(-9.53674771E-7, 1.49998951, -1.65181234E-6, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  923. RS.C0 = clerp(RS.C0, CFrame.new(1.67320299, 0.10000509, 3.71405895E-6, 0.866025567, -0.5, 8.94069672E-8, 0.49999994, 0.866025507, -2.49183756E-7, 5.96046448E-8, 2.5331974E-7, 1.00000012) * CFrame.new(0 - 0.05 * math.cos(sin / 18), 0, 0) * CFrame.Angles(0, 0, math.rad(0 - 8 * math.cos(sin / 18))), 0.3)
  924. LS.C0 = clerp(LS.C0, CFrame.new(-1.67320156, 0.0999999046, 1.0063988E-7, 0.866025567, 0.5, 8.94069672E-8, -0.49999994, 0.866025507, 2.50893436E-7, 5.96046448E-8, -2.5331974E-7, 1.00000012) * CFrame.new(0 + 0.05 * math.cos(sin / 18), 0, 0) * CFrame.Angles(0, 0, math.rad(0 + 8 * math.cos(sin / 18))), 0.3)
  925. end
  926. RH.C0 = clerp(RH.C0, CFrame.new(0.500003934, -1.89999309, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024) * CFrame.new(0, 0 + 0.05 * math.cos(sin / 18), 0) * CFrame.Angles(0, 0, 0), 0.3)
  927. LH.C0 = clerp(LH.C0, CFrame.new(-0.500000119, -1.89999309, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024) * CFrame.new(0, 0 + 0.05 * math.cos(sin / 18), 0) * CFrame.Angles(0, 0, 0), 0.3)
  928. elseif torvel > 2 and hitfloor ~= nil then
  929. Pose = "Walk"
  930. if attack == false and skilldoing == false and skilldoing2 == false and skilldoing3 == false then
  931. RJ.C0 = clerp(RJ.C0, CFrame.new(0, -0.0669884086 - 0.1 * math.cos(sin / 3), -0.249999404, 1, 0, 0, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0) + Root.RotVelocity.Y / 15, 0), 0.3)
  932. Neck.C0 = clerp(Neck.C0, CFrame.new(0, 1.47410548, 0.096591115, 1, 0, 0, 0, 0.965925872, -0.258819342, 0, 0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0 + Head.RotVelocity.Y / 25, 0), 0.3)
  933. RS.C0 = clerp(RS.C0, CFrame.new(1.50000083, -1.7881257E-7, -7.55374003E-7, 0.866024852, -0.500000954, -3.31524848E-6, 0.500000954, 0.866024971, -2.38418579E-7, 2.98023224E-6, -1.4603138E-6, 1.00000012) * CFrame.new(0.2, 0.1, 0 + 0.8 * math.cos(sin / 6)) * CFrame.Angles(math.rad(0 - 70 * math.cos(sin / 6)), 0, 0), 0.3)
  934. LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 7.74863224E-7, -2.42472197E-7, 0.86602515, 0.500000536, -1.43179045E-6, -0.500000536, 0.866025209, 1.49011612E-6, 1.98185444E-6, -5.66244125E-7, 1.00000012) * CFrame.new(-0.2, 0.1, 0 - 0.8 * math.cos(sin / 6)) * CFrame.Angles(math.rad(0 + 70 * math.cos(sin / 6)), 0, 0), 0.3)
  935. end
  936. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -1.99998903, 0, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) * CFrame.new(0, 0, 0 - 1 * math.cos(sin / 6)) * CFrame.Angles(math.rad(0 + 70 * math.cos(sin / 6)), 0, 0), 0.3)
  937. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -1.99998903, 0, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) * CFrame.new(0, 0, 0 + 1 * math.cos(sin / 6)) * CFrame.Angles(math.rad(0 - 70 * math.cos(sin / 6)), 0, 0), 0.3)
  938. end
  939. if clonez == true then
  940. hum2:MoveTo(Torso.Position + Vector3.new(0, 0, 5))
  941. end
  942. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement