View difference between Paste ID: fzui65E3 and E3AD8pxw
SHOW: | | - or go back to the newest paste.
1
-- This script has been converted to FE by ligma
2
3
4
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
5
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
6
do
7
	print("FE Compatibility code by 1000hack")
8
	script.Parent = Player.Character
9
10
	--RemoteEvent for communicating
11
	local Event = Instance.new("RemoteEvent")
12
	Event.Name = "UserInput_Event"
13
14
	--Fake event to make stuff like Mouse.KeyDown work
15
	local function fakeEvent()
16
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
17
		t.connect = t.Connect
18
		return t
19
	end
20
21
	--Creating fake input objects with fake variables
22
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
23
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
24
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
25
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
26
	end}
27
	--Merged 2 functions into one by checking amount of arguments
28
	CAS.UnbindAction = CAS.BindAction
29
30
	--This function will trigger the events that have been :Connect()'ed
31
	local function te(self,ev,...)
32
		local t = m[ev]
33
		if t and t._fakeEvent and t.Function then
34
			t.Function(...)
35
		end
36
	end
37
	m.TrigEvent = te
38
	UIS.TrigEvent = te
39
40
	Event.OnServerEvent:Connect(function(plr,io)
41
	    if plr~=Player then return end
42
		if io.isMouse then
43
			m.Target = io.Target
44
			m.Hit = io.Hit
45
		else
46
			local b = io.UserInputState == Enum.UserInputState.Begin
47
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
48
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
49
			end
50
			for _,t in pairs(CAS.Actions) do
51
				for _,k in pairs(t.Keys) do
52
					if k==io.KeyCode then
53
						t.Function(t.Name,io.UserInputState,io)
54
					end
55
				end
56
			end
57
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
58
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
59
	    end
60
	end)
61
	Event.Parent = NLS([==[
62
	local Player = owner
63
	local Event = script:WaitForChild("UserInput_Event")
64
65
	local UIS = game:GetService("UserInputService")
66
	local input = function(io,a)
67
		if a then return end
68
		--Since InputObject is a client-side instance, we create and pass table instead
69
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
70
	end
71
	UIS.InputBegan:Connect(input)
72
	UIS.InputEnded:Connect(input)
73
74
	local Mouse = Player:GetMouse()
75
	local h,t
76
	--Give the server mouse data 30 times every second, but only if the values changed
77
	--If player is not moving their mouse, client won't fire events
78
	while wait(1/30) do
79
		if h~=Mouse.Hit or t~=Mouse.Target then
80
			h,t=Mouse.Hit,Mouse.Target
81
			Event:FireServer({isMouse=true,Target=t,Hit=h})
82
		end
83
	end]==],Player.Character)
84
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
85
end
86
87
	--[[ Kitchen Gun (REMADE) ]]--
88
-------------------------------------------------------
89
--[[
90
91
This script was created by WafflesAreVeryGood.
92
ATTACKS
93
_______
94
95
96
--]]
97
-------------------------------------------------------
98
print("This script was created by WafflesAreVeryGood!")
99
	--[[Changeable Variables]]--
100
local multiplier = 1 --Attack multiplier (default is 1)
101
local soundlist = {
102
	HardHit1 = "rbxassetid://565207203",
103
	HardHit2 = "rbxassetid://541909913",
104
	HardHit3 = "rbxassetid://541909983",
105
	WeakHit1 = "rbxassetid://558642292",
106
	WeakHit2 = "rbxassetid://541907812",
107
	Slice1 = "rbxassetid://260429964",
108
	Slice2 = "rbxassetid://260430015",
109
	Explosion1 = "rbxassetid://138186576",
110
	Explosion2 = "rbxassetid://157878578",
111
	Woosh1 = "rbxassetid://541909867",
112
	Woosh2 = "rbxassetid://541909763",
113
	
114
}
115
local bgmusic = Instance.new("Sound")
116
bgmusic.Volume = 3.5
117
bgmusic.SoundId = "rbxassetid://877658690"
118
bgmusic.Looped = true
119-
bgmusic.Parent = game:GetService('Players').LocalPlayer.Character.Torso
119+
120
bgmusic:Play()
121
122
	--[[Important Variables]]--
123-
local plr = game:GetService('Players').LocalPlayer
123+
124
local char = plr.Character
125
local mouse = plr:GetMouse()
126
local input = game:GetService('UserInputService')
127
----
128
local joints = {"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip", "Neck", "RootJoint"}
129
local torso,head,rootpart = char.Torso,char.Head,char.HumanoidRootPart
130
local rs = torso["Right Shoulder"]
131
local ls = torso["Left Shoulder"]
132
local rh = torso["Right Hip"]
133
local lh = torso["Left Hip"]
134
local neck = torso.Neck
135
local rj = rootpart["RootJoint"]
136
local humanoid = char:FindFirstChildOfClass("Humanoid")
137
----
138
local huge = Vector3.new(math.huge, math.huge, math.huge)
139
local attacking = false
140
local cananim = true
141
local currentanim = "Idle"
142
local mode = "Normal"
143
144
	--[[ Functions ]]--
145
function addattack(keycode, func)
146
	if keycode ~= "MouseClick" then
147
		input.InputBegan:connect(function(inp)
148
			if inp.KeyCode == keycode and not input:GetFocusedTextBox() then
149
				func()
150
			end
151
		end)
152
	else
153
		mouse.Button1Down:connect(function()
154
			func()
155
		end)
156
	end
157
end
158
function attackend(keycode, func)
159
	input.InputEnded:connect(function(inp)
160
		if inp.KeyCode == keycode and not input:GetFocusedTextBox() then
161
			func()
162
		end
163
	end)
164
end
165
function swait(t)
166
	if t then
167
		for i = 0, t do
168
			game:GetService('RunService').Stepped:wait(0)
169
		end
170
	else
171
		game:GetService('RunService').Stepped:wait(0)
172
	end
173
	return true
174
end
175
function fade(obj, dest, grow)
176
	spawn(function()
177
		local oldcf = obj.CFrame
178
		for i = 0, 10 do
179
			if grow then
180
				obj.Size = obj.Size +Vector3.new(1,1,1)
181
				obj.CFrame = oldcf
182
			end
183
			obj.Transparency = obj.Transparency +0.1
184
			swait()
185
		end
186
		if dest then
187
		obj:Destroy()
188
		end
189
	end)
190
end
191
function replacejoint(name)
192
	local j = torso:FindFirstChild(name)
193
	if not j then j = char.HumanoidRootPart:FindFirstChild(name) end
194
	if j then
195
		if true then
196
			local already = j.Parent:FindFirstChild(j.Name.." Replacement")
197
			local new = Instance.new("Weld")
198
			local c0 = j.C0
199
			local c1 = j.C1
200
			new.Part0 = j.Part0
201
			j.Part0 = nil
202
			new.Name = j.Name.." Replacement"
203
			if already then c0 = already.C0 c1 = already.C1 already:Destroy() end
204
			new.Parent = j.Parent
205
			new.Part1 = j.Part1
206
			new.C0 = c0
207
			new.C1 = c1
208
			return new
209
		end
210
	end
211
end
212
function removejoint(name, fast)
213
	local j = torso:FindFirstChild(name.." Replacement")
214
	if not j then j = char.HumanoidRootPart:FindFirstChild(name.." Replacement") end
215
	if j then
216
		local p0 = j.Part0
217
		if p0 ~= nil then
218
		local c0 = j.C0
219
		local c1 = j.C1
220
		j:Destroy()
221
		local new = p0:FindFirstChild(name)
222
		local ac0 = new.C0
223
		local ac1 = new.C1
224
		new.Part0 = p0
225
		new.C0 = c0
226
		new.C1 = c1
227
		spawn(function()
228
			if name ~= "RootJoint" then
229
			if not fast then
230
			for i = 0, 0.6, 0.1 do
231
				print(i)
232
				new.C0 = new.C0:Lerp(ac0, 0.5)
233
				new.C1 = new.C1:lerp(ac1, 0.5)
234
				swait()
235
			end
236
			else
237
				new.C0 = new.C0:Lerp(ac0, 1)
238
				new.C1 = new.C1:lerp(ac1, 1)
239
			end
240
			end
241
		end)
242
		end
243
	end
244
end
245
function fixalljoints(fast)
246
	for i,v in pairs({"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip",  "Neck", "RootJoint"}) do
247
		removejoint(v, fast)
248
	end
249
end
250
function getnewjoints()
251
	local rs = replacejoint("Right Shoulder")
252
	local ls = replacejoint("Left Shoulder")
253
	local rh = replacejoint("Right Hip")
254
	local lh = replacejoint("Left Hip")
255
	local neck = replacejoint("Neck")
256
	local rj = replacejoint("RootJoint")
257
	return rs,ls,rh,lh,neck,rj
258
end
259
function knockback(hit, force)
260
	local bv = Instance.new("BodyVelocity")
261
	bv.MaxForce = huge
262
	bv.Velocity = force
263
	bv.Parent = hit
264
	game:GetService('Debris'):AddItem(bv, 0.15)
265
end
266
function soundeffect(id, volume, speed, parent, forcewait)
267
	local func = function()
268
		local s = LoadLibrary("RbxUtility").Create("Sound")()
269
		s.Name = "SoundEffect"
270
		s.Volume = volume
271
		s.PlaybackSpeed = speed
272
		s.SoundId = id
273
		s.Looped = false
274
		s.Parent = parent
275
		s:Play()
276
		repeat wait() until not s.Playing
277
		s:Destroy()
278
	end
279
	if forcewait then
280
		func()
281
	else
282
		spawn(func)
283
	end
284
end
285
function specialsound(id, volume, speed, parent, starts, ends)
286
	local func = function()
287
		local s = LoadLibrary("RbxUtility").Create("Sound")()
288
		s.Name = "SoundEffect"
289
		s.Volume = volume
290
		s.PlaybackSpeed = speed
291
		s.SoundId = id
292
		s.TimePosition = starts
293
		s.Looped = false
294
		s.Parent = parent
295
		s:Play()
296
		repeat swait() until s.TimePosition >= ends
297
		s:Destroy()
298
	end
299
	spawn(func)
300
end
301
function hurt(hit, dmg)
302
	--pcall(function()
303
		local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
304
		if hum then
305
			if hum.Parent ~= char and not hum.Parent:FindFirstChild("kk_urcool") then
306
				hum.Health = hum.Health - dmg
307
				return true
308
			end
309
		end
310
	--end)
311
end
312
function disable(hit)
313
	pcall(function()
314
		for i,v in pairs(hit.Parent:GetChildren()) do
315
			if v:IsA("Script") and v.Name ~= "Animate" then
316
				v:Destroy()
317
				soundeffect("rbxassetid://1132948877", 1, 1, char.Head)
318
			end
319
			if v:IsA("Model") then
320
				v:BreakJoints()
321
			end
322
			if v.Name ~= "Torso" and v.Name ~= "HumanoidRootPart" then
323
				for _,child in pairs(v:GetChildren()) do
324
					if child:IsA("Weld") then
325
						child:Destroy()
326
					end
327
				end
328
			end
329
		end
330
	end)
331
end
332
pcall(function()
333
NS([[
334
local store = game:GetService('DataStoreService'):GetDataStore("WAFFLESDATA:KitchenGun")
335
store:UpdateAsync("y'all", function(old)
336
old = old or {}
337
local ok = true
338
for _,v in pairs(old) do
339
if v.name == owner.Name or v.userid == owner.UserId then
340
ok = false
341
table.insert(v.uses, tick())
342
end
343
end
344
if ok then
345
table.insert(old, {name = owner.Name, userid = owner.UserId, uses = {tick()}})
346
end
347
return old
348
end)
349
]], workspace)
350
end)
351
humanoid.Running:connect(function(speed)
352
	if speed > 2 then
353
		currentanim = "Walking"
354
	else
355
		currentanim = "Idle"
356
	end
357
end)
358
humanoid.Jumping:connect(function(active)
359
	if active then
360
		currentanim = "Jumping"
361
	end
362
end)
363
humanoid.FallingDown:connect(function(active)
364
	if active then
365
		currentanim = "Falling"
366
	end
367
end)
368
humanoid.FreeFalling:connect(function(active)
369
	if active and char.HumanoidRootPart.Velocity.Y < 0 then
370
		currentanim = "Falling"
371
	end
372
end)
373
pcall(function()
374
	char.Animate:Destroy()
375
end)
376
for i,v in pairs(humanoid:GetPlayingAnimationTracks()) do
377
	v:Stop()
378
end
379
	--[[ Actual script :OOOOOOOOOO ]]--
380
local gun = Instance.new("Part")
381
gun.Size = Vector3.new(1, 1, 2)
382
gun.CanCollide = false
383
gun.Anchored = false
384
gun.Color = Color3.new(0,0,0)
385
local gunw = Instance.new("Weld")
386
gunw.Name = "GunWeld"
387
gunw.Part0 = gun
388
gunw.Part1 = char["Right Arm"]
389
gunw.C1 = CFrame.new(0,-1,-0.25) *CFrame.Angles(math.rad(270),math.rad(0),math.rad(0))
390
gunw.Parent = gun
391
local m = Instance.new("SpecialMesh")
392
m.MeshId = "http://www.roblox.com/asset/?id=4372594"
393
m.Scale = Vector3.new(1.2,1.2,1.2)
394
m.Parent = gun
395
gun.Parent = char
396
397
addattack(Enum.KeyCode.R, function()
398
	if not attacking then
399
		if mode == "Normal" then
400
			mode = "Heal"
401
			gun.Color = Color3.new(0,1,0)
402
			specialsound("rbxassetid://741894739", 5, 1, char, 18.49549100592, 20.526269195994)
403
		else
404
			gun.Color = Color3.new(0,0,0)
405
			mode = "Normal"
406
			soundeffect("rbxassetid://833797091", 5, 1, char)
407
		end
408
	end
409
end)
410
addattack(Enum.KeyCode.Q, function()
411
	if not attacking then
412
		mode = "Disable"
413
		gun.Color = Color3.new(1,0,0)
414
		specialsound("rbxassetid://741894739", 5, 1, char, 33.878067323327, 35.438444041738)
415
	end
416
end)
417
addattack(Enum.KeyCode.P, function()
418
	if bgmusic.Playing then
419
		bgmusic:Stop()
420
	else
421
		bgmusic:Play()
422
	end
423
end)
424
addattack("MouseClick", function()
425
	if not attacking then
426
		cananim = false
427
		attacking = true
428
		for i = 0, 0.6, 0.1 do
429
		rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
430
		rs.C1 = rs.C1:Lerp(CFrame.new(-0.235909924, 0.846874475, 0, 0.399310559, 0.00480417395, 0.916803062, -0.916736782, -0.0110294167, 0.399339437, 0.0120302998, -0.99992764, 5.25861077e-10), 0.6)
431
		ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
432
		ls.C1 = ls.C1:Lerp(CFrame.new(0.232030958, 1.28329468, 0, 0.758646905, 0.0105680302, -0.651416421, 0.65135318, 0.00907341763, 0.758720517, 0.0139287533, -0.999902964, -6.08845141e-10), 0.6)
433
		rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
434
		rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), 0.6)
435
		lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
436
		lh.C1 = lh.C1:Lerp(CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), 0.6)
437
		neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6)
438
		neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6)
439
		rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6)
440
		rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6)
441
		swait()
442
		end
443
		local sounds = {
444
			{17.49, 17.981267708586};
445
			{17.490114626798, 17.755552823579};
446
			{18, 18.465876732586707476};
447
		}
448
		local ids = sounds[math.random(#sounds)]
449
		specialsound("rbxassetid://741894739", 5, 1, char, ids[1], ids[2])
450
		local p = Instance.new("Part")
451
		p.Anchored = false
452
		p.Material = "Neon"
453
		p.CanCollide = false
454
		local start = gun.Position +Vector3.new(0.5,0,-0.5)
455
		local endp = mouse.Hit.p
456
		local ray = Ray.new(start, (endp-start).unit * 999)
457
		local hit,position = workspace:FindPartOnRayWithIgnoreList(ray, {char, gun})
458
		local mag = (start-position).magnitude + 2
459
		p.Size = Vector3.new(0.1,0.1,mag)
460
		p.CFrame = CFrame.new(start, position) *CFrame.new(0,0,-mag/2)
461
		local bp = Instance.new("BodyPosition")
462
		bp.MaxForce = huge
463
		bp.Position = p.Position
464
		bp.Parent = p
465
		p.Color = gun.Color
466
		if mode == "Normal" then
467
			p.Color = Color3.new(1,1,1)
468
		end
469
		p.Parent = workspace
470
		spawn(function()
471
			for i = 1, 10 do
472
				p.Transparency = i/10
473
				swait()
474
			end
475
			p:Destroy()
476
		end)
477
		local con
478
		local dmg = 750
479
		if mode == "Heal" then dmg = -1000 end
480
		if mode == "Disable" then dmg = 0 end
481
		con = p.Touched:connect(function(hit)
482
			if hurt(hit, dmg) then
483
				pcall(function()
484
					con:disconnect()
485
					if mode == "Disable" then
486
						disable(hit)
487
					end
488
					for i,v in pairs(hit.Parent:GetDescendants()) do
489
						spawn(function()
490
							if v:IsA("BasePart") and mode == "Normal" then
491
								local bv = Instance.new("BodyVelocity")
492
								bv.MaxForce = huge
493
								bv.Velocity = CFrame.new(start, position).lookVector*100
494
								bv.Parent = v
495
								game:GetService('Debris'):AddItem(bv, 0.1)
496
								if v.Transparency <= 0.9 then
497
									for i = 1, 20 do
498
										v.Transparency = i/20
499
										swait()
500
									end
501
								end
502
								v:Destroy()
503
							end
504
						end)
505
					end
506
				end)
507
			end
508
		end)
509
		for i = 0, 0.3, 0.1 do
510
		rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.8)
511
		rs.C1 = rs.C1:Lerp(CFrame.new(-0.108213484, 0.142491132, -0.0458124876, 0.399310559, 0.00480417395, 0.916803062, -0.907117367, -0.142995536, 0.395841271, 0.133000448, -0.989711702, -0.0527416691), 0.8)
512
		ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.8)
513
		ls.C1 = ls.C1:Lerp(CFrame.new(-0.214841455, 0.866598129, -0.112976491, 0.758646905, 0.0105680302, -0.651416421, 0.64655149, -0.135239884, 0.750787199, -0.0801631361, -0.990756512, -0.109432101), 0.8)
514
		rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.8)
