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