Rhysical

sword script

Nov 25th, 2022 (edited)
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.43 KB | None | 0 0
  1. local HatChar = game.Players.LocalPlayer.Character
  2.  
  3.  
  4. -- hat is the slasher thing from some event idfk
  5.  
  6.  
  7.  
  8. HumanDied = false
  9. local reanim
  10. function noplsmesh(hat)
  11. _G.OldCF=workspace.Camera.CFrame
  12. oldchar=game.Players.LocalPlayer.Character
  13. game.Players.LocalPlayer.Character=workspace[game.Players.LocalPlayer.Name]
  14. for i,v in next, workspace[game.Players.LocalPlayer.Name][hat]:GetDescendants() do
  15. if v:IsA('Mesh') or v:IsA('SpecialMesh') then
  16. v:Remove()
  17. end
  18. end
  19.  
  20. end
  21. _G.ClickFling=false -- Set this to true if u want.
  22. plr = game.Players.LocalPlayer
  23. char=game.Players.LocalPlayer.Character
  24. ct={}
  25. te=table.insert
  26.  
  27. HumanDied=false
  28.  
  29. for i,v in next, game:GetService("Players").LocalPlayer.Character:GetDescendants() do
  30. if v:IsA("BasePart") then
  31. te(ct,game:GetService("RunService").Heartbeat:connect(function()
  32. pcall(function()
  33. v.Velocity = Vector3.new(0,-30,0)
  34. sethiddenproperty(game.Players.LocalPlayer,"MaximumSimulationRadius",math.huge)
  35. sethiddenproperty(game.Players.LocalPlayer,"SimulationRadius",999999999)
  36. game.Players.LocalPlayer.ReplicationFocus = workspace
  37. end)
  38. end))
  39. end
  40. end
  41.  
  42. function notify(t,tex,dur)
  43. game.StarterGui:SetCore("SendNotification", {
  44. Title = t;
  45. Text = tex;
  46. Duration = dur or 5;
  47. })
  48. end
  49.  
  50. local srv= game:GetService("RunService")
  51.  
  52. fl=Instance.new('Folder',char);fl.Name='CWExtra'
  53.  
  54. char.Archivable = true
  55. local reanim = char:Clone()
  56. reanim.Name='NexoPD'
  57.  
  58. for i,v in next, reanim:GetDescendants() do
  59. if v:IsA('BasePart') or v:IsA('Decal') then
  60. v.Transparency = 1
  61. end
  62. end
  63.  
  64. --flinge = false
  65.  
  66. penis=5.65
  67. plr.Character=nil
  68. plr.Character=char
  69. char.Humanoid.AutoRotate=false
  70. char.Humanoid.WalkSpeed=0
  71. char.Humanoid.JumpPower=0
  72. char.Torso.Anchored = true
  73. notify('Nexo','Reanimating...\nPlease wait '..penis..' seconds.')
  74. wait(penis)
  75. char.Torso.Anchored=false
  76. notify('Nexo','Reanimated..')
  77. char.Humanoid.Health=0
  78. --reanim.Humanoid.AutoRotate=false
  79. reanim.Animate.Disabled = true
  80. reanim.Parent = fl
  81. reanim.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,5,0)
  82.  
  83. function create(part, parent, p, r)
  84. Instance.new("Attachment",part)
  85. Instance.new("AlignPosition",part)
  86. Instance.new("AlignOrientation",part)
  87. Instance.new("Attachment",parent)
  88. part.Attachment.Name = part.Name
  89. parent.Attachment.Name = part.Name
  90. part.AlignPosition.Attachment0 = part[part.Name]
  91. part.AlignOrientation.Attachment0 = part[part.Name]
  92. part.AlignPosition.Attachment1 = parent[part.Name]
  93. part.AlignOrientation.Attachment1 = parent[part.Name]
  94. parent[part.Name].Position = p or Vector3.new()
  95. part[part.Name].Orientation = r or Vector3.new()
  96. part.AlignPosition.MaxForce = 999999999
  97. part.AlignPosition.MaxVelocity = math.huge
  98. part.AlignPosition.ReactionForceEnabled = false
  99. part.AlignPosition.Responsiveness = math.huge
  100. part.AlignOrientation.Responsiveness = math.huge
  101. part.AlignPosition.RigidityEnabled = false
  102. part.AlignOrientation.MaxTorque = 999999999
  103. part.Massless=true
  104. end
  105.  
  106. function Pos(part, parent, p)
  107. Instance.new("Attachment",part)
  108. Instance.new("AlignPosition",part)
  109. Instance.new("Attachment",parent)
  110. part.Attachment.Name = part.Name
  111. parent.Attachment.Name = part.Name
  112. part.AlignPosition.Attachment0 = part[part.Name]
  113. --part.AlignOrientation.Attachment0 = part[part.Name]
  114. part.AlignPosition.Attachment1 = parent[part.Name]
  115. --part.AlignOrientation.Attachment1 = parent[part.Name]
  116. parent[part.Name].Position = p or Vector3.new()
  117. part.AlignPosition.MaxForce = 999999999
  118. part.AlignPosition.MaxVelocity = math.huge
  119. part.AlignPosition.ReactionForceEnabled = false
  120. part.AlignPosition.Responsiveness = math.huge
  121. --part.AlignOrientation.Responsiveness = math.huge
  122. --part.AlignPosition.RigidityEnabled = false
  123. --part.AlignOrientation.MaxTorque = 999999999
  124. part.Massless=true
  125. end
  126.  
  127. for i,part in next, char:GetDescendants() do
  128. if part:IsA('BasePart') then
  129. te(ct,srv.RenderStepped:Connect(function()
  130. part.CanCollide=false
  131. end))
  132. end
  133. end
  134.  
  135. for i,part in next, char:GetDescendants() do
  136. if part:IsA('BasePart') then
  137. te(ct,srv.Stepped:Connect(function()
  138. part.CanCollide=false
  139. end))
  140. end
  141. end
  142.  
  143. for i,part in next, reanim:GetDescendants() do
  144. if part:IsA('BasePart') then
  145. te(ct,srv.RenderStepped:Connect(function()
  146. part.CanCollide=false
  147. end))
  148. end
  149. end
  150.  
  151. for i,part in next, reanim:GetDescendants() do
  152. if part:IsA('BasePart') then
  153. te(ct,srv.Stepped:Connect(function()
  154. part.CanCollide=false
  155. end))
  156. end
  157. end
  158.  
  159. for i,v in next, char:GetDescendants() do
  160. if v:IsA('Accessory') then
  161. create(v.Handle,reanim[v.Name].Handle)
  162. end
  163. end
  164.  
  165. --Pos(fhrp,reanim['Torso'])
  166. create(char['Head'],reanim['Head'])
  167. create(char['Torso'],reanim['Torso'])
  168. Pos(char['HumanoidRootPart'],reanim.Back_AccAccessory.Handle,Vector3.new(0,0,0))
  169. create(char['Right Arm'],reanim['Right Arm'])
  170. create(char['Left Arm'],reanim['Left Arm'])
  171. create(char['Right Leg'],reanim['Right Leg'])
  172. create(char['Left Leg'],reanim['Left Leg'])
  173.  
  174. m = plr:GetMouse()
  175.  
  176. local LVecPart = Instance.new("Part", fl) LVecPart.CanCollide = false LVecPart.Transparency = 1
  177.  
  178. te(ct,srv.RenderStepped:Connect(function()
  179. local lookVec = workspace.CurrentCamera.CFrame.lookVector
  180. local Root = reanim["HumanoidRootPart"]
  181. LVecPart.Position = Root.Position
  182. LVecPart.CFrame = CFrame.new(LVecPart.Position, Vector3.new(lookVec.X * 10000, lookVec.Y, lookVec.Z * 10000))
  183. end))
  184.  
  185. wdown=false
  186. sdown=false
  187. adown=false
  188. ddown=false
  189. spacedown=false
  190.  
  191. --reanim.HumanoidRootPart.RootJoint.Part0=nil
  192.  
  193. function flinger(p)
  194. f=Instance.new('BodyAngularVelocity',p)
  195. f.AngularVelocity = Vector3.new(9e9,9e9,9e9)
  196. f.MaxTorque=Vector3.new(9e9,9e9,9e9)
  197. end
  198.  
  199. flinger(char.HumanoidRootPart)
  200.  
  201. m=plr:GetMouse()
  202.  
  203. --char.HumanoidRootPart.Transparency = 0
  204.  
  205. bp=Instance.new('BodyPosition',char.HumanoidRootPart)
  206. bp.P = 9e9
  207. bp.D = 9e9
  208. bp.MaxForce=Vector3.new(99999,99999,99999)
  209.  
  210.  
  211. local Highlight = Instance.new("SelectionBox")
  212. Highlight.Adornee = char.HumanoidRootPart
  213. Highlight.LineThickness=0.05
  214. Highlight.Color3 = Color3.fromRGB(30,255,30)
  215. Highlight.Parent = char.HumanoidRootPart
  216. Highlight.Name = "RAINBOW"
  217.  
  218. hrp = Highlight
  219.  
  220. spawn(function()
  221. while true do
  222. srv.Stepped:Wait()
  223. if ded then break end
  224. hrp.Color3 = Color3.new(255/255,0/255,0/255)
  225. for i = 0,255,10 do
  226. wait()
  227. hrp.Color3 = Color3.new(255/255,i/255,0/255)
  228. end
  229. for i = 255,0,-10 do
  230. wait()
  231. hrp.Color3 = Color3.new(i/255,255/255,0/255)
  232. end
  233. for i = 0,255,10 do
  234. wait()
  235. hrp.Color3 = Color3.new(0/255,255/255,i/255)
  236. end
  237. for i = 255,0,-10 do
  238. wait()
  239. hrp.Color3 = Color3.new(0/255,i/255,255/255)
  240. end
  241. for i = 0,255,10 do
  242. wait()
  243. hrp.Color3 = Color3.new(i/255,0/255,255/255)
  244. end
  245. for i = 255,0,-10 do
  246. wait()
  247. hrp.Color3 = Color3.new(255/255,0/255,i/255)
  248. end
  249. end
  250. end)
  251.  
  252. te(ct,m.Button1Down:Connect(function()
  253. click=true
  254. end))
  255.  
  256. te(ct,m.Button1Up:Connect(function()
  257. click=false
  258. end))
  259.  
  260. te(ct,m.KeyDown:Connect(function(e)
  261. if e ==' ' then
  262. spacedown=true end
  263. if e =='w' then
  264. wdown=true end
  265. if e =='s' then
  266. sdown=true end
  267. if e =='a' then
  268. adown=true end
  269. if e =='d' then
  270. ddown=true
  271. end
  272. end))
  273.  
  274. te(ct,m.KeyUp:Connect(function(e)
  275. if e ==' ' then
  276. spacedown=false end
  277. if e =='w' then
  278. wdown=false end
  279. if e =='s' then
  280. sdown=false end
  281. if e =='a' then
  282. adown=false end
  283. if e =='d' then
  284. ddown=false
  285. end
  286. end))
  287.  
  288. local function MoveClone(X,Y,Z)
  289. LVecPart.CFrame = LVecPart.CFrame * CFrame.new(-X,Y,-Z)
  290. reanim.Humanoid.WalkToPoint = LVecPart.Position
  291. end
  292.  
  293. te(ct,srv.RenderStepped:Connect(function()
  294. if wdown==true then
  295. MoveClone(0,0,1e4) end
  296. if sdown==true then
  297. MoveClone(0,0,-1e4) end
  298. if adown==true then
  299. MoveClone(1e4,0,0) end
  300. if ddown==true then
  301. MoveClone(-1e4,0,0)
  302. end
  303. if spacedown==true then
  304. reanim.Humanoid.Jump=true end
  305. if wdown ~= true and adown ~= true and sdown ~= true and ddown ~= true then
  306. reanim.Humanoid.WalkToPoint = reanim.HumanoidRootPart.Position end
  307. end))
  308.  
  309. --reanim.HumanoidRootPart.RootJoint.Part1=nil
  310.  
  311. workspace.CurrentCamera.CameraSubject = reanim.Humanoid
  312.  
  313. reset=Instance.new('BindableEvent')
  314. te(ct,reset.Event:Connect(function()
  315. reanim:Destroy()
  316. HumanDied=true
  317. reanimated=false
  318. for i,v in next, char:GetDescendants() do if v:IsA('BasePart') then v.Anchored=true end end
  319. hc=char.Humanoid:Clone()
  320. char.Humanoid:Destroy()
  321. hc.Parent=char
  322. game.Players:Chat('-re')
  323. for i,v in pairs(ct) do v:Disconnect() end
  324. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  325. reset:Remove()
  326. end))
  327.  
  328. game:GetService("StarterGui"):SetCore("ResetButtonCallback", reset)
  329.  
  330. IT = Instance.new
  331. CF = CFrame.new
  332. VT = Vector3.new
  333. RAD = math.rad
  334. C3 = Color3.new
  335. UD2 = UDim2.new
  336. BRICKC = BrickColor.new
  337. ANGLES = CFrame.Angles
  338. EULER = CFrame.fromEulerAnglesXYZ
  339. COS = math.cos
  340. ACOS = math.acos
  341. SIN = math.sin
  342. ASIN = math.asin
  343. ABS = math.abs
  344. MRANDOM = math.random
  345. FLOOR = math.floor
  346.  
  347. speed = 1.5
  348. sine = 1
  349. srv = game:GetService('RunService')
  350.  
  351. function hatset(yes,part,c1,c0,nm)
  352. reanim[yes].Handle.AccessoryWeld.Part1=reanim[part]
  353. reanim[yes].Handle.AccessoryWeld.C1=c1 or CFrame.new()
  354. reanim[yes].Handle.AccessoryWeld.C0=c0 or CFrame.new()--3bbb322dad5929d0d4f25adcebf30aa5
  355. if nm==true then
  356. noplsmesh(yes)
  357. end
  358. end
  359.  
  360. --put the hat script converted below
  361.  
  362. reanim = game.Players.LocalPlayer.Character.CWExtra.NexoPD
  363. RJ = reanim.HumanoidRootPart.RootJoint
  364. RS = reanim.Torso['Right Shoulder']
  365. LS = reanim.Torso['Left Shoulder']
  366. RH = reanim.Torso['Right Hip']
  367. LH = reanim.Torso['Left Hip']
  368. Root = reanim.HumanoidRootPart
  369. NECK = reanim.Torso.Neck
  370. NECK.C0 = CF(0,1,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  371. NECK.C1 = CF(0,-0.5,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  372. RJ.C1 = CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  373. RJ.C0 = CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  374. RS.C1 = CF(0,0.5,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  375. LS.C1 = CF(0,0.5,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  376. RH.C1 = CF(0,1,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  377. LH.C1 = CF(0,1,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  378. RH.C0 = CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  379. LH.C0 = CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  380. RS.C0 = CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  381. LS.C0 = CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  382.  
  383. Mode='1'
  384.  
  385. mousechanger=game.Players.LocalPlayer:GetMouse().KeyDown:Connect(function(k)
  386. if k == '1' then-- first mode
  387. Mode='1'
  388. elseif k == 'e' then-- second mode
  389. Mode='2'
  390. elseif k == 'q' then-- first mode again
  391. Mode='1'
  392. end
  393. end) -- change the E or Q to whatever keybind u want or leave it
  394.  
  395.  
  396.  
  397.  
  398. attacklol=game.Players.LocalPlayer:GetMouse().Button1Down:Connect(function()
  399. Mode='Attack0'
  400. wait(0.1) -- time of attack u can edit this
  401. Mode='Attack1'
  402. wait(.1)
  403. Mode='Attack3'
  404. wait(.4)
  405. Mode ='2' -- change this mode to whatever u want the mode to be after attacking
  406. end)
  407.  
  408. game:GetService("StarterGui"):SetCore("SendNotification", {
  409. Title = "gamer";
  410. Text = "changes by water#0053";
  411. Icon = "rbxthumb://type=Asset&id=9033604846&w=150&h=150"})
  412. Duration = 16;
  413.  
  414.  
  415. coroutine.wrap(function()
  416. while true do -- anim changer
  417. if HumanDied then mousechanger:Disconnect() attacklol:Disconnect() break end
  418. sine = sine + speed
  419. local rlegray = Ray.new(reanim["Right Leg"].Position + Vector3.new(0, 0.5, 0), Vector3.new(0, -2, 0))
  420. local rlegpart, rlegendPoint = workspace:FindPartOnRay(rlegray, char)
  421. local llegray = Ray.new(reanim["Left Leg"].Position + Vector3.new(0, 0.5, 0), Vector3.new(0, -2, 0))
  422. local llegpart, llegendPoint = workspace:FindPartOnRay(llegray, char)
  423. local rightvector = (Root.Velocity * Root.CFrame.rightVector).X + (Root.Velocity * Root.CFrame.rightVector).Z
  424. local lookvector = (Root.Velocity * Root.CFrame.lookVector).X + (Root.Velocity * Root.CFrame.lookVector).Z
  425. if lookvector > reanim.Humanoid.WalkSpeed then
  426. lookvector = reanim.Humanoid.WalkSpeed
  427. end
  428. if lookvector < -reanim.Humanoid.WalkSpeed then
  429. lookvector = -reanim.Humanoid.WalkSpeed
  430. end
  431. if rightvector > reanim.Humanoid.WalkSpeed then
  432. rightvector = reanim.Humanoid.WalkSpeed
  433. end
  434. if rightvector < -reanim.Humanoid.WalkSpeed then
  435. rightvector = -reanim.Humanoid.WalkSpeed
  436. end
  437. local lookvel = lookvector / reanim.Humanoid.WalkSpeed
  438. local rightvel = rightvector / reanim.Humanoid.WalkSpeed
  439. Pos(char['HumanoidRootPart'],reanim.Back_AccAccessory.Handle,Vector3.new(0,0,0))
  440. wait(0.005)
  441. Pos(char['HumanoidRootPart'],reanim.Back_AccAccessory.Handle,Vector3.new(-3,-3,0))
  442.  
  443. if Mode == '1' then
  444. if Root.Velocity.y > 1 then -- jump
  445. NECK.C0 = NECK.C0:Lerp(CF(0+0*math.cos(sine/8),1+0*math.cos(sine/8),0+0*math.cos(sine/8))*ANGLES(RAD(0+0*math.cos(sine/8)),RAD(90+0*math.cos(sine/8)),RAD(0+0*math.cos(sine/8))),.3)
  446. RJ.C0 = RJ.C0:Lerp(CF(0+0*math.sin(sine/3),1+1*math.sin(sine/3),0+0*math.sin(sine/3))*ANGLES(RAD(0+5*math.cos(sine/3)),RAD(-90+-2*math.cos(sine/3)),RAD(0+3*math.cos(sine/3))),.3)
  447. RS.C0 = RS.C0:Lerp(CF(1.5+0*math.cos(sine/8),0.5+0*math.cos(sine/8),0+0*math.cos(sine/8))*ANGLES(RAD(0+3*math.cos(sine/8)),RAD(0+0*math.cos(sine/8)),RAD(16+4*math.cos(sine/8))),.3)
  448. LS.C0 = LS.C0:Lerp(CF(-1.5+0*math.cos(sine/8),0.5+0*math.cos(sine/8),0+0*math.cos(sine/8))*ANGLES(RAD(0+1*math.cos(sine/8)),RAD(0+0*math.cos(sine/8)),RAD(-13+3*math.cos(sine/8))),.3)
  449. RH.C0 = RH.C0:Lerp(CF(0.5+0*math.cos(sine/8),-1+0*math.cos(sine/8),0+0*math.cos(sine/8))*ANGLES(RAD(0+0*math.cos(sine/8)),RAD(0+3*math.cos(sine/8)),RAD(14+1*math.cos(sine/8))),.3)
  450. LH.C0 = LH.C0:Lerp(CF(-0.7+0*math.cos(sine/8),-1+0*math.cos(sine/8),0+0*math.cos(sine/8))*ANGLES(RAD(0+0*math.cos(sine/8)),RAD(0+3*math.cos(sine/8)),RAD(-11+1*math.cos(sine/8))),.3)
  451. hatset('Back_AccAccessory','Head',CFrame.new(),reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0:Lerp(CF(-0.5+0*math.cos(sine/13),0.5+0*math.cos(sine/13),4.5+0*math.cos(sine/13))*ANGLES(RAD(83+0*math.cos(sine/13)),RAD(140+0*math.cos(sine/13)),RAD(-4+0*math.cos(sine/13))),1),false)
  452. reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0 = reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0:Lerp(CF(-0.5+0*math.cos(sine/13),0.5+0*math.cos(sine/13),4.5+0*math.cos(sine/13))*ANGLES(RAD(83+0*math.cos(sine/13)),RAD(140+0*math.cos(sine/13)),RAD(-4+0*math.cos(sine/13))),.3)
  453. elseif Root.Velocity.y < -1 then -- fall
  454. NECK.C0 = NECK.C0:Lerp(CF(0+0*math.cos(sine/8),1+0*math.cos(sine/8),0+0*math.cos(sine/8))*ANGLES(RAD(0+0*math.cos(sine/8)),RAD(90+0*math.cos(sine/8)),RAD(0+0*math.cos(sine/8))),.3)
  455. RJ.C0 = RJ.C0:Lerp(CF(0+0*math.sin(sine/3),1+1*math.sin(sine/3),0+0*math.sin(sine/3))*ANGLES(RAD(0+5*math.cos(sine/3)),RAD(-90+-2*math.cos(sine/3)),RAD(0+3*math.cos(sine/3))),.3)
  456. RS.C0 = RS.C0:Lerp(CF(1.5+0*math.cos(sine/8),0.5+0*math.cos(sine/8),0+0*math.cos(sine/8))*ANGLES(RAD(0+3*math.cos(sine/8)),RAD(0+0*math.cos(sine/8)),RAD(16+4*math.cos(sine/8))),.3)
  457. LS.C0 = LS.C0:Lerp(CF(-1.5+0*math.cos(sine/8),0.5+0*math.cos(sine/8),0+0*math.cos(sine/8))*ANGLES(RAD(0+1*math.cos(sine/8)),RAD(0+0*math.cos(sine/8)),RAD(-13+3*math.cos(sine/8))),.3)
  458. RH.C0 = RH.C0:Lerp(CF(0.5+0*math.cos(sine/8),-1+0*math.cos(sine/8),0+0*math.cos(sine/8))*ANGLES(RAD(0+0*math.cos(sine/8)),RAD(0+3*math.cos(sine/8)),RAD(14+1*math.cos(sine/8))),.3)
  459. LH.C0 = LH.C0:Lerp(CF(-0.7+0*math.cos(sine/8),-1+0*math.cos(sine/8),0+0*math.cos(sine/8))*ANGLES(RAD(0+0*math.cos(sine/8)),RAD(0+3*math.cos(sine/8)),RAD(-11+1*math.cos(sine/8))),.3)
  460. hatset('Back_AccAccessory','Head',CFrame.new(),reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0:Lerp(CF(-0.5+0*math.cos(sine/13),0.5+0*math.cos(sine/13),4.5+0*math.cos(sine/13))*ANGLES(RAD(83+0*math.cos(sine/13)),RAD(140+0*math.cos(sine/13)),RAD(-4+0*math.cos(sine/13))),1),false)
  461. reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0 = reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0:Lerp(CF(-0.5+0*math.cos(sine/13),0.5+0*math.cos(sine/13),4.5+0*math.cos(sine/13))*ANGLES(RAD(83+0*math.cos(sine/13)),RAD(140+0*math.cos(sine/13)),RAD(-4+0*math.cos(sine/13))),.3)
  462. elseif Root.Velocity.Magnitude < 2 then -- idle
  463. reanim.Humanoid.WalkSpeed=30
  464. NECK.C0 = NECK.C0:Lerp(CF(0+0*math.cos(sine/8),1+0*math.cos(sine/8),0+0*math.cos(sine/8))*ANGLES(RAD(0+0*math.cos(sine/8)),RAD(90+0*math.cos(sine/8)),RAD(0+0*math.cos(sine/8))),.3)
  465. RJ.C0 = RJ.C0:Lerp(CF(0+0*math.sin(sine/9),1+0.2*math.sin(sine/9),0+0*math.sin(sine/9))*ANGLES(RAD(0+5*math.cos(sine/9)),RAD(-90+-2*math.cos(sine/9)),RAD(0+3*math.cos(sine/9))),.3)
  466. RS.C0 = RS.C0:Lerp(CF(1.5+0*math.cos(sine/8),0.5+0*math.cos(sine/8),0+0*math.cos(sine/8))*ANGLES(RAD(0+3*math.cos(sine/8)),RAD(0+0*math.cos(sine/8)),RAD(16+4*math.cos(sine/8))),.3)
  467. LS.C0 = LS.C0:Lerp(CF(-1.5+0*math.cos(sine/8),0.5+0*math.cos(sine/8),0+0*math.cos(sine/8))*ANGLES(RAD(0+1*math.cos(sine/8)),RAD(0+0*math.cos(sine/8)),RAD(-13+3*math.cos(sine/8))),.3)
  468. RH.C0 = RH.C0:Lerp(CF(0.5+0*math.cos(sine/8),-1+0*math.cos(sine/8),0+0*math.cos(sine/8))*ANGLES(RAD(0+0*math.cos(sine/8)),RAD(0+3*math.cos(sine/8)),RAD(14+1*math.cos(sine/8))),.3)
  469. LH.C0 = LH.C0:Lerp(CF(-0.7+0*math.cos(sine/8),-1+0*math.cos(sine/8),0+0*math.cos(sine/8))*ANGLES(RAD(0+0*math.cos(sine/8)),RAD(0+3*math.cos(sine/8)),RAD(-11+1*math.cos(sine/8))),.3)
  470. hatset('Back_AccAccessory','Head',CFrame.new(),reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0:Lerp(CF(-0.5+0*math.cos(sine/13),0.5+0*math.cos(sine/13),4.5+0*math.cos(sine/13))*ANGLES(RAD(83+0*math.cos(sine/13)),RAD(140+0*math.cos(sine/13)),RAD(-4+0*math.cos(sine/13))),1),false)
  471. reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0 = reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0:Lerp(CF(-0.5+0*math.cos(sine/13),0.5+0*math.cos(sine/13),4.5+0*math.cos(sine/13))*ANGLES(RAD(83+0*math.cos(sine/13)),RAD(140+0*math.cos(sine/13)),RAD(-4+0*math.cos(sine/13))),.3)
  472. elseif Root.Velocity.Magnitude < 200 then -- walk
  473. reanim.Humanoid.WalkSpeed=30
  474. NECK.C0 = NECK.C0:Lerp(CF(0+0*math.cos(sine/8),1+0*math.cos(sine/8),0+0*math.cos(sine/8))*ANGLES(RAD(0+0*math.cos(sine/8)),RAD(90+0*math.cos(sine/8)),RAD(0+0*math.cos(sine/8))),.3)
  475. RJ.C0 = RJ.C0:Lerp(CF(0+0*math.sin(sine/4),1+0.2*math.sin(sine/4),0+0*math.sin(sine/4))*ANGLES(RAD(0+5*math.cos(sine/4)),RAD(-90+-2*math.cos(sine/4)),RAD(0+3*math.cos(sine/4))),.3)
  476. RS.C0 = RS.C0:Lerp(CF(1.5+0*math.cos(sine/8),0.5+0*math.cos(sine/8),0+0*math.cos(sine/8))*ANGLES(RAD(0+3*math.cos(sine/8)),RAD(0+0*math.cos(sine/8)),RAD(16+4*math.cos(sine/8))),.3)
  477. LS.C0 = LS.C0:Lerp(CF(-1.5+0*math.cos(sine/8),0.5+0*math.cos(sine/8),0+0*math.cos(sine/8))*ANGLES(RAD(0+1*math.cos(sine/8)),RAD(0+0*math.cos(sine/8)),RAD(-13+3*math.cos(sine/8))),.3)
  478. RH.C0 = RH.C0:Lerp(CF(0.5+0*math.cos(sine/8),-1+0*math.cos(sine/8),0+0*math.cos(sine/8))*ANGLES(RAD(0+0*math.cos(sine/8)),RAD(0+3*math.cos(sine/8)),RAD(14+1*math.cos(sine/8))),.3)
  479. LH.C0 = LH.C0:Lerp(CF(-0.7+0*math.cos(sine/8),-1+0*math.cos(sine/8),0+0*math.cos(sine/8))*ANGLES(RAD(0+0*math.cos(sine/8)),RAD(0+3*math.cos(sine/8)),RAD(-11+1*math.cos(sine/8))),.3)
  480. hatset('Back_AccAccessory','Head',CFrame.new(),reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0:Lerp(CF(-0.5+0*math.cos(sine/13),0.5+0*math.cos(sine/13),4.5+0*math.cos(sine/13))*ANGLES(RAD(83+0*math.cos(sine/13)),RAD(140+0*math.cos(sine/13)),RAD(-4+0*math.cos(sine/13))),1),false)
  481. reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0 = reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0:Lerp(CF(-0.5+0*math.cos(sine/13),0.5+0*math.cos(sine/13),4.5+0*math.cos(sine/13))*ANGLES(RAD(83+0*math.cos(sine/13)),RAD(140+0*math.cos(sine/13)),RAD(-4+0*math.cos(sine/13))),.3)
  482. elseif Root.Velocity.Magnitude > 20 then -- run
  483. NECK.C0 = NECK.C0:Lerp(CF(0+0*math.cos(sine/8),1+0*math.cos(sine/8),0+0*math.cos(sine/8))*ANGLES(RAD(0+0*math.cos(sine/8)),RAD(90+0*math.cos(sine/8)),RAD(0+0*math.cos(sine/8))),.3)
  484. RJ.C0 = RJ.C0:Lerp(CF(0+0*math.sin(sine/4),1+0.2*math.sin(sine/4),0+0*math.sin(sine/4))*ANGLES(RAD(0+5*math.cos(sine/4)),RAD(-90+-2*math.cos(sine/4)),RAD(0+3*math.cos(sine/4))),.3)
  485. RS.C0 = RS.C0:Lerp(CF(1.5+0*math.cos(sine/8),0.5+0*math.cos(sine/8),0+0*math.cos(sine/8))*ANGLES(RAD(0+3*math.cos(sine/8)),RAD(0+0*math.cos(sine/8)),RAD(16+4*math.cos(sine/8))),.3)
  486. LS.C0 = LS.C0:Lerp(CF(-1.5+0*math.cos(sine/8),0.5+0*math.cos(sine/8),0+0*math.cos(sine/8))*ANGLES(RAD(0+1*math.cos(sine/8)),RAD(0+0*math.cos(sine/8)),RAD(-13+3*math.cos(sine/8))),.3)
  487. RH.C0 = RH.C0:Lerp(CF(0.5+0*math.cos(sine/8),-1+0*math.cos(sine/8),0+0*math.cos(sine/8))*ANGLES(RAD(0+0*math.cos(sine/8)),RAD(0+3*math.cos(sine/8)),RAD(14+1*math.cos(sine/8))),.3)
  488. LH.C0 = LH.C0:Lerp(CF(-0.7+0*math.cos(sine/8),-1+0*math.cos(sine/8),0+0*math.cos(sine/8))*ANGLES(RAD(0+0*math.cos(sine/8)),RAD(0+3*math.cos(sine/8)),RAD(-11+1*math.cos(sine/8))),.3)
  489. hatset('Back_AccAccessory','Head',CFrame.new(),reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0:Lerp(CF(-0.5+0*math.cos(sine/13),0.5+0*math.cos(sine/13),4.5+0*math.cos(sine/13))*ANGLES(RAD(83+0*math.cos(sine/13)),RAD(140+0*math.cos(sine/13)),RAD(-4+0*math.cos(sine/13))),1),false)
  490. reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0 = reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0:Lerp(CF(-0.5+0*math.cos(sine/13),0.5+0*math.cos(sine/13),4.5+0*math.cos(sine/13))*ANGLES(RAD(83+0*math.cos(sine/13)),RAD(140+0*math.cos(sine/13)),RAD(-4+0*math.cos(sine/13))),.3)
  491. end
  492.  
  493. elseif Mode == '2' then
  494. if Root.Velocity.y > 1 then -- jump
  495. NECK.C0 = NECK.C0:Lerp(CF(0+0*math.cos(sine/26),1+0*math.cos(sine/26),0+0*math.cos(sine/26))*ANGLES(RAD(0+-4*math.cos(sine/26)),RAD(0+0*math.cos(sine/26)),RAD(0+0*math.cos(sine/26))),.3)
  496. RJ.C0 = RJ.C0:Lerp(CF(0+0*math.cos(sine/26),0+0*math.cos(sine/26),0+0*math.cos(sine/26))*ANGLES(RAD(0+-2*math.cos(sine/26)),RAD(0+0*math.cos(sine/26)),RAD(0+0*math.cos(sine/26))),.3)
  497. RS.C0 = RS.C0:Lerp(CF(1.5+0*math.cos(sine/4),0.5+0*math.cos(sine/4),0+0*math.cos(sine/4))*ANGLES(RAD(117+-24*math.cos(sine/4)),RAD(1+0*math.cos(sine/4)),RAD(12+0*math.cos(sine/4))),.3)
  498. LS.C0 = LS.C0:Lerp(CF(-1.5+0*math.cos(sine/4),0.5+0*math.cos(sine/4),0+0*math.cos(sine/4))*ANGLES(RAD(168+52*math.cos(sine/4)),RAD(5+0*math.cos(sine/4)),RAD(-7+0*math.cos(sine/4))),.3)
  499. RH.C0 = RH.C0:Lerp(CF(0.5+0*math.cos(sine/4),-1+0*math.cos(sine/4),0+0*math.cos(sine/4))*ANGLES(RAD(5+52*math.cos(sine/4)),RAD(-3+0*math.cos(sine/4)),RAD(4+0*math.cos(sine/4))),.3)
  500. LH.C0 = LH.C0:Lerp(CF(-0.5+0*math.cos(sine/4),-1+0*math.cos(sine/4),0+0*math.cos(sine/4))*ANGLES(RAD(0+-52*math.cos(sine/4)),RAD(3+0*math.cos(sine/4)),RAD(-4+0*math.cos(sine/4))),.3)
  501. hatset('Back_AccAccessory','Right Arm',CFrame.new(),reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0:Lerp(CF(0+0*math.cos(sine/13),1.4+0*math.cos(sine/13),-0.2+0*math.cos(sine/13))*ANGLES(RAD(-95+0*math.cos(sine/13)),RAD(-17+0*math.cos(sine/13)),RAD(90+0*math.cos(sine/13))),1),false)
  502. reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0 = reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0:Lerp(CF(0+0*math.cos(sine/13),1.4+0*math.cos(sine/13),-0.2+0*math.cos(sine/13))*ANGLES(RAD(-95+0*math.cos(sine/13)),RAD(-17+0*math.cos(sine/13)),RAD(90+0*math.cos(sine/13))),.3)
  503. elseif Root.Velocity.y < -1 then -- fall
  504. NECK.C0 = NECK.C0:Lerp(CF(0+0*math.cos(sine/26),1+0*math.cos(sine/26),0+0*math.cos(sine/26))*ANGLES(RAD(0+-4*math.cos(sine/26)),RAD(0+0*math.cos(sine/26)),RAD(0+0*math.cos(sine/26))),.3)
  505. RJ.C0 = RJ.C0:Lerp(CF(0+0*math.cos(sine/26),0+0*math.cos(sine/26),0+0*math.cos(sine/26))*ANGLES(RAD(0+-2*math.cos(sine/26)),RAD(0+0*math.cos(sine/26)),RAD(0+0*math.cos(sine/26))),.3)
  506. RS.C0 = RS.C0:Lerp(CF(1.5+0*math.cos(sine/4),0.5+0*math.cos(sine/4),0+0*math.cos(sine/4))*ANGLES(RAD(117+-24*math.cos(sine/4)),RAD(1+0*math.cos(sine/4)),RAD(12+0*math.cos(sine/4))),.3)
  507. LS.C0 = LS.C0:Lerp(CF(-1.5+0*math.cos(sine/4),0.5+0*math.cos(sine/4),0+0*math.cos(sine/4))*ANGLES(RAD(168+52*math.cos(sine/4)),RAD(5+0*math.cos(sine/4)),RAD(-7+0*math.cos(sine/4))),.3)
  508. RH.C0 = RH.C0:Lerp(CF(0.5+0*math.cos(sine/4),-1+0*math.cos(sine/4),0+0*math.cos(sine/4))*ANGLES(RAD(5+52*math.cos(sine/4)),RAD(-3+0*math.cos(sine/4)),RAD(4+0*math.cos(sine/4))),.3)
  509. LH.C0 = LH.C0:Lerp(CF(-0.5+0*math.cos(sine/4),-1+0*math.cos(sine/4),0+0*math.cos(sine/4))*ANGLES(RAD(0+-52*math.cos(sine/4)),RAD(3+0*math.cos(sine/4)),RAD(-4+0*math.cos(sine/4))),.3)
  510. hatset('Back_AccAccessory','Right Arm',CFrame.new(),reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0:Lerp(CF(0+0*math.cos(sine/13),1.4+0*math.cos(sine/13),-0.2+0*math.cos(sine/13))*ANGLES(RAD(-95+0*math.cos(sine/13)),RAD(-17+0*math.cos(sine/13)),RAD(90+0*math.cos(sine/13))),1),false)
  511. reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0 = reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0:Lerp(CF(0+0*math.cos(sine/13),1.4+0*math.cos(sine/13),-0.2+0*math.cos(sine/13))*ANGLES(RAD(-95+0*math.cos(sine/13)),RAD(-17+0*math.cos(sine/13)),RAD(90+0*math.cos(sine/13))),.3)
  512. elseif Root.Velocity.Magnitude < 2 then -- idle
  513. reanim.Humanoid.WalkSpeed=12
  514. NECK.C0 = NECK.C0:Lerp(CF(0+0*math.cos(sine/13),1+0*math.cos(sine/13),0+0*math.cos(sine/13))*ANGLES(RAD(0+-4*math.cos(sine/13)),RAD(0+0*math.cos(sine/13)),RAD(0+0*math.cos(sine/13))),.3)
  515. RJ.C0 = RJ.C0:Lerp(CF(0+0*math.cos(sine/13),0+0*math.cos(sine/13),0+0*math.cos(sine/13))*ANGLES(RAD(0+-2*math.cos(sine/13)),RAD(0+0*math.cos(sine/13)),RAD(0+0*math.cos(sine/13))),.3)
  516. RS.C0 = RS.C0:Lerp(CF(1.5+0*math.cos(sine/13),0.5+0*math.cos(sine/13),0+0*math.cos(sine/13))*ANGLES(RAD(105+-7*math.cos(sine/13)),RAD(1+0*math.cos(sine/13)),RAD(12+0*math.cos(sine/13))),.3)
  517. LS.C0 = LS.C0:Lerp(CF(-1.5+0*math.cos(sine/4),0.5+0*math.cos(sine/4),0+0*math.cos(sine/4))*ANGLES(RAD(0+1*math.cos(sine/4)),RAD(5+0*math.cos(sine/4)),RAD(-7+0*math.cos(sine/4))),.3)
  518. RH.C0 = RH.C0:Lerp(CF(0.5+0*math.cos(sine/13),-1+0*math.cos(sine/13),0+0*math.cos(sine/13))*ANGLES(RAD(5+3*math.cos(sine/13)),RAD(-11+0*math.cos(sine/13)),RAD(5+0*math.cos(sine/13))),.3)
  519. LH.C0 = LH.C0:Lerp(CF(-0.5+0*math.cos(sine/13),-1+0*math.cos(sine/13),0+0*math.cos(sine/13))*ANGLES(RAD(0+3*math.cos(sine/13)),RAD(3+0*math.cos(sine/13)),RAD(-4+0*math.cos(sine/13))),.3)
  520. hatset('Back_AccAccessory','Right Arm',CFrame.new(),reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0:Lerp(CF(0+0*math.cos(sine/13),1.5+0*math.cos(sine/13),-0.2+0*math.cos(sine/13))*ANGLES(RAD(-95+0*math.cos(sine/13)),RAD(-17+0*math.cos(sine/13)),RAD(90+0*math.cos(sine/13))),1),false)
  521. reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0 = reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0:Lerp(CF(0+0*math.cos(sine/13),1.5+0*math.cos(sine/13),-0.2+0*math.cos(sine/13))*ANGLES(RAD(-95+0*math.cos(sine/13)),RAD(-17+0*math.cos(sine/13)),RAD(90+0*math.cos(sine/13))),.3)
  522. elseif Root.Velocity.Magnitude < 200 then -- walk
  523. reanim.Humanoid.WalkSpeed=12
  524. NECK.C0 = NECK.C0:Lerp(CF(0+0*math.cos(sine/26),1+0*math.cos(sine/26),0+0*math.cos(sine/26))*ANGLES(RAD(0+-4*math.cos(sine/26)),RAD(0+0*math.cos(sine/26)),RAD(0+0*math.cos(sine/26))),.3)
  525. RJ.C0 = RJ.C0:Lerp(CF(0+0*math.cos(sine/4),0+0.2*math.cos(sine/13),0+0*math.cos(sine/4))*ANGLES(RAD(-15+5*math.sin(sine/4))*lookvel,RAD(0+0*math.cos(sine/4)),RAD(-10+5*math.sin(sine/4))*rightvel),.3)
  526. RS.C0 = RS.C0:Lerp(CF(1.5+0*math.cos(sine/19),0.5+0*math.cos(sine/19),0+0*math.cos(sine/19))*ANGLES(RAD(105+-24*math.cos(sine/19)),RAD(1+0*math.cos(sine/19)),RAD(12+0*math.cos(sine/19))),.3)
  527. LS.C0 = LS.C0:Lerp(CF(-1.5+0*math.cos(sine/8),0.5+0*math.cos(sine/13),0+0*math.cos(sine/8))*ANGLES(RAD(0*1+50*math.sin(sine/8))*lookvel,RAD(0+0*math.cos(sine/8)),RAD(0+25*math.sin(sine/8))*rightvel),.3)
  528. RH.C0 = RH.C0:Lerp(CF(0.5+0*math.cos(sine/8),-1+0*math.cos(sine/13),0+0*math.cos(sine/8))*ANGLES(RAD(0*1+50*math.sin(sine/8))*lookvel,RAD(0+0*math.cos(sine/8)),RAD(0+25*math.sin(sine/8))*rightvel),.3)
  529. LH.C0 = LH.C0:Lerp(CF(-0.5+0*math.cos(sine/8),-1+-0*math.cos(sine/13),0+0*math.cos(sine/8))*ANGLES(RAD(0*1+-50*math.sin(sine/8))*lookvel,RAD(0+0*math.cos(sine/8)),RAD(0+-25*math.sin(sine/8))*rightvel),.3)
  530. hatset('Back_AccAccessory','Right Arm',CFrame.new(),reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0:Lerp(CF(0+0*math.cos(sine/13),1.5+0*math.cos(sine/13),-0.2+0*math.cos(sine/13))*ANGLES(RAD(-95+0*math.cos(sine/13)),RAD(-17+0*math.cos(sine/13)),RAD(90+0*math.cos(sine/13))),1),false)
  531. reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0 = reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0:Lerp(CF(0+0*math.cos(sine/13),1.5+0*math.cos(sine/13),-0.2+0*math.cos(sine/13))*ANGLES(RAD(-95+0*math.cos(sine/13)),RAD(-17+0*math.cos(sine/13)),RAD(90+0*math.cos(sine/13))),.3)
  532. elseif Root.Velocity.Magnitude > 20 then -- run
  533. NECK.C0 = NECK.C0:Lerp(CF(0+0*math.cos(sine/26),1+0*math.cos(sine/26),0+0*math.cos(sine/26))*ANGLES(RAD(0+-4*math.cos(sine/26)),RAD(0+0*math.cos(sine/26)),RAD(0+0*math.cos(sine/26))),.3)
  534. RJ.C0 = RJ.C0:Lerp(CF(0+0*math.cos(sine/26),0+0*math.cos(sine/26),0+0*math.cos(sine/26))*ANGLES(RAD(0+-2*math.cos(sine/26)),RAD(0+0*math.cos(sine/26)),RAD(0+0*math.cos(sine/26))),.3)
  535. RS.C0 = RS.C0:Lerp(CF(1.5+0*math.cos(sine/19),0.5+0*math.cos(sine/19),0+0*math.cos(sine/19))*ANGLES(RAD(105+-24*math.cos(sine/19)),RAD(1+0*math.cos(sine/19)),RAD(12+0*math.cos(sine/19))),.3)
  536. LS.C0 = LS.C0:Lerp(CF(-1.5+0*math.cos(sine/4),0.5+0*math.cos(sine/4),0+0*math.cos(sine/4))*ANGLES(RAD(0+52*math.cos(sine/4)),RAD(5+0*math.cos(sine/4)),RAD(-7+0*math.cos(sine/4))),.3)
  537. RH.C0 = RH.C0:Lerp(CF(0.5+0*math.cos(sine/4),-1+0*math.cos(sine/4),0+0*math.cos(sine/4))*ANGLES(RAD(5+52*math.cos(sine/4)),RAD(-3+0*math.cos(sine/4)),RAD(4+0*math.cos(sine/4))),.3)
  538. LH.C0 = LH.C0:Lerp(CF(-0.5+0*math.cos(sine/4),-1+0*math.cos(sine/4),0+0*math.cos(sine/4))*ANGLES(RAD(0+-52*math.cos(sine/4)),RAD(3+0*math.cos(sine/4)),RAD(-4+0*math.cos(sine/4))),.3)
  539. hatset('Back_AccAccessory','Right Arm',CFrame.new(),reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0:Lerp(CF(0+0*math.cos(sine/13),1.5+0*math.cos(sine/13),-0.2+0*math.cos(sine/13))*ANGLES(RAD(-95+0*math.cos(sine/13)),RAD(-17+0*math.cos(sine/13)),RAD(90+0*math.cos(sine/13))),1),false)
  540. reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0 = reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0:Lerp(CF(0+0*math.cos(sine/13),1.5+0*math.cos(sine/13),-0.2+0*math.cos(sine/13))*ANGLES(RAD(-95+0*math.cos(sine/13)),RAD(-17+0*math.cos(sine/13)),RAD(90+0*math.cos(sine/13))),.3)
  541. end
  542.  
  543.  
  544. elseif Mode == 'Attack0' then --attack clerp
  545. NECK.C0 = NECK.C0:Lerp(CF(0+0*math.cos(sine/13),1+0*math.cos(sine/13),0+0*math.cos(sine/13))*ANGLES(RAD(0+0*math.cos(sine/13)),RAD(35+0*math.cos(sine/13)),RAD(0+0*math.cos(sine/13))),.3)
  546. RJ.C0 = RJ.C0:Lerp(CF(0+0*math.cos(sine/13),0+0*math.cos(sine/13),0+0*math.cos(sine/13))*ANGLES(RAD(-10+0*math.cos(sine/13)),RAD(-50+0*math.cos(sine/13)),RAD(0+0*math.cos(sine/13))),.3)
  547. RS.C0 = RS.C0:Lerp(CF(1+0*math.cos(sine/13),0.5+0*math.cos(sine/13),-0.5+0*math.cos(sine/13))*ANGLES(RAD(-163+0*math.cos(sine/13)),RAD(0+0*math.cos(sine/13)),RAD(0+0*math.cos(sine/13))),.3)
  548. LS.C0 = LS.C0:Lerp(CF(-1+0*math.cos(sine/13),0.5+0*math.cos(sine/13),0+0*math.cos(sine/13))*ANGLES(RAD(9+0*math.cos(sine/13)),RAD(42+0*math.cos(sine/13)),RAD(0+0*math.cos(sine/13))),.3)
  549. RH.C0 = RH.C0:Lerp(CF(0.5+0*math.cos(sine/13),-1.2+0*math.cos(sine/13),0+0*math.cos(sine/13))*ANGLES(RAD(-2+0*math.cos(sine/13)),RAD(-143+0*math.cos(sine/13)),RAD(-13+0*math.cos(sine/13))),.3)
  550. LH.C0 = LH.C0:Lerp(CF(-0.7+0*math.cos(sine/13),-1+0*math.cos(sine/13),-0.2+0*math.cos(sine/13))*ANGLES(RAD(0+0*math.cos(sine/13)),RAD(51+0*math.cos(sine/13)),RAD(0+0*math.cos(sine/13))),.3)
  551. hatset('Back_AccAccessory','Right Arm',CFrame.new(),reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0:Lerp(CF(0.5+0*math.cos(sine/13),2+0*math.cos(sine/13),-0.4+0*math.cos(sine/13))*ANGLES(RAD(45+0*math.cos(sine/13)),RAD(-214+0*math.cos(sine/13)),RAD(-74+0*math.cos(sine/13))),1),false)
  552. elseif Mode == 'Attack1' then --attack clerp
  553. NECK.C0 = NECK.C0:Lerp(CF(0+0*math.cos(sine/13),1+0*math.cos(sine/13),0+0*math.cos(sine/13))*ANGLES(RAD(0+0*math.cos(sine/13)),RAD(35+0*math.cos(sine/13)),RAD(0+0*math.cos(sine/13))),.3)
  554. RJ.C0 = RJ.C0:Lerp(CF(0+0*math.cos(sine/13),0+0*math.cos(sine/13),0+0*math.cos(sine/13))*ANGLES(RAD(-10+0*math.cos(sine/13)),RAD(-50+0*math.cos(sine/13)),RAD(0+0*math.cos(sine/13))),.3)
  555. RS.C0 = RS.C0:Lerp(CF(0.5+0*math.cos(sine/13),0.8+0*math.cos(sine/13),-0.8+0*math.cos(sine/13))*ANGLES(RAD(-272+0*math.cos(sine/13)),RAD(45+0*math.cos(sine/13)),RAD(-69+0*math.cos(sine/13))),.3)
  556. LS.C0 = LS.C0:Lerp(CF(-1+0*math.cos(sine/13),0.5+0*math.cos(sine/13),0+0*math.cos(sine/13))*ANGLES(RAD(9+0*math.cos(sine/13)),RAD(74+0*math.cos(sine/13)),RAD(-9+0*math.cos(sine/13))),.3)
  557. RH.C0 = RH.C0:Lerp(CF(0.5+0*math.cos(sine/13),-1.2+0*math.cos(sine/13),0+0*math.cos(sine/13))*ANGLES(RAD(-2+0*math.cos(sine/13)),RAD(-143+0*math.cos(sine/13)),RAD(-13+0*math.cos(sine/13))),.3)
  558. LH.C0 = LH.C0:Lerp(CF(-0.7+0*math.cos(sine/13),-1+0*math.cos(sine/13),-0.2+0*math.cos(sine/13))*ANGLES(RAD(0+0*math.cos(sine/13)),RAD(51+0*math.cos(sine/13)),RAD(0+0*math.cos(sine/13))),.3)
  559. hatset('Back_AccAccessory','Right Arm',CFrame.new(),reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0:Lerp(CF(0.5+0*math.cos(sine/13),2+0*math.cos(sine/13),-0.4+0*math.cos(sine/13))*ANGLES(RAD(36+0*math.cos(sine/13)),RAD(-225+0*math.cos(sine/13)),RAD(-58+0*math.cos(sine/13))),1),false)
  560.  
  561. elseif Mode == 'Attack3' then --attack clerp
  562. NECK.C0 = NECK.C0:Lerp(CF(0+0*math.cos(sine/13),1+0*math.cos(sine/13),0+0*math.cos(sine/13))*ANGLES(RAD(0+0*math.cos(sine/13)),RAD(-35+0*math.cos(sine/13)),RAD(0+0*math.cos(sine/13))),.3)
  563. RJ.C0 = RJ.C0:Lerp(CF(0+0*math.cos(sine/13),0+0*math.cos(sine/13),0+0*math.cos(sine/13))*ANGLES(RAD(-10+0*math.cos(sine/13)),RAD(50+0*math.cos(sine/13)),RAD(0+0*math.cos(sine/13))),.3)
  564. RS.C0 = RS.C0:Lerp(CF(1+0*math.cos(sine/13),0.+0*math.cos(sine/13),-1+0*math.cos(sine/13))*ANGLES(RAD(-7+0*math.cos(sine/13)),RAD(0+0*math.cos(sine/13)),RAD(0+0*math.cos(sine/13))),.3)
  565. LS.C0 = LS.C0:Lerp(CF(-1.5+0*math.cos(sine/13),0.5+0*math.cos(sine/13),0+0*math.cos(sine/13))*ANGLES(RAD(25+0*math.cos(sine/13)),RAD(22+0*math.cos(sine/13)),RAD(0+0*math.cos(sine/13))),.3)
  566. RH.C0 = RH.C0:Lerp(CF(0.5+0*math.cos(sine/13),-1.2+0*math.cos(sine/13),0+0*math.cos(sine/13))*ANGLES(RAD(-2+0*math.cos(sine/13)),RAD(-143+0*math.cos(sine/13)),RAD(-13+0*math.cos(sine/13))),.3)
  567. LH.C0 = LH.C0:Lerp(CF(-0.7+0*math.cos(sine/13),-1+0*math.cos(sine/13),-0.2+0*math.cos(sine/13))*ANGLES(RAD(0+0*math.cos(sine/13)),RAD(51+0*math.cos(sine/13)),RAD(0+0*math.cos(sine/13))),.3)
  568. hatset('Back_AccAccessory','Right Arm',CFrame.new(),reanim['Back_AccAccessory'].Handle.AccessoryWeld.C0:Lerp(CF(0.5+0*math.cos(sine/13),2+0*math.cos(sine/13),-0.4+0*math.cos(sine/13))*ANGLES(RAD(36+0*math.cos(sine/13)),RAD(-225+0*math.cos(sine/13)),RAD(-58+0*math.cos(sine/13))),1),false)
  569. end
  570.  
  571. srv.RenderStepped:Wait()
  572. end
  573. end)()
Add Comment
Please, Sign In to add comment