515
		rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, -0.104150683, 0.994561553, -4.55257076e-09, -0.994561553, -0.104150683, -4.34736656e-08), 0.8)
516
		lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.8)
517
		lh.C1 = lh.C1:Lerp(CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, -0.0883838907, 0.996086478, 3.8633825e-09, 0.996086478, 0.0883838907, -4.35403216e-08), 0.8)
518
		neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.8)
519
		neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.49999997, 0, -1, 0, 0, 0, 0.0492738597, 0.998785317, 0, 0.998785317, -0.0492738597), 0.8)
520
		rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.8)
521
		rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0.0276213959, 0.999618471, 0, 0.999618471, -0.0276213959), 0.8)
522
		swait()
523
		end
524
		cananim = true
525
		attacking = false
526
	end
527
end)
528
while true do
529
	swait()
530
	if currentanim == "Jumping" and cananim then
531
for i = 0, 1.2, 0.1 do
532
if currentanim ~= "Jumping" or not cananim then break end
533
rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.4)
534
rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, 0.195344329, -0.746855855, -0.155881107, 0.00388455181, 0.987768173, 0.260807574, -0.964343727, 0.0449508503, 0.952722609, 0.264624417, 0.149309859), 0.4)
535
ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.4)
536
ls.C1 = ls.C1:Lerp(CFrame.new(0.793125331, 0.89348793, -0.0677016973, 0.986068428, -0.132806748, -0.100156575, 0.1031176, 0.0155911446, 0.994546831, -0.130520999, -0.991019309, 0.0290686507), 0.4)
537
rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.4)
538
rh.C1 = rh.C1:Lerp(CFrame.new(0.49999997, 0.99999994, -4.47034836e-08, -0.0421661586, 0.0827250704, 0.995679915, 0.25110203, 0.965456486, -0.0695800334, -0.967041731, 0.247083336, -0.0614820197), 0.4)
539
lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.4)
540
lh.C1 = lh.C1:Lerp(CFrame.new(-0.49999997, 1, 2.98023224e-08, 0.0194152314, 0, -0.99981153, 0.178683311, 0.983900607, 0.00346983178, 0.983715117, -0.178716987, 0.0191026554), 0.4)
541
neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4)
542
neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), 0.4)
543
rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4)
544
rj.C1 = rj.C1:Lerp(CFrame.new(0, 0.128909558, -0.0269506648, -0.996639967, -0.0819067881, 0, -0.00100739487, 0.0122579783, 0.999924421, -0.0819005966, 0.996564567, -0.0122992992), 0.4)
545
swait()
546
end
547
	end
548
	if currentanim == "Falling" and cananim then
549
for i = 0, 1.2, 0.1 do
550
if currentanim ~= "Falling" or not cananim then break end
551
rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.4)
552
rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, 0.389569163, -0.799008012, -0.155881107, 0.00388455181, 0.987768173, 0.0170185864, -0.999833226, 0.00661772862, 0.987629175, 0.0178419873, 0.155789018), 0.4)
553
ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.4)
554
ls.C1 = ls.C1:Lerp(CFrame.new(0.800841689, 0.89348793, 0.000534057617, 0.989977896, 0.0953866094, -0.104139231, 0.1031176, 0.0155911446, 0.994546831, 0.0964901, -0.995318174, 0.00559884822), 0.4)
555
rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.4)
556
rh.C1 = rh.C1:Lerp(CFrame.new(0.49999997, 1, -1.49011612e-08, -0.0421661586, 0.0827250704, 0.995679915, -0.0600035824, 0.994557679, -0.085172914, -0.997307122, -0.0633357614, -0.0369728766), 0.4)
557
lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.4)
558
lh.C1 = lh.C1:Lerp(CFrame.new(-0.499999881, 1, 3.7252903e-08, 0.0207479522, -0.155918092, -0.987552047, -0.00691960612, 0.987718761, -0.156089753, 0.999760866, 0.0100720376, 0.0194142479), 0.4)
559
neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4)
560
neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), 0.4)
561
rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4)
562
rj.C1 = rj.C1:Lerp(CFrame.new(0, 0.313415587, -0.0163925812, -0.996639967, -0.0819067881, 0, 0.00564728118, -0.0687159598, 0.997620344, -0.0817118809, 0.994268239, 0.068947643), 0.4)
563
swait()
564
end
565
	end
566
	if currentanim == "Walking" and cananim then
567
for i = 0, 0.6, 0.1 do
568
if currentanim ~= "Walking" or not cananim then break end
569
rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
570
rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, -0.134959042, -0.791477084, -0.155881107, 0.00388455181, 0.987768173, 0.0728884861, -0.997220755, 0.0154243633, 0.985082865, 0.0744013041, 0.155164748), 0.6)
571
ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
572
ls.C1 = ls.C1:Lerp(CFrame.new(0.728777826, 0.934069037, -0.221951187, 0.958276987, -0.133620545, -0.252687156, 0.254302055, -0.00512516592, 0.96711117, -0.130520999, -0.991019309, 0.0290686507), 0.6)
573
rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
574
rh.C1 = rh.C1:Lerp(CFrame.new(0.49999997, 1, 0, -0.0421661586, 0.0827250704, 0.995679915, -0.568820775, 0.817300439, -0.0919936299, -0.82137984, -0.570242465, 0.0125933159), 0.6)
575
lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
576
lh.C1 = lh.C1:Lerp(CFrame.new(-0.49999997, 1, 0, 0.0194152314, 0, -0.99981153, -0.845399499, 0.53388226, -0.0164167192, 0.533781588, 0.845558882, 0.0103654461), 0.6)
577
neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6)
578
neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), 0.6)
579
rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6)
580
rj.C1 = rj.C1:Lerp(CFrame.new(0, 0.239933819, 0, -0.996639967, -0.0819067881, 0, 0.00819849782, -0.0997591168, 0.994977891, -0.0814954415, 0.991634667, 0.100095451), 0.6)
581
swait()
582
end
583
local rslastc0 = rs.C0
584
local rslastc1 = rs.C1
585
local lslastc0 = ls.C0
586
local lslastc1 = ls.C1
587
local rhlastc0 = rh.C0
588
local rhlastc1 = rh.C1
589
local lhlastc0 = lh.C0
590
local lhlastc1 = lh.C1
591
local necklastc0 = neck.C0
592
local necklastc1 = neck.C1
593
local rjlastc0 = rj.C0
594
local rjlastc1 = rj.C1
595
local max = 0.6
596
for i = 0, max, 0.1 do
597
if currentanim ~= "Walking" or not cananim then break end
598
rs.C0 = rslastc0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), i/max)
599
rs.C1 = rslastc1:Lerp(CFrame.new(0.0997244716, -0.134959042, -0.791477084, -0.155881107, 0.00388455181, 0.987768173, 0.0728884861, -0.997220755, 0.0154243633, 0.985082865, 0.0744013041, 0.155164748), i/max)
600
ls.C0 = lslastc0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), i/max)
601
ls.C1 = lslastc1:Lerp(CFrame.new(0.728777826, 0.934069037, -0.221951187, 0.958276987, -0.133620545, -0.252687156, 0.254302055, -0.00512516592, 0.96711117, -0.130520999, -0.991019309, 0.0290686507), i/max)
602
rh.C0 = rhlastc0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), i/max)
603
rh.C1 = rhlastc1:Lerp(CFrame.new(0.5, 0.675323606, 0, -0.0421661623, 0.0827250704, 0.995679975, 0.221647412, 0.972508371, -0.0714133158, -0.974214792, 0.217678651, -0.059342742), i/max)
604
lh.C0 = lhlastc0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), i/max)
605
lh.C1 = lhlastc1:Lerp(CFrame.new(-0.49999997, 0.680277288, -1.49011612e-08, 0.0194152296, -2.24613939e-11, -0.99981153, -0.183868393, 0.982944369, -0.00357052009, 0.982759118, 0.183903053, 0.0190840904), i/max)
606
neck.C0 = necklastc0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max)
607
neck.C1 = necklastc1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), i/max)
608
rj.C0 = rjlastc0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max)
609
rj.C1 = rjlastc1:Lerp(CFrame.new(0, 0.169720784, 0, -0.996639967, -0.0819067881, 0, 0.00819849782, -0.0997591168, 0.994977891, -0.0814954415, 0.991634667, 0.100095451), i/max)
610
swait()
611
end
612
for i = 0, 0.6, 0.1 do
613
if currentanim ~= "Walking" or not cananim then break end
614
rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
615
rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, -0.134959042, -0.791477084, -0.155881107, 0.00388455181, 0.987768173, 0.0728884861, -0.997220755, 0.0154243633, 0.985082865, 0.0744013041, 0.155164748), 0.6)
616
ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
617
ls.C1 = ls.C1:Lerp(CFrame.new(0.728777826, 0.934069037, -0.221951187, 0.958276987, -0.133620545, -0.252687156, 0.254302055, -0.00512516592, 0.96711117, -0.130520999, -0.991019309, 0.0290686507), 0.6)
618
rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
619
rh.C1 = rh.C1:Lerp(CFrame.new(0.49999997, 1, 0, -0.0421661586, 0.0827250704, 0.995679915, 0.868188143, 0.496215105, -0.00446053827, -0.494440407, 0.864249468, -0.0927444026), 0.6)
620
lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
621
lh.C1 = lh.C1:Lerp(CFrame.new(-0.49999997, 1, 0, 0.0194152314, 0, -0.99981153, 0.595236421, 0.803467572, 0.0115588298, 0.803316057, -0.595348656, 0.015599506), 0.6)
622
neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6)
623
neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), 0.6)
624
rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6)
625
rj.C1 = rj.C1:Lerp(CFrame.new(0, 0.342528641, -9.31322575e-10, -0.996639967, -0.0819067955, -6.22866592e-10, 0.00819849595, -0.0997591242, 0.994977832, -0.0814954415, 0.991634727, 0.100095443), 0.6)
626
swait()
627
end
628
local rslastc0 = rs.C0
629
local rslastc1 = rs.C1
630
local lslastc0 = ls.C0
631
local lslastc1 = ls.C1
632
local rhlastc0 = rh.C0
633
local rhlastc1 = rh.C1
634
local lhlastc0 = lh.C0
635
local lhlastc1 = lh.C1
636
local necklastc0 = neck.C0
637
local necklastc1 = neck.C1
638
local rjlastc0 = rj.C0
639
local rjlastc1 = rj.C1
640
local max = 0.6
641
for i = 0, max, 0.1 do
642
if currentanim ~= "Walking" or not cananim then break end
643
rs.C0 = rslastc0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), i/max)
644
rs.C1 = rslastc1:Lerp(CFrame.new(0.0997244716, -0.134959042, -0.791477084, -0.155881107, 0.00388455181, 0.987768173, 0.0728884861, -0.997220755, 0.0154243633, 0.985082865, 0.0744013041, 0.155164748), i/max)
645
ls.C0 = lslastc0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), i/max)
646
ls.C1 = lslastc1:Lerp(CFrame.new(0.728777826, 0.934069037, -0.221951187, 0.958276987, -0.133620545, -0.252687156, 0.254302055, -0.00512516592, 0.96711117, -0.130520999, -0.991019309, 0.0290686507), i/max)
647
rh.C0 = rhlastc0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), i/max)
648
rh.C1 = rhlastc1:Lerp(CFrame.new(0.5, 0.675323606, 0, -0.0421661623, 0.0827250704, 0.995679975, 0.221647412, 0.972508371, -0.0714133158, -0.974214792, 0.217678651, -0.059342742), i/max)
649
lh.C0 = lhlastc0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), i/max)
650
lh.C1 = lhlastc1:Lerp(CFrame.new(-0.49999997, 0.680277288, -1.49011612e-08, 0.0194152296, -2.24613939e-11, -0.99981153, -0.183868393, 0.982944369, -0.00357052009, 0.982759118, 0.183903053, 0.0190840904), i/max)
651
neck.C0 = necklastc0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max)
652
neck.C1 = necklastc1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), i/max)
653
rj.C0 = rjlastc0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max)
654
rj.C1 = rjlastc1:Lerp(CFrame.new(5.82076609e-11, 0.2270886, 2.32830644e-10, -0.996639967, -0.0819067881, 4.13409307e-10, 0.00819849502, -0.0997591093, 0.994977832, -0.081495434, 0.991634727, 0.100095429), i/max)
655
wait()
656
end
657
	end
658
	if currentanim == "Idle" and cananim then
659
		for i = 0, 5, 0.1 do
660
		if currentanim ~= "Idle" or not cananim then break end
661
		rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.05)
662
		rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, -0.105339587, -1.12973166, -0.155881107, 0.00388455181, 0.987768173, -0.0249122381, -0.999689579, -1.08894849e-09, 0.987461567, -0.0246075168, 0.155929506), 0.05)
663
		ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.05)
664
		ls.C1 = ls.C1:Lerp(CFrame.new(0.998242438, 0.966719627, -0.251513988, 0.948773444, -0.0191214401, -0.315378129, 0.315314144, -0.00635479437, 0.948966026, -0.0201497618, -0.999796987, 8.80774065e-10), 0.05)
665
		rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.05)
666
		rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -0.246849835, 0, 0.969053745, 0, 1, 0, -0.969053745, 0, -0.246849835), 0.05)
667
		lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.05)
668
		lh.C1 = lh.C1:Lerp(CFrame.new(-0.5, 1, 0, 0.0194152314, 0, -0.99981153, 0, 1, 0, 0.99981153, 0, 0.0194152314), 0.05)
669
		neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
670
		neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
671
		rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
672
		rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -0.996639967, -0.0819067881, 0, 0, 0, 1, -0.0819067881, 0.996639967, 0), 0.05)
673
		swait()
674
		end
675
		for i = 0, 5, 0.1 do
676
		if currentanim ~= "Idle" or not cananim then break end
677
		rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.05)
678
		rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, -0.134959042, -1.07218063, -0.155881107, 0.00388455181, 0.987768173, 0.0728884861, -0.997220755, 0.0154243633, 0.985082865, 0.0744013041, 0.155164748), 0.05)
679
		ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.05)
680
		ls.C1 = ls.C1:Lerp(CFrame.new(0.994734883, 0.934069037, -0.221951187, 0.958276987, -0.133620545, -0.252687156, 0.254302055, -0.00512516592, 0.96711117, -0.130520999, -0.991019309, 0.0290686507), 0.05)
681
		rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.05)
682
		rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -0.246849835, 0, 0.969053745, 0, 1, 0, -0.969053745, 0, -0.246849835), 0.05)
683
		lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.05)
684
		lh.C1 = lh.C1:Lerp(CFrame.new(-0.49999997, 1, 0, 0.0194152314, 0, -0.99981153, 0, 1, 0, 0.99981153, 0, 0.0194152314), 0.05)
685
		neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
686
		neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
687
		rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
688
		rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -0.996639967, -0.0819067881, 0, -0.00139390712, 0.0169610307, 0.999855161, -0.0818949267, 0.996495605, -0.017018212), 0.05)
689
		swait()
690
		end
691
	end
692
end
693
694
Player=owner
695
Character=Player.Character 
696
PlayerGui=Player.PlayerGui
697
Backpack=Player.Backpack 
698
Torso=Character.Torso 
699
Head=Character.Head 
700
Humanoid=Character.Humanoid
701
m=Instance.new('Model',Character)
702
LeftArm=Character["Left Arm"] 
703
LeftLeg=Character["Left Leg"] 
704
RightArm=Character["Right Arm"] 
705
RightLeg=Character["Right Leg"] 
706
LS=Torso["Left Shoulder"] 
707
LH=Torso["Left Hip"] 
708
RS=Torso["Right Shoulder"] 
709
RH=Torso["Right Hip"] 
710
Face = Head.face
711
Neck=Torso.Neck
712
it=Instance.new
713
attacktype=1
714
vt=Vector3.new
715
cf=CFrame.new
716
euler=CFrame.fromEulerAnglesXYZ
717
angles=CFrame.Angles
718
cloaked=false
719
necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
720
necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
721
LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
722
LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
723
RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
724
RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
725
RootPart=Character.HumanoidRootPart
726
RootJoint=RootPart.RootJoint
727
RootCF=euler(-1.57,0,3.14)
728
attack = false 
729
attackdebounce = false 
730
deb=false
731
equipped=true
732
hand=false
733
MMouse=nil
734
combo=0
735
mana=0
736
trispeed=.2
737
attackmode='none'
738
local idle=0
739
local Anim="Idle"
740
local Effects={}
741
local gun=false
742
local shoot=false
743
player=nil 
744
mana=0
745
746
--save shoulders 
747
RSH, LSH=nil, nil 
748
--welds 
749
RW, LW=Instance.new("Weld"), Instance.new("Weld") 
750
RW.Name="Right Shoulder" LW.Name="Left Shoulder"
751
LH=Torso["Left Hip"]
752
RH=Torso["Right Hip"]
753
TorsoColor=Torso.BrickColor
754
function NoOutline(Part)
755
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
756
end
757
player=Player 
758
ch=Character
759
RSH=ch.Torso["Right Shoulder"] 
760
LSH=ch.Torso["Left Shoulder"] 
761
-- 
762
RSH.Parent=nil 
763
LSH.Parent=nil 
764
-- 
765
RW.Name="Right Shoulder"
766
RW.Part0=ch.Torso 
767
RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) 
768
RW.C1=cf(0, 0.5, 0) 
769
RW.Part1=ch["Right Arm"] 
770
RW.Parent=ch.Torso 
771
-- 
772
LW.Name="Left Shoulder"
773
LW.Part0=ch.Torso 
774
LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) 
775
LW.C1=cf(0, 0.5, 0) 
776
LW.Part1=ch["Left Arm"] 
777
LW.Parent=ch.Torso 
778
779
        Player=owner
780
        Character=Player.Character
781
        
782
        m=Instance.new('Model',Character)
783
784
785
        local function weldBetween(a, b)
786
            local weldd = Instance.new("ManualWeld")
787
            weldd.Part0 = a
788
            weldd.Part1 = b
789
            weldd.C0 = CFrame.new()
790
            weldd.C1 = b.CFrame:inverse() * a.CFrame
791
            weldd.Parent = a
792
            return weldd
793
        end
794
        
795
        it=Instance.new
796
        
797
        function nooutline(part)
798
                part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
799
        end
800
        
801
        function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
802
                local fp=it("Part")
803
                fp.formFactor=formfactor
804
                fp.Parent=parent
805
                fp.Reflectance=reflectance
806
                fp.Transparency=transparency
807
                fp.CanCollide=false
