View difference between Paste ID: 8AMyPkBE and B7R6kYAU
SHOW: | | - or go back to the newest paste.
1
-----------//Elio Blasio\\-----------
2
--[[Movelist
3
E = Equip/Unequip, click to shoot, hold to spray
4
T = Taunt
5
---------]]
6
--Credits to Shackluster for the refit/anti-breakjoints function, he's a cool guy/great scripter.--
7
--Ayy i'm not dead yet, take that haters, if i even had any to begin with.--
8
--Keeping this script small since big ones will cause major lag & exceed script limits--
9
--Using a FE converter because i'm way too lazy to create remotes for it--
10
11
if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
12
do
13
	script.Parent = owner.Character
14
	local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
15
	local function NewFakeEvent()
16
		local Bind = Instance.new("BindableEvent")
17
		local Fake;Fake = {Connections = {},
18
		fakeEvent=true;
19
		Connect=function(self,Func)
20
			Bind.Event:connect(Func)
21
			self.Connections[Bind] = true
22
			return setmetatable({Connected = true},{
23
			__index = function (self,Index)
24
				if Index:lower() == "disconnect" then
25
					return function() Fake.Connections[Bind] = false;self.Connected = false end
26
				end
27
				return Fake[Index]
28
			end;
29
			__tostring = function() return "Connection" end;
30
		})
31
		end}
32
		Fake.connect = Fake.Connect;return Fake;
33
	end
34
	local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
35
	local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
36
	local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
37
		self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
38
	end};ContextActionService.UnBindAction = ContextActionService.BindAction
39
	local function TriggerEvent(self,Event,...)
40
		local Trigger = Mouse[Event]
41
		if Trigger and Trigger.fakeEvent and Trigger.Connections then
42
			for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
43
		end
44
	end
45
	Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
46
	Event.OnServerEvent:Connect(function(FiredBy,Input)
47
		if FiredBy.Name ~= owner.Name then return end
48
		if Input.MouseEvent then
49
			Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
50
		else
51
			local Begin = Input.UserInputState == Enum.UserInputState.Begin
52
			if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
53
			for _,Action in pairs(ContextActionService.Actions) do
54
				for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
55
			end
56
			Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
57
			UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
58
		end
59
	end)
60
	InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
61
	Event.Parent = NLS([[
62
		local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
63
		local Input = function(Input,gameProcessedEvent)
64
			if gameProcessedEvent then return end
65
			Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
66
		end
67
		UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
68
		local Hit,Target
69
		while wait(1/30) do
70
			if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
71
				Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
72
			end
73
		end
74
	]],owner.Character)
