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