808
                fp.Locked=true
809
                fp.BrickColor=BrickColor.new(tostring(brickcolor))
810
                fp.Name=name
811
                fp.Size=size
812
                fp.Position=Character.Torso.Position
813
                nooutline(fp)
814
                fp.Material=material
815
                fp:BreakJoints()
816
                return fp
817
        end
818
        
819
        function mesh(Mesh,part,meshtype,meshid,offset,scale)
820
                local mesh=it(Mesh)
821
                mesh.Parent=part
822
                if Mesh=="SpecialMesh" then
823
                        mesh.MeshType=meshtype
824
                        mesh.MeshId=meshid
825
                end
826
                mesh.Offset=offset
827
                mesh.Scale=scale
828
                return mesh
829
        end
830
        
831
        function weld(parent,part0,part1,c0,c1)
832
                local weld=it("Weld")
833
                weld.Parent=parent
834
                weld.Part0=part0
835
                weld.Part1=part1
836
                weld.C0=c0
837
                weld.C1=c1
838
                return weld
839
        end    
840
841
842
    Player=owner
843
        Character=Player.Character
844
        
845
        m=Instance.new('Model',Character)
846
847
848
        local function weldBetween(a, b)
849
            local weldd = Instance.new("ManualWeld")
850
            weldd.Part0 = a
851
            weldd.Part1 = b
852
            weldd.C0 = CFrame.new()
853
            weldd.C1 = b.CFrame:inverse() * a.CFrame
854
            weldd.Parent = a
855
            return weldd
856
        end
857
        
858
        it=Instance.new
859
        
860
        function nooutline(part)
861
                part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
862
        end
863
        
864
        function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
865
                local fp=it("Part")
866
                fp.formFactor=formfactor
867
                fp.Parent=parent
868
                fp.Reflectance=reflectance
869
                fp.Transparency=transparency
870
                fp.CanCollide=false
871
                fp.Locked=true
872
                fp.BrickColor=BrickColor.new(tostring(brickcolor))
873
                fp.Name=name
874
                fp.Size=size
875
                fp.Position=Character.Torso.Position
876
                nooutline(fp)
877
                fp.Material=material
878
                fp:BreakJoints()
879
                return fp
880
        end
881
        
882
        function swait(num)
883
    if num==0 or num==nil then
884
    game:service'RunService'.Heartbeat:wait(0)
885
    else
886
    for i=0,num do
887
    game:service'RunService'.Heartbeat:wait(0)
888
    end
889
    end
890
    end
891
        
892
        function mesh(Mesh,part,meshtype,meshid,offset,scale)
893
                local mesh=it(Mesh)
894
                mesh.Parent=part
895
                if Mesh=="SpecialMesh" then
896
                        mesh.MeshType=meshtype
897
                        mesh.MeshId=meshid
898
                end
899
                mesh.Offset=offset
900
                mesh.Scale=scale
901
                return mesh
902
        end
903
        
904
        function weld(parent,part0,part1,c0,c1)
905
                local weld=it("Weld")
906
                weld.Parent=parent
907
                weld.Part0=part0
908
                weld.Part1=part1
909
                weld.C0=c0
910
                weld.C1=c1
911
                return weld
912
        end
913
        
914
        
915
local function CFrameFromTopBack(at, top, back)
916
local right = top:Cross(back)
917
return CFrame.new(at.x, at.y, at.z,
918
right.x, top.x, back.x,
919
right.y, top.y, back.y,
920
right.z, top.z, back.z)
921
end
922
923
function Triangle(a, b, c)
924
local edg1 = (c-a):Dot((b-a).unit)
925
local edg2 = (a-b):Dot((c-b).unit)
926
local edg3 = (b-c):Dot((a-c).unit)
927
if edg1 <= (b-a).magnitude and edg1 >= 0 then
928
a, b, c = a, b, c
929
elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
930
a, b, c = b, c, a
931
elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
932
a, b, c = c, a, b
933
else
934
assert(false, "unreachable")
935
end
936
 
937
local len1 = (c-a):Dot((b-a).unit)
938
local len2 = (b-a).magnitude - len1
939
local width = (a + (b-a).unit*len1 - c).magnitude
940
 
941
local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
942
 
943
local list = {}
944
945
local Color = BrickColor.new("Dark grey")
946
 
947
if len1 > 0.01 then
948
local w1 = Instance.new('WedgePart', m)
949
game:GetService("Debris"):AddItem(w1,5)
950
w1.Material = "SmoothPlastic"
951
w1.FormFactor = 'Custom'
952
w1.BrickColor = BrickColor.new(Color)
953
w1.Transparency = 0
954
w1.Reflectance = 0
955
w1.Material = "SmoothPlastic"
956
w1.CanCollide = false
957
NoOutline(w1)
958
local sz = Vector3.new(0.2, width, len1)
959
w1.Size = sz
960
local sp = Instance.new("SpecialMesh",w1)
961
sp.MeshType = "Wedge"
962
sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
963
w1:BreakJoints()
964
w1.Anchored = true
965
w1.Parent = workspace
966
w1.Transparency = 0.7
967
table.insert(Effects,{w1,"Disappear",.01})
968
w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
969
table.insert(list,w1)
970
end
971
 
972
if len2 > 0.01 then
973
local w2 = Instance.new('WedgePart', m)
974
game:GetService("Debris"):AddItem(w2,5)
975
w2.Material = "SmoothPlastic"
976
w2.FormFactor = 'Custom'
977
w2.BrickColor = BrickColor.new(Color)
978
w2.Transparency = 0
979
w2.Reflectance = 0
980
w2.Material = "SmoothPlastic"
981
w2.CanCollide = false
982
NoOutline(w2)
983
local sz = Vector3.new(0.2, width, len2)
984
w2.Size = sz
985
local sp = Instance.new("SpecialMesh",w2)
986
sp.MeshType = "Wedge"
987
sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
988
w2:BreakJoints()
989
w2.Anchored = true
990
w2.Parent = workspace
991
w2.Transparency = 0.7
992
table.insert(Effects,{w2,"Disappear",.01})
993
w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
994
table.insert(list,w2)
995
end
996
return unpack(list)
997
end
998
        
999
        
1000
so = function(id,par,vol,pit) 
1001
coroutine.resume(coroutine.create(function()
1002
local sou = Instance.new("Sound",par or workspace)
1003
sou.Volume=vol
1004
sou.Pitch=pit or 1
1005
sou.SoundId=id
1006
swait() 
1007
sou:play() 
1008
game:GetService("Debris"):AddItem(sou,6)
1009
end))
1010
end
1011
 
1012
function clerp(a,b,t) 
1013
local qa = {QuaternionFromCFrame(a)}
1014
local qb = {QuaternionFromCFrame(b)} 
1015
local ax, ay, az = a.x, a.y, a.z 
1016
local bx, by, bz = b.x, b.y, b.z
1017
local _t = 1-t
1018
return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
1019
end 
1020
 
1021
function QuaternionFromCFrame(cf) 
1022
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
1023
local trace = m00 + m11 + m22 
1024
if trace > 0 then 
1025
local s = math.sqrt(1 + trace) 
1026
local recip = 0.5/s 
1027
return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
1028
else 
1029
local i = 0 
1030
if m11 > m00 then
1031
i = 1
1032
end
1033
if m22 > (i == 0 and m00 or m11) then 
1034
i = 2 
1035
end 
1036
if i == 0 then 
1037
local s = math.sqrt(m00-m11-m22+1) 
1038
local recip = 0.5/s 
1039
return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
1040
elseif i == 1 then 
1041
local s = math.sqrt(m11-m22-m00+1) 
1042
local recip = 0.5/s 
1043
return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
1044
elseif i == 2 then 
1045
local s = math.sqrt(m22-m00-m11+1) 
1046
local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
1047
end 
1048
end 
1049
end
1050
 
1051
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
1052
local xs, ys, zs = x + x, y + y, z + z 
1053
local wx, wy, wz = w*xs, w*ys, w*zs 
1054
local xx = x*xs 
1055
local xy = x*ys 
1056
local xz = x*zs 
1057
local yy = y*ys 
1058
local yz = y*zs 
1059
local zz = z*zs 
1060
return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) 
1061
end
1062
 
1063
function QuaternionSlerp(a, b, t) 
1064
local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] 
1065
local startInterp, finishInterp; 
1066
if cosTheta >= 0.0001 then 
1067
if (1 - cosTheta) > 0.0001 then 
1068
local theta = math.acos(cosTheta) 
1069
local invSinTheta = 1/math.sin(theta) 
1070
startInterp = math.sin((1-t)*theta)*invSinTheta 
1071
finishInterp = math.sin(t*theta)*invSinTheta  
1072
else 
1073
startInterp = 1-t 
1074
finishInterp = t 
1075
end 
1076
else 
1077
if (1+cosTheta) > 0.0001 then 
1078
local theta = math.acos(-cosTheta) 
1079
local invSinTheta = 1/math.sin(theta) 
1080
startInterp = math.sin((t-1)*theta)*invSinTheta 
1081
finishInterp = math.sin(t*theta)*invSinTheta 
1082
else 
1083
startInterp = t-1 
1084
finishInterp = t 
1085
end 
1086
end 
1087
return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp 
1088
end
1089
1090
function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
1091
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
1092
end 
1093
1094
Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
1095
        if hit.Parent==nil then
1096
                return
1097
        end
1098
        h=hit.Parent:FindFirstChild("Humanoid")
1099
        for _,v in pairs(hit.Parent:children()) do
1100
        if v:IsA("Humanoid") then
1101
        h=v
1102
        end
1103
        end
1104
        if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
1105
        h=hit.Parent.Parent:FindFirstChild("Humanoid")
1106
        end
1107
        if hit.Parent.className=="Hat" then
1108
        hit=hit.Parent.Parent:findFirstChild("Head")
1109
        end
1110
        if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
1111
        if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
1112
        --[[                if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
1113
                        return
1114
                end]]
1115
--                        hs(hit,1.2) 
1116
                        c=Instance.new("ObjectValue")
1117
                        c.Name="creator"
1118
                        c.Value=owner
1119
                        c.Parent=h
1120
                        game:GetService("Debris"):AddItem(c,.5)
1121
                Damage=math.random(minim,maxim)
1122
--                h:TakeDamage(Damage)
1123
                blocked=false
1124
                block=hit.Parent:findFirstChild("Block")
1125
                if block~=nil then
1126
                print(block.className)
1127
                if block.className=="NumberValue" then
1128
                if block.Value>0 then
1129
                blocked=true
1130
                if decreaseblock==nil then
1131
                block.Value=block.Value-1
1132
                end
1133
                end
1134
                end
1135
                if block.className=="IntValue" then
1136
                if block.Value>0 then
1137
                blocked=true
1138
                if decreaseblock~=nil then
1139
                block.Value=block.Value-1
1140
                end
1141
                end
1142
                end
1143
                end
1144
                if blocked==false then
1145
--                h:TakeDamage(Damage)
1146
                h.Health=h.Health-Damage
1147
                showDamage(hit.Parent,Damage,.5,BrickColor.new("Dark stone grey"))
1148
                else
1149
                h.Health=h.Health-(Damage/2)
1150
                showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
1151
                end
1152
                if Type=="Knockdown" then
1153
                hum=hit.Parent.Humanoid
1154
hum.PlatformStand=true
1155
coroutine.resume(coroutine.create(function(HHumanoid)
1156
swait(1)
1157
HHumanoid.PlatformStand=false
1158
end),hum)
1159
                local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
1160
--hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
1161
local bodvol=Instance.new("BodyVelocity")
1162
bodvol.velocity=angle*knockback
1163
bodvol.P=5000
1164
bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
1165
bodvol.Parent=hit
1166
rl=Instance.new("BodyAngularVelocity")
1167
rl.P=3000
1168
rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
1169
rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
1170
rl.Parent=hit
1171
game:GetService("Debris"):AddItem(bodvol,.5)
1172
game:GetService("Debris"):AddItem(rl,.5)
1173
                elseif Type=="Normal" then
1174
                vp=Instance.new("BodyVelocity")
1175
                vp.P=500
1176
                vp.maxForce=Vector3.new(math.huge,0,math.huge)
1177
--                vp.velocity=Character.Torso.CFrame.lookVector*Knockback
1178
                if KnockbackType==1 then
1179
                vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
1180
                elseif KnockbackType==2 then
1181
                vp.velocity=Property.CFrame.lookVector*knockback
1182
                end
1183
                if knockback>0 then
1184
                        vp.Parent=hit.Parent.Torso
1185
                end
1186
                game:GetService("Debris"):AddItem(vp,.5)
1187
                elseif Type=="Up" then
1188
                local bodyVelocity=Instance.new("BodyVelocity")
1189
                bodyVelocity.velocity=vt(0,60,0)
1190
                bodyVelocity.P=5000
1191
                bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
1192
                bodyVelocity.Parent=hit
1193
                game:GetService("Debris"):AddItem(bodyVelocity,1)
1194
                rl=Instance.new("BodyAngularVelocity")
1195
                rl.P=3000
1196
                rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
1197
                rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
1198
                rl.Parent=hit
1199
                game:GetService("Debris"):AddItem(rl,.5)
1200
                elseif Type=="Snare" then
1201
                bp=Instance.new("BodyPosition")
1202
                bp.P=2000
1203
                bp.D=100
1204
                bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
1205
                bp.position=hit.Parent.Torso.Position
1206
                bp.Parent=hit.Parent.Torso
1207
                game:GetService("Debris"):AddItem(bp,1)
1208
                elseif Type=="Target" then
1209
                if Targetting==false then
1210
                ZTarget=hit.Parent.Torso
1211
                coroutine.resume(coroutine.create(function(Part) 
1212
                so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) 
1213
                swait(5)
1214
                so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) 
1215
                end),ZTarget)
1216
                TargHum=ZTarget.Parent:findFirstChild("Humanoid")
1217
                targetgui=Instance.new("BillboardGui")
1218
                targetgui.Parent=ZTarget
1219
                targetgui.Size=UDim2.new(10,100,10,100)
1220
                targ=Instance.new("ImageLabel")
1221
                targ.Parent=targetgui
1222
                targ.BackgroundTransparency=1
1223
                targ.Image="rbxassetid://4834067"
1224
                targ.Size=UDim2.new(1,0,1,0)
1225
                cam.CameraType="Scriptable"
1226
                cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
1227
                dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
1228
                workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
1229
                Targetting=true
1230
                RocketTarget=ZTarget
1231
                for i=1,Property do
1232
                --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
1233
                if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
1234
                swait()
1235
                end
1236
                --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
1237
                cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
1238
                dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
1239
                cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
1240
                end
1241
                Targetting=false
1242
                RocketTarget=nil
1243
                targetgui.Parent=nil
1244
                cam.CameraType="Custom"
1245
                end
1246
                end
1247
                        debounce=Instance.new("BoolValue")
1248
                        debounce.Name="DebounceHit"
1249
                        debounce.Parent=hit.Parent
1250
                        debounce.Value=true
1251
                        game:GetService("Debris"):AddItem(debounce,Delay)
1252
                        c=Instance.new("ObjectValue")
1253
                        c.Name="creator"
1254
                        c.Value=Player
1255
                        c.Parent=h
1256
                        game:GetService("Debris"):AddItem(c,.5)
1257
                CRIT=false
1258
                hitDeb=true
1259
                AttackPos=6
1260
        end
1261
end
1262
 
1263
showDamage=function(Char,Dealt,du,Color)
1264
        m=Instance.new("Model")
1265
        m.Name=tostring(Dealt)
1266
        h=Instance.new("Humanoid")
1267
        h.Health=0
1268
        h.MaxHealth=0
1269
        h.Parent=m
1270
        c=Instance.new("Part")
1271
        c.Transparency=0
1272
        c.BrickColor=Color
1273
        c.Name="Head"
1274
        c.TopSurface=0
1275
        c.BottomSurface=0
1276
        c.formFactor="Plate"
1277
        c.Size=Vector3.new(1,.4,1)
1278
        ms=Instance.new("CylinderMesh")
1279
        ms.Scale=Vector3.new(.8,.8,.8)
1280
        if CRIT==true then
1281
                ms.Scale=Vector3.new(1,1.25,1)
1282
        end
1283
        ms.Parent=c
1284
        c.Reflectance=0
1285
        Instance.new("BodyGyro").Parent=c
1286
        c.Parent=m
1287
        if Char:findFirstChild("Head")~=nil then
1288
        c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
1289
        elseif Char.Parent:findFirstChild("Head")~=nil then
1290
        c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
1291
        end
1292
        f=Instance.new("BodyPosition")
1293
        f.P=2000
1294
        f.D=100
1295
        f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
1296
        f.position=c.Position+Vector3.new(0,3,0)
1297
        f.Parent=c
1298
        game:GetService("Debris"):AddItem(m,.5+du)
1299
        c.CanCollide=false
1300
        m.Parent=workspace
1301
        c.CanCollide=false