75
end
76
RealGame = game;game = setmetatable({},{
77
	__index = function (self,Index)
78
		local Sandbox = function (Thing)
79
			if Thing:IsA("Player") then
80
				local RealPlayer = Thing
81
				return setmetatable({},{
82
					__index = function (self,Index)
83
						local Type = type(RealPlayer[Index])
84
						if Type == "function" then
85
							if Index:lower() == "getmouse" or Index:lower() == "mouse" then
86
								return function (self)return InternalData["Mouse"] end
87
							end
88
							return function (self,...)return RealPlayer[Index](RealPlayer,...) end
89
						end
90
						return RealPlayer[Index]
91
					end;
92
					__tostring = function(self) return RealPlayer.Name end
93
				})
94
			end
95
		end
96
		if RealGame[Index] then
97
			local Type = type(RealGame[Index])
98
			if Type == "function" then
99
				if Index:lower() == "getservice" or Index:lower() == "service" then
100
					return function (self,Service)
101
						local FakeServices = {
102
							["players"] = function()
103
								return setmetatable({},{
104
									__index = function (self2,Index2)
105
										local RealService = RealGame:GetService(Service)
106
										local Type2 = type(Index2)
107
										if Type2 == "function" then
108
											return function (self,...) return RealService[Index2](RealService,...)end
109
										else
110
											if Index2:lower() == "localplayer" then return Sandbox(owner) end
111
											return RealService[Index2]
112
										end
113
									end;
114
									__tostring = function(self) return RealGame:GetService(Service).Name end
115
								})
116
							end;
117
							["contextactionservice"] = function() return InternalData["ContextActionService"] end;
118
							["userinputservice"] = function() return InternalData["UserInputService"] end;
119
							["runservice"] = function()
120
								return setmetatable({},{
121
									__index = function(self2,Index2)
122
										local RealService = RealGame:GetService(Service)
123
										local Type2 = type(Index2)
124
										if Type2 == "function" then
125
											return function (self,...) return RealService[Index2](RealService,...) end
126
										else
127
											local RunServices = {
128
												["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
129
												["renderstepped"] = function() return RealService["Stepped"] end
130
											}
131
											if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
132
											return RealService[Index2]
133
										end
134
									end
135
								})
136
							end
137
						}
138
						if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
139
						return RealGame:GetService(Service)
140
					end
141
				end
142
				return function (self,...) return RealGame[Index](RealGame,...) end
143
			else
144
				if game:GetService(Index) then return game:GetService(Index) end
145
				return RealGame[Index]
146
			end
147
		end
148
		return nil
149
	end
150
});Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
151
152
Player=game.Players.LocalPlayer
153
Character=Player.Character
154
Character.Humanoid.Name = "noneofurbusiness"
155
hum = Character.noneofurbusiness
156
LeftArm=Character["Left Arm"]
157
LeftLeg=Character["Left Leg"]
158
RightArm=Character["Right Arm"]
159
RightLeg=Character["Right Leg"]
160
Root=Character["HumanoidRootPart"]
161
Head=Character["Head"]
162
Torso=Character["Torso"]
163
Neck=Torso["Neck"]
164
mouse = Player:GetMouse()
165
walking = false
166
jumping = false
167
attacking = false
168
firsttime = false
169
tauntdebounce = false
170
position = nil
171
MseGuide = true
172
running = false
173
settime = 0
174
sine = 0
175
t = 0
176
ws = 18
177
change = 1
178
combo1 = true
179
equip = false
180
dgs = 75
181
combo2 = false
182
switch1 = true
183
switch2 = false
184
firsttime2 = false
185
combo3 = false
186
gunallowance = false
187
shooting = false
188
RunSrv = game:GetService("RunService")
189
RenderStepped = game:GetService("RunService").RenderStepped
190
removeuseless = game:GetService("Debris")
191
192
screenGui = Instance.new("ScreenGui")
193
screenGui.Parent = script.Parent
194
195
local HEADLERP = Instance.new("ManualWeld")
196
HEADLERP.Parent = Head
197
HEADLERP.Part0 = Head
198
HEADLERP.Part1 = Head
199
HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
200
201
local TORSOLERP = Instance.new("ManualWeld")
202
TORSOLERP.Parent = Root
203
TORSOLERP.Part0 = Torso
204
TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
205
206
local ROOTLERP = Instance.new("ManualWeld")
207
ROOTLERP.Parent = Root
208
ROOTLERP.Part0 = Root
209
ROOTLERP.Part1 = Torso
210
ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
211
212
local RIGHTARMLERP = Instance.new("ManualWeld")
213
RIGHTARMLERP.Parent = RightArm
214
RIGHTARMLERP.Part0 = RightArm
215
RIGHTARMLERP.Part1 = Torso
216
RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
217
218
local LEFTARMLERP = Instance.new("ManualWeld")
219
LEFTARMLERP.Parent = LeftArm
220
LEFTARMLERP.Part0 = LeftArm
221
LEFTARMLERP.Part1 = Torso
222
LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
223
224
local RIGHTLEGLERP = Instance.new("ManualWeld")
225
RIGHTLEGLERP.Parent = RightLeg
226
RIGHTLEGLERP.Part0 = RightLeg
227
RIGHTLEGLERP.Part1 = Torso
228
RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
229
230
local LEFTLEGLERP = Instance.new("ManualWeld")
231
LEFTLEGLERP.Parent = LeftLeg
232
LEFTLEGLERP.Part0 = LeftLeg
233
LEFTLEGLERP.Part1 = Torso
234
LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
235
236
local function weldBetween(a, b)
237
    local weld = Instance.new("ManualWeld", a)
238
    weld.Part0 = a
239
    weld.Part1 = b
240
    weld.C0 = a.CFrame:inverse() * b.CFrame
241
    return weld
242
end
243
244
function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR)
245
A = Instance.new("Attachment", PARENT)
246
A.Position = POSITION1
247
A.Name = "A"
248
B = Instance.new("Attachment", PARENT)
249
B.Position = POSITION2
250
B.Name = "B"
251
tr1 = Instance.new("Trail", PARENT)
252
tr1.Attachment0 = A
253
tr1.Attachment1 = B
254
tr1.Enabled = true
255
tr1.Lifetime = LIFETIME
256
tr1.TextureMode = "Static"
257
tr1.LightInfluence = 0
258
tr1.Color = COLOR
259
tr1.Transparency = NumberSequence.new(0, 1)
260
end
261
262-
shirt = Instance.new("Shirt", Character)
262+
263-
shirt.Name = "Shirt"
263+
264-
pants = Instance.new("Pants", Character)
264+
265-
pants.Name = "Pants"
265+
266-
Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1123249914"
266+
267-
Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=1839310233"
267+
268
tommygunweld.Part1 = RightArm
269-
skull = Instance.new("Part",Character)
269+
270-
skull.Size = Vector3.new(2,2,2)
270+
271-
skull.CFrame = Head.CFrame
271+
272-
skull.CanCollide = false
272+
273-
skullweld = Instance.new("Weld",skull)
273+
mtommygun.MeshId,mtommygun.TextureId = 'http://www.roblox.com/asset/?id=432478714','http://www.roblox.com/asset/?id=116679995'
274-
skullweld.Part0 = skull
274+
275-
skullweld.Part1 = Head
275+
276-
skullweld.C0 = skull.CFrame:inverse() * Head.CFrame 
276+
277-
mskull = Instance.new("SpecialMesh", skull)
277+
278-
mskull.MeshType = "FileMesh"
278+
279-
mskull.Scale = Vector3.new(1.12, 1.12, 1.12)
279+
280-
mskull.MeshId,mskull.TextureId = 'http://www.roblox.com/asset/?id=181343290','http://www.roblox.com/asset/?id=181343313'
280+
281-
fedora = Instance.new("Part",Character)
281+
282-
fedora.Size = Vector3.new(2,2,2)
282+
283-
fedora.CFrame = Head.CFrame
283+
284-
fedora.CanCollide = false
284+
285-
fedoraweld = Instance.new("Weld",fedora)
285+
286-
fedoraweld.Part0 = fedora
286+
287-
fedoraweld.Part1 = Head
287+
288-
fedoraweld.C0 = fedora.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.8,0)
288+
289-
mfedora = Instance.new("SpecialMesh", fedora)
289+
290-
mfedora.MeshType = "FileMesh"
290+
291-
mfedora.Scale = Vector3.new(1.1, 1.1, 1.1)
291+
292-
mfedora.MeshId,mfedora.TextureId = 'http://www.roblox.com/asset/?id=13640868','http://www.roblox.com/asset/?id=18987684'
292+
293
particlemiter1.Speed = NumberRange.new(0)
294
tommygunammo = Instance.new("Part",Character)
295
tommygunammo.Size = Vector3.new(2,2,2)
296
tommygunammo.CFrame = tommygun.CFrame
297
tommygunammo.CanCollide = false
298
tommygunammoweld = Instance.new("Weld",tommygunammo)
299
tommygunammoweld.Part0 = tommygunammo
300
tommygunammoweld.Part1 = tommygun
301
tommygunammoweld.C0 = tommygun.CFrame:inverse() * tommygun.CFrame * CFrame.new(0,.4,.25) * CFrame.Angles(math.rad(0),math.rad(0),0)
302
mtommygunammo = Instance.new("SpecialMesh", tommygunammo)
303
mtommygunammo.MeshType = "FileMesh"
304-
mtommygun.MeshId,mtommygun.TextureId = 'http://www.roblox.com/asset/?id=116679805','http://www.roblox.com/asset/?id=116679995'
304+
305
mtommygunammo.MeshId,mtommygunammo.TextureId = 'http://www.roblox.com/asset/?id=116740155','http://www.roblox.com/asset/?id=116679995'
306
mask = Instance.new("Part",Character)
307
mask.Size = Vector3.new(2,2,2)
308
mask.CFrame = Head.CFrame
309
mask.CanCollide = false
310
maskweld = Instance.new("Weld",mask)
311
maskweld.Part0 = mask
312
maskweld.Part1 = Head
313
maskweld.C0 = mask.CFrame:inverse() * Head.CFrame * CFrame.new(-.2,0,.62) * CFrame.Angles(math.rad(0),math.rad(10),math.rad(0))
314
mmask = Instance.new("SpecialMesh", mask)
315
mmask.MeshType = "FileMesh"
316
mmask.Scale = Vector3.new(1.25, 1.25, 1.25)
317
mmask.MeshId,mmask.TextureId = 'http://www.roblox.com/asset/?id=12470186','http://www.roblox.com/asset/?id=12470201'
318
319
320
321
coroutine.wrap(function()
322
while wait() do
323
hum.WalkSpeed = ws
324
LeftArm.BrickColor = BrickColor.new("Really black")
325
RightArm.BrickColor = BrickColor.new("Really black")
326
Head.BrickColor = BrickColor.new("Really black")
327
end
328
end)()
329
godmode = coroutine.wrap(function()
330
for i,v in pairs(Character:GetChildren()) do
331
if v:IsA("BasePart") and v ~= Root then
332
v.Anchored = false
333
end
334
end
335
while true do
336
hum.MaxHealth = 250
337
wait(20)
338
hum.Health = 250
339
wait()
340
end
341
end)
342
godmode()
343
344
coroutine.wrap(function()
345
for i,v in pairs(Character:GetChildren()) do
346
if v.Name == "Animate" then v:Remove()
347
end
348
end
349
end)()
350
351
function damagealll(Radius,Position)		
352
	local Returning = {}		
