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