View difference between Paste ID: 5mXC5jqt and yx7jA892
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
local plr = game:GetService("Players").LocalPlayer
145
local plrg = plr.PlayerGui
146
local mouse = plr:GetMouse()
147
local char = plr.Character
148
local h = char.Head
149
local t = char.Torso
150
local ra = char["Right Arm"]
151
local la = char["Left Arm"]
152
local rl = char["Right Leg"]
153
local ll = char["Left Leg"]
154
local rs = t["Right Shoulder"]
155
local ls = t["Left Shoulder"]
156
local rh = t["Right Hip"]
157
local lh = t["Left Hip"]
158
local nec = t.Neck
159
local rad = math.rad
160
local anim = "idle"
161
local using = true
162
local supermode = false
163
local canattacc = false
164
local songs = {"rbxassetid://2777777522","rbxassetid://1764961429"}
165
local rut = char.HumanoidRootPart
166
local rutj = rut.RootJoint
167
local hum = char:FindFirstChildOfClass("Humanoid")
168
hum.WalkSpeed = 0 hum.JumpPower = 0
169
local ff = Instance.new("ForceField",char) ff.Visible = false
170
local debrs = game:GetService("Debris")
171
local mus local crack local expls
172
local cursong = 1
173
expls = Instance.new("Sound",workspace) expls.Name = "Explso" expls.Volume = 5 expls.SoundId = "rbxassetid://1556400587"
174
local hitbox = Instance.new("Part",ra) hitbox.Size = Vector3.new(1,1,1) hitbox.CanCollide = false hitbox.Transparency = 1
175
local hitboxw = Instance.new("Weld",hitbox) hitboxw.Part0 = ra hitboxw.Part1 = hitbox hitboxw.C0 = CFrame.new(0,-.7,0)
176
177
Player = owner
178
    Character = Player.Character
179
    local txt = Instance.new("BillboardGui", Character)
180
    txt.Adornee = Character.Head
181
    txt.Name = "_status"
182
    txt.Size = UDim2.new(2, 0, 1.2, 0)
183
    txt.StudsOffset = Vector3.new(-9, 8, 0)
184
    local text = Instance.new("TextLabel", txt)
185
    text.Size = UDim2.new(10, 0, 7, 0)
186
    text.FontSize = "Size24"
187
    text.TextScaled = true
188
    text.TextTransparency = 0
189
    text.BackgroundTransparency = 1
190
    text.TextTransparency = 0
191
    text.TextStrokeTransparency = 0
192
193
wait(1.5)
194
195
    text.Font = "Antique"
196
    text.TextStrokeColor3 = Color3.new(255,0,0)
197
        text.Text = "Error"
198
199
 
200
wait(0.2)
201
202
    text.Font = "Antique"
203
    text.TextStrokeColor3 = Color3.new(255,0,0)
204
        text.Text = "eRror"
205
206
wait(0.2)
207
208
    text.Font = "Antique"
209
    text.TextStrokeColor3 = Color3.new(255,0,0)
210
        text.Text = "erRor"
211
212
wait(0.2)
213
214
    text.Font = "Antique"
215
    text.TextStrokeColor3 = Color3.new(255,0,0)
216
        text.Text = "errOr"
217
218
wait(0.2)
219
220
    text.Font = "Antique"
221
    text.TextStrokeColor3 = Color3.new(255,0,0)
222
        text.Text = "erroR"
223
224
wait(0.2)
225
226
    text.Font = "Antique"
227
    text.TextStrokeColor3 = Color3.new(255,0,0)
228-
        text.Text = "ErROR.eXE"
228+
        text.Text = "eRroR"
229
230
wait(0.2)
231
232
    text.Font = "Antique"
233
    text.TextStrokeColor3 = Color3.new(255,0,0)
234
        text.Text = "Error"
235
 
236
wait(0.2)
237
238
    text.Font = "Antique"
239
    text.TextStrokeColor3 = Color3.new(255,0,0)
240
        text.Text = "eRror"
241
242
wait(0.2)
243
244
    text.Font = "Antique"
245
    text.TextStrokeColor3 = Color3.new(255,0,0)
246
        text.Text = "erRor"
247
248
wait(0.2)
249
250
    text.Font = "Antique"
251
    text.TextStrokeColor3 = Color3.new(255,0,0)
252
        text.Text = "errOr"
253
254
wait(0.2)
255
256
    text.Font = "Antique"
257
    text.TextStrokeColor3 = Color3.new(255,0,0)
258
        text.Text = "erroR"
259
260
wait(0.2)
261
262
    text.Font = "Antique"
263
    text.TextStrokeColor3 = Color3.new(255,0,0)
264
        text.Text = "eRroR"