353
	for _,v in pairs(workspace:GetChildren()) do		
354
		if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
355
if v:FindFirstChild("Torso") then		
356
			local Mag = (v.Torso.Position - Position).magnitude		
357
			if Mag < Radius then		
358
				table.insert(Returning,v)		
359
			end
360
elseif v:FindFirstChild("UpperTorso") then	
361
			local Mag = (v.UpperTorso.Position - Position).magnitude		
362
			if Mag < Radius then		
363
				table.insert(Returning,v)		
364
			end
365
end	
366
		end		
367
	end		
368
	return Returning		
369
end
370
371
ArtificialHB = Instance.new("BindableEvent", script)
372
ArtificialHB.Name = "Heartbeat"
373
script:WaitForChild("Heartbeat")
374
375
frame = 1 / 60
376
tf = 0
377
allowframeloss = false
378
tossremainder = false
379
380
381
lastframe = tick()
382
script.Heartbeat:Fire()
383
384
385
game:GetService("RunService").Heartbeat:connect(function(s, p)
386
	tf = tf + s
387
	if tf >= frame then
388
		if allowframeloss then
389
			script.Heartbeat:Fire()
390
			lastframe = tick()
391
		else
392
			for i = 1, math.floor(tf / frame) do
393
				script.Heartbeat:Fire()
394
			end
395
			lastframe = tick()
396
		end
397
		if tossremainder then
398
			tf = 0
399
		else
400
			tf = tf - frame * math.floor(tf / frame)
401
		end
402
	end
403
end)
404
405
function swait(num)
406
	if num == 0 or num == nil then
