View difference between Paste ID: KeAhKjPn and 1hQBY2jw
SHOW: | | - or go back to the newest paste.
1
-- leaked by CLarramore
2
-- This is edited sooooo  Fuck you whoever edited this
3
4
do 
5
    function GetDiscoColor(hue)
6
        hue=hue/4
7
    local section = hue % 1 * 3
8
    local secondary = 0.5 * math.pi * (section % 1)
9
        local thing
10
    if section < 1 then
11
        thing=Color3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
12
    elseif section < 2 then
13
        thing=Color3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
14
    else
15
        thing=Color3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
16
    end
17
        return thing
18
end
19
function VertexRainbow()
20
        return Vector3.new(math.random(),math.random(),math.random())
21
        end
22
local plr = game.Players.LocalPlayer
23
local chr = plr.Character
24
local maus = plr:GetMouse()
25
local PGui=plr.PlayerGui
26
local lleg = chr["Left Leg"]
27
local rleg = chr["Right Leg"]
28
local larm = chr["Left Arm"]
29
local rarm = chr["Right Arm"]
30
local hed = chr.Head
31
local rutprt = chr.HumanoidRootPart
32
local torso = chr.Torso
33
local otheranims=false
34
local swimming=false
35
chr.Animate.Disabled=true
36
local fldb={['w']=false,['a']=false,['s']=false,['d']=false}
37
local RunSpeed=80
38
local WlkSpeed=16
39
local SwimSpeed=14
40
local SwimDashSpeed=1000
41
local anim = "Idling"
42
local lastanim = "Idling"
43
local flying=false
44
local val = 0
45
local syne = 0
46
local num = 0
47
local runtime = 0
48
local TackleCD=false
49
local currentdecalid=1
50
local crouching=false
51
local bboxout=false
52
local ltout=false
53
local standing=false
54
local throwcd=false
55
local displaying=false
56
local imageType="Custom"
57
local pseudohead=hed:Clone()
58
for i,x in pairs(pseudohead:GetChildren()) do if not x.ClassName:find('Mesh') then x:Destroy() end end
59
pseudohead.Name='PseudoHead'
60
pseudohead.Parent=chr.Head
61
local pseudoweld=Instance.new('Weld',torso)
62
pseudoweld.Part0=hed
63
pseudoweld.Name='PseudoHeadWeld'
64
pseudoweld.Part1=pseudohead
65
hed.Transparency=1
66
for i,x in pairs(chr:GetChildren()) do
67
if x:IsA'Hat' then x:destroy'' end end
68
for i,x in pairs(chr:GetChildren()) do
69
for a,v in pairs(x:GetChildren()) do
70
if v:IsA'CharacterMesh' then v:destroy''
71
end
72
end
73
end
74
local     alldecals={"387418012","339886198","339302474","339302316","339303212","339302607","339302826","339303065","339303400","150037981","167241003","235558077","265452635","260161937","242814125","230417107","252230874","231949998","229222676","181607551","231953209","123431503","184905165","172755711","161494218","292791711","205912841","68953525","180163702","123385234","138847283","159127645","172511645","210175195","206539362","192486406","96613287","131764585","168427244","128595009","96687581","171590601","172329151","72116648","221557708","214883980"}
75
76
local decals={"387418012","235558078","339302317","339303401","265452690","339303066","339302827","242814126","181607552"}
77
local musics={"142594142","202020876"}
78
local currentsound=1
79
local     GarbageTypes={{"Grapes","16940906","16940893",Vector3.new(.8,.8,.8),"284627310"},{"Lightbulb","1376459","1376456",Vector3.new(1,1,1),"235040768"},{"Turkey","13073626","13073598",Vector3.new(2,2,2),"284627310"},{"JuiceBottle","57219451","57219520",Vector3.new(1.75,1.75,1.75),"235040768"},{"Can","10470609","10470600",Vector3.new(1,1,1),"284627310"},{"dunno     lol","55304507","55304460",Vector3.new(1,1,1),"235040768"},{"Burger","16646125","16432575",Vector3.new(1.1,1.1,1.1),"284627310"},{"Candy","38160912","38161977",Vector3.new(1.15,1.15,1.15),"154162195"},{"Sandwich","12510164","12509672",Vector3.new(2.5,2.5,2.5),"284627310"}}
80
coroutine.wrap(function()
81
for i,x in pairs(hed:GetChildren()) do if x:IsA('Sound') then x:Destroy() end end end)()
82
function Lerp(a, b, i)
83
local com1 = {a.X, a.Y, a.Z, a:toEulerAnglesXYZ()}
84
local com2 = {b.X, b.Y, b.Z, b:toEulerAnglesXYZ()}
85
local calx = com1[1] + (com2[1] - com1[1]) * i
86
local caly = com1[2] + (com2[2] - com1[2]) * i
87
local calz = com1[3] + (com2[3] - com1[3]) * i
88
local cala = com1[4] + (com2[4] - com1[4]) * i
89
local calb = com1[5] + (com2[5] - com1[5]) * i
90
local calc = com1[6] + (com2[6] - com1[6]) * i
91
return CFrame.new(calx, caly, calz) * CFrame.Angles(cala, calb, calc)
92
end
93
function TwnSingleNumber(s,f,m)
94
local wot=s+(f-s)*m
95
return wot
96
end
97
function TwnVector3(q,w,e)
98
local begin={q.x,q.y,q.z}
99
local ending={w.x,w.y,w.z}
100
local bgx=begin[1]+(ending[1]-begin[1])*e
101
local bgy=begin[2]+(ending[2]-begin[2])*e
102
local bgz=begin[3]+(ending[3]-begin[3])*e
103
return Vector3.new(bgx,bgy,bgz)
104
end
105
newWeld = function(wld, wp0, wp1, wc0x, wc0y, wc0z)
106
wld = Instance.new("Weld", wp1)
107
wld.Part0 = wp0
108
wld.Part1 = wp1
109
wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
110
end
111
newWeld(law, torso, larm, -1.5, 0.5, 0)
112
newWeld(raw, torso, rarm, 1.5, 0.5, 0)
113
newWeld(llw, torso, lleg, -.5, -2, 0)
114
newWeld(rlw, torso, rleg, .5, -2, 0)
115
newWeld(hw, torso, hed, 0, 1.5, 0)
116
local rutwald=Instance.new('Weld',rutprt)
117
rutwald.Part0=rutprt
118
rutwald.Part1=torso
119
rutprt.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0)
120
larm.Weld.C1 = CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),0,0)
121
rarm.Weld.C1 = CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),0,0)
122
rleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
123
lleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
124
125
126
127
local bvelo=Instance.new('BodyVelocity',rutprt)
128
bvelo.maxForce=Vector3.new(0,0,0)
129
130
131
132
local kan=Instance.new('Model',chr)
133
kan.Name="true can"
134
local cen=Instance.new('Model',kan)
135
cen.Name='no'
136
local can=Instance.new('Model',cen)
137
can.Name="i cri"
138
local base=Instance.new('Part',can)
139
base.formFactor=3
140
base.TopSurface=10
141
base.BottomSurface=10
142
base.LeftSurface=10
143
base.RightSurface=10
144
base.FrontSurface=10
145
base.BackSurface=10
146
base.Locked=true
147
base.CanCollide=true
148
base.Anchored=false
149
base.BrickColor=BrickColor.new('Fossil')
150
base.Name='Can'
151
base.Size=Vector3.new(3,3.5,3)
152
base.Material='Metal'
153
local canm=Instance.new("CylinderMesh",base)
154
local base2=Instance.new('Part',can)
155
base2.formFactor=3
156
base2.TopSurface=10
157
base2.BottomSurface=10
158
base2.LeftSurface=10
159
base2.RightSurface=10
160
base2.FrontSurface=10
161
base2.BackSurface=10
162
base2.Locked=true
163
base2.CanCollide=false
164
base2.Anchored=false
165
base2.BrickColor=BrickColor.new('Really black')
166
base2.Name='InnerCan'
167
base2.Size=Vector3.new(2.8,.2,2.8)
168
base2.Material='SmoothPlastic'
169
local lid=Instance.new('Part',can)
170
local canm2=Instance.new("CylinderMesh",base2)
171
lid.Name='Lid'
172
lid.formFactor=3
173
lid.TopSurface=10
174
lid.BottomSurface=10
175
lid.LeftSurface=10
176
lid.RightSurface=10
177
lid.BackSurface=10
178
lid.FrontSurface=10
179
lid.CanCollide=true
180
lid.Anchored=false
181
lid.Locked=true
182
lid.Size=Vector3.new(3,3,.2)
183
local heli1=Instance.new('Part',can)
184
heli1.formFactor=3
185
heli1.TopSurface=10
186
heli1.BottomSurface=10
187
heli1.LeftSurface=10
188
heli1.RightSurface=10
189
heli1.FrontSurface=10
190
heli1.BackSurface=10
191
heli1.Locked=true
192
heli1.CanCollide=true
193
heli1.Anchored=false
194
heli1.BrickColor=BrickColor.new('Dark stone grey')
195
heli1.Name='Can'
196
heli1.Size=Vector3.new(.1,3,.1)
197
heli1.Material='Metal'
198
local helim1=Instance.new("CylinderMesh",heli1)
199
helim1.Scale=Vector3.new(.5,1,.5)
200
local heli2=Instance.new('Part',can)
201
heli2.formFactor=3
202
heli2.TopSurface=10
203
heli2.BottomSurface=10
204
heli2.LeftSurface=10
205
heli2.RightSurface=10
206
heli2.FrontSurface=10
207
heli2.BackSurface=10
208
heli2.Locked=true
209
heli2.CanCollide=true
210
heli2.Anchored=false
211
heli2.BrickColor=BrickColor.new('Dark stone grey')
212
heli2.Name='Can'
213
heli2.Size=Vector3.new(.1,.1,2.9)
214
heli2.Material='Metal'
215
local helim2=Instance.new("BlockMesh",heli2)
216
helim2.Scale=Vector3.new(.5,.1,1)
217
local heli3=Instance.new('Part',can)
218
heli3.formFactor=3
219
heli3.TopSurface=10
220
heli3.BottomSurface=10
221
heli3.LeftSurface=10
222
heli3.RightSurface=10
223
heli3.FrontSurface=10
224
heli3.BackSurface=10
225
heli3.Locked=true
226
heli3.CanCollide=true
227
heli3.Anchored=false
228
heli3.BrickColor=BrickColor.new('Dark stone grey')
229
heli3.Name='Can'
230
heli3.Size=Vector3.new(.1,.1,2.9)
231
heli3.Material='Metal'
232
local helim3=Instance.new("BlockMesh",heli3)
233
helim3.Scale=Vector3.new(.5,.1,1)
234
local hits=Instance.new('Sound',lid)
235
hits.Name='hit'
236
hits.SoundId="http://www.roblox.com/asset?id=138259748"
237
hits.Volume=.3
238
hits.Pitch=.9
239
local opens=Instance.new('Sound',lid)
240
opens.Name='Open'
241
opens.Volume=.225
242
opens.Pitch=.9
243
opens.SoundId="http://www.roblox.com/asset?id=144467622"
244
local lidm=Instance.new('SpecialMesh',lid)
245
lidm.Scale=Vector3.new(1.8,1.8,3)
246
lidm.TextureId="http://www.roblox.com/asset/?id=75521030"
247
lidm.MeshId="http://www.roblox.com/asset/?id=75521015"
248
249
coroutine.resume(coroutine.create(function()
250
        while wait() do
251
                lidm.VertexColor=VertexRainbow()
252
        end
253
        end))
