View difference between Paste ID: z048xu3q and yFfSQHUT
SHOW: | | - or go back to the newest paste.
1
--[[
2
==================================]}
3
//{Script: Memuto          
4
//{User: Solavenge               
5
==================================]}
6
//{Controls:              
7
// F - Toggle Memes
8
==================================]}
9
--]]
10
11
local Player = game.Players.localPlayer
12
local Character = Player.Character
13
local red = 255
14
local green = 255
15
local blue = 255
16
local Humanoid = Character.Humanoid
17
local mouse = Player:GetMouse()
18
local m = Instance.new("Model", Character)
19
m.Name = "WeaponModel"
20
local LeftArm = Character["Left Arm"]
21
local RightArm = Character["Right Arm"]
22
local LeftLeg = Character["Left Leg"]
23
local RightLeg = Character["Right Leg"]
24
local Head = Character.Head
25
local Torso = Character.Torso
26
local cam = game.Workspace.CurrentCamera
27
local RootPart = Character.HumanoidRootPart
28
local RootJoint = RootPart.RootJoint
29
local equipped = false
30
local attack = false
31
local Anim = "Idle"
32
local idle = 0
33
local attacktype = 1
34
local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
35
local velocity = RootPart.Velocity.y
36
local sine = 0
37
local change = 1
38
local grabbed = false
39
local cn = CFrame.new
40
local mr = math.rad
41
local angles = CFrame.Angles
42
local ud = UDim2.new
43
local c3 = Color3.new
44
local lim = 0
45
local st = 0
46
local necko = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
47
local attacktype = 1
48
local ZTarget, RocketTarget = nil, nil
49
local euler = CFrame.fromEulerAnglesXYZ
50
function clerp(a,b,t) 
51
local qa = {QuaternionFromCFrame(a)}
52
local qb = {QuaternionFromCFrame(b)} 
53
local ax, ay, az = a.x, a.y, a.z 
54
local bx, by, bz = b.x, b.y, b.z
55
local _t = 1-t
56
return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
57
end 
58
 
59
function QuaternionFromCFrame(cf) 
60
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
61
local trace = m00 + m11 + m22 
62
if trace > 0 then 
63
local s = math.sqrt(1 + trace) 
64
local recip = 0.5/s 
65
return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
66
else 
67
local i = 0 
68
if m11 > m00 then
69
i = 1
70
end
71
if m22 > (i == 0 and m00 or m11) then 
72
i = 2 
73
end 
74
if i == 0 then 
75
local s = math.sqrt(m00-m11-m22+1) 
76
local recip = 0.5/s 
77
return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
78
elseif i == 1 then 
79
local s = math.sqrt(m11-m22-m00+1) 
80
local recip = 0.5/s 
81
return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
82
elseif i == 2 then 
83
local s = math.sqrt(m22-m00-m11+1) 
84
local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
85
end 
86
end 
87
end
88
 
89
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
90
local xs, ys, zs = x + x, y + y, z + z 
91
local wx, wy, wz = w*xs, w*ys, w*zs 
92
local xx = x*xs 
93
local xy = x*ys 
94
local xz = x*zs 
95
local yy = y*ys 
96
local yz = y*zs 
97
local zz = z*zs 
98
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)) 
99
end
100
 
101
function QuaternionSlerp(a, b, t) 
102
local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] 
103
local startInterp, finishInterp; 
104
if cosTheta >= 0.0001 then 
105
if (1 - cosTheta) > 0.0001 then 
106
local theta = math.acos(cosTheta) 
107
local invSinTheta = 1/math.sin(theta) 
108
startInterp = math.sin((1-t)*theta)*invSinTheta 
109
finishInterp = math.sin(t*theta)*invSinTheta  
110
else 
111
startInterp = 1-t 
112
finishInterp = t 
113
end 
114
else 
115
if (1+cosTheta) > 0.0001 then 
116
local theta = math.acos(-cosTheta) 
117
local invSinTheta = 1/math.sin(theta) 
118
startInterp = math.sin((t-1)*theta)*invSinTheta 
119
finishInterp = math.sin(t*theta)*invSinTheta 
120
else 
121
startInterp = t-1 
122
finishInterp = t 
123
end 
124
end 
125
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 
126
end
127
rayCast = function(Position, Direction, Range, Ignore)
128
  return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
