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