View difference between Paste ID: 8Gcp850Q and c619LX61
SHOW: | | - or go back to the newest paste.
1
--madiik created this kthx
2
--i made dis cus antiboomz0r and kert109 made an animal kind of script, antiboomz0r being a dog while kert was a ninja deer
3
--so dis is a foks skript, kool rit?
4
--FOXY SKRIPT :DDDD
5
do --CFrame lerp
6
        local function QuaternionFromCFrame(cf) 
7
                local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
8
                local trace = m00 + m11 + m22 
9
                if trace > 0 then 
10
                        local s = math.sqrt(1 + trace) 
11
                        local recip = 0.5/s 
12
                        return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
13
                else 
14
                        local i = 0 
15
                        if m11 > m00 then
16
                                i = 1 
17
                        end 
18
                        if m22 > (i == 0 and m00 or m11) then 
19
                                i = 2 
20
                        end 
21
                        if i == 0 then 
22
                                local s = math.sqrt(m00-m11-m22+1) 
23
                                local recip = 0.5/s 
24
                                return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
25
                        elseif i == 1 then 
26
                                local s = math.sqrt(m11-m22-m00+1) 
27
                                local recip = 0.5/s 
28
                                return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
29
                        elseif i == 2 then 
30
                                local s = math.sqrt(m22-m00-m11+1) 
31
                                local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
32
                        end 
33
                end 
34
        end
35
        local function QuaternionToCFrame(px, py, pz, x, y, z, w) 
36
                local xs, ys, zs = x + x, y + y, z + z 
37
                local wx, wy, wz = w*xs, w*ys, w*zs 
38
                local xx = x*xs 
39
                local xy = x*ys 
40
                local xz = x*zs 
41
                local yy = y*ys 
42
                local yz = y*zs 
43
                local zz = z*zs 
44
                return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) 
45
                end   
46
        local function QuaternionSlerp(a, b, t) 
47
                local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] 
48
                local startInterp, finishInterp; 
49
                if cosTheta >= 0.0001 then 
50
                        if (1 - cosTheta) > 0.0001 then 
51
                                local theta = math.acos(cosTheta) 
52
                                local invSinTheta = 1/math.sin(theta) 
53
                                startInterp = math.sin((1-t)*theta)*invSinTheta 
54
                                finishInterp = math.sin(t*theta)*invSinTheta  
55
                        else 
56
                                startInterp = 1-t 
57
                                finishInterp = t 
58
                        end 
59
                else
60
                        if (1+cosTheta) > 0.0001 then 
61
                                local theta = math.acos(-cosTheta) 
62
                                local invSinTheta = 1/math.sin(theta) 
63
                                startInterp = math.sin((t-1)*theta)*invSinTheta 
64
                                finishInterp = math.sin(t*theta)*invSinTheta 
65
                        else 
66
                                startInterp = t-1 
67
                                finishInterp = t 
68
                        end 
69
                end 
70
                return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp 
71
        end  
72
        function clerp(a,b,t) 
73
                local qa = {QuaternionFromCFrame(a)}
74
                local qb = {QuaternionFromCFrame(b)} 
75
                local ax, ay, az = a.x, a.y, a.z 
76
                local bx, by, bz = b.x, b.y, b.z  
77
                local _t = 1-t 
78
                return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
79
        end 
80
81
end
82
do --the animating
83
plr = game:service'Players'.LocalPlayer
84
char = plr.Character
85
mouse = plr:GetMouse()
86
humanoid = char:findFirstChild("Humanoid")
87
torso = char:findFirstChild("Torso")
88
head = char.Head
89
ra = char:findFirstChild("Right Arm")
90
la = char:findFirstChild("Left Arm")
91
rl = char:findFirstChild("Right Leg")
92
ll = char:findFirstChild("Left Leg")
93
rs = torso:findFirstChild("Right Shoulder")
94
ls = torso:findFirstChild("Left Shoulder")
95
rh = torso:findFirstChild("Right Hip")
96
lh = torso:findFirstChild("Left Hip")
97
neck = torso:findFirstChild("Neck")
98
rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
99
anim = char:findFirstChild("Animate")
100
rootpart = char:findFirstChild("HumanoidRootPart")
101
camera = workspace.CurrentCamera
102
do --Removing ROBLOX's new Looped bug >_>
103
    local function rec(x)