129
end
130
local v = game.Players.localPlayer
131
local torso = v.Character.Torso
132
wait(1)
133
local p = Instance.new("Part", v.Character)
134
p.Name = "kit"
135
p.Anchored = true
136
p.Transparency = 0
137
p.Material = "Plastic"
138
p.CanCollide = false
139
p.TopSurface = 0
140
p.BottomSurface = 0
141
p.Size = Vector3.new(0.2, 0.2, 0.2)
142
p.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
143
local msh = Instance.new("SpecialMesh", p)
144
msh.Scale = Vector3.new(-2, 2, 2)
145
msh.MeshId = "http://www.roblox.com/asset/?id=188635159"
146
msh.TextureId = "http://www.roblox.com/asset/?id=188539332"
147
msh.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
148
local pn = Instance.new("Part", v.Character.kit)
149
pn.Name = "tail"
150
pn.Anchored = true
151
pn.Transparency = 0
152
pn.Material = "Plastic"
153
pn.CanCollide = false
154
pn.TopSurface = 0
155
pn.BottomSurface = 0
156
pn.Size = Vector3.new(5, 3, 3)
157
pn.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
158
local mshn = Instance.new("SpecialMesh", pn)
159
mshn.Scale = Vector3.new(2, 2, 2)
160
mshn.MeshId = "http://www.roblox.com/asset/?id=188635159"
161
mshn.TextureId = "http://www.roblox.com/asset/?id=188539332"
162
mshn.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
163
local pn3 = Instance.new("Part", v.Character.kit)
164
pn3.Name = "tail"
165
pn3.Anchored = true
166
pn3.Transparency = 0
167
pn3.Material = "Plastic"
168
pn3.CanCollide = false
169
pn3.TopSurface = 0
170
pn3.BottomSurface = 0
171
pn3.Size = Vector3.new(0.2, 0.2, 0.2)
172
pn3.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
173
local mshn3 = Instance.new("SpecialMesh", pn3)
174
mshn3.Scale = Vector3.new(2, 2, 2)
175
mshn3.MeshId = "http://www.roblox.com/asset/?id=188635159"
176
mshn3.TextureId = "http://www.roblox.com/asset/?id=188539332"
177
mshn3.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
178
local pn4 = Instance.new("Part", v.Character.kit)
179
pn4.Name = "tail"
180
pn4.Anchored = true
181
pn4.Transparency = 0
182
pn4.Material = "Plastic"
183
pn4.CanCollide = false
184
pn4.TopSurface = 0
185
pn4.BottomSurface = 0
186
pn4.Size = Vector3.new(0.2, 0.2, 0.2)
187
pn4.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
188
local mshn4 = Instance.new("SpecialMesh", pn4)
189
mshn4.Scale = Vector3.new(-2, 2, 2)
190
mshn4.MeshId = "http://www.roblox.com/asset/?id=188635159"
191
mshn4.TextureId = "http://www.roblox.com/asset/?id=188539332"
192
mshn4.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
193
local pn5 = Instance.new("Part", v.Character.kit)
194
pn5.Name = "tail"
195
pn5.Anchored = true
196
pn5.Transparency = 0
197
pn5.Material = "Plastic"
198
pn5.CanCollide = false
199
pn5.TopSurface = 0
200
pn5.BottomSurface = 0
201
pn5.Size = Vector3.new(0.2, 0.2, 0.2)
202
pn5.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
203
local mshn5 = Instance.new("SpecialMesh", pn5)
204
mshn5.Scale = Vector3.new(2, 2, 2)
205
mshn5.MeshId = "http://www.roblox.com/asset/?id=188635159"
206
mshn5.TextureId = "http://www.roblox.com/asset/?id=188539332"
207
mshn5.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
208
local pn6 = Instance.new("Part", v.Character.kit)
209
pn6.Name = "tail"
210
pn6.Anchored = true
211
pn6.Transparency = 0
212
pn6.Material = "Plastic"
213
pn6.CanCollide = false
214
pn6.TopSurface = 0
215
pn6.BottomSurface = 0
216
pn6.Size = Vector3.new(0.2, 0.2, 0.2)
217
pn6.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
218
local mshn6 = Instance.new("SpecialMesh", pn6)
219
mshn6.Scale = Vector3.new(2, 2, 2)
220
mshn6.MeshId = "http://www.roblox.com/asset/?id=188635159"
221
mshn6.TextureId = "http://www.roblox.com/asset/?id=188539332"
222
mshn6.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
223
local pn7 = Instance.new("Part", v.Character.kit)
224
pn7.Name = "tail"
225
pn7.Anchored = true
226
pn7.Transparency = 0
227
pn7.Material = "Plastic"
228
pn7.CanCollide = false
229
pn7.TopSurface = 0
230
pn7.BottomSurface = 0
231
pn7.Size = Vector3.new(0.2, 0.2, 0.2)
232
pn7.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
233
local mshn7 = Instance.new("SpecialMesh", pn7)
234
mshn7.Scale = Vector3.new(2, 2, 2)
235
mshn7.MeshId = "http://www.roblox.com/asset/?id=188635159"
236
mshn7.TextureId = "http://www.roblox.com/asset/?id=188539332"
237
mshn7.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
238
local pn8 = Instance.new("Part", v.Character.kit)
239
pn8.Name = "tail"
240
pn8.Anchored = true
241
pn8.Transparency = 0
242
pn8.Material = "Plastic"
243
pn8.CanCollide = false
244
pn8.TopSurface = 0
245
pn8.BottomSurface = 0
246
pn8.Size = Vector3.new(0.2, 0.2, 0.2)
247
pn8.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
248
local mshn8 = Instance.new("SpecialMesh", pn8)
249
mshn8.Scale = Vector3.new(-2, 2, 2)
250
mshn8.MeshId = "http://www.roblox.com/asset/?id=188635159"
251
mshn8.TextureId = "http://www.roblox.com/asset/?id=188539332"
252
mshn8.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
253
local pn9 = Instance.new("Part", v.Character.kit)
254
pn9.Name = "tail"
255
pn9.Anchored = true
256
pn9.Transparency = 0
257
pn9.Material = "Plastic"
258
pn9.CanCollide = false
259
pn9.TopSurface = 0
260
pn9.BottomSurface = 0
261
pn9.Size = Vector3.new(0.2, 0.2, 0.2)
262
pn9.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
263
local mshn9 = Instance.new("SpecialMesh", pn9)
264
mshn9.Scale = Vector3.new(-2, 2, 2)
265
mshn9.MeshId = "http://www.roblox.com/asset/?id=188635159"
266
mshn9.TextureId = "http://www.roblox.com/asset/?id=188539332"
267
mshn9.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
268
local pn0 = Instance.new("Part", v.Character.kit)
269
pn0.Name = "ears"
270
pn0.Anchored = true
271
pn0.Transparency = 0
272
pn0.Material = "Plastic"
273
pn0.CanCollide = false
274
pn0.TopSurface = 0
275
pn0.BottomSurface = 0
276
pn0.Size = Vector3.new(0.2, 0.2, 0.2)
277
pn0.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
278
local mshn0 = Instance.new("SpecialMesh", pn0)
279
mshn0.Scale = Vector3.new(0.5, 0.5, 0.5)
280
mshn0.MeshId = "http://www.roblox.com/asset/?id=361948302"
281
mshn0.TextureId = "http://www.roblox.com/asset/?id=50657528"
282
mshn0.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
283
p.Anchored = false
284
local motor1 = Instance.new("Weld", p)
285
motor1.Part0 = p
286
motor1.Part1 = torso
287
motor1.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
288
motor1.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
289
pn.Anchored = false
290
local motor2 = Instance.new("Weld", pn)
291
motor2.Part0 = pn
292
motor2.Part1 = torso
293
motor2.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
294
motor2.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
295
pn3.Anchored = false
296
local motor3 = Instance.new("Weld", pn3)
297
motor3.Part0 = pn3
298
motor3.Part1 = torso
299
motor3.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
300
motor3.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
301
pn4.Anchored = false
302
local motor4 = Instance.new("Weld", pn4)
303
motor4.Part0 = pn4
304
motor4.Part1 = torso
305
motor4.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
306
motor4.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
307
pn5.Anchored = false
308
local motor5 = Instance.new("Weld", pn5)
309
motor5.Part0 = pn5
310
motor5.Part1 = torso
311
motor5.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
312
motor5.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
313
pn6.Anchored = false
314
local motor6 = Instance.new("Weld", pn6)
315
motor6.Part0 = pn6
316
motor6.Part1 = torso
317
motor6.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
318
motor6.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
319
pn7.Anchored = false
320
local motor7 = Instance.new("Weld", pn7)
321
motor7.Part0 = pn7
322
motor7.Part1 = torso
323
motor7.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
324
motor7.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
325
pn8.Anchored = false
326
local motor8 = Instance.new("Weld", pn8)
327
motor8.Part0 = pn8
328
motor8.Part1 = torso
329
motor8.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
330
motor8.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
331
pn9.Anchored = false
332
local motor9 = Instance.new("Weld", pn9)
333
motor9.Part0 = pn9
334
motor9.Part1 = torso
335
motor9.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
336
motor9.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
337
pn0.Anchored = false
338
local motor0 = Instance.new("Weld", pn0)
339
motor0.Part0 = pn0
340
motor0.Part1 = v.Character.Head
341
motor0.C0 = CFrame.new(0, -0.8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
342
game:GetService("RunService").Stepped:connect(function()
343
  Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
344
  velocity = RootPart.Velocity.y
345
  sine = sine + change
346
  local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
347
  if equipped == true or equipped == false then
348
    if RootPart.Velocity.y > 1 and hit == nil then
349
      Anim = "Jump"
350
      if attack == false then
351
        motor1.C0 = clerp(motor1.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(-90 + 0 * math.cos(sine / 10)), math.rad(80 + 0 * math.cos(sine / 25))), 0.1)
352
        motor2.C0 = clerp(motor2.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(90 + 0 * math.cos(sine / 10)), math.rad(-80 + 0 * math.cos(sine / 25))), 0.1)
