Advertisement
memberhero

Spearman FE

Aug 20th, 2018
655
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --[[Salvo_Starly[Salvy].Weaponry_2018.2]]--
  2. --[[Project Name: Spearman from Critical Strike]]--
  3. --[[ukznhf]]--
  4. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility by WaverlyCole");InternalData = {}InternalData.RealOwner = owner;InternalData.Version = "v1.0.0"
  5. do
  6. script.Parent = InternalData.RealOwner.Character
  7. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  8. local function createObject (connections, index)
  9. local proxy = newproxy (true);local meta = getmetatable (proxy);
  10. local runbind = function (self, i, ...) connections[i]:Fire (...); end;
  11. while (#connections > 0) do connections [table.remove (connections, 1)] = Instance.new ('BindableEvent');end;
  12. meta.__index = function (self, i)
  13. if (i == 'TriggerEvent') then return runbind end;
  14. return connections[i] and connections[i].Event or index[i];
  15. end;
  16. meta.__newindex = index;meta.__metatable = false;return proxy
  17. end;
  18. local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
  19. local UserInputService = createObject({"InputBegan","InputEnded"},{})
  20. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  21. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  22. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  23. Event.OnServerEvent:Connect(function(FiredBy,Input)
  24. if FiredBy.Name ~= InternalData.RealOwner.Name then return end
  25. if Input.MouseEvent then
  26. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  27. else
  28. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  29. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
  30. for _,Action in pairs(ContextActionService.Actions) do
  31. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  32. end
  33. Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  34. end
  35. end)
  36. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  37. Event.Parent = NLS([[
  38. local Player = owner;
  39. local Event = script:WaitForChild("UserInput");
  40. local UserInputService = game:GetService("UserInputService");
  41. local Mouse = Player:GetMouse();
  42. local Input = function(Input,gameProcessedEvent)
  43. if gameProcessedEvent then return end
  44. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  45. end
  46. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  47. local Hit,Target
  48. while wait(1/60) do
  49. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  50. Hit = Mouse.Hit;Target = Mouse.Target;
  51. Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  52. end
  53. end
  54. ]],InternalData.RealOwner.Character)
  55. end
  56. InternalData.RealInstance = Instance;Instance = setmetatable({},{
  57. __index = function (self,Index)
  58. if Index:lower() == 'new' then
  59. return function (Type, Parent)
  60. local Real = InternalData.RealInstance.new(Type,Parent)
  61. if not Type then return end
  62. if Type == "BillboardGui" then
  63. return setmetatable({},{
  64. __index = function (self,Index)
  65. return Real[Index]
  66. end;
  67. __newindex = function (self,Index,Value)
  68. if Index:lower() == "playertohidefrom" then
  69. if Value.Name == owner.Name then Real[Index] = InternalData.RealOwner else Real[Index] = Value end
  70. else
  71. Real[Index] = Value
  72. end
  73. end;
  74. __tostring = function(self) return tostring(Real) end;
  75. })
  76. end
  77. return Real
  78. end
  79. end
  80. return InternalData.RealInstance[Index]
  81. end;
  82. __tostring = function(self) return tostring(InternalData.RealInstance) end;
  83. });
  84. InternalData.RealGame = game;game = setmetatable({},{
  85. __index = function (self,Index)
  86. local Sandbox = function (Thing)
  87. if Thing:IsA("Player") then
  88. local RealPlayer = Thing
  89. return setmetatable({},{
  90. __index = function (self,Index)
  91. local Type = type(RealPlayer[Index])
  92. if Type == "function" then
  93. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  94. return function (self)return InternalData["Mouse"] end
  95. end
  96. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  97. elseif Index == "FakePlayer" then
  98. return true
  99. end
  100. return RealPlayer[Index]
  101. end;
  102. __tostring = function(self) return tostring(RealPlayer) end
  103. })
  104. end
  105. end
  106. if InternalData.RealGame[Index] then
  107. local Type = type(InternalData.RealGame[Index])
  108. if Type == "function" then
  109. if Index:lower() == "getservice" or Index:lower() == "service" then
  110. return function (self,Service)
  111. local FakeServices = {
  112. ["players"] = function()
  113. return setmetatable({},{
  114. __index = function (self2,Index2)
  115. local RealService = InternalData.RealGame:GetService(Service)
  116. local Type2 = type(Index2)
  117. if Type2 == "function" then
  118. return function (self,...) return RealService[Index2](RealService,...)end
  119. else
  120. if Index2:lower() == "localplayer" then return Sandbox(InternalData.RealOwner) end
  121. return RealService[Index2]
  122. end
  123. end;
  124. __tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end
  125. })
  126. end;
  127. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  128. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  129. ["runservice"] = function()
  130. return setmetatable({},{
  131. __index = function(self2,Index2)
  132. local RealService = InternalData.RealGame:GetService(Service)
  133. local Type2 = type(Index2)
  134. if Type2 == "function" then
  135. return function (self,...) return RealService[Index2](RealService,...) end
  136. else
  137. local RunServices = {
  138. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return InternalData.RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  139. ["renderstepped"] = function() return RealService["Stepped"] end
  140. }
  141. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  142. return RealService[Index2]
  143. end
  144. end;
  145. __tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end
  146. })
  147. end
  148. }
  149. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  150. return InternalData.RealGame:GetService(Service)
  151. end
  152. end
  153. return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end
  154. else
  155. if game:GetService(Index) then return game:GetService(Index) end
  156. return InternalData.RealGame[Index]
  157. end
  158. end
  159. return nil
  160. end;
  161. __tostring = function(self) return tostring(InternalData.game) end
  162. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!")
  163.  
  164. --//Paste script below this line.
  165. wait(1)
  166. plr=game.Players.LocalPlayer
  167. chr=plr.Character
  168. Head=chr.Head
  169. Root=chr.HumanoidRootPart
  170. Torso=chr.Torso
  171. RArm=chr["Right Arm"]
  172. LArm=chr["Left Arm"]
  173. RLeg=chr["Right Leg"]
  174. LLeg=chr["Left Leg"]
  175. RJ=Root.RootJoint
  176. Neck=Torso.Neck
  177. LS=Torso["Left Shoulder"]
  178. LH=Torso["Left Hip"]
  179. RS=Torso["Right Shoulder"]
  180. RH=Torso["Right Hip"]
  181. hum=chr:FindFirstChildOfClass("Humanoid")
  182. mouse=plr:GetMouse()
  183. Pose="Idle"
  184. attack=false
  185. combo=1
  186. skilldoing=false
  187. skilldoing2=false
  188. wat=true
  189. comb=1
  190. sin=0
  191. cha=1
  192. create=LoadLibrary("RbxUtility").Create
  193. wa=false
  194. chr.Animate:Remove()
  195. hum.Animator:Remove()
  196.  
  197. function clerp(a,b,t)
  198. return a:lerp(b,t)
  199. end
  200.  
  201. local newMotor=function(p0,p1,c0,c1)
  202. local w=Instance.new('Motor',p0)
  203. w.Part0=p0
  204. w.Part1=p1
  205. w.C0=c0
  206. w.C1=c1
  207. return w
  208. end
  209.  
  210. RJ.C0,RJ.C1=CFrame.new(0,0,0),CFrame.new(0,0,0)
  211. Neck.C0,Neck.C1=CFrame.new(0,1.5,0),CFrame.new(0,0,0)
  212. --[[RS.C0,RS.C1=CFrame.new(1.5,0,0),CFrame.new(0,0,0)
  213. LS.C0,LS.C1=CFrame.new(-1.5,0,0),CFrame.new(0,0,0)
  214. RH.C0,RH.C1=CFrame.new(.5,-2,0),CFrame.new(0,0,0)
  215. LH.C0,LH.C1=CFrame.new(-.5,-2,0),CFrame.new(0,0,0)]]
  216. local RS=newMotor(Torso, RArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  217. local LS=newMotor(Torso, LArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  218. local RH=newMotor(Torso, RLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  219. local LH=newMotor(Torso, LLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  220.  
  221. function NoOutline(Part)
  222. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface=10,10,10,10,10,10
  223. end
  224.  
  225. function rayCast(Position,Direction,Range,Ignore)
  226. return game:service("Workspace"):FindPartOnRay(Ray.new(Position,Direction.unit*(Range or 999.999)),Ignore)
  227. end
  228.  
  229. function swait(num)
  230. if num==0 or num==nil then
  231. game:service'RunService'.Stepped:wait(0)
  232. else
  233. for i=0,num do
  234. game:service'RunService'.Stepped:wait(0)
  235. end
  236. end
  237. end
  238.  
  239. function parts(Par,name,size,color,mat,ref,tra)
  240. local part=create("Part"){
  241. Parent=Par,
  242. Name=name,
  243. Size=size,
  244. CanCollide=false,
  245. Anchored=false,
  246. BrickColor=BrickColor.new(color),
  247. Material=mat,
  248. Reflectance=ref,
  249. Transparency=tra}
  250. --Position=Torso.Position}
  251. NoOutline(part)
  252. part:BreakJoints()
  253. return part
  254. end
  255.  
  256. function meshs(Par,name,scale,mtype,id)
  257. local mesh=create("SpecialMesh"){
  258. Parent=Par,
  259. Name=name,
  260. Scale=scale,
  261. MeshType=mtype}
  262. if id~="" then
  263. mesh.MeshId="rbxassetid://"..id
  264. end
  265. return meshs
  266. end
  267.  
  268. function welds(Par,name,p0,p1,c0,c1)
  269. local weld=create("Weld"){
  270. Parent=Par,
  271. Name=name,
  272. Part0=p0,
  273. Part1=p1,
  274. C0=c0,
  275. C1=c1}
  276. return weld
  277. end
  278.  
  279. function sounds(Par,id,vol,pit)
  280. local sound=create("Sound"){
  281. Parent=Par,
  282. SoundId=id,
  283. Volume=vol,
  284. PlaybackSpeed=pit}
  285. sound:Play()
  286. game:GetService("Debris"):AddItem(sound,10)
  287. return sound
  288. end
  289. m=Instance.new("Model",chr)
  290. m.Name="Suit"
  291. e=Instance.new("Model",chr)
  292. e.Name="Effect"
  293.  
  294. S2T=parts(m,"S2T",Vector3.new(2.10000014, 0.199999928, 1.20000005),"Medium stone grey",Enum.Material.SmoothPlastic,0,0)
  295. S2TWeld=welds(S2T,"S2TWeld",Torso,S2T,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.00002193, -7.62939453e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  296. meshs(S2T,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  297. S2T=parts(m,"S2T",Vector3.new(0.899999976, 2.39999962, 1.20000005),"Medium stone grey",Enum.Material.SmoothPlastic,0,0)
  298. S2TWeld=welds(S2T,"S2TWeld",Torso,S2T,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0499954224, 0.300019979, -7.62939453e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  299. meshs(S2T,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  300. S2T=parts(m,"S2T",Vector3.new(2.10000014, 0.89999938, 1.30000007),"Medium stone grey",Enum.Material.SmoothPlastic,0,0)
  301. S2TWeld=welds(S2T,"S2TWeld",Torso,S2T,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.52587891e-05, -0.549978018, 0.0499954224, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  302. meshs(S2T,"Mesh",Vector3.new(1, 1.00999999, 1),Enum.MeshType.Brick,"")
  303. S2T=parts(m,"S2T",Vector3.new(2.10000014, 0.89999938, 1.30000007),"Medium stone grey",Enum.Material.SmoothPlastic,0,0)
  304. S2TWeld=welds(S2T,"S2Weld",Torso,S2T,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.52587891e-05, -0.549978018, 0.0499954224, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  305. meshs(S2T,"Mesh",Vector3.new(1, 1.00999999, 1),Enum.MeshType.Brick,"")
  306. S2=parts(m,"S2",Vector3.new(0.499999911, 1.09999943, 1.4000001),"Institutional white",Enum.Material.SmoothPlastic,0,0)
  307. S2Weld=welds(S2,"S2Weld",Torso,S2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0499954224, -0.549978018, -7.62939453e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  308. meshs(S2,"Mesh",Vector3.new(1, 1, 1.00999999),Enum.MeshType.Brick,"")
  309. S2=parts(m,"S2",Vector3.new(0.200000003, 1.00000012, 0.200000003),"Institutional white",Enum.Material.SmoothPlastic,0,0)
  310. S2Weld=welds(S2,"S2Weld",Torso,S2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.424274445, 0.494991302, -0.600006104, 0.707106829, -0.707106829, -0, 0.707106829, 0.707106829, 0, 0, 0, 1))
  311. meshs(S2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  312. S2=parts(m,"S2",Vector3.new(0.200000003, 1.00000012, 0.200000003),"Institutional white",Enum.Material.SmoothPlastic,0,0)
  313. S2Weld=welds(S2,"S2Weld",Torso,S2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.494991302, -0.424274445, -0.600006104, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829, -0, 0, 0, 1))
  314. meshs(S2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  315. S2H=parts(m,"S2H",Vector3.new(0.300000012, 0.300000012, 6.89999914),"Really black",Enum.Material.SmoothPlastic,0,0)
  316. S2HWeld=welds(S2H,"S2HWeld",RArm,S2H,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.57763672e-05, 0.949999094, 0.749977112, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  317. meshs(S2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  318. S2T=parts(m,"S2T",Vector3.new(0.400000006, 0.400000006, 0.399999559),"Medium stone grey",Enum.Material.SmoothPlastic,0,0)
  319. S2TWeld=welds(S2T,"S2TWeld",RArm,S2T,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.10351563e-05, 0.949999094, -2.90003204, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  320. meshs(S2T,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  321. S2T=parts(m,"S2T",Vector3.new(0.400000006, 0.600000024, 1.19999969),"Medium stone grey",Enum.Material.SmoothPlastic,0,0)
  322. S2TWeld=welds(S2T,"S2TWeld",RArm,S2T,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.10351563e-05, 0.849999905, 4.29997253, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  323. meshs(S2T,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  324. S2=parts(m,"S2",Vector3.new(0.100000001, 0.700000048, 1.00000012),"Mid gray",Enum.Material.SmoothPlastic,0,0)
  325. S2Weld=welds(S2,"S2Weld",RArm,S2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.57763672e-05, 0.500000954, -4.59996796, -1, 0, 0, 0, 1, 0, 0, 0, -1))
  326. meshs(S2,"Mesh",Vector3.new(0.5, 1, 1),Enum.MeshType.Wedge,"")
  327. S2=parts(m,"S2",Vector3.new(0.100000001, 0.700000048, 1.60000026),"Mid gray",Enum.Material.SmoothPlastic,0,0)
  328. S2Weld=welds(S2,"S2Weld",RArm,S2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.57763672e-05, 0.500000954, 5.89997101, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  329. meshs(S2,"Mesh",Vector3.new(0.5, 1, 1),Enum.MeshType.Wedge,"")
  330. S2=parts(m,"S2",Vector3.new(0.100000001, 1.00000012, 1.30000019),"Institutional white",Enum.Material.SmoothPlastic,0,0)
  331. S2Weld=welds(S2,"S2Weld",RArm,S2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.57763672e-05, -1.35000098, -4.44997406, 1, 0, 0, 0, -1, 0, 0, 0, -1))
  332. meshs(S2,"Mesh",Vector3.new(0.5, 1, 1),Enum.MeshType.Wedge,"")
  333. S2=parts(m,"S2",Vector3.new(0.100000001, 1.00000012, 2.99999928),"Institutional white",Enum.Material.SmoothPlastic,0,0)
  334. S2Weld=welds(S2,"S2Weld",RArm,S2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.57763672e-05, -1.35000098, 6.59997559, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  335. meshs(S2,"Mesh",Vector3.new(0.5, 1, 1),Enum.MeshType.Wedge,"")
  336. S2=parts(m,"S2",Vector3.new(0.100000001, 0.400000006, 0.400000006),"Institutional white",Enum.Material.SmoothPlastic,0,0)
  337. S2Weld=welds(S2,"S2Weld",RArm,S2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.57763672e-05, -1.35000098, -2.90002441, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  338. meshs(S2,"Mesh",Vector3.new(0.5, 1, 1),Enum.MeshType.Wedge,"")
  339. S2=parts(m,"S2",Vector3.new(0.100000001, 0.600000024, 1.40000021),"Institutional white",Enum.Material.SmoothPlastic,0,0)
  340. S2Weld=welds(S2,"S2Weld",RArm,S2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.57763672e-05, -1.25000095, -3.80002594, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  341. meshs(S2,"Mesh",Vector3.new(0.5, 1, 1),Enum.MeshType.Brick,"")
  342. S2=parts(m,"S2",Vector3.new(0.100000001, 0.300000012, 1.00000012),"Mid gray",Enum.Material.SmoothPlastic,0,0)
  343. S2Weld=welds(S2,"S2Weld",RArm,S2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.57763672e-05, -0.800002098, -3.60002518, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  344. meshs(S2,"Mesh",Vector3.new(0.5, 1, 1),Enum.MeshType.Brick,"")
  345. S2=parts(m,"S2",Vector3.new(0.100000001, 0.600000024, 1.90000021),"Institutional white",Enum.Material.SmoothPlastic,0,0)
  346. S2Weld=welds(S2,"S2Weld",RArm,S2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.57763672e-05, -1.25000095, 5.45002365, 1, 0, 0, 0, -1, 0, 0, 0, -1))
  347. meshs(S2,"Mesh",Vector3.new(0.5, 1, 1),Enum.MeshType.Wedge,"")
  348. S2=parts(m,"S2",Vector3.new(0.100000001, 0.300000012, 1.60000014),"Mid gray",Enum.Material.SmoothPlastic,0,0)
  349. S2Weld=welds(S2,"S2Weld",RArm,S2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.57763672e-05, 0.800000906, 4.90002441, -1, 0, 0, 0, 1, 0, 0, 0, -1))
  350. meshs(S2,"Mesh",Vector3.new(0.5, 1, 1),Enum.MeshType.Wedge,"")
  351. S21=parts(m,"S21",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Institutional white",Enum.Material.SmoothPlastic,0,0)
  352. S21Weld=welds(S21,"S21Weld",RArm,S21,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.57763672e-05, -0.95000124, 7.39996338, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  353. meshs(S21,"Mesh",Vector3.new(0.5, 1, 1),Enum.MeshType.Wedge,"")
  354. S22=parts(m,"S22",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Institutional white",Enum.Material.SmoothPlastic,0,0)
  355. S22Weld=welds(S22,"S22Weld",RArm,S22,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.57763672e-05, -0.95000124, 3.30000305, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  356. meshs(S22,"Mesh",Vector3.new(0.5, 1, 1),Enum.MeshType.Wedge,"")
  357.  
  358. for _,v in pairs(m:children()) do
  359. if v:IsA("Part")and v.Name=="S2T"then
  360. v.BrickColor=Torso.BrickColor
  361. end
  362. end
  363.  
  364. aaa=NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(1, 0)})
  365. bbb=NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)})
  366. local Efect=create("ParticleEmitter"){
  367. Color=ColorSequence.new(Color3.new(1, 0, 0)),
  368. LightEmission=.5,
  369. Texture="rbxassetid://50657528",
  370. Transparency=bbb,
  371. Size=aaa,
  372. ZOffset=0,
  373. Acceleration=Vector3.new(0, 0, 0),
  374. LockedToPart=false,
  375. EmissionDirection="Top",
  376. Lifetime=NumberRange.new(.2,.2),
  377. Rate=100,
  378. Rotation=NumberRange.new(-100, 100),
  379. RotSpeed=NumberRange.new(-50, 50),
  380. Speed=NumberRange.new(40),
  381. VelocitySpread=40,
  382. Enabled=false,
  383. Parent=Root
  384. }
  385.  
  386. local Buff=create("BillboardGui"){
  387. Size=UDim2.new(5, 0, 15, 0),
  388. Adornee=Root,
  389. Parent=Root,
  390. ExtentsOffset=Vector3.new(0, 3, 0),
  391. AlwaysOnTop=true
  392. }
  393. local BuffLabel=create("TextLabel"){
  394. AnchorPoint=Vector2.new(.5,.5),
  395. BackgroundTransparency=1,
  396. TextStrokeTransparency=1,
  397. TextTransparency=1,
  398. TextColor3=Color3.new(1, 1, 0),
  399. TextStrokeColor3=Color3.new(0, 0, 0),
  400. Position=UDim2.new(.5, 0, .5, 0),
  401. Size=UDim2.new(1.5, 0, .2, 0),
  402. Text="0",
  403. Font="SourceSansBold",
  404. TextScaled=true,
  405. Parent=Buff,
  406. }
  407.  
  408. function Damage(Type,Part,hit,dmg,delet)
  409. if hit.Parent==nil then
  410. return
  411. end
  412. local h=hit.Parent:FindFirstChildOfClass("Humanoid")
  413. for _,v in pairs(hit.Parent:children()) do
  414. if v:IsA("Humanoid")then
  415. h=v
  416. end
  417. end
  418. if h~=nil and hit.Parent.Name~=chr.Name then
  419. if hit.Parent:findFirstChild("AHit")==nil then
  420. h.Health=h.Health-dmg
  421. if h.Health==math.huge then
  422. hit.Parent:BreakJoints()
  423. elseif wa==true then
  424. sounds(Root,"rbxassetid://874866480",9,1)
  425. hit.Parent:BreakJoints()
  426. end
  427. end
  428. if Type=="Disappear"then
  429. Part.Parent=nil
  430. if hit.Parent:findFirstChild("AHit")==nil then
  431. local c=create("BoolValue"){
  432. Name="AHit",
  433. Value=true,
  434. Parent=hit.Parent}
  435. game:GetService("Debris"):AddItem(c,.1)
  436. end
  437. elseif Type=="None"then
  438. if hit.Parent:findFirstChild("AHit")==nil then
  439. local c=create("BoolValue"){
  440. Name="AHit",
  441. Value=true,
  442. Parent=hit.Parent}
  443. game:GetService("Debris"):AddItem(c,.25)
  444. end
  445. elseif Type=="None2"then
  446. if hit.Parent:findFirstChild("AHit")==nil then
  447. local c=create("BoolValue"){
  448. Name="AHit",
  449. Value=true,
  450. Parent=hit.Parent}
  451. game:GetService("Debris"):AddItem(c,.05)
  452. end
  453. end
  454. end
  455. end
  456.  
  457. function Mdamage(Type,Part,Magn,Dmg)
  458. for _,c in pairs(workspace:children()) do
  459. local hum=c:findFirstChildOfClass("Humanoid")
  460. if hum~=nil then
  461. local ddee=c:findFirstChild("Torso")
  462. if ddee~=nil then
  463. local targ=ddee.Position-Part.Position
  464. local mag=targ.magnitude
  465. if mag<=Magn and c.Name~=plr.Name then
  466. Damage(Type,Part,ddee,Dmg)
  467. if hum.Health==math.huge then
  468. ddee:BreakJoints()
  469. end
  470. end
  471. end
  472. end
  473. end
  474. end
  475.  
  476. --v efec
  477. function effect(par,color,CF,x,y,z,x1,y1,z1,de,mtyp,typ,id)
  478. local ex=create("Part"){
  479. Size=Vector3.new(.2,.2,.2),
  480. BrickColor=color,
  481. CanCollide=false,
  482. Material="Neon",
  483. Anchored=true,
  484. CFrame=CF,
  485. Parent=par}
  486. NoOutline(ex)
  487. local exe=create("SpecialMesh"){
  488. Scale=Vector3.new(x,y,z),
  489. MeshType=mtyp,
  490. Parent=ex,
  491. MeshId="rbxassetid://"..id}
  492. game:GetService("Debris"):AddItem(ex,10)
  493. coroutine.resume(coroutine.create(function()
  494. for i=0,1.1,de do
  495. swait()
  496. ex.Transparency=i
  497. exe.Scale=exe.Scale+Vector3.new(x1,y1,z1)
  498. if typ==1 then
  499. ex.CFrame=ex.CFrame*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
  500. end
  501. end
  502. ex:Remove()
  503. end))
  504. end
  505. --v atak
  506. function Spear_Skill(Combo)
  507. attack=true
  508. skilldoing=false
  509. sounds(Root,"rbxasset://sounds/swordslash.wav",1.2,1)
  510. if Combo==1 then
  511. for i=0,1,0.25 do
  512. swait()
  513. RJ.C0=clerp(RJ.C0,CFrame.new(-8.2590617e-07, -4.76837158e-07, 4.76837386e-07, 0.500000238, 0, -0.866025388, 0, 1, 0, 0.866025388, 0, 0.500000238)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
  514. Neck.C0=clerp(Neck.C0,CFrame.new(4.76837386e-07, 1.50000429, -8.2590617e-07, 0.500000238, 0, 0.866025388, 0, 1, 0, -0.866025388, 0, 0.500000238)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
  515. RS.C0=clerp(RS.C0,CFrame.new(1.68119287, 0.500001192, -0.676144481, 0.707106769, -0.707107008, -0, 0, 0, -1, 0.707107008, 0.707106769, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
  516. LS.C0=clerp(LS.C0,CFrame.new(-1.6348331, 0.166505516, -0.533010244, 0.866025567, 0.433012754, -0.249999866, -0.49999994, 0.750000179, -0.433012605, -5.96046448e-08, 0.499999911, 0.866025627)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
  517. if skilldoing==true or skilldoing2==true then
  518. break
  519. end
  520. end
  521. for i=0,1,0.06 do
  522. swait()
  523. Mdamage("None",S22,4,15)
  524. Mdamage("None",S21,2,30)
  525. RJ.C0=clerp(RJ.C0,CFrame.new(-1.5348196e-06, -4.76837158e-07, -1.200005078, 0.258818984, 0, 0.965925872, 0, 1, 0, -0.965925872, 0, 0.258818984)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  526. Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.50000429, 0, 0.258818984, 0, -0.965925872, 0, 1, 0, 0.965925872, 0, 0.258818984)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  527. RS.C0=clerp(RS.C0,CFrame.new(0.905513525, 0.500001192, -0.999117136, 0, 0.499999911, -0.866025507, -1, 0, 0, -0, 0.866025507, 0.499999911)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  528. LS.C0=clerp(LS.C0,CFrame.new(-1.86745083, 0.212133825, 1.9046164e-06, 0.258818954, 0.965925872, 9.983778e-07, -0.965925872, 0.258818954, -6.6800121e-09, -2.68220901e-07, -9.83476639e-07, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  529. if skilldoing==true or skilldoing2==true then
  530. break
  531. end
  532. end
  533. elseif Combo==2 then
  534. for i=0,1,0.25 do
  535. swait()
  536. RJ.C0=clerp(RJ.C0,CFrame.new(-0.00797060784, 0, 0.0159379058, 0.500000238, 0, 0.866025388, 0, 1, 0, -0.866025388, 0, 0.500000238)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
  537. Neck.C0=clerp(Neck.C0,CFrame.new(-0.0688118488, 1.49997687, 0.0489302538, 0.500000238, 0, -0.866025388, 0, 1, 0, 0.866025388, 0, 0.500000238)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
  538. RS.C0=clerp(RS.C0,CFrame.new(0.881370544, 0.499999046, -0.989105582, 0, 0.500000238, 0.866025388, 1, 0, 0, 0, 0.866025388, -0.500000238)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
  539. LS.C0=clerp(LS.C0,CFrame.new(-1.64070654, 0.0988676846, -0.0363707393, 0.94015497, 0.320339173, 0.116154164, -0.279362053, 0.919801831, -0.275538623, -0.195104659, 0.226599932, 0.9542467)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
  540. if skilldoing==true then
  541. break
  542. end
  543. end
  544. for i=0,1,0.06 do
  545. swait()
  546. Mdamage("None",S22,4,15)
  547. Mdamage("None",S21,2,30)
  548. RJ.C0=clerp(RJ.C0,CFrame.new(-0.141819328, -0, -1.26099586, 0.500000238, 0, -0.866025388, 0, 1, 0, 0.866025388, 0, 0.500000238)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  549. Neck.C0=clerp(Neck.C0,CFrame.new(0.123729445, 1.49997687, -0.0923232585, 0.500000238, 0, 0.866025388, 0, 1, 0, -0.866025388, 0, 0.500000238)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  550. RS.C0=clerp(RS.C0,CFrame.new(1.93757987, 0.499999046, -0.559692025, 0, -0.866024375, 0.500002086, 1, 0, 0, 0, 0.500002086, 0.866024375)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  551. LS.C0=clerp(LS.C0,CFrame.new(-1.86749184, 0.219548419, 0.235672072, 0.228143245, 0.95387888, 0.195105106, -0.970870256, 0.23795332, -0.0280933026, -0.0732235089, -0.183012426, 0.980380058)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  552. if skilldoing==true then
  553. break
  554. end
  555. end
  556. elseif Combo==3 then
  557. for i=0,1,0.25 do
  558. swait()
  559. RJ.C0=clerp(RJ.C0,CFrame.new(-2.82967085e-06, -2.38418352e-07, -3.19105675e-06, 0.258818746, 0, -0.965924978, 0, 0.999999046, 0, 0.965925872, 0, 0.258818984)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
  560. Neck.C0=clerp(Neck.C0,CFrame.new(4.42520104e-06, 1.50000095, -1.77621746e-06, 0.258818746, 0, 0.965925872, 0, 0.999999046, 0, -0.965924978, 0, 0.258818984)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
  561. RS.C0=clerp(RS.C0,CFrame.new(1.57334232, 0.104150996, 0.0242375731, 0.424949139, -0.345915258, 0.836517155, 0.250000149, 0.933012784, 0.258818448, -0.870010555, 0.0991447195, 0.482961833)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
  562. LS.C0=clerp(LS.C0,CFrame.new(-1.50002849, 2.26497605e-06, -1.20686684e-06, 0.866025388, 0.500000179, 4.61935997e-07, -0.500000119, 0.866025388, 2.72390196e-07, -2.68220901e-07, -4.69386578e-07, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
  563. if skilldoing==true then
  564. break
  565. end
  566. end
  567. for i=0,1,0.06 do
  568. swait()
  569. Mdamage("None",S22,4,15)
  570. Mdamage("None",S21,2,30)
  571. RJ.C0=clerp(RJ.C0,CFrame.new(-4.76836703e-06, -0.287998855, -1.13958561, 0, 0, 0.999999046, -0.258818746, 0.965924978, 0, -0.965925872, -0.258818984, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  572. Neck.C0=clerp(Neck.C0,CFrame.new(-2.25305557e-05, 1.50000334, 5.7220459e-06, 0, 2.38418579e-07, -1, 0, 1, 2.38418579e-07, 1, 0, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  573. RS.C0=clerp(RS.C0,CFrame.new(1.68703485, 0.29010281, -0.0508945547, 0.00987713691, -0.448736727, -0.893609405, 0.0155336829, 0.893614173, -0.448567331, 0.999830544, -0.00945048407, 0.0157968812)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  574. LS.C0=clerp(LS.C0,CFrame.new(-1.67049909, 0.0182256922, -0.0468431562, 0.485112011, 0.874422491, 0.00720833708, -0.874105573, 0.485135376, -0.0241507925, -0.0246150084, 0.00541499071, 0.999682367)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  575. if skilldoing==true then
  576. break
  577. end
  578. end
  579. end
  580. attack=false
  581. end
  582. --20 15
  583.  
  584. --15
  585. function Spear_Flip()
  586. if skilldoing==true then
  587. return
  588. end
  589. skilldoing=true
  590. sounds(Root,"rbxassetid://380362900",1.2,1)
  591. hum.Jump=true
  592. Torso.Velocity=(Root.CFrame.lookVector*120)+(Vector3.new(0,1,0)*50)
  593. for i=0,1,0.04 do
  594. swait()
  595. Mdamage("None",S2H,6,15)
  596. Mdamage("None",S21,2,30)
  597. RJ.C0=clerp(RJ.C0,CFrame.new(0.0147208329, 0.214689702, -3.81469727e-06, 0, 0.999994278, 0, 0, 0, 0.999994278, 1, 0, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0-720*i),0),.4)
  598. Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.49999189, 8.82148743e-06, 0, 0, 1, 0, 1, 0, -1, 0, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  599. RS.C0=clerp(RS.C0,CFrame.new(1.4000144, 0.54017067, -0.696429133, 0, 0, 1, 1, 0, 0, 0, 1, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  600. LS.C0=clerp(LS.C0,CFrame.new(-1.40001774, 0.526784897, -0.746401191, 0, 0, 1, 1, 0, 0, 0, 1, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  601. end
  602. skilldoing=false
  603. end
  604.  
  605. function Spear_Stab()
  606. if skilldoing2==true then
  607. return
  608. end
  609. skilldoing2=true
  610. for i=1,5 do
  611. sounds(Root,"rbxassetid://957193342",1.2,1.1)
  612. for i=0,1,0.3 do--lazzy
  613. swait()
  614. RJ.C0=clerp(RJ.C0,CFrame.new(0, -0, -0, 0, 0, -1, 0, 1, 0, 1, 0, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  615. Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.50000381, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  616. RS.C0=clerp(RS.C0,CFrame.new(1.37073517, 0.0462374538, -0.435195684, 0, 0, 1, 0.500000238, 0.866025388, 0, -0.866025388, 0.500000238, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  617. LS.C0=clerp(LS.C0,CFrame.new(-1.30331612, 0.0468284041, -0.550320625, 0, 0, 1, 0.500000238, 0.866025388, 0, -0.866025388, 0.500000238, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  618. end
  619. for i=0,1,0.3 do
  620. swait()
  621. Mdamage("None2",S22,4,15)
  622. Mdamage("None2",S21,2,30)
  623. RJ.C0=clerp(RJ.C0,CFrame.new(0, -0, -3.50000801, 0, 0, -1, 0, 1, 0, 1, 0, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  624. Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.50000381, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  625. RS.C0=clerp(RS.C0,CFrame.new(1.37073517, 0.0462374538, -0.435195684, 0, 0, 1, 0.500000238, 0.866025388, 0, -0.866025388, 0.500000238, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  626. LS.C0=clerp(LS.C0,CFrame.new(-1.30331612, 0.0468284041, -0.550320625, 0, 0, 1, 0.500000238, 0.866025388, 0, -0.866025388, 0.500000238, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  627. end
  628. end
  629. swait(20)
  630. skilldoing2=false
  631. end
  632. --25 7.5
  633.  
  634. mouse.Button1Down:connect(function()
  635. if attack==false then
  636. if combo==1 then
  637. combo=2
  638. Spear_Skill(1)
  639. elseif combo==2 then
  640. combo=3
  641. Spear_Skill(2)
  642. elseif combo==3 then
  643. combo=1
  644. Spear_Skill(3)
  645. end
  646. end
  647. end)
  648.  
  649. mouse.KeyDown:connect(function(k)
  650. k=k:lower()
  651. if k=="z" and skilldoing==false then
  652. Spear_Flip()
  653. elseif k=="x" and skilldoing2==false then
  654. Spear_Stab()
  655. elseif k=="j" and wa==false then
  656. wa=true
  657. sounds(Root,"rbxassetid://409594107",6,1)
  658. print'AAAAAAAAAAAAAAAAAAAAAAAAAA'
  659. warn'AAAAAAAAAAAAAAAAAAAAAAAAAA'
  660. for _,v in pairs(m:children()) do
  661. if v:IsA("Part")and (v.Name=="S2H"or v.Name=="S22"or v.Name=="S21"or v.Name=="S2"or v.Name=="S2T")then
  662. v.BrickColor=BrickColor.new("Toothpaste")
  663. v.Material="Neon"
  664.  
  665. end
  666. end
  667. local sound=create("Sound"){
  668. Parent=Root,
  669. SoundId="rbxassetid://304767488",
  670. Volume=7,
  671. PlaybackSpeed=1,
  672. Looped=true}
  673. sound:Play()
  674. end
  675. end)
  676.  
  677. while chr.Humanoid.Health>=0 do
  678. swait()
  679. sin=sin+cha
  680. if wa==false then
  681. hum.WalkSpeed=35
  682. else
  683. hum.WalkSpeed=200
  684. hum.JumpPower=280
  685. end
  686. local torvel=(Root.Velocity*Vector3.new(1,0,1)).magnitude
  687. local velderp=Root.Velocity.y
  688. hitfloor,posfloor=rayCast(Root.Position,(CFrame.new(Root.Position,Root.Position-Vector3.new(0,1,0))).lookVector,4,chr)
  689. if Root.Velocity.y>1 and hitfloor==nil then
  690. Pose="Jump"
  691. if attack==false and skilldoing==false and skilldoing2==false then
  692. 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),.3)
  693. 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),.3)
  694. 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),.3)
  695. 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),.3)
  696. end
  697. 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),.3)
  698. 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),.3)
  699. elseif Root.Velocity.y<-1 and hitfloor==nil then
  700. Pose="Fall"
  701. if attack==false and skilldoing==false and skilldoing2==false then
  702. 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),.3)
  703. 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),.3)
  704. RS.C0=clerp(RS.C0,CFrame.new(1.63909817, 0.114127249, -2.24583914e-07, 0.965925992, -0.258818954, 1.78813934e-07, 0.258818924, 0.965925932, -6.76490401e-07, 0, 7.15255737e-07, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  705. LS.C0=clerp(LS.C0,CFrame.new(-1.63910222, 0.114126861, 2.24584937e-07, 0.965925992, 0.258818954, 1.78813934e-07, -0.258818924, 0.965925932, 6.76490401e-07, 0, -7.15255737e-07, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  706. end
  707. RH.C0=clerp(RH.C0,CFrame.new(0.499996245, -1.99998808, -7.62939544e-06, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  708. 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),.3)
  709. elseif torvel<1 and hitfloor~=nil then
  710. Pose="Idle"
  711. if attack==false and skilldoing==false and skilldoing2==false then
  712. 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-.05*math.cos(sin/18),0)*CFrame.Angles(0,0,0),.3)
  713. Neck.C0=clerp(Neck.C0,CFrame.new(-9.53674771e-07, 1.49998951, -1.65181234e-06, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  714. RS.C0=clerp(RS.C0,CFrame.new(1.67320299, 0.10000509, 3.71405895e-06, 0.866025567, -0.5, 8.94069672e-08, 0.49999994, 0.866025507, -2.49183756e-07, 5.96046448e-08, 2.5331974e-07, 1.00000012)*CFrame.new(0-.05*math.cos(sin/18),0,0) * CFrame.Angles(0,0,math.rad(0-8*math.cos(sin/18))),.3)
  715. LS.C0=clerp(LS.C0,CFrame.new(-1.67320156, 0.0999999046, 1.0063988e-07, 0.866025567, 0.5, 8.94069672e-08, -0.49999994, 0.866025507, 2.50893436e-07, 5.96046448e-08, -2.5331974e-07, 1.00000012)*CFrame.new(0+.05*math.cos(sin/18),0,0) * CFrame.Angles(0,0,math.rad(0+8*math.cos(sin/18))),.3)
  716. end
  717. 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+.05*math.cos(sin/18),0)*CFrame.Angles(0,0,0),.3)
  718. 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+.05*math.cos(sin/18),0)*CFrame.Angles(0,0,0),.3)
  719. elseif torvel>2 and hitfloor~=nil then
  720. Pose="Walk"
  721. if attack==false and skilldoing==false and skilldoing2==false then
  722. RJ.C0=clerp(RJ.C0,CFrame.new(0, -0.0669884086-.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),.3)
  723. 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),.3)
  724. RS.C0=clerp(RS.C0,CFrame.new(1.50000083, -1.7881257e-07, -7.55374003e-07, 0.866024852, -0.500000954, -3.31524848e-06, 0.500000954, 0.866024971, -2.38418579e-07, 2.98023224e-06, -1.4603138e-06, 1.00000012)*CFrame.new(.2,.1,0+.8*math.cos(sin/6)) * CFrame.Angles(math.rad(0-70*math.cos(sin/6)),0,0),.3)
  725. LS.C0=clerp(LS.C0,CFrame.new(-1.5, 7.74863224e-07, -2.42472197e-07, 0.86602515, 0.500000536, -1.43179045e-06, -0.500000536, 0.866025209, 1.49011612e-06, 1.98185444e-06, -5.66244125e-07, 1.00000012)*CFrame.new(-.2,.1,0-.8*math.cos(sin/6)) * CFrame.Angles(math.rad(0+70*math.cos(sin/6)),0,0),.3)
  726. end
  727. RH.C0=clerp(RH.C0,CFrame.new(0.5, -1.79998903, 0, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024)*CFrame.new(0,0+.5*math.cos(sin/2.5),0-1*math.cos(sin/5)) * CFrame.Angles(math.rad(0+85*math.cos(sin/5)),0,0),.3)
  728. LH.C0=clerp(LH.C0,CFrame.new(-0.5, -1.79998903, -0, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024)*CFrame.new(0,0+.5*math.cos(sin/2.5),0+1*math.cos(sin/5)) * CFrame.Angles(math.rad(0-85*math.cos(sin/5)),0,0),.3)
  729. end
  730. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement