View difference between Paste ID: scv8nkPu and TiPLh7kV
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2
local Player,game,owner = owner,game
3
local RealPlayer = Player
4
do
5
    print("FE Compatibility code by Mokiros")
6
    local rp = RealPlayer
7
    script.Parent = rp.Character
8
   
9
    --RemoteEvent for communicating
10
    local Event = Instance.new("RemoteEvent")
11
    Event.Name = "UserInput_Event"
12
 
13
    --Fake event to make stuff like Mouse.KeyDown work
14
    local function fakeEvent()
15
        local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
16
        t.connect = t.Connect
17
        return t
18
    end
19
 
20
    --Creating fake input objects with fake variables
21
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
22
    local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
23
    local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
24
        CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
25
    end}
26
    --Merged 2 functions into one by checking amount of arguments
27
    CAS.UnbindAction = CAS.BindAction
28
 
29
    --This function will trigger the events that have been :Connect()'ed
30
    local function te(self,ev,...)
31
        local t = m[ev]
32
        if t and t._fakeEvent then
33
            for _,f in pairs(t.Functions) do
34
                f(...)
35
            end
36
        end
37
    end
38
    m.TrigEvent = te
39
    UIS.TrigEvent = te
40
 
41
    Event.OnServerEvent:Connect(function(plr,io)
42
        if plr~=rp then return end
43
        m.Target = io.Target
44
        m.Hit = io.Hit
45
        if not io.isMouse then
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 Mouse = Player:GetMouse()
66
    local UIS = game:GetService("UserInputService")
67
    local input = function(io,a)
68
        if a then return end
69
        --Since InputObject is a client-side instance, we create and pass table instead
70
        Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
71
    end
72
    UIS.InputBegan:Connect(input)
73
    UIS.InputEnded:Connect(input)
74
 
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
 
85
    ----Sandboxed game object that allows the usage of client-side methods and services
86
    --Real game object
87
    local _rg = game
88
 
89
    --Metatable for fake service
90
    local fsmt = {
91
        __index = function(self,k)
92
            local s = rawget(self,"_RealService")
93
            if s then return s[k] end
94
        end,
95
        __newindex = function(self,k,v)
96
            local s = rawget(self,"_RealService")
97
            if s then s[k]=v end
98
        end,
99
        __call = function(self,...)
100
            local s = rawget(self,"_RealService")
101
            if s then return s(...) end
102
        end
103
    }
104
    local function FakeService(t,RealService)
105
        t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
106
        return setmetatable(t,fsmt)
107
    end
108
 
109
    --Fake game object
110
    local g = {
111
        GetService = function(self,s)
112
            return self[s]
113
        end,
114
        Players = FakeService({
115
            LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
116
        },"Players"),
117
        UserInputService = FakeService(UIS,"UserInputService"),
118
        ContextActionService = FakeService(CAS,"ContextActionService"),
119
    }
120
    rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
121
    g.service = g.GetService
122
   
123
    g.RunService = FakeService({
124
        RenderStepped = _rg:GetService("RunService").Heartbeat,
125
        BindToRenderStep = function(self,name,_,fun)
126
            self._btrs[name] = self.Heartbeat:Connect(fun)
127
        end,
128
        UnbindFromRenderStep = function(self,name)
129
            self._btrs[name]:Disconnect()
130
        end,
131
    },"RunService")
132
 
133
    setmetatable(g,{
134
        __index=function(self,s)
135
            return _rg:GetService(s) or typeof(_rg[s])=="function"
136
            and function(_,...)return _rg[s](_rg,...)end or _rg[s]
137
        end,
138
        __newindex = fsmt.__newindex,
139
        __call = fsmt.__call
140
    })
141
    --Changing owner to fake player object to support owner:GetMouse()
142
    game,owner = g,g.Players.LocalPlayer
143
  end
144
145
146
--// Made by Cronizete
147
--// There's some secret functions c;
148
149
plr = game:GetService("Players").LocalPlayer
150
char = plr.Character
151
hum = char:FindFirstChildOfClass'Humanoid'
152
hum.BodyDepthScale.Value = 1
153
hum.BodyHeightScale.Value = 1
154
hum.BodyWidthScale.Value = 1
155
hum.HeadScale.Value = 1
156
lclick = false
157
mouse = plr:GetMouse()
158
size = 1
159
rlick = false
160
human = char.Humanoid
161
root = char.HumanoidRootPart
162
head = char.Head
163
lshold = char["LeftUpperArm"].LeftShoulder
164
rshold = char["RightUpperArm"].RightShoulder
165
lelbow = char["LeftLowerArm"].LeftElbow
166
relbow = char["RightLowerArm"].RightElbow
167
lelbo = lelbow.C0
168
relbo = relbow.C0
169
rsho = rshold.C0
170
lsho = lshold.C0
171
jumping = false
172
chipmesh = ""
173
rad = math.rad
174
shield = false
175
disguise = ""
176
step = workspace:WaitForChild('Base')
177
slam = false
178
ff=Instance.new('ForceField', char)
179
ff.Visible = false
180
dis = false
181
neck = char.Head.Neck
182
local ang = -5
183
local ang2 = -5
184
local sine = 0
185
local change = 0.5
186
arm = 0
187
char:FindFirstChild'Animate':Destroy()
188
hum.Animator.Parent = nil
189
nec = neck.C0
190
punch = false
191
spikek = false
192
cooldown = true
193
random = math.random
194
mainc = char.Head.BrickColor
195
chip = false
196
color = char.Head.BrickColor
197
mainf = char.Head.face.Texture
198
wings = false
199
face = mainf
200
lleg = char["LeftUpperLeg"].LeftHip
201
rleg = char["RightUpperLeg"].RightHip
202
rle = rleg.C0
203
lle = lleg.C0
204
torso = char:FindFirstChild('UpperTorso')
205
butf = false
206
previ = ""
207
jir = false
208
legslam = false
209
waist = torso.Waist
210
wais = waist.C0
211
rtorso = char.LowerTorso.Root
212
rtors = rtorso.C0
213
float = false
214
signs = false
215
fold = Instance.new('Folder', char)
216
sat = false
217
asdasd = false
218
219
--// Configs
220
221
vol1 = 6
222
vol2 = 3
223
parts = 30
224
damage = 50
225
size = Vector3.new(27.67, 0.05, 25.43)
226
227
--// Sfx
228
229
local s1 = Instance.new('Sound', lleg.Parent) -- Explosion
230
s1.SoundId = "rbxassetid://138210320"
231
232
local s2 = Instance.new('Sound', char.RightUpperArm) -- Punch
233
s2.SoundId = "rbxassetid://145486953"
234
235
local s3 = Instance.new('Sound', char.HumanoidRootPart) -- Wings
236
s3.SoundId = "rbxassetid://999998561"
237
s3.Looped = true
238
239
local s4 = Instance.new('Sound', char.Head) -- Crunch
240
s4.SoundId = "rbxassetid://181027147"
241
s4.Looped = false
242
243
local s5 = Instance.new('Sound', char.LeftFoot) -- walk (grass)
244
s5.Volume = 6
245
s5.SoundId = "rbxassetid://429617891"
246
s5.Looped = true
247
248
local s6 = Instance.new('Sound', char.LeftFoot) -- walk (metals)
249
s6.Volume = 6
250
s6.SoundId = "rbxassetid://174216216"
251
s6.Looped = true
252
253
local s7 = Instance.new('Sound', char.LeftFoot) -- walk (sand)
254
s7.Volume = 6
255
s7.SoundId = "rbxassetid://336575096"
256
s7.Looped = true
257
258
local s8 = Instance.new('Sound', char.LeftFoot) -- walk (ice)
259
s8.Volume = 6
260
s8.SoundId = "rbxassetid://138214900"
261
s8.Looped = true
262
263
local s9 = Instance.new('Sound', char.LeftHand) -- Chips take out
264
s9.Volume = 6
265
s9.SoundId = "rbxassetid://873073853"
266
s9.Looped = false
267
268
local s10 = Instance.new('Sound', char.LeftHand) -- Jutsu
269
s10.Volume = 4
270
s10.SoundId = "rbxassetid://147722098"
271
s10.Looped = false
272
273
local s11 = Instance.new('Sound') -- Jutsu
274
s11.Volume = 4
275
s11.SoundId = "rbxassetid://158712406"
276
s11.Looped = false
277
278
local s12 = Instance.new('Sound', char.LeftFoot) -- walk (metal)
279
s12.Volume = 6
280
s12.SoundId = "rbxassetid://549006073"
281
s12.Looped = true
282
283
local s13 = Instance.new('Sound', char.LeftFoot) -- walk (bricks and stuff)
284
s13.Volume = 6
285
s13.SoundId = "rbxassetid://156659098"
286
s13.Looped = true
287
288
local s14 = Instance.new('Sound', char.LeftFoot) -- walk (carpet)
289
s14.Volume = 9
290
s14.SoundId = "rbxassetid://133705377"
291
s14.Looped = true
292
293
local s15 = Instance.new('Sound', char.HumanoidRootPart) -- smoke
294
s15.Volume = 3
295
s15.SoundId = "rbxassetid://722960601"
296
s15.Looped = false
297
298
--// Outfit
299
300
for _, a in pairs(char:children()) do
301
	if a:IsA('Pants') or a:IsA('Shirt') or a:IsA('CharacterMesh') or a:IsA('Accessory') then
302
		a:Destroy()
303
	end
304
end
305
306
bc = char:FindFirstChild('Body Colors')
307
bc.HeadColor = BrickColor.new('Light orange')
308
bc.LeftArmColor = BrickColor.new('Light orange')
309
bc.RightArmColor = BrickColor.new('Light orange')
310
bc.LeftLegColor = BrickColor.new('Light orange')
311
bc.RightLegColor = BrickColor.new('Light orange')
312
bc.TorsoColor = BrickColor.new('Light orange')
313
314
local p1 = Instance.new('Part', char)
315
p1.Anchored = false
316
p1.CanCollide = false
317
p1.BrickColor = BrickColor.new('Rust')
318
local w = Instance.new('Weld', p1)
319
w.Part0 = p1
320
w.Part1 = char:FindFirstChild'Head'
321
w.C0 = CFrame.new(0,1,-1.3)
322
local m1 = Instance.new('SpecialMesh', p1)
323
m1.MeshId = "rbxassetid://560193297"
324
m1.TextureId = ""
325
m1.Scale = Vector3.new(6,5,5)
326
327
local p = Instance.new('Part', char)
328
p.Anchored = false
329
p.CanCollide = false
330
local w = Instance.new('Weld', p)
331
w.Part0 = p
332
w.Part1 = char:FindFirstChild'Head'
333
w.C0 = CFrame.new(0, -0.35, 0)
334
local m = Instance.new('SpecialMesh', p)
335
m.MeshId = "http://www.roblox.com/asset/?id=1286425"
336
m.TextureId = "rbxassetid://999070662"
337
m.Scale = Vector3.new(1.01, 1.01, 1.01)
338
339
char.Head:FindFirstChild('face').Texture = "rbxassetid://0"
340
341
local s = Instance.new('Shirt', char)
342
s.ShirtTemplate = "rbxassetid://274369116"
343
local p2 = Instance.new('Pants', char)
344
p2.PantsTemplate = "rbxassetid://56461131"
345
346
char.Archivable = true
347
348
--// Functions
349
350
function wsfx(a)
351
	coroutine.resume(coroutine.create(function()
352
		s11.Parent = a
353
		s11:Play()
354
		wait(1)
355
		s11:Stop()
356
	end))
357
end
358
359
function sit()
360
	hum.WalkSpeed = 0
361
	hum.JumpPower = 0
362
	for i = 0,1,0.1 do
363
		wait()
364
		rtorso.C0 = rtorso.C0:lerp(rtors*CFrame.new(0, -1.143, 0),i)
365
		neck.C0 = neck.C0:lerp(nec*CFrame.Angles(math.rad(-17.303), 0, 0),i)
366
		rshold.C0 = rshold.C0:lerp(rsho*CFrame.Angles(0, 0, math.rad(9.454)),i)
367
		lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(0, 0, math.rad(-11.001)),i)
