View difference between Paste ID: 4w3aAAGB and mJEQhyH5
SHOW: | | - or go back to the newest paste.
1
-- This script has been converted to FE by iPxter
2
3
4
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
5
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
6-
local Player = game.Players.localPlayer
6+
do
7-
local Mouse = Player:GetMouse()
7+
	print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
8
	script.Parent = Player.Character
9
10
	--RemoteEvent for communicating
11
	local Event = Instance.new("RemoteEvent")
12
	Event.Name = "UserInput_Event"
13
14
	--Fake event to make stuff like Mouse.KeyDown work
15
	local function fakeEvent()
16
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
17
		t.connect = t.Connect
18
		return t
19
	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 = game:GetService("Players").LocalPlayer
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
--[[By SezHu. If leaked or stolen, do not remove credit.--]]
87
88
warn("Black Magic reject by SezHu")
89
wait(1 / 60)
90
Effects = { }
91
local Player = owner
92
local Character = Player.Character
93
local Humanoid = Character.Humanoid
94
local Head = Character.Head
95
local RootPart = Character.HumanoidRootPart
96
local Torso = Character.Torso
97
local LeftArm = Character["Left Arm"]
98
local RightArm = Character["Right Arm"]
99
local LeftLeg = Character["Left Leg"]
100
local RightLeg = Character["Right Leg"]
101
local Camera = game.Workspace.CurrentCamera
102
local RootJoint = RootPart.RootJoint
103
local Equipped = false
104
local Attack = false
105
local Anim = 'Idle'
106
local Idle = 0
107
local Combo = 1
108
local TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
109
local Velocity = RootPart.Velocity.y
110
local Sine = 0
111
local Change = 1
112
local maxammo = 6 -- max ammo
113
local AmmoCount = 6 --ammo in gun
114
local AmmoUsage = 1 --boolets used
115
local currentammo = AmmoCount
116
local RbxUtility = LoadLibrary("RbxUtility")
117
local Create = RbxUtility.Create
118
local relodee = false
119
local UIS = game:GetService("UserInputService")    
120
local stance = false
121
local maincol = "Rust"
122
local skillcolorscheme = BrickColor.new(maincol).Color
123
local maincol2 = "Grey"
124
local skillcolorscheme2 = BrickColor.new(maincol2).Color
125
local desirefont = "SourceSansLight"
126
127
local coZ = 6
128
local coX = 0
129
local coXZ = 5
130
local coXC = 8
131
local coXV = 10
132
local coC = 20
133
local coV = 25
134
135
136
local cooldownZ = 0
137
local cooldownX = 0
138
local cooldownXZ = 0
139
local cooldownXC = 0
140
local cooldownXV = 0
141
local cooldownC = 0
142
local cooldownV = 0
143
144
145
146
local scrn = Instance.new('ScreenGui', Player.PlayerGui)
147
function makeframe(par, trans, pos, size, color)
148
	local frame = Instance.new('Frame', par)
149
	frame.BackgroundTransparency = trans
150
	frame.BorderSizePixel = 0
151
	frame.Position = pos
152
	frame.Size = size
153
	frame.BackgroundColor3 = color
154
	return frame