353
        motor3.C0 = clerp(motor3.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(90 + 0 * math.cos(sine / 10)), math.rad(-110 + 0 * math.cos(sine / 25))), 0.1)
354
        motor4.C0 = clerp(motor4.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(-90 + 0 * math.cos(sine / 10)), math.rad(110 + 0 * math.cos(sine / 25))), 0.1)
355
        motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(90 + 0 * math.cos(sine / 10)), math.rad(-80 + 0 * math.cos(sine / 25))), 0.1)
356
        motor6.C0 = clerp(motor6.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(90 + 0 * math.cos(sine / 10)), math.rad(-80 + 0 * math.cos(sine / 25))), 0.1)
357
        motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(90 + 0 * math.cos(sine / 10)), math.rad(-80 + 0 * math.cos(sine / 25))), 0.1)
358
        motor8.C0 = clerp(motor8.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(-90 + 0 * math.cos(sine / 10)), math.rad(80 + 0 * math.cos(sine / 25))), 0.1)
359
        motor9.C0 = clerp(motor9.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(-90 + 0 * math.cos(sine / 10)), math.rad(80 + 0 * math.cos(sine / 25))), 0.1)
360
      end
361
    else
362
      if RootPart.Velocity.y < -1 and hit == nil then
363
        Anim = "Fall"
364
        if attack == false then
365
          motor1.C0 = clerp(motor1.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(70 + 0 * math.cos(sine / 25))), 0.1)
366
          motor2.C0 = clerp(motor2.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(-70 + 0 * math.cos(sine / 25))), 0.1)
367
          motor3.C0 = clerp(motor3.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(-70 + 0 * math.cos(sine / 25))), 0.1)
368
          motor4.C0 = clerp(motor4.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(70 + 0 * math.cos(sine / 25))), 0.1)
369
          motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(-70 + 0 * math.cos(sine / 25))), 0.1)
370
          motor6.C0 = clerp(motor6.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(-70 + 0 * math.cos(sine / 25))), 0.1)
371
          motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(-70 + 0 * math.cos(sine / 25))), 0.1)
372
          motor8.C0 = clerp(motor8.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(70 + 0 * math.cos(sine / 25))), 0.1)
373
          motor9.C0 = clerp(motor9.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(70 + 0 * math.cos(sine / 25))), 0.1)
374
        end
375
      else
376
        if Torsovelocity < 1 and hit ~= nil then
377
          Anim = "Idle"
378
          if attack == false then
379
            change = 1
380
            motor1.C0 = clerp(motor1.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-5 + 5 * math.cos(sine / 50)), math.rad(0 + 5 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
381
            motor2.C0 = clerp(motor2.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-5 + -5 * math.cos(sine / 70)), math.rad(0 + -5 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
382
            motor3.C0 = clerp(motor3.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-5 + -5 * math.cos(sine / 80)), math.rad(0 + 5 * math.cos(sine / 65)), math.rad(-50 + 0 * math.cos(sine / 25))), 0.1)
383
            motor4.C0 = clerp(motor4.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(0 + 5 * math.cos(sine / 40)), math.rad(0 + 5 * math.cos(sine / 70)), math.rad(-40 + 0 * math.cos(sine / 25))), 0.1)
384
            motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(0 + 5 * math.cos(sine / 60)), math.rad(0 + 5 * math.cos(sine / 65)), math.rad(40 + 0 * math.cos(sine / 25))), 0.1)
385
            motor6.C0 = clerp(motor6.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-50 + 5 * math.cos(sine / 35)), math.rad(0 + 5 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
386
            motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-50 + 5 * math.cos(sine / 70)), math.rad(0 + 5 * math.cos(sine / 35)), math.rad(-45 + 0 * math.cos(sine / 25))), 0.1)
387
            motor8.C0 = clerp(motor8.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-50 + 5 * math.cos(sine / 55)), math.rad(0 + 5 * math.cos(sine / 55)), math.rad(-10 + 0 * math.cos(sine / 25))), 0.1)
388
            motor9.C0 = clerp(motor9.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-50 + 5 * math.cos(sine / 65)), math.rad(0 + 5 * math.cos(sine / 60)), math.rad(35 + 0 * math.cos(sine / 25))), 0.1)
389
          end
390
        else
391
          if Torsovelocity > 2 and hit ~= nil then
392
            Anim = "Walk"
393
            if attack == false then
394
              motor1.C0 = clerp(motor1.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-60 + -10 * math.cos(sine / 10)), math.rad(-45 + 10 * math.cos(sine / 10)), math.rad(45 + 0 * math.cos(sine / 10))), 0.1)
395
              motor2.C0 = clerp(motor2.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 10 * math.cos(sine / 10)), math.rad(45 + 10 * math.cos(sine / 10)), math.rad(-45 + 0 * math.cos(sine / 10))), 0.1)
396
              motor3.C0 = clerp(motor3.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 10 * math.cos(sine / 10)), math.rad(45 + 10 * math.cos(sine / 10)), math.rad(-45 + 0 * math.cos(sine / 10))), 0.1)
397
              motor4.C0 = clerp(motor4.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-60 + -10 * math.cos(sine / 10)), math.rad(-45 + 10 * math.cos(sine / 10)), math.rad(45 + 0 * math.cos(sine / 10))), 0.1)
398
              motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 10 * math.cos(sine / 10)), math.rad(45 + 10 * math.cos(sine / 10)), math.rad(-45 + 0 * math.cos(sine / 10))), 0.1)
399
              motor6.C0 = clerp(motor6.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 10 * math.cos(sine / 10)), math.rad(45 + 10 * math.cos(sine / 10)), math.rad(-45 + 0 * math.cos(sine / 10))), 0.1)
