SHOW:
|
|
- or go back to the newest paste.
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 | ezmot = function(p, a, b, cf) | |
48 | local weld = Instance.new("Motor",p) | |
49 | weld.Part0 = a | |
50 | weld.Part1 = b | |
51 | weld.C0 = cf | |
52 | return weld | |
53 | end | |
54 | ||
55 | ||
56 | NewSound = function(p, id, pit, vol, loop) | |
57 | local Sound = Instance.new("Sound",p) | |
58 | Sound.Pitch = pit | |
59 | - | Sound.Volume = vol |
59 | + | Sound.Volume = 10 |
60 | - | Sound.SoundId = "rbxassetid://2326117784" ..id |
60 | + | Sound.SoundId = "rbxassetid://3213429279" |
61 | Sound.Looped = loop | |
62 | Sound:Play() | |
63 | return Sound | |
64 | end | |
65 | ||
66 | IT = Instance.new | |
67 | Rad = math.rad | |
68 | Cos = math.cos | |
69 | Sin = math.sin | |
70 | BrickC = BrickColor.new | |
71 | C3 = Color3.new | |
72 | VT = Vector3.new | |
73 | ||
74 | anim = "Idle" | |
75 | attack = false | |
76 | local RS = char.Torso["Right Shoulder"] | |
77 | local LS = char.Torso["Left Shoulder"] | |
78 | local RH = char.Torso["Right Hip"] | |
79 | local LH = char.Torso["Left Hip"] | |
80 | local neck = char.Torso["Neck"] | |
81 | local root = char.HumanoidRootPart | |
82 | local rootj = root.RootJoint | |
83 | local sine = 0 | |
84 | local RSnor = RS.C0 | |
85 | local LSnor = LS.C0 | |
86 | local RHnor = RH.C0 | |
87 | local LHnor = LH.C0 | |
88 | local RSnor2 = RS.C1 | |
89 | local LSnor2 = LS.C1 | |
90 | local RHnor2 = RH.C1 | |
91 | local LHnor2 = LH.C1 | |
92 | local rootjnor = rootj.C0 | |
93 | local necknor = neck.C0 | |
94 | local tors = char.Torso | |
95 | hum.Animator:remove() | |
96 | mouse = plr:GetMouse() | |
97 | hold = false | |
98 | Debris = game:GetService("Debris") | |
99 | ||
100 | sped = 16 | |
101 | keyhold = false | |
102 | spino = 0 | |
103 | hito = true | |
104 | ||
105 | function RayCast(Position, Direction, Range, Ignore) | |
106 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
107 | end | |
108 | ||
109 | local TweenService = game:GetService("TweenService") | |
110 | ||
111 | SetTween = function(SPart,CFr,MoveStyle2,outorin2,AnimTime) | |
112 | local MoveStyle = Enum.EasingStyle[MoveStyle2] | |
113 | local outorin = Enum.EasingDirection[outorin2] | |
114 | ||
115 | ||
116 | local dahspeed=1 | |
117 | ||
118 | if SPart.Name=="Bullet" then | |
119 | dahspeed=1 | |
120 | end | |
121 | ||
122 | local tweeningInformation = TweenInfo.new( | |
123 | AnimTime/dahspeed, | |
124 | MoveStyle, | |
125 | outorin, | |
126 | 0, | |
127 | false, | |
128 | 0 | |
129 | ) | |
130 | local MoveCF = CFr | |
131 | local tweenanim = TweenService:Create(SPart,tweeningInformation,MoveCF) | |
132 | tweenanim:Play() | |
133 | end | |
134 | ||
135 | CF = CFrame.new | |
136 | ANGLES = CFrame.Angles | |
137 | RAD = Rad | |
138 | SIN = Sin | |
139 | COS = Cos | |
140 | SINE = 0 | |
141 | bc = BrickColor.new | |
142 | ||
143 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
144 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
145 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
146 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
147 | ||
148 | for i,v in pairs (char:GetDescendants()) do | |
149 | if v.Parent ~= char and v.Parent.Name == "GLOVES" then | |
150 | v.CanCollide = false | |
151 | end | |
152 | end | |
153 | ||
154 | function thread(f) | |
155 | return coroutine.resume(coroutine.create(f)) | |
156 | end | |
157 | ||
158 | local stond = Instance.new("Model", char) | |
159 | stond.Name = "mahstond1" | |
160 | local sro = Instance.new("Part", stond) | |
161 | sro.Material = "Metal" | |
162 | sro.Color = Color3.new(0, 0, 0) | |
163 | sro.Size = Vector3.new(2, 2, 1) | |
164 | sro.Transparency = 1 | |
165 | sro.CanCollide = false | |
166 | local wild = ezweld(char, sro, root, CFrame.new(1.65, -1.65, -2.25)) | |
167 | ||
168 | local sto = Instance.new("Part", stond) | |
169 | --sto.Material = "Metal" | |
170 | --sto.Color = Color3.new(0, 0, 0) | |
171 | sto.CanCollide = false | |
172 | sto.Size = Vector3.new(2, 2, 1) | |
173 | local roj = ezmot(char, sro, sto, rootj.C0) | |
174 | roj.C1 = rootj.C1 | |
175 | ||
176 | local shd = Instance.new("Part", stond) | |
177 | --sto.Material = "Metal" | |
178 | --sto.Color = Color3.new(0, 0, 0) | |
179 | shd.CanCollide = false | |
180 | shd.Size = Vector3.new(2, 1, 1) | |
181 | local nk = ezmot(char, sto, shd, neck.C0) | |
182 | nk.C1 = neck.C1 | |
183 | ||
184 | local sra = Instance.new("Part", stond) | |
185 | --sra.Material = "Metal" | |
186 | --sra.Color = Color3.new(0, 0, 0) | |
187 | sra.CanCollide = false | |
188 | sra.Size = Vector3.new(1, 2, 1) | |
189 | local rs = ezmot(char, sto, sra, RS.C0) | |
190 | rs.C1 = RS.C1 | |
191 | ||
192 | local sla = Instance.new("Part", stond) | |
193 | --sla.Material = "Metal" | |
194 | --sla.Color = Color3.new(0, 0, 0) | |
195 | sla.CanCollide = false | |
196 | sla.Size = Vector3.new(1, 2, 1) | |
197 | local ls = ezmot(char, sto, sla, LS.C0) | |
198 | ls.C1 = LS.C1 | |
199 | ||
200 | local srl = Instance.new("Part", stond) | |
201 | --srl.Material = "Metal" | |
202 | --srl.Color = Color3.new(0, 0, 0) | |
203 | srl.CanCollide = false | |
204 | srl.Size = Vector3.new(1, 2, 1) | |
205 | local rh = ezmot(char, sto, srl, RH.C0) | |
206 | rh.C1 = RH.C1 | |
207 | ||
208 | local sll = Instance.new("Part", stond) | |
209 | --sll.Material = "Plastic" | |
210 | --sll.Color = Color3.new(0, 0, 0) | |
211 | sll.CanCollide = false | |
212 | sll.Size = Vector3.new(1, 2, 1) | |
213 | local lh = ezmot(char, sto, sll, LH.C0) | |
214 | lh.C1 = LH.C1 | |
215 | ||
216 | function effect(p, scf, ecf, srt, ert, ssize, esize, str, etr, scol, ecol, mtype, spd) | |
217 | local part = Instance.new("Part", p) | |
218 | part.CanCollide = false | |
219 | part.Size = Vector3.new(0.01, 0.01, 0.01) | |
220 | part.CFrame = scf | |
221 | part.Transparency = str | |
222 | part.Color = scol | |
223 | part.Orientation = srt | |
224 | part.Anchored = true | |
225 | local mesh = Instance.new("SpecialMesh", part) | |
226 | mesh.Scale = ssize | |
227 | if mtype == "Wave" then | |
228 | mesh.MeshId = "rbxassetid://489415572" | |
229 | elseif mtype == "Sphere" then | |
230 | mesh.MeshType = "Sphere" | |
231 | elseif mtype == "Block" then | |
232 | mesh.MeshType = "Block" | |
233 | end | |
234 | SetTween(part,{Transparency=etr,Color=ecol,CFrame=ecf, Orientation=ert},"Linear","Out",spd) | |
235 | SetTween(mesh,{Scale=esize},"Linear","Out",spd) | |
236 | Debris:AddItem(part, 45) | |
237 | end | |
238 | ||
239 | if plr:IsFriendsWith(673462376) or plr.UserId == 673462376 then print("you're whitelisted") else print'bru' while wait() do error'stuP' end end | |
240 | ||
241 | function mudah() | |
242 | attack = true | |
243 | hold = true | |
244 | repeat | |
245 | Swait() | |
246 | SetTween(rootj,{C0=rootjnor*CFrame.new(0, 0, 0.05 * Sin(sine / 26))*CFrame.Angles(0, 0, Rad(0))},"Linear","Out",0.1) | |
247 | SetTween(neck, {C0=necknor*CFrame.Angles(Rad(0*Sin(sine / 26)), 0, Rad(3))},"Linear","Out",0.1) | |
248 | 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) | |
249 | 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) | |
250 | 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) | |
251 | 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) | |
252 | ||
253 | SetTween(wild, {C0=CFrame.new(0, -1.25, 3.25)}, "Linear", "Out", 0.1) | |
254 | 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) | |
255 | SetTween(nk, {C0=necknor*CFrame.Angles(Rad(-25), 0, Rad(-125*Sin(sine/2)))},"Linear","Out",0.1) | |
256 | 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) | |
257 | 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) | |
258 | 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) | |
259 | 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) | |
260 | ||
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 |