254
local waifu=Instance.new('Part',can)
255
waifu.Name='cri cri'
256
waifu.formFactor=3
257
waifu.TopSurface=10
258
waifu.BottomSurface=10
259
waifu.LeftSurface=10
260
waifu.RightSurface=10
261
waifu.BackSurface=10
262
waifu.FrontSurface=10
263
waifu.CanCollide=false
264
waifu.Anchored=false
265
waifu.Transparency=1
266
waifu.Locked=true
267
waifu.Size=Vector3.new(2,.2,2)
268
local img=Instance.new('Decal',waifu)
269
img.Texture="http://www.roblox.com/asset?id="..alldecals[math.random(1,#alldecals)]
270
img.Face='Top'
271
local bbox=Instance.new('Part',can)
272
bbox.Name='boombox'
273
bbox.formFactor=3
274
bbox.TopSurface=10
275
bbox.BottomSurface=10
276
bbox.LeftSurface=10
277
bbox.RightSurface=10
278
bbox.BackSurface=10
279
bbox.FrontSurface=10
280
bbox.CanCollide=false
281
bbox.Anchored=false
282
bbox.Transparency=0
283
bbox.Locked=true
284
bbox.Size=Vector3.new(2,2,1)
285
local bbms=Instance.new('SpecialMesh',bbox)
286
bbms.MeshId="http://www.roblox.com/asset?id=319536754"
287
bbms.TextureId="http://www.roblox.com/asset?id=319536704"
288
local bulb=Instance.new('Part',can)
289
bulb.Name='lightbulb'
290
bulb.formFactor=3
291
bulb.TopSurface=10
292
bulb.BottomSurface=10
293
bulb.LeftSurface=10
294
bulb.RightSurface=10
295
bulb.BackSurface=10
296
bulb.FrontSurface=10
297
bulb.CanCollide=false
298
bulb.Anchored=false
299
bulb.Transparency=.4
300
bulb.Locked=true
301
bulb.Size=Vector3.new(.8,1,.8)
302
local lt=Instance.new('PointLight',bulb)
303
lt.Range=16
304
lt.Color=BrickColor.new('New Yeller').Color
305
lt.Enabled=false
306
lt.Shadows=true
307
308
local blbms=Instance.new('SpecialMesh',bulb)
309
blbms.MeshId="http://www.roblox.com/asset?id=1376459"
310
blbms.TextureId="http://www.roblox.com/asset?id=1376456"
311
local canWeld=Instance.new('Weld',torso)
312
canWeld.Part0=torso
313
canWeld.Part1=base
314
canWeld.C1=CFrame.new(0,-.5,0)
315
canWeld.C0=CFrame.new(0,0,0)
316
local canWeld2=Instance.new('Weld',base2)
317
canWeld2.Part0=base
318
canWeld2.Part1=base2
319
canWeld2.C1=CFrame.new(0,-1.66,0)
320
canWeld2.C0=CFrame.new(0,0,0)
321
local lidWeld=Instance.new('Weld',base)
322
lidWeld.Part0=base
323
lidWeld.Part1=lid
324
lidWeld.C1=CFrame.new(0,0,-1.8)*CFrame.Angles(math.rad(90),math.rad(90),0)
325
local girlWeld=Instance.new('Weld',base)
326
girlWeld.Part0=base
327
girlWeld.Part1=waifu
328
girlWeld.C1=CFrame.new(0,-.65,-.5)*CFrame.Angles(math.rad(90),0,0)
329
local bbweld=Instance.new('Weld',base)
330
bbweld.Part0=base
331
bbweld.Part1=bbox
332
bbweld.C1=CFrame.new(0,-.5,0)
333
local blbweld=Instance.new('Weld',base)
334
blbweld.Part0=base
335
blbweld.Part1=bulb
336
blbweld.C1=CFrame.new(0,-.5,0)
337
local heliweld1=Instance.new('Weld',base)
338
heliweld1.Part0=base
339
heliweld1.Part1=heli1
340
heliweld1.C1=CFrame.new(0,0,0)
341
local heliweld2=Instance.new('Weld',heli1)
342
heliweld2.Part0=heli1
343
heliweld2.Part1=heli2
344
heliweld2.C1=CFrame.new(0,-1.475,0)
345
local heliweld3=Instance.new('Weld',heli1)
346
heliweld3.Part0=heli1
347
heliweld3.Part1=heli3
348
heliweld3.C1=CFrame.new(0,-1.475,0)*CFrame.Angles(0,math.pi/2,0)
349
local helilt=Instance.new('PointLight',heli1)
350
helilt.Enabled=false
351
helilt.Brightness=1
352
helilt.Range=16
353
helilt.Color=BrickColor.new("Dark green").Color
354
local music=Instance.new('Sound',hed)
355
music.Name='ok music'
356
music.Volume=1
357
music.Pitch=1
358
music.SoundId="http://www.roblox.com/asset?id="..musics[math.random(1,#musics)]
359
music.Looped=true
360
local helisn=Instance.new('Sound',heli1)
361
helisn.SoundId="http://www.roblox.com/asset?id=131503030"
362
helisn.Volume=.1
363
helisn.Pitch=2
364
helisn.Looped=true
365
366
367
368
369
370
371
local gui=Instance.new('ScreenGui',plr.PlayerGui)
372
gui.Name='you make me cri'
373
local topFrame=Instance.new('Frame',gui)
374
topFrame.Name='TopFrame'
375
topFrame.Size=UDim2.new(1,0,1,0)
376
topFrame.BorderSizePixel=0
377
topFrame.BackgroundTransparency=1
378
local choiceFrame=Instance.new('Frame',topFrame)
379
choiceFrame.Size=UDim2.new(.4,0,.05,0)
380
choiceFrame.Draggable=true
381
choiceFrame.BackgroundTransparency=.7
382
choiceFrame.Position=UDim2.new(.3,0,.775,0)
383
choiceFrame.BackgroundColor3=Color3.new(.2,.2,.2)
384
choiceFrame.BorderColor3=Color3.new(0,0,0)
385
local innerFrame=Instance.new('Frame',choiceFrame)
386
innerFrame.Size=UDim2.new(.5,0,1,0)
387
innerFrame.Draggable=true
388
innerFrame.BackgroundTransparency=.9
389
innerFrame.Position=UDim2.new(0,0,0,0)
390
innerFrame.BackgroundColor3=Color3.new(.2,.2,.2)
391
innerFrame.BorderColor3=Color3.new(0,0,0)
392
local innerFrame2=Instance.new('Frame',choiceFrame)
393
innerFrame2.Visible=true
394
innerFrame2.Size=UDim2.new(.5,0,1,0)
395
innerFrame2.Draggable=false
396
innerFrame2.BackgroundTransparency=.5
397
innerFrame2.Position=UDim2.new(0,0,1,1)
398
innerFrame2.BackgroundColor3=Color3.new(.2,.2,.2)
399
innerFrame2.BorderColor3=Color3.new(0,0,0)
400
local imageID=Instance.new('TextBox',innerFrame2)
401
imageID.Size=UDim2.new(.8,0,.7,0)
402
imageID.Position=UDim2.new(.1,0,.15,0)
403
imageID.BackgroundTransparency=.7
404
imageID.Visible=true
405
imageID.Text="Image ID"
406
imageID.TextScaled=true
407
imageID.TextStrokeTransparency=0
408
imageID.TextStrokeColor3=Color3.new(.1,.1,.1)
409
imageID.TextColor3=Color3.new(.7,.7,.7)
410
imageID.BackgroundColor3=Color3.new(.2,.2,.2)
411
imageID.BorderColor3=Color3.new(0,0,0)
412
imageID.FocusLost:connect(function(ent)
413
if ent then
414
img.Texture="http://www.roblox.com/asset?id="..imageID.Text-1
415
end
416
end)
417
local bt1=Instance.new('TextButton',innerFrame)
418
bt1.Draggable=false
419
bt1.BackgroundTransparency=.9
420
bt1.BackgroundColor3=Color3.new(.2,.2,.2)
421
bt1.Size=UDim2.new(.5,0,1,0)
422
bt1.Text="Custom"
423
bt1.TextStrokeTransparency=0
424
bt1.TextColor3=Color3.new(.7,.7,.7)
425
bt1.TextScaled=true
426
bt1.TextStrokeColor3=Color3.new(.1,.1,.1)
427
bt1.Font="SourceSans"
428
bt1.MouseButton1Click:connect(function()
429
if imageType=='Table' then
430
imageType="Custom"
431
innerFrame2.Visible=true
432
imageID.Visible=true
433
end
434
end)
435
local bt2=Instance.new('TextButton',innerFrame)
436
bt2.Draggable=false
437
bt2.BackgroundTransparency=.9
438
bt2.BackgroundColor3=Color3.new(.1,.1,.1)
439
bt2.Size=UDim2.new(.5,0,1,0)
440
bt2.Position=UDim2.new(.5,0,0,0)
441
bt2.Text="Table"
442
bt2.TextStrokeTransparency=0
443
bt2.TextColor3=Color3.new(.7,.7,.7)
444
bt2.TextScaled=true
445
bt2.TextStrokeColor3=Color3.new(.1,.1,.1)
446
bt2.Font="SourceSans"
447
bt2.MouseButton1Click:connect(function()
448
if imageType~='Table' then
449
imageType="Table"
450
imageID.Visible=false
451
innerFrame2.Visible=false
452
img.Texture="http://www.roblox.com/asset?id="..decals[currentdecalid]-1
453
end
454
end)
455
456
local innerFrame3=Instance.new('Frame',choiceFrame)
457
innerFrame3.Size=UDim2.new(.5,0,1,0)
458
innerFrame3.Position=UDim2.new(.5,0,0,0)
459
innerFrame3.Draggable=true
460
innerFrame3.BackgroundTransparency=.9
461
innerFrame3.BackgroundColor3=Color3.new(.2,.2,.2)
462
innerFrame3.BorderColor3=Color3.new(0,0,0)
463
local innerFrame4=Instance.new('Frame',choiceFrame)
464
innerFrame4.Size=UDim2.new(.5,0,1,0)
465
innerFrame4.Draggable=false
466
innerFrame4.BackgroundTransparency=.5
467
innerFrame4.Position=UDim2.new(.5,0,1,1)
468
innerFrame4.BackgroundColor3=Color3.new(.2,.2,.2)
469
innerFrame4.BorderColor3=Color3.new(0,0,0)
470
local musicID=Instance.new('TextBox',innerFrame4)
471
musicID.Size=UDim2.new(.8,0,.7,0)
472
musicID.Position=UDim2.new(.1,0,.15,0)
473
musicID.BackgroundTransparency=.7
474
musicID.Visible=true
475
musicID.Text="Music ID"
476
musicID.TextScaled=true
477
musicID.TextStrokeTransparency=0
478
musicID.TextStrokeColor3=Color3.new(.1,.1,.1)
479
musicID.TextColor3=Color3.new(.7,.7,.7)
480
musicID.BackgroundColor3=Color3.new(.2,.2,.2)
481
musicID.BorderColor3=Color3.new(0,0,0)
482
musicID.FocusLost:connect(function(ent)
483
if ent then
484
music.SoundId="http://www.roblox.com/asset?id="..musicID.Text
485
end
486
end)
487
local bt3=Instance.new('TextButton',innerFrame3)
488
bt3.Draggable=false
489
bt3.BackgroundTransparency=.9
490
bt3.BackgroundColor3=Color3.new(.2,.2,.2)
491
bt3.Size=UDim2.new(.5,0,1,0)
492
bt3.Text="Play"
493
bt3.TextStrokeTransparency=0
494
bt3.TextColor3=Color3.new(.7,.7,.7)
495
bt3.TextScaled=true
496
bt3.TextStrokeColor3=Color3.new(.1,.1,.1)
497
bt3.Font="SourceSans"
498
bt3.MouseButton1Click:connect(function()
499
if not music.IsPlaying then
500
musicID.Visible=false
501
music:play''
502
innerFrame4.Visible=false
503
end
504
end)
505
local bt4=Instance.new('TextButton',innerFrame3)
506
bt4.Draggable=false
507
bt4.BackgroundTransparency=.9
508
bt4.BackgroundColor3=Color3.new(.1,.1,.1)
509
bt4.Size=UDim2.new(.5,0,1,0)
510
bt4.Position=UDim2.new(.5,0,0,0)
511
bt4.Text="Stop"
512
bt4.TextStrokeTransparency=0
513
bt4.TextColor3=Color3.new(.7,.7,.7)
514
bt4.TextScaled=true
515
bt4.TextStrokeColor3=Color3.new(.1,.1,.1)
516
bt4.Font="SourceSans"
517
bt4.MouseButton1Click:connect(function()
518
if music.IsPlaying then
519
music:stop''
520
musicID.Visible=true
521
innerFrame4.Visible=true
522
end
523
end)
524
525
526
maus.KeyDown:connect(function(kei)
527
if string.byte(kei)==48 and not otheranims then
528
runnin=true
529
end
530
if kei=='x' and crouching and not opencd and not displaying then
531
opens:play''
532
opencd=true
533
bboxout=true
534
end
535
if kei=='w' then fldb.w=true end
536
if kei=='a' then fldb.a=true end
537
if kei=='s' then fldb.s=true end
538
if kei=='d' then fldb.d=true end
539
if string.byte(kei)==50 then
540
if otheranims and crouching then crouching=false otheranims=false if opencd then opencd=false bboxout=false ltout=false end
541
elseif not otheranims and not crouching then
542
otheranims=true
543
crouching=true
544
chr.Humanoid.WalkSpeed=WlkSpeed*.75
545
end
546
end
547
if kei=='r' and not displaying then
548
if not heli and not opencd and not displaying and crouching then
549
opencd=true
550
heli=true
551
crouching=false
552
flying=true
553
helisn:play''
554
helilt.Enabled=true
555
helim2.Scale=Vector3.new(.5,.15,2)
556
helim3.Scale=Vector3.new(.5,.15,2)
557
chr.Humanoid.WalkSpeed=WlkSpeed
558
bvelo.maxForce=Vector3.new(0,1/0,0)
559
bvelo.velocity=Vector3.new(0,0,0)
560
elseif heli and opencd then
561
heli=false
562
helilt.Enabled=false
563
opencd=false
564
flying=false
565
helim2.Scale=Vector3.new(.5,.1,1)
566
helim3.Scale=Vector3.new(.5,.1,1)
567
helisn:stop''
568
chr.Humanoid.WalkSpeed=WlkSpeed*.75
569
crouching=true
570
bvelo.maxForce=Vector3.new(0,0,0)
571
end
572
end
573
if kei=='q' then
574
bvelo.velocity=Vector3.new(0,-25,0)
575
end
576
if kei=='e' then
577
bvelo.velocity=Vector3.new(0,20,0)
578
end
579
if kei=='z' and not opencd then
580
displaying=true
581
end
582
if kei=='k' and not opencd and crouching and not displaying then
583
opencd=true
584
opens:play''
585
chr.Humanoid.WalkSpeed=0
586
local grbg=Instance.new('Part',workspace)
587
grbg.Name="bomb"
588
grbg.formFactor=3
589
grbg.CFrame=base.CFrame*CFrame.new(0,5,0)
590
grbg.TopSurface=10
591
grbg.BottomSurface=10
592
grbg.LeftSurface=10
593
grbg.RightSurface=10
594
grbg.BackSurface=10
595
grbg.FrontSurface=10
596
grbg.CanCollide=false
597
grbg.Anchored=false
598
grbg.Anchored=false
599
grbg.Transparency=0
600
grbg.Shape='Ball'
601
grbg.BrickColor=BrickColor.new('Really black')
602
grbg.Locked=true
603
grbg.Size=Vector3.new(.8,.8,.8)
604
grbg.Velocity=Vector3.new(0,100,0)
605
grbg.Touched:connect(function(tch)
606
if tch and tch.Parent then
607
local expl=Instance.new('Explosion',workspace)
608
expl.Position=grbg.Position
609
expl.BlastPressure=1111111
610
expl.BlastRadius=22
611
grbg:destroy''
612
end
613
end)
614
wait'1'
615
opencd=false
616
chr.Humanoid.WalkSpeed=WlkSpeed*.75
617
end
618
game:service'Debris':AddItem(grbg,5)
619
if kei=='c' and not opencd and crouching and not displaying then
620
opens:play''
621
opencd=true
622
lt.Enabled=true
623
ltout=true
624
end
625
end)
626
maus.KeyUp:connect(function(kei)
627
if string.byte(kei)==48 and not otheranims then
628
runnin=false
629
end
630
if kei=='w' then fldb.w=false end
631
if kei=='a' then fldb.a=false end
632
if kei=='s' then fldb.s=false end
633
if kei=='d' then fldb.d=false end
634
if kei=='x' and bboxout and opencd then
635
bboxout=false
636
opencd=false
637
end
638
if kei=='q' then
639
bvelo.velocity=Vector3.new(0,0,0)
640
end
641
if kei=='e' then
642
bvelo.velocity=Vector3.new(0,0,0)
643
end
644
if kei=='z' then
645
displaying=false
646
if imageType=="Table" then
647
currentdecalid=currentdecalid+1
648
if currentdecalid>#decals then currentdecalid=1 end
649
img.Texture="http://www.roblox.com/asset?id="..decals[currentdecalid]-1
650
end
651
end
652
if kei=='j' and crouching and otheranims and not displaying and not opencd and anim=='Crouching' then
653
crouching=false
654
anim='SuperJump'
655
local bv=Instance.new('BodyVelocity',rutprt)
656
bv.maxForce=Vector3.new(0,1/0,0)
657
bv.velocity=Vector3.new(0,300,0)
658
game:service'Debris':AddItem(bv,.5)
659
wait'1'
660
chr.Humanoid.Jump=true
661
if anim=='SuperJump' then
662
otheranims=false
663
end
664
end
665
if kei=='v' and crouching and otheranims and not displaying then
666
if not opencd then
667
local rei=Ray.new(lid.CFrame.p,(lid.CFrame.p-(lid.CFrame*CFrame.new(0,0,-1)).p).unit*2)
668
local hit,hitpos=workspace:FindPartOnRay(rei,chr)
669
if hit and hit.Parent then
670
opencd=true
671
if hit.Parent:IsA'Model' then
672
for   i,x in pairs(hit.Parent:GetChildren()) do if x:IsA'Humanoid' then   x.Sit=true x.Health=x.Health-(15*(x.MaxHealth/100)) hits:play'' end end
673
if hit.Parent:findFirstChild('Torso') then
674
local asd=Instance.new('BodyVelocity',hit.Parent.Torso)
675
asd.velocity=((rutprt.CFrame*CFrame.new(0,4,1).p-rutprt.CFrame.p).unit*222)
676
game:service'Debris':AddItem(asd,.4)
677
end
678
end
679
wait'.5'
680
opencd=false
681
end
682
end
683
end
684
if kei=='c' and opencd and ltout then
685
opencd=false
686
ltout=false
687
lt.Enabled=false
688
end
689
end)
690
691
local nskn = NumberSequenceKeypoint.new
692
maus.Button1Down:connect(function()
693
if runnin and not otheranims and (rutprt.Velocity*Vector3.new(1,0,1)).magnitude>RunSpeed-5 and not TackleCD then
694
otheranims=true
695
TackleCD=true
696
anim="Tackle"
697
chr.Humanoid.WalkSpeed=0
698
local bv=Instance.new('BodyVelocity',base)
699
bv.Name='git gud'
700
bv.maxForce=Vector3.new(1/0,0,1/0)
701
bv.velocity=((rutprt.CFrame*CFrame.new(0,0,-3)).p-rutprt.CFrame.p).unit*(RunSpeed+(22*(RunSpeed/100)))
702
wait'1'
703
bv:destroy''
704
otheranims=false
705
wait'2'
706
TackleCD=false
707
end
708
if not throwcd and crouching and otheranims and not opencd and not displaying then
709
opencd=true
710
throwcd=true
711
opens:play''
712
local grb=GarbageTypes[math.random(1,#GarbageTypes)]
713
local grbg=Instance.new('Part',workspace)
714
grbg.Name=grb[1]
715
grbg.formFactor=3
716
grbg.CFrame=base.CFrame*CFrame.new(0,4.5,-2)*CFrame.Angles(math.rad(math.random(1,180)),math.rad(math.random(1,180)),math.rad(math.random(1,180)))
717
grbg.TopSurface=10
718
grbg.BottomSurface=10
719
grbg.LeftSurface=10
720
grbg.RightSurface=10
721
grbg.BackSurface=10
722
grbg.FrontSurface=10
723
grbg.CanCollide=false
724
grbg.Anchored=false
725
grbg.Anchored=false
726
grbg.Transparency=0
727
grbg.Locked=true
728
grbg.Size=Vector3.new(.8,.8,.8)
729
local emitter=Instance.new("ParticleEmitter",grbg)
730
emitter.Rate=111
731
 
732
emitter.Acceleration=Vector3.new(0,5,0)
733
emitter.Lifetime=NumberRange.new(2)
734
--emitter.EmissionDirection="Back"
735
736
emitter.VelocitySpread=11
737
emitter.Enabled=true
738
emitter.Rotation=NumberRange.new(-15,15)
739
emitter.RotSpeed=NumberRange.new(-25,25)
740
emitter.Texture="http://www.roblox.com/asset?id="..alldecals[math.random(1,#alldecals)]
741
emitter.Size = NumberSequence.new({
742
        nskn(0    , 1 , 0);
743
        nskn(0.123, .85  , 0);
744
        nskn(0.154, .7 , 0);
745
        nskn(0.208, .55 , 0);
746
        nskn(0.357, .4 , 0);
747
        nskn(0.555, .25 , 0);
748
        nskn(0.725, .1, 0);
749
        nskn(0.905, 0, 0);
750
        nskn(1    , 0, 0);
751
})
752
emitter.Transparency=NumberSequence.new({nskn(0,0,0),nskn(.1,.1,0),nskn(.2,.2,0),nskn(.3,.3,0),nskn(.4,.4,0),nskn(.5,.5,0),nskn(.6,.6,0),nskn(.7,7,0),nskn(.8,.8,0),nskn(.9,.9,0),nskn(1,1,0)})
753
local hitsnd=Instance.new('Sound',grbg)
754
hitsnd.Volume=1
755
hitsnd.Pitch=1
756
hitsnd.SoundId="http://www.roblox.com/asset?id=144467617"
757
local hitsnd2=Instance.new('Sound',grbg)
758
hitsnd2.Volume=.5
759
hitsnd2.Pitch=1.05
760
hitsnd2.SoundId="http://www.roblox.com/asset?id="..grb[5]
761
local magn=(maus.Hit.p-(base.CFrame*CFrame.new(0,4.5,-2)).p).magnitude
762
grbg.Velocity=((maus.Hit.p-(base.CFrame*CFrame.new(0,4.5,-2)).p).unit*(magn*1.25))+Vector3.new(0,72.5,0)
763
local firsthit=true
764
local ms=Instance.new('SpecialMesh',grbg)
765
ms.MeshId="http://www.roblox.com/asset?id="..grb[2]
766
ms.TextureId="http://www.roblox.com/asset?id="..grb[3]
767
ms.Scale=grb[4]
768
grbg.Touched:connect(function(hit)
769
if hit and hit.Parent and hit:IsA'Part' and hit.CanCollide and hit.Transparency<1 and firsthit then
770
firsthit=false
771
hitsnd:play''
772
hitsnd2:play''
773
grbg.Anchored=true
774
grbg.Transparency=1
775
game:service'Debris':AddItem(grbg,2)
776
local expl=Instance.new('Part',workspace)
777
expl.Name=grb[1]
778
expl.formFactor=3
779
expl.CFrame=CFrame.new(grbg.CFrame.x,grbg.CFrame.y,grbg.CFrame.z)
780
expl.TopSurface=10
781
expl.BottomSurface=10
782
expl.LeftSurface=10
783
expl.RightSurface=10
784
expl.BackSurface=10
785
expl.FrontSurface=10
786
expl.CanCollide=false
787
expl.Anchored=true
788
expl.Transparency=1
789
expl.Locked=true
790
expl.Size=Vector3.new(.2,.2,.2)
791
local emitr=Instance.new("ParticleEmitter",expl)
792
emitr.Rate=333
793
emitr.Speed=NumberRange.new(35,40)
794
emitr.Acceleration=Vector3.new(0,-30,0)
795
emitr.Lifetime=NumberRange.new(.5)
796
emitr.EmissionDirection="Top"
797
emitr.Transparency=NumberSequence.new({nskn(0,0,0),nskn(.1,.1,0),nskn(.2,.2,0),nskn(.3,.3,0),nskn(.4,.4,0),nskn(.5,.5,0),nskn(.6,.6,0),nskn(.7,7,0),nskn(.8,.8,0),nskn(.9,.9,0),nskn(1,1,0)})
798
799
emitr.VelocitySpread=120
800
emitr.Enabled=true
801
emitr.Rotation=NumberRange.new(-15,15)
802
emitr.RotSpeed=NumberRange.new(-25,25)
803
emitr.Texture=emitter.Texture
804
emitr.Size = NumberSequence.new({
805
        nskn(0    , 2 , 0);
806
        nskn(0.123, 1.75  , 0);
807
        nskn(0.154, 1.5 , 0);
808
        nskn(0.208, 1.25 , 0);
809
        nskn(0.357, 1 , 0);
810
        nskn(0.555, .75 , 0);
811
        nskn(0.725, .5, 0);
812
        nskn(0.905, .25, 0);
813
        nskn(1    , 0, 0);
814
})
815
emitter.Rate=0
816
for i,x in pairs(workspace:GetChildren()) do
817
if x:IsA'Model' and x:findFirstChild("Humanoid") and x:findFirstChild("Torso") and x:findFirstChild("Head") then
818
if (x.Torso.Position-expl.Position).magnitude<=12 and x~=chr then
819
x:breakJoints''
820
end
821
end
822
end
823
wait'.2'
824
emitr.Rate=0
825
game:service'Debris':AddItem(expl,1)
826
end
827
end)
828
wait'.2'
829
opencd=false
830
wait'.6'
831
throwcd=false
832
end
833
834
835
836
837
838
839
end)
840
841
842
843
844
lid.Touched:connect(function(hit)
845
if otheranims==true and anim=="Tackle" or anim=='SuperJump' and not hitdb and not hit.Parent:IsA'Hat' and hit.Name~='Base' then
846
if anim=='SuperJump' then otheranims=false chr.Humanoid.Jump=true end
847
hitdb=true
848
if hit and hit.Parent then
849
if hit.Parent:IsA'Model' then
850
for i,x in pairs(hit.Parent:GetChildren()) do if x:IsA'Humanoid' then hit.Parent:breakJoints'' hits:play'' end end
851
if hit.Parent.Parent then
852
for i,x in pairs(hit.Parent.Parent:GetChildren()) do if x:IsA'Humanoid' then hit.Parent.Parent:breakJoints'' hits:play'' end end
853
end
854
end
855
end
856
wait'.8' hitdb=false
857
end
858
end)
859
860
861
game:service'RunService'.RenderStepped:connect(function()
862
if   chr:findFirstChild("Humanoid") and rarm:findFirstChild("Weld") and   larm:findFirstChild("Weld") and hed:findFirstChild("Weld") and   lleg:findFirstChild("Weld") and rleg:findFirstChild("Weld") and   rutprt:findFirstChild("Weld") then
863
if anim~=lastanim then
864
runtime=0
865
end
866
lastanim=anim
867
chr.Humanoid.CameraOffset=(rutprt.CFrame:toObjectSpace(waifu.CFrame)).p+Vector3.new(0,-1.25,0)
868
syne=syne+.95
869
if not otheranims and not swimming then
870
if   (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and not   chr.Humanoid.Jump then-- and torso.Velocity.y<5 and   torso.Velocity.y>-5
871
anim="Idling"
872
elseif   (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and   (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude < RunSpeed-10 and   not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and   torso.Velocity.y>-5
873
anim="Walking"
874
elseif   (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > RunSpeed-10 and   not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and   torso.Velocity.y>-5
875
anim="Sprinting"
876
elseif torso.Velocity.y>5 and chr.Humanoid.Jump then
877
anim='Jumping'
878
elseif (torso.Velocity.y < -5) and chr.Humanoid.Jump then
879
anim='Falling'
880
end
881
end
882
if otheranims and crouching and not swimming and not flying then
883
if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 then
884
anim="Crouching"
885
elseif (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 then
886
anim="Sneaking"
887
end
888
end
889
890
if otheranims and flying and not swimming and not crouching then
891
if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 then
892
anim="FlyIdle"
893
heliweld1.C0=CFrame.new(0,3.25,0)*CFrame.Angles(0,syne,0)
894
elseif (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 then
895
anim="FlyForward"
896
heliweld1.C0=CFrame.new(0,3.25,0)*CFrame.Angles(0,syne,0)
897
end
898
else
899
heliweld1.C0=CFrame.new(0,0,0)
900
end
901
902
if anim=="Idling" then
903
idlesineinc=35
904
rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.475+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(0,0,math.rad(20)),.1)
905
larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.475+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(0,0,math.rad(-20)),.1)
906
lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(-2.5)),.1)
907
rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(2.5)),.1)
908
hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/idlesineinc)/50,0)*CFrame.Angles(math.cos(syne/idlesineinc)/40,0,0),.1)
909
rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/idlesineinc)/20,0)*CFrame.Angles(math.cos(syne/idlesineinc)/35+math.rad(0),math.rad(0),math.rad(0)),.1)
910
canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
911
end
912
913
if anim=="Walking" then
914
rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525+math.cos(syne/15)/25,0)*CFrame.Angles(math.cos(syne/6)/1.25,math.rad(5),-(math.cos(syne/6.75)/15)+math.rad(27)),.1)
915
larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/15)/25,0)*CFrame.Angles(-(math.cos(syne/6)/1.25),0,-(math.cos(syne/6.75)/15)-math.rad(27)),.1)
916
lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/6)/10,-(math.cos(syne/6)/1.125))*CFrame.Angles(math.cos(syne/6)/1.125,0,math.rad(-2.5)),.1)
917
rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/6)/10,math.cos(syne/6)/1.125)*CFrame.Angles(-(math.cos(syne/6)/1.125),0,math.rad(2.5)),.1)
918
hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/3)/20,0,0),.1)
919
rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/3.375)/20,math.cos(syne/3)/5)*CFrame.Angles(math.cos(syne/3)/20+math.rad(-3.5),math.cos(syne/6)/10,-math.cos(syne/6)/30+math.sin(rutprt.RotVelocity.y/2)/7.5),.1)
920
canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
921
end
922
923
if anim=="Sprinting" then
924
rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-55),0,math.rad(32.5)),.1)
925
larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-55),0,math.rad(-32.5)),.1)
926
lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.6-math.cos(syne/4)/4,-(math.cos(syne/4)*2)-math.rad(10))*CFrame.Angles(math.cos(syne/4)*2+math.rad(10),0,math.rad(-2.5)),.1)
927
rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.6-math.cos(syne/4)/4,math.cos(syne/4)*2-math.rad(10))*CFrame.Angles(-(math.cos(syne/4)*2)+math.rad(10),0,math.rad(2.5)),.1)
928
hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.55+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(20),0,0),.1)
929
rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.3+math.cos(syne/2.5)/15,math.cos(syne/2.5))*CFrame.Angles(math.cos(syne/2.5)/10+math.rad(-25),math.cos(syne/2.5)/10,math.cos(syne/4)/20+math.sin(rutprt.RotVelocity.y/2)/4),.1)
930
canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
931
end
932
933
if anim=="Jumping" then
934
rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.1)
935
larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
936
lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.4,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1)
937
rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.1,-.1)*CFrame.Angles(math.rad(-17.5),0,math.rad(2.5)),.1)
938
hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(math.cos(syne/20)/40,0,0),.1)
939
rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/20)/20,0)*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),.1)
940
canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
941
end
942
943
if anim=="Tackle" then
944
rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.1)
945
larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
946
lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.4,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1)
947
rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.4,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(2.5)),.1)
948
hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.cos(syne/20)/40,0,0),.1)
949
rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0)),.1)
950
canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
951
end
952
953
if anim=="Falling" then
954
rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(70)),.035)
955
larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-70)),.035)
956
lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.2,0)*CFrame.Angles(math.rad(-14),0,math.rad(-2.5)),.035)
957
rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9,0)*CFrame.Angles(math.rad(0),0,math.rad(2.5)),.035)
958
hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,-.3)*CFrame.Angles(math.rad(-40),0,0),.035)
959
rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/20)/20,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)),.035)
960
canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
961
end
962
963
if anim=="SuperJump" then
964
rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.4,.525,0)*CFrame.Angles(math.rad(175),0,math.rad(10)),.15)
965
larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.4,.525,0)*CFrame.Angles(math.rad(175),0,math.rad(-10)),.15)
966
lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.5,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.15)
967
rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.5,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(2.5)),.15)
968
hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),.15)
969
rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-3,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.15)
970
canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,3,0)*CFrame.Angles(0,0,0),.15)
971
end
972
973
if anim=="Crouching" then
974
rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
975
larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
976
lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.5,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
977
rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.5,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
978
hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),.1)
979
rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.75,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.15)
980
canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
981
end
982
983
if anim=="Sneaking" then
984
rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
985
larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
986
lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-.8-math.cos(syne/6)/8,-(math.cos(syne/6)/1.75))*CFrame.Angles(math.cos(syne/6)/1.75,0,math.rad(-2.5)),.15)
987
rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-.8-math.cos(syne/6)/8,math.cos(syne/6)/1.75)*CFrame.Angles(-(math.cos(syne/6)/1.75),0,math.rad(2.5)),.15)
988
hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),.1)
989
rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.2,0)*CFrame.Angles(math.rad(-5),math.rad(0),math.cos(syne/6)/20),.1)
990
canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
991
end
992
993
if anim=="FlyIdle" then
994
rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
995
larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
996
lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.5,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
997
rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.5,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
998
hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),.1)
999
rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.75-math.cos(syne/17.5),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.05)
1000
canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
1001
end
1002
if anim=="FlyForward" then
1003
rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
1004
larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
1005
lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.5,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
1006
rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.5,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
1007
hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),.1)
1008
rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.75-math.cos(syne/17.5),0)*CFrame.Angles(math.rad(-12),math.rad(0),math.rad(0)),.05)
1009
canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
1010
end
1011
1012
if opencd and otheranims then
1013
lidWeld.C0=Lerp(lidWeld.C0,CFrame.new(0,3,-1)*CFrame.Angles(math.rad(85),math.rad(0),math.rad(0)),.222)
1014
music.Volume=TwnSingleNumber(music.Volume,.7,.025)
1015
elseif not opencd and not displaying then
1016
music.Volume=TwnSingleNumber(music.Volume,.025,.05)
1017
elseif not opencd and displaying then
1018
music.Volume=TwnSingleNumber(music.Volume,.325,.05)
1019
end
1020
if bboxout then
1021
bbweld.C0=Lerp(bbweld.C0,CFrame.new(0,1.9,.2)*CFrame.Angles(math.rad(15),math.rad(0),math.rad(0)),.222)
1022
else
1023
bbweld.C0=Lerp(bbweld.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.075)
1024
end
1025
if ltout then
1026
blbweld.C0=Lerp(blbweld.C0,CFrame.new(0,1.7,-.7)*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),.222)
1027
lt.Range=TwnSingleNumber(lt.Range,16,.1)
1028
else
1029
blbweld.C0=Lerp(blbweld.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.075)
1030
lt.Range=0
1031
end
1032
if displaying then
1033
girlWeld.C0=Lerp(girlWeld.C0,CFrame.new(0,2.2,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.075)
1034
lidWeld.C0=Lerp(lidWeld.C0,CFrame.new(0,.15,.75)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)),.15)
1035
else
1036
girlWeld.C0=Lerp(girlWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.15)
1037
lidWeld.C0=Lerp(lidWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.075)
1038
end
1039
if runnin and not otheranims and not swimming then
1040
chr.Humanoid.WalkSpeed=RunSpeed
1041
elseif not runnin and not otheranims and not swimming then
1042
chr.Humanoid.WalkSpeed=WlkSpeed
1043
end
1044
end
1045
end)
1046
end
1047
do
1048
        player = owner or game:GetService("Players").LocalPlayer