155
end
156
157
158
frameskZ = makeframe(scrn, .8, UDim2.new(.8, 0, .85, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme)
159
frameskX = makeframe(scrn, .8, UDim2.new(.8, 0, .74, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme)
160
frameskXZ = makeframe(scrn, .8, UDim2.new(.8, 0, .85, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme)
161
frameskXC = makeframe(scrn, .8, UDim2.new(.8, 0, .63, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme)
162
frameskXV = makeframe(scrn, .8, UDim2.new(.8, 0, .52, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme)
163
frameskC = makeframe(scrn, .8, UDim2.new(.8, 0, .63, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme)
164
frameskV = makeframe(scrn, .8, UDim2.new(.8, 0, .52, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme)
165
166
barZ = makeframe(frameskZ, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme2)
167
barX = makeframe(frameskX, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme2)
168
barXZ = makeframe(frameskXZ, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme2)
169
barXC = makeframe(frameskXC, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme2)
170
barXV = makeframe(frameskXV, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme2)
171
barC = makeframe(frameskC, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme2)
172
barV = makeframe(frameskV, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme2)
173
text1 =  Instance.new('TextLabel', frameskZ)
174
	text1.BackgroundTransparency = 1
175
	text1.Size = UDim2.new(1, 0, 1, 0)
176
	text1.Position = UDim2.new(0, 0, 0, 0)
177
	text1.TextColor3 = Color3.new(255, 255, 255)
178
	text1.TextStrokeTransparency = 0
179
	text1.FontSize = Enum.FontSize.Size18
180
	text1.Font = desirefont
181
	text1.BorderSizePixel = 0
182
	text1.TextScaled = true
183
text2 =  Instance.new('TextLabel', frameskX)
184
	text2.BackgroundTransparency = 1
185
	text2.Size = UDim2.new(1, 0, 1, 0)
186
	text2.Position = UDim2.new(0, 0, 0, 0)
187
	text2.TextColor3 = Color3.new(255, 255, 255)
188
	text2.TextStrokeTransparency = 0
189
	text2.FontSize = Enum.FontSize.Size18
190
	text2.Font = desirefont
191
	text2.BorderSizePixel = 0
192
	text2.TextScaled = true
193
text3 =  Instance.new('TextLabel', frameskC)
194
	text3.BackgroundTransparency = 1
195
	text3.Size = UDim2.new(1, 0, 1, 0)
196
	text3.Position = UDim2.new(0, 0, 0, 0)
197
	text3.TextColor3 = Color3.new(255, 255, 255)
198
	text3.TextStrokeTransparency = 0
199
	text3.FontSize = Enum.FontSize.Size18
200
	text3.Font = desirefont
201
	text3.BorderSizePixel = 0
202
	text3.TextScaled = false
203
text4 =  Instance.new('TextLabel', frameskV)
204
	text4.BackgroundTransparency = 1
205
	text4.Size = UDim2.new(1, 0, 1, 0)
206
	text4.Position = UDim2.new(0, 0, 0, 0)
207
	text4.TextColor3 = Color3.new(255, 255, 255)
208
	text4.TextStrokeTransparency = 0
209
	text4.FontSize = Enum.FontSize.Size18
210
	text4.Font = desirefont
211
	text4.BorderSizePixel = 0
212
	text4.TextScaled = true
213
	
214
        text1.Text = "[Z]\n Reposition"
215
        text2.Text = "[X]\n Battle Stance"
216
        text3.Text = "[C]\n Mend"
217
        text4.Text = "[V]\n Unload"
218
219
textXZ =  Instance.new('TextLabel', frameskXZ)
220
	textXZ.BackgroundTransparency = 1
221
	textXZ.Size = UDim2.new(1, 0, 1, 0)
222
	textXZ.Position = UDim2.new(0, 0, 0, 0)
223
	textXZ.TextColor3 = Color3.new(255, 255, 255)
224
	textXZ.TextStrokeTransparency = 0
225
	textXZ.FontSize = Enum.FontSize.Size18
226
	textXZ.Font = desirefont
227
	textXZ.BorderSizePixel = 0
228
	textXZ.TextScaled = true
229
textXC =  Instance.new('TextLabel', frameskXC)
230
	textXC.BackgroundTransparency = 1
231
	textXC.Size = UDim2.new(1, 0, 1, 0)
232
	textXC.Position = UDim2.new(0, 0, 0, 0)
233
	textXC.TextColor3 = Color3.new(255, 255, 255)
234
	textXC.TextStrokeTransparency = 0
235
	textXC.FontSize = Enum.FontSize.Size18
236
	textXC.Font = desirefont
237
	textXC.BorderSizePixel = 0
238
	textXC.TextScaled = true
239
	textXV =  Instance.new('TextLabel', frameskXV)
240
	textXV.BackgroundTransparency = 1
241
	textXV.Size = UDim2.new(1, 0, 1, 0)
242
	textXV.Position = UDim2.new(0, 0, 0, 0)
243
	textXV.TextColor3 = Color3.new(255, 255, 255)
244
	textXV.TextStrokeTransparency = 0
245
	textXV.FontSize = Enum.FontSize.Size18
246
	textXV.Font = desirefont
247
	textXV.BorderSizePixel = 0
248
	textXV.TextScaled = false
249
	
250
	    textXZ.Text = " "
251
        textXC.Text = " "
252
        textXV.Text = " "
253
254
255
256
frameskXZ.BackgroundTransparency = 1
257
frameskXC.BackgroundTransparency = 1
258
frameskXV.BackgroundTransparency = 1
259
barXZ.BackgroundTransparency = 1
260
barXC.BackgroundTransparency = 1
261
barXV.BackgroundTransparency = 1
262
263
264
reloadframe = makeframe(scrn, .8, UDim2.new(.8, 0, .4, 0), UDim2.new(.14, 0, .05, 0), skillcolorscheme)
265
reloadbar = makeframe(reloadframe, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme2)
266
267
	relodetext =  Instance.new('TextLabel', reloadframe)
268
	relodetext.BackgroundTransparency = 1
269
	relodetext.Size = UDim2.new(1, 0, 1, 0)
270
	relodetext.Position = UDim2.new(0, 0, 0, 0)
271
	relodetext.TextColor3 = Color3.new(255, 255, 255)
272
	relodetext.TextStrokeTransparency = 0
273
	relodetext.FontSize = Enum.FontSize.Size24
274
	relodetext.Font = desirefont
275
	relodetext.BorderSizePixel = 0
276
	relodetext.TextScaled = false
277
	relodetext.Text = currentammo..'/'..maxammo
278
279
280
281
282
Humanoid.WalkSpeed = 16
283
Humanoid.JumpPower = 60
284
Humanoid.Animator.Parent = nil
285
Character.Animate.Parent = nil
286
287
local newMotor = function(part0, part1, c0, c1)
288
	local w = Create('Motor'){
289
		Parent = part0,
290
		Part0 = part0,
291
		Part1 = part1,
292
		C0 = c0,
293
		C1 = c1,
294
	}
295
	return w
296
end
297
298
299
300
function clerp(a, b, t)
301
	return a:lerp(b, t)
302
end
303
304
RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
305
NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
306
307
local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) 
308
local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
309
local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
310
local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
311
RootJoint.C1 = CFrame.new(0, 0, 0)
312
RootJoint.C0 = CFrame.new(0, 0, 0)
313
Torso.Neck.C1 = CFrame.new(0, 0, 0)
314
Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
315
316
local rarmc1 = RW.C1
317
local larmc1 = LW.C1
318
local rlegc1 = RH.C1
319
local llegc1 = LH.C1
320
321
local resetc1 = false
322
323
function PlayAnimationFromTable(table, speed, bool)
324
	RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) 
325
	Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) 
326
	RW.C0 = clerp(RW.C0, table[3], speed) 
327
	LW.C0 = clerp(LW.C0, table[4], speed) 
328
	RH.C0 = clerp(RH.C0, table[5], speed) 
329
	LH.C0 = clerp(LH.C0, table[6], speed) 
330
	if bool == true then
331
		if resetc1 == false then
332
			resetc1 = true
333
			RootJoint.C1 = RootJoint.C1
334
			Torso.Neck.C1 = Torso.Neck.C1
335
			RW.C1 = rarmc1
336
			LW.C1 = larmc1
337
			RH.C1 = rlegc1
338
			LH.C1 = llegc1
339
		end
340
	end
341
end
342
343
ArtificialHB = Create("BindableEvent"){
344
	Parent = script,
345
	Name = "Heartbeat",
346
}
347
348
script:WaitForChild("Heartbeat")
349
350
frame = 1 / 35
351
tf = 0
352
allowframeloss = false
353
tossremainder = false
354
lastframe = tick()
355
script.Heartbeat:Fire()
356
357
game:GetService("RunService").Heartbeat:connect(function(s, p)
358
	tf = tf + s
359
	if tf >= frame then
360
		if allowframeloss then
361
			script.Heartbeat:Fire()
362
			lastframe = tick()
363
		else
364
			for i = 1, math.floor(tf / frame) do
365
				script.Heartbeat:Fire()
366
			end
367
			lastframe = tick()
368
		end
369
		if tossremainder then
370
			tf = 0
371
		else
372
			tf = tf - frame * math.floor(tf / frame)
373
		end
374
	end
375
end)
376
377
function swait(num)
378
	if num == 0 or num == nil then
379
		ArtificialHB.Event:wait()
380
	else
381
		for i = 0, num do
382
			ArtificialHB.Event:wait()
383
		end
384
	end
385
end
386
387
local m = Create("Model"){
388
	Parent = Character,
389
	Name = "WeaponModel"
390
}
391
392
function RemoveOutlines(part)
393
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
394
end
395
	
396
CFuncs = {	
397
	Part = {
398
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
399
			local Part = Create("Part"){
400
				Parent = Parent,
401
				Reflectance = Reflectance,
402
				Transparency = Transparency,
403
				CanCollide = false,
404
				Locked = true,
405
				BrickColor = BrickColor.new(tostring(BColor)),
406
				Name = Name,
407
				Size = Size,
408
				Material = Material,
409
			}
410
			RemoveOutlines(Part)
411
			if Size == Vector3.new() then
412
				Part.Size = Vector3.new(0.2, 0.2, 0.2)
413
			else
414
				Part.Size = Size
415
			end
416
			return Part
417
		end;
418
	};
419
	
420
	Mesh = {
421
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
422
			local Msh = Create(Mesh){
423
				Parent = Part,
424
				Offset = OffSet,
425
				Scale = Scale,
426
			}
427
			if Mesh == "SpecialMesh" then
428
				Msh.MeshType = MeshType
429
				Msh.MeshId = MeshId
430
			end
431
			return Msh
432
		end;
433
	};
434
435
	Weld = {
436
		Create = function(Parent, Part0, Part1, C0, C1)
437
			local Weld = Create("Weld"){
438
				Parent = Parent,
439
				Part0 = Part0,
440
				Part1 = Part1,
441
				C0 = C0,
442
				C1 = C1,
443
			}
444
			return Weld
445
		end;
446
	};
447
448
	Sound = {
449
		Create = function(id, par, vol, pit) 
450
			coroutine.resume(coroutine.create(function()
451
				local S = Create("Sound"){
452
					Volume = vol,
453
					Pitch = pit or 1,
454
					SoundId = "rbxassetid://" .. id,
455
					Parent = par or workspace,
456
				}
457
				wait() 
458
				S:play() 
459
				game:GetService("Debris"):AddItem(S, 10)
460
			end))
461
		end;
462
	};
463
	
464
	ParticleEmitter = {
465
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
466
			local Particle = Create("ParticleEmitter"){
467
				Parent = Parent,
468
				Color = ColorSequence.new(Color1, Color2),
469
				LightEmission = LightEmission,
470
				Size = Size,
471
				Texture = Texture,
472
				Transparency = Transparency,
473
				ZOffset = ZOffset,
474
				Acceleration = Accel,
475
				Drag = Drag,
476
				LockedToPart = LockedToPart,
477
				VelocityInheritance = VelocityInheritance,
478
				EmissionDirection = EmissionDirection,
479
				Enabled = Enabled,
480
				Lifetime = LifeTime,
481
				Rate = Rate,
482
				Rotation = Rotation,
483
				RotSpeed = RotSpeed,
484
				Speed = Speed,
485
				VelocitySpread = VelocitySpread,
486
			}
487
			return Particle
488
		end;
489
	};
490
	
491
	CreateTemplate = {
492
		
493
	};
494
}
495
496
--Shotgun Model
497
498
Handle=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,1,"Medium stone grey","Handle",Vector3.new(0.230977222, 0.505653977, 0.244424))
499
HandleWeld=CFuncs.Weld.Create(m,Character["Left Arm"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.489551544, 0.226313591, 0.00205421448, -0.0140927732, -0.988225222, -0.15235588, -0.120409302, 0.152939469, -0.980872691, 0.992624283, 0.00452187657, -0.121146858))
500
fHandle=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,1,"Medium stone grey","fHandle",Vector3.new(0.230977222, 0.505653977, 0.244424))
501
fHandleWeld=CFuncs.Weld.Create(m,Handle,fHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.489551544, 0.226313591, 0.00205421448, -0.0140927732, -0.988225222, -0.15235588, -0.120409302, 0.152939469, -0.980872691, 0.992624283, 0.00452187657, -0.121146858))
502
Stockbox=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","Stockbox",Vector3.new(1.35000181, 1.25999975, 1.21000016))
503
StockboxWeld=CFuncs.Weld.Create(m,fHandle,Stockbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.624462128, -0.121447086, -0.0863800049, 0.0217821598, 0.976389289, 0.214917779, -0.119256809, 0.215971515, -0.969089329, -0.992624402, -0.00452160835, 0.121145353))
504
Shellmaker=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,1,"Medium stone grey","Shellmaker",Vector3.new(0.294364125, 0.10708534, 0.0960408598))
505
ShellmakerWeld=CFuncs.Weld.Create(m,fHandle,Shellmaker,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.01054192, -0.63139534, -0.123239517, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
506
bulletmaker=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,1,"Medium stone grey","bulletmaker",Vector3.new(0.0773126334, 0.0921989903, 0.084515892))
507
bulletmakerWeld=CFuncs.Weld.Create(m,fHandle,bulletmaker,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.09943199, -0.656896591, -0.0268611908, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
508
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.0763523355, 0.74047333, 0.0622474775))
509
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.020904541, -2.09744072, -0.430066109, 1.1920929e-07, -7.4505806e-07, 1.00000012, 1, -2.98023224e-08, -1.78813934e-07, 2.98023224e-08, 1, 7.59959221e-07))
510
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.678870738))
511
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.182476982, 0.119570628, 0.16326943))
512
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0352497101, 0.183197975, -0.0285701752, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
513
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.183437362, 0.465309709, 0.16326943))
514
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0454616547, -0.0627765656, -0.0285644531, 0.866025507, -0.499999702, -1.78813934e-07, 0.499999762, 0.866025507, 8.04662704e-07, -3.27825546e-07, -8.19563866e-07, 1.00000012))
515
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0753918514, 0.119570628, 0.172873542))
516
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.129617691, 0.184212685, -0.0285587311, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
517
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0753918514, 0.371197164, 0.172873527))
518
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0450191498, 0.00573158264, -0.0285778046, 0.866025507, -0.499999702, -1.78813934e-07, 0.499999762, 0.866025507, 8.04662704e-07, -3.27825546e-07, -8.19563866e-07, 1.00000012))
519
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.486446053, 0.144061252))
520
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.084405899, -0.0508937836, -0.0285682678, 0.866025507, -0.499999702, -1.78813934e-07, 0.499999762, 0.866025507, 8.04662704e-07, -3.27825546e-07, -8.19563866e-07, 1.00000012))
521
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.0540017299, 1, 1))
522
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.119090639, 0.144061252))
523
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.16843605, 0.182041168, -0.0285587311, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
524
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.0540017299, 1, 1))
525
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.154145062, 0.159900382, 0.16326943))
526
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.22857666, -0.191133022, -0.0285720825, 0.965925932, 0.258818686, 0, -0.258818686, 0.965925872, -9.9465251e-07, -3.27825546e-07, 9.53674316e-07, 1.00000012))
527
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0753918514, 0.112847812, 0.172873542))
528
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00222587585, -0.22913456, -0.0285568237, 0.965925932, -0.258819044, 7.74860382e-07, 0.258818984, 0.965925813, 1.57952309e-06, -1.22189522e-06, -1.32620335e-06, 1))
529
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.113808274, 0.144061252))
530
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0371608734, -0.228617668, -0.0285663605, 0.965925932, -0.258819044, 7.74860382e-07, 0.258818984, 0.965925813, 1.57952309e-06, -1.22189522e-06, -1.32620335e-06, 1))
531
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.0540017299, 1, 1))
532
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.113808274, 0.144061252))
533
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.105619431, -0.289684772, -0.0285644531, 0.965925932, 0.258818686, 0, -0.258818686, 0.965925872, -9.9465251e-07, -3.27825546e-07, 9.53674316e-07, 1.00000012))
534
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.0540017299, 1, 1))
535
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.0854762271, 0.172873542))
536
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.12963295, -0.276510715, -0.0285644531, 0.965925932, 0.258818686, 0, -0.258818686, 0.965925872, -9.9465251e-07, -3.27825546e-07, 9.53674316e-07, 1.00000012))
537
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.717440903, 1, 1))
538
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.112847812, 0.172873542))
539
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.316268921, -0.173998833, -0.0285587311, 0.500002027, 0.866024256, 2.11596489e-06, -0.866024196, 0.500001967, 5.96046448e-08, -1.07288361e-06, -1.86264515e-06, 1))
540
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.54772383, 1, 1))
541
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.113808274, 0.144061252))
542
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.298994064, -0.173471451, -0.0285644531, 0.500002027, 0.866024256, 2.11596489e-06, -0.866024196, 0.500001967, 5.96046448e-08, -1.07288361e-06, -1.86264515e-06, 1))
543
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.239147544, 1, 1))
544
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.0950803086, 0.172873542))
545
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.208971024, -0.221178055, -0.0285568237, 0.866025448, 0.499999702, -2.38418579e-07, -0.499999732, 0.866025507, 8.7916851e-07, 6.2584877e-07, -6.55651093e-07, 1.00000012))
546
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.717440903, 1, 1))
547
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.146461785, 0.196876034, 0.16326943))
548
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.327466965, -0.178565979, -0.0285739899, 0.707106829, 0.70710665, -2.08616257e-07, -0.70710665, 0.707106888, 1.93715096e-07, 2.08616257e-07, 0, 1.00000012))
549
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.0622474775, 0.246817216, 0.16326943))
550
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409929276, -0.000652313232, -0.0285587311, -5.96046448e-08, 0.999999881, -1.49011612e-08, -1, -2.98023224e-08, 2.98023224e-08, -2.98023224e-08, 0, 1.00000012))
551
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.987445176, 1, 1))
552
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.256908506, 0.250178576, 0.175754741))
553
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0943717957, -0.513149977, -0.0285682678, 0.965925932, 0.258818686, 0, -0.258818686, 0.965925872, -9.9465251e-07, -3.27825546e-07, 9.53674316e-07, 1.00000012))
554
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.81730479, 0.0997623056, 0.0997624695))
555
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.471679688, -0.463490486, -0.0529289246, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
556
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.504212916, 0.0997623056, 0.0997624695))
557
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.374668121, -0.534323692, -0.0529251099, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
558
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0744314641, 0.272275418, 0.184398398))
559
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.242843628, -0.510847807, -0.0285606384, 0.965925932, 0.258818686, 0, -0.258818686, 0.965925872, -9.9465251e-07, -3.27825546e-07, 9.53674316e-07, 1.00000012))
560
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0744314641, 1.11887383, 0.184398398))
561
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.454176903, -0.655622482, -0.0285568237, 5.96046448e-08, -0.999999881, 1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, -2.98023224e-08, 0, 1.00000012))
562
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.296285421, 0.194002435))
563
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.280355453, 0.50044775, -0.0285720825, -0.965925932, -0.258818686, 0, 0.258818686, -0.965925872, 9.9465251e-07, -3.27825546e-07, 9.53674316e-07, 1.00000012))
564
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.200575769, 1, 1))
565
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.283319652, 0.249225661, 0.184398398))
566
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.314329147, -0.559855938, -0.0285587311, 0.995653629, 0.0931321532, 2.32458115e-06, -0.0931321681, 0.995653749, 7.5250864e-07, -2.29477882e-06, -9.83476639e-07, 1))
567
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.133496568, 0.172873542))
568
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.349269867, -0.24421072, -0.0285644531, 0.866025448, 0.499999702, -2.38418579e-07, -0.499999732, 0.866025507, 8.7916851e-07, 6.2584877e-07, -6.55651093e-07, 1.00000012))
569
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.717440903, 1, 1))
570
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.192081362, 0.172873542))
571
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.293024063, -0.294204473, -0.0285720825, 0.965925932, 0.258818686, 0, -0.258818686, 0.965925872, -9.9465251e-07, -3.27825546e-07, 9.53674316e-07, 1.00000012))
572
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.717440903, 1, 1))
573
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.0979615301, 0.172873542))
574
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356941223, 0.0116996765, -0.0285701752, 0.707106829, 0.70710665, -2.08616257e-07, -0.70710665, 0.707106888, 1.93715096e-07, 2.08616257e-07, 0, 1.00000012))
575
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.717440903, 1, 1))
576
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.0979615301, 0.172873542))
577
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.28327179, 0.268438339, -0.0285663605, 0.258818686, 0.965925872, 1.57952309e-06, -0.965925932, 0.258818716, -5.66244125e-07, -1.07288361e-06, -1.37090683e-06, 1))
578
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.717440903, 1, 1))
579
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.0979615301, 0.172873542))
580
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.192222595, 0.423189163, -0.0285587311, -5.96046448e-08, 0.999999881, -1.49011612e-08, -1, -2.98023224e-08, 2.98023224e-08, -2.98023224e-08, 0, 1.00000012))
581
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.717440903, 1, 1))
582
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.0979615301, 0.172873542))
583
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0651254654, 0.542451859, -0.0285663605, -0.500002563, 0.866023898, -1.69873238e-06, -0.866023898, -0.500002503, -5.36441803e-07, -1.37090683e-06, 1.1920929e-06, 1.00000012))
584
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.717440903, 1, 1))
585
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.0622474775, 0.172873542))
586
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.349715233, 0.488988876, -0.0285606384, -0.866025507, 0.499999702, 1.78813934e-07, -0.499999762, -0.866025507, -8.04662704e-07, -3.27825546e-07, -8.19563866e-07, 1.00000012))
587
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.717440903, 0.62486881, 1))
588
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.0622474775, 0.172873542))
589
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.468893051, 0.414321899, -0.0285682678, -0.965925932, 0.258819044, -7.74860382e-07, -0.258818984, -0.965925813, -1.57952309e-06, -1.22189522e-06, -1.32620335e-06, 1))
590
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.717440903, 0.62486881, 1))
591
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.166150421, 0.172873542))
592
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.564922333, 0.374081612, -0.0285587311, -0.999999881, 1.49011612e-08, 2.98023224e-08, 1.49011612e-08, -0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
593
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.717440903, 1, 1))
594
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.0622474775, 0.0622474775))
595
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.446313858, 0.0350942612, -0.0285625458, 0.707106829, 0.70710665, -2.08616257e-07, -0.70710665, 0.707106888, 1.93715096e-07, 2.08616257e-07, 0, 1.00000012))
596
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.393159211, 0.862414598, 0.327713668))
597
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.0622474775, 0.0622474775))
598
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.391670227, -0.236137867, -0.0285568237, 0.965925932, 0.258818686, 0, -0.258818686, 0.965925872, -9.9465251e-07, -3.27825546e-07, 9.53674316e-07, 1.00000012))
599
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.393159211, 0.862414598, 0.327713668))
600
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.0622474775, 0.10526102, 0.0622474775))
601
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.208478928, -0.470833778, -0.0285587311, 0.965925932, -0.258819044, 7.74860382e-07, 0.258818984, 0.965925813, 1.57952309e-06, -1.22189522e-06, -1.32620335e-06, 1))
602
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.393159211, 1, 0.327713668))
603
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.853799939, 0.249225661, 0.184398398))
604
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.811216354, -0.600500107, -0.0285625458, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
605
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(1.86222541, 0.142131716, 0.142131925))
606
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.88418007, -0.649424553, -0.0289115906, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
607
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.919107974, 0.0622474775, 0.184398398))
608
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.843883514, -0.728718758, -0.0285587311, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
609
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.11571791, 1))
610
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.919107974, 0.0622474775, 0.184398398))
611
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.843877792, -0.746054649, -0.0285568237, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
612
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.11571791, 1))
613
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.919107974, 0.0622474775, 0.152704939))
614
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.843877792, -0.734283447, -0.0285568237, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
615
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.401151627, 1))
616
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398))
617
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.391284943, -0.759021759, -0.0285587311, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
618
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.223722026, 0.3008641, 1))
619
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398))
620
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.433917999, -0.758702278, -0.0285682678, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
621
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1))
622
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398))
623
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.479598999, -0.758406639, -0.0285568237, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
624
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1))
625
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398))
626
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.519172668, -0.759467125, -0.0285625458, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
627
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1))
628
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398))
629
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.564876556, -0.759284019, -0.0285587311, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
630
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1))
631
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398))
632
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.74656105, -0.757936478, -0.0285720825, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
633
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1))
634
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398))
635
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.700839996, -0.758119583, -0.0285701752, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
636
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1))
637
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398))
638
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.615558624, -0.759425163, -0.0285568237, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
639
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1))
640
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398))
641
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.661268234, -0.759130478, -0.0285720825, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
642
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1))
643
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398))
644
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.790523529, -0.757699966, -0.0285625458, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
645
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1))
646
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398))
647
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.10312653, -0.756930351, -0.0285625458, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
648
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1))
649
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398))
650
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.05741501, -0.757115364, -0.0285663605, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
651
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1))
652
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398))
653
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.836206436, -0.757403374, -0.0285663605, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
654
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1))
655
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398))
656
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.875770569, -0.75846386, -0.0285644531, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
657
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1))
658
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398))
659
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.972162247, -0.758422852, -0.0285606384, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
660
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1))
661
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398))
662
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.01785469, -0.758123398, -0.0285606384, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
663
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1))
664
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398))
665
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.921495438, -0.758282661, -0.0285682678, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
666
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1))
667
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398))
668
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.23103142, -0.755340576, -0.0285606384, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
669
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1))
670
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398))
671
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.14575386, -0.756649017, -0.0285682678, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
672
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1))
673
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398))
674
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.26502037, -0.755158424, -0.0285644531, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
675
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1))
676
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398))
677
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19145584, -0.756355286, -0.0285701752, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
678
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300866187, 0.3008641, 1))
679
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0622474775, 0.184398398))
680
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.29557228, -0.757285118, -0.0285549164, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
681
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.223722026, 0.3008641, 1))
682
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.148310468, 0.123276234, 0.12327645))
683
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.608816147, 0.439056396, -0.133686066, -5.96046448e-08, 0.999999881, -1.49011612e-08, -1, -2.98023224e-08, 2.98023224e-08, -2.98023224e-08, 0, 1.00000012))
684
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.148310468, 0.123276234, 0.12327645))
685
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.608924866, 0.559501648, -0.141916275, -5.96046448e-08, 0.999999881, -1.49011612e-08, -1, -2.98023224e-08, 2.98023224e-08, -2.98023224e-08, 0, 1.00000012))
686
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.148310468, 0.123276234, 0.12327645))
687
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609196663, 0.676843643, -0.133676529, -5.96046448e-08, 0.999999881, -1.49011612e-08, -1, -2.98023224e-08, 2.98023224e-08, -2.98023224e-08, 0, 1.00000012))
688
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Br. yellowish orange","Part",Vector3.new(0.0622474775, 0.118231699, 0.118231893))
689
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.695789337, 0.558382034, -0.141908646, -5.96046448e-08, 0.999999881, -1.49011612e-08, -1, -2.98023224e-08, 2.98023224e-08, -2.98023224e-08, 0, 1.00000012))
690
CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.170620233, 1, 1))
691
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Cocoa","Part",Vector3.new(0.163862169, 0.112265885, 0.112266079))
692
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.612273216, 0.558391571, -0.141902924, -5.96046448e-08, 0.999999881, -1.49011612e-08, -1, -2.98023224e-08, 2.98023224e-08, -2.98023224e-08, 0, 1.00000012))
693
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Cocoa","Part",Vector3.new(0.164241493, 0.112265885, 0.112266079))
694
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.612018585, 0.438463211, -0.137260437, -5.96046448e-08, 0.999999881, -1.49011612e-08, -1, -2.98023224e-08, 2.98023224e-08, -2.98023224e-08, 0, 1.00000012))
695
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Br. yellowish orange","Part",Vector3.new(0.0622474775, 0.118231699, 0.118231893))
696
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.695731163, 0.438491821, -0.137289047, -5.96046448e-08, 0.999999881, -1.49011612e-08, -1, -2.98023224e-08, 2.98023224e-08, -2.98023224e-08, 0, 1.00000012))
697
CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.170620233, 1, 1))
698
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Cocoa","Part",Vector3.new(0.164620817, 0.112265885, 0.112266079))
699
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.611670494, 0.676483154, -0.133932114, -5.96046448e-08, 0.999999881, -1.49011612e-08, -1, -2.98023224e-08, 2.98023224e-08, -2.98023224e-08, 0, 1.00000012))
700
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Br. yellowish orange","Part",Vector3.new(0.0622474775, 0.118231699, 0.118231893))
701
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.695570946, 0.676485062, -0.133947372, -5.96046448e-08, 0.999999881, -1.49011612e-08, -1, -2.98023224e-08, 2.98023224e-08, -2.98023224e-08, 0, 1.00000012))
702
CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.170620233, 1, 1))
703
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.427860439, 0.156066164, 0.156066418))
704
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.02061081, -0.622268677, -0.0845718384, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
705
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0773126855, 0.309250325, 0.184398398))
706
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.805314064, -1.1217041, -0.0285644531, 0.866025507, -0.499999702, -1.78813934e-07, 0.499999762, 0.866025507, 8.04662704e-07, -3.27825546e-07, -8.19563866e-07, 1.00000012))
707
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.261230201, 0.185357824, 0.158467412))
708
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.552032471, -1.27363014, -0.0285682678, 5.96046448e-08, -0.999999881, 1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, -2.98023224e-08, 0, 1.00000012))
709
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.983454704, 0.0622474775, 0.184398398))
710
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.876041412, -0.700925827, -0.0285625458, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
711
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.655727208, 1))
712
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.983454704, 0.0622474775, 0.184398398))
713
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.822029114, -0.663985252, -0.0285663605, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
714
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.655727208, 1))
715
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.983454704, 0.0622474775, 0.184398398))
716
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.787355423, -0.642092705, -0.0285625458, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
717
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.655727208, 1))
718
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(0.228096232, 1.19426513, 0.0672286227))
719
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.572554588, -1.87078285, -0.0285701752, 5.96046448e-08, -0.999999881, 1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, -2.98023224e-08, 0, 1.00000012))
720
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Earth blue","Part",Vector3.new(1.1721741, 0.0672284812, 0.0672286004))
721
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.94434929, -0.457939148, -0.0285606384, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
722
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0960405394, 1.18610215, 0.119090654))
723
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.60875988, -1.8666954, -0.0285606384, 5.96046448e-08, -0.999999881, 1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, -2.98023224e-08, 0, 1.00000012))
724
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0960405394, 0.837954462, 0.119090654))
725
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.593738556, -1.92202759, -0.0285644531, 5.96046448e-08, -0.999999881, 1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, -2.98023224e-08, 0, 1.00000012))
726
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.217051655, 0.74047333, 0.0622474775))
727
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.51939106, -2.09714317, 0.0765304565, 3.62284482e-07, -0.965925813, -0.258818895, 0.99999994, 3.27825546e-07, 8.94069672e-08, 0, -0.258818865, 0.965925932))
728
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.948875785))
729
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.217051655, 0.74047333, 0.0622474775))
730
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.508298635, -2.09652901, -0.119865417, -1.25169754e-06, -0.965925932, 0.258818418, 1, -1.11758709e-06, 6.85453415e-07, -4.76837158e-07, 0.258818418, 0.965926051))
731
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.948875785))
732
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(1.51359856, 0.108333342, 0.108333521))
733
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.70987511, -0.587060928, -0.0289077759, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
734
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.116297506, 0.126513839, 0.126514062))
735
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.51787376, -0.492711067, -0.0289020538, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
736
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.281487226, 0.0818847269, 0.0818848684))
737
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.59470558, -0.490480423, -0.0289134979, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
738
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.128214061, 0.210328475, 0.119090654))
739
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.553534508, -2.6796627, -0.0285625458, 5.96046448e-08, -0.999999881, 1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, -2.98023224e-08, 0, 1.00000012))
740
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.133873656, 0.0622474775, 0.0622474775))
741
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0289173126, -0.551986694, -2.5983963, -1.1920929e-07, 7.4505806e-07, -1.00000012, -5.96046448e-08, 1, 7.4505806e-07, 1, 7.4505806e-08, -1.49011612e-07))
742
CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.644316077, 0.644317031))
743
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.133873656, 0.0622474775, 0.0622474775))
744
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0289115906, -0.555045128, -2.70437813, -1.1920929e-07, 7.4505806e-07, -1.00000012, -5.96046448e-08, 1, 7.4505806e-07, 1, 7.4505806e-08, -1.49011612e-07))
745
CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.644316077, 0.644317031))
746
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.133873656, 0.0622474775, 0.0622474775))
747
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0289211273, -0.556861877, -2.75073242, -1.1920929e-07, 7.4505806e-07, -1.00000012, -5.96046448e-08, 1, 7.4505806e-07, 1, 7.4505806e-08, -1.49011612e-07))
748
CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.644316077, 0.644317031))
749
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.325578123, 0.120581053, 0.120581254))
750
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.89797592, -0.653188705, -0.0289173126, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
751
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0812890455, 0.0622474775))
752
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.78231049, 0.759439468, 0.0285625458, -0.866025448, -0.499999702, 2.38418579e-07, -0.499999732, 0.866025507, 8.7916851e-07, -6.2584877e-07, 6.55651093e-07, -1.00000012))
753
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.61715281, 1, 0.482340217))
754
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.0622474775, 0.0745662153, 0.0622474775))
755
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.76589775, -0.741744041, 0.0285568237, -0.999999881, 1.49011612e-08, 2.98023224e-08, -1.49011612e-08, 0.999999881, 0, 2.98023224e-08, 0, -1.00000012))
756
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.61715281, 1, 0.482340217))
757
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Lily white","Part",Vector3.new(0.0622474775, 0.0622474775, 0.0622474775))
758
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.76446533, -0.764004707, -0.028553009, 0.999999881, -1.49011612e-08, -2.98023224e-08, -1.49011612e-08, 0.999999881, 0, -2.98023224e-08, 0, 1.00000012))
759
CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.617152989, 0.408864677, 0.339435399))
760
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(1.09150016, 0.159420162, 0.175754741))
761
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.903377533, -0.564111233, -0.0285682678, 0.999867797, 0.0162549913, 7.74860382e-07, -0.0162550062, 0.999867916, 8.7916851e-07, -7.15255737e-07, -8.94069672e-07, 1.00000012))
762
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.799536645, 0.156538948, 0.175754741))
763
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.757575989, -0.625374794, -0.0285549164, 0.985511184, 0.169610262, -6.2584877e-07, -0.169610262, 0.985511243, 3.87430191e-07, 6.85453415e-07, -2.68220901e-07, 1))
764
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.15222393, 0.0696221218, 0.175754741))
765
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.413620949, -0.488759995, -0.0285682678, 0.0912402272, 0.995828867, 1.47521496e-06, -0.995828867, 0.0912402719, 5.66244125e-07, 3.27825546e-07, -1.5348196e-06, 1.00000012))
766
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.523900926, 0.0622474775, 0.175754741))
767
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.716959, -0.339764595, -0.0285701752, 0.995828986, -0.0912401676, -5.06639481e-07, 0.0912401378, 0.995828927, 7.15255737e-07, 3.27825546e-07, -7.89761543e-07, 1))
768
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.871611476, 1))
769
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.523900926, 0.0622474775, 0.175754741))
770
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.607765198, -0.601490259, -0.0285663605, 0.908034444, 0.418895423, -5.66244125e-07, -0.418895513, 0.908034563, -2.60770321e-07, 3.57627869e-07, 4.61935997e-07, 1.00000012))
771
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.871611476, 1))
772
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.294364095, 0.0622474775, 0.0864367038))
773
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.873703957, 0.431451797, -0.0285663605, 0.639640331, -0.768674433, -4.61935997e-07, 0.768674374, 0.639640331, 5.66244125e-07, -1.78813934e-07, -7.30156898e-07, 1))
774
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.871611476, 1))
775
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.294364095, 0.0622474775, 0.0864367038))
776
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.909405231, 0.553689957, -0.0285549164, 0.639640331, -0.768674433, -4.61935997e-07, 0.768674374, 0.639640331, 5.66244125e-07, -1.78813934e-07, -7.30156898e-07, 1))
777
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.871611476, 1))
778
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.294364095, 0.0622474775, 0.0864367038))
779
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.927492619, 0.657333374, -0.0285587311, 0.639640331, -0.768674433, -4.61935997e-07, 0.768674374, 0.639640331, 5.66244125e-07, -1.78813934e-07, -7.30156898e-07, 1))
780
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.871611476, 1))
781
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.294364095, 0.0622474775, 0.0864367038))
782
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.11587906, -0.356192112, -0.028547287, 0.985511184, 0.169610262, -6.2584877e-07, -0.169610262, 0.985511243, 3.87430191e-07, 6.85453415e-07, -2.68220901e-07, 1))
783
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.871611476, 1))
784
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.495088696, 0.0622474775, 0.0864367038))
785
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.322112083, -1.28462601, -0.0285587311, 0.345870823, 0.938282073, -7.4505806e-07, -0.938282132, 0.345870882, 1.07288361e-06, 1.25169754e-06, 3.27825546e-07, 1.00000012))
786
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.871611476, 1))
787
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.257387787, 0.159420162, 0.175754741))
788
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.3693037, 0.223978043, -0.0285739899, 0.874038696, -0.485856384, 3.57627869e-07, 0.485856295, 0.874038756, 3.57627869e-07, -5.66244125e-07, -1.78813934e-07, 1.00000012))
789
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.706377685, 0.0622474775, 0.0864367038))
790
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.269904137, -1.45611191, -0.0285568237, -0.000838190317, 0.999999642, 7.74860382e-07, -0.999999642, -0.000838235021, 2.38418579e-07, 1.1920929e-07, -7.89761543e-07, 1.00000012))
791
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.871611476, 1))
792
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.107085116, 0.0622474775, 0.0864367038))
793
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.4155426, 0.194704056, -0.028553009, 0.995828986, -0.0912401676, -5.06639481e-07, 0.0912401378, 0.995828927, 7.15255737e-07, 3.27825546e-07, -7.89761543e-07, 1))
794
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.964184403, 1))
795
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.181996748, 0.0622474775, 0.0864367038))
796
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.30640793, -0.446501732, -0.0285644531, 0.985511184, 0.169610262, -6.2584877e-07, -0.169610262, 0.985511243, 3.87430191e-07, 6.85453415e-07, -2.68220901e-07, 1))
797
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.964184403, 1))
798
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.196883038, 0.188232288, 0.0864367038))
799
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.27062798, -0.612149715, -0.0285511017, 0.985511184, 0.169610262, -6.2584877e-07, -0.169610262, 0.985511243, 3.87430191e-07, 6.85453415e-07, -2.68220901e-07, 1))
800
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.116208896, 0.737585008, 0.175754741))
801
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.52254105, -0.293103695, -0.0285682678, 0.999867797, 0.0162549913, 7.74860382e-07, -0.0162550062, 0.999867916, 8.7916851e-07, -7.15255737e-07, -8.94069672e-07, 1.00000012))
802
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.116208896, 0.400002003, 0.175754741))
803
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.57855415, -0.319172859, -0.0285606384, 0.997218013, -0.0745394826, 8.94069672e-07, 0.0745394677, 0.997218013, -1.1920929e-07, -9.83476639e-07, 1.49011612e-07, 1.00000024))
804
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.112847485, 0.34814018, 0.175754741))
805
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.5480423, -0.172746658, -0.0285549164, 0.997943401, 0.0641013086, -2.98023224e-08, -0.0641013458, 0.997943401, 8.49366188e-07, 0, -8.64267349e-07, 1.00000012))
806
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Br. yellowish orange","Part",Vector3.new(0.0622474775, 0.118231699, 0.118231893))
807
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.696815491, -0.553442001, -0.102174759, -5.96046448e-08, 0.999999881, -1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, 2.98023224e-08, 0, -1.00000012))
808
CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.170620233, 1, 1))
809
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Br. yellowish orange","Part",Vector3.new(0.0622474775, 0.118231699, 0.118231893))
810
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.696748734, -0.673355103, -0.0975265503, -5.96046448e-08, 0.999999881, -1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, 2.98023224e-08, 0, -1.00000012))
811
CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.170620233, 1, 1))
812
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Br. yellowish orange","Part",Vector3.new(0.0622474775, 0.118231699, 0.118231893))
813
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.696596146, -0.435348511, -0.094203949, -5.96046448e-08, 0.999999881, -1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, 2.98023224e-08, 0, -1.00000012))
814
CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.170620233, 1, 1))
815
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Cocoa","Part",Vector3.new(0.163862169, 0.112265885, 0.112266079))
816
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.613293648, -0.553445816, -0.102149963, -5.96046448e-08, 0.999999881, -1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, 2.98023224e-08, 0, -1.00000012))
817
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Cocoa","Part",Vector3.new(0.164241493, 0.112265885, 0.112266079))
818
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.613039017, -0.673345566, -0.0975208282, -5.96046448e-08, 0.999999881, -1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, 2.98023224e-08, 0, -1.00000012))
819
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.148310468, 0.123276234, 0.12327645))
820
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609944344, -0.552326202, -0.102172852, -5.96046448e-08, 0.999999881, -1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, 2.98023224e-08, 0, -1.00000012))
821
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.148310468, 0.123276234, 0.12327645))
822
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.610219002, -0.434988022, -0.0939350128, -5.96046448e-08, 0.999999881, -1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, 2.98023224e-08, 0, -1.00000012))
823
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.148310468, 0.123276234, 0.12327645))
824
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609839439, -0.672796249, -0.0939388275, -5.96046448e-08, 0.999999881, -1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, 2.98023224e-08, 0, -1.00000012))
825
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Cocoa","Part",Vector3.new(0.164620817, 0.112265885, 0.112266079))
826
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.612697601, -0.435344696, -0.0941925049, -5.96046448e-08, 0.999999881, -1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, 2.98023224e-08, 0, -1.00000012))
827
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.0622474775, 0.330372602, 0.16326943))
828
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.190822601, -0.254428864, -0.0285701752, 5.96046448e-08, -0.999999881, 1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, -2.98023224e-08, 0, 1.00000012))
829
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.648010492, 1, 1))
830
Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Burlap","Part",Vector3.new(0.0622474775, 0.216564372, 0.16326943))
831
PartWeld=CFuncs.Weld.Create(m,fHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.217577934, -0.165513992, -0.0285587311, 5.96046448e-08, -0.999999881, 1.49011612e-08, 1, 2.98023224e-08, -2.98023224e-08, -2.98023224e-08, 0, 1.00000012))
832
CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.648010492, 1, 1))
833
834
835
836
function RayCast(Position, Direction, Range, Ignore)
837
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) 
838
end 
839
840
FindNearestTorso = function(pos)
841
	local list = (game.Workspace:children())