104
        for i,v in pairs(x:children()) do
105
            if v:IsA'Animation' then
106
                v.AnimationId = 'rbxassetid://28159255'
107
            end
108
            rec(v)
109
        end
110
    end
111
    rec(anim) --the Animate script
112
end
113
114
humanoid.Jump = true
115
116
wait(.4)
117
118
119
if anim then
120
anim:Destroy()
121
end
122
123
124
local rm = Instance.new("Weld", torso)
125
rm.C0 = CFrame.new(1.5, 0.5, 0)
126
rm.C1 = CFrame.new(0, 0.5, 0)
127
rm.Part0 = torso
128
rm.Part1 = ra
129
local lm = Instance.new("Weld", torso)
130
lm.C0 = CFrame.new(-1.5, 0.5, 0)
131
lm.C1 = CFrame.new(0, 0.5, 0)
132
lm.Part0 = torso
133
lm.Part1 = la
134
135
local rlegm = Instance.new("Weld", torso)
136
rlegm.C0 = CFrame.new(0.5, -1, 0)
137
rlegm.C1 = CFrame.new(0, 1, 0)
138
rlegm.Part0 = torso
139
rlegm.Part1 = rl
140
local llegm = Instance.new("Weld", torso)
141
llegm.C0 = CFrame.new(-0.5, -1, 0)
142
llegm.C1 = CFrame.new(0, 1, 0)
143
llegm.Part0 = torso
144
llegm.Part1 = ll
145
146
neck.C0 = CFrame.new(0, 1, 0)
147
neck.C1 = CFrame.new(0, -0.5, 0)
148
149
150
rj.C0 = CFrame.new()
151
rj.C1 = CFrame.new()
152
153
154
local sound = Instance.new("Sound", head)
155-
sound.SoundId = "http://www.roblox.com/asset/?id=130797915"
155+
sound.SoundId = "http://www.roblox.com/asset/?id=253846450"
156
sound.Volume = 0.8
157
sound.Looped = true
158
159
for i,v in pairs(char:children()) do
160
    if v:IsA("Hat") then
161
        v:Destroy()
162
    end
163
end
164
165
166
--look of the fox here
167-
game:service'InsertService':LoadAsset(25930301):children()[1].Parent = char
167+
game:service'InsertService':LoadAsset(17408016):children()[1].Parent = char
168
Instance.new("PointLight", head).Range = 10
169
170
print'sweg, madiik made dis kthx' --ogm y found meh sekret
171
172
173
local speed = 0.3
174
local angle = 0
175
local sitting = false
176
local humanwalk = false
177
local anglespeed = 1
178
rsc0 = rm.C0
179
lsc0 = lm.C0
180
llc0 = llegm.C0
181
rlc0 = rlegm.C0
182
neckc0 = neck.C0
183
184
local controllerService = game:GetService("ControllerService")
185
local controller = controllerService:GetChildren()[1]
186
187
controller.Parent = nil
188
189
Instance.new("HumanoidController", game:service'ControllerService')
190
Instance.new("SkateboardController", game:service'ControllerService')
191
Instance.new("VehicleController", game:service'ControllerService')
192
local controller = controllerService:GetChildren()[1]
193
mouse.KeyDown:connect(function(k)
194
    if k == "q" then
195
        humanwalk = not humanwalk
196
    end
197
    if k == "z" then
198
        if not sound.IsPlaying then
199
            sound:stop()
200
            sound.SoundId = "http://www.roblox.com/asset/?id=130802245"
201
            wait()
202
            sound:play()
203
        end
204
    end
205
    if k == "x" then
206
        if not sound.IsPlaying then
207
            sound:stop()
208
            sound.SoundId = "http://www.roblox.com/asset/?id=130797915"
209
            wait()
210
            sound:play()
211
        end
212
    end
213
    if k == "c" then
214
        if not sound.IsPlaying then
215
            sound:stop()
216
            sound.SoundId = "http://www.roblox.com/asset/?id=149713968"
217
            wait()
218
            sound:play()
219
        end
220
    end
221
    if string.byte(k) == 48 then
222
        humanoid.WalkSpeed = 34
223
    end
224
    
225
end)
226
mouse.KeyUp:connect(function(k)
227
    
228
    if string.byte(k) == 48 then
229
        humanoid.WalkSpeed = 16
230
    end
231
    
232
end)
233
234
    