407
		game:service("RunService").Stepped:wait(0)
408
	else
409
		for i = 0, num do
410
			game:service("RunService").Stepped:wait(0)
411
		end
412
	end
413
end
414
415
doomtheme = Instance.new("Sound", Torso)
416
doomtheme.Volume = 1
417
doomtheme.Name = "doomtheme"
418
doomtheme.Looped = true
419
doomtheme.SoundId = "rbxassetid://318812395"
420
doomtheme:Play()
421
422
Torso.ChildRemoved:connect(function(removed)
423
if removed.Name == "doomtheme" then
424
425
doomtheme = Instance.new("Sound", Torso)
426
doomtheme.Volume = 1
427
doomtheme.Name = "doomtheme"
428
doomtheme.Looped = true
429
doomtheme.SoundId = "rbxassetid://318812395"
430
doomtheme:Play()
431
end
432
end)
433
434
for _,n in pairs(Character:GetChildren()) do
435
if n:IsA("Accessory") then n:Remove() end
436
end
437
for _,x in pairs(Character:GetChildren()) do
438
if x:IsA("Decal") then x:Remove() end
439
end
440
441
function SOUND(PARENT,ID,VOL,LOOP,REMOVE)
442
so = Instance.new("Sound")
443
so.Parent = PARENT
444
so.SoundId = "rbxassetid://"..ID
445
so.Volume = VOL
446
so.Looped = LOOP
447
so:Play()
448
removeuseless:AddItem(so,REMOVE)
449
end
450
451
mouse.KeyDown:connect(function(Press)
452
Press=Press:lower()
453
if Press=='t' then
454
if tauntdebounce then return end
455
tauntdebounce = true
456
local b1 = Instance.new("BillboardGui",Head)
457
b1.Size = UDim2.new(0,4,0,1.6)
458
b1.StudsOffset = Vector3.new(0,0,0)
459
b1.Name = "laff"
460
b1.AlwaysOnTop = true
461
b1.StudsOffset = Vector3.new(0,2,0)
462
b1.Adornee = Head
463
removeuseless:AddItem(b1,3)
464
local b2 = Instance.new("TextLabel",b1)
465
b2.BackgroundTransparency = 1
466
b2.Text = "HeHeHeHeHeHeHe..."
467
b2.Font = "Garamond"
468
b2.TextSize = 30
469
b2.Name = "lafftext"
470
b2.TextStrokeTransparency = 0
471
b2.TextColor3 = BrickColor.new("Grey").Color
472
b2.TextStrokeColor3 = Color3.new(0,0,0)
473
b2.Size = UDim2.new(1,0,.5,0)
474
laff = Instance.new("Sound",Head)
475
laff.SoundId = "rbxassetid://2126502539"
476
laff.Volume = 5
477
laff:Play()
478
wait(5)
479
laff:Remove()
480
tauntdebounce = false
481
end
482
end)
483
484
mouse.KeyDown:connect(function(Press)
485
Press=Press:lower()
486
if Press=='e' then
487
if debounce then return end
488
if equip then
489
g1:Remove()
490
light.Enabled = false
491
pcall(function()
492
temmy:Remove()
493
end)
494
for i,v in pairs(tommygun:GetDescendants()) do
495
if v.Name == "temmy" then v:Remove()
496
end
497
end
498
light.Enabled = false
499
particlemiter1.Enabled = false
500
hum.CameraOffset = Vector3.new(0,0,0)
501
attacking = false
502
equip = false
503
shooting = false
504
gunallowance = false
505
ws = 18
506
else
507
g1 = Instance.new("BodyGyro", Root)
508
g1.D = 175
509
g1.P = 20000
510
g1.MaxTorque = Vector3.new(0,9000,0)
511
g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
512
attacking = true
513
debounce = true
514
equip = true
515
coroutine.wrap(function()
516
while equip do
517
g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.1)
518
ws = 10
519
swait()
520
if Root.Velocity.y > 1 then
521
position = "Jump3"
522
elseif Root.Velocity.y < -1 then
523
position = "Falling3"
524
elseif Root.Velocity.Magnitude > 2 and running == false and attacking == true then
525
position = "Walk3"
526
elseif Root.Velocity.Magnitude < 2 and running == false and attacking == true then
527
position = "Idle4"
528
end
529
end
530
end)()
531
coroutine.wrap(function()
532
while equip do
533
swait()
534
settime = 0.05
535
sine = sine + change
536
if position == "Jump3" and attacking and not running then
537
change = .65
538
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
539
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4)
540
elseif position == "Falling3" and attacking and not running then
541
change = .65
542
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.4)
543
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.4)
544
elseif position == "Walk3" and attacking == true and running == false then
545
change = .65
546
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0.05*math.sin(sine/4), 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)),.2)
547
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0), math.cos(25 * math.cos(sine/8))), 0.1)
548
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) , math.cos(25 * math.cos(sine/8))), 0.1)
549
elseif position == "Idle4" and attacking == true and running == false then
550
change = .65
551
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/25), 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)),.1)
552
RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
553
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/25), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1)
554
LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
555
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/25), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
556
end
557
end
558
end)()
559
SOUND(RightArm,898163129,6,false,2)
560
for i = 1, 30 do
561
tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.68,1.25) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(-12)),.25)
562
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1, 0.1, 0.4) * CFrame.Angles(math.rad(-90), math.rad(-60), math.rad(0)), 0.25)
563
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)), 0.25)
564
swait()
565
end
566
gunallowance = true
567
mouse.Button1Down:connect(function()
568
if gunallowance then
569
particlemiter1.Enabled = true
570
temmy = Instance.new("Sound",tommygun)
571
temmy.SoundId = "rbxassetid://2204318084"
572
temmy.Volume = 6
573
temmy.Name = "temmy"
574
temmy.Looped = true
575
temmy:Play()
576
shooting = true
577
end
578
end)
579
mouse.Button1Up:connect(function()
580
if gunallowance then
581
hum.CameraOffset = Vector3.new(0,0,0)
582
light.Enabled = false
583
particlemiter1.Enabled = false
584
pcall(function()
585
temmy:Remove()
586
end)
587
for i,v in pairs(tommygun:GetDescendants()) do
588
if v.Name == "temmy" then v:Remove()
589
end
590
end
591
shooting = false
592
end
593
end)
594
coroutine.wrap(function()
595
if firsttime2 then return end
596
firsttime2 = true
597
while true do
598
swait(3)
599
if shooting then
600
if switch1 then
601
switch1 = false
602
switch2 = true
603
light.Enabled = true
604
elseif switch2 then
605
switch1 = true
606
switch2 = false
607
light.Enabled = false
608
end
609
pcall(function()
610
if mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
611
mouse.Target.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(3,7))
612
end
613
end)
614
end
615
end
616
end)()
617
coroutine.wrap(function()
618
if firsttime then return end
619
firsttime = true
620
while true do
621
if shooting then
622
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90), math.rad(0 - 10 * math.sin(sine)), math.rad(0)), 0.25)
623
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1, 0.1 + .4 * math.sin(sine), 0.4) * CFrame.Angles(math.rad(-90), math.rad(-60), math.rad(0)), 0.25)
624
pcall(function()
625
if mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
626
mouse.Target.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(1)
627
end
628
end)
629
elseif not shooting then
630
end
631
swait()
632
end
633
end)()
634
debounce = false
635
end
636
end
637
end)
638
639
mouse.KeyDown:connect(function(Press)
640
Press=Press:lower()
641
if Press=='z' then
642
print("Music switched to 1")
643
id = 2199374985
644
doomtheme.SoundId = "rbxassetid://"..id
645
doomtheme:Play()
646
end
647
end)
648
649
mouse.KeyDown:connect(function(Press)
650
Press=Press:lower()
651
if Press=='v' then
652
print("Music switched to 4")
653
id = 2111948183
654
doomtheme.SoundId = "rbxassetid://"..id
655
doomtheme:Play()
656
end
657
end)
658
659
mouse.KeyDown:connect(function(Press)
660
Press=Press:lower()
661
if Press=='x' then
662
print("Music switched to 2")
663
id = 318812395
664
doomtheme.SoundId = "rbxassetid://"..id
665
doomtheme:Play()
666
end
667
end)
668
669
mouse.KeyDown:connect(function(Press)
670
Press=Press:lower()
671
if Press=='c' then
672
print("Music switched to 3")
673
id = 180337897
674
doomtheme.SoundId = "rbxassetid://"..id
675
doomtheme:Play()
676
end
677
end)
678
679
mouse.KeyDown:connect(function(Press)
680
Press=Press:lower()
681
if Press=='b' then
682
print("Music switched to 5")
683
id = 649148458
684
doomtheme.SoundId = "rbxassetid://"..id
685
doomtheme:Play()
686
end
687
end)
688
689
690
checks1 = coroutine.wrap(function() -------Checks
691
while true do
692
if Root.Velocity.y > 1 then
693
position = "Jump"
694
elseif Root.Velocity.y < -1 then
695
position = "Falling"
696
elseif Root.Velocity.Magnitude < 2 then
697
position = "Idle"
698
elseif Root.Velocity.Magnitude < 20 then
699
position = "Walking"
700
elseif Root.Velocity.Magnitude > 20 then
701
position = "Running"
702
else
703
end
704
wait()
705
end
706
end)
707
checks1()
708
709
function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
710
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
711
end
712
713
function ray2(StartPos, EndPos, Distance, Ignore)
714
local DIRECTION = CFrame.new(StartPos,EndPos).lookVector
715
return ray(StartPos, DIRECTION, Distance, Ignore)
716
end
717
718
OrgnC0 = Neck.C0
719
local movelimbs = coroutine.wrap(function()
720
while RunSrv.RenderStepped:wait() do
721
TrsoLV = Torso.CFrame.lookVector
722
Dist = nil
723
Diff = nil
724
if not MseGuide then
725
print("Failed to recognize")
726
else
727
local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
728
Dist = (Head.CFrame.p-Point).magnitude
729
Diff = Head.CFrame.Y-Point.Y
730
local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
731
Dist2 = (LeftArm.CFrame.p-Point).magnitude
732
Diff2 = LeftArm.CFrame.Y-Point.Y
733
HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
734
Neck.C0 = Neck.C0:lerp(OrgnC0*CFrame.Angles((math.tan(Diff/Dist)*1), 0, (((Head.CFrame.p-Point).Unit):Cross(Torso.CFrame.lookVector)).Y*1), .1)
735
end
736
end
737
end)
738
movelimbs()
739
immortal = {}
740
for i,v in pairs(Character:GetDescendants()) do
741
	if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then