842
	local torso = nil
843
	local dist = 1000
844
	local temp, human, temp2 = nil, nil, nil
845
	for x = 1, #list do
846
		temp2 = list[x]
847
		if temp2.className == "Model" and temp2.Name ~= Character.Name then
848
			temp = temp2:findFirstChild("Torso")
849
			human = temp2:findFirstChild("Humanoid")
850
			if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
851
				local dohit = true
852
				if dohit == true then
853
					torso = temp
854
					dist = (temp.Position - pos).magnitude
855
				end
856
			end
857
		end
858
	end
859
	return torso, dist
860
end
861
862
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
863
	if hit.Parent == nil then
864
		return
865
	end
866
	local h = hit.Parent:FindFirstChild("Humanoid")
867
	for _, v in pairs(hit.Parent:children()) do
868
		if v:IsA("Humanoid") then
869
			h = v
870
		end
871
	end
872
	if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
873
		if hit.Parent:findFirstChild("DebounceHit") ~= nil then
874
			if hit.Parent.DebounceHit.Value == true then
875
				return
876
			end
877
		end
878
		local c = Create("ObjectValue"){
879
			Name = "creator",
880
			Value = game:service("Players").LocalPlayer,
881
			Parent = h,
882
		}
883
		game:GetService("Debris"):AddItem(c, .5)
884
		if HitSound ~= nil and HitPitch ~= nil then
885
			CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) 
886
		end
887
		local Damage = math.random(minim, maxim)
888
		local blocked = false
889
		local block = hit.Parent:findFirstChild("Block")
890
		if block ~= nil then
891
			if block.className == "IntValue" then
892
				if block.Value > 0 then
893
					blocked = true
894
					block.Value = block.Value - 1
895
					print(block.Value)
896
				end
897
			end
898
		end
899
		if blocked == false then
900
			h.Health = h.Health - Damage
901
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 5)).p + Vector3.new(math.random(-5,5), math.random(3,5),0)), -Damage, 1, BrickColor.new("White").Color)
902
		else
903
			h.Health = h.Health - (Damage / 2)
904
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 5)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
905
		end
906
		if Type == "Knockdown" then
907
			local hum = hit.Parent.Humanoid
908
			hum.PlatformStand = true
909
			coroutine.resume(coroutine.create(function(HHumanoid)
910
				swait(1)
911
				HHumanoid.PlatformStand = false
912
			end), hum)
913
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
914
			local bodvol = Create("BodyVelocity"){
915
				velocity = angle * knockback,
916
				P = 5000,
917
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
918
				Parent = hit,
919
			}
920
			local rl = Create("BodyAngularVelocity"){
921
				P = 3000,
922
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
923
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
924
				Parent = hit,
925
			}
926
			game:GetService("Debris"):AddItem(bodvol, .5)
927
			game:GetService("Debris"):AddItem(rl, .5)
928
		elseif Type == "Normal" then
929
			local vp = Create("BodyVelocity"){
930
				P = 500,
931
				maxForce = Vector3.new(math.huge, 0, math.huge),
932
				velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
933
			}
934
			if knockback > 0 then
935
				vp.Parent = hit.Parent.Torso
936
			end
937
			game:GetService("Debris"):AddItem(vp, .5)
938
		elseif Type == "Up" then
939
			local bodyVelocity = Create("BodyVelocity"){
940
				velocity = Vector3.new(0, 20, 0),
941
				P = 5000,
942
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
943
				Parent = hit,
944
			}
945
			game:GetService("Debris"):AddItem(bodyVelocity, .5)
946
		elseif Type == "DarkUp" then
947
			coroutine.resume(coroutine.create(function()
948
				for i = 0, 1, 0.1 do
949
					swait()
950
					Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
951
				end
952
			end))
953
			local bodyVelocity = Create("BodyVelocity"){
954
				velocity = Vector3.new(0, 20, 0),
955
				P = 5000,
956
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
957
				Parent = hit,
958
			}
959
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
960
		elseif Type == "Snare" then
961
			local bp = Create("BodyPosition"){
962
				P = 2000,
963
				D = 100,
964
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
965
				position = hit.Parent.Torso.Position,
966
				Parent = hit.Parent.Torso,
967
			}
968
			game:GetService("Debris"):AddItem(bp, 1)
969
		elseif Type == "Freeze" then
970
			local BodPos = Create("BodyPosition"){
971
				P = 50000,
972
				D = 1000,
973
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
974
				position = hit.Parent.Torso.Position,
975
				Parent = hit.Parent.Torso,
976
			}
977
			local BodGy = Create("BodyGyro") {
978
				maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
979
				P = 20e+003,
980
				Parent = hit.Parent.Torso,
981
				cf = hit.Parent.Torso.CFrame,
982
			}
983
			hit.Parent.Torso.Anchored = true
984
			coroutine.resume(coroutine.create(function(Part) 
985
				swait(1.5)
986
				Part.Anchored = false
987
			end), hit.Parent.Torso)
988
			game:GetService("Debris"):AddItem(BodPos, 3)
989
			game:GetService("Debris"):AddItem(BodGy, 3)
990
		end
991
		if Delay > 0 then
992
		local debounce = Create("BoolValue"){
993
			Name = "DebounceHit",
994
			Parent = hit.Parent,
995
			Value = true,
996
		}
997
				game:GetService("Debris"):AddItem(debounce, Delay)
998
end
999
1000
		c = Create("ObjectValue"){
1001
			Name = "creator",
1002
			Value = Player,
1003
			Parent = h,
1004
		}
1005
		game:GetService("Debris"):AddItem(c, .5)
1006
	end
1007
end
1008
1009
function ShowDamage(Pos, Text, Time, Color)
1010
	local Rate = (1 / 30)
1011
	local Pos = (Pos or Vector3.new(0, 0, 0))
1012
	local Text = (Text or "")
1013
	local Time = (Time or 2)
1014
	local Color = (Color or Color3.new(1, 0, 1))
1015
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
1016
	EffectPart.Anchored = true
1017
	local BillboardGui = Create("BillboardGui"){
1018
		Size = UDim2.new(3, 0, 3, 0),
1019
		Adornee = EffectPart,
1020
		Parent = EffectPart,
1021
	}
1022
	local TextLabel = Create("TextLabel"){
1023
		BackgroundTransparency = 1,
1024
		Size = UDim2.new(1, 0, 1, 0),
1025
		Text = Text,
1026
		Font = "SourceSansLight",
1027
		TextColor3 = Color,
1028
		TextScaled = true,
1029
		Parent = BillboardGui,
1030
	}
1031
	game.Debris:AddItem(EffectPart, (Time))
1032
	EffectPart.Parent = game:GetService("Workspace")
1033
	delay(0, function()
1034
		local Frames = (Time / Rate)
1035
		for Frame = 1, Frames do
1036
			wait(Rate)
1037
			local Percent = (Frame / Frames)
1038
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
1039
			TextLabel.TextTransparency = Percent
1040
		end
1041
		if EffectPart and EffectPart.Parent then
1042
			EffectPart:Destroy()
1043
		end
1044
	end)
1045
end
1046
1047
function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
1048
	for _, c in pairs(workspace:children()) do
1049
		local hum = c:findFirstChild("Humanoid")
1050
		if hum ~= nil then
1051
			local head = c:findFirstChild("Torso")
1052
			if head ~= nil then
1053
				local targ = head.Position - Part.Position
1054
				local mag = targ.magnitude
1055
				if mag <= Magnitude and c.Name ~= Player.Name then 
1056
					Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 0, "rbxassetid://" .. HitSound, HitPitch)
1057
				end
1058
			end
1059
		end
1060
	end