235
236
while wait() do
237
    angle = (angle % 100) + anglespeed/10
238
        mvmnt = math.pi * math.sin(math.pi*2/100*(angle*10))
239
        local rscf = rsc0
240
        local lscf = lsc0
241
        local rlcf = rlc0
242
        local llcf = llc0
243
        local rjcf = CFrame.new()
244
        local ncf = neckc0
245
        local rayz = Ray.new(rootpart.Position, Vector3.new(0, -6, 0))
246
            local hitz, enz = workspace:findPartOnRay(rayz, char)
247
            if not hitz then
248
        if sound.IsPlaying then
249
            sound:stop()
250
        end
251
        
252
        if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude > 2 then
253
        
254
        ncf = neckc0 * CFrame.Angles(math.pi/5, 0, 0)
255
        rjcf = CFrame.new() * CFrame.Angles(-math.pi/5, math.sin(angle)*0.05, 0)
256
        rscf = rsc0 * CFrame.Angles(math.pi/1.7+math.sin(angle)*0.1, 0, 0)
257
        lscf = lsc0 * CFrame.Angles(math.pi/1.7+math.sin(-angle)*0.1, 0, 0)
258
        rlcf = rlc0 * CFrame.Angles(-math.pi/10+math.sin(-angle)*0.3, 0, 0)
259
        llcf = llc0 * CFrame.Angles(-math.pi/10+math.sin(angle)*0.3, 0, 0)
260
        
261
        else
262
        
263
        ncf = neckc0 * CFrame.Angles(math.pi/14, 0, 0)
264
        rjcf = CFrame.new() * CFrame.Angles(-math.pi/18, math.sin(angle)*0.05, 0)
265
        rscf = rsc0 * CFrame.Angles(-math.pi/10+math.sin(angle)*0.2, 0, 0)
266
        lscf = lsc0 * CFrame.Angles(-math.pi/10+math.sin(-angle)*0.2, 0, 0)
267
        rlcf = rlc0 * CFrame.new(0, 0.7, -0.5) CFrame.Angles(-math.pi/14, 0, 0)
268
        llcf = llc0 * CFrame.Angles(-math.pi/20, 0, 0)
269
        
270
        end
271
    elseif humanoid.Sit then
272-
        if sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=130797915" then
272+
        if sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=253846450" then
273
        anglespeed = 6
274
        ncf = neckc0 * CFrame.Angles(math.pi/5-math.sin(angle)*0.1, 0, 0)
275
        rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, 0)
276
        rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
277
        lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
278
        rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
279
        llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
280-
        elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=135570347" then
280+
        elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=238438433" then
281
        anglespeed = 4
282
        ncf = neckc0 * CFrame.Angles(math.pi/5-math.abs(math.sin(angle))*0.3, 0, 0)
283
        rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, 0)
284
        rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
285
        lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
286
        rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
287
        llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
288-
        elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=149713968" then
288+
        elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=229373816" then
289
        anglespeed = 2
290
        ncf = neckc0 * CFrame.Angles(math.pi/5, 0, math.sin(angle)*0.08)
291
        rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, math.sin(angle)*0.01, 0)
292
        rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
293
        lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
294
        rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
295
        llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
296
        else
297
        anglespeed = 1/2
298
        ncf = neckc0 * CFrame.Angles(math.pi/5, 0, math.sin(angle)*0.08)
299
        rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, math.sin(angle)*0.01, 0)
300
        rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
301
        lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
302
        rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
303
        llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
304
        end
305
    elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then
306-
        if sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=130797915" then
306+
        if sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=316168561" then
307
        anglespeed = 6
308
            ncf = neckc0 * CFrame.Angles(math.pi/10-math.sin(angle)*0.07, 0, 0)
