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