368
		lleg.C0 = lleg.C0:lerp(lle *CFrame.new(-0.016, -0.459, 0.002) * CFrame.Angles(math.rad(89.725), math.rad(-2.005), math.rad(-8.881)), i)
369
		rleg.C0 = rleg.C0:lerp(rle * CFrame.new(0.039, -0.426, -0.167) * CFrame.Angles(math.rad(88.236), math.rad(2.177), math.rad(7.219)), i)
370
	end
371
end
372
373
function stand()
374
	hum.WalkSpeed = 16
375
	hum.JumpPower = 50
376
	for i = 0,1,0.1 do
377
		wait()
378
		rtorso.C0 = rtorso.C0:lerp(rtors,i)
379
		neck.C0 = neck.C0:lerp(nec,i)
380
		rshold.C0 = rshold.C0:lerp(rsho,i)
381
		lshold.C0 = lshold.C0:lerp(lsho,i)
382
		lleg.C0 = lleg.C0:lerp(lle, i)
383
		rleg.C0 = rleg.C0:lerp(rle, i)
384
	end
385
end
386
387
function hands()
388
	local a = 5
389
	local b = 1
390
	local c = 8
391
	for i = 0,1,0.1 do
392
		wait()
393
		rshold.C0 = rshold.C0:lerp(rsho*CFrame.new(-0.065, -0.142, -0.077) * CFrame.Angles(math.rad(71.448), 0, math.rad(-26.413)),i)