1061
end
1062
1063
EffectModel = Create("Model"){
1064
	Parent = Character,
1065
	Name = "EffectModel",
1066
}
1067
1068
Effects = {
1069
	Block = {
1070
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, Part)
1071
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1072
			prt.Anchored = true
1073
			prt.CFrame = cframe
1074
			msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1075
			game:GetService("Debris"):AddItem(prt, 10)
1076
			if Type == 1 or Type == nil then
1077
				table.insert(Effects, {
1078
					prt,
1079
					"Block1",
1080
					delay,
1081
					x3,
1082
					y3,
1083
					z3,
1084
					msh
1085
				})
1086
			elseif Type == 2 then
1087
				table.insert(Effects, {
1088
					prt,
1089
					"Block2",
1090
					delay,
1091
					x3,
1092
					y3,
1093
					z3,
1094
					msh
1095
				})
1096
			elseif Type == 3 then
1097
				table.insert(Effects, {
1098
					prt,
1099
					"Block3",
1100
					delay,
1101
					x3,
1102
					y3,
1103
					z3,
1104
					msh,
1105
					Part
1106
				})
1107
			elseif Type == 4 then
1108
				table.insert(Effects, {
1109
					prt,
1110
					"Block2Fire",
1111
					delay,
1112
					x3,
1113
					y3,
1114
					z3,
1115
					msh
1116
				})
1117
			end
1118
		end
1119
	};
1120
1121
	Sphere = {
1122
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, parent)
1123
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1124
			prt.Anchored = true
1125
			prt.CFrame = cframe
1126
			if parent == nil then
1127
				prt.Parent = workspace
1128
			else
1129
				prt.Parent = parent
1130
			end
1131
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1132
			game:GetService("Debris"):AddItem(prt, 10)
1133
			table.insert(Effects, {
1134
				prt,
1135
				"Cylinder",
1136
				delay,
1137
				x3,
1138
				y3,
1139
				z3,
1140
				msh
1141
			})
1142
		end
1143
	};
1144
1145
	Blood = {
1146
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1147
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1148
			prt.Anchored = true
1149
			prt.CFrame = cframe
1150
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1151
			game:GetService("Debris"):AddItem(prt, 10)
1152
			table.insert(Effects, {
1153
				prt,
1154
				"Blood",
1155
				delay,
1156
				x3,
1157
				y3,
1158
				z3,
1159
				msh
1160
			})
1161
		end
1162
	};
1163
1164
	Blast = {
1165
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Part)
1166
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1167
			prt.Anchored = true
1168
			prt.CFrame = cframe
1169
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "1323306", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1170
			game:GetService("Debris"):AddItem(prt, 10)
1171
			table.insert(Effects, {
1172
				prt,
1173
				"Block4",
1174
				delay,
1175
				x3,
1176
				y3,
1177
				z3,
1178
				msh,
1179
				Part
1180
			})
1181
		end
1182
	};
1183
1184
	Ring = {
1185
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1186
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1187
			prt.Anchored = true
1188
			prt.CFrame = cframe
1189
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1190
			game:GetService("Debris"):AddItem(prt, 10)
1191
			table.insert(Effects, {
1192
				prt,
1193
				"Cylinder",
1194
				delay,
1195
				x3,
1196
				y3,
1197
				z3,
1198
				msh
1199
			})
1200
		end
1201
	};
1202
1203
	Cylinder = {
1204
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1205
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1206
			prt.Anchored = true
1207
			prt.CFrame = cframe
1208
			local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1209
			game:GetService("Debris"):AddItem(prt, 10)
1210
			table.insert(Effects, {
1211
				prt,
1212
				"Cylinder",
1213
				delay,
1214
				x3,
1215
				y3,
1216
				z3,
1217
				msh
1218
			})
1219
		end
1220
	};
1221
1222
	Head = {
1223
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1224
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1225
			prt.Anchored = true
1226
			prt.CFrame = cframe
1227
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1228
			game:GetService("Debris"):AddItem(prt, 10)
1229
			table.insert(Effects, {
1230
				prt,
1231
				"Cylinder",
1232
				delay,
1233
				x3,
1234
				y3,
1235
				z3,
1236
				msh
1237
			})
1238
		end
1239
	};
1240
1241
	Wave = {
1242
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1243
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1244
			prt.Anchored = true
1245
			prt.CFrame = cframe
1246
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1247
			game:GetService("Debris"):AddItem(prt, 10)
1248
			table.insert(Effects, {
1249
				prt,
1250
				"Cylinder",
1251
				delay,
1252
				x3,
1253
				y3,
1254
				z3,
1255
				msh
1256
			})
1257
		end
1258
	};
1259
1260
	Break = {
1261
		Create = function(brickcolor, cframe, x1, y1, z1)
1262
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1263
			prt.Anchored = true
1264
			prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1265
			game:GetService("Debris"):AddItem(prt, 10)
1266
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1267
			local num = math.random(10, 50) / 1000
1268
			table.insert(Effects, {
1269
				prt,
1270
				"Shatter",
1271
				num,
1272
				prt.CFrame,
1273
				math.random() - math.random(),
1274
				0,
1275
				math.random(50, 100) / 100
1276
			})
1277
		end
1278
	};
1279
1280
	Elec = {
1281
		Create = function(brickcolor, cff, x, y, z)
1282
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1))
1283
			prt.Anchored = true
1284
			prt.CFrame = cff * CFrame.new(math.random(-x * 100, x * 100) / 100, math.random(-y * 100, y * 100) / 100, math.random(-z * 100, z * 100) / 100)
1285
			prt.CFrame = CFrame.new(prt.Position)
1286
			game:GetService("Debris"):AddItem(prt, 10)
1287
			xval = math.random() / 9
1288
			yval = math.random() / 9
1289
			zval = math.random() / 9
1290
			msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
1291
			eul1 = math.random(-50, 50)
1292
			eul2 = math.random(-50, 50)
1293
			eul3 = math.random(-50, 50)
1294
			euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
1295
			euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
1296
			table.insert(Effects, {
1297
				prt,
1298
				"Elec",
1299
				.05,
1300
				x,
1301
				y,
1302
				z,
1303
				xval,
1304
				yval,
1305
				zval,
1306
				msh,
1307
				euld,
1308
				euld2
1309
			})
1310
		end
1311
	};
1312
1313
	Elec2 = {
1314
		Create = function(brickcolor, cff, x, y, z)
1315
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1))
1316
			prt.Anchored = true
1317
			prt.CFrame = cff * CFrame.new(math.random(-x * 100, x * 100) / 100, math.random(-y * 100, y * 100) / 100, math.random(-z * 100, z * 100) / 100)
1318
			prt.CFrame = CFrame.new(prt.Position)
1319
			game:GetService("Debris"):AddItem(prt, 10)
1320
			xval = math.random() / 7
1321
			yval = math.random() / 7
1322
			zval = math.random() / 7
1323
			msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
1324
			eul1 = math.random(-50, 50)
1325
			eul2 = math.random(-50, 50)
1326
			eul3 = math.random(-50, 50)
1327
			euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
1328
			euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
1329
			table.insert(Effects, {
1330
				prt,
1331
				"Elec",
1332
				.1,
1333
				x,
1334
				y,
1335
				z,
1336
				xval,
1337
				yval,
1338
				zval,
1339
				msh,
1340
				euld,
1341
				euld2
1342
			})
1343
		end
1344
	};
1345
1346
	Clone = {
1347
		Create = function() 
1348
			for _, v in pairs(Torso.Parent:children()) do
1349
				if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
1350
					local c = CFuncs.Part.Create(EffectModel, "Neon", 0, .5, BrickColor.new("Bright blue"), "Effect", v.Size)
1351
					c.Anchored = true
1352
					c.CFrame = v.CFrame
1353
					game:GetService("Debris"):AddItem(c, 5)
1354
					local cmsh = nil
1355
					if v.Name == "Head" then
1356
						cmsh = CFuncs.Mesh.Create("SpecialMesh", c, "Head", "", Vector3.new(0, 0, 0), v.Mesh.Scale)
1357
					else
1358
						cmsh = CFuncs.Mesh.Create("BlockMesh", c, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
1359
					end
1360
					table.insert(Effects, {
1361
						c,
1362
						"Cylinder",
1363
						0.05,
1364
						0.1,
1365
						0.1,
1366
						0.1,
1367
						cmsh
1368
					})
1369
				end
1370
			end
1371
		end
1372
	};
1373
1374
	EffectTemplate = {
1375
1376
	};
1377
}
1378
1379
1380
Laser = function(brickcolor, reflect, cframe, x1, y1, z1, x3, y3, z3, delay)
1381
	
1382
	prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", reflect, 0, brickcolor, "Effect", Vector3.new(.1, 0.5, 0.1))
1383
	prt.Anchored = true
1384
	prt.CFrame = cframe
1385
	prt.Material = "Neon"
1386
	local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1387
	game:GetService("Debris"):AddItem(prt, 1)
1388
	coroutine.resume(coroutine.create(function(Part, Mesh)
1389
		
1390
		for i = 0, 1, delay do
1391
			swait()
1392
			Part.Transparency = i
1393
			Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
1394
		end
1395
		Part.Parent = nil
1396
	end
1397
), prt, msh)
1398
end
1399
1400
wshoot = function(mouse, aoe , partt, SpreadAmount, multiply)
1401
	
1402
	local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
1403
	local MainPos = partt.Position
1404
	local MainPos2 = mouse.Hit.p + SpreadVectors
1405
	local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
1406
	local speed = 1000
1407
	local num = .5
1408
	coroutine.resume(coroutine.create(function()
1409
		
1410
		repeat
1411
			swait()
1412
			local hit, pos = RayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
1413
			local mag = (MainPos - pos).magnitude                                                            
1414
			Laser(BrickColor.new("Gold"), 0, CFrame.new((MainPos + pos)/2, pos) * CFrame.Angles(1.57, 0, 0), 5, mag * (speed / (speed / 2)), .2, .2, 0, .2, 0.1)
1415
			MainPos = MainPos + MouseLook.lookVector * speed
1416
			num = num - 1
1417
			MouseLook = MouseLook * CFrame.Angles(math.rad(-1), 0, 0)
1418
			if hit ~= nil then
1419
									if hit.Name == "Torso" or hit.Name == "Right Leg" or hit.Name == "Left Leg" or hit.Name == "Right Arm" or hit.Name == "Left Arm" then
1420
				num = 0
1421
				local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
1422
				refpart.Anchored = true
1423
				refpart.CFrame = CFrame.new(pos)
1424
				local hitsound = math.random(1,3)
1425
				if hitsound == 1 then
1426
					CFuncs.Sound.Create("898398743", refpart, .5, 1)
1427
						elseif hitsound == 2 then
1428
							CFuncs.Sound.Create("898398730", refpart, .5, 1)	
1429
								elseif hitsound == 3 then
1430
									CFuncs.Sound.Create("898398706", refpart, .5, 1)
1431
				end
1432
local smonk = Instance.new("ParticleEmitter",refpart)
1433
			smonk.LightEmission = .1
1434
			smonk.Size = NumberSequence.new(0.2)
1435
			smonk.Texture = "http://www.roblox.com/asset/?ID=256293532"
1436
			aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, .2),NumberSequenceKeypoint.new(1, 1)})
1437
			bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
1438
			smonk.Transparency = bbb
1439
			smonk.Size = aaa
1440
			smonk.ZOffset = 0
1441
			smonk.Acceleration = Vector3.new(0, -5, 0)
1442
			smonk.LockedToPart = false
1443
			smonk.EmissionDirection = "Back"
1444
			smonk.Lifetime = NumberRange.new(.1, .5)
1445
			smonk.Rate = 50
1446
			smonk.Rotation = NumberRange.new(-100, 100)
1447
			smonk.RotSpeed = NumberRange.new(-100, 100)
1448
			smonk.Speed = NumberRange.new(4)
1449
			smonk.VelocitySpread = 50
1450
			smonk.Enabled=true
1451
game:GetService("Debris"):AddItem(smonk, .3)
1452
							elseif hit.Name == "Head" then
1453
						num = 0
1454
				local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
1455
				refpart.Anchored = true
1456
				refpart.CFrame = CFrame.new(pos)
1457
				game:GetService("Debris"):AddItem(refpart, 2)
1458
            local smonk = Instance.new("ParticleEmitter",refpart)
1459
			smonk.LightEmission = .1
1460
			smonk.Size = NumberSequence.new(0.2)
1461
			smonk.Texture = "http://www.roblox.com/asset/?ID=256293532"
1462
			aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, .2),NumberSequenceKeypoint.new(1, 1.5)})
1463
			bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
1464
			smonk.Transparency = bbb
1465
			smonk.Size = aaa
1466
			smonk.ZOffset = 0
1467
			smonk.Acceleration = Vector3.new(0, -5, 0)
1468
			smonk.LockedToPart = false
1469
			smonk.EmissionDirection = "Back"
1470
			smonk.Lifetime = NumberRange.new(.1, .5)
1471
			smonk.Rate = 50
1472
			smonk.Rotation = NumberRange.new(-100, 100)
1473
			smonk.RotSpeed = NumberRange.new(-100, 100)
1474
			smonk.Speed = NumberRange.new(4)
1475
			smonk.VelocitySpread = 100
1476
			smonk.Enabled=true
1477
game:GetService("Debris"):AddItem(smonk, .3)
1478
				else
1479
					num = 0
1480
				local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
1481
				refpart.Anchored = true
1482
				refpart.CFrame = CFrame.new(pos)
1483
			        CFuncs.Sound.Create("342190504", prt, 1, 1)
1484
				game:GetService("Debris"):AddItem(refpart, 0)		
1485
				end
1486
				end
1487
			do
1488
				if num <= 0 then
1489
					local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 1, 1, "Really black", "Effect", Vector3.new())
1490
					refpart.Anchored = true
1491
					refpart.CFrame = CFrame.new(pos)
1492
					if hit ~= nil then
1493
		MagnitudeDamage(refpart, 5, 2, 2, .01, "Normal", " ", 1)			
1494
					end
1495
					game:GetService("Debris"):AddItem(refpart, 1)
1496
				end
1497
			end
1498
		until num <= 0
1499
	end
1500
))
1501
end
1502
1503
1504
1505
shoot = function(mouse, aoe , partt, SpreadAmount, multiply)
1506
	
1507
	local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
1508
	local MainPos = partt.Position
1509
	local MainPos2 = mouse.Hit.p + SpreadVectors
1510
	local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
1511
	local speed = 1000
1512
	local num = .5
1513
	coroutine.resume(coroutine.create(function()
1514
		
1515
		repeat
1516
			swait()
1517
			local hit, pos = RayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
1518
			local mag = (MainPos - pos).magnitude                                                            
1519
			Laser(BrickColor.new("Gold"), 0, CFrame.new((MainPos + pos)/2, pos) * CFrame.Angles(1.57, 0, 0), 5, mag * (speed / (speed / 2)), .2, .2, 0, .2, 0.1)
1520
			MainPos = MainPos + MouseLook.lookVector * speed
1521
			num = num - 1
1522
			MouseLook = MouseLook * CFrame.Angles(math.rad(-1), 0, 0)
1523
			if hit ~= nil then
1524
									if hit.Name == "Torso" or hit.Name == "Right Leg" or hit.Name == "Left Leg" or hit.Name == "Right Arm" or hit.Name == "Left Arm" then
1525
				num = 0
1526
				local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
1527
				refpart.Anchored = true
1528
				refpart.CFrame = CFrame.new(pos)
1529
				local hitsound = math.random(1,3)
1530
				if hitsound == 1 then
1531
					CFuncs.Sound.Create("898398743", refpart, .5, 1)
1532
						elseif hitsound == 2 then
1533
							CFuncs.Sound.Create("898398730", refpart, .5, 1)	
1534
								elseif hitsound == 3 then
1535
									CFuncs.Sound.Create("898398706", refpart, .5, 1)
1536
				end
1537
local smonk = Instance.new("ParticleEmitter",refpart)
1538
			smonk.LightEmission = .1
1539
			smonk.Size = NumberSequence.new(0.2)
1540
			smonk.Texture = "http://www.roblox.com/asset/?ID=256293532"
1541
			aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, .2),NumberSequenceKeypoint.new(1, 1)})
1542
			bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
1543
			smonk.Transparency = bbb
1544
			smonk.Size = aaa
1545
			smonk.ZOffset = 0
1546
			smonk.Acceleration = Vector3.new(0, -5, 0)
1547
			smonk.LockedToPart = false
1548
			smonk.EmissionDirection = "Back"
1549
			smonk.Lifetime = NumberRange.new(.1, .5)
1550
			smonk.Rate = 50
1551
			smonk.Rotation = NumberRange.new(-100, 100)
1552
			smonk.RotSpeed = NumberRange.new(-100, 100)
1553
			smonk.Speed = NumberRange.new(4)
1554
			smonk.VelocitySpread = 50
1555
			smonk.Enabled=true
1556
game:GetService("Debris"):AddItem(smonk, .3)
1557
							elseif hit.Name == "Head" then
1558
						num = 0
1559
				local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
1560
				refpart.Anchored = true
1561
				refpart.CFrame = CFrame.new(pos)
1562
				game:GetService("Debris"):AddItem(refpart, 2)
1563
            local smonk = Instance.new("ParticleEmitter",refpart)
1564
			smonk.LightEmission = .1
1565
			smonk.Size = NumberSequence.new(0.2)
1566
			smonk.Texture = "http://www.roblox.com/asset/?ID=256293532"
1567
			aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, .2),NumberSequenceKeypoint.new(1, 1.5)})
1568
			bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
1569
			smonk.Transparency = bbb
1570
			smonk.Size = aaa
1571
			smonk.ZOffset = 0
1572
			smonk.Acceleration = Vector3.new(0, -5, 0)
1573
			smonk.LockedToPart = false
1574
			smonk.EmissionDirection = "Back"
1575
			smonk.Lifetime = NumberRange.new(.1, .5)
1576
			smonk.Rate = 50
1577
			smonk.Rotation = NumberRange.new(-100, 100)
1578
			smonk.RotSpeed = NumberRange.new(-100, 100)
1579
			smonk.Speed = NumberRange.new(4)
1580
			smonk.VelocitySpread = 100
1581
			smonk.Enabled=true
1582
game:GetService("Debris"):AddItem(smonk, .3)
1583
				else
1584
					num = 0
1585
				local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
1586
				refpart.Anchored = true
