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