394
		lshold.C0 = lshold.C0:lerp(lsho*CFrame.new(0.183, -0.23, -0.159) * CFrame.Angles(math.rad(71.448), math.rad(-0.401), math.rad(35.122)),i)
395
		relbow.C0 = relbow.C0:lerp(relbo*CFrame.Angles(0, 0, math.rad(-42.284)),i)
396
		lelbow.C0 = lelbow.C0:lerp(lelbo*CFrame.Angles(0, 0, math.rad(42.972)),i)
397
	end
398
	wait(.2)
399
	s10:Play()
400
	wait(.8)
401
	for i = 0,1,0.1 do
402
		wait()
403
		rshold.C0 = rshold.C0:lerp(rsho,i)
404
		lshold.C0 = lshold.C0:lerp(lsho,i)
405
		relbow.C0 = relbow.C0:lerp(relbo,i)
406
		lelbow.C0 = lelbow.C0:lerp(lelbo,i)
407
	end
408
	wait(.05)
409
	for i = 1,20 do
410
		local p = Instance.new('Part', workspace)
411
		previ = p
412
		p.BrickColor = BrickColor.new('Burnt Sienna')
413
		p.Material = 'Concrete'
414
		p.Anchored = true
415
		p.CanCollide = false
416
		p.Size = Vector3.new(2.79, 26.82, 2.88)
417
		p.Position = char.HumanoidRootPart.Position + char.HumanoidRootPart.CFrame.lookVector * a
418
		p.Position = p.Position + Vector3.new(0,-27,0)
419
		a = a + 5
420
		for i = 1,8 do
421
			wait()
422
			p.Position = p.Position + Vector3.new(0,b,0)
423
			b = b + 1
424
		end
425
		b = 1
426
		p.Touched:connect(function(hit)
427
			if hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid' then
428
				targ = hit.Parent
429
				humtarg = targ:FindFirstChildOfClass'Humanoid'
430
				humtarg:TakeDamage(humtarg.MaxHealth/2/2)
431
			end
432
		end)
433
	end
434
end
435
436
function hands2()
437
	for i = 0,1,0.1 do
438
		wait()
439
		rshold.C0 = rshold.C0:lerp(rsho*CFrame.new(-0.065, -0.142, -0.077) * CFrame.Angles(math.rad(71.448), 0, math.rad(-26.413)),i)
440
		lshold.C0 = lshold.C0:lerp(lsho*CFrame.new(0.183, -0.23, -0.159) * CFrame.Angles(math.rad(71.448), math.rad(-0.401), math.rad(35.122)),i)
441
		relbow.C0 = relbow.C0:lerp(relbo*CFrame.Angles(0, 0, math.rad(-42.284)),i)
442
		lelbow.C0 = lelbow.C0:lerp(lelbo*CFrame.Angles(0, 0, math.rad(42.972)),i)
443
	end
444
	wait(.2)
445
	s10:Play()
446
	wait(.8)
447
	for i = 0,1,0.1 do
448
		wait()
449
		rshold.C0 = rshold.C0:lerp(rsho,i)
450
		lshold.C0 = lshold.C0:lerp(lsho,i)
451
		relbow.C0 = relbow.C0:lerp(relbo,i)
452
		lelbow.C0 = lelbow.C0:lerp(lelbo,i)
453
	end
454
	wait(.05)
455
	local num = 0
456
	local model = Instance.new("Model") 
457
	model.Name = "Circle" 
458
	model.Parent = char
459
460
	local part = Instance.new('Part')
461
	part.Transparency = 1
462
	part.CanCollide = false
463
	part.Size = Vector3.new(0.2,0.2,0.2)
464
	part.Position = root.Position + root.CFrame.lookVector * 22
465
466
	local position = part.CFrame * CFrame.new(0,-27,0) --Set this to the center of your circle. 
467
	local number = 70 --Change 10 to the number of sides you want your circle to have. The more bricks you have, the smoother the circle will be. 
468
	local radius = 16 --Change 5 to the radius you want your circle to be. 
469
	size = Vector3.new(1, 26, 2) --Set this to the size of each brick in your circle. 
470
471
	for i=1, number do 
472
		local part = Instance.new("Part")
473
		game.Debris:AddItem(part,30)
474
		part.BrickColor = BrickColor.new("Burnt Sienna")
475
		part.Material = 'Concrete'
476
		part.formFactor = "Symmetric" 
477
		part.Anchored = true 
478
		part.CanCollide = true
479
		part.Parent = model 
480
		part.Size = size 
481
		local sine = math.sin((360/number + 360/number*i)/(180/math.pi)) 
482
		local cosine = math.cos((360/number + 360/number*i)/(180/math.pi)) 
483
		part.CFrame = position + Vector3.new(radius*sine, 0, radius*cosine) 
484
		part.CFrame = part.CFrame*CFrame.fromEulerAnglesXYZ(0, (360/number + 360/number*i)/(180/math.pi), 0) 
485
	end 
486
	for _, a in pairs(model:children()) do
487
		if a:IsA('Part') then
488
			for i = 1, 27 do
489
				coroutine.resume(coroutine.create(function()
490
					wait()
491
					a.CFrame = a.CFrame:lerp(a.CFrame*CFrame.new(0,12,0),.1)
492
				end))
493
			end
494
		end
495
	end
496
end
497
498
function clear(a)
499
	for _, b in pairs(a:children()) do
500
		if b:IsA('Shirt') or b:IsA('Pants') then
501
			b:Destroy()
502
		end
503
	end
504
end
505
506
function sp(a,b,c)
507
	local s = Instance.new('Shirt', a)
508
	s.ShirtTemplate = b
509
	local p2 = Instance.new('Pants', a)
510
	p2.PantsTemplate = c
511
end
512
513
function unisc()
514
	d = Instance.new('Part', char)
515
	d.Transparency = 1
516
	d.CanCollide = false
517
	d.Anchored = true
518
	d.CFrame = char:FindFirstChild'Ino'.HumanoidRootPart.CFrame