265
266
Player = game:GetService("Players").LocalPlayer
267
PlayerGui = Player.PlayerGui
268
Cam = workspace.CurrentCamera
269
Backpack = Player.Backpack
270
Character = Player.Character
271
Humanoid = Character.Humanoid
272
Mouse = Player:GetMouse()
273
RootPart = Character["HumanoidRootPart"]
274
Torso = Character["Torso"]
275
Head = Character["Head"]
276
RightArm = Character["Right Arm"]
277
LeftArm = Character["Left Arm"]
278
RightLeg = Character["Right Leg"]
279
LeftLeg = Character["Left Leg"]
280
RootJoint = RootPart["RootJoint"]
281
Neck = Torso["Neck"]
282
RightShoulder = Torso["Right Shoulder"]
283
LeftShoulder = Torso["Left Shoulder"]
284
RightHip = Torso["Right Hip"]
285
LeftHip = Torso["Left Hip"]
286
local sick = Instance.new("Sound",Torso)
287
sick.SoundId = "rbxassetid://442615595"
288
sick.Looped = true
289
sick.Pitch = 1
290
sick.Volume = 10
291
sick:Play()
292
293
294
ArtificialHB = Instance.new("BindableEvent", script)
295
ArtificialHB.Name = "Heartbeat"
296
script:WaitForChild("Heartbeat")
297
frame = 1 / 60
298
tf = 0
299
allowframeloss = false
300
tossremainder = false
301
lastframe = tick()
302
script.Heartbeat:Fire()
303
game:GetService("RunService").Heartbeat:connect(function(s, p)
304
    tf = tf + s
305
    if tf >= frame then
306
        if allowframeloss then
307
            script.Heartbeat:Fire()
308
            lastframe = tick()
309
        else
310
            for i = 1, math.floor(tf / frame) do
311
                script.Heartbeat:Fire()
312
            end
313
            lastframe = tick()
314
        end
315
        if tossremainder then
316
            tf = 0
317
        else
318
            tf = tf - frame * math.floor(tf / frame)
319
        end
320
    end
321
end)
322
function swait(num)
323
    if num == 0 or num == nil then
324
        ArtificialHB.Event:wait()
325
    else
326
        for i = 0, num do
327
            ArtificialHB.Event:wait()
328
        end
329
    end
330
end
331
function sound(parent,id,vol,pit)
332
    local sound = Instance.new("Sound",parent)
333
    sound.Volume = vol
334
    sound.SoundId = "rbxassetid://"..id
335
    sound.Pitch = pit
336
    sound:Play()
337
    coroutine.resume(coroutine.create(function()
338
   
339
    repeat
340
        swait()
341
    until sound.Playing == false
342
    sound:Destroy()
343
    end))
344
    end
345
function dest(hit,type)
346
	local size = 50
347
	if type == "big" then
348
		size = 300
349
	end
350
	if hit.Name ~= "Destructed" and hit.Name ~= "ExplEff" and hit.Parent ~= char and hit.Parent.Parent ~= char then
351
	if hit.Size.x <size and hit.Size.y <size and hit.Size.z <size then
352
		if hit:IsA("Seat") or hit:IsA("VehicleSeat") then
353
			hit.Parent = nil
354
		end
355
		hit:ClearAllChildren()
356
		hit.Anchored = false hit.CanCollide = true hit.Parent = workspace
357
		hit.Name = "Destructed"
358
		if hit:IsA("Part") then
359
			hit.FormFactor = "Custom"
360
		end
361
		hit.Size = Vector3.new(hit.Size.x/2,hit.Size.y/2,hit.Size.z/2)
362
		hit.CFrame = hit.CFrame * CFrame.new(hit.Size.x/2,hit.Size.y/2,hit.Size.z/2)
363
		local clone = hit:Clone() clone.Parent = workspace
364
		local clone1 = hit:Clone() clone1.Parent = workspace
365
		local clone2 = hit:Clone() clone2.Parent = workspace
366
		local clone3 = hit:Clone() clone3.Parent = workspace
367
		local clone4 = hit:Clone() clone4.Parent = workspace
368
		local clone5 = hit:Clone() clone5.Parent = workspace
369
		local clone6 = hit:Clone() clone6.Parent = workspace
370
		clone.CFrame = hit.CFrame * CFrame.new(0,-hit.Size.y,0)
371
		clone1.CFrame = hit.CFrame * CFrame.new(-hit.Size.x,-hit.Size.y,0)
372
		clone2.CFrame = hit.CFrame * CFrame.new(-hit.Size.x,0,0)
373
		clone3.CFrame = hit.CFrame * CFrame.new(0,0,-hit.Size.z)
374
		clone4.CFrame = clone.CFrame * CFrame.new(0,0,-clone.Size.z)