742
		if v ~= Root and v ~= Torso and v ~= Head and v ~= RightArm and v ~= LeftArm and v ~= RightLeg and v.Name ~= "lmagic" and v.Name ~= "rmagic" and v ~= LeftLeg then
743
			v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
744
		end
745
		table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency})
746
	elseif v:IsA("JointInstance") then
747
		table.insert(immortal,{v,v.Parent,nil,nil,nil})
748
	end
749
end
750
for e = 1, #immortal do
751
	if immortal[e] ~= nil then
752
		local STUFF = immortal[e]
753
		local PART = STUFF[1]
754
		local PARENT = STUFF[2]
755
		local MATERIAL = STUFF[3]
756
		local COLOR = STUFF[4]
757
		local TRANSPARENCY = STUFF[5]
758
if levitate then
759
		if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
760
			PART.Material = MATERIAL
761
			PART.Color = COLOR
762
			PART.Transparency = TRANSPARENCY
763
		end
764
		PART.AncestryChanged:connect(function()
765
			PART.Parent = PARENT
766
		end)
767
else
768
		if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
769
			PART.Material = MATERIAL
770
			PART.Color = COLOR
771
			PART.Transparency = TRANSPARENCY
772
		end
773
		PART.AncestryChanged:connect(function()
774
			PART.Parent = PARENT
775
		end)