1587
				refpart.CFrame = CFrame.new(pos)
1588
			        CFuncs.Sound.Create("342190504", prt, 1, 1)
1589
				game:GetService("Debris"):AddItem(refpart, 0)		
1590
				end
1591
				end
1592
			do
1593
				if num <= 0 then
1594
					local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 1, 1, "Really black", "Effect", Vector3.new())
1595
					refpart.Anchored = true
1596
					refpart.CFrame = CFrame.new(pos)
1597
					if hit ~= nil then
1598
		MagnitudeDamage(refpart, 3, 2, 5, 0, "Normal", " ", 1)			
1599
					end
1600
					game:GetService("Debris"):AddItem(refpart, 1)
1601
				end
1602
			end
1603
		until num <= 0
1604
	end
1605
))
1606
end
1607
1608
1609
1610
1611
1612
function fire()
1613
	Attack = true	
1614
	Humanoid.WalkSpeed = 8
1615
    Humanoid.JumpPower = 0
1616
Humanoid.AutoRotate = false
1617
		local bodygyro = Instance.new("BodyGyro",RootPart)
1618
		bodygyro.MaxTorque = Vector3.new(50000,50000,50000)
1619
				bodygyro.P = 8000
1620
				CFuncs.Sound.Create("873073703", Handle, 1, 1)
1621
	for i = 0, 1, 0.1 do
1622
		swait()
1623
		PlayAnimationFromTable({
1624
         CFrame.new(0.757158816, 0.024620086, -0.316807836, 0.00376787782, -0.197771132, 0.98024106, -0.0522153527, 0.978872001, 0.197695583, -0.998628855, -0.0519285128, -0.00663840771) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),  
1625
         CFrame.new(0.0513084419, 1.52798402, -0.0491129272, 0.503341198, 0.0593924709, -0.862044334, -0.0388650261, 0.998181403, 0.0460789353, 0.86321336, 0.0103099495, 0.504734159) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1626
         CFrame.new(1.62060225, 0.561005533, -0.67263329, 0.184799463, -0.818805337, -0.543513656, -0.980174243, -0.113341682, -0.162518218, 0.0714680403, 0.56277138, -0.823517323) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1627
         CFrame.new(-0.181243077, 0.716829836, -0.982703269, 0.117607087, -0.980847061, -0.15526706, -0.30332914, 0.113398649, -0.946114302, 0.945600331, 0.158366859, -0.284183025) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1628
         CFrame.new(0.628674686, -1.98509169, -0.25950858, 1.00000024, 0, 0, -7.4505806e-09, 0.98480773, -0.173648342, -2.98023224e-08, 0.173648342, 0.984807909) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1629
         CFrame.new(-0.442586422, -1.94206905, -0.503501356, 0.984808087, 0, -0.173647165, -0.0301535428, 0.98480773, -0.171010256, 0.171009004, 0.173648342, 0.969846487) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1630
		}, .3, false)
1631
		bodygyro.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
1632
	end
1633
	
1634
	AmmoCount = AmmoCount - AmmoUsage
1635
	for i = 0, 9, 1 do
1636
shoot(Mouse, 3 , bulletmaker, .15 + (Torso.Position - Mouse.Hit.p).magnitude/math.random(17,20) , 0)
1637
	end
1638
	Torso.Velocity=RootPart.CFrame.lookVector*-20
1639
	Effects.Block.Create(BrickColor.new("Flame reddish orange"), bulletmaker.CFrame, .5, .5, .5, .5, .5, .5, .1, 1)
1640
	CFuncs.Sound.Create("1132379030", Handle, 1, 1)
1641
		bodygyro:Destroy()
1642
	for i = 0, 1, 0.1 do
1643
		swait()
1644
		PlayAnimationFromTable({
1645
         CFrame.new(0.588929892, -1.11013651e-06, -0.0153462738, 0.466293842, -0.234925136, 0.85287708, 0.171010062, 0.969846427, 0.17364794, -0.867954016, 0.0648796037, 0.492407978) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1646
         CFrame.new(0.160780251, 1.50000441, 0.0393266231, 0.488946259, -0.0697783977, -0.869518578, -0.125678584, 0.980760813, -0.149376884, 0.863213003, 0.182317138, 0.470769644) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1647
         CFrame.new(1.67061281, 0.704267323, -0.691583157, 0.423231184, -0.709484339, -0.563477933, -0.879032731, -0.472217411, -0.065669328, -0.219492719, 0.52310884, -0.823517084) * CFrame.new(-.2, 0, 0) * CFrame.Angles(0, 0, 0), 
1648
         CFrame.new(-0.0540117994, 0.73741293, -0.982708097, 0.0631480217, -0.978079677, 0.198425397, -0.319141895, -0.208172753, -0.924560905, 0.945600986, -0.00494170189, -0.325291872) * CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0), 
1649
         CFrame.new(0.378202379, -1.77786493, -0.298971295, 0.837791204, 0.33804059, -0.428759336, -0.235888705, 0.932314754, 0.274127543, 0.492404819, -0.128522187, 0.860825062) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1650
         CFrame.new(-0.773099661, -1.83571112, -0.503498793, 0.964610457, 0.171010062, -0.200704694, -0.200705469, 0.969846427, -0.138258308, 0.171009183, 0.17364794, 0.969846606) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1651
		}, .3, false)
1652
	end
1653
	Humanoid.AutoRotate = true
1654
	CFuncs.Sound.Create("131072992", Handle, 1, 1)
1655
		for i = 0, 1, 0.1 do
1656
		swait()
1657
		PlayAnimationFromTable({
1658
         CFrame.new(0.588927984, -1.34110451e-07, -0.0153470635, 0.500004232, -0.15038535, 0.852876961, 0, 0.98480773, 0.173648342, -0.86603415, -0.0868248865, 0.492408037) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1659
         CFrame.new(-0.0697273612, 1.49668336, 0.0200494975, 0.503342092, 0.208182395, -0.838634133, -0.0388649404, 0.975015461, 0.218711212, 0.863212883, -0.0774930716, 0.49885726) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1660
         CFrame.new(1.51687121, 0.252128333, -0.305914342, -0.106392592, -0.288472205, -0.951559067, -0.959828019, 0.279683411, 0.0225289911, 0.259636283, 0.915729821, -0.306639969) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1661
         CFrame.new(-0.342295825, 0.26239565, -1.10844982, 0.117607087, -0.938983917, -0.323230654, -0.30332914, 0.275967002, -0.912049174, 0.945600331, 0.205308735, -0.2523655) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1662
         CFrame.new(0.54057467, -1.946859, -0.234844446, 0.866025031, 0, -0.500000834, -0.0868243054, 0.98480773, -0.15038377, 0.49240464, 0.173648342, 0.85286808) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1663
         CFrame.new(-0.44258678, -1.94206941, -0.503499508, 0.984808087, 0, -0.173647165, -0.0301535428, 0.98480773, -0.171010256, 0.171009004, 0.173648342, 0.969846487) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1664
		}, .3, false)
1665
		end
1666
				local shell = CFuncs.Part.Create(EffectModel, "SmoothPlastic", .1, 0, "Bright red", "Effect", Vector3.new(.5,.8,.5))
1667
				local shllmsh = CFuncs.Mesh.Create("CylinderMesh", shell, "", "", Vector3.new(0, 0, 0), Vector3.new(.3, .4, .3))
1668
				shell.Anchored = false
1669
				shell.Position = Shellmaker.Position
1670
				shell.CanCollide = true
1671
				shell.Velocity=RootPart.CFrame.rightVector*20
1672
				game:GetService("Debris"):AddItem(shell, 3)
1673
				local shellsound = math.random(1,2)
1674
				if shellsound == 1 then
1675
				    CFuncs.Sound.Create("1132378823", shell, .5, 1)
1676
				elseif shellsound  == 2 then
1677
					CFuncs.Sound.Create("1132378791", shell, .5, 1)
1678
				end
1679
	for i = 0, 1, 0.1 do
1680
		swait()
1681
		PlayAnimationFromTable({
1682
         CFrame.new(0.588927984, -1.34110451e-07, -0.0153470635, 0.500004232, -0.15038535, 0.852876961, 0, 0.98480773, 0.173648342, -0.86603415, -0.0868248865, 0.492408037) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1683
         CFrame.new(-0.0697273612, 1.49668336, 0.0200494975, 0.503342092, 0.208182395, -0.838634133, -0.0388649404, 0.975015461, 0.218711212, 0.863212883, -0.0774930716, 0.49885726) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1684
         CFrame.new(1.64014888, 0.224238992, -0.403565288, 0.0212229788, -0.603865683, -0.796803713, -0.989261985, 0.102589145, -0.104097351, 0.144604191, 0.790456831, -0.595203996) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1685
         CFrame.new(-0.522896647, 0.315473199, -1.06896186, 0.117607087, -0.938983917, -0.323230654, -0.30332914, 0.275967002, -0.912049174, 0.945600331, 0.205308735, -0.2523655) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1686
         CFrame.new(0.54057467, -1.946859, -0.234844446, 0.866025031, 0, -0.500000834, -0.0868243054, 0.98480773, -0.15038377, 0.49240464, 0.173648342, 0.85286808) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1687
         CFrame.new(-0.44258678, -1.94206941, -0.503499508, 0.984808087, 0, -0.173647165, -0.0301535428, 0.98480773, -0.171010256, 0.171009004, 0.173648342, 0.969846487) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1688
		}, .3, false)
1689
	end
1690
	for i = 0, .2, 0.1 do
1691
	swait()
1692
			PlayAnimationFromTable({
1693
         CFrame.new(0.038382329, -2.14204192e-08, -0.0314837135, 0.984807849, 0.0301536452, 0.171009868, 0, 0.98480773, -0.173648119, -0.173647985, 0.171010017, 0.969846368) * CFrame.new(0, 0 + 0.05 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0 + 0.005 * math.cos(Sine/25), 0), 
1694
          CFrame.new(-0.00987245888, 1.54137087, -0.232474566, 0.983905733, 0.0593912564, -0.168529823, 0.000888057693, 0.941511214, 0.336980611, 0.17868638, -0.331706822, 0.926305413) * CFrame.new(0, 0, 0) * CFrame.Angles(0 - 0.05 * math.cos(Sine/25), 0, 0), 
1695
         CFrame.new(1.00599754, 0.00645497441, -0.987730443, 0.387630165, 0.322637081, -0.863509297, -0.802340508, 0.579304218, -0.143723249, 0.453864068, 0.748539925, 0.483420581) * CFrame.new(0, 0 + 0.02 * math.cos(Sine/25), 0 + 0.01 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), 
1696
         CFrame.new(-0.927108586, 0.209949538, -0.179899275, 0.68265909, -0.539921403, -0.492403984, -0.24406442, 0.4666816, -0.850082874, 0.688773632, 0.700495183, 0.18680881) * CFrame.new(0, 0 + 0.02 * math.cos(Sine/25), 0 + 0.01 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), 
1697
         CFrame.new(0.628665984, -2.00964737, 0.120245621, 1.00000012, 0, 0, 1.86264515e-09, 0.98480773, 0.173648119, 0, -0.173648119, 0.984807849) * CFrame.new(0, 0 - 0.05 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0), 
1698
         CFrame.new(-0.44258371, -1.99715459, 0.19109571, 0.939692676, 0, 0.342020601, -0.0593912229, 0.98480773, 0.163175851, -0.336824536, -0.173648119, 0.925416529) * CFrame.new(0, 0 - 0.05 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0), 
1699
		}, .3, false)
1700
	end
1701
Humanoid.WalkSpeed = 16
1702
Humanoid.JumpPower = 60
1703
	Attack = false
1704
end
1705
1706
1707
function dryfire()
1708
	Attack = true	
1709
	Humanoid.WalkSpeed = 8
1710
    Humanoid.JumpPower = 0
1711
Humanoid.AutoRotate = false
1712
		local bodygyro = Instance.new("BodyGyro",RootPart)
1713
		bodygyro.MaxTorque = Vector3.new(50000,50000,50000)
1714
				bodygyro.P = 8000
1715
				CFuncs.Sound.Create("873073703", Handle, 1, 1)
1716
	for i = 0, 1, 0.1 do
1717
		swait()
1718
		PlayAnimationFromTable({
1719
         CFrame.new(0.757158816, 0.024620086, -0.316807836, 0.00376787782, -0.197771132, 0.98024106, -0.0522153527, 0.978872001, 0.197695583, -0.998628855, -0.0519285128, -0.00663840771) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),  
1720
         CFrame.new(0.0513084419, 1.52798402, -0.0491129272, 0.503341198, 0.0593924709, -0.862044334, -0.0388650261, 0.998181403, 0.0460789353, 0.86321336, 0.0103099495, 0.504734159) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1721
         CFrame.new(1.62060225, 0.561005533, -0.67263329, 0.184799463, -0.818805337, -0.543513656, -0.980174243, -0.113341682, -0.162518218, 0.0714680403, 0.56277138, -0.823517323) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1722
         CFrame.new(-0.181243077, 0.716829836, -0.982703269, 0.117607087, -0.980847061, -0.15526706, -0.30332914, 0.113398649, -0.946114302, 0.945600331, 0.158366859, -0.284183025) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1723
         CFrame.new(0.628674686, -1.98509169, -0.25950858, 1.00000024, 0, 0, -7.4505806e-09, 0.98480773, -0.173648342, -2.98023224e-08, 0.173648342, 0.984807909) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1724
         CFrame.new(-0.442586422, -1.94206905, -0.503501356, 0.984808087, 0, -0.173647165, -0.0301535428, 0.98480773, -0.171010256, 0.171009004, 0.173648342, 0.969846487) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1725
		}, .3, false)
1726
		bodygyro.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
1727
	end
1728
	CFuncs.Sound.Create("132464034", Handle, 1, 1)
1729
		for i = 0, .5, 0.1 do
1730
		swait()
1731
		PlayAnimationFromTable({
1732
         CFrame.new(0.757158816, 0.024620086, -0.316807836, 0.00376787782, -0.197771132, 0.98024106, -0.0522153527, 0.978872001, 0.197695583, -0.998628855, -0.0519285128, -0.00663840771) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),  
1733
         CFrame.new(0.0513084419, 1.52798402, -0.0491129272, 0.503341198, 0.0593924709, -0.862044334, -0.0388650261, 0.998181403, 0.0460789353, 0.86321336, 0.0103099495, 0.504734159) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1734
         CFrame.new(1.62060225, 0.561005533, -0.67263329, 0.184799463, -0.818805337, -0.543513656, -0.980174243, -0.113341682, -0.162518218, 0.0714680403, 0.56277138, -0.823517323) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1735
         CFrame.new(-0.181243077, 0.716829836, -0.982703269, 0.117607087, -0.980847061, -0.15526706, -0.30332914, 0.113398649, -0.946114302, 0.945600331, 0.158366859, -0.284183025) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1736
         CFrame.new(0.628674686, -1.98509169, -0.25950858, 1.00000024, 0, 0, -7.4505806e-09, 0.98480773, -0.173648342, -2.98023224e-08, 0.173648342, 0.984807909) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1737
         CFrame.new(-0.442586422, -1.94206905, -0.503501356, 0.984808087, 0, -0.173647165, -0.0301535428, 0.98480773, -0.171010256, 0.171009004, 0.173648342, 0.969846487) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1738
		}, .3, false)
1739
		bodygyro.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
1740
	end
1741
		bodygyro:Destroy()
1742
	Humanoid.AutoRotate = true
1743
Humanoid.WalkSpeed = 16
1744
Humanoid.JumpPower = 60
1745
	Attack = false
1746
end
1747
1748
1749
1750
1751
1752
1753
1754
function relode()
1755
	Attack = true
1756
	relodee = true	
1757
Humanoid.WalkSpeed = 5
1758
CFuncs.Sound.Create("1132378728", Handle, .5, 1)
1759
		for i = 0, 1, 0.1 do
1760
		swait()
1761
		PlayAnimationFromTable({
1762
       CFrame.new(0.038382329, -2.14204192e-08, -0.0314837135, 0.984807849, 0.0301536452, 0.171009868, 0, 0.98480773, -0.173648119, -0.173647985, 0.171010017, 0.969846368) * CFrame.new(0, 0 + 0.05 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0 + 0.005 * math.cos(Sine/25), 0),  
1763
         CFrame.new(-0.100350231, 1.4967103, -0.061891377, 0.64132297, 0.208182856, -0.738488197, -0.0762534291, 0.975015342, 0.208640277, 0.763472557, -0.0774935335, 0.641174316) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),  
1764
         CFrame.new(1.07593381, -0.046435535, 0.399106979, -0.603867352, -0.0212483108, -0.796801686, 0.102590129, 0.989258587, -0.104129925, 0.790455341, -0.144624621, -0.595201015) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1765
         CFrame.new(-0.52289784, 0.315474898, -1.0689652, 0.117606997, -0.938983917, -0.323230416, -0.303329468, 0.275966793, -0.912049174, 0.945600212, 0.205308646, -0.252365857) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1766
         CFrame.new(0.628665984, -2.00964737, 0.120245621, 1.00000012, 0, 0, 1.86264515e-09, 0.98480773, 0.173648119, 0, -0.173648119, 0.984807849) * CFrame.new(0, 0 - 0.05 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0), 
1767
         CFrame.new(-0.44258371, -1.99715459, 0.19109571, 0.939692676, 0, 0.342020601, -0.0593912229, 0.98480773, 0.163175851, -0.336824536, -0.173648119, 0.925416529) * CFrame.new(0, 0 - 0.05 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0), 
1768
		}, .3, false)
1769
		fHandleWeld.C0 = clerp(fHandleWeld.C0, CFrame.new(-.4, .2, 0) * CFrame.Angles(math.rad(90), math.rad(5), math.rad(90)), 0.3)
1770
		end	
1771
	for i = 0, 1, 0.1 do
1772
		swait()