375
		clone5.CFrame = clone1.CFrame * CFrame.new(0,0,-clone1.Size.z)
376
		clone6.CFrame = clone2.CFrame * CFrame.new(0,0,-clone2.Size.z)
377
		local parts = {hit,clone,clone1,clone2,clone3,clone4,clone5,clone6}
378
		local partsd = 1
379
		for i = 1,#parts do
380
		debrs:AddItem(parts[partsd],math.random(6,17))
381
		partsd = partsd +1
382
		end
383
	end
384
	end
385
end
386
hitbox.Touched:connect(function(hit)
387
	if hit.Size.x <150 and hit.Size.y <150 and hit.Size.z <150 and canattacc then
388
		if hit.Parent ~= char or hit.Parent.Parent ~= char then
389
		if hit:IsA("Seat") or hit:IsA("VehicleSeat") then
390
			hit.Parent = nil
391
		end
392
		crack:Play()
393
		canattacc = false
394
		hit:ClearAllChildren()
395
		hit.Anchored = false hit.CanCollide = true hit.Parent = workspace
396
		hit.Name = "Destructed"
397
		hit:BreakJoints()
398
		hit.Size = Vector3.new(hit.Size.x/2,hit.Size.y/2,hit.Size.z/2)
399
		hit.CFrame = hit.CFrame * CFrame.new(hit.Size.x/2,hit.Size.y/2,hit.Size.z/2)
400
		local clone = hit:Clone() clone.Parent = workspace
401
		local clone1 = hit:Clone() clone1.Parent = workspace
402
		local clone2 = hit:Clone() clone2.Parent = workspace
403
		local clone3 = hit:Clone() clone3.Parent = workspace
404
		local clone4 = hit:Clone() clone4.Parent = workspace
405
		local clone5 = hit:Clone() clone5.Parent = workspace
406
		local clone6 = hit:Clone() clone6.Parent = workspace
407
		clone.CFrame = hit.CFrame * CFrame.new(0,-hit.Size.y,0)
408
		clone1.CFrame = hit.CFrame * CFrame.new(-hit.Size.x,-hit.Size.y,0)
409
		clone2.CFrame = hit.CFrame * CFrame.new(-hit.Size.x,0,0)
410
		clone3.CFrame = hit.CFrame * CFrame.new(0,0,-hit.Size.z)
411
		clone4.CFrame = clone.CFrame * CFrame.new(0,0,-clone.Size.z)
412
		clone5.CFrame = clone1.CFrame * CFrame.new(0,0,-clone1.Size.z)
413
		clone6.CFrame = clone2.CFrame * CFrame.new(0,0,-clone2.Size.z)
414
		local parts = {hit,clone,clone1,clone2,clone3,clone4,clone5,clone6}
415
		local partsd = 1
416
		for i = 1,#parts do
417
		debrs:AddItem(parts[partsd],math.random(6,17))
418
		partsd = partsd +1
419
		end
420
		end
421
	end
422
end)
423
424
function intro()
425
	local ani = char:WaitForChild("Animate")
426
	local anima = hum:WaitForChild("Animator")
427
	if ani ~= nil then
428
	ani:Destroy()
429
	end
430
	if anima ~= nil then
431
	anima:Destroy()
432
	end
433
	for i = 0,.4,.02 do
434
		nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(50),rad(180),rad(0)),i)
435
		rutj.C0 = rutj.C0:lerp(CFrame.new(0,-2,0) * CFrame.Angles(rad(-160),rad(0),rad(180)),i)
436
		rs.C0 = rs.C0:lerp(CFrame.new(1,.4,0) * CFrame.Angles(rad(70),rad(90),rad(0)),i)
437
          ls.C0 = ls.C0:lerp(CFrame.new(-1,.4,0) * CFrame.Angles(rad(70),rad(-90),rad(0)),i)
438
		rh.C0 = rh.C0:lerp(CFrame.new(1,-.2,-.7) * CFrame.Angles(rad(-20),rad(80),rad(0)),i)
439
		lh.C0 = lh.C0:lerp(CFrame.new(-1,-.3,-.6) * CFrame.Angles(rad(-20),rad(-80),rad(0)),i)
440
		swait()
441
	end
442
	for i = 1,50 do
443
		nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(50),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),1)
444
		wait()
445
	end
446
	char["Body Colors"]:Destroy()
447
	h.BrickColor = BrickColor.new("Really black")
448
	t.BrickColor = BrickColor.new("Really black")
449
	ra.BrickColor = BrickColor.new("Really black")
450
	la.BrickColor = BrickColor.new("Really black")
451
	rl.BrickColor = BrickColor.new("Really black")
452
	ll.BrickColor = BrickColor.new("Really black")