519
	c = d:Clone()
520
	c.Parent = char
521
	c.CFrame = char:FindFirstChild'Shikamaru'.HumanoidRootPart.CFrame
522
	wait(.6)
523
	smoke(d)
524
	smoke(c)
525
	char:FindFirstChild'Shikamaru':Destroy()
526
	char:FindFirstChild'Ino':Destroy()
527
end
528
529
function isc()
530
	p1.Transparency = 1
531
	p.Transparency = 1
532
	
533
	local ino = char:Clone()
534
	local shika = char:Clone()
535
	
536
	p1.Transparency = 0
537
	p.Transparency = 0
538
	
539
	ino.Name = "Ino"
540
	shika.Name = "Shikamaru"
541
	
542
	clear(ino)
543
	clear(shika)
544
	
545
	sp(ino,"http://www.roblox.com/asset/?id=45739375","http://www.roblox.com/asset/?id=45739424")
546
	sp(shika,"rbxassetid://398113258","rbxassetid://398113725")
547
	
548
	local p1 = Instance.new('Part', shika)
549
	p1.Anchored = false
550
	p1.CanCollide = false
551
	p1.BrickColor = BrickColor.new('Rust')
552
	local w = Instance.new('Weld', p1)
553
	w.Part0 = p1
554
	w.Part1 = shika:FindFirstChild'Head'
555
	w.C0 = CFrame.new(0,-0.25,0.499) * CFrame.Angles(rad(0),rad(180),rad(0))
556
	local m1 = Instance.new('SpecialMesh', p1)
557
	m1.MeshId = "rbxassetid://524467395"
558
	m1.TextureId = "rbxassetid://524467404"
559
	m1.Scale = Vector3.new(0.065,0.065,0.065)
560
	
561
	local p1 = Instance.new('Part', ino)
562
	p1.Anchored = false
563
	p1.CanCollide = false
564
	p1.BrickColor = BrickColor.new('Rust')
565
	local w = Instance.new('Weld', p1)
566
	w.Part0 = p1
567
	w.Part1 = ino:FindFirstChild'Head'
568
	w.C0 = CFrame.new(0,1.8,.399) * CFrame.Angles(rad(0),rad(180),rad(0))
569
	local m1 = Instance.new('SpecialMesh', p1)
570
	m1.MeshId = "rbxassetid://521487839"
571
	m1.TextureId = "rbxassetid://521963117"
572
	m1.Scale = Vector3.new(0.075,0.07,0.07)
573
	
574
	ino.Parent = char
575
	shika.Parent = char
576
	
577
	ino.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(5,0,0)
578
	shika.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(-5,0,-0)
579
	
580
	smoke(ino.HumanoidRootPart)
581
	smoke(shika.HumanoidRootPart)
582
end
583
584
function redp()
585
	for i = 0,1,0.1 do
586
		wait()
587
		lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(0, 0, math.rad(20.512)),i)
588
		neck.C0 = neck.C0:lerp(nec*CFrame.Angles(math.rad(-33.976), math.rad(44.118), math.rad(25.096)),i)
589
	end
590
	local p = Instance.new('Part', lshold.Parent)
591
	game:service'Debris':AddItem(p,3.5)
592
	p.Anchored = false
593
	p.CanCollide = false
594
	p.BrickColor = BrickColor.new('Really red')
595
	p.Size = Vector3.new(0.2,0.2,0.2)
596
	p.Shape = "Ball"
597
	local w = Instance.new('Weld', p)
598
	w.Part0 = p
599
	w.Part1 = char:FindFirstChild('LeftHand')
600
	w.C0 = CFrame.new(-0.6, 0, 0)
601
end
602
603
function eat()
604
	redp()
605
	wait(.7)
606
	for i = 0,1,0.1 do
607
		wait()
608
		lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(math.rad(48.128), 0, 0),i)
609
		neck.C0 = neck.C0:lerp(nec*CFrame.Angles(math.rad(-20.913), math.rad(27.903), math.rad(10.141)),i)
610
	end	
611
	wait(1.5)
612
	for i = 0,1,0.1 do
613
		wait()
614
		lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(math.rad(95.627), math.rad(19.481), math.rad(52.426)),i)
615
	end	
616
	wait(.9)
617
	for i = 0,1,0.1 do
618
		wait()
619
		lshold.C0 = lshold.C0:lerp(lsho,i)
620
		neck.C0 = neck.C0:lerp(nec,i)
621
	end	
622
end
623
624
function unwing()
625
	vol1 = 6
626
	vol2 = 3
627
	parts = 30
628
	damage = 50
629
	size = Vector3.new(27.67, 0.05, 25.43)
630
	hum.WalkSpeed = 16
631
	hum.JumpPower = 50
632
	
633
	for i = 0,2 do
634
		s3.Volume = s3.Volume - 0.1
635
		wait()
636
	end
637
	s3:Stop()
638
	
639
	for i = 1,8 do
640
		wait()
641
		for _, a in pairs(char:FindFirstChild'UpperTorso':children()) do
642
			if a.Name == "WingLeft" or a.Name == "WingRight" then
643
				a.Transparency = a.Transparency + 0.05
644
			end
645
		end
646
	end
647
	for _, a in pairs(char:FindFirstChild'UpperTorso':children()) do
648
		if a.Name == "WingLeft" or a.Name == "WingRight" then
649
			a:Destroy()
650
		end
651
	end
652
end
653
654
function wing()
655
	vol1 = 10
656
	vol2 = 7
657
	parts = 75
658
	damage = 100
659
	size = Vector3.new(55, 0.05, 55)
660
	hum.WalkSpeed = 45
661
	hum.JumpPower = 100
662
	
663
	local p1 = Instance.new('Part', char.UpperTorso) -- Left
664
	p1.Anchored = false
665
	p1.Name = "WingLeft"
666
	p1.CanCollide = false
667
	p1.Transparency = 1
668
	local w = Instance.new('Weld', p1)
669
	w.Part0 = p1
670
	w.Part1 = char:FindFirstChild'UpperTorso'
671
	w.C0 = CFrame.new(7, -3, 0) * CFrame.Angles(rad(0),rad(35),rad(0))
672
	local m = Instance.new('SpecialMesh', p1)
673
	m.MeshId = "http://www.roblox.com/asset/?id=92135524"
674
	m.TextureId = "http://www.roblox.com/asset/?id=101072441"
675
	m.Scale = Vector3.new(3, 3, 3)
676
	
677
	local p = Instance.new('Part', char.UpperTorso) -- Right
678
	p.Anchored = false