1049
1050
chatted = false
1051
1052
1053
a = Instance.new("BillboardGui", player.Character:FindFirstChild("Head"))
1054
a.ExtentsOffset = Vector3.new(1,0,0)
1055
a.Size = UDim2.new(1,0,1,0)
1056
a.AlwaysOnTop = true
1057
a.Enabled = true
1058
b =  Instance.new("ImageLabel", a)
1059
b.BackgroundTransparency = 1
1060
b.BorderSizePixel = 0
1061
b.Image = "http://www.roblox.com/asset/?id=243503908"
1062
b.ImageTransparency = 0.1
1063
b.Position = UDim2.new(0.2,0,0.05,0)
1064
b.Size = UDim2.new(5,0,1.2,0)
1065
b.Visible = false
1066
c = Instance.new("TextLabel", b)
1067
c.BackgroundTransparency = 1
1068
c.BorderSizePixel = 0
1069
c.Position = UDim2.new(0.1,0,0)
1070
c.Size = UDim2.new(0.5,0,0.4,0)
1071
c.ZIndex = 2
1072
c.Font = "SourceSans"
1073
c.FontSize = "Size18"
1074
c.Text = player.Name..":"
1075
c.TextColor3 = Color3.new(255/255,255/255,255/255)
1076
c.TextXAlignment = "Left"
1077
c.TextYAlignment = "Center"
1078
d = Instance.new("TextLabel", b)
1079
d.BackgroundTransparency = 1
1080
d.BorderSizePixel = 0
1081
d.Position = UDim2.new(0.1,0,0.4,0)
1082
d.Size = UDim2.new(0.9,0,0.6,0)
1083
d.ZIndex = 2
1084
d.Font = "SourceSans"
1085
d.FontSize = "Size18"
1086
d.Text = ""
1087
d.TextColor3 = Color3.new(255/255,255/255,255/255)
1088
d.TextXAlignment = "Left"
1089
d.TextYAlignment = "Top"
1090
d.TextWrapped = true
1091
1092
1093
function message(message)	
1094
repeat wait() until chatted == false
1095
chatted = true
1096
b.Visible = true	
1097
if string.find(message,"-r") ~=nil then
1098
for i=1,string.len(message),1 do
1099
d.TextColor3 = Color3.new(math.random(1,255)/255,math.random(1,255)/255,math.random(1,255)/255)	
1100
d.Text = string.sub(message,1,i)
1101
wait(0.1)	
1102
end
1103
elseif string.find(message,"-b") ~=nil then
1104
for i=1,string.len(message),1 do	
1105
d.Text = string.sub(string.byte(message),1,i)
1106
wait(0.05)	
1107
end
1108
else
1109
for i=1,string.len(message),1 do	
1110
d.Text = string.sub(message,1,i)
1111
wait(0.05)	
1112
end
1113
end
1114
wait(2)
1115
if string.find(message,"-t") ~=nil then
1116
b.Visible = true
1117
else
1118
b.Visible = false
1119
d.TextColor3  = Color3.new(255/255,255/255,255/255)			
1120
end
1121
chatted = false
1122
end
1123
1124
1125
1126
1127
player.Chatted:connect(message)
1128
end
1129
-- ~Clarramore 2016