1773
		PlayAnimationFromTable({
1774
       CFrame.new(0.038382329, -2.14204192e-08, -0.0314837135, 0.984807849, 0.0301536452, 0.171009868, 0, 0.98480773, -0.173648119, -0.173647985, 0.171010017, 0.969846368) * CFrame.new(0, 0 + 0.05 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0 + 0.005 * math.cos(Sine/25), 0),  
1775
         CFrame.new(-0.100350231, 1.4967103, -0.061891377, 0.64132297, 0.208182856, -0.738488197, -0.0762534291, 0.975015342, 0.208640277, 0.763472557, -0.0774935335, 0.641174316) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1776
         CFrame.new(1.28816545, 0.371927321, -0.785959482, 0.833941579, -0.0145216882, -0.551661849, -0.529568017, -0.302267253, -0.79258585, -0.155239552, 0.953112662, -0.25976342) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1777
         CFrame.new(-0.522895455, 0.31547451, -1.06896842, -0.0472328961, -0.986910462, -0.154198274, -0.250799775, 0.161142588, -0.954532683, 0.966886103, -0.0064124465, -0.255128086) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1778
         CFrame.new(0.628665984, -2.00964737, 0.120245621, 1.00000012, 0, 0, 1.86264515e-09, 0.98480773, 0.173648119, 0, -0.173648119, 0.984807849) * CFrame.new(0, 0 - 0.05 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0), 
1779
         CFrame.new(-0.44258371, -1.99715459, 0.19109571, 0.939692676, 0, 0.342020601, -0.0593912229, 0.98480773, 0.163175851, -0.336824536, -0.173648119, 0.925416529) * CFrame.new(0, 0 - 0.05 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0), 
1780
		}, .3, false)
1781
		fHandleWeld.C0 = clerp(fHandleWeld.C0, CFrame.new(-.4, .2, 0) * CFrame.Angles(math.rad(90), math.rad(5), math.rad(90)), 0.3)
1782
	end
1783
	AmmoCount = AmmoCount + AmmoUsage
1784
	print(AmmoCount)
1785
    CFuncs.Sound.Create("1001714844", Handle, 1, 1)
1786
Humanoid.WalkSpeed = 16
1787
Humanoid.JumpPower = 60
1788
Attack = false
1789
end
1790
1791
1792
function hop()
1793
				Attack = true
1794
			CFuncs.Sound.Create("158149887", Torso, 1, 1)
1795
			Humanoid.Jump = true
1796
			Humanoid.JumpPower = 60
1797
				for i = 0, .5, 0.1 do
1798
		swait()