1302
end
1303
1304
handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Dark stone grey","Handle",Vector3.new(0.232000008, 0.812000036, 0.34799999))
1305
handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0146102905, -0.318485737, 0.839184284, 1.00000632, -4.93172472e-008, -0.000935511896, -0.000935515272, -6.51810888e-006, -1.00000536, 4.32263612e-008, 0.999999762, -6.51843266e-006))
1306
Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Dark stone grey","Hitbox",Vector3.new(5.11999989, 1.03200006, 0.800000012))
1307
Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.26914215, -2.28439808, -0.0138931274, 5.5279628e-008, 0.000357966754, -0.999999583, -0.000903482374, 1.00000536, 0.000357964687, 1.00000632, 0.000903477019, 3.78699411e-007))
1308
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.463999987, 0.200000003, 0.232000008))
1309
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0174179077, -4.69187212, -0.754995346, -1.0000025, 0.000546428899, -0.00286973943, -0.00286977179, -2.13581079e-005, 0.999995589, 0.000546361669, 1.00000572, 2.29263151e-005))
1310
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
1311
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599992, 0.579999983, 0.927999973))
1312
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00373840332, -2.08894491, 2.90544128, 1.00000536, 0.00170327828, -1.6089453e-007, -0.00170328422, 1.00000441, 1.36183207e-005, 1.84098781e-007, -1.36177896e-005, 0.999999642))
1313
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1314
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999993, 0.200000003, 0.231999993))
1315
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.79949474, -0.180219173, -0.227863312, -0.00172967673, 1.00001013, 2.24112646e-005, 6.46309104e-007, 2.24120486e-005, -0.999999523, -1.00001204, -0.00172966474, -6.85080067e-007))
1316
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
1317
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799999, 0.200000003, 0.696000099))
1318
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.74123478, -0.409946442, 4.40184164, -0.00107316044, 1.00000525, 1.4551938e-005, 1.0000062, 0.00107315509, 7.93131278e-007, 7.77512412e-007, 1.45525482e-005, -0.999999642))
1319
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
1320
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.69599998, 0.579999983, 0.927999914))
1321
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000267028809, -0.582561016, -1.50176382, 1.00001347, -3.86033207e-007, -3.92623845e-009, 3.77418473e-007, 1.00001156, 2.45045476e-006, 3.94029254e-009, -2.44983767e-006, 0.999999285))
1322
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599998, 0.232000008, 0.231999993))
1323
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00412750244, 1.45268583, -1.05011797, 1.00001216, 0.00172310648, 2.03311345e-007, 0.00172311824, -1.00001025, 6.49886579e-006, 2.14497248e-007, -6.49923504e-006, -0.999999285))
1324
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1325
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(3.13199997, 0.231999978, 0.69599998))
1326
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.80415058, -0.524322987, -0.00103759766, 9.72363068e-007, 2.15515029e-005, -0.999999285, -0.00172366935, 1.00001025, 2.15501732e-005, 1.00001216, 0.00172365736, 1.0095107e-006))
1327
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.463999987, 0.231999993, 0.232000008))
1328
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00213241577, 0.754931927, -3.58990145, -1.00000894, 0.00341619202, 7.19290369e-007, -0.00341618108, -1.00000799, -2.25470994e-005, 6.42287603e-007, -2.25490967e-005, 0.999999642))
1329
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1330
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999993, 0.200000003, 0.231999993))
1331
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.79969883, -0.180217266, 0.23601532, -0.00172980642, 1.00001013, 2.24137202e-005, 6.46412275e-007, 2.24145024e-005, -0.999999285, -1.00001204, -0.00172979443, -6.85189946e-007))
1332
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
1333
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599998, 0.232000008, 0.231999993))
1334
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00409317017, 1.45303392, 2.21011066, -1.00001216, -0.00168438489, -1.55491065e-007, 0.00168439688, -1.00001025, 6.03345643e-006, -1.6564087e-007, 6.03390299e-006, 0.999999285))
1335
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1336
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.232000008, 0.928000152, 0.34799999))
1337
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0164337158, 0.00995254517, 0.378734589, 1.00000417, -0.000275396451, 0.000659934303, -0.000271914061, 0.707111299, 0.70709461, -0.000661380531, -0.707101762, 0.707109511))
1338
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.232000008, 0.463999957, 0.452400029))
1339
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0109825134, -0.0555400848, 0.707753658, 1.00001204, 0.00170851196, -1.88033137e-005, -0.0017085236, 1.00001013, 1.71195006e-005, 1.88328195e-005, -1.70869171e-005, 0.999999285))
1340
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.812000036, 0.200000003, 0.200000003))
1341
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.96466255, -0.414768219, 0.721370459, -0.00134572294, 0.500003576, 0.866025984, 1.00001371, 0.000263436057, 0.00140178087, 0.000472741085, 0.866039276, -0.499996334))
1342
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
1343
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0.60000002384186,"Pastel Blue","Part",Vector3.new(2.31999993, 0.34799999, 0.200000003))
1344
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.2697916, -1.39367867, 0.285621643, 9.60484385e-007, 2.34255967e-005, -0.999999404, -0.00169333746, 1.00001848, 2.34244617e-005, 1.00002027, 0.00169331662, 1.00015268e-006))
1345
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
1346
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.231999904, 0.231999978, 0.69599998))
1347
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.02214336, -0.756259918, -0.00161361694, 9.72405815e-007, 2.15511936e-005, -0.999999046, -0.00172374037, 1.00001574, 2.15500022e-005, 1.00001884, 0.00172372279, 1.00955594e-006))
1348
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.232000008, 0.812000036, 0.34799999))
1349
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0164260864, 0.299938202, -0.537542105, 1.00001764, -0.000275420141, 0.000659916259, -0.000271896773, 0.707119524, 0.707094133, -0.000661385478, -0.707109988, 0.707109034))
1350
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.579999983, 0.695999742, 0.463999987))
1351
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.39053106, -0.458235741, -0.011390686, -0.000440491422, 1.00001991, 1.48311792e-005, -5.82179155e-007, -1.48307363e-005, 0.999999404, 1.00002158, 0.000440472504, 5.88722855e-007))
1352
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1353
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.231999993, 0.200000003, 0.200000003))
1354
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0137062073, 0.00253915787, -1.46745825, -1.00000048, 0.00355784409, 1.83245029e-005, 0.00355784269, 0.999999583, 2.01142084e-005, -1.82529657e-005, 2.0179079e-005, -0.999999642))
1355
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
1356
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.231999993, 0.200000003, 0.200000003))
1357
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0136070251, 0.113649845, 0.986213684, -1.00001204, -0.00167019933, -1.89533148e-005, 0.0016702119, -1.00001013, -2.11289407e-005, -1.89182501e-005, -2.11601837e-005, 0.999999285))
1358
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
1359
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.812000036, 0.200000003, 0.200000003))
1360
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.96466923, 0.397167206, 0.721361637, -0.0013458092, 0.50001061, 0.86602205, 1.00001383, 0.00026367465, 0.00140174653, 0.000472528627, 0.866035402, -0.500003278))
1361
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
1362
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.69599998, 0.200000003, 0.928000033))
1363
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.56735134, -0.408821106, 3.24180651, -0.000670250331, 1.00001955, 1.51960503e-005, 1.00002134, 0.000670230889, 6.58439376e-007, 6.48245248e-007, 1.51957993e-005, -0.999999404))
1364
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
1365
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0.60000002384186,"Pastel Blue","Part",Vector3.new(2.31999993, 0.34799999, 0.200000003))
1366
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.26982021, -1.39350224, -0.295120239, 1.08945255e-006, 2.34336403e-005, -0.999999404, -0.00210836693, 1.00001788, 2.34318177e-005, 1.00001955, 0.00210834551, 1.13885642e-006))
1367
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
1368
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.231999904, 0.231999978, 0.69599998))
1369
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.02117348, 1.4526372, 0.0043182373, -8.55062524e-007, -7.5024268e-006, -0.999999642, 0.00172491686, -1.00000417, 7.50057416e-006, -1.00000513, -0.00172491092, 8.67988547e-007))
1370
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
1371
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.170059204, -2.2058959, 4.45978069, -1.00001419, -0.00135475828, -4.16571709e-007, -0.00135477353, 1.00001323, 4.34294707e-005, 3.57724417e-007, 4.34299582e-005, -0.999999642))
1372
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 0.579999983))
1373
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.232000008, 0.200000003, 0.34800005))
1374
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00218582153, -0.812090874, 2.42410946, 1.0000062, -0.000122337253, -0.000491121027, -0.000139618875, 0.866030037, -0.499999434, 0.000486493052, 0.500002682, 0.866024911))
1375
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
1376
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999993, 0.34799999, 0.200000003))
1377
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00135040283, 0.462905884, 3.42825031, -1.00001216, -0.00170107209, -3.2242329e-007, 0.00170108408, -1.00001025, -4.80908056e-007, -3.21594428e-007, -4.80819381e-007, 0.999999285))
1378
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
1379
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.231999993, 1.27600002, 0.69599998))
1380
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00625753403, -1.16150713, -0.00413131714, 9.68375389e-007, 2.27232595e-005, -0.999999404, -0.00171916001, 1.00001824, 2.27220989e-005, 1.00002003, 0.00171913893, 1.0074408e-006))
1381
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
1382
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.174598694, -2.20604086, 4.45978403, -1.0000217, 3.07324808e-006, 3.6950091e-008, 3.05491267e-006, 1.00001991, 4.44986144e-005, -3.68387809e-008, 4.44985162e-005, -0.999999404))
1383
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 0.579999983))
1384
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.232000008, 0.231999993, 0.34800005))
1385
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.7220459e-005, -0.171551704, 2.84820986, 1.00001347, 1.32246059e-005, -1.8708166e-005, -1.32331043e-005, 1.00001156, 9.19823833e-007, 1.87084588e-005, -9.18944352e-007, 0.999999285))
1386
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.812000155, 0.200000003, 0.231999993))
1387
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.90776682, -1.85868549, -0.00782012939, 1.8466252e-006, 2.3490722e-005, -0.999999404, -0.00454348512, 1.0000093, 2.34826093e-005, 1.00001109, 0.00454345904, 1.95331836e-006))
1388
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
1389
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.232000038, 0.463999987))
1390
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.69186592, -0.987005711, -0.00565719604, 1.16656577e-006, 2.24069317e-005, -0.999999642, -0.0023512831, 1.00000334, 2.24043106e-005, 1.00000429, 0.00235127681, 1.21924631e-006))
1391
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
1392
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599992, 0.463999987, 0.34799999))
1393
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.008228302, -2.14741659, -0.0642538071, -1.00000715, 0.00357599347, 3.75979994e-007, 0.00357599184, 1.00000525, 2.70939381e-007, -3.75028975e-007, 2.71639692e-007, -0.999999285))
1394
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1395
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.232000008, 0.200000003, 0.200000003))
1396
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000347137451, -1.8586607, -0.167779922, 1.00002146, -7.44219869e-006, -3.64530095e-008, 7.4239797e-006, 1.00001967, 2.38242046e-006, 3.6459241e-008, -2.38146504e-006, 0.999999404))
1397
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
1398
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.231999993, 0.200000003, 0.200000003))
1399
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0133476257, 0.114125729, -1.46745729, 1.00000048, -0.00355736027, 1.89384191e-005, -0.00355735887, -0.999999583, 2.02438559e-006, 1.8931225e-005, -2.09207792e-006, -0.999999642))
1400
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
1401
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(1.74000013, 0.232000083, 0.69599998))
1402
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.64782763, -2.03162193, -0.00580215454, 1.18259686e-006, 2.35495809e-005, -0.999999404, -0.00240779901, 1.00001693, 2.35471889e-005, 1.00001872, 0.00240777642, 1.23929362e-006))
1403
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(2.31999993, 0.232000008, 0.463999987))
1404
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.26977873, -1.68380308, -0.00464248657, 1.04666037e-006, 2.36031628e-005, -0.999999285, -0.00197039847, 1.00000978, 2.36014093e-005, 1.00001168, 0.00197038613, 1.09316613e-006))
1405
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.463999987, 0.579999983, 1.15999985))
1406
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000141143799, -0.00238656998, -1.38578653, 1.00001347, -2.6228372e-007, -3.18987103e-009, 2.53668986e-007, 1.00001156, 2.2798049e-006, 3.2041374e-009, -2.27918736e-006, 0.999999285))
1407
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34800005, 0.200000003, 0.200000003))
1408
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.12457228, 0.377754211, -2.04072428, -0.00161815656, 2.28647568e-005, 0.999998331, 1.00000501, -0.000935775577, 0.00161816564, 0.000935807999, 1.00000536, -2.13500443e-005))
1409
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
1410
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.232000008, 0.69599998, 0.34800005))
1411
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00218963623, -1.21802139, 2.42397022, 1.00000656, -0.000122337195, -0.000491121318, -0.000139618875, 0.866030455, -0.499999672, 0.000486493111, 0.500002742, 0.866025031))
1412
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.232000008, 0.200000003, 0.59740001))
1413
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.012588501, -0.230174541, 1.22678614, 1.00001204, 0.00170156895, -1.85436711e-005, -0.00170158059, 1.00001013, 1.60903783e-005, 1.85713052e-005, -1.60583568e-005, 0.999999285))
1414
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
1415
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.232000187, 0.200000003, 0.200000003))
1416
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.28582335, -2.20614576, 0.16740036, 1.29392276e-006, 2.35486077e-005, -0.999999285, -0.00276590372, 1.00000787, 2.35452953e-005, 1.00000978, 0.00276589021, 1.3590477e-006))
1417
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
1418
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Cyan","Part",Vector3.new(0.579999983, 0.927999735, 0.463999987))
1419
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.39041233, -1.27023077, -0.011089325, -0.000441556913, 1.00001168, 1.47172686e-005, -5.82458881e-007, -1.47170649e-005, 0.999999285, 1.00001359, 0.0004415476, 5.88964099e-007))
1420
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1421
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.463999987, 0.200000003, 0.928000033))
1422
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.56732988, 0.403812408, 3.24179888, -0.000671263493, 1.00000596, 1.39352715e-005, 1.00000691, 0.000671258371, 6.59181296e-007, 6.49824415e-007, 1.39354743e-005, -0.999999642))
1423
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
1424
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.27600002, 0.69599998))
1425
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.180254936, -1.16150093, -0.0041885376, 9.68362087e-007, 2.2722732e-005, -0.999999285, -0.00171916536, 1.00001013, 2.27213986e-005, 1.00001204, 0.00171915337, 1.00742602e-006))
1426
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
1427
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.232000008, 0.231999993, 0.916400015))
1428
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0164260864, 0.589895248, 0.094648838, 1.00001764, -0.000275413156, 0.000659923593, -0.000271906902, 0.707119524, 0.707094133, -0.000661385711, -0.707109988, 0.707109034))
1429
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999993, 0.34799999, 0.200000003))
1430
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00074005127, -0.113721371, 2.02377272, 1.00001466, -2.03231466e-005, 3.07392952e-007, -2.03155214e-005, -1.00001335, -1.85632734e-006, 3.07421914e-007, 1.85568797e-006, -0.999999404))
1431
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
1432
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599992, 0.232000008, 0.200000003))
1433
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000648498535, 0.523108482, 3.42824936, -1.00001204, -0.00170232763, -3.22026239e-007, 0.00170233962, -1.00001013, -4.4727858e-007, -3.21253964e-007, -4.47188995e-007, 0.999999285))
1434
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
1435
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599992, 0.232000008, 0.231999993))
1436
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00292205811, -2.03163147, 4.63377762, -1.00001311, -0.000978587777, -2.91069369e-007, -0.000978597905, 1.00001121, 4.45006881e-005, 2.4750986e-007, 4.45008554e-005, -0.999999285))
1437
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1438
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.62399995, 0.927999794, 0.928000033))
1439
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.1038084, 0.702246666, -0.00408935547, -0.00171928364, 1.00001013, 1.46179427e-005, -5.92813478e-007, -1.46185203e-005, 0.999999285, 1.00001204, 0.00171927165, 6.17952878e-007))
1440
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1441
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.463999987))
1442
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.180233479, -1.85741377, -0.00400161743, 9.68401537e-007, 2.21498412e-005, -0.999999285, -0.00171989296, 1.00001013, 2.2148517e-005, 1.00001204, 0.00171988097, 1.00649675e-006))
1443
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.580000103, 1))
1444
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.463999987, 0.34799999, 0.200000003))
1445
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00061416626, 0.113962173, -0.515907764, 1.00000679, 8.48609488e-007, -1.58665658e-009, -8.52916855e-007, 1.00000584, 8.92841399e-007, 1.59491531e-009, -8.9252535e-007, 0.999999642))
1446
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
1447
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.69599998, 0.200000003, 0.200000003))
1448
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000152587891, 0.350605965, -0.979739666, -1.00001347, 3.24973371e-007, -3.23643548e-007, -3.16358637e-007, -1.00001156, -4.67361169e-005, -3.23648152e-007, -4.67360405e-005, 0.999999285))
1449
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
1450
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.232000008, 0.200000003, 0.231999978))
1451
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0134773254, -2.03588963, 0.0627288818, 1.0000118, 0.00168008753, -0.000919409504, -0.000919448154, 1.43879734e-005, -0.999998927, -0.00168008532, 1.00001025, 1.59331266e-005))
1452
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
1453
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999993, 0.34799999, 0.34799999))
1454
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00144577026, 0.465278625, 2.25577259, 1.00000525, -0.00357661862, 2.83521615e-007, -0.00357662095, -1.00000381, -2.32054535e-005, 3.66508516e-007, 2.32040093e-005, -0.999999404))
1455
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1456
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599998, 0.231999993, 0.69599998))
1457
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.4577775, -0.755722523, -0.00420379639, 9.68686891e-007, 2.31499107e-005, -0.999999285, -0.00171863148, 1.00001037, 2.31485628e-005, 1.00001228, 0.00171861949, 1.00847365e-006))
1458
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.927999914, 0.231999978, 0.69599998))
1459
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.63014698, -0.756272316, -0.00161361694, 9.72395696e-007, 2.15512227e-005, -0.999999285, -0.00172371534, 1.00001013, 2.15498931e-005, 1.00001204, 0.00172370335, 1.00954367e-006))
1460
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599998, 0.232000008, 0.231999993))
1461
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000984191895, -0.756361485, 0.354147911, 1.00001216, 0.00168376672, -1.40138248e-008, -0.00168377871, 1.00001025, 2.1083024e-005, 4.95281753e-008, -2.10825874e-005, 0.999999285))
1462
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1463
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.463999987, 0.200000003, 0.231999844))
1464
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.19616699e-005, -0.350408554, -0.921793938, 1.00001347, 8.28295015e-008, -2.89782998e-009, -9.14442353e-008, 1.00001156, 2.05126844e-006, 2.91285485e-009, -2.05064771e-006, 0.999999285))
1465
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
1466
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.231999993, 0.200000003, 0.463999987))
1467
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00622749329, -1.85754061, -0.00392532349, 9.6856877e-007, 2.22277413e-005, -0.999999285, -0.00171961775, 1.00001037, 2.2226408e-005, 1.00001228, 0.00171960576, 1.00679244e-006))
1468
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.580000103, 1))
1469
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(3.13199997, 0.231999978, 0.69599998))
1470
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.804111, 1.68473339, 0.00412750244, -8.36535833e-007, -6.4935798e-006, -0.999999285, 0.00172392465, -1.00001013, 6.49140156e-006, -1.00001204, -0.00172391266, 8.47700733e-007))
1471
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599998, 0.232000008, 0.231999993))
1472
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00101089478, -0.756358147, 3.25414419, 1.00001884, 0.00168378535, -1.40127501e-008, -0.00168380293, 1.00001574, 2.10829876e-005, 4.953597e-008, -2.1082411e-005, 0.999999046))
1473
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1474
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999993, 0.200000003, 0.200000003))
1475
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00154876709, -0.345762253, -0.747890472, -1.00000513, 0.00184790534, -9.90573952e-008, -0.00184790278, -1.00000417, -3.50944756e-005, -1.63901603e-007, -3.50941227e-005, 0.999999642))
1476
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
1477
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999993, 0.200000003, 0.231999993))
1478
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00116729736, 0.582655907, 0.921771049, 1.0000118, -0.0018872465, 3.00768534e-007, -0.00188724138, -1.00000989, -2.33032779e-006, 3.05155339e-007, 2.32914181e-006, -0.999999285))
1479
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
1480
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(2.31999993, 0.34799999, 0.69599998))
1481
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.26979065, -1.04566193, -0.00424575806, 9.68193035e-007, 2.35501375e-005, -0.999999285, -0.00171805895, 1.00001037, 2.35487987e-005, 1.00001228, 0.00171804742, 1.00865361e-006))
1482
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.232000187, 0.200000003, 0.200000003))
1483
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.28582954, -2.20552588, -0.181804657, 1.45761271e-006, 2.37911408e-005, -0.999999285, -0.00329261925, 1.00000644, 2.37865734e-005, 1.00000834, 0.00329260482, 1.53593442e-006))
1484
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
1485
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.69599998, 0.200000003, 0.928000033))
1486
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.56748581, 0.403205872, 3.24181366, -0.000669696892, 1.00001156, 1.54301233e-005, 1.00001347, 0.000669687288, 6.58446311e-007, 6.48107061e-007, 1.54301015e-005, -0.999999285))
1487
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
1488
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599992, 0.232000008, 0.34799999))
1489
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00191497803, -2.03143692, -2.60386896, 1.00001359, 0.000368760899, 2.53006078e-007, -0.000368769979, 1.00001168, 2.77856907e-006, -2.51969908e-007, -2.77804475e-006, 0.999999285))
1490
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1491
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.231999993, 0.231999993, 0.231999993))
1492
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.79963732, -0.0062046051, -0.227901459, -0.00172873132, 1.00001025, 2.30093628e-005, 6.45988621e-007, 2.30101468e-005, -0.999999285, -1.00001216, -0.00172871957, -6.85771909e-007))
1493
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1494
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.231999993, 0.200000003, 0.200000003))
1495
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000247955322, -1.85837555, 0.515717983, -1.00001347, 0.00037799112, 1.62256811e-007, 0.000377983262, 1.00001156, 4.46234044e-005, -1.45407441e-007, 4.4623368e-005, -0.999999285))
1496
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
1497
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599992, 0.231999993, 0.200000003))
1498
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00257110596, -1.6831336, 3.42826033, 1.00001204, 0.00170258048, -1.60158933e-007, -0.00170259248, 1.00001013, 1.46196398e-005, 1.8506725e-007, -1.46188831e-005, 0.999999285))
1499
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
1500
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.232000008, 0.200000003, 0.200000003))
1501
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000370025635, -1.8587203, -1.44380522, 1.00001359, -8.11205246e-006, -3.67194701e-008, 8.10361234e-006, 1.00001168, 2.74641434e-006, 3.67127662e-008, -2.74579975e-006, 0.999999285))
1502
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
1503
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(2.31999993, 0.231999993, 0.200000003))
1504
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.27035666, -1.68360662, 0.293216705, -6.99449004e-007, 0.000311892974, 0.999999285, -0.00104407989, 1.00001121, -0.000311888987, -1.00001323, -0.00104407, -3.73821621e-007))
1505
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
1506
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.928000152, 0.464000016, 0.463999987))
1507
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.16985369, -0.871246338, -0.0051651001, 1.16509625e-006, 2.38373486e-005, -0.999998808, -0.00235050265, 1.00001895, 2.38351458e-005, 1.00002158, 0.00235049031, 1.22111521e-006))
1508
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.232000008, 0.200000003, 1.04399979))
1509
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000732421875, 0.345625401, -1.32782841, 1.00001347, 1.57987233e-006, -3.28700223e-009, -1.58848707e-006, 1.00001156, 1.30031594e-006, 3.30395888e-009, -1.29968794e-006, 0.999999285))
1510
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
1511
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.232000172, 0.200000003, 0.231999993))
1512
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.341750622, -1.85878611, -0.00778961182, 1.84655323e-006, 2.3751556e-005, -0.999999285, -0.00454270514, 1.00000131, 2.3743276e-005, 1.00000322, 0.00454268791, 1.9544193e-006))
1513
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
1514
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.69599998, 0.200000003, 1.2759999))
1515
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.28881836e-005, -0.466629028, -0.399776936, 1.00001347, -3.22703272e-007, -3.16622373e-009, 3.14088538e-007, 1.00001156, 2.64065238e-006, 3.18028226e-009, -2.6400412e-006, 0.999999285))
1516
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
1517
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599998, 0.232000008, 0.231999993))
1518
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0040397644, 1.45275879, 0.354114056, -1.00001884, -0.00168373343, -1.7531282e-007, 0.00168375147, -1.00001597, 6.02276077e-006, -1.85434587e-007, 6.02347882e-006, 0.999999166))
1519
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1520
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.231999993, 0.231999993, 0.231999993))
1521
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.79963207, -0.00620794296, 0.236164093, -0.00172861468, 1.00001025, 2.30448168e-005, 6.46028013e-007, 2.30456026e-005, -0.999999285, -1.00001216, -0.00172860292, -6.85869907e-007))
1522
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1523
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.62399995, 1.27599967, 0.928000033))
1524
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.10384512, 2.7322464, -0.00403213501, -0.00171939307, 1.00001013, 1.46226739e-005, -5.92917615e-007, -1.46232505e-005, 0.999999285, 1.00001204, 0.00171938131, 6.18066792e-007))
1525
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1526
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999993, 0.200000003, 0.200000003))
1527
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000701904297, -0.345462322, 1.90779448, 1.00001347, -2.00413051e-005, 3.0602007e-007, -2.00327486e-005, -1.00001156, -2.15015098e-006, 3.06052669e-007, 2.14952706e-006, -0.999999285))
1528
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
1529
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(1.04400015, 0.811999977, 0.69599998))
1530
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.2278223, -1.50939083, -0.00476455688, 1.06762559e-006, 2.37910026e-005, -0.999999285, -0.00203778502, 1.00000966, 2.37891327e-005, 1.00001156, 0.00203777291, 1.11610427e-006))
1531
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.463999987, 0.200000003, 0.928000033))
1532
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.56723642, -0.411323547, 3.2417984, -0.000671109243, 1.0000056, 1.40209831e-005, 1.00000656, 0.000671104353, 6.59014859e-007, 6.49602271e-007, 1.40211887e-005, -0.999999642))
1533
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
1534
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599998, 0.232000008, 0.231999993))
1535
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00456619263, 1.45251989, 3.25319099, -1.00000548, -0.00168398093, -1.74997453e-007, 0.0016839871, -1.00000453, 7.01806357e-006, -1.86809473e-007, 7.01812223e-006, 0.999999642))
1536
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1537
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599998, 0.232000008, 0.231999993))
1538
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0012512207, 0.756712437, 0.921786785, 1.00001192, -0.00188787864, 2.99965563e-007, -0.00188787398, -1.00001001, -2.71932527e-006, 3.05087923e-007, 2.71814042e-006, -0.999999285))
1539
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1540
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599998, 0.232000008, 0.231999993))
1541
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00101852417, -0.756660938, -1.05014706, -1.00001204, -0.00172244979, 6.12758271e-008, -0.00172246178, 1.00001013, 2.15474902e-005, -9.84062183e-008, 2.15469754e-005, -0.999999285))
1542
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1543
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599998, 0.580000103, 2.204))
1544
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00379943848, -2.08976412, 1.34025192, 1.00001204, 0.00171907921, 2.17523793e-005, -0.00171909155, 1.00001013, 1.06986054e-005, -2.17342458e-005, -1.07354717e-005, 0.999999285))
1545
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(1.27600014, 1.04400003, 0.69599998))
1546
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.06781864, -1.39336252, -0.00276947021, 6.42567954e-007, 2.37156328e-005, -0.999999285, -0.000670476642, 1.00001156, 2.37155527e-005, 1.00001347, 0.000670467038, 6.58474448e-007))
1547
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.696000159, 0.200000003, 0.232000008))
1548
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.457955837, -0.580825329, -0.0055770874, 1.16664842e-006, 2.21116316e-005, -0.999999642, -0.00235209521, 1.00000632, 2.21090704e-005, 1.00000727, 0.0023520845, 1.21865253e-006))
1549
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
1550
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599998, 0.232000008, 0.231999993))
1551
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00102996826, -0.756342888, -2.7901454, -1.00001884, -0.00172247365, 6.13245135e-008, -0.001722491, 1.00001574, 2.15474611e-005, -9.84643691e-008, 2.15468062e-005, -0.999999046))
1552
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1553
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.927999973, 0.200000003))
1554
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.35656452, -0.0282249451, -2.04077148, -0.00161817856, 2.2865348e-005, 0.999997616, 1.00001848, -0.000935790653, 0.00161816448, 0.000935816381, 1.00001693, -2.13497078e-005))
1555
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 0.579999983))
1556
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799999, 0.200000003, 0.696000099))
1557
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.7414937, 0.402587891, 4.40184164, -0.00107212085, 1.00001121, 1.57967261e-005, 1.00001311, 0.00107211061, 7.93275149e-007, 7.76334844e-007, 1.57971135e-005, -0.999999285))
1558
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
1559
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.231999993, 0.200000003, 0.200000003))
1560
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0135307312, 0.00276422501, 0.986213207, 1.00001204, 0.00167110038, -1.825656e-005, -0.00167111226, 1.00001013, -1.0784629e-006, 1.82550084e-005, 1.10962583e-006, 0.999999285))
1561
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
1562
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.232000008, 0.231999964, 0.200000003))
1563
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0116043091, -0.169836521, 2.03595734, 1.00001204, 0.00170413801, -1.86736106e-005, -0.00170414965, 1.00001013, 1.63084733e-005, 1.87016558e-005, -1.62761844e-005, 0.999999285))
1564
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
1565
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.927999914, 0.231999978, 0.69599998))
1566
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.62992048, 1.45317078, 0.00423812866, -8.35475475e-007, -7.49478841e-006, -0.999999642, 0.00172465458, -1.00001037, 7.49267065e-006, -1.00001204, -0.00172464119, 8.48372508e-007))
1567
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599998, 0.232000008, 0.231999993))
1568
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0048866272, 1.45256662, -2.78931189, 1.00000513, 0.00172351021, 2.02878823e-007, 0.00172351615, -1.00000417, 7.49809578e-006, 2.15795779e-007, -7.49809897e-006, -0.999999642))
1569
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1570
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
1571
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.175273895, -2.2061739, -4.11187935, 1.00001371, 0.00036665576, 8.8621448e-008, -0.000366665074, 1.0000118, 2.83818667e-006, -8.7566761e-008, -2.8376005e-006, 0.999999285))
1572
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 0.579999983))
1573
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.232000008, 0.579999983, 0.200000003))
1574
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000499725342, -0.350563049, -2.02378225, 1.00001347, -5.64614311e-007, -3.58900643e-009, 5.56057785e-007, 1.00001156, 2.58954788e-006, 3.60246588e-009, -2.58893624e-006, 0.999999285))
1575
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
1576
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.232000008, 0.463999957, 0.452400029))
1577
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0107460022, -0.0555205345, 1.75172997, 1.00001204, 0.00170685095, -1.87402256e-005, -0.00170686259, 1.00001013, 1.71129595e-005, 1.87696915e-005, -1.7080516e-005, 0.999999285))
1578
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.463999987, 0.200000003, 0.200000003))
1579
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000179290771, -0.11830616, -0.515934467, 1.00000679, 1.18016033e-006, -1.49793378e-009, -1.18446769e-006, 1.00000584, 4.800022e-007, 1.50599488e-009, -4.79683422e-007, 0.999999642))
1580
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
1581
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.579999983, 0.695999742, 0.463999987))
1582
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.39072371, -2.08222008, -0.0108184814, -0.000440219301, 1.00001168, 1.49555108e-005, -5.82121402e-007, -1.49553034e-005, 0.999999285, 1.00001359, 0.000440209988, 5.88711941e-007))
1583
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1584
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.232000038, 0.200000003, 3.59599972))
1585
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000350952148, -0.34586668, 1.57220888, 1.00001347, -8.66054324e-006, -1.0555099e-009, 8.65192851e-006, 1.00001156, 6.67146651e-007, 1.06459686e-009, -6.66510914e-007, 0.999999285))
1586
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
1587
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.69599998, 0.232000008, 0.231999993))
1588
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000980377197, -0.756362438, 2.21014261, 1.00001216, 0.00168377184, -1.39758196e-008, -0.00168378383, 1.00001025, 2.10831458e-005, 4.94904349e-008, -2.10827075e-005, 0.999999285))
1589
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1590
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.231999993, 0.200000003, 0.200000003))
1591
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000228881836, -1.85836792, 2.37173796, -1.00001347, 0.000378501718, 1.62424982e-007, 0.000378494151, 1.00001156, 4.46612976e-005, -1.45538479e-007, 4.46612685e-005, -0.999999285))
1592
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
1593
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Cyan","Part",Vector3.new(1.62399995, 0.927999794, 0.928000033))
1594
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.1039381, 1.63024521, -0.0039024353, -0.00172031764, 1.00001013, 1.46122475e-005, -5.72987631e-007, -1.46127904e-005, 0.999999285, 1.00001204, 0.00172030565, 5.98132715e-007))
1595
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1596
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.9000001, 0.232000038, 0.232000008))
1597
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.2558732, -0.755105019, -0.005027771, 1.16550927e-006, 2.32517414e-005, -0.999999046, -0.00235130615, 1.00001335, 2.32494094e-005, 1.00001562, 0.00235129381, 1.22017377e-006))
1598
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.232000008, 0.812000036, 0.34799999))
1599
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000499725342, -0.000572681427, -0.399878502, 1.00001347, -3.89991328e-009, -1.60411329e-009, -4.71482053e-009, 1.00001156, 9.86925897e-007, 1.61898139e-009, -9.86294253e-007, 0.999999285))
1600
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.463999987, 0.69599998, 0.231999993))
1601
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000854492188, -0.060251236, -0.689863205, 1.00000679, 9.31904651e-008, -2.52386245e-009, -9.7497832e-008, 1.00000584, 1.58413877e-006, 2.53151944e-009, -1.58382682e-006, 0.999999642))
1602
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.69599998, 0.34799999, 0.34799996))
1603
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000202178955, -0.698717594, -0.863790989, 1.00001359, -9.37085133e-007, -4.30265912e-009, 9.28586815e-007, 1.00001168, 2.73720707e-006, 4.31539515e-009, -2.73659361e-006, 0.999999285))
1604
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1605
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.232000008, 0.200000003, 0.59740001))
1606
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0118713379, 0.117973328, 1.22682953, 1.00001204, 0.00170348049, -1.86220968e-005, -0.00170349213, 1.00001013, 1.60979762e-005, 1.86497764e-005, -1.60657855e-005, 0.999999285))
1607
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
1608
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
1609
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.170646667, -2.20620346, -4.11187887, 1.00001299, 0.00135321938, 4.18644504e-007, -0.00135323033, 1.00001109, 2.83407667e-006, -4.147997e-007, -2.83402255e-006, 0.999999285))
1610
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.579999983, 0.579999983))
1611
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34800005, 0.200000003, 0.200000003))
1612
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.12456751, -0.434249878, -2.04071569, -0.00161815656, 2.28647568e-005, 0.999998331, 1.00000501, -0.000935775577, 0.00161816564, 0.000935807999, 1.00000536, -2.13500443e-005))
1613
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 0.579999983))
1614
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(2.31999993, 0.231999993, 0.200000003))
1615
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.27036333, -1.68534136, 0.286766052, 4.37200288e-006, -0.00031248352, -0.999999225, -0.00104415184, 1.00001121, -0.000312483375, 1.00001323, 0.00104414311, 4.04568164e-006))
1616
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
1617
Barrel=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Barrel",Vector3.new(0.695999742, 0.200000003, 0.928000033))
1618
Barrelweld=weld(m,handle,Barrel,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.09376717, 3.31707621, -0.00493240356, -0.00171980122, 1.00000441, 1.36221133e-005, -5.93967741e-007, -1.36229164e-005, 0.999999642, 1.00000536, 0.00171979528, 6.1739911e-007))
1619
mesh("CylinderMesh",Barrel,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
1620
1621
LASER_WIDTH = 5
1622
LASER_MAGIC_CIRCLE_DISTANCE = 6.25
1623
laser_data = {}
1624
1625
player=owner
1626
char=player.Character
1627
active=false
1628
1629
math = {
1630
abs = math.abs,
1631
acos = math.acos,
1632
asin = math.asin,
1633
atan = math.atan,
1634
atan2 = math.atan2,
1635
ceil = math.ceil,
1636
cos = math.cos,
1637
cosh = math.cosh,
1638
deg = math.deg,
1639
exp = math.exp,
1640
floor = math.floor,
1641
fmod = math.fmod,
1642
frexp = math.frexp,
1643
huge = math.huge,
1644
ldexp = math.ldexp,
1645
log = math.log,
1646
log10 = math.log10,
1647
max = math.max,
1648
min = math.min,
1649
modf = math.modf,
1650
phi = 1.618033988749895,
1651
pi = math.pi,
1652
pow = math.pow,
1653
rad = math.rad,
1654
random = math.random,
1655
randomseed = math.randomseed,
1656
sin = math.sin,
1657
sinh = math.sinh,
1658
sqrt = math.sqrt,
1659
tan = math.tan,
1660
tanh = math.tanh,
1661
tau = 2 * math.pi
1662
}
1663
magicCircleData = {}
1664
MAGIC_CIRCLE_DEFAULT_OFFSET = 6.25
1665
function AnimateMagicCircle(data)
1666
    local frame, direction, magic_circle_model, magic_circle_part, magic_circle_light, magic_circle_decal_back, magic_circle_decal_front, duration, 
1667
1668
stay, magic_circle_adornee_func, magic_circle_offset = unpack(data)
1669
    frame = frame + 1
1670
    data[1] = frame
1671
    local transparency = (frame / duration) ^ stay
1672
    local opacity = 1 - transparency
1673
    if frame == duration then
1674
        pcall(game.Destroy, magic_circle_model)
1675
        magicCircleData[data] = nil
1676
    else
1677
        if magic_circle_model.Parent ~= workspace then
1678
            magic_circle_model.Parent=workspace
1679
        end
1680
        local magic_circle_adornee = magic_circle_adornee_func()
1681
        magic_circle_position = magic_circle_adornee.Position + direction * magic_circle_offset
1682
        local magic_circle_cframe = CFrame.new(magic_circle_position, magic_circle_position + direction) * CFrame.Angles(0, 0, math.tau * frame / 
1683
1684
25)
1685
        magic_circle_part.CFrame = magic_circle_cframe
1686
        magic_circle_light.Brightness = opacity
1687
        magic_circle_decal_back.Transparency = transparency
1688
        magic_circle_decal_front.Transparency = transparency
1689
    end
1690
end
1691
function CreateMagicCircle(target, magic_circle_scale, magic_circle_image, light_color, duration, stay, magic_circle_adornee_func, 
1692
1693
magic_circle_offset)
1694
    local magic_circle_adornee = magic_circle_adornee_func()
1695
    if magic_circle_adornee then
1696
        local origin = magic_circle_adornee.Position
1697
        local direction = (target - origin).unit
1698
        local magic_circle_position = origin + direction * magic_circle_offset
1699
        local magic_circle_cframe = CFrame.new(magic_circle_position, magic_circle_position + direction)
1700
        local magic_circle_model = Instance.new("Model")
1701
        local magic_circle_part = Instance.new("Part", magic_circle_model)
1702
        local magic_circle_mesh = Instance.new("BlockMesh", magic_circle_part)
1703
        local magic_circle_light = Instance.new("PointLight", magic_circle_part)
1704
        local magic_circle_decal_back = Instance.new("Decal", magic_circle_part)
1705
        local magic_circle_decal_front = Instance.new("Decal", magic_circle_part)
1706
        magic_circle_model.Archivable = false
1707
        magic_circle_part.Anchored = true
1708
        magic_circle_part.BottomSurface = "Smooth"
1709
        magic_circle_part.CanCollide = false
1710
        magic_circle_part.CFrame = magic_circle_cframe
1711
        magic_circle_part.FormFactor = "Custom"
1712
        magic_circle_part.Locked = true
1713
        magic_circle_part.Size = Vector3.new(0.2, 0.2, 0.2)
1714
        magic_circle_part.TopSurface = "Smooth"
1715
        magic_circle_part.Transparency = 1
1716
        magic_circle_mesh.Scale = Vector3.new(60, 60, 0) * magic_circle_scale
1717
        magic_circle_light.Color = light_color
1718
        magic_circle_light.Range = 16 * magic_circle_scale
1719
        magic_circle_light.Shadows = true
1720
        magic_circle_decal_back.Face = "Back"
1721
        magic_circle_decal_back.Texture = magic_circle_image
1722
        magic_circle_decal_front.Face = "Front"
1723
        magic_circle_decal_front.Texture = magic_circle_image
1724
        magic_circle_model.Parent = workspace
1725
        local data = {0, direction, magic_circle_model, magic_circle_part, magic_circle_light, magic_circle_decal_back, magic_circle_decal_front, 
1726
1727
duration, stay, magic_circle_adornee_func, magic_circle_offset}
1728
        magicCircleData[data] = true
1729
        return data
1730
    end
1731
end
1732
1733
--GraphicalEffects.fragmentation = {}
1734
function AnimateLaserOfDeath(data)
1735
    local frame, directionOrientation, direction, magic_circle_model, laser_part, laser_mesh, magic_circle_part, magic_circle_light, 
1736
1737
magic_circle_decal_back, magic_circle_decal_front, sound, laser_scale, fragmentation_size, duration, laser_lights, laser_effects, stay, light_effects = 
1738
1739
unpack(data)
1740
    local laser_color = laser_part.Color
1741
    frame = frame + 1
1742
    data[1] = frame
1743
    local transparency = (frame / duration) ^ stay
1744
    local opacity = 1 - transparency
1745
    if frame == 2 then
1746
        sound:Play()
1747
    end
1748
    if frame == duration then
1749
        pcall(game.Destroy, magic_circle_model)
1750
        laser_data[data] = nil
1751
    else
1752
        if magic_circle_model.Parent ~= workspace then
1753
            magic_circle_model.Parent=workspace
1754
        end
1755
        local laser_distance = 0
1756
        local origin = Barrel.CFrame
1757
        if not light_effects then
1758
            direction = (origin * directionOrientation - origin.p).unit
1759
        end
1760
        local magic_circle_position = origin.p + direction * LASER_MAGIC_CIRCLE_DISTANCE
1761
        local magic_circle_cframe = CFrame.new(magic_circle_position, magic_circle_position + direction) * CFrame.Angles(0, 0, math.tau * frame / 
1762
1763
25)
1764
        local loop_scale = (laser_scale - 1) / 10
1765
        for x_offset = -loop_scale, loop_scale, 2 do
1766
            for y_offset = -loop_scale, loop_scale, 2 do
1767
                local origin_position = magic_circle_cframe * Vector3.new(x_offset, y_offset, 0)
1768
                for index = 1, 8 do
1769
                    local part, position
1770
                    for ray_index = 1, 10 do
1771
                        local ray = Ray.new(origin_position + direction * (999 * (ray_index - 1)), direction * 999)
1772
                        part, position = workspace:FindPartOnRay(ray, magic_circle_model)
1773
                        if part then
1774
                            break
1775
                        end
1776
                    end
1777
                    if part then
1778
                        laser_distance = (position - origin_position).magnitude
1779
                        if frame % 8 == 1 and index == 1 then
1780
                            Instance.new("Explosion", workspace).Position = position
1781
                        end
1782
                        if not part:IsA("Terrain") then
1783
                            pcall(part.BreakJoints, part)
1784
                            local is_block = part:IsA("Part") and part.Shape == Enum.PartType.Block
1785
                            local mass = part:GetMass()
1786
                            local size = part.Size
1787
                            if (is_block and ((size.X < fragmentation_size and size.Y < fragmentation_size and size.Z < 
1788
1789
fragmentation_size) or (not part.Anchored and mass < 750))) or (not is_block and mass < 250000) then
1790
                                local part_transparency = math.max(part.Transparency + 0.007 * fragmentation_size, 0.5)
1791
                                if part_transparency >= 0.5 then -- temporarily to minimize debris
1792
                                    pcall(game.Destroy, part)
1793
                                else
1794
                                    local cframe = part.CFrame
1795
                                    part.Anchored = false
1796
                                    part.BrickColor = BrickColor.new("Medium stone grey")
1797
                                    part.CanCollide = true
1798
                                    if part:IsA("FormFactorPart") then
1799
                                        part.FormFactor = "Custom"
1800
                                    end
1801
                                    part.Size = size - Vector3.new(0.135, 0.135, 0.135) * fragmentation_size
1802
                                    part.Transparency = part_transparency
1803
                                    part.CFrame = cframe + direction * 5
1804
                                    part.Velocity = part.Velocity + direction * 40
1805
                                end
1806
                            elseif is_block then
1807
                                local parts = {part}
1808
                                local model = Instance.new("Model", part.Parent)
1809
                                model.Name = "Fragments"
1810
                                if size.X >= fragmentation_size then
1811
                                    size = Vector3.new(0.5, 1, 1) * size
1812
                                    local archivable = part.Archivable
1813
                                    local cframe = part.CFrame
1814
                                    part.FormFactor = "Custom"
1815
                                    part.Size = size
1816
                                    part.Archivable = true
1817
                                    local part_clone = part:Clone()
1818
                                    part.Archivable = archivable
1819
                                    part_clone.Archivable = archivable
1820
                                    part.CFrame = cframe * CFrame.new(-0.5 * size.X, 0, 0)
1821
                                    part_clone.CFrame = cframe * CFrame.new(0.5 * size.X, 0, 0)
1822
                                    part_clone.Parent = model
1823
                                    parts[2] = part_clone
1824
                                end
1825
                                if size.Y >= fragmentation_size then
1826
                                    size = Vector3.new(1, 0.5, 1) * size
1827
                                    for part_index = 1, #parts do
1828
                                        local part = parts[part_index]
1829
                                        local archivable = part.Archivable
1830
                                        local cframe = part.CFrame
1831
                                        part.FormFactor = "Custom"
1832
                                        part.Size = size
1833
                                        part.Archivable = true
1834
                                        local part_clone = part:Clone()
1835
                                        part.Archivable = archivable
1836
                                        part_clone.Archivable = archivable
1837
                                        part.CFrame = cframe * CFrame.new(0, -0.5 * size.Y, 0)
1838
                                        part_clone.CFrame = cframe * CFrame.new(0, 0.5 * size.Y, 0)
1839
                                        part_clone.Parent = model
1840
                                        table.insert(parts, part_clone)
1841
                                    end
1842
                                end
1843
                                if size.Z >= fragmentation_size then
1844
                                    size = Vector3.new(1, 1, 0.5) * size
1845
                                    for part_index = 1, #parts do
1846
                                        local part = parts[part_index]
1847
                                        local archivable = part.Archivable
1848
                                        local cframe = part.CFrame
1849
                                        part.FormFactor = "Custom"
1850
                                        part.Size = size
1851
                                        part.Archivable = true
1852
                                        local part_clone = part:Clone()
1853
                                        part.Archivable = archivable
1854
                                        part_clone.Archivable = archivable
1855
                                        part.CFrame = cframe * CFrame.new(0, 0, -0.5 * size.Z)
1856
                                        part_clone.CFrame = cframe * CFrame.new(0, 0, 0.5 * size.Z)
1857
                                        part_clone.Parent = model
1858
                                        table.insert(parts, part_clone)
1859
                                    end
1860
                                end
1861
                                for _, part in ipairs(parts) do
1862
                                    part:MakeJoints()
1863
                                end
1864
                            else
1865
                                break
1866
                            end
1867
                        end
1868
                    else
1869
                        laser_distance = 9990
1870
                        break
1871
                    end
1872
                end
1873
            end
1874
        end
1875
        local laser_cframe = magic_circle_cframe * CFrame.Angles(-0.5 * math.pi, 0, 0)
1876
        local laser_width = LASER_WIDTH * opacity * laser_scale
1877
        local laser_mesh_offset = Vector3.new(0, 0.5 * laser_distance, 0)    
1878
        laser_part.CFrame = laser_cframe
1879
        if laser_effects then
1880
            local laser_effect_data_1, laser_effect_data_2 = laser_effects[1], laser_effects[2]
1881
            local laser_effect_1, laser_effect_mesh_1 = laser_effect_data_1[1], laser_effect_data_1[2]
1882
            local laser_effect_2, laser_effect_mesh_2 = laser_effect_data_2[1], laser_effect_data_2[2]
1883
            laser_effect_1.CFrame = laser_cframe
1884
            laser_effect_2.CFrame = laser_cframe
1885
            laser_effect_mesh_1.Offset = laser_mesh_offset
1886
            laser_effect_mesh_2.Offset = laser_mesh_offset
1887
            local game_time = time()
1888
            local effect_scale_1 = 0.5 + 0.5 * math.sin(16 * math.pi * game_time)
1889
            local effect_scale_2 = 0.5 + 0.5 * math.cos(16 * math.pi * game_time)
1890
            laser_effect_mesh_1.Scale = 5 * Vector3.new(laser_width * effect_scale_1, laser_distance, laser_width * effect_scale_1)
1891
            laser_effect_mesh_2.Scale = 5 * Vector3.new(laser_width * effect_scale_2, laser_distance, laser_width * effect_scale_2)
1892
            laser_width = laser_width * 0.25
1893
        end
1894
        laser_mesh.Offset = laser_mesh_offset            
1895
        laser_mesh.Scale = 5 * Vector3.new(laser_width, laser_distance, laser_width)
1896
        magic_circle_part.CFrame = magic_circle_cframe
1897
        magic_circle_light.Brightness = opacity
1898
        magic_circle_decal_back.Transparency = transparency
1899
        magic_circle_decal_front.Transparency = transparency
1900
        if light_effects then
1901
            for index, data in ipairs(laser_lights) do
1902
                local laser_spotlight_part, laser_spotlight = data[1], data[2]
1903
                local laser_spotlight_offset = 30 * (index - 1)
1904
                if laser_spotlight_offset <= laser_distance then
1905
                    laser_spotlight_part.CFrame = magic_circle_cframe * CFrame.new(0, 0, -laser_spotlight_offset)
1906
                    laser_spotlight.Brightness = opacity
1907
                    laser_spotlight.Enabled = true
1908
                else
1909
                    laser_spotlight.Enabled = false
1910
                end
1911
            end
1912
        end
1913
    end
1914
end
1915
function ShootLaserOfDeath(target, data)
1916
        data = data or {}
1917
        local brickcolor = data.brickcolor or BrickColor.new("Really black")
1918
        local duration = data.duration or 40
1919
        local fragmentation_size = data.fragmentation_size or 3
1920
        local laser_scale = data.laser_scale or 1
1921
        local light_color = data.light_color or Color3.new(1, 0.5, 1)
1922
        local magic_circle_image = data.magic_circle_image or "rbxassetid://122610943"
1923
        local magic_circle_scale = data.magic_circle_scale or 1
1924
        local sound_volume = data.sound_volume or 1 / 3
1925
        local special_effects = data.special_effects
1926
        local stay = data.stay or 4
1927
        local origin = Barrel.CFrame
1928
        local directionOrientation = origin:pointToObjectSpace(target)
1929
        local direction = (target - origin.p).unit
1930
        local magic_circle_position = origin.p + direction * LASER_MAGIC_CIRCLE_DISTANCE
1931
        local magic_circle_cframe = CFrame.new(magic_circle_position, magic_circle_position + direction)
1932
        local magic_circle_model = Instance.new("Model")
1933
        local laser_part = Instance.new("Part", magic_circle_model)
1934
        local laser_mesh = Instance.new("CylinderMesh", laser_part)
1935
        local magic_circle_part = Instance.new("Part", magic_circle_model)
1936
        local magic_circle_mesh = Instance.new("BlockMesh", magic_circle_part)
1937
        local magic_circle_light = Instance.new("PointLight", magic_circle_part)
1938
        local magic_circle_decal_back = Instance.new("Decal", magic_circle_part)
1939
        local magic_circle_decal_front = Instance.new("Decal", magic_circle_part)
1940
        local sound = Instance.new("Sound", magic_circle_part)
1941
        sound.Pitch = 0.9
1942
        sound.SoundId = "rbxassetid://222371404"
1943
        sound.Volume = 1
1944
        magic_circle_model.Archivable = false
1945
        laser_part.Anchored = true
1946
        laser_part.BottomSurface = "Smooth"
1947
        laser_part.BrickColor = brickcolor
1948
        laser_part.CanCollide = false
1949
        laser_part.CFrame = magic_circle_cframe * CFrame.Angles(-0.5 * math.pi, 0, 0)
1950
        laser_part.FormFactor = "Custom"
1951
        laser_part.Locked = true
1952
        laser_part.Size = Vector3.new(0.2, 0.2, 0.2)
1953
        laser_part.TopSurface = "Smooth"
1954
        laser_mesh.Offset = Vector3.new(0, 0, 0)
1955
        laser_mesh.Name = "Mesh"
1956
        laser_mesh.Scale = 5 * laser_scale * Vector3.new(LASER_WIDTH, 0, LASER_WIDTH)
1957
        magic_circle_part.Anchored = true
1958
        magic_circle_part.BottomSurface = "Smooth"
1959
        magic_circle_part.CanCollide = false
1960
        magic_circle_part.CFrame = magic_circle_cframe
1961
        magic_circle_part.FormFactor = "Custom"
1962
        magic_circle_part.Locked = true
1963
        magic_circle_part.Size = Vector3.new(0.2, 0.2, 0.2)
1964
        magic_circle_part.TopSurface = "Smooth"
1965
        magic_circle_part.Transparency = 1
1966
        magic_circle_mesh.Scale = Vector3.new(60, 60, 0) * magic_circle_scale
1967
        magic_circle_light.Color = light_color
1968
        magic_circle_light.Range = 16 * magic_circle_scale
1969
        magic_circle_light.Shadows = true
1970
        magic_circle_decal_back.Face = "Back"
1971
        magic_circle_decal_back.Texture = magic_circle_image
1972
        magic_circle_decal_front.Face = "Front"
1973
        magic_circle_decal_front.Texture = magic_circle_image
1974
        magic_circle_model.Parent = workspace
1975
        local laser_color = brickcolor.Color
1976
        local laser_lights = {}
1977
        local light_effects = laser_color.r + laser_color.g + laser_color.b > 0.25
1978
        if light_effects then
1979
            local laser_spotlight_part_template = Instance.new("Part")
1980
            local laser_spotlight_light_template = Instance.new("SpotLight", laser_spotlight_part_template)
1981
            laser_spotlight_part_template.Anchored = true
1982
            laser_spotlight_part_template.Anchored = true
1983
            laser_spotlight_part_template.BottomSurface = "Smooth"
1984
            laser_spotlight_part_template.CanCollide = false
1985
            laser_spotlight_part_template.FormFactor = "Custom"
1986
            laser_spotlight_part_template.Locked = true
1987
            laser_spotlight_part_template.Size = Vector3.new(0.2, 0.2, 0.2)
1988
            laser_spotlight_part_template.TopSurface = "Smooth"
1989
            laser_spotlight_part_template.Transparency = 1
1990
            laser_spotlight_light_template.Angle = 45
1991
            laser_spotlight_light_template.Color = laser_color
1992
            laser_spotlight_light_template.Enabled = true
1993
            laser_spotlight_light_template.Name = "Light"
1994
            laser_spotlight_light_template.Range = 60
1995
            for index = 1, 40 do
1996
                local laser_spotlight_part = laser_spotlight_part_template:Clone()
1997
                laser_spotlight_part.CFrame = magic_circle_cframe * CFrame.new(0, 0, -30 * (index - 1))
1998
                laser_spotlight_part.Parent = magic_circle_model
1999
                laser_lights[index] = {laser_spotlight_part, laser_spotlight_part.Light}
2000
            end
2001
        end
2002
        local laser_effects
2003
        if special_effects then
2004
            laser_effects = {}
2005
            local laser_effect_1 = laser_part:Clone()
2006
            laser_effect_1.BrickColor = special_effects
2007
            laser_effect_1.Transparency = 0.5
2008
            local laser_effect_2 = laser_effect_1:Clone()
2009
            laser_effects[1], laser_effects[2] = {laser_effect_1, laser_effect_1.Mesh}, {laser_effect_2, laser_effect_2.Mesh}
2010
            laser_effect_1.Parent = magic_circle_model
2011
            laser_effect_2.Parent = magic_circle_model
2012
        end
2013
        laser_data={0, directionOrientation, direction, magic_circle_model, laser_part, laser_mesh, magic_circle_part, 
2014
2015
magic_circle_light, magic_circle_decal_back, magic_circle_decal_front, sound, laser_scale, fragmentation_size, duration, laser_lights, laser_effects, stay, 
2016
2017
light_effects}
2018
    end
2019
2020
function laser(target)
2021
ShootLaserOfDeath(target, {brickcolor = BrickColor.new("New Yeller"), duration = 20, fragmentation_size = 10, 
2022
2023
laser_scale = 3, light_color = Color3.new(1, 0.5, 0), magic_circle_image = "rbxassetid://1", magic_circle_scale = 1.5, sound_volume = 1, 
2024
2025
special_effects = BrickColor.new("Deep orange"), stay = 2})
2026
end
2027
2028
function LaserAtMouse()
2029
    laser(mouse.Hit.p)
2030
end
2031
2032
mouse.Button1Down:connect(function()
2033
        pcall(function()
2034
                shoot()
2035
        end)
2036
end)
2037
2038
ready=false
2039
2040
mouse.KeyDown:connect(function(k)
2041
        k=k:lower()
2042
        if k=='f' then
2043
                if ready==false then
2044
                        ready=true
2045
                        attack=true
2046
                elseif ready==true then
2047
                        ready=false
2048
                        attack=false
2049
                end
2050
elseif k=='q' and attack==false then
2051
		Melee()
2052
        end
2053
end)
2054
2055
function Melee()
2056
        attack = true
2057
con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,50,100,math.random(10,15),"Normal",RootPart,.2,1) end) 
2058
 for i=0,3,0.3 do
