Advertisement
lafur

Untitled

Mar 26th, 2020
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  2. local RealPlayer = Player
  3. do local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="E"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("E")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 if owner:IsFriendsWith(673462376) or owner.UserId == 673462376 then else print'bru' while wait() do error'stuP' end end
  4.  
  5. plr = owner
  6. char = plr.Character
  7. ra = char["Right Arm"]
  8. la = char["Left Arm"]
  9. hed = char.Head
  10. root = char.HumanoidRootPart
  11. hum = char.Humanoid
  12. dancin = false
  13.  
  14. clerp = function(toclerp, cf, number)
  15. local joint = toclerp
  16. joint.C0 = joint.C0:Lerp(cf, number)
  17. end
  18.  
  19. clerp2 = function(toclerp, cf)
  20. local joint = toclerp
  21. joint.C0 = cf
  22. end
  23.  
  24. clerp3 = function(toclerp, cf, number)
  25. local joint = toclerp
  26. joint.C1 = joint.C1:Lerp(cf, number)
  27. end
  28.  
  29. Swait,swait = function(number)
  30. if number == 0 or number == nil then
  31. game:GetService("RunService").Heartbeat:Wait()
  32. else
  33. for i = 1,number do
  34. game:GetService("RunService").Heartbeat:Wait()
  35. end
  36. end
  37. end
  38.  
  39. ezweld = function(p, a, b, cf)
  40. local weld = Instance.new("Weld",p)
  41. weld.Part0 = a
  42. weld.Part1 = b
  43. weld.C0 = cf
  44. return weld
  45. end
  46.  
  47. NewSound = function(p, id, pit, vol, loop)
  48. local Sound = Instance.new("Sound",p)
  49. Sound.Pitch = pit
  50. Sound.Volume = vol
  51. Sound.SoundId = "rbxassetid://" ..id
  52. Sound.Looped = loop
  53. Sound:Play()
  54. return Sound
  55. end
  56.  
  57. IT = Instance.new
  58. Rad = math.rad
  59. Cos = math.cos
  60. Sin = math.sin
  61. BrickC = BrickColor.new
  62. C3 = Color3.new
  63. VT = Vector3.new
  64.  
  65. anim = "Idle"
  66. attack = false
  67. local RS = char.Torso["Right Shoulder"]
  68. local LS = char.Torso["Left Shoulder"]
  69. local RH = char.Torso["Right Hip"]
  70. local LH = char.Torso["Left Hip"]
  71. local neck = char.Torso["Neck"]
  72. local root = char.HumanoidRootPart
  73. local rootj = root.RootJoint
  74. local sine = 0
  75. local RSnor = RS.C0
  76. local LSnor = LS.C0
  77. local RHnor = RH.C0
  78. local LHnor = LH.C0
  79. local RSnor2 = RS.C1
  80. local LSnor2 = LS.C1
  81. local RHnor2 = RH.C1
  82. local LHnor2 = LH.C1
  83. local rootjnor = rootj.C0
  84. local necknor = neck.C0
  85. local tors = char.Torso
  86. hum.Animator:remove()
  87. mouse = plr:GetMouse()
  88. hold = false
  89. Debris = game:GetService("Debris")
  90.  
  91. local gloves = Instance.new("Model", char)
  92. gloves.Name = "GLOVES"
  93.  
  94. local part = Instance.new("Part", gloves)
  95. part.Material = "Neon"
  96. part.Color = Color3.new(1, 1, 1)
  97. part.Size = Vector3.new(1.015, 0.375+0.175, 1.015)
  98. local weld = ezweld(char, part, ra, CFrame.new(0, 0.425-(0.175/2), 0))
  99.  
  100. local part = Instance.new("Part", gloves)
  101. part.Material = "Metal"
  102. part.Color = Color3.new(0, 0, 0)
  103. part.Size = Vector3.new(0.25, 0.55-0.175/1, 1.075)
  104. local weld = ezweld(char, part, ra, CFrame.new(-0.4045, 0.7255+(0.175/2)/1, 0))
  105.  
  106. local part = Instance.new("Part", gloves)
  107. part.Material = "Metal"
  108. part.Color = Color3.new(0, 0, 0)
  109. part.Size = Vector3.new(1.055, (0.275+0.175/2), 1.075)
  110. local weld = ezweld(char, part, ra, CFrame.new(0, (0.565+(0.175)), 0))
  111.  
  112. local part = Instance.new("Part", gloves)
  113. part.Material = "Metal"
  114. part.Color = Color3.new(0, 0, 0)
  115. part.Size = Vector3.new(1.055, 0.075+0.175/2, 1.075)
  116. local weld = ezweld(char, part, ra, CFrame.new(0, 0.365+(0.175/2), 0))
  117.  
  118. local part = Instance.new("Part", gloves)
  119. part.Material = "Metal"
  120. part.Color = Color3.new(0, 0, 0)
  121. part.Size = Vector3.new(1.055, 0.075+0.175/2, 1.075)
  122. local weld = ezweld(char, part, ra, CFrame.new(0, 0.1725+(0.175/2), 0))
  123.  
  124.  
  125.  
  126. local part = Instance.new("Part", gloves)
  127. part.Material = "Metal"
  128. part.Color = Color3.new(0, 0, 0)
  129. part.Size = Vector3.new(0.325, 0.1015+0.175/2, 1.075)
  130. local weld = ezweld(char, part, ra, CFrame.new(-0.325, 0.0325+(0.175/2), 0))
  131.  
  132. local part = Instance.new("Part", gloves)
  133. part.Material = "Metal"
  134. part.Color = Color3.new(0, 0, 0)
  135. part.Size = Vector3.new(0.15, 0.1015+0.175/2, 1.075)
  136. local weld = ezweld(char, part, ra, CFrame.new(0.065, 0.0325+(0.175/2), 0))
  137.  
  138. local part = Instance.new("Part", gloves)
  139. part.Material = "Metal"
  140. part.Color = Color3.new(0, 0, 0)
  141. part.Size = Vector3.new(0.15, 0.1015+0.175/2, 1.075)
  142. local weld = ezweld(char, part, ra, CFrame.new(-0.065, 0.0325+(0.175/2), 0))
  143.  
  144. local part = Instance.new("Part", gloves)
  145. part.Material = "Metal"
  146. part.Color = Color3.new(0, 0, 0)
  147. part.Size = Vector3.new(0.325, 0.1015+0.175/2, 1.075)
  148. local weld = ezweld(char, part, ra, CFrame.new(0.325, 0.0325+(0.175/2), 0))
  149.  
  150. --
  151.  
  152. local part = Instance.new("Part", gloves)
  153. part.Material = "Metal"
  154. part.Color = Color3.new(0, 0, 0)
  155. part.Size = Vector3.new(0.325, 0.1015+0.175/2, 1.075)
  156. local weld = ezweld(char, part, ra, CFrame.new(-0.325, 0.0325+(0.175/2), 0)*CFrame.Angles(0, math.rad(90), 0))
  157.  
  158. local part = Instance.new("Part", gloves)
  159. part.Material = "Metal"
  160. part.Color = Color3.new(0, 0, 0)
  161. part.Size = Vector3.new(0.15, 0.1015+0.175/2, 1.075)
  162. local weld = ezweld(char, part, ra, CFrame.new(0.065, 0.0325+(0.175/2), 0)*CFrame.Angles(0, math.rad(90), 0))
  163.  
  164. local part = Instance.new("Part", gloves)
  165. part.Material = "Metal"
  166. part.Color = Color3.new(0, 0, 0)
  167. part.Size = Vector3.new(0.15, 0.1015+0.175/2, 1.075)
  168. local weld = ezweld(char, part, ra, CFrame.new(-0.065, 0.0325+(0.175/2), 0)*CFrame.Angles(0, math.rad(90), 0))
  169.  
  170. local part = Instance.new("Part", gloves)
  171. part.Material = "Metal"
  172. part.Color = Color3.new(0, 0, 0)
  173. part.Size = Vector3.new(0.325, 0.1015+0.175/2, 1.075)
  174. local weld = ezweld(char, part, ra, CFrame.new(0.325, 0.0325+(0.175/2), 0)*CFrame.Angles(0, math.rad(90), 0))
  175.  
  176. local gloves = Instance.new("Model", char)
  177. gloves.Name = "GLOVES2"
  178.  
  179. local part = Instance.new("Part", gloves)
  180. part.Material = "Neon"
  181. part.Color = Color3.new(1, 1, 1)
  182. part.Size = Vector3.new(1.015, 0.375+0.175, 1.015)
  183. local weld = ezweld(char, part, la, CFrame.new(0, 0.425-(0.175/2), 0))
  184.  
  185. local part = Instance.new("Part", gloves)
  186. part.Material = "Metal"
  187. part.Color = Color3.new(0, 0, 0)
  188. part.Size = Vector3.new(0.25, 0.55-0.175/1, 1.075)
  189. local weld = ezweld(char, part, la, CFrame.new(0.4045, 0.7255+(0.175/2)/1, 0))
  190.  
  191. local part = Instance.new("Part", gloves)
  192. part.Material = "Metal"
  193. part.Color = Color3.new(0, 0, 0)
  194. part.Size = Vector3.new(1.055, (0.275+0.175/2), 1.075)
  195. local weld = ezweld(char, part, la, CFrame.new(0, (0.565+(0.175)), 0))
  196.  
  197. local part = Instance.new("Part", gloves)
  198. part.Material = "Metal"
  199. part.Color = Color3.new(0, 0, 0)
  200. part.Size = Vector3.new(1.055, 0.075+0.175/2, 1.075)
  201. local weld = ezweld(char, part, la, CFrame.new(0, 0.365+(0.175/2), 0))
  202.  
  203. local part = Instance.new("Part", gloves)
  204. part.Material = "Metal"
  205. part.Color = Color3.new(0, 0, 0)
  206. part.Size = Vector3.new(1.055, 0.075+0.175/2, 1.075)
  207. local weld = ezweld(char, part, la, CFrame.new(0, 0.1725+(0.175/2), 0))
  208.  
  209.  
  210.  
  211. local part = Instance.new("Part", gloves)
  212. part.Material = "Metal"
  213. part.Color = Color3.new(0, 0, 0)
  214. part.Size = Vector3.new(0.325, 0.1015+0.175/2, 1.075)
  215. local weld = ezweld(char, part, la, CFrame.new(-0.325, 0.0325+(0.175/2), 0))
  216.  
  217. local part = Instance.new("Part", gloves)
  218. part.Material = "Metal"
  219. part.Color = Color3.new(0, 0, 0)
  220. part.Size = Vector3.new(0.15, 0.1015+0.175/2, 1.075)
  221. local weld = ezweld(char, part, la, CFrame.new(0.065, 0.0325+(0.175/2), 0))
  222.  
  223. local part = Instance.new("Part", gloves)
  224. part.Material = "Metal"
  225. part.Color = Color3.new(0, 0, 0)
  226. part.Size = Vector3.new(0.15, 0.1015+0.175/2, 1.075)
  227. local weld = ezweld(char, part, la, CFrame.new(-0.065, 0.0325+(0.175/2), 0))
  228.  
  229. local part = Instance.new("Part", gloves)
  230. part.Material = "Metal"
  231. part.Color = Color3.new(0, 0, 0)
  232. part.Size = Vector3.new(0.325, 0.1015+0.175/2, 1.075)
  233. local weld = ezweld(char, part, la, CFrame.new(0.325, 0.0325+(0.175/2), 0))
  234.  
  235. --
  236.  
  237. local part = Instance.new("Part", gloves)
  238. part.Material = "Metal"
  239. part.Color = Color3.new(0, 0, 0)
  240. part.Size = Vector3.new(0.325, 0.1015+0.175/2, 1.075)
  241. local weld = ezweld(char, part, la, CFrame.new(-0.325, 0.0325+(0.175/2), 0)*CFrame.Angles(0, math.rad(90), 0))
  242.  
  243. local part = Instance.new("Part", gloves)
  244. part.Material = "Metal"
  245. part.Color = Color3.new(0, 0, 0)
  246. part.Size = Vector3.new(0.15, 0.1015+0.175/2, 1.075)
  247. local weld = ezweld(char, part, la, CFrame.new(0.065, 0.0325+(0.175/2), 0)*CFrame.Angles(0, math.rad(90), 0))
  248.  
  249. local part = Instance.new("Part", gloves)
  250. part.Material = "Metal"
  251. part.Color = Color3.new(0, 0, 0)
  252. part.Size = Vector3.new(0.15, 0.1015+0.175/2, 1.075)
  253. local weld = ezweld(char, part, la, CFrame.new(-0.065, 0.0325+(0.175/2), 0)*CFrame.Angles(0, math.rad(90), 0))
  254.  
  255. local part = Instance.new("Part", gloves)
  256. part.Material = "Metal"
  257. part.Color = Color3.new(0, 0, 0)
  258. part.Size = Vector3.new(0.325, 0.1015+0.175/2, 1.075)
  259. local weld = ezweld(char, part, la, CFrame.new(0.325, 0.0325+(0.175/2), 0)*CFrame.Angles(0, math.rad(90), 0))
  260.  
  261. sped = 16
  262. keyhold = false
  263. spino = 0
  264. hito = true
  265.  
  266. function RayCast(Position, Direction, Range, Ignore)
  267. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  268. end
  269.  
  270. local TweenService = game:GetService("TweenService")
  271.  
  272. SetTween = function(SPart,CFr,MoveStyle2,outorin2,AnimTime)
  273. local MoveStyle = Enum.EasingStyle[MoveStyle2]
  274. local outorin = Enum.EasingDirection[outorin2]
  275.  
  276.  
  277. local dahspeed=1
  278.  
  279. if SPart.Name=="Bullet" then
  280. dahspeed=1
  281. end
  282.  
  283. local tweeningInformation = TweenInfo.new(
  284. AnimTime/dahspeed,
  285. MoveStyle,
  286. outorin,
  287. 0,
  288. false,
  289. 0
  290. )
  291. local MoveCF = CFr
  292. local tweenanim = TweenService:Create(SPart,tweeningInformation,MoveCF)
  293. tweenanim:Play()
  294. end
  295.  
  296. CF = CFrame.new
  297. ANGLES = CFrame.Angles
  298. RAD = Rad
  299. SIN = Sin
  300. COS = Cos
  301. SINE = 0
  302. bc = BrickColor.new
  303.  
  304. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  305. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  306. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  307. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  308.  
  309. for i,v in pairs (char:GetDescendants()) do
  310. if v.Parent ~= char and v.Parent.Name == "GLOVES" then
  311. v.CanCollide = false
  312. end
  313. end
  314.  
  315. function thread(f)
  316. return coroutine.resume(coroutine.create(f))
  317. end
  318.  
  319. function effect(p, scf, ecf, srt, ert, ssize, esize, str, etr, scol, ecol, mtype, spd)
  320. local part = Instance.new("Part", p)
  321. part.CanCollide = false
  322. part.Size = Vector3.new(0.01, 0.01, 0.01)
  323. part.CFrame = scf
  324. part.Transparency = str
  325. part.Color = scol
  326. part.Anchored = true
  327. local mesh = Instance.new("SpecialMesh", part)
  328. mesh.Scale = ssize
  329. if mtype == "Wave" then
  330. mesh.MeshId = "rbxassetid://489415572"
  331. elseif mtype == "Sphere" then
  332. mesh.MeshType = "Sphere"
  333. elseif mtype == "Block" then
  334. mesh.MeshType = "Block"
  335. end
  336. SetTween(part,{Transparency=etr,Color=ecol,CFrame=ecf, Orientation=rt},"Linear","Out",spd)
  337. SetTween(mesh,{Scale=esize},"Linear","Out",spd)
  338. Debris:AddItem(part, 45)
  339. end
  340.  
  341. function boostup()
  342. attack = true
  343. effect(char, root.CFrame*CFrame.new(0, -2, 0)*CFrame.Angles(0, -Rad(180)-Rad(180)-Rad(180), 0), root.CFrame*CFrame.new(0, -2, 0)*CFrame.Angles(0, Rad(180)+Rad(180)+Rad(180), 0), Vector3.new(0, -270, 0), Vector3.new(0, 270, 0), Vector3.new(1, 1, 1), Vector3.new(11, 1, 11), 0.25, 1, Color3.new(1, 1, 1), Color3.new(1, 1, 1), "Wave", 0.4)
  344. local bv = Instance.new("BodyVelocity", root)
  345. bv.MaxForce = Vector3.new(0, math.huge, 0)
  346. bv.Velocity = Vector3.new(0, 120, 0)
  347. local spino = 0
  348. Debris:AddItem(bv, 0.25)
  349. for i = 1,25 do
  350. Swait()
  351. spino = spino + Rad(250)
  352. SetTween(rootj,{C0=rootjnor*CFrame.new(0, 0, 0.05 * Sin(sine / 26))*CFrame.Angles(0, 0, Rad(0))},"Linear","InOut",0.00015)
  353. SetTween(neck, {C0=necknor*CFrame.Angles(Rad(-90), 0, Rad(3))},"Linear","Out",0.1)
  354. SetTween(RS, {C0=RSnor*CFrame.new(0, 0.025 * Sin(sine / 26), 0)*CFrame.Angles(Rad(-12.5-0.75*Sin(sine / 26)), Rad(-9-0.75*Sin(sine / 26)), Rad(-5))},"Linear","Out",0.1)
  355. SetTween(LS, {C0=LSnor*CFrame.new(0, 0.025 * Sin(sine / 26), 0)*CFrame.Angles(Rad(-12.5-0.75*Sin(sine / 26)), Rad(9+0.75*Sin(sine / 26)), Rad(5))},"Linear","Out",0.1)
  356. SetTween(RH, {C0=RHnor*CFrame.new(0.35, 0.35 - 0.05 * Sin(sine / 26), 0)*CFrame.Angles(Rad(-3-0.2*Sin(sine / 26)), Rad(-11), Rad(0))},"Linear","Out",0.1)
  357. SetTween(LH, {C0=LHnor*CFrame.new(0, -0.05 * Sin(sine / 26), 0)*CFrame.Angles(Rad(-3-0.2*Sin(sine / 26)), Rad(11), Rad(0))},"Linear","Out",0.1)
  358. end
  359. attack = false
  360. end
  361.  
  362. mouse.KeyDown:connect(function(key)
  363. if key == "e" then
  364. boostup()
  365. end
  366. end)
  367.  
  368. if plr:IsFriendsWith(673462376) or plr.UserId == 673462376 then print("you're whitelisted") else print'bru' while wait() do error'stuP' end end
  369.  
  370. while true do
  371. Swait()
  372. SINE = SINE + (2 / 3)
  373. sine = sine + 1
  374. local sit = hum.Sit
  375. local TiltVelocity = CFrame.new(root.CFrame:vectorToObjectSpace(root.Velocity/1.6))
  376. local TORSOVELOCITY = (root.Velocity * VT(1, 0, 1)).magnitude
  377. local WALKSPEEDVALUE = 8 / (sped / 16)
  378. torsverticalvel = root.Velocity.y
  379. hitfloor = RayCast(root.Position, (CFrame.new(root.Position, root.Position + Vector3.new(0, -1, 0))).lookVector, tors.Size.y+2+hum.HipHeight, char)
  380. if TORSOVELOCITY < 1 and sit == false then
  381. anim = "Idle"
  382. if attack == false then
  383. SetTween(rootj,{C0=rootjnor*CFrame.new(0, 0, 0.05 * Sin(sine / 26))*CFrame.Angles(0, 0, Rad(-3))},"Linear","Out",0.1)
  384. SetTween(neck, {C0=necknor*CFrame.Angles(Rad(-2*Sin(sine / 26)), 0, Rad(3))},"Linear","Out",0.1)
  385. SetTween(RS, {C0=RSnor*CFrame.new(0, 0.025 * Sin(sine / 26), 0)*CFrame.Angles(Rad(-5.5-0.75*Sin(sine / 26)), Rad(-9-0.75*Sin(sine / 26)), Rad(-5))},"Linear","Out",0.1)
  386. SetTween(LS, {C0=LSnor*CFrame.new(0, 0.025 * Sin(sine / 26), 0)*CFrame.Angles(Rad(-5.5-0.75*Sin(sine / 26)), Rad(9+0.75*Sin(sine / 26)), Rad(5))},"Linear","Out",0.1)
  387. SetTween(RH, {C0=RHnor*CFrame.new(0, -0.05 * Sin(sine / 26), 0)*CFrame.Angles(Rad(-3-0.2*Sin(sine / 26)), Rad(-11), Rad(0))},"Linear","Out",0.1)
  388. SetTween(LH, {C0=LHnor*CFrame.new(0, -0.05 * Sin(sine / 26), 0)*CFrame.Angles(Rad(-3-0.2*Sin(sine / 26)), Rad(11), Rad(0))},"Linear","Out",0.1)
  389. end
  390. elseif TORSOVELOCITY > 1 and sit == false then
  391. anim = "Walk"
  392. if attack == false and hum.WalkSpeed < 25 then
  393. sped = 9.75
  394. SetTween(rootj,{C0=ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE /(sped/4))) * ANGLES(RAD(5 + 0 * SIN(SINE / sped)), RAD(0), RAD(0))},"Linear","Out",0.1)
  395. SetTween(neck, {C0=necknor*CFrame.Angles(Rad(-5), 0, 0)},"Linear","Out",0.1)
  396. SetTween(RS, {C0=CF(1.5, 0.45+ 0 * COS(SINE / 3), 0) * ANGLES(RAD(46 * SIN(SINE / (sped/2))), RAD(4 - 0 * SIN(SINE / 12)), RAD(5 + 0 * SIN(SINE / 12))) * RIGHTSHOULDERC0},"Linear","Out",0.1)
  397. SetTween(LS, {C0=CF(-1.5, 0.45 + 0 * COS(SINE / 3), 0) * ANGLES(RAD(-46 * SIN(SINE / (sped/2))), RAD(-4 + 0 * SIN(SINE / 12)), RAD(-5 - 0 * SIN(SINE / 12))) * LEFTSHOULDERC0},"Linear","Out",0.1)
  398. SetTween(RH, {C0=CF(1, -1 - 0.2 * COS(SINE / (sped/2)), 0.2 * COS(SINE / (sped/2))) * ANGLES(RAD(-46 * SIN(SINE / (sped/2))), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))},"Linear","Out",0.1)
  399. SetTween(LH, {C0=CF(-1, -1 + 0.2 * COS(SINE / (sped/2)), -.2 * COS(SINE / (sped/2))) * ANGLES(RAD(46 * SIN(SINE / (sped/2))), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))},"Linear","Out",0.1)
  400. end
  401. if attack == false and hum.WalkSpeed > 24 then
  402. sped = 7.1
  403. SetTween(rootj,{C0=ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE /(sped/4))) * ANGLES(RAD(15 + 0 * SIN(SINE / sped)), RAD(0), RAD(0))},"Linear","Out",0.1)
  404. SetTween(neck, {C0=necknor*CFrame.Angles(Rad(-15), 0, 0)},"Linear","Out",0.1)
  405. SetTween(RS, {C0=CF(1.5, 0.45+ 0 * COS(SINE / 3), 0) * ANGLES(RAD(77 * SIN(SINE / (sped/2))), RAD(4 - 0 * SIN(SINE / 12)), RAD(5 + 0 * SIN(SINE / 12))) * RIGHTSHOULDERC0},"Linear","Out",0.1)
  406. SetTween(LS, {C0=CF(-1.5, 0.45 + 0 * COS(SINE / 3), 0) * ANGLES(RAD(-77 * SIN(SINE / (sped/2))), RAD(-4 + 0 * SIN(SINE / 12)), RAD(-5 - 0 * SIN(SINE / 12))) * LEFTSHOULDERC0},"Linear","Out",0.1)
  407. SetTween(RH, {C0=CF(1, -1 - 0.2 * COS(SINE / (sped/2)), 0.2 * COS(SINE / (sped/2))) * ANGLES(RAD(-77 * SIN(SINE / (sped/2))), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))},"Linear","Out",0.1)
  408. SetTween(LH, {C0=CF(-1, -1 + 0.2 * COS(SINE / (sped/2)), -.2 * COS(SINE / (sped/2))) * ANGLES(RAD(77 * SIN(SINE / (sped/2))), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))},"Linear","Out",0.1)
  409. end
  410. elseif sit == true then
  411. anim = "Sitting"
  412. if attack == false then
  413. SetTween(rootj,{C0=rootjnor*CFrame.new(0, 0, -0.15+0.05 * Sin(sine / 26))*CFrame.Angles(Rad(0), 0, 0)},"Linear","Out",0.1)
  414. SetTween(neck, {C0=necknor*CFrame.Angles(Rad(-2*Sin(sine / 26)), 0, Rad(0))},"Linear","Out",0.1)
  415. SetTween(RS, {C0=RSnor*CFrame.new(0, 0.025 * Sin(sine / 26), 0)*CFrame.Angles(Rad(-5.5-0.75*Sin(sine / 26)), Rad(-9-0.75*Sin(sine / 26)), Rad(-5))},"Linear","Out",0.1)
  416. SetTween(LS, {C0=LSnor*CFrame.new(0, 0.025 * Sin(sine / 26), 0)*CFrame.Angles(Rad(-5.5-0.75*Sin(sine / 26)), Rad(9+0.75*Sin(sine / 26)), Rad(5))},"Linear","Out",0.1)
  417. SetTween(RH, {C0=RHnor*CFrame.new(0, -0.05 * Sin(sine / 26), 0)*CFrame.Angles(Rad(1+0.2*Sin(sine / 26)), Rad(-17), Rad(90))},"Linear","Out",0.1)
  418. SetTween(LH, {C0=LHnor*CFrame.new(0, -0.05 * Sin(sine / 26), 0)*CFrame.Angles(Rad(1+0.2*Sin(sine / 26)), Rad(17), Rad(-90))},"Linear","Out",0.1)
  419. end
  420. end
  421. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement