Advertisement
lafur

Untitled

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