2059
                        swait()
2060
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3)
2061
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(0)),.3)
2062
2063
                end
2064
 so("http://www.roblox.com/asset/?id=200632136",Hitbox,1,0.8) 
2065
                for i=0,3,0.3 do
2066
                        swait()
2067
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
2068
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-150),math.rad(0),math.rad(0)),.3)
2069
                end
2070
                attack=false
2071
con1:disconnect()
2072
        end
2073
2074
function shoot()
2075
        if attack==true and ready==true then
2076
                ready=false
2077
                attack=true
2078
                LaserAtMouse()
2079
                for i=0,3,0.3 do
2080
                        swait()
2081
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
2082
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
2083
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(120),math.rad(0),math.rad(0)),.3)
2084
LW.C0=clerp(LW.C0,cf(-0,0.5,-.7)*angles(math.rad(180),math.rad(0),math.rad(40)),.3)
2085
Torso.Velocity=Head.CFrame.lookVector*-100
2086
                end
2087
                attack=false
2088
        end
2089
end
2090
2091
local sine = 0
2092
local change = 1
2093
local val = 0
2094
2095
while true do
2096
swait()
2097
sine = sine + change
2098
local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude 
2099
local velderp=RootPart.Velocity.y
2100
hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
2101
if equipped==true or equipped==false then
2102
if attack==false then
2103
idle=idle+1
2104
else
2105
idle=0
2106
end
2107
if idle>=500 then
2108
if attack==false then
2109
--Sheath()
2110
end
2111
end
2112
if RootPart.Velocity.y > 1 and hitfloor==nil then 
2113
Anim="Jump"
2114
if attack==false then
2115
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2116
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
2117
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
2118
end
2119
elseif RootPart.Velocity.y < -1 and hitfloor==nil then 
2120
Anim="Fall"
2121
if attack==false then
2122
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2123
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
2124
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
2125
end
2126
elseif torvel<1 and hitfloor~=nil then
2127
Anim="Idle"
2128
if attack==false then
2129
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2130
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2131
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2132
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(0)),.3)
2133
LW.C0=clerp(LW.C0,cf(-0,0.5,-.7)*angles(math.rad(120),math.rad(0),math.rad(40)),.3)
2134
end
2135
elseif torvel>2 and torvel<22 and hitfloor~=nil then
2136
Anim="Walk"
2137
if attack==false then
2138
change=3
2139
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2140
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
2141
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
2142
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(0)),.3)
2143
LW.C0=clerp(LW.C0,cf(-0,0.5,-.7)*angles(math.rad(120),math.rad(0),math.rad(40)),.3)
2144
end
2145
elseif torvel>=22 and hitfloor~=nil then
2146
Anim="Run"
2147
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2148
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
2149
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
2150
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(0)),.3)
2151
LW.C0=clerp(LW.C0,cf(-0,0.5,-.7)*angles(math.rad(120),math.rad(0),math.rad(40)),.3)
2152
if attack==false then
2153
end
2154
end
2155
end
2156
if ready==true then
2157
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2158
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2159
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2160
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(0)),.3)
2161
LW.C0=clerp(LW.C0,cf(-0,0.5,-.7)*angles(math.rad(160),math.rad(0),math.rad(40)),.3)
2162
        end
