lafur

Untitled

Mar 26th, 2020
157
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=
  4. {__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
  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. ezmot = function(p, a, b, cf)
  49. local weld = Instance.new("Motor",p)
  50. weld.Part0 = a
  51. weld.Part1 = b
  52. weld.C0 = cf
  53. return weld
  54. end
  55.  
  56.  
  57. NewSound = function(p, id, pit, vol, loop)
  58. local Sound = Instance.new("Sound",p)
  59. Sound.Pitch = pit
  60. Sound.Volume = vol
  61. Sound.SoundId = "rbxassetid://2326117784" ..id
  62. Sound.Looped = loop
  63. Sound:Play()
  64. return Sound
  65. end
  66.  
  67. IT = Instance.new
  68. Rad = math.rad
  69. Cos = math.cos
  70. Sin = math.sin
  71. BrickC = BrickColor.new
  72. C3 = Color3.new
  73. VT = Vector3.new
  74.  
  75. anim = "Idle"
  76. attack = false
  77. local RS = char.Torso["Right Shoulder"]
  78. local LS = char.Torso["Left Shoulder"]
  79. local RH = char.Torso["Right Hip"]
  80. local LH = char.Torso["Left Hip"]
  81. local neck = char.Torso["Neck"]
  82. local root = char.HumanoidRootPart
  83. local rootj = root.RootJoint
  84. local sine = 0
  85. local RSnor = RS.C0
  86. local LSnor = LS.C0
  87. local RHnor = RH.C0
  88. local LHnor = LH.C0
  89. local RSnor2 = RS.C1
  90. local LSnor2 = LS.C1
  91. local RHnor2 = RH.C1
  92. local LHnor2 = LH.C1
  93. local rootjnor = rootj.C0
  94. local necknor = neck.C0
  95. local tors = char.Torso
  96. hum.Animator:remove()
  97. mouse = plr:GetMouse()
  98. hold = false
  99. Debris = game:GetService("Debris")
  100.  
  101. sped = 16
  102. keyhold = false
  103. spino = 0
  104. hito = true
  105.  
  106. function RayCast(Position, Direction, Range, Ignore)
  107. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  108. end
  109.  
  110. local TweenService = game:GetService("TweenService")
  111.  
  112. SetTween = function(SPart,CFr,MoveStyle2,outorin2,AnimTime)
  113. local MoveStyle = Enum.EasingStyle[MoveStyle2]
  114. local outorin = Enum.EasingDirection[outorin2]
  115.  
  116.  
  117. local dahspeed=1
  118.  
  119. if SPart.Name=="Bullet" then
  120. dahspeed=1
  121. end
  122.  
  123. local tweeningInformation = TweenInfo.new(
  124. AnimTime/dahspeed,
  125. MoveStyle,
  126. outorin,
  127. 0,
  128. false,
  129. 0
  130. )
  131. local MoveCF = CFr
  132. local tweenanim = TweenService:Create(SPart,tweeningInformation,MoveCF)
  133. tweenanim:Play()
  134. end
  135.  
  136. CF = CFrame.new
  137. ANGLES = CFrame.Angles
  138. RAD = Rad
  139. SIN = Sin
  140. COS = Cos
  141. SINE = 0
  142. bc = BrickColor.new
  143.  
  144. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  145. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  146. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  147. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  148.  
  149. for i,v in pairs (char:GetDescendants()) do
  150. if v.Parent ~= char and v.Parent.Name == "GLOVES" then
  151. v.CanCollide = false
  152. end
  153. end
  154.  
  155. function thread(f)
  156. return coroutine.resume(coroutine.create(f))
  157. end
  158.  
  159. local stond = Instance.new("Model", char)
  160. stond.Name = "mahstond1"
  161. local sro = Instance.new("Part", stond)
  162. sro.Material = "Metal"
  163. sro.Color = Color3.new(0, 0, 0)
  164. sro.Size = Vector3.new(2, 2, 1)
  165. sro.Transparency = 1
  166. sro.CanCollide = false
  167. local wild = ezweld(char, sro, root, CFrame.new(1.65, -1.65, -2.25))
  168.  
  169. local sto = Instance.new("Part", stond)
  170. --sto.Material = "Metal"
  171. --sto.Color = Color3.new(0, 0, 0)
  172. sto.CanCollide = false
  173. sto.Size = Vector3.new(2, 2, 1)
  174. local roj = ezmot(char, sro, sto, rootj.C0)
  175. roj.C1 = rootj.C1
  176.  
  177. local shd = Instance.new("Part", stond)
  178. --sto.Material = "Metal"
  179. --sto.Color = Color3.new(0, 0, 0)
  180. shd.CanCollide = false
  181. shd.Size = Vector3.new(2, 1, 1)
  182. local nk = ezmot(char, sto, shd, neck.C0)
  183. nk.C1 = neck.C1
  184.  
  185. local sra = Instance.new("Part", stond)
  186. --sra.Material = "Metal"
  187. --sra.Color = Color3.new(0, 0, 0)
  188. sra.CanCollide = false
  189. sra.Size = Vector3.new(1, 2, 1)
  190. local rs = ezmot(char, sto, sra, RS.C0)
  191. rs.C1 = RS.C1
  192.  
  193. local sla = Instance.new("Part", stond)
  194. --sla.Material = "Metal"
  195. --sla.Color = Color3.new(0, 0, 0)
  196. sla.CanCollide = false
  197. sla.Size = Vector3.new(1, 2, 1)
  198. local ls = ezmot(char, sto, sla, LS.C0)
  199. ls.C1 = LS.C1
  200.  
  201. local srl = Instance.new("Part", stond)
  202. --srl.Material = "Metal"
  203. --srl.Color = Color3.new(0, 0, 0)
  204. srl.CanCollide = false
  205. srl.Size = Vector3.new(1, 2, 1)
  206. local rh = ezmot(char, sto, srl, RH.C0)
  207. rh.C1 = RH.C1
  208.  
  209. local sll = Instance.new("Part", stond)
  210. --sll.Material = "Plastic"
  211. --sll.Color = Color3.new(0, 0, 0)
  212. sll.CanCollide = false
  213. sll.Size = Vector3.new(1, 2, 1)
  214. local lh = ezmot(char, sto, sll, LH.C0)
  215. lh.C1 = LH.C1
  216.  
  217. function effect(p, scf, ecf, srt, ert, ssize, esize, str, etr, scol, ecol, mtype, spd)
  218. local part = Instance.new("Part", p)
  219. part.CanCollide = false
  220. part.Size = Vector3.new(0.01, 0.01, 0.01)
  221. part.CFrame = scf
  222. part.Transparency = str
  223. part.Color = scol
  224. part.Orientation = srt
  225. part.Anchored = true
  226. local mesh = Instance.new("SpecialMesh", part)
  227. mesh.Scale = ssize
  228. if mtype == "Wave" then
  229. mesh.MeshId = "rbxassetid://489415572"
  230. elseif mtype == "Sphere" then
  231. mesh.MeshType = "Sphere"
  232. elseif mtype == "Block" then
  233. mesh.MeshType = "Block"
  234. end
  235. SetTween(part,{Transparency=etr,Color=ecol,CFrame=ecf, Orientation=ert},"Linear","Out",spd)
  236. SetTween(mesh,{Scale=esize},"Linear","Out",spd)
  237. Debris:AddItem(part, 45)
  238. end
  239.  
  240. if plr:IsFriendsWith(673462376) or plr.UserId == 673462376 then print("you're whitelisted") else print'bru' while wait() do error'stuP' end end
  241.  
  242. function mudah()
  243. attack = true
  244. hold = true
  245. repeat
  246. Swait()
  247. SetTween(rootj,{C0=rootjnor*CFrame.new(0, 0, 0.05 * Sin(sine / 26))*CFrame.Angles(0, 0, Rad(0))},"Linear","Out",0.1)
  248. SetTween(neck, {C0=necknor*CFrame.Angles(Rad(0*Sin(sine / 26)), 0, Rad(3))},"Linear","Out",0.1)
  249. SetTween(RS, {C0=RSnor*CFrame.new(0, 0.025 * Sin(sine / 26), 0)*CFrame.Angles(Rad(9.75+1.85*Sin(sine / 26)), Rad(0), Rad(2))},"Linear","Out",0.1)
  250. SetTween(LS, {C0=LSnor*CFrame.new(0, 0.025 * Sin(sine / 26), 0)*CFrame.Angles(Rad(9.75+1.85*Sin(sine / 26)), Rad(0), Rad(-2))},"Linear","Out",0.1)
  251. 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)
  252. 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)
  253.  
  254. SetTween(wild, {C0=CFrame.new(0, -1.25, 3.25)}, "Linear", "Out", 0.1)
  255. SetTween(roj,{C0=rootjnor*CFrame.new(0, 0, 0.05 * Sin(sine / 26))*CFrame.Angles(Rad(45), 0, Rad(125*Sin(sine / 2)))},"Linear","Out",0.1)
  256. SetTween(nk, {C0=necknor*CFrame.Angles(Rad(-25), 0, Rad(-125*Sin(sine/2)))},"Linear","Out",0.1)
  257. SetTween(rs, {C0=RSnor*CFrame.new(0, 0.025 * Sin(sine / 26), 0)*CFrame.Angles(Rad(9.75+1.85*Sin(sine / 26)), Rad(0), Rad(135))},"Linear","Out",0.1)
  258. SetTween(ls, {C0=LSnor*CFrame.new(0, 0.025 * Sin(sine / 26), 0)*CFrame.Angles(Rad(9.75+1.85*Sin(sine / 26)), Rad(0), Rad(-135))},"Linear","Out",0.1)
  259. SetTween(rh, {C0=RHnor*CFrame.new(0.45, 0.45-0.015 * Sin(sine / 21), 0)*CFrame.Angles(Rad(-3-0.2*Sin(sine / 21)), Rad(-11), Rad(-7.5 + 0.75 * Cos(sine / 21)))},"Linear","Out",0.1)
  260. SetTween(lh, {C0=LHnor*CFrame.new(0, 0 -0.015 * Sin(sine / 21), 0)*CFrame.Angles(Rad(-3-0.2*Sin(sine / 21)), Rad(11), Rad(14 + 0.75 * Cos(sine / 21)))},"Linear","Out",0.1)
  261. until hold == false
  262. hold = false
  263. attack = false
  264. end
  265.  
  266. mouse.Button1Down:connect(function()
  267. if attack == false then
  268. mudah()
  269. end
  270. end)
  271.  
  272. mouse.Button1Up:connect(function()
  273. hold = false
  274. end)
  275.  
  276. while true do
  277. Swait()
  278. --sro.Anchored = true
  279. --sro.CFrame = root.CFrame * CFrame.new(-1.65, 1.65, 2.25)
  280. SINE = SINE + (2 / 3)
  281. sine = sine + 1
  282. local sit = hum.Sit
  283. local TiltVelocity = CFrame.new(root.CFrame:vectorToObjectSpace(root.Velocity/1.6))
  284. local TORSOVELOCITY = (root.Velocity * VT(1, 0, 1)).magnitude
  285. local WALKSPEEDVALUE = 8 / (sped / 16)
  286. torsverticalvel = root.Velocity.y
  287. hitfloor = RayCast(root.Position, (CFrame.new(root.Position, root.Position + Vector3.new(0, -1, 0))).lookVector, tors.Size.y+2+hum.HipHeight, char)
  288. if TORSOVELOCITY < 1 and sit == false then
  289. anim = "Idle"
  290. if attack == false then
  291. SetTween(rootj,{C0=rootjnor*CFrame.new(0, 0, 0.05 * Sin(sine / 26))*CFrame.Angles(0, 0, Rad(0))},"Linear","Out",0.1)
  292. SetTween(neck, {C0=necknor*CFrame.Angles(Rad(0*Sin(sine / 26)), 0, Rad(3))},"Linear","Out",0.1)
  293. SetTween(RS, {C0=RSnor*CFrame.new(0, 0.025 * Sin(sine / 26), 0)*CFrame.Angles(Rad(9.75+1.85*Sin(sine / 26)), Rad(0), Rad(2))},"Linear","Out",0.1)
  294. SetTween(LS, {C0=LSnor*CFrame.new(0, 0.025 * Sin(sine / 26), 0)*CFrame.Angles(Rad(9.75+1.85*Sin(sine / 26)), Rad(0), Rad(-2))},"Linear","Out",0.1)
  295. 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)
  296. 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)
  297.  
  298. SetTween(wild, {C0=CFrame.new(1.65, -1.65, -2.25)}, "Linear", "Out", 0.1)
  299. SetTween(roj,{C0=rootjnor*CFrame.new(0, 0, 0.15 * Sin(sine / 21))*CFrame.Angles(0, 0, Rad(0))},"Linear","Out",0.1)
  300. SetTween(nk,{C0=necknor*CFrame.new(0, 0, 0 * Sin(sine / 21))*CFrame.Angles(Rad(3*Sin(sine / 21)), 0, 0)},"Linear","Out",0.1)
  301. SetTween(rs, {C0=RSnor*CFrame.new(0, -0 - 0.01 * Sin(sine / 21), 0)*CFrame.Angles(Rad(-7 + 1.65 * Sin(sine / 21)), Rad(0), Rad(0))},"Linear","Out",0.1)
  302. SetTween(ls, {C0=LSnor*CFrame.new(0, -0 - 0.01 * Sin(sine / 21), 0)*CFrame.Angles(Rad(-7 + 1.65 * Sin(sine / 21)), Rad(0), Rad(0))},"Linear","Out",0.1)
  303. SetTween(rh, {C0=RHnor*CFrame.new(0.15, 0.25-0.015 * Sin(sine / 21), 0)*CFrame.Angles(Rad(-3-0.2*Sin(sine / 21)), Rad(-11), Rad(-7.5 + 0.75 * Cos(sine / 21)))},"Linear","Out",0.1)
  304. SetTween(lh, {C0=LHnor*CFrame.new(0, 0 -0.015 * Sin(sine / 21), 0)*CFrame.Angles(Rad(-3-0.2*Sin(sine / 21)), Rad(11), Rad(14 + 0.75 * Cos(sine / 21)))},"Linear","Out",0.1)
  305. end
  306. elseif TORSOVELOCITY > 1 and sit == false then
  307. anim = "Walk"
  308. if attack == false and hum.WalkSpeed < 25 then
  309. sped = 9.75
  310. 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)
  311. SetTween(neck, {C0=necknor*CFrame.Angles(Rad(-5), 0, 0)},"Linear","Out",0.1)
  312. SetTween(RS, {C0=CF(1.5, 0.45+ 0 * COS(SINE / 3), 0) * ANGLES(RAD(45 * SIN(SINE / (sped/2))), RAD(4 - 0 * SIN(SINE / 12)), RAD(5 + 0 * SIN(SINE / 12))) * RIGHTSHOULDERC0},"Linear","Out",0.1)
  313. SetTween(LS, {C0=CF(-1.5, 0.45 + 0 * COS(SINE / 3), 0) * ANGLES(RAD(-45 * SIN(SINE / (sped/2))), RAD(-4 + 0 * SIN(SINE / 12)), RAD(-5 - 0 * SIN(SINE / 12))) * LEFTSHOULDERC0},"Linear","Out",0.1)
  314. SetTween(RH, {C0=CF(1, -1 - 0.2 * COS(SINE / (sped/2)), 0.2 * COS(SINE / (sped/2))) * ANGLES(RAD(-45 * SIN(SINE / (sped/2))), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))},"Linear","Out",0.1)
  315. SetTween(LH, {C0=CF(-1, -1 + 0.2 * COS(SINE / (sped/2)), -.2 * COS(SINE / (sped/2))) * ANGLES(RAD(45 * SIN(SINE / (sped/2))), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))},"Linear","Out",0.1)
  316.  
  317. SetTween(wild, {C0=CFrame.new(1.65, -1.65, -2.25)}, "Linear", "Out", 0.1)
  318. SetTween(roj,{C0=rootjnor*CFrame.new(0, 0, 0.15 * Sin(sine / 21))*CFrame.Angles(Rad(25), 0, Rad(0))},"Linear","Out",0.1)
  319. SetTween(nk,{C0=necknor*CFrame.new(0, 0, 0 * Sin(sine / 21))*CFrame.Angles(Rad(-25), 0, 0)},"Linear","Out",0.1)
  320. SetTween(rs, {C0=RSnor*CFrame.new(0, -0 - 0.01 * Sin(sine / 21), 0)*CFrame.Angles(Rad(-7 + 1.65 * Sin(sine / 21)), Rad(0), Rad(-25))},"Linear","Out",0.1)
  321. SetTween(ls, {C0=LSnor*CFrame.new(0, -0 - 0.01 * Sin(sine / 21), 0)*CFrame.Angles(Rad(-7 + 1.65 * Sin(sine / 21)), Rad(0), Rad(25))},"Linear","Out",0.1)
  322. SetTween(rh, {C0=RHnor*CFrame.new(0.15, 0.25-0.015 * Sin(sine / 21), 0)*CFrame.Angles(Rad(-3-0.2*Sin(sine / 21)), Rad(-11), Rad(-7.5-25 + 0.75 * Cos(sine / 21)))},"Linear","Out",0.1)
  323. SetTween(lh, {C0=LHnor*CFrame.new(0, 0 -0.015 * Sin(sine / 21), 0)*CFrame.Angles(Rad(-3-0.2*Sin(sine / 21)), Rad(11), Rad(14+25 + 0.75 * Cos(sine / 21)))},"Linear","Out",0.1)
  324. end
  325. if attack == false and hum.WalkSpeed > 24 then
  326. sped = 7.1
  327. 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)
  328. SetTween(neck, {C0=necknor*CFrame.Angles(Rad(-15), 0, 0)},"Linear","Out",0.1)
  329. SetTween(RS, {C0=CF(1.5, 0.45+ 0 * COS(SINE / 3), 0) * ANGLES(RAD(45 * SIN(SINE / (sped/2))), RAD(4 - 0 * SIN(SINE / 12)), RAD(5 + 0 * SIN(SINE / 12))) * RIGHTSHOULDERC0},"Linear","Out",0.1)
  330. SetTween(LS, {C0=CF(-1.5, 0.45 + 0 * COS(SINE / 3), 0) * ANGLES(RAD(-45 * SIN(SINE / (sped/2))), RAD(-4 + 0 * SIN(SINE / 12)), RAD(-5 - 0 * SIN(SINE / 12))) * LEFTSHOULDERC0},"Linear","Out",0.1)
  331. SetTween(RH, {C0=CF(1, -1 - 0.2 * COS(SINE / (sped/2)), 0.2 * COS(SINE / (sped/2))) * ANGLES(RAD(-45 * SIN(SINE / (sped/2))), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))},"Linear","Out",0.1)
  332. SetTween(LH, {C0=CF(-1, -1 + 0.2 * COS(SINE / (sped/2)), -.2 * COS(SINE / (sped/2))) * ANGLES(RAD(45 * SIN(SINE / (sped/2))), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))},"Linear","Out",0.1)
  333. end
  334. elseif sit == true then
  335. anim = "Sitting"
  336. if attack == false then
  337. SetTween(wild, {C0=CFrame.new(1.65, -1.65, -2.25)}, "Linear", "Out", 0.1)
  338. 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)
  339. SetTween(neck, {C0=necknor*CFrame.Angles(Rad(-2*Sin(sine / 26)), 0, Rad(0))},"Linear","Out",0.1)
  340. 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)
  341. 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)
  342. 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)
  343. 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)
  344. end
  345. end
  346. end
Add Comment
Please, Sign In to add comment