453
	local eff = Instance.new("Part",workspace) eff.Size = Vector3.new(1,1,1) eff.Name = "ExplEff1" eff.CanCollide = false eff.Anchored = true eff.BrickColor = BrickColor.new("Deep orange") eff.CFrame = rut.CFrame eff.Material = "Neon"
454
	expls:Play()
455
	local cf = rut.CFrame
456
	coroutine.resume(coroutine.create(function()
457
	for i = 0,.6,.016 do
458
		eff.CFrame = eff.CFrame:lerp(cf,i)
459
		eff.CFrame = eff.CFrame * CFrame.Angles(rad(math.random(-180,180)),rad(math.random(-180,180)),rad(math.random(-180,180)))
460
		eff.Size = eff.Size:lerp(Vector3.new(25,25,25),i)
461
		eff.Color = eff.Color:lerp(Color3.new(160,0,0),i)
462
		eff.Transparency = eff.Transparency +.027
463
		if eff.Transparency > .99 then
464
			eff:Destroy()
465
		end
466
		swait()
467
	end
468
	end))
469
	using = false
470
end
471
intro()
472
function explos(pos)
473
	local eff = Instance.new("Part",workspace) eff.Size = Vector3.new(1,1,1) eff.Name = "ExplEff1" eff.CanCollide = true eff.BrickColor = BrickColor.new("Deep orange") eff.CFrame = pos.CFrame eff.Material = "Neon"
474
		local eff2 = Instance.new("Part",eff) eff2.Name = "ExplEff" eff2.Size = Vector3.new(25,70,25) eff2.CanCollide = false eff2.Anchored = true eff2.Material = "Neon" eff2.BrickColor = eff.BrickColor
475
		local eff2m = Instance.new("SpecialMesh",eff2) eff2m.MeshType = Enum.MeshType.Sphere eff2.CFrame = eff.CFrame
476
		local cf = pos.CFrame
477
		expls:Play()
478
		eff.Touched:connect(function(hit)
479
			dest(hit)
480
		end)
481
		coroutine.resume(coroutine.create(function()
482
		for i = 0,.6,.016 do
483
			eff.CFrame = eff.CFrame:lerp(cf,i)
484
			eff.CFrame = eff.CFrame * CFrame.Angles(rad(math.random(-180,180)),rad(math.random(-180,180)),rad(math.random(-180,180)))
485
			eff.Size = eff.Size:lerp(Vector3.new(25,25,25),i)
486
			eff.Color = eff.Color:lerp(Color3.new(160,0,0),i)
487
			eff2.Color = eff2.Color:lerp(Color3.new(160,0,0),i)
488
			eff.Transparency = eff.Transparency +.027
489
			eff2.Transparency = eff2.Transparency +.027
490
			eff2.Size = eff2.Size:lerp(Vector3.new(4,125,4),i)
491
			eff2.CFrame = CFrame.new(eff.CFrame.p,eff2.CFrame.p * Vector3.new(eff2.CFrame.p.x,eff2.CFrame.p.y,eff2.CFrame.p.z))
492
			if eff.Transparency > .99 then
493
				eff:Destroy()
494
				eff2:Destroy()
495
			elseif eff.Transparency >.3 and eff.Transparency <.34 then
496
				local boom = Instance.new("Explosion",workspace) boom.BlastRadius = 20 boom.Position = eff.Position boom.BlastPressure = 100000 boom.Visible = false
497
			end
498
			swait()
499
		end
500
	end))
501
end
502
function bigexplos(pos)
503
	local eff = Instance.new("Part",workspace) eff.Size = Vector3.new(1,1,1) eff.Name = "ExplEff1" eff.CanCollide = false eff.BrickColor = BrickColor.new("Deep orange") eff.CFrame = pos.CFrame eff.Material = "Neon"
504
		local cf = pos.CFrame
505
		expls:Play()
506
		eff.Touched:connect(function(hit)
507
			if hit.Anchored == true then
508
			dest(hit)
509
			else
510
				dest(hit,"big")
511
			end
512
		end)
513
		coroutine.resume(coroutine.create(function()
514
		for i = 0,.6,.016 do
515
			eff.CFrame = eff.CFrame:lerp(cf,i)
516
			eff.CFrame = eff.CFrame * CFrame.Angles(rad(math.random(-180,180)),rad(math.random(-180,180)),rad(math.random(-180,180)))
517
			eff.Size = eff.Size:lerp(Vector3.new(600,600,600),i)
518
			eff.Color = eff.Color:lerp(Color3.new(160,0,0),i)
519
			eff.Transparency = eff.Transparency +.027
520
			if eff.Transparency > .99 then
521
				eff:Destroy()
522
			elseif eff.Transparency >.3 and eff.Transparency <.34 then
523
				local boom = Instance.new("Explosion",workspace) boom.BlastRadius = 20 boom.Position = eff.Position boom.BlastPressure = 100000 boom.Visible = false
524
			end
525
			swait()
526
		end
527
	end))