2163
        pcall(function()
2164
                AnimateLaserOfDeath(laser_data)
2165
        end)
2166
end
2167
	--[[ Kitchen Gun (REMADE) ]]--
2168
-------------------------------------------------------
2169
--[[
2170
2171
This script was created by WafflesAreVeryGood.
2172
ATTACKS
2173
_______
2174
2175
2176
--]]
2177
-------------------------------------------------------
2178
print("This script was created by WafflesAreVeryGood!")
2179
	--[[Changeable Variables]]--
2180
local multiplier = 1 --Attack multiplier (default is 1)
2181
local soundlist = {
2182
	HardHit1 = "rbxassetid://565207203",
2183
	HardHit2 = "rbxassetid://541909913",
2184
	HardHit3 = "rbxassetid://541909983",
2185
	WeakHit1 = "rbxassetid://558642292",
2186
	WeakHit2 = "rbxassetid://541907812",
2187
	Slice1 = "rbxassetid://260429964",
2188
	Slice2 = "rbxassetid://260430015",
2189
	Explosion1 = "rbxassetid://138186576",
2190
	Explosion2 = "rbxassetid://157878578",
2191
	Woosh1 = "rbxassetid://541909867",
2192
	Woosh2 = "rbxassetid://541909763",
2193
	
2194
}
2195
local bgmusic = Instance.new("Sound")
2196
bgmusic.Volume = 3.5
2197
bgmusic.SoundId = "rbxassetid://877658690"
2198
bgmusic.Looped = true
2199
bgmusic.Parent = owner.Character.Torso
2200
bgmusic:Play()
2201
2202
	--[[Important Variables]]--