309
            rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/10, math.sin(angle)*0.001, 0)
310
            rscf = rsc0 * CFrame.Angles(math.pi/1+math.sin(angle)*0.5, 0, 0)
311
            lscf = lsc0 * CFrame.Angles(math.pi/1+math.sin(angle)*0.5, 0, 0)
312
            rlcf = rlc0 * CFrame.Angles(math.pi/10, math.sin(angle)*0.08, math.rad(6.5))
313
            llcf = llc0 * CFrame.Angles(math.pi/10, -math.sin(angle)*0.08, -math.rad(6.5))
314-
        elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=149713968" then
314+
        elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=312655571" then
315
            anglespeed = 2
316
            ncf = neckc0 * CFrame.Angles(math.pi/10-math.abs(math.sin(angle))*0.3, 0, 0)
317
            rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/20, math.sin(angle)*0.001, 0)
318
            rscf = rsc0 * CFrame.Angles(math.pi/2+math.abs(math.sin(angle)*1), 0, 0)
319
            lscf = lsc0 * CFrame.Angles(math.pi/2+math.abs(math.sin(angle)*1), 0, 0)
320
            rlcf = rlc0 * CFrame.Angles(math.pi/20, math.sin(angle)*0.08, math.rad(2.5))
321
            llcf = llc0 * CFrame.Angles(math.pi/20, -math.sin(angle)*0.08, -math.rad(2.5))
322-
        elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=130802245" then
322+
        elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=270731175" then
323
        anglespeed = 3
324
        ncf = neckc0 * CFrame.Angles(math.sin(angle)*0.07, math.rad(30), 0)
325
        rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.sin(angle)*0.001, 0)
326
        rscf = rsc0 * CFrame.Angles(math.sin(angle)*0.05, 0, 0)
327
        lscf = lsc0 * CFrame.Angles(math.sin(-angle)*0.05, 0, 0)
328
        rlcf = rlc0 * CFrame.new(0, -0.1 + math.abs(mvmnt)*0.1, -0.1) * CFrame.Angles(0, math.rad(5), math.rad(5))
329
        llcf = llc0 * CFrame.Angles(0, math.rad(2.5), math.rad(1))
330
        else
331
            if humanwalk then
332
                        anglespeed = 1/4
333
        ncf = neckc0 * CFrame.Angles(-math.sin(angle)*0.07, 0, 0)
334
        rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.sin(angle)*0.001, 0)
335
        rscf = rsc0 * CFrame.Angles(math.sin(angle)*0.1, 0, 0)
336
        lscf = lsc0 * CFrame.Angles(math.sin(-angle)*0.1, 0, 0)
337
        rlcf = rlc0 * CFrame.Angles(0, math.sin(angle)*0.08, math.rad(2.5))
338
        llcf = llc0 * CFrame.Angles(0, -math.sin(angle)*0.08, -math.rad(2.5))
339
                else
340
        anglespeed = 1/2
341
        ncf = neckc0 * CFrame.Angles(math.pi/5, 0, math.sin(angle)*0.08)
342
        rjcf = CFrame.new(0, -2, 0) * CFrame.Angles(-math.pi/5, math.sin(angle)*0.01, 0)
343
        rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
344
        lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
345
        rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
346
        llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
347
            end
348
        end
349
    elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 20 then
350
        if sound.IsPlaying then
351
            sound:stop()
352
        end
353
        if humanwalk then
354
                                anglespeed = 4
355
        ncf = neckc0 * CFrame.Angles(math.pi/24, mvmnt*.02, 0)
356
        rjcf = CFrame.new(0, math.abs(mvmnt)*0.05, 0) * CFrame.Angles(-math.pi/24, -mvmnt*.02, 0)
357
        rscf = rsc0 * CFrame.Angles(math.sin(angle)*1.25, 0, -math.abs(mvmnt)*0.02)
358
        lscf = lsc0 * CFrame.Angles(math.sin(-angle)*1.25, 0, math.abs(mvmnt)*0.02)
359
        rlcf = rlc0 * CFrame.Angles(math.sin(-angle)*1, 0, math.rad(.5))