528
end
529
function gren(from,to)
530
	local rocc = Instance.new("Part",workspace) rocc.Name = "Rock" rocc.Size = Vector3.new(.3,1.4,.3)
531
    rocc.CFrame = from
532
    local rmesh = Instance.new("SpecialMesh",rocc) rmesh.MeshType = "FileMesh" rmesh.MeshId = "rbxassetid://431532852" rmesh.TextureId = "rbxassetid://431532899" rmesh.Scale = Vector3.new(.005,.005,.005)
533
   local cfm = CFrame.new(rocc.CFrame.p,to.p)
534
	local vel = Instance.new("BodyVelocity",rocc) vel.Velocity = cfm.lookVector * 100
535
	coroutine.resume(coroutine.create(function()
536
		wait(2.91)
537
		explos(rocc)
538
		end))
539
	debrs:AddItem(vel,.1)
540
	debrs:AddItem(rocc,2.9)
541
end
542
function throwgrenade()
543
	using = true
544
		for i = 0,.4,.02 do
545
			nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(80),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i)
546
			rutj.C0 = rutj.C0:lerp(CFrame.new(0,-.1,0) * CFrame.Angles(rad(-70),rad(0),rad(180)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
547
			rs.C0 = rs.C0:lerp(CFrame.new(1,.3,0) * CFrame.Angles(rad(20),rad(90),rad(180)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
548
               ls.C0 = ls.C0:lerp(CFrame.new(-1,.3,0) * CFrame.Angles(rad(20),rad(-90),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
549
			rh.C0 = rh.C0:lerp(CFrame.new(1,-1,-.3) * CFrame.Angles(rad(-25),rad(100),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
550
			lh.C0 = lh.C0:lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(-20),rad(-80),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
551
			swait()
552
		end
553
		gren(ra.CFrame * CFrame.new(0,-1.4,0),mouse.Hit)
554
		for i = 0,.4,.04 do
555
			nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(50),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i)
556
			rutj.C0 = rutj.C0:lerp(CFrame.new(0,-.1,0) * CFrame.Angles(rad(-110),rad(0),rad(180)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
557
			rs.C0 = rs.C0:lerp(CFrame.new(1,.3,0) * CFrame.Angles(rad(20),rad(90),rad(70)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
558
               ls.C0 = ls.C0:lerp(CFrame.new(-1,.3,0) * CFrame.Angles(rad(20),rad(-90),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
559
			rh.C0 = rh.C0:lerp(CFrame.new(1,-1,-.3) * CFrame.Angles(rad(25),rad(100),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
560
			lh.C0 = lh.C0:lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(20),rad(-80),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
561
			swait()
562
		end
563
		using = false
564
end
565
local speed1 = .03
566
local speed2 = .05
567
function swng()
568
	if supermode == true then
569
	speed1 = .05
570
	speed2 = .08
571
	else
572
	speed1 = .03
573
	speed2 = .05
574
	end
575
	using = true
576
	for i = 0,.4,speed1 do
577
		nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(80),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i)
578
		rutj.C0 = rutj.C0:lerp(CFrame.new(0,-.1,0) * CFrame.Angles(rad(-110),rad(0),rad(150)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
579
		rs.C0 = rs.C0:lerp(CFrame.new(1,.3,0) * CFrame.Angles(rad(0),rad(90),rad(110)) * CFrame.Angles(rad(-60),rad(0),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
580
		swait()
581
	end
582
	canattacc = true
583
	for i = 0,.4,speed2 do
584
		nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(80),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i)
585
		rutj.C0 = rutj.C0:lerp(CFrame.new(0,-.1,0) * CFrame.Angles(rad(-110),rad(0),rad(230)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
586
		rs.C0 = rs.C0:lerp(CFrame.new(1,.3,0) * CFrame.Angles(rad(0),rad(90),rad(110)) * CFrame.Angles(rad(20),rad(0),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
587
		swait()
588
	end
589
	for i = 0,.4,speed2 do
590
		nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(50),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i)
591
			rutj.C0 = rutj.C0:lerp(CFrame.new(0,-.1,0) * CFrame.Angles(rad(-110),rad(0),rad(180)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
592
			rs.C0 = rs.C0:lerp(CFrame.new(1,.3,0) * CFrame.Angles(rad(20),rad(90),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
593
		swait()
594
	end
595
	canattacc = false
596
	using = false
597
end
598
function selfd()
599
	using = true
600
	for i = 1,50 do
601
		i = .9
602
		nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(50),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i*2)
603
		rutj.C0 = rutj.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-110),rad(0),rad(180)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i*2)
604
		rs.C0 = rs.C0:lerp(CFrame.new(1,.3,0) * CFrame.Angles(rad(0),rad(90),rad(179)) * CFrame.Angles(rad(50),rad(0),rad(20)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i*2)
605
		ls.C0 = ls.C0:lerp(CFrame.new(-1,.3,0) * CFrame.Angles(rad(0),rad(-90),rad(-179)) * CFrame.Angles(rad(50),rad(0),rad(-20)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i*2)
606
		rh.C0 = rh.C0:lerp(CFrame.new(1,-.3,-.7) * CFrame.Angles(rad(20),rad(100),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i*2)
607
		lh.C0 = lh.C0:lerp(CFrame.new(-1,-.5,-.6) * CFrame.Angles(rad(-50),rad(-50),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i*2)
608
		swait()
609
	end
610
	t.Anchored = true
611
	bigexplos(rut)
612
	wait(1)
613
	t.Anchored = false
614
	using = false
615
end
616
617
mouse.KeyDown:connect(function(key)
618
	if key == "q" and not using then
619
		throwgrenade()
620
	end
621
	if key == "e" and not using then
622
		swng()
623
	end
624
	if key == "f" and supermode then
625
		selfd()
626
	end
627
	if key == "c" and not using then
628
		explos(t)
629
		t.Anchored = true
630
		using = true
631
		wait(.3)
632
		t.Anchored = false
633
		using = false
634
	end
635
	if key == "r" and not supermode then
636
		cursong = 2
637
		mus.SoundId = songs[2] mus:Play()
638
		supermode = true
639
	elseif key == "r" and supermode then
640
		cursong = 1
641
		mus.SoundId = songs[1] mus:Play()
642
		supermode = false
643
	end
644
end)
645
hum.Running:connect(function(a)
646
	if a >0 then
647
	anim = "walk"
648
	else
649
		anim = "idle"
650
	end
651
end)
652
hum.Jumping:connect(function()
653
	anim = "jump"
654
end)
655
hum.FreeFalling:connect(function()
656
	anim = "fall"
657
end)
658
659
while true do
660
	if char:FindFirstChild("MusicA") == nil then
661
		mus = Instance.new("Sound",char) mus.Name = "MusicA" mus.Volume = 3 mus.SoundId = songs[cursong] mus.Looped = true mus:Play()
662
	end
663
	if workspace:FindFirstChild("Explso") == nil then
664
		expls = Instance.new("Sound",workspace) expls.Name = "Explso" expls.Volume = 5 expls.SoundId = "rbxassetid://1556400587"
665
	end
666
	if ra:FindFirstChild("Cracko") == nil then
667
		crack = Instance.new("Sound",ra) crack.Name = "Cracko" crack.Pitch = .6 crack.Volume = 5 crack.SoundId = "rbxassetid://136075117"
668
	end
669
	crack = ra:FindFirstChild("Cracko")
670
	expls = workspace:FindFirstChild("Explso") 
671
	mus = char:FindFirstChild("MusicA")
672
	hum.MaxHealth = 7e9 hum.Health = 7e9
673
	if not supermode then
674
		hum.WalkSpeed = 12 hum.JumpPower = 70
675
	else
676
		hum.WalkSpeed = 36 hum.JumpPower = 90
677
	end
678
	if anim == "idle" and not using then
679
			i = .5
680
			nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(50),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i)
681
			rutj.C0 = rutj.C0:lerp(CFrame.new(0,-.1,0) * CFrame.Angles(rad(-110),rad(0),rad(180)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
682
			rs.C0 = rs.C0:lerp(CFrame.new(1,.3,0) * CFrame.Angles(rad(20),rad(90),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
683
               ls.C0 = ls.C0:lerp(CFrame.new(-1,.3,0) * CFrame.Angles(rad(20),rad(-90),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
684
			rh.C0 = rh.C0:lerp(CFrame.new(1,-1,-.3) * CFrame.Angles(rad(25),rad(100),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
685
			lh.C0 = lh.C0:lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(20),rad(-80),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
686
	end
687
	if anim == "idle" and not using and supermode then
688
		i = .5
689
		nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(50),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i*3)
690
		rutj.C0 = rutj.C0:lerp(CFrame.new(0,-.7,0) * CFrame.Angles(rad(-110),rad(0),rad(180)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
691
		rs.C0 = rs.C0:lerp(CFrame.new(1,.3,0) * CFrame.Angles(rad(0),rad(90),rad(179)) * CFrame.Angles(rad(50),rad(0),rad(20)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
692
		ls.C0 = ls.C0:lerp(CFrame.new(-1,.3,0) * CFrame.Angles(rad(0),rad(-90),rad(-179)) * CFrame.Angles(rad(50),rad(0),rad(-20)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
693
		rh.C0 = rh.C0:lerp(CFrame.new(1,-.3,-.7) * CFrame.Angles(rad(20),rad(100),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
694
		lh.C0 = lh.C0:lerp(CFrame.new(-1,-.5,-.6) * CFrame.Angles(rad(-50),rad(-50),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
695
	end
696
	if anim == "jump" and not using then
697
			i = .4
698
			nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(110),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i)
699
			rutj.C0 = rutj.C0:lerp(CFrame.new(0,-.1,0) * CFrame.Angles(rad(-80),rad(0),rad(180)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
700
			rs.C0 = rs.C0:lerp(CFrame.new(1,.3,0) * CFrame.Angles(rad(20),rad(90),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(math.atan(math.random(-4,4)))) * CFrame.Angles(rad(-30),rad(0),rad(20)),i)
701
               ls.C0 = ls.C0:lerp(CFrame.new(-1,.3,0) * CFrame.Angles(rad(20),rad(-90),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(math.atan(math.random(-4,4)))) * CFrame.Angles(rad(-30),rad(0),rad(-20)),i)
702
			rh.C0 = rh.C0:lerp(CFrame.new(1,-1,-.3) * CFrame.Angles(rad(5),rad(100),rad(20)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(math.atan(math.random(-20,20))),rad(math.atan(math.random(-20,20)))),i)
703
			lh.C0 = lh.C0:lerp(CFrame.new(-1,-1,-.3) * CFrame.Angles(rad(0),rad(-80),rad(20)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(math.atan(math.random(-20,20))),rad(math.atan(math.random(-20,20)))),i)
704
	end
705
	if  anim == "fall" and not using then
706
			i = .4
707
			nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(110),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i)
708
			rutj.C0 = rutj.C0:lerp(CFrame.new(0,-.1,0) * CFrame.Angles(rad(-80),rad(0),rad(180)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
709
			rs.C0 = rs.C0:lerp(CFrame.new(1,.3,0) * CFrame.Angles(rad(20),rad(90),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(math.atan(math.random(-4,4)))) * CFrame.Angles(rad(30),rad(0),rad(140)),i)
710
               ls.C0 = ls.C0:lerp(CFrame.new(-1,.3,0) * CFrame.Angles(rad(20),rad(-90),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(math.atan(math.random(-4,4)))) * CFrame.Angles(rad(30),rad(0),rad(-130)),i)
711
			rh.C0 = rh.C0:lerp(CFrame.new(1,-.7,.2) * CFrame.Angles(rad(5),rad(100),rad(20)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(math.atan(math.random(-20,20))),rad(math.atan(math.random(-20,20)))),i)
712
			lh.C0 = lh.C0:lerp(CFrame.new(-1,-1,.2) * CFrame.Angles(rad(-5),rad(-80),rad(20)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(math.atan(math.random(-20,20))),rad(math.atan(math.random(-20,20)))),i)
713
	end
714
	if anim == "walk" and not using and not supermode then
715
		for i = 0,.3,.025 do
716
			if anim == "walk" and not using and not supermode then
717
			nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(70),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i)
718
			rutj.C0 = rutj.C0:lerp(CFrame.new(0,.2,0) * CFrame.Angles(rad(-110),rad(0),rad(175)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
719
			rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(-35),rad(90),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
720
               ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(35),rad(-90),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
721
			rh.C0 = rh.C0:lerp(CFrame.new(1,-1.2,-.4) * CFrame.Angles(rad(60),rad(85),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
722
			lh.C0 = lh.C0:lerp(CFrame.new(-1,-.6,-.2) * CFrame.Angles(rad(-35),rad(-85),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
723
			swait()
724
			end
725
		end
726
		for i = 0,.3,.025 do
727
			if anim == "walk" and not using and not supermode then
728
			nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(70),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i)
729
			rutj.C0 = rutj.C0:lerp(CFrame.new(0,-.1,0) * CFrame.Angles(rad(-110),rad(0),rad(185)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
730
			rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(-10),rad(95),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
731
               ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(10),rad(-85),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
732
			rh.C0 = rh.C0:lerp(CFrame.new(1,-.8,.2) * CFrame.Angles(rad(-15),rad(85),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
733
			lh.C0 = lh.C0:lerp(CFrame.new(-1,-1,.2) * CFrame.Angles(rad(15),rad(-85),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
734
			swait()
735
			end
736
		end
737
		for i = 0,.3,.025 do
738
			if anim == "walk" and not using and not supermode then
739
			nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(70),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),.4)
740
			rutj.C0 = rutj.C0:lerp(CFrame.new(0,.2,0) * CFrame.Angles(rad(-110),rad(0),rad(185)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
741
			rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(35),rad(90),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
742
               ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(-35),rad(-90),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
743
			rh.C0 = rh.C0:lerp(CFrame.new(1,-.6,-.2) * CFrame.Angles(rad(-35),rad(85),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
744
			lh.C0 = lh.C0:lerp(CFrame.new(-1,-1.2,-.4) * CFrame.Angles(rad(60),rad(-85),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
745
			swait()
746
			end
747
		end
748
		for i = 0,.3,.025 do
749
			if anim == "walk" and not using and not supermode then
750
			nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(70),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i)
751
			rutj.C0 = rutj.C0:lerp(CFrame.new(0,-.1,0) * CFrame.Angles(rad(-110),rad(0),rad(175)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
752
			rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(10),rad(95),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
753
               ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(-10),rad(-85),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i)
754
			rh.C0 = rh.C0:lerp(CFrame.new(1,-.8,-.2) * CFrame.Angles(rad(-15),rad(85),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
755
			lh.C0 = lh.C0:lerp(CFrame.new(-1,-1,-.2) * CFrame.Angles(rad(15),rad(-85),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
756
			swait()
757
			end
758
		end
759
		end
760
		if anim == "walk" and not using and supermode then
761
			for i = 0,.3,.045 do
762
			if anim == "walk" and not using and supermode then
763
			nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(110),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i*5)
764
			rutj.C0 = rutj.C0:lerp(CFrame.new(0,.2,0) * CFrame.Angles(rad(-110),rad(0),rad(175)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i*3)
765
			rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(100),rad(110)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i*5)
766
               ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(30)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i*5)
767
			rh.C0 = rh.C0:lerp(CFrame.new(1,-1.3,-.7) * CFrame.Angles(rad(60),rad(80),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
768
			lh.C0 = lh.C0:lerp(CFrame.new(-1,-.7,.2) * CFrame.Angles(rad(-35),rad(-80),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
769
			swait()
770
			end
771
			end
772
		for i = 0,.3,.045 do
773
			if anim == "walk" and not using and supermode then
774
			nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(110),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i*5)
775
			rutj.C0 = rutj.C0:lerp(CFrame.new(0,-.1,0) * CFrame.Angles(rad(-110),rad(0),rad(185)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
776
			rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(100),rad(110)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i*5)
777
               ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(30)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i*5)
778
			rh.C0 = rh.C0:lerp(CFrame.new(1,-.9,.2) * CFrame.Angles(rad(-20),rad(80),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
779
			lh.C0 = lh.C0:lerp(CFrame.new(-1,-.5,-.2) * CFrame.Angles(rad(20),rad(-80),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
780
			swait()
781
			end
782
		end
783
		for i = 0,.3,.045 do
784
			if anim == "walk" and not using and supermode then
785
			nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(110),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i*5)
786
			rutj.C0 = rutj.C0:lerp(CFrame.new(0,-.1,0) * CFrame.Angles(rad(-110),rad(0),rad(185)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i*3)
787
			rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(100),rad(110)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i*5)
788
               ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(30)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i*5)
789
			rh.C0 = rh.C0:lerp(CFrame.new(1,-.7,.2) * CFrame.Angles(rad(-35),rad(80),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
790
			lh.C0 = lh.C0:lerp(CFrame.new(-1,-1.3,-.7) * CFrame.Angles(rad(60),rad(-80),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
791
			swait()
792
			end
793
		end
794
		for i = 0,.3,.045 do
795
			if anim == "walk" and not using and supermode then
796
			nec.C0 = nec.C0:lerp(CFrame.new(0,1,-.2) * CFrame.Angles(rad(110),rad(180),rad(0)) * CFrame.Angles(rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10))),rad(math.tan(math.random(-10,10)))),i*5)
797
			rutj.C0 = rutj.C0:lerp(CFrame.new(0,-.1,0) * CFrame.Angles(rad(-110),rad(0),rad(175)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
798
			rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(100),rad(110)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i*5)
799
               ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(30)) * CFrame.Angles(rad(math.atan(math.random(-40,40))),rad(0),rad(0)),i*5)
800
			rh.C0 = rh.C0:lerp(CFrame.new(1,-.9,-.2) * CFrame.Angles(rad(20),rad(80),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
801
			lh.C0 = lh.C0:lerp(CFrame.new(-1,-.5,.2) * CFrame.Angles(rad(-20),rad(-80),rad(0)) * CFrame.Angles(rad(math.atan(math.random(-20,20))),rad(0),rad(0)),i)
802
			swait()
803
			end
804
		end
805
		end
806
	swait()
807
end