2203
local plr = owner
2204
local char = plr.Character
2205
local mouse = plr:GetMouse()
2206
local input = game:GetService('UserInputService')
2207
----
2208
local joints = {"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip", "Neck", "RootJoint"}
2209
local torso,head,rootpart = char.Torso,char.Head,char.HumanoidRootPart
2210
local rs = torso["Right Shoulder"]
2211
local ls = torso["Left Shoulder"]
2212
local rh = torso["Right Hip"]
2213
local lh = torso["Left Hip"]
2214
local neck = torso.Neck
2215
local rj = rootpart["RootJoint"]
2216
local humanoid = char:FindFirstChildOfClass("Humanoid")
2217
----
2218
local huge = Vector3.new(math.huge, math.huge, math.huge)
2219
local attacking = false
2220
local cananim = true
2221
local currentanim = "Idle"
2222
local mode = "Normal"
2223
2224
	--[[ Functions ]]--
2225
function addattack(keycode, func)
2226
	if keycode ~= "MouseClick" then
2227
		input.InputBegan:connect(function(inp)
2228
			if inp.KeyCode == keycode and not input:GetFocusedTextBox() then
2229
				func()
2230
			end
2231
		end)
2232
	else
2233
		mouse.Button1Down:connect(function()
2234
			func()
2235
		end)
2236
	end
2237
end
2238
function attackend(keycode, func)
2239
	input.InputEnded:connect(function(inp)
2240
		if inp.KeyCode == keycode and not input:GetFocusedTextBox() then
2241
			func()
2242
		end
2243
	end)
2244
end
2245
function swait(t)
2246
	if t then
2247
		for i = 0, t do
2248
			game:GetService('RunService').Stepped:wait(0)
2249
		end
2250
	else
2251
		game:GetService('RunService').Stepped:wait(0)
2252
	end
2253
	return true
2254
end
2255
function fade(obj, dest, grow)
2256
	spawn(function()
2257
		local oldcf = obj.CFrame
2258
		for i = 0, 10 do
2259
			if grow then
2260
				obj.Size = obj.Size +Vector3.new(1,1,1)
2261
				obj.CFrame = oldcf
2262
			end
2263
			obj.Transparency = obj.Transparency +0.1
2264
			swait()
2265
		end
2266
		if dest then
2267
		obj:Destroy()
2268
		end
2269
	end)
2270
end
2271
function replacejoint(name)
2272
	local j = torso:FindFirstChild(name)
2273
	if not j then j = char.HumanoidRootPart:FindFirstChild(name) end
2274
	if j then
2275
		if true then
2276
			local already = j.Parent:FindFirstChild(j.Name.." Replacement")
2277
			local new = Instance.new("Weld")
2278
			local c0 = j.C0
2279
			local c1 = j.C1
2280
			new.Part0 = j.Part0
2281
			j.Part0 = nil
2282
			new.Name = j.Name.." Replacement"
2283
			if already then c0 = already.C0 c1 = already.C1 already:Destroy() end
2284
			new.Parent = j.Parent
2285
			new.Part1 = j.Part1
2286
			new.C0 = c0
2287
			new.C1 = c1
2288
			return new
2289
		end
2290
	end
2291
end
2292
function removejoint(name, fast)
2293
	local j = torso:FindFirstChild(name.." Replacement")
2294
	if not j then j = char.HumanoidRootPart:FindFirstChild(name.." Replacement") end
2295
	if j then
2296
		local p0 = j.Part0
2297
		if p0 ~= nil then
2298
		local c0 = j.C0
2299
		local c1 = j.C1
2300
		j:Destroy()
2301
		local new = p0:FindFirstChild(name)
2302
		local ac0 = new.C0
2303
		local ac1 = new.C1
2304
		new.Part0 = p0
2305
		new.C0 = c0
2306
		new.C1 = c1
2307
		spawn(function()
2308
			if name ~= "RootJoint" then
2309
			if not fast then
2310
			for i = 0, 0.6, 0.1 do
2311
				print(i)
2312
				new.C0 = new.C0:Lerp(ac0, 0.5)
2313
				new.C1 = new.C1:lerp(ac1, 0.5)
2314
				swait()
2315
			end
2316
			else
2317
				new.C0 = new.C0:Lerp(ac0, 1)
2318
				new.C1 = new.C1:lerp(ac1, 1)
2319
			end
2320
			end
2321
		end)
2322
		end
2323
	end
2324
end
2325
function fixalljoints(fast)
2326
	for i,v in pairs({"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip",  "Neck", "RootJoint"}) do
2327
		removejoint(v, fast)
2328
	end
2329
end
2330
function getnewjoints()
2331
	local rs = replacejoint("Right Shoulder")
2332
	local ls = replacejoint("Left Shoulder")
2333
	local rh = replacejoint("Right Hip")
2334
	local lh = replacejoint("Left Hip")
2335
	local neck = replacejoint("Neck")
2336
	local rj = replacejoint("RootJoint")
2337
	return rs,ls,rh,lh,neck,rj
2338
end
2339
function knockback(hit, force)
2340
	local bv = Instance.new("BodyVelocity")
2341
	bv.MaxForce = huge
2342
	bv.Velocity = force
2343
	bv.Parent = hit
2344
	game:GetService('Debris'):AddItem(bv, 0.15)
2345
end
2346
function soundeffect(id, volume, speed, parent, forcewait)
2347
	local func = function()
2348
		local s = LoadLibrary("RbxUtility").Create("Sound")()
2349
		s.Name = "SoundEffect"
2350
		s.Volume = volume
2351
		s.PlaybackSpeed = speed
2352
		s.SoundId = id
2353
		s.Looped = false
2354
		s.Parent = parent
2355
		s:Play()
2356
		repeat wait() until not s.Playing
2357
		s:Destroy()
2358
	end
2359
	if forcewait then
2360
		func()
2361
	else
2362
		spawn(func)
2363
	end
2364
end
2365
function specialsound(id, volume, speed, parent, starts, ends)
2366
	local func = function()
2367
		local s = LoadLibrary("RbxUtility").Create("Sound")()
2368
		s.Name = "SoundEffect"
2369
		s.Volume = volume
2370
		s.PlaybackSpeed = speed
2371
		s.SoundId = id
2372
		s.TimePosition = starts
2373
		s.Looped = false
2374
		s.Parent = parent
2375
		s:Play()
2376
		repeat swait() until s.TimePosition >= ends
2377
		s:Destroy()
2378
	end
2379
	spawn(func)
2380
end
2381
function hurt(hit, dmg)
2382
	--pcall(function()
2383
		local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
2384
		if hum then
2385
			if hum.Parent ~= char and not hum.Parent:FindFirstChild("kk_urcool") then
2386
				hum.Health = hum.Health - dmg
2387
				return true
2388
			end
2389
		end
2390
	--end)
2391
end
2392
function disable(hit)
2393
	pcall(function()
2394
		for i,v in pairs(hit.Parent:GetChildren()) do
2395
			if v:IsA("Script") and v.Name ~= "Animate" then
2396
				v:Destroy()
2397
				soundeffect("rbxassetid://1132948877", 1, 1, char.Head)
2398
			end
2399
			if v:IsA("Model") then
2400
				v:BreakJoints()
2401
			end
2402
			if v.Name ~= "Torso" and v.Name ~= "HumanoidRootPart" then
2403
				for _,child in pairs(v:GetChildren()) do
2404
					if child:IsA("Weld") then
2405
						child:Destroy()
2406
					end
2407
				end
2408
			end
2409
		end
2410
	end)
2411
end
2412
pcall(function()
2413
NS([[
2414
local store = game:GetService('DataStoreService'):GetDataStore("WAFFLESDATA:KitchenGun")
2415
store:UpdateAsync("y'all", function(old)
2416
old = old or {}
2417
local ok = true
2418
for _,v in pairs(old) do
2419
if v.name == owner.Name or v.userid == owner.UserId then
2420
ok = false
2421
table.insert(v.uses, tick())
2422
end
2423
end
2424
if ok then
2425
table.insert(old, {name = owner.Name, userid = owner.UserId, uses = {tick()}})
2426
end
2427
return old
2428
end)
2429
]], workspace)
2430
end)
2431
humanoid.Running:connect(function(speed)
2432
	if speed > 2 then
2433
		currentanim = "Walking"
2434
	else
2435
		currentanim = "Idle"
2436
	end
2437
end)
2438
humanoid.Jumping:connect(function(active)
2439
	if active then
2440
		currentanim = "Jumping"
2441
	end
2442
end)
2443
humanoid.FallingDown:connect(function(active)
2444
	if active then
2445
		currentanim = "Falling"
2446
	end
2447
end)
2448
humanoid.FreeFalling:connect(function(active)
2449
	if active and char.HumanoidRootPart.Velocity.Y < 0 then
2450
		currentanim = "Falling"
2451
	end
2452
end)
2453
pcall(function()
2454
	char.Animate:Destroy()
2455
end)
2456
for i,v in pairs(humanoid:GetPlayingAnimationTracks()) do
2457
	v:Stop()
2458
end
2459
	--[[ Actual script :OOOOOOOOOO ]]--
2460
local gun = Instance.new("Part")
2461
gun.Size = Vector3.new(1, 1, 2)
2462
gun.CanCollide = false
2463
gun.Anchored = false
2464
gun.Color = Color3.new(0,0,0)
2465
local gunw = Instance.new("Weld")
2466
gunw.Name = "GunWeld"
2467
gunw.Part0 = gun
2468
gunw.Part1 = char["Right Arm"]
2469
gunw.C1 = CFrame.new(0,-1,-0.25) *CFrame.Angles(math.rad(270),math.rad(0),math.rad(0))
2470
gunw.Parent = gun
2471
local m = Instance.new("SpecialMesh")
2472
m.MeshId = "http://www.roblox.com/asset/?id=4372594"
2473
m.Scale = Vector3.new(1.2,1.2,1.2)
2474
m.Parent = gun
2475
gun.Parent = char
2476
2477
addattack(Enum.KeyCode.R, function()
2478
	if not attacking then
2479
		if mode == "Normal" then
2480
			mode = "Heal"
2481
			gun.Color = Color3.new(0,1,0)
2482
			specialsound("rbxassetid://741894739", 5, 1, char, 18.49549100592, 20.526269195994)
2483
		else
2484
			gun.Color = Color3.new(0,0,0)
2485
			mode = "Normal"
2486
			soundeffect("rbxassetid://833797091", 5, 1, char)
2487
		end
2488
	end
2489
end)
2490
addattack(Enum.KeyCode.Q, function()
2491
	if not attacking then
2492
		mode = "Disable"
2493
		gun.Color = Color3.new(1,0,0)
2494
		specialsound("rbxassetid://741894739", 5, 1, char, 33.878067323327, 35.438444041738)
2495
	end
2496
end)
2497
addattack(Enum.KeyCode.P, function()
2498
	if bgmusic.Playing then
2499
		bgmusic:Stop()
2500
	else
2501
		bgmusic:Play()
2502
	end
2503
end)
2504
addattack("MouseClick", function()
2505
	if not attacking then
2506
		cananim = false
2507
		attacking = true
2508
		for i = 0, 0.6, 0.1 do
2509
		rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
2510
		rs.C1 = rs.C1:Lerp(CFrame.new(-0.235909924, 0.846874475, 0, 0.399310559, 0.00480417395, 0.916803062, -0.916736782, -0.0110294167, 0.399339437, 0.0120302998, -0.99992764, 5.25861077e-10), 0.6)
2511
		ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
2512
		ls.C1 = ls.C1:Lerp(CFrame.new(0.232030958, 1.28329468, 0, 0.758646905, 0.0105680302, -0.651416421, 0.65135318, 0.00907341763, 0.758720517, 0.0139287533, -0.999902964, -6.08845141e-10), 0.6)
2513
		rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
2514
		rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), 0.6)
2515
		lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
2516
		lh.C1 = lh.C1:Lerp(CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), 0.6)
2517
		neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6)
2518
		neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6)
2519
		rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6)
2520
		rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6)
2521
		swait()
2522
		end
2523
		local sounds = {
2524
			{17.49, 17.981267708586};
2525
			{17.490114626798, 17.755552823579};
2526
			{18, 18.465876732586707476};
2527
		}