1799
					PlayAnimationFromTable({
1800
         CFrame.new(-0, -1.01481628, -8.04662704e-07, 1, 0, 0, 0, 0.866025686, 0.499999642, -0, -0.499999642, 0.866025686) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1801
         CFrame.new(0, 1.45637476, -0.213752031, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1802
         CFrame.new(1.80887365, 0.563777864, 0.393151999, 0.642787039, -0.766044915, -1.2109125e-06, 0.754407167, 0.633021533, 0.173648313, -0.133021653, -0.111619815, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1803
         CFrame.new(-1.67181289, 0.594474256, -0.03263852, 0.499999285, 0.866025865, 1.98491279e-07, -0.750001073, 0.433012605, -0.499998599, -0.43301177, 0.249998808, 0.866026282) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1804
         CFrame.new(0.5, -1.80666828, -0.689023316, 1, 0, 0, 0, 0.984807849, 0.173648134, 0, -0.173648164, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1805
         CFrame.new(-0.5, -1.42673647, -0.144118369, 1, 0, 0, 0, 0.766044736, 0.642787457, 0, -0.642787457, 0.766044736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1806
					}, .3, false)
1807
				end
1808
				Torso.Velocity=RootPart.CFrame.lookVector*100
1809
	for i = 0, .9, 0.1 do
1810
		swait()
1811
		PlayAnimationFromTable({
1812
         CFrame.new(0.708232701, 0.127894983, 0.246774122, 0.76604414, -0.111618884, 0.633022666, 0, 0.984807849, 0.173648044, -0.642788053, -0.13302207, 0.754406214) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1813
         CFrame.new(0.0324593484, 1.43977821, -0.119624585, 0.995960355, -0.0868238062, -0.0229113102, 0.0894833133, 0.938373625, 0.333838284, -0.00748568773, -0.334539831, 0.942351937) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1814
         CFrame.new(1.69410944, 0.329396009, -0.667013586, 0.977326989, -0.133022755, 0.164733544, 0.196574897, 0.280932605, -0.939380229, 0.0786799788, 0.95046401, 0.30071193) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1815
         CFrame.new(-1.50714529, 0.0157378055, -0.431941032, 0.884520769, 0.235685706, -0.402585804, -0.362369925, 0.890611291, -0.274772465, 0.29378742, 0.388926923, 0.873169541) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1816
         CFrame.new(0.618915975, -1.85825384, -0.515439391, 0.98480773, 0.173648864, -1.81794167e-06, -0.17101045, 0.969846725, 0.173646331, 0.0301553011, -0.171007901, 0.984808087) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1817
         CFrame.new(-0.523646474, -1.39458823, -0.171092927, 0.939692676, 0.342020273, 3.57627869e-07, -0.262003183, 0.719847083, 0.642786682, 0.219845772, -0.604022026, 0.766045213) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1818
		}, .3, false)
1819
	end
1820
	Torso.Velocity=RootPart.CFrame.upVector*0
1821
Humanoid.WalkSpeed = 16
1822
Humanoid.JumpPower = 60
1823
	Attack = false	
1824
end
1825
1826
1827
1828
function pump()
1829
	Attack = true
1830
Humanoid.WalkSpeed = 8
1831
	CFuncs.Sound.Create("131072992", Handle, 1, 1)
1832
		for i = 0, 1, 0.1 do
1833
		swait()
1834
		PlayAnimationFromTable({
1835
         CFrame.new(0.588927984, -1.34110451e-07, -0.0153470635, 0.500004232, -0.15038535, 0.852876961, 0, 0.98480773, 0.173648342, -0.86603415, -0.0868248865, 0.492408037) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1836
         CFrame.new(-0.0697273612, 1.49668336, 0.0200494975, 0.503342092, 0.208182395, -0.838634133, -0.0388649404, 0.975015461, 0.218711212, 0.863212883, -0.0774930716, 0.49885726) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1837
         CFrame.new(1.51687121, 0.252128333, -0.305914342, -0.106392592, -0.288472205, -0.951559067, -0.959828019, 0.279683411, 0.0225289911, 0.259636283, 0.915729821, -0.306639969) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1838
         CFrame.new(-0.342295825, 0.26239565, -1.10844982, 0.117607087, -0.938983917, -0.323230654, -0.30332914, 0.275967002, -0.912049174, 0.945600331, 0.205308735, -0.2523655) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1839
         CFrame.new(0.54057467, -1.946859, -0.234844446, 0.866025031, 0, -0.500000834, -0.0868243054, 0.98480773, -0.15038377, 0.49240464, 0.173648342, 0.85286808) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1840
         CFrame.new(-0.44258678, -1.94206941, -0.503499508, 0.984808087, 0, -0.173647165, -0.0301535428, 0.98480773, -0.171010256, 0.171009004, 0.173648342, 0.969846487) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1841
		}, .3, false)
1842
		fHandleWeld.C0 = clerp(fHandleWeld.C0, CFrame.new(-.4, .2, 0) * CFrame.Angles(math.rad(90), math.rad(-5), math.rad(90)), 0.3)
1843
		end
1844
	for i = 0, 1, 0.1 do
1845
		swait()
1846
		PlayAnimationFromTable({
1847
         CFrame.new(0.588927984, -1.34110451e-07, -0.0153470635, 0.500004232, -0.15038535, 0.852876961, 0, 0.98480773, 0.173648342, -0.86603415, -0.0868248865, 0.492408037) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1848
         CFrame.new(-0.0697273612, 1.49668336, 0.0200494975, 0.503342092, 0.208182395, -0.838634133, -0.0388649404, 0.975015461, 0.218711212, 0.863212883, -0.0774930716, 0.49885726) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1849
         CFrame.new(1.64014888, 0.224238992, -0.403565288, 0.0212229788, -0.603865683, -0.796803713, -0.989261985, 0.102589145, -0.104097351, 0.144604191, 0.790456831, -0.595203996) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1850
         CFrame.new(-0.522896647, 0.315473199, -1.06896186, 0.117607087, -0.938983917, -0.323230654, -0.30332914, 0.275967002, -0.912049174, 0.945600331, 0.205308735, -0.2523655) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1851
         CFrame.new(0.54057467, -1.946859, -0.234844446, 0.866025031, 0, -0.500000834, -0.0868243054, 0.98480773, -0.15038377, 0.49240464, 0.173648342, 0.85286808) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1852
         CFrame.new(-0.44258678, -1.94206941, -0.503499508, 0.984808087, 0, -0.173647165, -0.0301535428, 0.98480773, -0.171010256, 0.171009004, 0.173648342, 0.969846487) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1853
		}, .3, false)
1854
		fHandleWeld.C0 = clerp(fHandleWeld.C0, CFrame.new(-.4, .2, 0) * CFrame.Angles(math.rad(90), math.rad(-5), math.rad(90)), 0.3)
1855
	end	
1856
Humanoid.WalkSpeed = 16
1857
Humanoid.JumpPower = 60
1858
	Attack = false
1859
end
1860
1861
1862
function patchedup()
1863
	Attack = true
1864
Humanoid.WalkSpeed = 0
1865
Humanoid.JumpPower = 0
1866
		for i = 0, .5, 0.1 do
1867
		swait()
1868
		PlayAnimationFromTable({
1869
         CFrame.new(0.0266105551, -0.00228797412, -0.00301300199, 0.984924495, 0.00856173038, 0.172772706, -0.0739319623, 0.923793733, 0.375685036, -0.156389832, -0.382794857, 0.91050005) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1870
         CFrame.new(0.0833636597, 1.5589056, -0.0514357612, 0.983785033, 0.098459132, -0.149909437, -0.0804414302, 0.989283204, 0.121852726, 0.160300359, -0.107818037, 0.98116219) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1871
         CFrame.new(1.75938904, 0.357653558, -0.556756616, 0.863215625, -0.470763803, -0.182319537, -0.20867531, -0.00388178229, -0.977977395, 0.459688604, 0.882250845, -0.101587564) * CFrame.new(0, 0 + 0.02 * math.cos(Sine/25), 0 + 0.01 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), 
1872
         CFrame.new(-1.14530098, -0.0176402628, -0.497072637, 0.927982748, -0.326782674, -0.179056004, 0.238273218, 0.889843524, -0.389107317, 0.286485285, 0.318420619, 0.903622985) * CFrame.new(0, 0 + 0.02 * math.cos(Sine/25), 0 + 0.01 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), 
1873
         CFrame.new(0.600150764, -1.42493248, -0.842450619, 0.983785033, 0.0984595343, -0.149909154, -0.0804414302, 0.989282846, 0.121855408, 0.160300359, -0.10782069, 0.981161833) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1874
         CFrame.new(-0.608668685, -1.83582413, -0.778081357, 0.983785033, 0.0412500128, -0.174543589, -0.0804414302, 0.971299112, -0.22384648, 0.160300359, 0.234257326, 0.958867729) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1875
		}, .3, false)
1876
		end
1877
		
1878
			local heals2 = Instance.new("ParticleEmitter",LeftArm)
1879
			heals2.Size = NumberSequence.new(.5,0)
1880
			heals2.Texture = "rbxassetid://242856226"
1881
			heals2.ZOffset = 0
1882
			heals2.Acceleration = Vector3.new(0, -5, 0)
1883
			heals2.Lifetime = NumberRange.new(1)
1884
			heals2.Rate = 5
1885
			heals2.Rotation = NumberRange.new(0, 0)
1886
			heals2.RotSpeed = NumberRange.new(0, 0)
1887
			heals2.Speed = NumberRange.new(2)
1888
			heals2.VelocitySpread = 10
1889
			heals2.Enabled=true
1890
			heals2.EmissionDirection = "Front"
1891
			local particol1 = Color3.new(0,1,0)
1892
			local particol2 = Color3.new(1,1,1)
1893
            heals2.Color = ColorSequence.new(particol1,particol2)
1894
 			game:GetService("Debris"):AddItem(heals2, 3.5)
1895
 			CFuncs.Sound.Create("1489909826", LeftArm, 1, .9)
1896
				for i = 0, 4, 1 do
1897
			for i = 0, .5, 0.1 do
1898
		swait()
1899
		PlayAnimationFromTable({
1900
         CFrame.new(-0, -1.04790533, -1.78813934e-07, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0 + 0.005 * math.cos(Sine/25), 0), 
1901
         CFrame.new(0, 1.53909004, -0.194619089, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0 - 0.08 * math.cos(Sine/25), 0), 
1902
         CFrame.new(0.587695718, 0.719740391, -0.886763453, -0.226821065, 0.740158081, -0.633023083, -0.919379234, -0.377204776, -0.111617722, -0.321394086, 0.556670964, 0.766043901) * CFrame.new(0, 0 + 0.05 * math.cos(Sine/25), 0 + 0.01 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), 
1903
         CFrame.new(-0.178292572, 0.354673386, -1.05802333, 0.173647001, -0.984807968, 0, 0, 0, -1, 0.984807968, 0.173647001, 0) * CFrame.new(0, 0 + 0.02 * math.cos(Sine/25), 0 + 0.05 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), 
1904
         CFrame.new(0.5, -1.50897241, 0.416451782, 1, 0, 0, 0, 0.173647985, 0.984807849, 0, -0.984807849, 0.173647985) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1905
         CFrame.new(-0.5, -1.0367974, -0.558902025, 1, 0, -0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1906
		}, .3, false)
1907
			end
1908
				for i = 0, .5, 0.1 do
1909
		swait()
1910
		PlayAnimationFromTable({
1911
         CFrame.new(-0, -1.04790533, -1.78813934e-07, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0 + 0.005 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0), 
1912
         CFrame.new(0, 1.53909004, -0.194619089, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0 - 0.08 * math.cos(Sine/25), 0), 
1913
         CFrame.new(0.579867244, 0.441816211, -1.01476061, 0.218706101, 0.498854131, -0.838637173, -0.975016475, 0.0774877518, -0.208179355, -0.0388670191, 0.863215089, 0.503337979) * CFrame.new(0, 0 + 0.05 * math.cos(Sine/25), 0 + 0.01 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), 
1914
         CFrame.new(-0.178292572, 0.354673386, -1.05802333, 0.173647001, -0.984807968, 0, 0, 0, -1, 0.984807968, 0.173647001, 0) * CFrame.new(0, 0 + 0.02 * math.cos(Sine/25), 0 + 0.05 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), 
1915
         CFrame.new(0.5, -1.50897241, 0.416451782, 1, 0, 0, 0, 0.173647985, 0.984807849, 0, -0.984807849, 0.173647985) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1916
         CFrame.new(-0.5, -1.0367974, -0.558902025, 1, 0, -0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1917
		}, .3, false)
1918
	end
1919
				for i = 0, .5, 0.1 do
1920
		swait()
1921
		PlayAnimationFromTable({         
1922
			CFrame.new(-0, -1.04790533, -1.78813934e-07, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0 + 0.005 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0), 
1923
         CFrame.new(0, 1.53909004, -0.194619089, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0 - 0.08 * math.cos(Sine/25), 0), 
1924
         CFrame.new(0.684166193, 0.417331696, -0.85110873, 0.302008986, 0.453297824, -0.838636816, -0.946748018, 0.245620534, -0.208179712, 0.111619003, 0.856849909, 0.503338397) * CFrame.new(0, 0 + 0.05 * math.cos(Sine/25), 0 + 0.01 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), 
1925
         CFrame.new(-0.178292572, 0.354673386, -1.05802333, 0.173647001, -0.984807968, 0, 0, 0, -1, 0.984807968, 0.173647001, 0) * CFrame.new(0, 0 + 0.02 * math.cos(Sine/25), 0 + 0.05 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), 
1926
         CFrame.new(0.5, -1.50897241, 0.416451782, 1, 0, 0, 0, 0.173647985, 0.984807849, 0, -0.984807849, 0.173647985) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1927
         CFrame.new(-0.5, -1.0367974, -0.558902025, 1, 0, -0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1928
		}, .3, false)
1929
				end
1930
					for i = 0, .5, 0.1 do
1931
		swait()
1932
		PlayAnimationFromTable({
1933
                  CFrame.new(-0, -1.04790533, -1.78813934e-07, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0 + 0.005 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0), 
1934
         CFrame.new(0, 1.53909004, -0.194619089, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0 - 0.08 * math.cos(Sine/25), 0), 
1935
         CFrame.new(0.889964521, 0.489984095, -0.478169471, 0.218706101, 0.498854131, -0.838637173, -0.975016475, 0.0774877518, -0.208179355, -0.0388670191, 0.863215089, 0.503337979) * CFrame.new(0, 0 + 0.05 * math.cos(Sine/25), 0 + 0.01 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), 
1936
         CFrame.new(-0.178292572, 0.354673386, -1.05802333, 0.173647001, -0.984807968, 0, 0, 0, -1, 0.984807968, 0.173647001, 0) * CFrame.new(0, 0 + 0.02 * math.cos(Sine/25), 0 + 0.05 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), 
1937
         CFrame.new(0.5, -1.50897241, 0.416451782, 1, 0, 0, 0, 0.173647985, 0.984807849, 0, -0.984807849, 0.173647985) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1938
         CFrame.new(-0.5, -1.0367974, -0.558902025, 1, 0, -0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1939
		}, .3, false)
1940
					end
1941
				end
1942
		Attack = false
1943
Humanoid.WalkSpeed = 16
1944
Humanoid.JumpPower = 60
1945
					for i = 0, 9, 1 do
1946
						if Humanoid.Health < 100 then 
1947
			Humanoid.Health = Humanoid.Health + 2
1948
			ShowDamage((Head.CFrame * CFrame.new(0, 0, (Torso.Size.Z / 4)).p + Vector3.new(0, 2, 0)), "+2", 1, BrickColor.new("Lime green").Color)			
1949
			CFuncs.Sound.Create("588737722", Torso, .5, 1)
1950
			wait(1)
1951
			end
1952
				end
1953
end
1954
1955
1956
function fireatwill()
1957
	Attack = true	
1958
	Humanoid.WalkSpeed = 8
1959
	Humanoid.AutoRotate = false
1960
		local bodygyro = Instance.new("BodyGyro",RootPart)
1961
		bodygyro.MaxTorque = Vector3.new(50000,50000,50000)
1962
				bodygyro.P = 8000	
1963
							
1964
	for i = 0, 6, 1 do
1965
	if AmmoCount <= 0 then 
1966
		break
1967
		end	
1968
	Torso.Velocity=RootPart.CFrame.lookVector*-5
1969
		for i = 0, .5, 0.1 do
1970
		swait()
1971
		PlayAnimationFromTable({
1972
         CFrame.new(0.757158816, 0.024620086, -0.316807836, 0.00376787782, -0.197771132, 0.98024106, -0.0522153527, 0.978872001, 0.197695583, -0.998628855, -0.0519285128, -0.00663840771) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),  
1973
         CFrame.new(0.0513084419, 1.52798402, -0.0491129272, 0.503341198, 0.0593924709, -0.862044334, -0.0388650261, 0.998181403, 0.0460789353, 0.86321336, 0.0103099495, 0.504734159) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1974
         CFrame.new(1.62060225, 0.561005533, -0.67263329, 0.184799463, -0.818805337, -0.543513656, -0.980174243, -0.113341682, -0.162518218, 0.0714680403, 0.56277138, -0.823517323) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1975
         CFrame.new(-0.181243077, 0.716829836, -0.982703269, 0.117607087, -0.980847061, -0.15526706, -0.30332914, 0.113398649, -0.946114302, 0.945600331, 0.158366859, -0.284183025) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1976
         CFrame.new(0.628674686, -1.98509169, -0.25950858, 1.00000024, 0, 0, -7.4505806e-09, 0.98480773, -0.173648342, -2.98023224e-08, 0.173648342, 0.984807909) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1977
         CFrame.new(-0.442586422, -1.94206905, -0.503501356, 0.984808087, 0, -0.173647165, -0.0301535428, 0.98480773, -0.171010256, 0.171009004, 0.173648342, 0.969846487) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1978
		}, .3, false)
1979
		bodygyro.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
1980
		end			
1981
Effects.Block.Create(BrickColor.new("Flame reddish orange"), bulletmaker.CFrame, .5, .5, .5, .5, .5, .5, .1, 1)
1982
CFuncs.Sound.Create("1132379030", Handle, 1, 1)
1983
AmmoCount = AmmoCount - AmmoUsage
1984
for i = 0, 9, 1 do
1985
wshoot(Mouse, 3 , bulletmaker, .15 + (Torso.Position - Mouse.Hit.p).magnitude/15 , 0)
1986
	end
1987
	for i = 0, .5, 0.1 do
1988
		swait()
1989
		PlayAnimationFromTable({
1990
         CFrame.new(0.588929892, -1.11013651e-06, -0.0153462738, 0.466293842, -0.234925136, 0.85287708, 0.171010062, 0.969846427, 0.17364794, -0.867954016, 0.0648796037, 0.492407978) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1991
         CFrame.new(0.160780251, 1.50000441, 0.0393266231, 0.488946259, -0.0697783977, -0.869518578, -0.125678584, 0.980760813, -0.149376884, 0.863213003, 0.182317138, 0.470769644) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1992
         CFrame.new(1.67061281, 0.704267323, -0.691583157, 0.423231184, -0.709484339, -0.563477933, -0.879032731, -0.472217411, -0.065669328, -0.219492719, 0.52310884, -0.823517084) * CFrame.new(-.2, 0, 0) * CFrame.Angles(0, 0, 0), 
1993
         CFrame.new(-0.0540117994, 0.73741293, -0.982708097, 0.0631480217, -0.978079677, 0.198425397, -0.319141895, -0.208172753, -0.924560905, 0.945600986, -0.00494170189, -0.325291872) * CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0), 
1994
         CFrame.new(0.378202379, -1.77786493, -0.298971295, 0.837791204, 0.33804059, -0.428759336, -0.235888705, 0.932314754, 0.274127543, 0.492404819, -0.128522187, 0.860825062) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1995
         CFrame.new(-0.773099661, -1.83571112, -0.503498793, 0.964610457, 0.171010062, -0.200704694, -0.200705469, 0.969846427, -0.138258308, 0.171009183, 0.17364794, 0.969846606) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1996
		}, .3, false)
1997
	bodygyro.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, RootPart.Position.Y, Mouse.Hit.p.Z))
1998
	end
1999
	end
2000
bodygyro:Destroy()
2001
Humanoid.WalkSpeed = 16
2002
Humanoid.JumpPower = 60
2003
Humanoid.AutoRotate = true
2004
	Attack = false
2005
	
2006
end	
2007
2008
function stanceintro()
2009
	Attack = true
2010
	Humanoid.WalkSpeed = 0
2011
		swait()
2012
		PlayAnimationFromTable({
2013
         CFrame.new(0.401558101, -0.0234151632, 0.119796708, 0.764670074, 0.00020499996, 0.644422114, 0.024826102, 0.999248326, -0.02977648, -0.643943787, 0.0387676619, 0.764090121) * CFrame.new(0,0 + .05 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0), 
2014
         CFrame.new(0.0190042555, 1.53773534, -0.193438619, 0.64132297, 0.076782994, -0.763419509, 0.0574810207, 0.987376094, 0.147595912, 0.765114963, -0.138538778, 0.628813386) * CFrame.new(0, 0, 0) * CFrame.Angles(0 - 0.05 * math.cos(Sine/25), 0, 0), 
2015
         CFrame.new(1.56287539, 0.196361139, -0.218576014, -0.0478557944, -0.26976496, -0.961736321, -0.464462936, 0.858424187, -0.217674509, 0.884298742, 0.436273903, -0.166376382) * CFrame.new(0, 0 + 0.02 * math.cos(Sine/25), 0 + 0.01 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), 
2016
         CFrame.new(-0.354559392, 0.216858774, -0.992860973, -0.0544251502, -0.876319766, -0.478645861, -0.108326986, 0.481708944, -0.86961019, 0.992624402, 0.00452160835, -0.121146157) * CFrame.new(0, 0 + 0.02 * math.cos(Sine/25), 0 + 0.01 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), 
2017
         CFrame.new(0.540573061, -1.95806193, 0.106789596, 0.93969214, 0, -0.342021883, 0, 1, 0, 0.342021853, 0, 0.93969208) * CFrame.new(0, 0 - 0.05 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0), 
2018
         CFrame.new(-0.461303771, -1.99999595, -0.0524673536, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012) * CFrame.new(0, 0 - 0.05 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0), 
2019
		}, .3, false)
2020
		fHandleWeld.C0 = clerp(fHandleWeld.C0, CFrame.new(-.4, .2, 0) * CFrame.Angles(math.rad(90), math.rad(-10), math.rad(90)), 0.3)
2021
	Humanoid.WalkSpeed = 16
2022
    Humanoid.JumpPower = 60
2023
		Attack = false
2024
end
2025
2026
2027
function quickkick()
2028
	Attack = true
2029
	Humanoid.WalkSpeed = 0
2030
    Humanoid.JumpPower = 20
2031
	Humanoid.Jump = true
2032
		for i = 0, .3, 0.1 do
2033
		swait()
2034
		PlayAnimationFromTable({
2035
         CFrame.new(0, 0, -0, 1, 0, -0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2036
         CFrame.new(0, 1.50351071, 0.0460739173, 1, 0, -0, 0, 1.00000012, 0, -0, 0, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2037
         CFrame.new(1.50000381, 0.0324970335, 0.425725073, 1, 0, 0, 0, 0.866025686, 0.499999642, -0, -0.499999642, 0.866025686) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2038
         CFrame.new(-1.5, -0.159844279, 0.285122991, 1, 0, 0, 0, 0.866025686, 0.499999642, -0, -0.499999642, 0.866025686) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2039
         CFrame.new(0.5, -1.15181708, -0.124861211, 1, 0, 0, 0, 0.866025686, 0.499999642, -0, -0.499999642, 0.866025686) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2040
         CFrame.new(-0.5, -1.8810792, 0.500639379, 1, 0, 0, 0, 0.866025686, 0.499999642, -0, -0.499999642, 0.866025686) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2041
		}, .3, false)
2042
		end
2043
		CFuncs.Sound.Create("200632136", Handle, 1, 1)
2044
	local con = RightLeg.Touched:connect(function(hit)
2045
	Damage(RightLeg, hit, 8, 12, 5, "Normal", RootPart, 0.2, "743521272", 1)end)
2046
		Torso.Velocity=RootPart.CFrame.lookVector*50
2047
			for i = 0, 1, 0.1 do
2048
		swait()
2049
		PlayAnimationFromTable({
2050
         CFrame.new(0, 0, -0, 1, 0, -0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2051
         CFrame.new(0, 1.56996083, -0.261622638, 1, 0, 0, 0, 0.939692736, 0.342019916, -0, -0.342019886, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2052
         CFrame.new(1.50000381, 0.27931872, 0.728133559, 1, 0, 0, 0, 0.499999821, 0.866025627, -0, -0.866025567, 0.499999821) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2053
         CFrame.new(-1.5, 0.34596175, 0.570588231, 1, 0, 0, 0, 0.499999821, 0.866025627, -0, -0.866025567, 0.499999821) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2054
         CFrame.new(0.5, -1.39599705, -1.111431, 1, 0, -0, 0, 0.642786562, -0.766045451, -0, 0.766045451, 0.642786503) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2055
         CFrame.new(-0.5, -1.70923471, 0.977958977, 1, 0, 0, 0, 0.499999821, 0.866025627, -0, -0.866025567, 0.499999821) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2056
		}, .3, false)
2057
			end
2058
			Torso.Velocity=RootPart.CFrame.lookVector*0
2059
			con:Disconnect()
2060
	Humanoid.WalkSpeed = 16
2061
    Humanoid.JumpPower = 60
2062
		Attack = false
2063
end
2064
2065
function hedbap()
2066
	Attack = true
2067
		for i = 0, 1, 0.1 do
2068
		swait()
2069
		PlayAnimationFromTable({
2070
         CFrame.new(-0, -0.115550078, 0.250714004, 1, 0, -0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2071
         CFrame.new(0, 1.51567197, 0.00248532044, 1, 0, -0, 0, 1, 2.98023224e-08, -0, 2.98023224e-08, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2072
         CFrame.new(1.00599754, 0.00645497441, -0.987730443, 0.387630165, 0.322637081, -0.863509297, -0.802340508, 0.579304218, -0.143723249, 0.453864068, 0.748539925, 0.483420581) * CFrame.new(0, 0 + 0.02 * math.cos(Sine/25), 0 + 0.01 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), 
2073
         CFrame.new(-0.927108586, 0.209949538, -0.179899275, 0.68265909, -0.539921403, -0.492403984, -0.24406442, 0.4666816, -0.850082874, 0.688773632, 0.700495183, 0.18680881) * CFrame.new(0, 0 + 0.02 * math.cos(Sine/25), 0 + 0.01 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), 
2074
         CFrame.new(0.5, -1.48346758, 0.057243526, 1, 0, 0, 0, 0.766044796, 0.642787218, -0, -0.642787218, 0.766044855) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2075
         CFrame.new(-0.499999523, -1.82032359, 0.395741045, 0.984807849, 0, 0.173647985, -0.0593910702, 0.939692736, 0.33682391, -0.163175747, -0.342019886, 0.925416768) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2076
		}, .3, false)
2077
		end
2078
	Torso.Velocity=RootPart.CFrame.lookVector*40
2079
	CFuncs.Sound.Create("200632136", Handle, 1, 1)
2080
	local con = Head.Touched:connect(function(hit)
2081
	Damage(RightLeg, hit, 15, 18, 3, "Knockdown", RootPart, 0.2, "1296132303", 1) Humanoid.Health = Humanoid.Health - 5 end)
2082
	for i = 0, 1, 0.1 do
2083
		swait()
2084
		PlayAnimationFromTable({
2085
         CFrame.new(0, 0.0488227382, -0.156543747, 1, 0, 0, 0, 0.76604414, 0.642788053, 0, -0.642788053, 0.76604414) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2086
         CFrame.new(0, 1.52236009, -0.201607227, 1, 0, 0, 0, 0.939692438, 0.34202075, 0, -0.34202075, 0.939692438) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2087
         CFrame.new(1.00599754, 0.00645497441, -0.987730443, 0.387630165, 0.322637081, -0.863509297, -0.802340508, 0.579304218, -0.143723249, 0.453864068, 0.748539925, 0.483420581) * CFrame.new(0, 0 - 0.1 * math.cos(Sine/25), 0 + 0.01 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), 
2088
         CFrame.new(-0.927108586, 0.209949538, -0.179899275, 0.68265909, -0.539921403, -0.492403984, -0.24406442, 0.4666816, -0.850082874, 0.688773632, 0.700495183, 0.18680881) * CFrame.new(0, 0 - 0.1 * math.cos(Sine/25), 0 + 0.01 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), 
2089
         CFrame.new(0.5, -2.03161407, -0.00965765119, 1, 0, 0, 0, 0.98480773, 0.173648447, 0, -0.173648447, 0.98480773) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2090
         CFrame.new(-0.5, -1.83802676, -0.920656502, 1, 0, 0, 0, 0.939692438, -0.342020959, 0, 0.342020929, 0.939692438) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2091
		}, .3, false)
2092
	end
2093
	Attack = false
2094
	con:Disconnect()
2095
end
2096
2097
2098
function stockcrash()
2099
	Attack = true
2100
	Humanoid.WalkSpeed = 5
2101
    Humanoid.JumpPower = 0
2102
	CFuncs.Sound.Create("1073355392", Stockbox, 1, 1)
2103
	for i = 0, 1.5, 0.1 do
2104
		swait()
2105
		PlayAnimationFromTable({
2106
         CFrame.new(0.0377655476, -0, -0.109542102, 0.64278698, 0, -0.766044974, 0, 1, 0, 0.766044974, 0, 0.64278698) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2107
         CFrame.new(-4.17232513e-07, 1.49999011, -3.93390656e-06, 0.856849194, 0.197328225, -0.476309896, -0.163177073, 0.980159342, 0.112521209, 0.489063263, -0.0186908543, 0.87204814) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2108
         CFrame.new(1.75000632, 0.42197898, -0.563352466, 0.766044974, -0.64278698, -0, 0, 0, -1, 0.64278698, 0.766044974, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2109
         CFrame.new(-0.420839459, 0.476516426, -1.11699474, 0.418066114, -0.903488457, -0.09449514, -0.139175028, 0.0390909165, -0.989495933, 0.897692144, 0.42682609, -0.109400436) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2110
         CFrame.new(0.637096405, -1.86514843, -0.291526765, 1, 0, 0, 0, 0.984807849, 0.173648059, 0, -0.173648059, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2111
         CFrame.new(-0.48112309, -1.99999511, 0.0593808591, 0.766043782, 0, 0.64278847, 0, 1, 0, -0.64278847, 0, 0.766043782) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2112
		}, .3, false)
2113
		fHandleWeld.C0 = clerp(fHandleWeld.C0, CFrame.new(3, .5, 1) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(-100)), 0.3)
2114
	end
2115
	CFuncs.Sound.Create("1073356365", Stockbox, 1, 1)
2116
	local con = Stockbox.Touched:connect(function(hit)
2117
	Damage(Stockbox, hit, 18, 23, 5, "Knockdown", RootPart, 1, "146163534", 1) end)
2118
	for i = 0, .2, 0.1 do
2119
		swait()
2120
		PlayAnimationFromTable({
2121
         CFrame.new(0.441541791, 2.43237423e-07, 0.00331187248, 0.336825132, -0.0593909472, 0.939692259, 0.173648059, 0.984807849, -3.82394944e-07, -0.92541635, 0.163175866, 0.342021108) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2122
         CFrame.new(-0.104509205, 1.59855092, -0.215072125, 0.890994191, 0.0636333674, -0.449533641, 0.0275982097, 0.980707407, 0.193524063, 0.453175396, -0.184835091, 0.872048259) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2123
         CFrame.new(1.75627017, 0.431958854, -0.449601173, 0.754407525, -0.653558016, -0.0610871017, -0.13302204, -0.0610866398, -0.989228785, 0.642786741, 0.754407406, -0.133021802) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2124
         CFrame.new(-0.367935598, 0.648825228, -1.07648134, 0.387547314, -0.915556669, -0.107533015, -0.209657595, 0.0260535926, -0.977427781, 0.897691965, 0.401344508, -0.181856394) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2125
         CFrame.new(0.358966112, -1.63310397, -0.651200593, 0.984807909, 0.17100957, 0.0301558673, -0.173648059, 0.969846368, 0.171010047, -2.23517418e-06, -0.173648521, 0.98480773) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2126
         CFrame.new(-0.654243588, -1.85264969, 0.148285508, 0.754406095, -0.0533300862, 0.654238164, -0.133022279, 0.963592768, 0.231935903, -0.642788172, -0.262002051, 0.71984601) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2127
		}, .3, false)
2128
	end
2129
				for i = 0, 1, 0.1 do
2130
		swait()
2131
		PlayAnimationFromTable({
2132
         CFrame.new(0.278367251, 9.0772329e-07, 0.0731263831, 0.633022964, -0.111618958, 0.766043842, 0.173647985, 0.984807849, 5.96214491e-08, -0.754405856, 0.133021936, 0.64278841) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2133
         CFrame.new(-0.104512498, 1.59855139, -0.215077341, 0.727161527, 0.0636337325, 0.683510542, -0.172414482, 0.980707347, 0.0921231061, -0.664461732, -0.184835523, 0.724103987) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2134
         CFrame.new(0.400077015, 0.238431826, -1.01036751, 0.518464565, 0.840397179, 0.157882661, -0.035381794, 0.205562487, -0.978004277, -0.854366899, 0.50147438, 0.13631162) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2135
         CFrame.new(-1.62448943, 0.329740167, -0.818884015, 0.598198533, 0.795001924, 0.100649826, -0.176135838, 0.25297159, -0.95130527, -0.781751156, 0.551341355, 0.29135555) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2136
         CFrame.new(0.302916914, -1.95092583, 0.295360684, 0.98480773, 0.171009585, 0.0301554501, -0.173648, 0.969846547, 0.1710096, -1.81794167e-06, -0.173648, 0.984807909) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2137
         CFrame.new(-0.801789224, -1.60096383, -0.361114919, 0.974819183, 0.117734738, 0.189383537, -0.166570976, 0.949086845, 0.267373323, -0.148262233, -0.292186439, 0.944799304) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2138
		}, .3, false)
2139
		fHandleWeld.C0 = clerp(fHandleWeld.C0, CFrame.new(1, 1, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-50)), 0.3)
2140
				end
2141
	Humanoid.WalkSpeed = 16
2142
    Humanoid.JumpPower = 60
2143
				con:Disconnect()
2144
	Attack = false
2145
end
2146
2147
2148
2149
2150
2151
2152
Mouse.KeyDown:connect(function(Key)
2153
	Key = Key:lower()
2154
		while Attack == false and UIS:IsKeyDown(Enum.KeyCode.R) and AmmoCount >= 0 and AmmoCount <= maxammo - 1 do
2155
			relode()
2156
			if Attack == false and AmmoCount == maxammo then
2157
				pump() 
2158
			end			
2159
	end
2160
end)
2161
2162
2163
Mouse.KeyDown:connect(function(Key)
2164
	Key = Key:lower()
2165
while Attack == false and UIS:IsKeyDown(Enum.KeyCode.X) and cooldownX >=coX do
2166
	stanceintro()
2167
		textXZ.Text = "[X+Z]\n Quick Kick"
2168
        text2.Text = "[X]\n HOLD"
2169
        textXC.Text = "[X+C]\n Headbutt"
2170
        textXV.Text = "[X+V]\n Stock Swing"
2171
2172
		text1.Text = " "
2173
        text3.Text = " "
2174
        text4.Text = " "
2175
frameskXZ.BackgroundTransparency = .5
2176
frameskXC.BackgroundTransparency = .5
2177
frameskXV.BackgroundTransparency = .5
2178
barXZ.BackgroundTransparency = 0
2179
barXC.BackgroundTransparency = 0
2180
barXV.BackgroundTransparency = 0
2181
2182
frameskZ.BackgroundTransparency = 1
2183
frameskC.BackgroundTransparency = 1
2184
frameskV.BackgroundTransparency = 1
2185
barZ.BackgroundTransparency = 1
2186
barC.BackgroundTransparency = 1
2187
barV.BackgroundTransparency = 1
2188
2189
2190
	if UIS:IsKeyDown(Enum.KeyCode.X) and UIS:IsKeyDown(Enum.KeyCode.Z) and cooldownXZ >=coXZ then
2191
		quickkick()
2192
		cooldownXZ = 0
2193
			elseif UIS:IsKeyDown(Enum.KeyCode.X) and UIS:IsKeyDown(Enum.KeyCode.C) and cooldownXC >=coXC then
2194
				hedbap()
2195
				cooldownXC = 0
2196
					elseif UIS:IsKeyDown(Enum.KeyCode.X) and UIS:IsKeyDown(Enum.KeyCode.V) and cooldownXV >=coXV then
2197
						stockcrash()
2198
						cooldownXV = 0
2199
				end
2200
		end
2201
end)
2202
2203
2204
2205
Mouse.KeyDown:connect(function(Key)
2206
			if Attack == false and Key == 'z' and cooldownZ >=coZ then
2207
			cooldownZ = 0		
2208
			hop()
2209
			elseif Attack == false and Key == 'c' and cooldownC >=coC and Humanoid.Health < 100 then
2210
			cooldownC = 0
2211
			patchedup()
2212
			elseif Attack == false and Key == 'v' and cooldownV >=coV then
2213
			cooldownV = 0
2214
			fireatwill()
2215
														
2216
	end
2217
end)
2218
2219
2220
Mouse.Button1Down:connect(function()
2221
	if Attack == false and AmmoCount > 0 then
2222
	fire()
2223
	elseif Attack == false and AmmoCount == 0 then
2224
	dryfire()
2225
	end
2226
end)
2227
2228
	
2229
function updateskills1()
2230
	if cooldownZ <= coZ then
2231
		cooldownZ = cooldownZ + 1 / 35
2232
	end
2233
	if cooldownX <= coX then
2234
		cooldownX = cooldownX + 1 / 35
2235
	end
2236
	if cooldownXZ <= coXZ then
2237
		cooldownXZ = cooldownXZ + 1 / 35
2238
	end
2239
	if cooldownXC <= coXC then
2240
		cooldownXC = cooldownXC + 1 / 35
2241
	end
2242
	if cooldownXV <= coXV then
2243
		cooldownXV = cooldownXV + 1 / 35
2244
	end
2245
	if cooldownC <= coC then
2246
		cooldownC = cooldownC + 1 / 35
2247
		end
2248
	if cooldownV <= coV then
2249
		cooldownV = cooldownV + 1 / 35
2250
	end
2251
end
2252
2253
2254
while true do
2255
	swait()
2256
	for i, v in pairs(Character:GetChildren()) do
2257
		if v:IsA("Part") then
2258
			v.Material = "SmoothPlastic"
2259
		elseif v:IsA("Accessory") then
2260
			v:WaitForChild("Handle").Material = "SmoothPlastic"
2261
		end
2262
	end
2263
	for i, v in pairs(Character:GetChildren()) do
2264
		if v:IsA'Model' then
2265
			for _, c in pairs(v:GetChildren()) do
2266
				if c:IsA'Part' then
2267
					c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
2268
				end
2269
			end
2270
		end
2271
	end
2272
	updateskills1()
2273
	barZ:TweenSize(UDim2.new(1 * (cooldownZ / coZ), 0, 1, 0), 'Out', 'Quad', .5)
2274
	barX:TweenSize(UDim2.new(1 * (cooldownX / coX), 0, 1, 0), 'Out', 'Quad', .5)
2275
	barXZ:TweenSize(UDim2.new(1 * (cooldownXZ / coXZ), 0, 1, 0), 'Out', 'Quad', .5)
2276
	barXC:TweenSize(UDim2.new(1 * (cooldownXC / coXC), 0, 1, 0), 'Out', 'Quad', .5)
2277
	barXV:TweenSize(UDim2.new(1 * (cooldownXV / coXV), 0, 1, 0), 'Out', 'Quad', .5)
2278
	barC:TweenSize(UDim2.new(1 * (cooldownC / coC), 0, 1, 0), 'Out', 'Quad', .5)
2279
	barV:TweenSize(UDim2.new(1 * (cooldownV / coV), 0, 1, 0), 'Out', 'Quad', .5)
2280
	
2281
	if AmmoCount ~= 0 then
2282
		relodetext.Text = '[ '..AmmoCount..' / '..maxammo..' ]'
2283
	elseif AmmoCount == 0 then 
2284
		relodetext.Text = '[ Hold R to Reload. ]'
2285
		end
2286
2287
2288
	if UIS:IsKeyDown(Enum.KeyCode.X) == false then
2289
		text1.Text = "[Z]\n Reposition"
2290
        text2.Text = "[X]\n Battle Stance"
2291
        text3.Text = "[C]\n Mend"
2292
        text4.Text = "[V]\n Unload"
2293
	    textXZ.Text = " "
2294
        textXC.Text = " "
2295
        textXV.Text = " "
2296
frameskZ.BackgroundTransparency = .5
2297
frameskC.BackgroundTransparency = .5
2298
frameskV.BackgroundTransparency = .5
2299
barZ.BackgroundTransparency = 0
2300
barC.BackgroundTransparency = 0
2301
barV.BackgroundTransparency = 0
2302
2303
frameskXZ.BackgroundTransparency = 1
2304
frameskXC.BackgroundTransparency = 1
2305
frameskXV.BackgroundTransparency = 1
2306
barXZ.BackgroundTransparency = 1
2307
barXC.BackgroundTransparency = 1
2308
barXV.BackgroundTransparency = 1
2309
end
2310
	TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
2311
	Velocity = RootPart.Velocity.y
2312
	Sine = Sine + Change
2313
	local hit, pos = RayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
2314
	if RootPart.Velocity.y > 1 and hit == nil then 
2315
		Anim = "Jump"
2316
		if Attack == false then
2317
			Change = 1
2318
		PlayAnimationFromTable({
2319
         CFrame.new(-0, -1.01481628, -8.04662704e-07, 1, 0, 0, 0, 0.866025686, 0.499999642, -0, -0.499999642, 0.866025686) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2320
         CFrame.new(0, 1.45637476, -0.213752031, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2321
         CFrame.new(1.80887365, 0.563777864, 0.393151999, 0.642787039, -0.766044915, -1.2109125e-06, 0.754407167, 0.633021533, 0.173648313, -0.133021653, -0.111619815, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2322
         CFrame.new(-1.67181289, 0.594474256, -0.03263852, 0.499999285, 0.866025865, 1.98491279e-07, -0.750001073, 0.433012605, -0.499998599, -0.43301177, 0.249998808, 0.866026282) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2323
         CFrame.new(0.5, -1.80666828, -0.689023316, 1, 0, 0, 0, 0.984807849, 0.173648134, 0, -0.173648164, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2324
         CFrame.new(-0.5, -1.42673647, -0.144118369, 1, 0, 0, 0, 0.766044736, 0.642787457, 0, -0.642787457, 0.766044736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2325
		}, .3, false)
2326
		fHandleWeld.C0 = clerp(fHandleWeld.C0, CFrame.new(-.4, .2, 0) * CFrame.Angles(math.rad(90), math.rad(-10), math.rad(90)), 0.3)
2327
		end	
2328
	elseif RootPart.Velocity.y < -1 and hit == nil then 
2329
		Anim = "Fall"
2330
		if Attack == false then
2331
			Change = 1
2332
		PlayAnimationFromTable({
2333
         CFrame.new(-0, -1.01481628, -8.04662704e-07, 1, 0, 0, 0, 0.866025686, 0.499999642, -0, -0.499999642, 0.866025686) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2334
         CFrame.new(0, 1.45637476, -0.213752031, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2335
         CFrame.new(1.53209591, 0.16416876, 0.0263971146, 0.98480773, -0.173648164, -1.55591565e-07, 0.171010092, 0.969846427, 0.173648164, -0.0301535316, -0.171010077, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2336
         CFrame.new(-1.64498818, 0.287739754, -0.209731221, 0.86602509, 0.500000656, 7.92254752e-07, -0.433013529, 0.750000894, -0.499998152, -0.25, 0.433010578, 0.86602664) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2337
         CFrame.new(0.5, -1.26449406, -1.10387921, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2338
         CFrame.new(-0.5, -1.24956489, -0.292783707, 1, 0, 0, 0, 0.642787695, 0.766044557, 0, -0.766044557, 0.642787695) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2339
		}, .3, false)
2340
		fHandleWeld.C0 = clerp(fHandleWeld.C0, CFrame.new(-.4, .2, 0) * CFrame.Angles(math.rad(90), math.rad(-10), math.rad(90)), 0.3)
2341
		end		
2342
	elseif TorsoVelocity < 1 and hit ~= nil then
2343
		Anim = "Idle"
2344
		if Attack == false then
2345
			Change = 1
2346
		PlayAnimationFromTable({
2347
         CFrame.new(0.038382329, -2.14204192e-08, -0.0314837135, 0.984807849, 0.0301536452, 0.171009868, 0, 0.98480773, -0.173648119, -0.173647985, 0.171010017, 0.969846368) * CFrame.new(0, 0 + 0.05 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0 + 0.005 * math.cos(Sine/25), 0), 
2348
          CFrame.new(-0.00987245888, 1.54137087, -0.232474566, 0.983905733, 0.0593912564, -0.168529823, 0.000888057693, 0.941511214, 0.336980611, 0.17868638, -0.331706822, 0.926305413) * CFrame.new(0, 0, 0) * CFrame.Angles(0 - 0.05 * math.cos(Sine/25), 0, 0), 
2349
         CFrame.new(1.00599754, 0.00645497441, -0.987730443, 0.387630165, 0.322637081, -0.863509297, -0.802340508, 0.579304218, -0.143723249, 0.453864068, 0.748539925, 0.483420581) * CFrame.new(0, 0 + 0.02 * math.cos(Sine/25), 0 + 0.01 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), 
2350
         CFrame.new(-0.927108586, 0.209949538, -0.179899275, 0.68265909, -0.539921403, -0.492403984, -0.24406442, 0.4666816, -0.850082874, 0.688773632, 0.700495183, 0.18680881) * CFrame.new(0, 0 + 0.02 * math.cos(Sine/25), 0 + 0.01 * math.cos(Sine/25)) * CFrame.Angles(0, 0, 0), 
2351
         CFrame.new(0.628665984, -2.00964737, 0.120245621, 1.00000012, 0, 0, 1.86264515e-09, 0.98480773, 0.173648119, 0, -0.173648119, 0.984807849) * CFrame.new(0, 0 - 0.05 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0), 
2352
         CFrame.new(-0.44258371, -1.99715459, 0.19109571, 0.939692676, 0, 0.342020601, -0.0593912229, 0.98480773, 0.163175851, -0.336824536, -0.173648119, 0.925416529) * CFrame.new(0, 0 - 0.05 * math.cos(Sine/25), 0) * CFrame.Angles(0, 0, 0), 
2353
		}, .3, false)
2354
		fHandleWeld.C0 = clerp(fHandleWeld.C0, CFrame.new(-.4, .2, 0) * CFrame.Angles(math.rad(90), math.rad(-10), math.rad(90)), 0.3)
2355
		end
2356
	elseif TorsoVelocity > 2 and hit ~= nil then
2357
		Anim = "Walk"
2358
            if Attack == false then
2359
                            PlayAnimationFromTable({
2360
         CFrame.new(-0, -0, 0, 1, 0, 0, 0, 0.996187985, 0.0871556774, 0, -0.0871556699, 0.996194661) * CFrame.new(0, 0 + .05 * math.cos(Sine/25), 0) * CFrame.Angles(-.2 + 0.05 * math.cos(Sine/25), 0 + 0.05 * math.cos(Sine/5), 0),
2361
         CFrame.new(0, 1.49999499, 1.11760201e-08, 1, 0, 0, 0, 0.999998331, -7.45067918e-09, 0, 7.45069251e-09, 1) * CFrame.new(0, 0, 0 + 0.05 * math.cos(Sine/30)) * CFrame.Angles(0 + 0.05 * math.cos(Sine/15), 0, 0),
2362
         CFrame.new(1.00599754, 0.00645497441, -0.987730443, 0.387630165, 0.322637081, -0.863509297, -0.802340508, 0.579304218, -0.143723249, 0.453864068, 0.748539925, 0.483420581) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2363
         CFrame.new(-0.927108586, 0.209949538, -0.179899275, 0.68265909, -0.539921403, -0.492403984, -0.24406442, 0.4666816, -0.850082874, 0.688773632, 0.700495183, 0.18680881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
2364
		 CFrame.new(0.5, -2.00000334, 2.67028881e-005, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) * CFrame.new(0, .21 - .1 * math.cos((Sine) / 2), -.1 + 1 * math.cos((Sine) / 4)) * CFrame.Angles(math.rad(1 - 50 * math.cos((Sine) / 4)), math.rad(0), math.rad(0 - .5 * math.cos((Sine) / 5))),
2365
	     CFrame.new(-0.5, -2.00000334, 2.67028881e-005, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) * CFrame.new(0, .21 - .1 * math.cos((Sine) / 2), .1 - 1 * math.cos((Sine) / 4)) * CFrame.Angles(math.rad(-1 + 50 * math.cos((Sine) / 4)), math.rad(0), math.rad(0 + .5 * math.cos((Sine) / 5))),
2366
}, .3, false)
2367
fHandleWeld.C0 = clerp(fHandleWeld.C0, CFrame.new(-.4, .2, 0) * CFrame.Angles(math.rad(90), math.rad(-10), math.rad(90)), 0.3)
2368
end
2369
	end
2370
	if #Effects > 0 then
2371
		for e = 1, #Effects do
2372
			if Effects[e] ~= nil then
2373
				local Thing = Effects[e]
2374
				if Thing ~= nil then
2375
					local Part = Thing[1]
2376
					local Mode = Thing[2]
2377
					local Delay = Thing[3]
2378
					local IncX = Thing[4]
2379
					local IncY = Thing[5]
2380
					if Thing[1].Transparency <= 1 then
2381
						if Thing[2] == "Block1" then
2382
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
2383
							Mesh = Thing[7]
2384
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2385
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2386
						elseif Thing[2] == "Ice" then
2387
							if Thing[6] <= Thing[5] then
2388
								Thing[6] = Thing[6] + .05
2389
								Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .4, 0)
2390
							else
2391
								Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2392
							end
2393
						elseif Thing[2] == "Shatter" then
2394
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2395
							Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
2396
							Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
2397
							Thing[6] = Thing[6] + Thing[5]
2398
						elseif Thing[2] == "Block2" then
2399
							Thing[1].CFrame = Thing[1].CFrame
2400
							Mesh = Thing[7]
2401
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2402
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2403
						elseif Thing[2] == "Block3" then
2404
							Thing[1].CFrame = Thing[8].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
2405
							Mesh = Thing[7]
2406
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2407
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2408
						elseif Thing[2] == "Block4" then
2409
							Thing[1].CFrame = Thing[8].CFrame * CFrame.new(0, -Thing[7].Scale.Y, 0) * CFrame.fromEulerAnglesXYZ(3.14, 0, 0)
2410
							Mesh = Thing[7]
2411
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2412
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2413
						elseif Thing[2] == "Block2Fire" then
2414
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
2415
							Mesh = Thing[7]
2416
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2417
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2418
							if Thing[1].Transparency >= .3 then
2419
								Thing[1].BrickColor = BrickColor.new("Bright red")
2420
							else
2421
								Thing[1].BrickColor = BrickColor.new("Bright yellow")
2422
							end
2423
						elseif Thing[2] == "Cylinder" then
2424
							Mesh = Thing[7]
2425
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2426
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2427
						elseif Thing[2] == "Blood" then
2428
							Mesh = Thing[7]
2429
							Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, -.5, 0)
2430
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2431
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2432
						elseif Thing[2] == "Elec" then
2433
							Mesh = Thing[10]
2434
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
2435
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2436
							Thing[1].CFrame = Thing[1].CFrame * Thing[11] * CFrame.new(0, 0, .2)
2437
							Thing[1].Rotation = Vector3.new(0, 0, 0)
2438
						elseif Thing[2] == "Disappear" then
2439
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2440
						end
2441
					else
2442
						Part.Parent = nil
2443
						table.remove(Effects, e)
2444
					end
2445
				end
2446
			end
2447
		end
2448
	end	
2449
end