679
	p.CanCollide = false
680
	p.Name = "WingRight"
681
	p.Transparency = 1
682
	local w = Instance.new('Weld', p)
683
	w.Part0 = p
684
	w.Part1 = char:FindFirstChild'UpperTorso'
685
	w.C0 = CFrame.new(-7, -3, 0)
686
	local m = Instance.new('SpecialMesh', p)
687
	m.MeshId = "http://www.roblox.com/asset/?id=92135508"
688
	m.TextureId = "http://www.roblox.com/asset/?id=101072441"
689
	m.Scale = Vector3.new(3, 3, 3)
690
	
691
	s3:Play()
692
	s3.Volume = 0
693
	
694
	for i = 1,15 do
695
		wait()
696
		s3.Volume = s3.Volume + 0.1
697
	end
698
	
699
	for i = 1,8 do
700
		wait()
701
		p1.Transparency = p1.Transparency - 0.05
702
		p.Transparency = p.Transparency - 0.05
703
	end
704
end
705
706
function debris(a, b, c)
707
	for j = 1, c do
708
        local pr = Instance.new("Part")
709
        pr.Name = ""
710
        pr.Anchored = true
711
        pr.BrickColor = b.BrickColor
712
        pr.CanCollide = true
713
        pr.Material = b.Material
714
        pr.Transparency = b.Transparency
715
        pr.Size = Vector3.new(math.random(16, 24), math.random(12, 16), math.random(16, 24))
716
        pr.CFrame = a * CFrame.Angles(0, math.rad(c * j), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1)))
717
        pr.Parent = workspace
718
        game.Debris:AddItem(pr, 15)
719
    end
720
end
721
722
function hit(b)
723
	for _,v in pairs(workspace:children()) do
724
		if v:IsA('Model') and v.Name ~= plr.Name and v:FindFirstChild("HumanoidRootPart") and v:FindFirstChildOfClass("Humanoid") then
725
			if (v.HumanoidRootPart.Position-char:FindFirstChild('HumanoidRootPart').Position).magnitude <=b then
726
				v:FindFirstChildOfClass'Humanoid':TakeDamage(v:FindFirstChildOfClass'Humanoid'.MaxHealth/2)
727
			end
728
		end
729
	end
730
end
731
732
function punchh()
733
	for i = 0,1,0.2 do
734
		wait()
735
		lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(math.rad(85.142), 0, 0),i)
736
		lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(math.rad(92.876), math.rad(-13.808), math.rad(29.507)),i)
737
		neck.C0 = neck.C0:lerp(nec*CFrame.Angles(math.rad(-11.345), math.rad(-16.215), math.rad(-3.209)),i)
738
	end	
739
	wait(.05)
740
	for i = 0,1,0.1 do
741
		wait()
742
		lshold.C0 = lshold.C0:lerp(lsho,i)
743
		lshold.C0 = lshold.C0:lerp(lsho,i)
744
		neck.C0 = neck.C0:lerp(nec,i)
745
	end
746
end
747
748
function fx()
749
	local part = Instance.new("Part", workspace)
750
	part.BrickColor = color
751
	part.Transparency = 0.2
752
	part.CFrame = CFrame.new(-66, 12.0000153, 80.3000031, -1, -0, -0, -0, -0, -1, -0, -1, -0)
753
	part.Anchored = true
754
	part.CanCollide = false
755
	part.BrickColor = step.BrickColor
756
	part.Material = step.Material
757
	part.FormFactor = Enum.FormFactor.	Symmetric
758
	part.Size = Vector3.new(0.2,0.2,0.2)
759
	part.CFrame = char.HumanoidRootPart.CFrame * CFrame.Angles(math.rad(90),math.rad(180),math.rad(90))
760
	part.BottomSurface = Enum.SurfaceType.Smooth
761
	part.TopSurface = Enum.SurfaceType.Smooth
762
	local pa = part:Clone()
763
	pa.CFrame = char:FindFirstChild'HumanoidRootPart'.CFrame * CFrame.new(0,-2.5,0)
764
	pa.Parent = workspace
765
	pa.Size = size
766
	pa.Transparency = 1
767
	pa.CanCollide = false
768
	game.Debris:AddItem(pa, 20)
769
	local dec = Instance.new('Decal', pa)
770
	dec.Texture = "http://www.roblox.com/asset/?id=483309292"
771
	dec.Face = "Top"
772
	local b1 = Instance.new("SpecialMesh", part)
773
	b1.MeshId = "http://www.roblox.com/asset/?id=3270017"
774
	b1.TextureId = ""
775
	b1.MeshType = Enum.MeshType.FileMesh
776
	b1.Name = "Mesh"
777
	b1.Scale = Vector3.new(0.2, 0.2, 0.2)
778
	s1:Play()
779
	debris(char:FindFirstChild('HumanoidRootPart').CFrame,step,parts)
780
	hit(damage)
781
	for i=0,30,1 do
782
		wait()
783
		b1.Scale = b1.Scale + Vector3.new(size,size,size)
784
		part.Transparency = part.Transparency + 0.05
785
	end
786
end
787
788
function smoke(a)
789
	coroutine.resume(coroutine.create(function()
790
	s15:Play()
791
	local pe = Instance.new("ParticleEmitter", a)
792
	pe.Acceleration = Vector3.new(0, 8, 0)
793
	pe.Lifetime = NumberRange.new(1, 1.5)
794
	pe.Rate = 20000
795
	pe.RotSpeed = NumberRange.new(-30, 30)
796
	pe.Rotation = NumberRange.new(0, 360)
797
    pe.Size = NumberSequence.new({
798
       NumberSequenceKeypoint.new(0, 4.38, 0),
799
       NumberSequenceKeypoint.new(0.672, 4.14, 0),
800
       NumberSequenceKeypoint.new(1, 1.48, 0)
801
    })
802
      pe.Texture = "rbxassetid://244221440"
803
      pe.Transparency = NumberSequence.new({
804
      NumberSequenceKeypoint.new(0, 0, 0),
805
      NumberSequenceKeypoint.new(0.529, 0.3, 0),
806
      NumberSequenceKeypoint.new(1, 1, 1)
807
    })
808
    pe.ZOffset = 5
809
    pe.VelocitySpread = 360
810
	pe.Enabled = true
811
	wait(.2)
812
    pe.Enabled = false
813
	end))
814
end
815
816
function transform(a)
817
	if a == true then
818
		p1.BrickColor = BrickColor.new('Institutional white')
819
		p.Transparency = 1
820
		p2.PantsTemplate = "http://www.roblox.com/asset/?id=44382868"