776
end
777
	end
778
end
779
function immortality()
780
	for e = 1, #immortal do
781
		if immortal[e] ~= nil then
782
			local STUFF = immortal[e]
783
			local PART = STUFF[1]
784
			local PARENT = STUFF[2]
785
			local MATERIAL = STUFF[3]
786
			local COLOR = STUFF[4]
787
			local TRANSPARENCY = STUFF[5]
788
			if PART.ClassName == "Part" and PART == Root then
789
				PART.Material = MATERIAL
790
				PART.Color = COLOR
791
				PART.Transparency = TRANSPARENCY
792
			end
793
			if PART.Parent ~= PARENT then
794
				hum:Remove()
795
				PART.Parent = PARENT
796
				hum = Instance.new("Humanoid",Character)
797
                                hum.Name = "noneofurbusiness"
798
			end
799
		end
800
	end
801
end
802
coroutine.wrap(function()
803
while true do
804
if hum.Health < .1 then
805
deadsound = Instance.new("Sound", Torso)
806
deadsound.Volume = 6
807
deadsound.SoundId = "rbxassetid://1411352723"
808
deadsound:Play()
809
immortality()
810
end
811
wait()
812
end
813
end)()
814
815
local anims = coroutine.wrap(function()
816
while true do
817
settime = 0.05
818
sine = sine + change
819
if position == "Jump" and attacking == false then
820
change = 1
821
tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
822
LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
823
RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
824
LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
825
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
826
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.4)
827
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
828
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4)
829
elseif position == "Jump2" and attacking == false then
830
change = 1
831
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3)
832
LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
833
RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
834
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3)
835
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3)
836
LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
837
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3)
838
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3)
839
elseif position == "Falling" and attacking == false then
840
change = 1
841
tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
842
LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
843
RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
844
LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
845
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2)
846
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2)
847
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
848
elseif position == "Falling2" and attacking == false then
849
change = 1
850
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3)
851
LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
852
RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
853
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3)
854
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3)
855
LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
856
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3)
857
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3)
858
elseif position == "Walking" and attacking == false and running == false then
859
change = 1.2
860
walking = true
861
tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
862
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1,0) * CFrame.Angles(math.rad(180),math.rad(1),math.rad(10)), 0.1)
863
LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
864
RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
865
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5 + Root.RotVelocity.Y / 85,.35,.5*math.sin(sine/8)) * CFrame.Angles(math.rad(-35*math.sin(sine/8)),math.rad(0*math.sin(sine/8)),math.rad(10 + Root.RotVelocity.Y / 10, math.sin(20 * math.sin(sine/4)))),.3)
866
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0.05*math.sin(sine/4), 0) * CFrame.Angles(math.rad(-10), math.rad(5 * math.cos(sine/7)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/10))), 0.1)
867
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0), math.cos(25 * math.cos(sine/8))), 0.3)
868
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) , math.cos(25 * math.cos(sine/8))), 0.3)
869
elseif position == "Idle" and attacking == false and running == false then
870
change = .5
871
tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
872
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),.1)
873
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3 + .1 * math.sin(sine/12),1 + .1 * math.sin(sine/12),0) * CFrame.Angles(math.rad(180),math.rad(1),math.rad(8 + 5 * math.sin(sine/12))), 0.1)
874
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.59 - .05 * math.sin(sine/12), 0.1 -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(-2), math.rad(2), math.rad(8  - 6 * math.sin(sine/12))), .2)
875
RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
876
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1)
877
LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
878
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
879
elseif position == "Idle2" and attacking == false and running == false then
880
change = .75
881
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0 - 3 * math.sin(sine/9)),0,0),.1)
882
RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
883
LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1)
884
LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
885
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.8 - .1 * math.sin(sine/9), 0) * CFrame.Angles(math.rad(0), math.rad(0 + 3 * math.sin(sine/9)), math.rad(35 - 5 * math.sin(sine/9))), 0.4)
886
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.6, 0.8 - .1 * math.sin(sine/9), 0) * CFrame.Angles(math.rad(0), math.rad(0 - 3 * math.sin(sine/9)), math.rad(-35 + 5 * math.sin(sine/9))), 0.4)
887
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.4)
888
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2.0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10 + 2 * math.sin(sine/9))), 0.4)
889
elseif position == "Walking2" and attacking == false and running == false then
890
ws = 50
891
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3)
892
LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
893
RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
894
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3)
895
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3)
896
LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
897
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3)
898
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3)
899
elseif position == "Running" and attacking == false then
900
change = 1
901
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.3)
902
LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(-1.24+.6*math.sin(sine/4)/1.4, 0.54, 0-0.8*math.sin(sine/4))*CFrame.Angles(math.rad(6+140*math.sin(sine/4)/1.2), math.rad(0), math.rad(20+70*math.sin(sine/4))), 0.3)
903
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.3)
904
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(-20 - 0 * math.sin(sine/4)), math.rad(0 + 6 * math.sin(sine/4)), math.rad(0) + Root.RotVelocity.Y / 30, math.sin(10 * math.sin(sine/4))), 0.3)
905
RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*-math.sin(sine/4)),.3)
906
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.6+0.1*math.sin(sine/4),.7*-math.sin(sine/4)) * CFrame.Angles(math.rad(15+ -50 * math.sin(sine/4)),0,0),.3)
907
LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*math.sin(sine/4)),.3)
908
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.6-0.1*math.sin(sine/4),.7*math.sin(sine/4)) * CFrame.Angles(math.rad(15 + 50 * math.sin(sine/4)),0,0),.3)
909
end
910
swait()
911
end
912
end)
913
anims()
914
warn("Risen from hell, ready to prove his reputation. Made by Supr14")