400
              motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 10 * math.cos(sine / 10)), math.rad(45 + 10 * math.cos(sine / 10)), math.rad(-45 + 0 * math.cos(sine / 10))), 0.1)
401
              motor8.C0 = clerp(motor8.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-60 + -10 * math.cos(sine / 10)), math.rad(-45 + 10 * math.cos(sine / 10)), math.rad(45 + 0 * math.cos(sine / 10))), 0.1)
402
              motor9.C0 = clerp(motor9.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-60 + -10 * math.cos(sine / 10)), math.rad(-45 + 10 * math.cos(sine / 10)), math.rad(45 + 0 * math.cos(sine / 10))), 0.1)
403
            end
404
          end
405
        end
406
      end
407
    end
408
  end
409
end)
410
Player=game:GetService("Players").LocalPlayer
411
local WEEB = Instance.new("Sound",Torso)
412
WEEB.Volume=0
413
WEEB.Pitch=0
414
WEEB.SoundId="http://www.roblox.com/asset/?id=1009682087"
415
WEEB.Looped=true
416
wait() 
417
WEEB:play()
418
Character=Player.Character 
419
PlayerGui=Player.PlayerGui 
420
Backpack=Player.Backpack 
421
Torso=Character.Torso 
422
Head=Character.Head 
423
Humanoid=Character.Humanoid
424
m=Instance.new('Model',Character)
425
LeftArm=Character["Left Arm"] 
426
LeftLeg=Character["Left Leg"] 
427
RightArm=Character["Right Arm"] 
428
RightLeg=Character["Right Leg"] 
429
LS=Torso["Left Shoulder"] 
430
LH=Torso["Left Hip"] 
431
RS=Torso["Right Shoulder"] 
432
RH=Torso["Right Hip"] 
433
Neck=Torso.Neck
434
it=Instance.new
435
attacktype=1
436
vt=Vector3.new
437
cf=CFrame.new
438
euler=CFrame.fromEulerAnglesXYZ
439
angles=CFrame.Angles
440
necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
441
necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
442
LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
443
LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
444
RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
445
RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
446
RootPart=Character.HumanoidRootPart
447
RootJoint=RootPart.RootJoint
448
RootCF=euler(-1.57,0,3.14)
449
attack = false 
450
attackdebounce = false 
451
deb=false
452
equipped=true
453
hand=false
454
MMouse=nil
455
combo=0
456
mana=0
457
cam=workspace.CurrentCamera
458
RocketTarget=nil
459
Targetting=false
460
trispeed=.2
461
attackmode='none'
462
local idle=0
463
local Anim="Idle"
464
local Effects={}
465
local gun=false
466
local shoot=false
467
local issprinting=false
468
local memeing=false
469
player=nil 
470
mouse=Player:GetMouse()
471
--save shoulders 
472
RSH, LSH=nil, nil 
473
--welds 
474
RW, LW=Instance.new("Weld"), Instance.new("Weld") 
475
RW.Name="Right Shoulder" LW.Name="Left Shoulder"
476
LH=Torso["Left Hip"]
477
RH=Torso["Right Hip"]
478
TorsoColor=Torso.BrickColor
479
function NoOutline(Part)
480
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
481
end
482
player=Player 
483
ch=Character
484
RSH=ch.Torso["Right Shoulder"] 
485
LSH=ch.Torso["Left Shoulder"] 
486
-- 
487
RSH.Parent=nil 
488
LSH.Parent=nil 
489
-- 
490
RW.Name="Right Shoulder"
491
RW.Part0=ch.Torso 
492
RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) 
493
RW.C1=cf(0, 0.5, 0) 
494
RW.Part1=ch["Right Arm"] 
495
RW.Parent=ch.Torso 
496
-- 
497
LW.Name="Left Shoulder"
498
LW.Part0=ch.Torso 
499
LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) 
500
LW.C1=cf(0, 0.5, 0) 
501
LW.Part1=ch["Left Arm"] 
502
LW.Parent=ch.Torso 
503
504
if Humanoid:findFirstChild("Animate") then
505
  Humanoid:findFirstChild("Animate"):Destroy()
506
elseif Character:findFirstChild("Animate") then
507
  Character:findFirstChild("Animate"):Destroy()