821
		s.ShirtTemplate = "http://www.roblox.com/asset/?id=44382849"
822
		smoke(char.HumanoidRootPart)
823
	elseif a == false then
824
		p1.BrickColor = BrickColor.new('Rust')
825
		p.Transparency = 0
826
		p2.PantsTemplate = "rbxassetid://56461131"
827
		s.ShirtTemplate = "rbxassetid://274369116"
828
		smoke(char.HumanoidRootPart)
829
	end
830
end
831
832
function chips()
833
	for i = 0,1,0.1 do
834
		wait()
835
		lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(0, 0, math.rad(20.512)),i)
836
		neck.C0 = neck.C0:lerp(nec*CFrame.Angles(math.rad(-33.976), math.rad(44.118), math.rad(25.096)),i)
837
	end
838
	wait(1.2)
839
	local p = Instance.new('Part', lshold.Parent)
840
	chipmesh = p
841
	p.Anchored = false
842
	p.CanCollide = false
843
	p.Size = Vector3.new(0.2,0.2,0.2)
844
	local m = Instance.new('SpecialMesh', p)
845
	m.MeshId = "http://www.roblox.com/asset/?id=19106014"
846
	m.TextureId = "http://www.roblox.com/asset/?id=342436716"
847
	local w = Instance.new('Weld', p)
848
	w.Part0 = p
849
	w.Part1 = char:FindFirstChild('LeftHand')
850
	w.C0 = CFrame.new(0,1,0)
851
	s9:Play()
852
	for i = 0,1,0.1 do
853
		wait()
854
		neck.C0 = neck.C0:lerp(nec,i)
855
		rshold.C0 = rshold.C0:lerp(rsho*CFrame.Angles(math.rad(65.718), math.rad(0.802), math.rad(-33.174)),i)
856
		lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(math.rad(55.978), 0, 0),i)
857
		relbow.C0 = relbow.C0:lerp(relbo*CFrame.Angles(math.rad(7.391), math.rad(-3.266), math.rad(-23.606)),i)
858
		lelbow.C0 = lelbow.C0:lerp(lelbo*CFrame.Angles(0, 0, math.rad(56.322)),i)
859
	end
860
end
861
862
function nochips()
863
	chipmesh:FindFirstChildOfClass'Weld':Destroy()
864
	chipmesh.Anchored = false
865
	chipmesh.CanCollide = true
866
	for i = 0,1,0.1 do
867
		wait()
868
		neck.C0 = neck.C0:lerp(nec,i)
869
		rshold.C0 = rshold.C0:lerp(rsho,i)
870
		lshold.C0 = lshold.C0:lerp(lsho,i)
871
		relbow.C0 = relbow.C0:lerp(relbo,i)
872
		lelbow.C0 = lelbow.C0:lerp(lelbo,i)
873
	end
874
end
875
876
function spike()
877
	for _, a in pairs(char:children()) do
878
		if a:IsA('BasePart') and a.Name ~= "HumanoidRootPart" then
879
			a.Transparency = 1
880
		end
881
	end
882
	for _, a in pairs(char:children()) do
883
		if a:IsA('Accessory') and a.Name ~= "HumanoidRootPart" then
884
			a.Handle.Transparency = 1
885
		end
886
	end
887
	hum.WalkSpeed = 85
888
	hum.JumpPower = 85
889
	local p = Instance.new('Part', char)
890
	p.Anchored = true
891
	p.Name = "SpikeBall"
892
	p.CanCollide = false
893
	p.Size = Vector3.new(0.05,0.05,0.05)
894
	local w = Instance.new('Weld', p)
895
	w.Part0 = p
896
	w.Part1 = char:FindFirstChild'HumanoidRootPart'
897
	w.C0 = CFrame.new(0, 0, 0)
898
	local m = Instance.new('SpecialMesh', p)
899
	m.MeshId = "http://www.roblox.com/asset/?id=24388358"
900
	m.TextureId = "http://www.roblox.com/asset/?id=31538635"
901
	m.Scale = Vector3.new(17,17,17)
902
	hum.HipHeight = 6
903
end
904
905
function leg()
906
	legslam = true
907
	for i = 0,1,0.1 do
908
		wait()
909
		neck.C0 = neck.C0:lerp(nec*CFrame.Angles(rad(12), 0, 0),i)
910
		lleg.C0 = lleg.C0:lerp(lle*CFrame.new(0, 0.57, -0.725) * CFrame.Angles(math.rad(11.23), 0, 0),i)
911
	end
912
	wait(.7)
913
	for i = 0,1,0.1 do
914
		wait()
915
		neck.C0 = neck.C0:lerp(nec*CFrame.Angles(math.rad(-20), 0, 0),i)
916
		lleg.C0 = lleg.C0:lerp(lle*CFrame.new(0, -0.134, -0.71),i)
917
	end
918
	fx()
919
	for i = 0,1,0.1 do
920
		wait()
921
		neck.C0 = neck.C0:lerp(nec,i)
922
		lleg.C0 = lleg.C0:lerp(lle,i)
923
	end
924
	legslam = false