360
        llcf = llc0 * CFrame.Angles(math.sin(angle)*1, 0, -math.rad(.5))
361
                else
362
        anglespeed = 4
363
        ncf = neckc0 * CFrame.new(0, 0, .2) * CFrame.Angles(math.pi/1.9, 0, 0)
364
        rjcf = CFrame.new(0, -1.5+math.abs(mvmnt)*0.05, 0) * CFrame.Angles(-math.pi/1.9, math.sin(mvmnt/2)*0.05, 0)
365
        rscf = rsc0 * CFrame.new(-.45, 0.2, -.4+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2+math.sin(angle)*0.7, 0, math.rad(5))
366
        lscf = lsc0 * CFrame.new(.45, 0.2, .1-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2+math.sin(-angle)*0.7, 0, -math.rad(5))
367
        rlcf = rlc0 * CFrame.new(0, 0, -.3+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(-angle)*0.6, 0, math.abs(mvmnt)*0.025)
368
        llcf = llc0 * CFrame.new(0, 0, .3-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(angle)*.6, 0, -math.abs(mvmnt)*0.025)
369
        end
370
    elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 20 then
371
        if sound.IsPlaying then
372
            sound:stop()
373
        end
374
        if humanwalk then
375
        anglespeed = 5
376
        ncf = neckc0 * CFrame.Angles(math.pi/20, math.sin(angle)*.04, 0)
377
        rjcf = CFrame.new(0, -.4 + math.abs(mvmnt)*0.25, 0) * CFrame.Angles(-math.pi/20, -math.sin(angle)*.08, 0)
378
        rscf = rsc0 * CFrame.new(0, 0, -.3+math.abs(mvmnt)*0.125) *  CFrame.Angles(math.pi/18+math.sin(angle)*1.5, 0, -math.abs(mvmnt)*0.02)
379
        lscf = lsc0 * CFrame.new(0, 0, .3-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/18+math.sin(-angle)*1.5, 0, math.abs(mvmnt)*0.02)
380
        rlcf = rlc0 * CFrame.new(0, 0, -.6+math.abs(mvmnt)*0.125) * CFrame.Angles(-math.pi/18+math.sin(-angle)*1.3, 0, math.rad(.5))
381
        llcf = llc0 * CFrame.new(0, 0, -math.abs(mvmnt)*0.125) * CFrame.Angles(-math.pi/18+math.sin(angle)*1.3, 0, -math.rad(.5))
382
        else
383
        anglespeed = 5.5
384
        ncf = neckc0 * CFrame.new(0, 0, .2) * CFrame.Angles(math.pi/1.9+math.sin(mvmnt/2)*0.05, 0, 0)
385
        rjcf = CFrame.new(0, -1.3+math.abs(mvmnt)*0.05, 0) * CFrame.Angles(-math.pi/1.9+math.abs(mvmnt/2)*0.1, 0, 0)
386
        rscf = rsc0 * CFrame.new(-1, 0.2, -.5) * CFrame.Angles(math.pi/2+math.sin(angle)*1.8, 0, math.rad(5))
387
        lscf = lsc0 * CFrame.new(1, 0.2, -.5) * CFrame.Angles(math.pi/2+math.sin(angle)*1.8, 0, -math.rad(5))
388
        rlcf = rlc0 * CFrame.new(0, .3-math.abs(mvmnt)*0.125, -.3+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(-angle)*1.4, 0, math.abs(mvmnt)*0.025)
389
        llcf = llc0 * CFrame.new(0, .3-math.abs(mvmnt)*0.125, .3-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(-angle)*1.4, 0, -math.abs(mvmnt)*0.025)
390
        end
391
    end
392
        
393
    rm.C0 = clerp(rm.C0,rscf,speed)
394
    lm.C0 = clerp(lm.C0,lscf,speed)
395
    rj.C0 = clerp(rj.C0,rjcf,speed)
396
    neck.C0 = clerp(neck.C0,ncf,speed)
397
    rlegm.C0 = clerp(rlegm.C0,rlcf,speed)
398
    llegm.C0 = clerp(llegm.C0,llcf,speed)
399
end
400
401
402
end