508
end
509
510
511
local WEEB = Instance.new("Sound",Torso)
512
WEEB.Volume=0
513
WEEB.Pitch=0
514-
WEEB.SoundId="http://www.roblox.com/asset/?id=1120289188"
514+
WEEB.SoundId="http://www.roblox.com/asset/?id=991376771
515
WEEB.Looped=true
516
wait() 
517
WEEB:play() 
518
519
520
local Stats=Instance.new("BoolValue")
521
Stats.Name="Stats"
522
Stats.Parent=Character
523
local Atk=Instance.new("NumberValue")
524
Atk.Name="Damage"
525
Atk.Parent=Stats
526
Atk.Value=1
527
local Def=Instance.new("NumberValue")
528
Def.Name="Defense"
529
Def.Parent=Stats
530
Def.Value=1
531
local Speed=Instance.new("NumberValue")
532
Speed.Name="Speed"
533
Speed.Parent=Stats
534
Speed.Value=1
535
local Mvmt=Instance.new("NumberValue")
536
Mvmt.Name="Movement"
537
Mvmt.Parent=Stats
538
Mvmt.Value=1
539
540
541
local donum=0
542
543
function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
544
local fp=it("Part")
545
fp.formFactor=formfactor 
546
fp.Parent=parent
547
fp.Reflectance=reflectance
548
fp.Transparency=transparency
549
fp.CanCollide=false 
550
fp.Locked=true
551
fp.BrickColor=brickcolor
552
fp.Name=name
553
fp.Size=size
554
fp.Position=Torso.Position 
555
NoOutline(fp)
556
fp.Material="SmoothPlastic"
557
fp:BreakJoints()
558
return fp 
559
end 
560
561
function part2(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
562
	local fp = Instance.new("Part")
563
		fp.formFactor = formfactor
564
		fp.Parent = parent
565
		fp.Reflectance = reflectance
566
		fp.Transparency = transparency
567
		fp.CanCollide = false
568
		fp.Locked = true
569
		fp.BrickColor = BrickColor.new(tostring(brickcolor))
570
		fp.Name = name
571
		fp.Size = size
572
		fp.Position = Character.Torso.Position
573
		fp.Material = material
574
	
575
	NoOutline(fp)
576
	return fp
577
end
578
 
579
function mesh(Mesh,part,meshtype,meshid,offset,scale)
580
local mesh=it(Mesh) 
581
mesh.Parent=part
582
if Mesh=="SpecialMesh" then
583
mesh.MeshType=meshtype
584
mesh.MeshId=meshid
585
end
586
mesh.Offset=offset
587
mesh.Scale=scale
588
return mesh
589
end
590
 
591
function weld(parent,part0,part1,c0)
592
local weld=it("Weld") 
593
weld.Parent=parent
594
weld.Part0=part0 
595
weld.Part1=part1 
596
weld.C0=c0
597
return weld
598
end
599
600
function weld2(parent, part0, part1, c0, c1)
601
	local Weld = Instance.new("Weld")
602
		Weld.Parent = parent
603
		Weld.Part0 = part0
604
		Weld.Part1 = part1
605
		Weld.C0 = c0
606
		Weld.C1 = c1
607
	
608
	return Weld
609
end
610
 
611
local Color1=Torso.BrickColor
612
613
local bodvel=Instance.new("BodyVelocity")
614
local bg=Instance.new("BodyGyro")
615
616
ArtificialHB = Instance.new("BindableEvent", script)
617
ArtificialHB.Name = "Heartbeat"
618
619
script:WaitForChild("Heartbeat")
620
621
frame = 1 / 60 
622
tf = 0
623
allowframeloss = true
624
tossremainder = false
625
lastframe = tick()
626
script.Heartbeat:Fire()
627
628
game:GetService("RunService").Heartbeat:connect(function(s, p)
629
    tf = tf + s
630
    if tf >= frame then
631
        if allowframeloss then
632
            script.Heartbeat:Fire()
633
            lastframe = tick()
634
        else
635
            for i = 1, math.floor(tf / frame) do
636
                script.Heartbeat:Fire()
637
            end
638
            lastframe = tick()
639
        end
640
        if tossremainder then
641
            tf = 0
642
        else
643
            tf = tf - frame * math.floor(tf / frame)
644
        end
645
    end
646
end)
647
648
function swait(num)
649
    if num == 0 or num == nil then
650
        ArtificialHB.Event:wait()
651
    else
652
        for i = 0, num do
653
            ArtificialHB.Event:wait()
654
        end
655
    end
656
end
657
 
658
 
659
so = function(id,par,vol,pit) 
660
coroutine.resume(coroutine.create(function()
661
local sou = Instance.new("Sound",par or workspace)
662
sou.Volume=vol
663
sou.Pitch=pit or 1
664
sou.SoundId=id
665
swait() 
666
sou:play() 
667
game:GetService("Debris"):AddItem(sou,6)
668
end))
669
end
670
 
671
function clerp(a,b,t) 
672
local qa = {QuaternionFromCFrame(a)}
673
local qb = {QuaternionFromCFrame(b)} 
674
local ax, ay, az = a.x, a.y, a.z 
675
local bx, by, bz = b.x, b.y, b.z
676
local _t = 1-t
677
return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
678
end 
679
 
680
function QuaternionFromCFrame(cf) 
681
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
682
local trace = m00 + m11 + m22 
683
if trace > 0 then 
684
local s = math.sqrt(1 + trace) 
685
local recip = 0.5/s 
686
return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
687
else 
688
local i = 0 
689
if m11 > m00 then
690
i = 1
691
end
692
if m22 > (i == 0 and m00 or m11) then 
693
i = 2 
694
end 
695
if i == 0 then 
696
local s = math.sqrt(m00-m11-m22+1) 
697
local recip = 0.5/s 
698
return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
699
elseif i == 1 then 
700
local s = math.sqrt(m11-m22-m00+1) 
701
local recip = 0.5/s 
702
return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
703
elseif i == 2 then 
704
local s = math.sqrt(m22-m00-m11+1) 
705
local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
706
end 
707
end 
708
end
709
 
710
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
711
local xs, ys, zs = x + x, y + y, z + z 
712
local wx, wy, wz = w*xs, w*ys, w*zs 
713
local xx = x*xs 
714
local xy = x*ys 
715
local xz = x*zs 
716
local yy = y*ys 
717
local yz = y*zs 
718
local zz = z*zs 
719
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)) 
720
end
721
 
722
function QuaternionSlerp(a, b, t) 
723
local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] 
724
local startInterp, finishInterp; 
725
if cosTheta >= 0.0001 then 
726
if (1 - cosTheta) > 0.0001 then 
727
local theta = math.acos(cosTheta) 
728
local invSinTheta = 1/math.sin(theta) 
729
startInterp = math.sin((1-t)*theta)*invSinTheta 
730
finishInterp = math.sin(t*theta)*invSinTheta  
731
else 
732
startInterp = 1-t 
733
finishInterp = t 
734
end 
735
else 
736
if (1+cosTheta) > 0.0001 then 
737
local theta = math.acos(-cosTheta) 
738
local invSinTheta = 1/math.sin(theta) 
739
startInterp = math.sin((t-1)*theta)*invSinTheta 
740
finishInterp = math.sin(t*theta)*invSinTheta 
741
else 
742
startInterp = t-1 
743
finishInterp = t 
744
end 
745
end 
746
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 
747
end
748
749
function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
750
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
751
end 
752
753
Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) --bm1
754
	if hit.Parent == nil then
755
		return
756
	end
757
	local h = hit.Parent:FindFirstChild("Humanoid")
758
	for _, v in pairs(hit.Parent:children()) do
759
		if v:IsA("Humanoid") then
760
			h = v
761
		end
762
	end
763
	if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
764
		if hit.Parent:findFirstChild("DebounceHit") ~= nil then
765
			if hit.Parent.DebounceHit.Value == true then
766
				return
767
			end
768
		end
769
		if h.MaxHealth >= math.huge then
770
			hit:BreakJoints()
771
		end
772
        --[[                if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
773
                        return
774
                end]]
775
--                        hs(hit,1.2) 
776
		local c = Instance.new("ObjectValue")
777
			c.Name = "creator"
778
			c.Value = game:service("Players").LocalPlayer
779
			c.Parent = h
780
		
781
		game:GetService("Debris"):AddItem(c, .5)
782
		if HitSound ~= nil and HitPitch ~= nil then
783
			so(HitSound, hit, 1, HitPitch) 
784
		end
785
		local Damage = math.random(minim, maxim)
786
--                h:TakeDamage(Damage)
787
		local blocked = false
788
		local block = hit.Parent:findFirstChild("Block")
789
		if block ~= nil then
790
			if block.className == "IntValue" then
791
				if block.Value > 0 then
792
					blocked = true
793
					block.Value = block.Value - 1
794
					print(block.Value)
795
				end
796
			end
797
		end
798
		if blocked == false then
799
--                h:TakeDamage(Damage)
800
			h.Health = h.Health - Damage
801
			if Damage ~= 0 then