925
end
926
927
--// Touched functions
928
929
char:FindFirstChild('LeftFoot').Touched:connect(function(hit)
930
	if hit:IsA('Part') and hit.Parent.Name ~= plr.Name then
931
		step = hit
932
	end
933
end)
934
935
char:FindFirstChild('LeftHand').Touched:connect(function(hit)
936
	if hit.Parent and punch and hit.Parent:FindFirstChildOfClass'Humanoid' then
937
		local targ = hit.Parent
938
		punch = false
939
		s2:Play()
940
		targ:FindFirstChildOfClass'Humanoid':TakeDamage(targ:FindFirstChildOfClass'Humanoid'.MaxHealth/2)
941
	end
942
end)
943
944
--// Buttons
945
946
mouse.KeyDown:connect(function(k)
947
	if sat == false and k == "q" and cooldown then
948
		legslam = true
949
		cooldown = false
950
		leg()
951
		cooldown = true
952
		legslam = false
953
	end
954
	if sat == false and k == "z" and cooldown then
955
		cooldown = false
956
		signs = true
957
		hands2()
958
		signs = false
959
		cooldown = true
960
	end
961
	if sat == false and k == "g" and cooldown then
962
		cooldown = false
963
		signs = true
964
		hands()
965
		signs = false
966
		cooldown = true
967
	end
968
	if sat == false and k == "e" and chip == false and cooldown then
969
		cooldown = false
970
		punch = true
971
		punchh()
972
		cooldown = true
973
		punch = false
974
	end
975
	if sat == false and k == "v" and chip == false and cooldown then
976
		if asdasd == false then
977
			cooldown = false
978
			asdasd = true
979
			isc()
980
			cooldown = true
981
		elseif asdasd == true and cooldown and chip == false and sat == false then
982
			asdasd = false
983
			cooldown = false
984
			unisc()
985
			cooldown = true
986
		end
987
	end
988
	if k == "f" and float == false and cooldown then
989
		if chip == false then
990
			chip = true
991
			cooldown = false
992
			chips()
993
			cooldown = true
994
		elseif chip and cooldown then
995
			cooldown = false
996
			nochips()
997
			chip = false
998
			cooldown = true
999
		end
1000
	end
1001
	if sat == false and k == "r" and chip == false and cooldown then
1002
		if butf == false then
1003
			wings = true
1004
			cooldown = false
1005
			butf = true
1006
			eat()
1007
			wait(.5)
1008
			wing()
1009
			float = true
1010
			wings = false
1011
			cooldown = true
1012
		elseif butf == true and cooldown then
1013
			cooldown = false
1014
			butf = false
1015
			unwing()
1016
			float = false
1017
			cooldown = true
1018
		end
1019
	end
1020
	if k == "c" and chip == false and cooldown then
1021
		if sat == false then
1022
			cooldown = false
1023
			sat = true
1024
			sit()
1025
			cooldown = true
1026
		elseif sat == true and cooldown then
1027
			sat = false
1028
			cooldown = false
1029
			stand()
1030
			cooldown = true
1031
		end
1032
	end
1033
end)
1034
1035
--// Left click
1036
1037
mouse.Button1Down:connect(function()
1038
	if chip and cooldown then
1039
		cooldown=false
1040
		hum.WalkSpeed = 0
1041
		chipmesh:FindFirstChildOfClass'Weld':Destroy()
1042
		chipmesh.Anchored = true
1043
		chipmesh.CFrame = char:FindFirstChild'LeftHand'.CFrame * CFrame.new(0,-1,0)
1044
		local p = Instance.new('Part', lshold.Parent)
1045
		p.Anchored = false
1046
		p.CanCollide = false
1047
		p.BrickColor = BrickColor.new('Cool yellow')
1048
		p.Size = Vector3.new(0.2,0.2,0.2)
1049
		local m = Instance.new('SpecialMesh', p)
1050
		m.MeshId = "http://www.roblox.com/asset/?id=20939848"
1051
		m.TextureId = ""
1052
		m.Scale = Vector3.new(0.2, 0.2, 0.2)
1053
		local w = Instance.new('Weld', p)
1054
		w.Part0 = p
1055
		w.Part1 = char:FindFirstChild('LeftHand')
1056
		w.C0 = CFrame.new(0,.5,0)
1057
		for i = 0,1,0.1 do
1058
			wait()
1059
			lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(math.rad(95.627), math.rad(19.481), math.rad(52.426)),i)
1060
		end
1061
		wait(.005)
1062
		s4:Play()
1063
		p:Destroy()
1064
		for i = 0,1,0.1 do
1065
			wait()
1066
			lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(math.rad(55.978), 0, 0),i)
1067
		end
1068
		local w = Instance.new('Weld', chipmesh)
1069
		w.Part0 = chipmesh
1070
		w.Part1 = char:FindFirstChild('LeftHand')
1071
		w.C0 = CFrame.new(0,1,0)
1072
		chipmesh.Anchored = false
1073
		if sat == false then
1074
			hum.WalkSpeed = 16
1075
		elseif sat == true then
1076
			hum.WalkSpeed = 0
1077
		end
1078
		cooldown = true
1079
	end
1080
end)
1081
1082
--// Anti Laser
1083
1084
for _, a in pairs(game:service'Players':players()) do
1085
	a.Backpack.ChildAdded:connect(function(p)
1086
		if p:IsA('Tool') and p:FindFirstChildOfClass'Part' and p:FindFirstChildOfClass'LocalScript' then
1087
			p:Destroy()
1088
		end
1089
	end)
1090
end
1091
1092
--// Loops
1093
1094
a = 0
1095
b = 0
1096
c = 30
1097
d = -30
1098
1099
game:GetService('RunService').RenderStepped:connect(function()
1100
	b = b + 8
1101
	hum.PlatformStand = false
1102
	if char.UpperTorso:FindFirstChild('WingLeft') then
1103
		char.UpperTorso.WingLeft.Weld.C0 = CFrame.new(8, -3, 0) * CFrame.Angles(rad(0),rad(a),rad(0))
1104
		char.UpperTorso.WingRight.Weld.C0 = CFrame.new(-8, -3, 0) * CFrame.Angles(rad(0),rad(-a),rad(0))
1105
	end
1106
	if char:FindFirstChild('SpikeBall') then
1107
		char.SpikeBall.CFrame = char.HumanoidRootPart.CFrame
1108
		char.SpikeBall.Rotation = Vector3.new(b,b,b)
1109
	end
1110
	if spikek then
1111
		hit(10)
1112
		local part = Instance.new('Part', workspace)
1113
		part.Name = "ground"
1114
		part.BrickColor = step.BrickColor
1115
		part.Material = step.Material
1116
		part.Anchored = true
1117
		part.Size = Vector3.new(7.31, 1, 13.74)
1118
		part.CanCollide = false
1119
		part.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,-6.7,0)
1120
		game.Debris:AddItem(part,0.5)
1121
	end