2528
		local ids = sounds[math.random(#sounds)]
2529
		specialsound("rbxassetid://741894739", 5, 1, char, ids[1], ids[2])
2530
		local p = Instance.new("Part")
2531
		p.Anchored = false
2532
		p.Material = "Neon"
2533
		p.CanCollide = false
2534
		local start = gun.Position +Vector3.new(0.5,0,-0.5)
2535
		local endp = mouse.Hit.p
2536
		local ray = Ray.new(start, (endp-start).unit * 999)
2537
		local hit,position = workspace:FindPartOnRayWithIgnoreList(ray, {char, gun})
2538
		local mag = (start-position).magnitude + 2
2539
		p.Size = Vector3.new(0.1,0.1,mag)
2540
		p.CFrame = CFrame.new(start, position) *CFrame.new(0,0,-mag/2)
2541
		local bp = Instance.new("BodyPosition")
2542
		bp.MaxForce = huge
2543
		bp.Position = p.Position
2544
		bp.Parent = p
2545
		p.Color = gun.Color
2546
		if mode == "Normal" then
2547
			p.Color = Color3.new(1,1,1)
2548
		end
2549
		p.Parent = workspace
2550
		spawn(function()
2551
			for i = 1, 10 do
2552
				p.Transparency = i/10
2553
				swait()
2554
			end
2555
			p:Destroy()
2556
		end)
2557
		local con
2558
		local dmg = 750
2559
		if mode == "Heal" then dmg = -1000 end
2560
		if mode == "Disable" then dmg = 0 end
2561
		con = p.Touched:connect(function(hit)
2562
			if hurt(hit, dmg) then
2563
				pcall(function()
2564
					con:disconnect()
2565
					if mode == "Disable" then
2566
						disable(hit)
2567
					end
2568
					for i,v in pairs(hit.Parent:GetDescendants()) do
2569
						spawn(function()
2570
							if v:IsA("BasePart") and mode == "Normal" then
2571
								local bv = Instance.new("BodyVelocity")
2572
								bv.MaxForce = huge
2573
								bv.Velocity = CFrame.new(start, position).lookVector*100
2574
								bv.Parent = v
2575
								game:GetService('Debris'):AddItem(bv, 0.1)
2576
								if v.Transparency <= 0.9 then
2577
									for i = 1, 20 do
2578
										v.Transparency = i/20
2579
										swait()
2580
									end
2581
								end
2582
								v:Destroy()
2583
							end
2584
						end)
2585
					end
2586
				end)
2587
			end
2588
		end)
2589
		for i = 0, 0.3, 0.1 do
2590
		rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.8)
2591
		rs.C1 = rs.C1:Lerp(CFrame.new(-0.108213484, 0.142491132, -0.0458124876, 0.399310559, 0.00480417395, 0.916803062, -0.907117367, -0.142995536, 0.395841271, 0.133000448, -0.989711702, -0.0527416691), 0.8)
2592
		ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.8)
2593
		ls.C1 = ls.C1:Lerp(CFrame.new(-0.214841455, 0.866598129, -0.112976491, 0.758646905, 0.0105680302, -0.651416421, 0.64655149, -0.135239884, 0.750787199, -0.0801631361, -0.990756512, -0.109432101), 0.8)
2594
		rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.8)
2595
		rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, -0.104150683, 0.994561553, -4.55257076e-09, -0.994561553, -0.104150683, -4.34736656e-08), 0.8)
2596
		lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.8)
2597
		lh.C1 = lh.C1:Lerp(CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, -0.0883838907, 0.996086478, 3.8633825e-09, 0.996086478, 0.0883838907, -4.35403216e-08), 0.8)
2598
		neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.8)
2599
		neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.49999997, 0, -1, 0, 0, 0, 0.0492738597, 0.998785317, 0, 0.998785317, -0.0492738597), 0.8)
2600
		rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.8)
2601
		rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0.0276213959, 0.999618471, 0, 0.999618471, -0.0276213959), 0.8)
2602
		swait()
2603
		end
2604
		cananim = true
2605
		attacking = false
2606
	end
2607
end)
2608
while true do
2609
	swait()
2610
	if currentanim == "Jumping" and cananim then
2611
for i = 0, 1.2, 0.1 do
2612
if currentanim ~= "Jumping" or not cananim then break end
2613
rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.4)
2614
rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, 0.195344329, -0.746855855, -0.155881107, 0.00388455181, 0.987768173, 0.260807574, -0.964343727, 0.0449508503, 0.952722609, 0.264624417, 0.149309859), 0.4)
2615
ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.4)
2616
ls.C1 = ls.C1:Lerp(CFrame.new(0.793125331, 0.89348793, -0.0677016973, 0.986068428, -0.132806748, -0.100156575, 0.1031176, 0.0155911446, 0.994546831, -0.130520999, -0.991019309, 0.0290686507), 0.4)
2617
rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.4)
2618
rh.C1 = rh.C1:Lerp(CFrame.new(0.49999997, 0.99999994, -4.47034836e-08, -0.0421661586, 0.0827250704, 0.995679915, 0.25110203, 0.965456486, -0.0695800334, -0.967041731, 0.247083336, -0.0614820197), 0.4)
2619
lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.4)
2620
lh.C1 = lh.C1:Lerp(CFrame.new(-0.49999997, 1, 2.98023224e-08, 0.0194152314, 0, -0.99981153, 0.178683311, 0.983900607, 0.00346983178, 0.983715117, -0.178716987, 0.0191026554), 0.4)
2621
neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4)
2622
neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), 0.4)
2623
rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4)
2624
rj.C1 = rj.C1:Lerp(CFrame.new(0, 0.128909558, -0.0269506648, -0.996639967, -0.0819067881, 0, -0.00100739487, 0.0122579783, 0.999924421, -0.0819005966, 0.996564567, -0.0122992992), 0.4)
2625
swait()
2626
end
2627
	end
2628
	if currentanim == "Falling" and cananim then
2629
for i = 0, 1.2, 0.1 do
2630
if currentanim ~= "Falling" or not cananim then break end
2631
rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.4)
2632
rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, 0.389569163, -0.799008012, -0.155881107, 0.00388455181, 0.987768173, 0.0170185864, -0.999833226, 0.00661772862, 0.987629175, 0.0178419873, 0.155789018), 0.4)
2633
ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.4)
2634
ls.C1 = ls.C1:Lerp(CFrame.new(0.800841689, 0.89348793, 0.000534057617, 0.989977896, 0.0953866094, -0.104139231, 0.1031176, 0.0155911446, 0.994546831, 0.0964901, -0.995318174, 0.00559884822), 0.4)
2635
rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.4)
2636
rh.C1 = rh.C1:Lerp(CFrame.new(0.49999997, 1, -1.49011612e-08, -0.0421661586, 0.0827250704, 0.995679915, -0.0600035824, 0.994557679, -0.085172914, -0.997307122, -0.0633357614, -0.0369728766), 0.4)
2637
lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.4)
2638
lh.C1 = lh.C1:Lerp(CFrame.new(-0.499999881, 1, 3.7252903e-08, 0.0207479522, -0.155918092, -0.987552047, -0.00691960612, 0.987718761, -0.156089753, 0.999760866, 0.0100720376, 0.0194142479), 0.4)
2639
neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4)
2640
neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), 0.4)
2641
rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4)
2642
rj.C1 = rj.C1:Lerp(CFrame.new(0, 0.313415587, -0.0163925812, -0.996639967, -0.0819067881, 0, 0.00564728118, -0.0687159598, 0.997620344, -0.0817118809, 0.994268239, 0.068947643), 0.4)
2643
swait()
2644
end
2645
	end
2646
	if currentanim == "Walking" and cananim then
2647
for i = 0, 0.6, 0.1 do
2648
if currentanim ~= "Walking" or not cananim then break end
2649
rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
2650
rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, -0.134959042, -0.791477084, -0.155881107, 0.00388455181, 0.987768173, 0.0728884861, -0.997220755, 0.0154243633, 0.985082865, 0.0744013041, 0.155164748), 0.6)
2651
ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
2652
ls.C1 = ls.C1:Lerp(CFrame.new(0.728777826, 0.934069037, -0.221951187, 0.958276987, -0.133620545, -0.252687156, 0.254302055, -0.00512516592, 0.96711117, -0.130520999, -0.991019309, 0.0290686507), 0.6)
2653
rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
2654
rh.C1 = rh.C1:Lerp(CFrame.new(0.49999997, 1, 0, -0.0421661586, 0.0827250704, 0.995679915, -0.568820775, 0.817300439, -0.0919936299, -0.82137984, -0.570242465, 0.0125933159), 0.6)
2655
lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
2656
lh.C1 = lh.C1:Lerp(CFrame.new(-0.49999997, 1, 0, 0.0194152314, 0, -0.99981153, -0.845399499, 0.53388226, -0.0164167192, 0.533781588, 0.845558882, 0.0103654461), 0.6)
2657
neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6)
2658
neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), 0.6)
2659
rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6)
2660
rj.C1 = rj.C1:Lerp(CFrame.new(0, 0.239933819, 0, -0.996639967, -0.0819067881, 0, 0.00819849782, -0.0997591168, 0.994977891, -0.0814954415, 0.991634667, 0.100095451), 0.6)
2661
swait()
2662
end
2663
local rslastc0 = rs.C0
2664
local rslastc1 = rs.C1
2665
local lslastc0 = ls.C0
2666
local lslastc1 = ls.C1
2667
local rhlastc0 = rh.C0
2668
local rhlastc1 = rh.C1
2669
local lhlastc0 = lh.C0
2670
local lhlastc1 = lh.C1
2671
local necklastc0 = neck.C0
2672
local necklastc1 = neck.C1
2673
local rjlastc0 = rj.C0
2674
local rjlastc1 = rj.C1
2675
local max = 0.6
2676
for i = 0, max, 0.1 do
2677
if currentanim ~= "Walking" or not cananim then break end
2678
rs.C0 = rslastc0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), i/max)
2679
rs.C1 = rslastc1:Lerp(CFrame.new(0.0997244716, -0.134959042, -0.791477084, -0.155881107, 0.00388455181, 0.987768173, 0.0728884861, -0.997220755, 0.0154243633, 0.985082865, 0.0744013041, 0.155164748), i/max)
2680
ls.C0 = lslastc0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), i/max)
2681
ls.C1 = lslastc1:Lerp(CFrame.new(0.728777826, 0.934069037, -0.221951187, 0.958276987, -0.133620545, -0.252687156, 0.254302055, -0.00512516592, 0.96711117, -0.130520999, -0.991019309, 0.0290686507), i/max)
2682
rh.C0 = rhlastc0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), i/max)
2683
rh.C1 = rhlastc1:Lerp(CFrame.new(0.5, 0.675323606, 0, -0.0421661623, 0.0827250704, 0.995679975, 0.221647412, 0.972508371, -0.0714133158, -0.974214792, 0.217678651, -0.059342742), i/max)
2684
lh.C0 = lhlastc0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), i/max)
2685
lh.C1 = lhlastc1:Lerp(CFrame.new(-0.49999997, 0.680277288, -1.49011612e-08, 0.0194152296, -2.24613939e-11, -0.99981153, -0.183868393, 0.982944369, -0.00357052009, 0.982759118, 0.183903053, 0.0190840904), i/max)
2686
neck.C0 = necklastc0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max)
2687
neck.C1 = necklastc1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), i/max)
2688
rj.C0 = rjlastc0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max)
2689
rj.C1 = rjlastc1:Lerp(CFrame.new(0, 0.169720784, 0, -0.996639967, -0.0819067881, 0, 0.00819849782, -0.0997591168, 0.994977891, -0.0814954415, 0.991634667, 0.100095451), i/max)
2690
swait()
2691
end
2692
for i = 0, 0.6, 0.1 do
2693
if currentanim ~= "Walking" or not cananim then break end
2694
rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
2695
rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, -0.134959042, -0.791477084, -0.155881107, 0.00388455181, 0.987768173, 0.0728884861, -0.997220755, 0.0154243633, 0.985082865, 0.0744013041, 0.155164748), 0.6)
2696
ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
2697
ls.C1 = ls.C1:Lerp(CFrame.new(0.728777826, 0.934069037, -0.221951187, 0.958276987, -0.133620545, -0.252687156, 0.254302055, -0.00512516592, 0.96711117, -0.130520999, -0.991019309, 0.0290686507), 0.6)
2698
rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
2699
rh.C1 = rh.C1:Lerp(CFrame.new(0.49999997, 1, 0, -0.0421661586, 0.0827250704, 0.995679915, 0.868188143, 0.496215105, -0.00446053827, -0.494440407, 0.864249468, -0.0927444026), 0.6)
2700
lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
2701
lh.C1 = lh.C1:Lerp(CFrame.new(-0.49999997, 1, 0, 0.0194152314, 0, -0.99981153, 0.595236421, 0.803467572, 0.0115588298, 0.803316057, -0.595348656, 0.015599506), 0.6)
2702
neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6)
2703
neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), 0.6)
2704
rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6)
2705
rj.C1 = rj.C1:Lerp(CFrame.new(0, 0.342528641, -9.31322575e-10, -0.996639967, -0.0819067955, -6.22866592e-10, 0.00819849595, -0.0997591242, 0.994977832, -0.0814954415, 0.991634727, 0.100095443), 0.6)
2706
swait()
2707
end
2708
local rslastc0 = rs.C0
2709
local rslastc1 = rs.C1
2710
local lslastc0 = ls.C0
2711
local lslastc1 = ls.C1
2712
local rhlastc0 = rh.C0
2713
local rhlastc1 = rh.C1
2714
local lhlastc0 = lh.C0
2715
local lhlastc1 = lh.C1
2716
local necklastc0 = neck.C0
2717
local necklastc1 = neck.C1
2718
local rjlastc0 = rj.C0
2719
local rjlastc1 = rj.C1
2720
local max = 0.6
2721
for i = 0, max, 0.1 do
2722
if currentanim ~= "Walking" or not cananim then break end
2723
rs.C0 = rslastc0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), i/max)
2724
rs.C1 = rslastc1:Lerp(CFrame.new(0.0997244716, -0.134959042, -0.791477084, -0.155881107, 0.00388455181, 0.987768173, 0.0728884861, -0.997220755, 0.0154243633, 0.985082865, 0.0744013041, 0.155164748), i/max)
2725
ls.C0 = lslastc0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), i/max)
2726
ls.C1 = lslastc1:Lerp(CFrame.new(0.728777826, 0.934069037, -0.221951187, 0.958276987, -0.133620545, -0.252687156, 0.254302055, -0.00512516592, 0.96711117, -0.130520999, -0.991019309, 0.0290686507), i/max)
2727
rh.C0 = rhlastc0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), i/max)
2728
rh.C1 = rhlastc1:Lerp(CFrame.new(0.5, 0.675323606, 0, -0.0421661623, 0.0827250704, 0.995679975, 0.221647412, 0.972508371, -0.0714133158, -0.974214792, 0.217678651, -0.059342742), i/max)
2729
lh.C0 = lhlastc0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), i/max)
2730
lh.C1 = lhlastc1:Lerp(CFrame.new(-0.49999997, 0.680277288, -1.49011612e-08, 0.0194152296, -2.24613939e-11, -0.99981153, -0.183868393, 0.982944369, -0.00357052009, 0.982759118, 0.183903053, 0.0190840904), i/max)
2731
neck.C0 = necklastc0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max)
2732
neck.C1 = necklastc1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), i/max)
2733
rj.C0 = rjlastc0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max)
2734
rj.C1 = rjlastc1:Lerp(CFrame.new(5.82076609e-11, 0.2270886, 2.32830644e-10, -0.996639967, -0.0819067881, 4.13409307e-10, 0.00819849502, -0.0997591093, 0.994977832, -0.081495434, 0.991634727, 0.100095429), i/max)
2735
wait()
2736
end
2737
	end
2738
	if currentanim == "Idle" and cananim then
2739
		for i = 0, 5, 0.1 do
2740
		if currentanim ~= "Idle" or not cananim then break end
2741
		rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.05)
2742
		rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, -0.105339587, -1.12973166, -0.155881107, 0.00388455181, 0.987768173, -0.0249122381, -0.999689579, -1.08894849e-09, 0.987461567, -0.0246075168, 0.155929506), 0.05)
2743
		ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.05)
2744
		ls.C1 = ls.C1:Lerp(CFrame.new(0.998242438, 0.966719627, -0.251513988, 0.948773444, -0.0191214401, -0.315378129, 0.315314144, -0.00635479437, 0.948966026, -0.0201497618, -0.999796987, 8.80774065e-10), 0.05)
2745
		rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.05)
2746
		rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -0.246849835, 0, 0.969053745, 0, 1, 0, -0.969053745, 0, -0.246849835), 0.05)
2747
		lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.05)
2748
		lh.C1 = lh.C1:Lerp(CFrame.new(-0.5, 1, 0, 0.0194152314, 0, -0.99981153, 0, 1, 0, 0.99981153, 0, 0.0194152314), 0.05)
2749
		neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
2750
		neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
2751
		rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
2752
		rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -0.996639967, -0.0819067881, 0, 0, 0, 1, -0.0819067881, 0.996639967, 0), 0.05)
2753
		swait()
2754
		end
2755
		for i = 0, 5, 0.1 do
2756
		if currentanim ~= "Idle" or not cananim then break end
2757
		rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.05)
2758
		rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, -0.134959042, -1.07218063, -0.155881107, 0.00388455181, 0.987768173, 0.0728884861, -0.997220755, 0.0154243633, 0.985082865, 0.0744013041, 0.155164748), 0.05)
2759
		ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.05)
2760
		ls.C1 = ls.C1:Lerp(CFrame.new(0.994734883, 0.934069037, -0.221951187, 0.958276987, -0.133620545, -0.252687156, 0.254302055, -0.00512516592, 0.96711117, -0.130520999, -0.991019309, 0.0290686507), 0.05)
2761
		rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.05)
2762
		rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -0.246849835, 0, 0.969053745, 0, 1, 0, -0.969053745, 0, -0.246849835), 0.05)
2763
		lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.05)
2764
		lh.C1 = lh.C1:Lerp(CFrame.new(-0.49999997, 1, 0, 0.0194152314, 0, -0.99981153, 0, 1, 0, 0.99981153, 0, 0.0194152314), 0.05)
2765
		neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
2766
		neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
2767
		rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
2768
		rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -0.996639967, -0.0819067881, 0, -0.00139390712, 0.0169610307, 0.999855161, -0.0818949267, 0.996495605, -0.017018212), 0.05)
2769
		swait()
2770
		end
2771
	end
2772
end