802
			ShowDamage2((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Institutional white").Color)
803
			end
804
		else
805
			h.Health = h.Health - (Damage / 2)
806
			if Damage ~=0 then
807
			ShowDamage2((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Institutional white").Color)
808
			end
809
		end
810
		if Type == "Knockdown" then
811
			local hum = hit.Parent.Humanoid
812
			hum.PlatformStand = true
813
			coroutine.resume(coroutine.create(function(HHumanoid)
814
				swait(1)
815
				HHumanoid.PlatformStand = false
816
			end), hum)
817
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
818
			local bodvol = Instance.new("BodyVelocity")
819
				bodvol.velocity = angle * knockback
820
				bodvol.P = 5000
821
				bodvol.maxForce = Vector3.new(8e+003, 8e+003, 8e+003)
822
				bodvol.Parent = hit
823
			
824
			local rl = Instance.new("BodyAngularVelocity")
825
				rl.P = 3000
826
				rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
827
				rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
828
				rl.Parent = hit
829
			
830
			game:GetService("Debris"):AddItem(bodvol, .5)
831
			game:GetService("Debris"):AddItem(rl, .5)
832
		elseif Type == "Plat" then
833
			local hum = hit.Parent.Humanoid
834
			hum.PlatformStand = true
835
			coroutine.resume(coroutine.create(function(HHumanoid)
836
				swait(2)
837
				HHumanoid.PlatformStand = false
838
			end), hum)
839
840
			local rl = Instance.new("BodyAngularVelocity")
841
				rl.P = 3000
842
				rl.maxTorque = Vector3.new(100, 100, 100) * 500
843
				rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
844
				rl.Parent = hit
845
				
846
			game:GetService("Debris"):AddItem(rl, .5)
847
		elseif Type == "Normal" then
848
			local vp = Instance.new("BodyVelocity")
849
				vp.P = 500
850
				vp.maxForce = Vector3.new(math.huge, 0, math.huge)
851
				vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
852
			
853
			if knockback > 0 then
854
				vp.Parent = hit.Parent.Torso
855
			end
856
			game:GetService("Debris"):AddItem(vp, .5)
857
		elseif Type == "Up" then
858
			local bodyVelocity = Instance.new("BodyVelocity")
859
				bodyVelocity.velocity = vt(0, 20, 0)
860
				bodyVelocity.P = 5000
861
				bodyVelocity.maxForce = Vector3.new(8e+003, 8e+003, 8e+003)
862
				bodyVelocity.Parent = hit
863
			
864
			game:GetService("Debris"):AddItem(bodyVelocity, .5)
865
		elseif Type == "Snare" then
866
			local bp = Instance.new("BodyPosition")
867
				bp.P = 2000
868
				bp.D = 100
869
				bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
870
				bp.position = hit.Parent.Torso.Position
871
				bp.Parent = hit.Parent.Torso
872
			game:GetService("Debris"):AddItem(bp, 1)
873
874
		elseif Type == "Freeze" then
875
			local BodPos = Instance.new("BodyPosition")
876
				BodPos.P = 50000
877
				BodPos.D = 1000
878
				BodPos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
879
				BodPos.position = hit.Parent.Torso.Position
880
				BodPos.Parent = hit.Parent.Torso
881
			
882
			local BodGy = Instance.new("BodyGyro") 
883
				BodGy.maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge 
884
				BodGy.P = 20e+003
885
				BodGy.Parent = hit.Parent.Torso
886
				BodGy.cframe = hit.Parent.Torso.CFrame
887
			
888
			hit.Parent.Torso.Anchored = true
889
			coroutine.resume(coroutine.create(function(Part) 
890
				swait(1.5)
891
				Part.Anchored = false
892
			end), hit.Parent.Torso)
893
			game:GetService("Debris"):AddItem(BodPos, 3)
894
			game:GetService("Debris"):AddItem(BodGy, 3)
895
		
896
		
897
		        elseif Type=="Target" then
898
                if Targetting==false then
899
                ZTarget=hit.Parent.Torso
900
                coroutine.resume(coroutine.create(function(Part) 
901
                so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)  
902
                swait(5)
903
                so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) 
904
                end),ZTarget)
905
                TargHum=ZTarget.Parent:findFirstChild("Humanoid")
906
                targetgui=Instance.new("BillboardGui")
907
                targetgui.Parent=ZTarget
908
                targetgui.Size=UDim2.new(10,100,10,100)
909
                targ=Instance.new("ImageLabel")
910
                targ.Parent=targetgui
911
                targ.BackgroundTransparency=1
912
                targ.Image="rbxassetid://4834067"
913
                targ.Size=UDim2.new(1,0,1,0)
914
                cam.CameraType="Scriptable"
915
                cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
916
                dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
917
                workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
918
                Targetting=true
919
                RocketTarget=ZTarget
920
                for i=1,Property do
921
                if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
922
                swait()
923
                end
924
                cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
925
                dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
926
                cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
927
                end
928
                Targetting=false
929
                RocketTarget=nil
930
                targetgui.Parent=nil
931
                cam.CameraType="Custom"
932
                end	
933
		end		
934
		
935
		local debounce = Instance.new("BoolValue")
936
		debounce.Name = "DebounceHit"
937
		debounce.Parent = hit.Parent
938
		debounce.Value = true
939
		game:GetService("Debris"):AddItem(debounce, Delay)
940
		c = Instance.new("ObjectValue")
941
		c.Name = "creator"
942
		c.Value = Player
943
		c.Parent = h
944
		game:GetService("Debris"):AddItem(c, .5)
945
	end
946
end
947
948
function ShowDamage2(Pos, Text, Time, Color)
949
	local Rate = (1 / 30)
950
	local Pos = (Pos or Vector3.new(0, 0, 0))
951
	local Text = (Text or "")
952
	local Time = (Time or 2)
953
	local Color = (Color or Color3.new(1, 0, 0))
954
	local EffectPart = part2("Custom", workspace, "Neon", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0))
955
	EffectPart.Anchored = true
956
	local BillboardGui = Instance.new("BillboardGui")
957
		BillboardGui.Size = UDim2.new(3, 0, 3, 0)
958
		BillboardGui.Adornee = EffectPart
959
		BillboardGui.Parent = EffectPart
960
	
961
	local TextLabel = Instance.new("TextLabel")
962
		TextLabel.BackgroundTransparency = 1
963
		TextLabel.Size = UDim2.new(1, 0, 1, 0)
964
		TextLabel.Text = Text
965
		TextLabel.TextColor3 = Color
966
		TextLabel.TextScaled = true
967
		TextLabel.Font = Enum.Font.ArialBold
968
		TextLabel.Parent = BillboardGui
969
	
970
	game.Debris:AddItem(EffectPart, (Time + 0.1))
971
	EffectPart.Parent = game:GetService("Workspace")
972
	delay(0, function()
973
		local Frames = (Time / Rate)
974
		for Frame = 1, Frames do
975
			wait(Rate)
976
			local Percent = (Frame / Frames)
977
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
978
			TextLabel.TextTransparency = Percent
979
		end
980
		if EffectPart and EffectPart.Parent then
981
			EffectPart:Destroy()
982
		end
983
	end)
984
end
985
986
function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2)
987
	local prt = part2(3, workspace, "Neon", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
988
	prt.Anchored = true
989
	prt.CFrame = cframe
990
	local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
991
	coroutine.resume(coroutine.create(function() 
992
		for i = 0, 1, 0.05 do
993
			wait()
994
			prt.Transparency = i
995
			msh.Scale = msh.Scale + vt(x2, y2, z2)
996
		end
997
		prt.Parent = nil
998
	end))
999
end
1000
1001
function weld(parent, part0, part1, c0, c1)
1002
	local Weld = Instance.new("Weld")
1003
		Weld.Parent = parent
1004
		Weld.Part0 = part0
1005
		Weld.Part1 = part1
1006
		Weld.C0 = c0
1007
		Weld.C1 = c1
1008
	
1009
	return Weld
1010
end
1011
1012
function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
1013
	for _, c in pairs(workspace:children()) do
1014
		local hum = c:findFirstChild("Humanoid")
1015
		if hum ~= nil then
1016
			local head = c:findFirstChild("Torso")
1017
			if head ~= nil then
1018
				local targ = head.Position - Part.Position
1019
				local mag = targ.magnitude
1020
				if mag <= magni and c.Name ~= Player.Name then 
1021
					Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
1022
				end
1023
			end
1024
		end
1025
	end
1026
end
1027
1028
function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1029
	local prt = part2(3, workspace, "Neon", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
1030
	prt.Anchored = true
1031
	prt.CFrame = cframe
1032
	local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
1033
	game:GetService("Debris"):AddItem(prt, 2)
1034
	coroutine.resume(coroutine.create(function(Part, Mesh) 
1035
		for i = 0, 1, delay do
1036
			swait()
1037
			Part.CFrame = Part.CFrame
1038
			Part.Transparency = i
1039
			Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
1040
		end
1041
		Part.Parent = nil
1042
	end), prt, msh)
1043
end
1044
1045
function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
1046
	local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt())
1047
	prt.Anchored=true
1048
	prt.CFrame=cframe
1049
	local msh = mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
1050
	game:GetService("Debris"):AddItem(prt,2)
1051
	coroutine.resume(coroutine.create(function(Part,Mesh) 
1052
		for i=0,1,delay do
1053
			swait()
1054
			Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1055
			Part.Transparency=i
1056
			Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
1057
		end
1058
		Part.Parent=nil
1059
	end),prt,msh)
1060
end 
1061
1062
1063
	user=game:service'Players'.localPlayer
1064
	char=user.Character
1065
	mouse=user:GetMouse()
1066
	
1067
1068
local function weldBetween(a, b, name)
1069
    local weld = Instance.new("ManualWeld")
1070
    weld.Part0 = a
1071
    weld.Part1 = b
1072
    weld.C0 = CFrame.new()
1073
    weld.C1 = b.CFrame:inverse() * a.CFrame
1074
    weld.Parent = a
1075
	weld.Name=name or 'weldb1'
1076
	weld.Parent=m
1077
    return weld;
1078
end
1079
1080
1081
player=game.Players.localPlayer
1082
char=player.Character
1083
Effects={}
1084
vt=Vector3.new
1085
cf=CFrame.new
1086
euler=CFrame.fromEulerAnglesXYZ
1087
m=Instance.new("Model",char)
1088
1089
mouse.Button1Down:connect(function()
1090
print("NEIN")
1091
end)
1092
1093
local mdel = false
1094
1095
mouse.KeyDown:connect(function(k)
1096
	k=k:lower()
1097
	if k=='f' then
1098
		if attack==false then
1099
			ToggleMemes()
1100
		end
1101
	end
1102
end)
1103
1104
function ToggleMemes()
1105
	if memeing == true and mdel == false then
1106
		memeing = false
1107
		issprinting=false
1108
		Humanoid.WalkSpeed = 15
1109
		mdel = true
1110
		for i = 1,0,-0.1 do
1111
			wait(0.05)
1112
			WEEB.Volume = i
1113
		end
1114
		WEEB.Pitch = 0
1115
		mdel = false
1116
	elseif memeing == false and mdel == false then
1117
		memeing = true
1118
		issprinting=true
1119-
		Humanoid.WalkSpeed=13
1119+
		Humanoid.WalkSpeed=38
1120
		WEEB.Pitch = 1
1121
		mdel = true
1122
		for i = 0,1,.1 do
1123
			wait(0.05)
1124
			WEEB.Volume = i
1125
		end
1126
		mdel = false
1127
	end
1128
end
1129
1130
local function CFrameFromTopBack(at, top, back)
1131
local right = top:Cross(back)
1132
return CFrame.new(at.x, at.y, at.z,
1133
right.x, top.x, back.x,
1134
right.y, top.y, back.y,
1135
right.z, top.z, back.z)
1136
end
1137
1138
function Triangle(a, b, c)
1139
local edg1 = (c-a):Dot((b-a).unit)
1140
local edg2 = (a-b):Dot((c-b).unit)
1141
local edg3 = (b-c):Dot((a-c).unit)
1142
if edg1 <= (b-a).magnitude and edg1 >= 0 then
1143
a, b, c = a, b, c
1144
elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
1145
a, b, c = b, c, a
1146
elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
1147
a, b, c = c, a, b
1148
else
1149
assert(false, "unreachable")
1150
end
1151
 
1152
local len1 = (c-a):Dot((b-a).unit)
1153
local len2 = (b-a).magnitude - len1
1154
local width = (a + (b-a).unit*len1 - c).magnitude
1155
 
1156
local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
1157
 
1158
local list = {}
1159
 
1160
if len1 > 0.01 then
1161
local w1 = Instance.new('WedgePart', m)
1162
game:GetService("Debris"):AddItem(w1,5)
1163
w1.Material = "SmoothPlastic"
1164
w1.FormFactor = 'Custom'
1165
w1.BrickColor = TorsoColor
1166
w1.Transparency = 0
1167
w1.Reflectance = 0
1168
w1.Material = "SmoothPlastic"
1169
w1.CanCollide = false
1170
NoOutline(w1)
1171
local sz = Vector3.new(0.2, width, len1)
1172
w1.Size = sz
1173
local sp = Instance.new("SpecialMesh",w1)
1174
sp.MeshType = "Wedge"
1175
sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
1176
w1:BreakJoints()
1177
w1.Anchored = true
1178
w1.Parent = workspace
1179
w1.Transparency = 0.7
1180
table.insert(Effects,{w1,"Disappear",.01})
1181
w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
1182
table.insert(list,w1)
1183
end
1184
 
1185
if len2 > 0.01 then
1186
local w2 = Instance.new('WedgePart', m)
1187
game:GetService("Debris"):AddItem(w2,5)
1188
w2.Material = "SmoothPlastic"
1189
w2.FormFactor = 'Custom'
1190
w2.BrickColor = TorsoColor
1191
w2.Transparency = 0
1192
w2.Reflectance = 0
1193
w2.Material = "SmoothPlastic"
1194
w2.CanCollide = false
1195
NoOutline(w2)
1196
local sz = Vector3.new(0.2, width, len2)
1197
w2.Size = sz
1198
local sp = Instance.new("SpecialMesh",w2)
1199
sp.MeshType = "Wedge"
1200
sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
1201
w2:BreakJoints()
1202
w2.Anchored = true
1203
w2.Parent = workspace
1204
w2.Transparency = 0.7
1205
table.insert(Effects,{w2,"Disappear",.01})
1206
w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
1207
table.insert(list,w2)
1208
end
1209
return unpack(list)
1210
end
1211
1212
function NoOutline(Part)
1213
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
1214
end
1215
1216
local sine = 0
1217
local change = 1
1218
local val = 0
1219
1220
if #Effects>0 then
1221
--table.insert(Effects,{prt,"Block1",delay})
1222
for e=1,#Effects do
1223
if Effects[e]~=nil then
1224
--for j=1,#Effects[e] do
1225
local Thing=Effects[e]
1226
if Thing~=nil then
1227
local Part=Thing[1]
1228
local Mode=Thing[2]
1229
local Delay=Thing[3]
1230
local IncX=Thing[4]
1231
local IncY=Thing[5]
1232
local IncZ=Thing[6]
1233
if Thing[1].Transparency<=1 then
1234
if Thing[2]=="Block1" then
1235
Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1236
Mesh=Thing[1].Mesh
1237
Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
1238
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
1239
elseif Thing[2]=="Cylinder" then
1240
Mesh=Thing[1].Mesh
1241
Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
1242
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
1243
elseif Thing[2]=="Blood" then
1244
Mesh=Thing[1].Mesh
1245
Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
1246
Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
1247
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
1248
elseif Thing[2]=="Elec" then
1249
Mesh=Thing[1].Mesh
1250
Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
1251
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
1252
elseif Thing[2]=="Disappear" then
1253
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
1254
end
1255
else
1256
Part.Parent=nil
1257
table.remove(Effects,e)
1258
end
1259
end
1260
--end
1261
end
1262
end
1263
end
1264
1265
cn = CFrame.new
1266
local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
1267
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
1268
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
1269
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
1270
1271
local mananum=0
1272
while true do
1273
swait()
1274
sine = sine + change
1275
local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude 
1276
local velderp=RootPart.Velocity.y
1277
hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
1278
if equipped==true or equipped==false then
1279
if attack==false then
1280
idle=idle+1
1281
else
1282
idle=0
1283
end
1284
if idle>=500 then
1285
if attack==false then
1286
--Sheath()
1287
end
1288
end
1289
if RootPart.Velocity.y > 1 and hitfloor==nil then 
1290
Anim="Jump"
1291
if attack==false then
1292
Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
1293
Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
1294
RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
1295
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.5,0,0.5),.3)
1296
RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
1297
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.5,0,-0.5),.3)
1298
LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
1299
RH.C0=clerp(RH.C0,cf(1,-1,-.3)*euler(-0.5,1.57,0)*euler(-.2,0,0),.3)
1300
LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(-.2,0,0),.3)
1301
end
1302
elseif RootPart.Velocity.y < -1 and hitfloor==nil then 
1303
Anim="Fall"
1304
if attack==false then
1305
Neck.C0=clerp(Neck.C0,necko*euler(0.4,0,0),.3)
1306
Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
1307
RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
1308
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.3,0,0.2),.3)
1309
RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
1310
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.3,0,-0.2),.3)
1311
LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
1312
RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.4,1.57,0),.3)
1313
LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.2,-1.57,0),.3)
1314
end
1315
elseif torvel<1 and hitfloor~=nil then
1316
Anim="Idle"
1317
if attack==false then
1318
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(5)), .3)
1319
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), .3)
1320
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.3)
1321
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5 - 3 * math.cos(sine / 25))), 0.3)
1322
RH.C0 = clerp(RH.C0, cn(1, -.9 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 2 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .3)
1323
LH.C0 = clerp(LH.C0, cn(-1, -.9 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 2 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .3)
1324
end
1325
elseif torvel>2 and torvel<22 and hitfloor~=nil then
1326
Anim="Walk"
1327
if attack==false then
1328
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 5)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(5 * math.cos(sine / 10))), .2)
1329
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-5 * math.cos(sine / 10)) + RootPart.RotVelocity.Y / 15), .2)
1330
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10 * math.cos(sine / 13)), math.rad(0), math.rad(4 * math.cos(sine / 13))), .2)
1331
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10 * math.cos(sine / 13)), math.rad(0), math.rad(4 * math.cos(sine / 13))), .2)
1332
RH.C0 = clerp(RH.C0, cn(1, -1 + .1 * math.cos(sine / 5), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 7))), .3)
1333
LH.C0 = clerp(LH.C0, cn(-1, -1 + .1 * math.cos(sine / 5), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 7))), .3)
1334
end
1335
elseif torvel>=22 and issprinting==true and hitfloor~=nil then
1336
Anim="Run"
1337
if attack==false then
1338
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0.5, -0.05 + .1 * 2.5 * math.cos(sine / 2)) * angles(math.rad(50), math.rad(2) + RootPart.RotVelocity.Y / 30, math.rad(5 * math.cos(sine / 2))), .2)
1339
Torso.Neck.C0 = clerp(Torso.Neck.C0, cn(0, 1.1, -0.2, -1, -0, -0, 0, 0, 1, 0, 1, 0) * angles(math.rad(-50), math.rad(0), math.rad(-5 * math.cos(sine / 10)) + RootPart.RotVelocity.Y / 15), .2)
1340
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.4) * angles(math.rad(75 * math.cos(6 / 2)), math.rad(-5), math.rad(25 * math.cos(sine / 3))), .2)
1341
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0.4) * angles(math.rad(75 * math.cos(6 / 2)), math.rad(5), math.rad(25 * math.cos(sine / 3))), .2)
1342
RH.C0 = clerp(RH.C0, cn(1, -1 + .1 * math.cos(sine / 5), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(55 * math.cos(sine / 3))), .3)
1343
LH.C0 = clerp(LH.C0, cn(-1, -1 + .1 * math.cos(sine / 5), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(55 * math.cos(sine / 3))), .3)
1344
end
1345
end
1346
end
1347
end