1122
end)
1123
1124
game:GetService('RunService').RenderStepped:connect(function()
1125
	sine = change+sine
1126
	ang = ang+0.08
1127
	ang2 = ang2+0.01
1128
	rad = math.rad
1129
	sin = math.sin
1130
	arm = arm + 0.06
1131
	
1132
	if sat == false and signs == false and chip == false and jumping == false and float == true and Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude > 2 then
1133
		lleg.C0 = lleg.C0:lerp(lle * CFrame.Angles(-1, 0, 0), 0.1)
1134
		rleg.C0 = rleg.C0:lerp(rle * CFrame.Angles(-1, 0, 0), 0.1)
1135
		lshold.C0 = lshold.C0:lerp(CFrame.new(0,0,0) * lsho * CFrame.Angles(0, 0, math.rad(-13.579)), 0.1)
1136
		rshold.C0 = rshold.C0:lerp(CFrame.new(0,0,0) * rsho * CFrame.Angles(0, 0, math.rad(15.355)), 0.1)
1137
	end
1138
	
1139
	if sat == false and jumping == false and float == false and punch == false and legslam == false and Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude > 2 then
1140
		lleg.C0 = lleg.C0:lerp(CFrame.new(-0.53,-0.15+0.1*-math.cos(tick()*4),0.2*math.sin(tick()*4))*CFrame.Angles(math.rad(25*-math.sin(tick()*8)),   rad(-1), rad(0)), 1.5) * CFrame.Angles(-0.1, 0, 0)
1141
		rleg.C0 = rleg.C0:lerp(CFrame.new(0.53,-0.15+0.1*math.cos(tick()*4),0.2*-math.sin(tick()*4))*CFrame.Angles(math.rad(25*math.sin(tick()*8)), rad(10), rad(0)), 1.5) * CFrame.Angles(-0.1, 0, 0)
1142
		
1143
		lleg.C0 = lleg.C0:lerp(lle * CFrame.Angles(-0.4, 0, 0), 0.1)
1144
		rleg.C0 = rleg.C0:lerp(rle * CFrame.Angles(0.4, 0, 0), 0.1)
1145
	
1146
	elseif sat == false and jumping == false and float == false and legslam == false and Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude < 2 then
1147
		lleg.C0 = lleg.C0:lerp(lle,0.1)
1148
		rleg.C0 = rleg.C0:lerp(rle,0.1)
1149
	end
1150
	
1151
	if sat == false and signs == false and chip == false and jumping == false and float == false and punch == false and legslam == false and Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude > 2 then
1152
		lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(math.rad(-25*-math.sin(tick()*8)),   rad(-1), rad(0)), 1.5) * CFrame.Angles(0.1, 0, 0)
1153
		rshold.C0 = rshold.C0:lerp(rsho*CFrame.Angles(math.rad(25*-math.sin(tick()*8)),   rad(-1), rad(0)), 1.5) * CFrame.Angles(0.1, 0, 0)
1154
		
1155
		lshold.C0 = lshold.C0:lerp(CFrame.new(0,0,0) * lsho * CFrame.Angles(0, 0, math.rad(-13.579)), 0.1)
1156
		rshold.C0 = rshold.C0:lerp(CFrame.new(0,0,0) * rsho * CFrame.Angles(0, 0, math.rad(15.355)), 0.1)
1157
	end
1158
	
1159
	if sat == false and signs == false and chip == false and legslam == false and wings == false and punch == false and Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude < 2 then
1160
		lshold.C0 = lshold.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * lsho * CFrame.Angles(-0.1, 0, 0), 0.1)
1161
		rshold.C0 = rshold.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * rsho * CFrame.Angles(-0.1, 0, 0), 0.1)
1162
		neck.C0 = neck.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * nec * CFrame.Angles(-0.1, 0, 0), 0.1)
1163
		lleg.C0 = lleg.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * lle * CFrame.Angles(-0.1, 0, 0), 0.1)
1164
		rleg.C0 = rleg.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * rle * CFrame.Angles(-0.1, 0, 0), 0.1)
1165
		waist.C0 = waist.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * wais * CFrame.Angles(-0.1, 0, 0), 0.1)
1166
	end
1167
	
1168
	if hum:GetState() == Enum.HumanoidStateType.Jumping then
1169
		lshold.C0 = lshold.C0:lerp(CFrame.new(0,0,0) * lsho * CFrame.Angles(0, 0, math.rad(-13.579)), 0.1)
1170
		rshold.C0 = rshold.C0:lerp(CFrame.new(0,0,0) * rsho * CFrame.Angles(0, 0, math.rad(15.355)), 0.1)
1171
	end
1172
end)
1173
1174
game:GetService('RunService').RenderStepped:connect(function()
1175
	if step.Material == Enum.Material.Grass then
1176
		if Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude > 2 then
1177
			s5:Resume()
1178
		else
1179
			s5:Stop()
1180
		end
1181
	end
1182
end)
1183
1184
game:GetService('RunService').RenderStepped:connect(function()
1185
	if step.Material == Enum.Material.Wood or step.Material == Enum.Material.WoodPlanks or step.Material == Enum.Material.Neon or step.Material == Enum.Material.Plastic or step.Material == Enum.Material.SmoothPlastic then
1186
		if Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude > 2 then
1187
			s6:Resume()
1188
		else
1189
			s6:Stop()
1190
		end
1191
	end
1192
end)
1193
1194
game:GetService('RunService').RenderStepped:connect(function()
1195
	if step.Material == Enum.Material.Sand then
1196
		if Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude > 2 then
1197
			s7:Resume()
1198
		else
1199
			s7:Stop()
1200
		end
1201
	end
1202
end)
1203
1204
game:GetService('RunService').RenderStepped:connect(function()
1205
	if step.Material == Enum.Material.Ice then
1206
		if Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude > 2 then
1207
			s8:Resume()
1208
		else
1209
			s8:Stop()
1210
		end
1211
	end
1212
end)
1213
1214
game:GetService('RunService').RenderStepped:connect(function()
1215
	if step.Material == Enum.Material.Metal or step.Material == Enum.Material.DiamondPlate then
1216
		if Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude > 2 then
1217
			s12:Resume()
1218
		else
1219
			s12:Stop()
1220
		end
1221
	end
1222
end)
1223
1224
game:GetService('RunService').RenderStepped:connect(function()
1225
	if step.Material == Enum.Material.Granite or step.Material == Enum.Material.Brick or step.Material == Enum.Material.CorrodedMetal or step.Material == Enum.Material.Concrete or step.Material == Enum.Material.Pebble or step.Material == Enum.Material.Marble or step.Material == Enum.Material.Cobblestone then
1226
		if Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude > 2 then
1227
			s13:Resume()
1228
		else
1229
			s13:Stop()
1230
		end
1231
	end
1232
end)
1233
1234
game:GetService('RunService').RenderStepped:connect(function()
1235
	if step.Material == Enum.Material.Fabric then
1236
		if Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude > 2 then
1237
			s14:Resume()
1238
		else
1239
			s14:Stop()
1240
		end
1241
	end
1242
end)
1243
1244
game:GetService('RunService').RenderStepped:connect(function()
1245
	if Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude < 2 then
1246
		s8:Stop()
1247
		s7:Stop()
1248
		s6:Stop()
1249
		s5:Stop()
1250
		s12:Stop()
1251
		s13:Stop()
1252
	end
1253
end)
1254
1255
while wait() do
1256
	s1.Volume = vol1
1257
	s2.Volume = vol2
1258
	for i = 1,12 do
1259
		wait()
1260
		a = a + 2
1261
	end
1262
	for i = 1,12 do
1263
		wait()
1264
		a = a - 2
1265
	end
1266
end