View difference between Paste ID: gn6WCd82 and b94KiBUH
SHOW: | | - or go back to the newest paste.
1
--https://github.com/Mokiros/roblox-FE-compatibility
2
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
3
local Player,game,owner = owner,game
4-
local Player = game.Players.localPlayer
4+
local RealPlayer = Player
5
do
6
	print("FE Compatibility code V2 by Mokiros")
7
	local RealPlayer = RealPlayer
8
	script.Parent = RealPlayer.Character
9
10
	--Fake event to make stuff like Mouse.KeyDown work
11
	local Disconnect_Function = function(this)
12
		this[1].Functions[this[2]] = nil
13
	end
14
	local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
15
	local FakeEvent_Metatable = {__index={
16
		Connect = function(this,f)
17
			local i = tostring(math.random(0,10000))
18
			while this.Functions[i] do
19
				i = tostring(math.random(0,10000))
20
			end
21
			this.Functions[i] = f
22
			return setmetatable({this,i},Disconnect_Metatable)
23
		end
24
	}}
25
	FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
26
	local function fakeEvent()
27
		return setmetatable({Functions={}},FakeEvent_Metatable)
28
	end
29
30
	--Creating fake input objects with fake variables
31
    local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
32
    FakeMouse.keyUp = FakeMouse.KeyUp
33
    FakeMouse.keyDown = FakeMouse.KeyDown
34
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
35
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
36
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
37
	end}
38
	--Merged 2 functions into one by checking amount of arguments
39
	CAS.UnbindAction = CAS.BindAction
40
41
	--This function will trigger the events that have been :Connect()'ed
42
	local function TriggerEvent(self,ev,...)
43
		for _,f in pairs(self[ev].Functions) do
44
			f(...)
45
		end
46
	end
47
	FakeMouse.TriggerEvent = TriggerEvent
48
	UIS.TriggerEvent = TriggerEvent
49
50
	--Client communication
51
	local Event = Instance.new("RemoteEvent")
52
	Event.Name = "UserInput_Event"
53
	Event.OnServerEvent:Connect(function(plr,io)
54
	    if plr~=RealPlayer then return end
55
		FakeMouse.Target = io.Target
56
		FakeMouse.Hit = io.Hit
57
		if not io.isMouse then
58
			local b = io.UserInputState == Enum.UserInputState.Begin
59
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
60
				return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
61
			end
62
			if io.UserInputType == Enum.UserInputType.MouseButton2 then
63
				return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
64
			end
65
			for _,t in pairs(CAS.Actions) do
66
				for _,k in pairs(t.Keys) do
67
					if k==io.KeyCode then
68
						t.Function(t.Name,io.UserInputState,io)
69
					end
70
				end
71
			end
72
			FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
73
			UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
74
	    end
75
	end)
76
	Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
77
	local Mouse = owner:GetMouse()
78
	local UIS = game:GetService("UserInputService")
79
	local input = function(io,RobloxHandled)
80
		if RobloxHandled then return end
81
		--Since InputObject is a client-side instance, we create and pass table instead
82
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
83
	end
84
	UIS.InputBegan:Connect(input)
85
	UIS.InputEnded:Connect(input)
86
	local h,t
87
	--Give the server mouse data every second frame, but only if the values changed
88
	--If player is not moving their mouse, client won't fire events
89
	local HB = game:GetService("RunService").Heartbeat
90
	while true do
91
		if h~=Mouse.Hit or t~=Mouse.Target then
92
			h,t=Mouse.Hit,Mouse.Target
93
			Event:FireServer({isMouse=true,Target=t,Hit=h})
94
		end
95
		--Wait 2 frames
96
		for i=1,2 do
97
			HB:Wait()
98
		end
99
	end]==],script)
100
101
	----Sandboxed game object that allows the usage of client-side methods and services
102
	--Real game object
103
	local RealGame = game
104
105
	--Metatable for fake service
106
	local FakeService_Metatable = {
107
		__index = function(self,k)
108
			local s = rawget(self,"_RealService")
109
			if s then
110
				return typeof(s[k])=="function"
111
				and function(_,...)return s[k](s,...)end or s[k]
112
			end
113
		end,
114
		__newindex = function(self,k,v)
115
			local s = rawget(self,"_RealService")
116
			if s then s[k]=v end
117
		end
118
	}
119
	local function FakeService(t,RealService)
120
		t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
121
		return setmetatable(t,FakeService_Metatable)
122
	end
123
124
	--Fake game object
125
	local FakeGame = {
126
		GetService = function(self,s)
127
			return rawget(self,s) or RealGame:GetService(s)
128
		end,
129
		Players = FakeService({
130
			LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
131
		},"Players"),
132
		UserInputService = FakeService(UIS,"UserInputService"),
133
		ContextActionService = FakeService(CAS,"ContextActionService"),
134
		RunService = FakeService({
135
			_btrs = {},
136
			RenderStepped = RealGame:GetService("RunService").Heartbeat,
137
			BindToRenderStep = function(self,name,_,fun)
138
				self._btrs[name] = self.Heartbeat:Connect(fun)
139
			end,
140
			UnbindFromRenderStep = function(self,name)
141
				self._btrs[name]:Disconnect()
142
			end,
143
		},"RunService")
144
	}
145
	rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
146
	FakeGame.service = FakeGame.GetService
147
	FakeService(FakeGame,game)
148
	--Changing owner to fake player object to support owner:GetMouse()
149
	game,owner = FakeGame,FakeGame.Players.LocalPlayer
150
end
151
--[[NIGHTOWLACE_WEAPONRY]]--
152
wait(1 / 60)
153
Effects = { }
154
local Player = owner
155
local Character = Player.Character
156
local Humanoid = Character.Humanoid
157
local mouse = Player:GetMouse()
158
local m = Instance.new('Model', Character)
159
m.Name = "WeaponModel"
160
local effect = Instance.new('Model', Character)
161
effect.Name = "Effects"
162
local LeftArm = Character["Left Arm"]
163
local RightArm = Character["Right Arm"]
164
local LeftLeg = Character["Left Leg"]
165
local RightLeg = Character["Right Leg"]
166
Item = {"Normal","Heal", "Missle", "Sonic","Shotgun"}
167
Number = 1
168
shot = Item[Number]
169
local Head = Character.Head
170
local Torso = Character.Torso
171
local cam = game.Workspace.CurrentCamera
172
local RootPart = Character.HumanoidRootPart
173
local RootJoint = RootPart.RootJoint
174
local equipped = false
175
local attack = false
176
local Anim = 'Idle'
177
local idle = 0
178
local vt = Vector3.new
179
local attacktype = 1
180
local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
181
local velocity = RootPart.Velocity.y
182
local sine = 0
183
local mana = 0
184
local mananum = 0
185
local change = 1
186
local grabbed = false
187
local cn = CFrame.new
188
local it = Instance.new
189
local mr = math.rad
190
local angles = CFrame.Angles
191
local ud = UDim2.new
192
local c3 = Color3.new
193
194
local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
195
Humanoid.Animator:Destroy()
196
Character.Animate:Destroy()
197
198
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
199
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
200
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
201
202
RSH, LSH = nil, nil 
203
204
RW = Instance.new("Weld") 
205
LW = Instance.new("Weld")
206
207
RH = Torso["Right Hip"]
208
LH = Torso["Left Hip"]
209
210
RSH = Torso["Right Shoulder"] 
211
LSH = Torso["Left Shoulder"] 
212
213
RSH.Parent = nil 
214
LSH.Parent = nil 
215
216
RW.Name = "RW"
217
RW.Part0 = Torso 
218
RW.C0 = cn(1.5, 0.5, 0)
219
RW.C1 = cn(0, 0.5, 0) 
220
RW.Part1 = RightArm
221
RW.Parent = Torso 
222
223
LW.Name = "LW"
224
LW.Part0 = Torso 
225
LW.C0 = cn(-1.5, 0.5, 0)
226
LW.C1 = cn(0, 0.5, 0) 
227
LW.Part1 = LeftArm
228
LW.Parent = Torso 
229
xenabled=true cenabled=true venabled=true zenabled=true
230
local maxStamina = 100--max amount of Stamina
231
local Stamina = 0--Stamina you start out with
232
local recoverStamina = 25--how much mana per second
233
local recoverMana = 10--how much mana per second
234
local MaxMana = 100
235
local scrn = Instance.new('ScreenGui', Player.PlayerGui)
236
237
function makeframe(par, trans, pos, size, color)
238
	local frame = Instance.new('Frame', par)
239
	frame.BackgroundTransparency = trans
240
	frame.BorderSizePixel = 0
241
	frame.Position = pos
242
	frame.Size = size
243
	frame.BackgroundColor3 = color
244
	return frame
245
end
246
247
function makelabel(par, text)
248
	local label = Instance.new('TextLabel', par)
249
	label.BackgroundTransparency = 1
250
	label.Size = ud(1, 0, 1, 0)
251
	label.Position = ud(0, 0, 0, 0)
252
	label.TextColor3 = c3(255, 255, 255)
253
	label.TextStrokeTransparency = 0
254
	label.FontSize = Enum.FontSize.Size32
255
	label.Font = Enum.Font.SourceSansBold
256
	label.BorderSizePixel = 0
257
	label.TextScaled = true
258
	label.Text = text
259
end
260
261
Staminabar = makeframe(scrn, .5, ud(.375, 0, .125, 0), ud(.26, 0, .03, 0), c3(200 / 200, 158 / 255, 0))
262
Staminacover = makeframe(Staminabar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(255 / 255, 255 / 255, 0))
263
Staminatext = makelabel(Staminabar, 'Stamina')
264
265
function clerp(a, b, t)
266
	return a:lerp(b, t)
267
end
268
269
270
ArtificialHB = Instance.new("BindableEvent")
271
ArtificialHB.Name = "Heartbeat"
272
273
frame = 1 / 30
274
tf = 0
275
allowframeloss = false
276
tossremainder = false
277
lastframe = tick()
278
ArtificialHB:Fire()
279
280
game:GetService("RunService").Heartbeat:connect(function(s, p)
281
	tf = tf + s
282
	if tf >= frame then
283
		if allowframeloss then
284
			ArtificialHB:Fire()
285
			lastframe = tick()
286
		else
287
			for i = 1, math.floor(tf / frame) do
288
				ArtificialHB:Fire()
289
			end
290
			lastframe = tick()
291
		end
292
		if tossremainder then
293
			tf = 0
294
		else
295
			tf = tf - frame * math.floor(tf / frame)
296
		end
297
	end
298
end)
299
300
function swait(num)
301
	if num == 0 or num == nil then
302
		ArtificialHB.Event:wait()
303
	else
304
		for i = 0, num do
305
			ArtificialHB.Event:wait()
306
		end
307
	end
308
end
309
310
local RbxUtility = LoadLibrary("RbxUtility")
311
local Create = RbxUtility.Create
312
313
function RemoveOutlines(part)
314
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
315
end
316
	
317
function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
318
	local Part = Create("Part"){
319
		Parent = Parent,
320
		Reflectance = Reflectance,
321
		Transparency = Transparency,
322
		CanCollide = false,
323
		Locked = true,
324
		BrickColor = BrickColor.new(tostring(BColor)),
325
		Name = Name,
326
		Size = Size,
327
		Material = Material,
328
	}
329
	RemoveOutlines(Part)
330
	return Part
331
end
332
	
333
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
334
	local Msh = Create(Mesh){
335
		Parent = Part,
336
		Offset = OffSet,
337
		Scale = Scale,
338
	}
339
	if Mesh == "SpecialMesh" then
340
		Msh.MeshType = MeshType
341
		Msh.MeshId = MeshId
342
	end
343
	return Msh
344
end
345
	
346
function CreateWeld(Parent, Part0, Part1, C0, C1)
347
	local Weld = Create("Weld"){
348
		Parent = Parent,
349
		Part0 = Part0,
350
		Part1 = Part1,
351
		C0 = C0,
352
		C1 = C1,
353
	}
354
	return Weld
355
end
356
357
function rayCast(Position, Direction, Range, Ignore)
358
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) 
359
end 
360
361
function CreateSound(id, par, vol, pit) 
362
	coroutine.resume(coroutine.create(function()
363
		local sou = Instance.new("Sound", par or workspace)
364
		sou.Volume = vol
365
		sou.Pitch = pit or 1
366
		sou.SoundId = id
367
		swait() 
368
		sou:play() 
369
		game:GetService("Debris"):AddItem(sou, 6)
370
	end))
371
end
372
373
local function getclosest(obj, distance)
374
	local last, lastx = distance + 1
375
	for i, v in pairs(workspace:GetChildren()) do
376
		if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
377
			local t = v.Torso
378
			local dist = (t.Position - obj.Position).magnitude
379
			if dist <= distance then
380
				if dist < last then
381
					last = dist
382
					lastx = v
383
				end
384
			end
385
		end
386
	end
387
	return lastx
388
end
389
390
391
local fengui=it("GuiMain") 
392
fengui.Parent=Player.PlayerGui 
393
fengui.Name="WeaponGUI" 
394
local fenframe=it("Frame") 
395
fenframe.Parent=fengui
396
fenframe.BackgroundColor3=Color3.new(255,255,255) 
397
fenframe.BackgroundTransparency=1 
398
fenframe.BorderColor3=Color3.new(17,17,17) 
399
fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0)
400
fenframe.Position=UDim2.new(0.4,0,0.1,0)
401
local fenbarmana1=it("TextLabel") 
402
fenbarmana1.Parent=fenframe 
403
fenbarmana1.Text=" " 
404
fenbarmana1.BackgroundTransparency=0 
405
fenbarmana1.BackgroundColor3=Color3.new(0,0,0) 
406
fenbarmana1.SizeConstraint="RelativeXY" 
407
fenbarmana1.TextXAlignment="Center" 
408
fenbarmana1.TextYAlignment="Center" 
409
fenbarmana1.Position=UDim2.new(0,0,0,0)
410
fenbarmana1.Size=UDim2.new(4,0,0.2,0)
411
local fenbarmana2=it("TextLabel") 
412
fenbarmana2.Parent=fenframe 
413
fenbarmana2.Text=" " 
414
fenbarmana2.BackgroundTransparency=0 
415
fenbarmana2.BackgroundColor3=Torso.Color
416
fenbarmana2.SizeConstraint="RelativeXY" 
417
fenbarmana2.TextXAlignment="Center" 
418
fenbarmana2.TextYAlignment="Center" 
419
fenbarmana2.Position=UDim2.new(0,0,0,0)
420
fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0)
421
local fenbarmana3=it("TextLabel") 
422
fenbarmana3.Parent=fenframe 
423
fenbarmana3.Text=" " 
424
fenbarmana3.BackgroundTransparency=0 
425
fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3)
426
fenbarmana3.SizeConstraint="RelativeXY" 
427
fenbarmana3.TextXAlignment="Center" 
428
fenbarmana3.TextYAlignment="Center" 
429
fenbarmana3.Position=UDim2.new(0,0,0,0)
430
fenbarmana3.Size=UDim2.new(0,0,0.2,0)
431
local fenbarmana4=it("TextLabel") 
432
fenbarmana4.Parent=fenframe 
433
fenbarmana4.Text="Energy("..mana..")"
434
fenbarmana4.BackgroundTransparency=1 
435
fenbarmana4.BackgroundColor3=Color3.new(0,0,0) 
436
fenbarmana4.SizeConstraint="RelativeXY" 
437
fenbarmana4.TextXAlignment="Center" 
438
fenbarmana4.TextYAlignment="Center" 
439
fenbarmana4.Position=UDim2.new(0,0,-0.3,0)
440
fenbarmana4.Size=UDim2.new(4,0,0.2,0)
441
fenbarmana4.FontSize="Size9"
442
fenbarmana4.TextStrokeTransparency=0
443
fenbarmana4.TextColor=BrickColor.new("White")		
444
	
445
446
local fengui=it("GuiMain") 
447
fengui.Parent=Player.PlayerGui 
448
fengui.Name="WeaponGUI" 
449
local fenframe1=it("TextLabel") 
450
fenframe1.Parent=fengui
451
fenframe1.BackgroundColor3=Color3.new(50/255,50/255,50/255) 
452
fenframe1.BackgroundTransparency=0.3
453
fenframe1.BorderSizePixel=5
454
fenframe1.BorderColor3=Color3.new(1,1,1) 
455
fenframe1.Size=UDim2.new(0.05, 0, 0.1, 0)
456
fenframe1.Position=UDim2.new(0.325,0,0.7,0)
457
fenframe1.Text="Z"
458
fenframe1.TextWrapped=true
459
fenframe1.FontSize=7
460
fenframe1.TextColor3=Color3.new(1,1,1)
461
local fenframe1a=it("TextLabel") 
462
fenframe1a.Parent=fengui
463
fenframe1a.BackgroundColor3=Color3.new(200/255,200/255,200/255) 
464
fenframe1a.BackgroundTransparency=0.3
465
fenframe1a.BorderSizePixel=5
466
fenframe1a.BorderColor3=Color3.new(1,1,1) 
467
fenframe1a.Size=UDim2.new(0.05, 0, 0.1, 0)
468
fenframe1a.Position=UDim2.new(0.325,0,0.7,0)
469
fenframe1a.Text=""
470
local fenframe2=it("TextLabel") 
471
fenframe2.Parent=fengui
472
fenframe2.BackgroundColor3=Color3.new(50/255,50/255,50/255) 
473
fenframe2.BackgroundTransparency=0.3
474
fenframe2.BorderSizePixel=5
475
fenframe2.BorderColor3=Color3.new(1,1,1) 
476
fenframe2.Size=UDim2.new(0.05, 0, 0.1, 0)
477
fenframe2.Position=UDim2.new(0.425,0,0.7,0)
478
fenframe2.Text="<X"
479
fenframe2.TextWrapped=true
480
fenframe2.FontSize=7
481
fenframe2.TextColor3=Color3.new(1,1,1)
482
local fenframe2a=it("TextLabel") 
483
fenframe2a.Parent=fengui
484
fenframe2a.BackgroundColor3=Color3.new(200/255,200/255,200/255) 
485
fenframe2a.BackgroundTransparency=0.3
486
fenframe2a.BorderSizePixel=5
487
fenframe2a.BorderColor3=Color3.new(1,1,1) 
488
fenframe2a.Size=UDim2.new(0.05, 0, 0.1, 0)
489
fenframe2a.Position=UDim2.new(0.425,0,0.7,0)
490
fenframe2a.Text=""
491
local fenframe3=it("TextLabel") 
492
fenframe3.Parent=fengui
493
fenframe3.BackgroundColor3=Color3.new(50/255,50/255,50/255) 
494
fenframe3.BackgroundTransparency=0.3
495
fenframe3.BorderSizePixel=5
496
fenframe3.BorderColor3=Color3.new(1,1,1) 
497
fenframe3.Size=UDim2.new(0.05, 0, 0.1, 0)
498
fenframe3.Position=UDim2.new(0.525,0,0.7,0)
499
fenframe3.Text="C>"
500
fenframe3.TextWrapped=true
501
fenframe3.FontSize=7
502
fenframe3.TextColor3=Color3.new(1,1,1)
503
local fenframe3a=it("TextLabel") 
504
fenframe3a.Parent=fengui
505
fenframe3a.BackgroundColor3=Color3.new(200/255,200/255,200/255) 
506
fenframe3a.BackgroundTransparency=0.3
507
fenframe3a.BorderSizePixel=5
508
fenframe3a.BorderColor3=Color3.new(1,1,1) 
509
fenframe3a.Size=UDim2.new(0.05, 0, 0.1, 0)
510
fenframe3a.Position=UDim2.new(0.525,0,0.7,0)
511
fenframe3a.Text=""
512
local fenframe4=it("TextLabel") 
513
fenframe4.Parent=fengui
514
fenframe4.BackgroundColor3=Color3.new(50/255,50/255,50/255) 
515
fenframe4.BackgroundTransparency=0.3
516
fenframe4.BorderSizePixel=5
517
fenframe4.BorderColor3=Color3.new(1,1,1) 
518
fenframe4.Size=UDim2.new(0.05, 0, 0.1, 0)
519
fenframe4.Position=UDim2.new(0.625,0,0.7,0)
520
fenframe4.Text="V"
521
fenframe4.TextWrapped=true
522
fenframe4.FontSize=7
523
fenframe4.TextColor3=Color3.new(1,1,1)
524
local fenframe4a=it("TextLabel") 
525
fenframe4a.Parent=fengui
526
fenframe4a.BackgroundColor3=Color3.new(200/255,200/255,200/255) 
527
fenframe4a.BackgroundTransparency=0.3
528
fenframe4a.BorderSizePixel=5
529
fenframe4a.BorderColor3=Color3.new(1,1,1) 
530
fenframe4a.Size=UDim2.new(0.05, 0, 0.1, 0)
531
fenframe4a.Position=UDim2.new(0.625,0,0.7,0)
532
fenframe4a.Text=""
533
534
fenframe1a.Size=UDim2.new(0,0,0.1,0)
535
fenframe2a.Size=UDim2.new(0,0,0.1,0)
536
fenframe3a.Size=UDim2.new(0,0,0.1,0)
537
fenframe4a.Size=UDim2.new(0,0,0.1,0)
538
539
Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
540
	if hit.Parent == nil then
541
		return
542
	end
543
	local h = hit.Parent:FindFirstChild("Humanoid")
544
	for _, v in pairs(hit.Parent:children()) do
545
		if v:IsA("Humanoid") then
546
			h = v
547
		end
548
	end
549
	if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
550
		if hit.Parent:findFirstChild("DebounceHit") ~= nil then
551
			if hit.Parent.DebounceHit.Value == true then
552
				return
553
			end
554
		end
555
		local c = Create("ObjectValue"){
556
			Name = "creator",
557
			Value = game:service("Players").LocalPlayer,
558
			Parent = h,
559
		}
560
		game:GetService("Debris"):AddItem(c, .5)
561
		if HitSound ~= nil and HitPitch ~= nil then
562
			CreateSound(HitSound, hit, 1, HitPitch) 
563
		end
564
		local Damage = math.random(minim, maxim)
565
		local blocked = false
566
		local block = hit.Parent:findFirstChild("Block")
567
		if block ~= nil then
568
			if block.className == "IntValue" then
569
				if block.Value > 0 then
570
					blocked = true
571
					block.Value = block.Value - 1
572
					print(block.Value)
573
				end
574
			end
575
		end
576
		if blocked == false then
577
			h.Health = h.Health - Damage
578
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
579
		else
580
			h.Health = h.Health - (Damage / 2)
581
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
582
		end
583
		if Type == "Knockdown" then
584
			local hum = hit.Parent.Humanoid
585
			hum.PlatformStand = true
586
			coroutine.resume(coroutine.create(function(HHumanoid)
587
				swait(1)
588
				HHumanoid.PlatformStand = false
589
			end), hum)
590
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
591
			local bodvol = Create("BodyVelocity"){
592
				velocity = angle * knockback,
593
				P = 5000,
594
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
595
				Parent = hit,
596
			}
597
			local rl = Create("BodyAngularVelocity"){
598
				P = 3000,
599
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
600
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
601
				Parent = hit,
602
			}
603
			game:GetService("Debris"):AddItem(bodvol, .5)
604
			game:GetService("Debris"):AddItem(rl, .5)
605
		elseif Type == "Normal" then
606
			local vp = Create("BodyVelocity"){
607
				P = 500,
608
				maxForce = Vector3.new(math.huge, 0, math.huge),
609
				velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
610
			}
611
			if knockback > 0 then
612
				vp.Parent = hit.Parent.Torso
613
			end
614
			game:GetService("Debris"):AddItem(vp, .5)
615
		elseif Type == "Up" then
616
			local bodyVelocity = Create("BodyVelocity"){
617
				velocity = vt(0, 20, 0),
618
				P = 5000,
619
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
620
				Parent = hit,
621
			}
622
			game:GetService("Debris"):AddItem(bodyVelocity, .5)
623
		elseif Type == "DarkUp" then
624
			coroutine.resume(coroutine.create(function()
625
			for i = 0,1,0.1 do
626
				swait()
627
			BlockEffect(BrickColor.new("Black"), hit.Parent.Torso.CFrame,5, 5, 5, 1, 1, 1, .08,1)
628
			end
629
			end))
630
			local bodyVelocity = Create("BodyVelocity"){
631
				velocity = vt(0, 20, 0),
632
				P = 5000,
633
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
634
				Parent = hit,
635
			}
636
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
637
		elseif Type == "Snare" then
638
			local bp = Create("BodyPosition"){
639
				P = 2000,
640
				D = 100,
641
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
642
				position = hit.Parent.Torso.Position,
643
				Parent = hit.Parent.Torso,
644
			}
645
			game:GetService("Debris"):AddItem(bp, 1)
646
		elseif Type == "Freeze" then
647
			local BodPos = Create("BodyPosition"){
648
				P = 50000,
649
				D = 1000,
650
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
651
				position = hit.Parent.Torso.Position,
652
				Parent = hit.Parent.Torso,
653
			}
654
			local BodGy = Create("BodyGyro") {
655
				maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
656
				P = 20e+003,
657
				Parent = hit.Parent.Torso,
658
				cframe = hit.Parent.Torso.CFrame,
659
			}
660
			hit.Parent.Torso.Anchored = true
661
			coroutine.resume(coroutine.create(function(Part) 
662
				swait(1.5)
663
				Part.Anchored = false
664
			end), hit.Parent.Torso)
665
			game:GetService("Debris"):AddItem(BodPos, 3)
666
			game:GetService("Debris"):AddItem(BodGy, 3)
667
		end
668
		local debounce = Create("BoolValue"){
669
			Name = "DebounceHit",
670
			Parent = hit.Parent,
671
			Value = true,
672
		}
673
		game:GetService("Debris"):AddItem(debounce, Delay)
674
		c = Instance.new("ObjectValue")
675
		c.Name = "creator"
676
		c.Value = Player
677
		c.Parent = h
678
		game:GetService("Debris"):AddItem(c, .5)
679
	end
680
end
681
682
function ShowDamage(Pos, Text, Time, Color)
683
	local Rate = (1 / 30)
684
	local Pos = (Pos or Vector3.new(0, 0, 0))
685
	local Text = (Text or "")
686
	local Time = (Time or 2)
687
	local Color = (Color or Color3.new(1, 0, 1))
688
	local EffectPart = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
689
	EffectPart.Anchored = true
690
	local BillboardGui = Create("BillboardGui"){
691
		Size = UDim2.new(3, 0, 3, 0),
692
		Adornee = EffectPart,
693
		Parent = EffectPart,
694
	}
695
	local TextLabel = Create("TextLabel"){
696
		BackgroundTransparency = 1,
697
		Size = UDim2.new(1, 0, 1, 0),
698
		Text = Text,
699
		TextColor3 = Color,
700
		TextScaled = true,
701
		Font = Enum.Font.ArialBold,
702
		Parent = BillboardGui,
703
	}
704
	game.Debris:AddItem(EffectPart, (Time + 0.1))
705
	EffectPart.Parent = game:GetService("Workspace")
706
	delay(0, function()
707
		local Frames = (Time / Rate)
708
		for Frame = 1, Frames do
709
			wait(Rate)
710
			local Percent = (Frame / Frames)
711
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
712
			TextLabel.TextTransparency = Percent
713
		end
714
		if EffectPart and EffectPart.Parent then
715
			EffectPart:Destroy()
716
		end
717
	end)
718
end
719
function MagniDamage(Part,magni,mindam,maxdam,knock,Type)
720
for _,c in pairs(workspace:children()) do
721
local hum=c:findFirstChild("Humanoid")
722
if hum~=nil then
723
local head=c:findFirstChild("Torso")
724
if head~=nil then
725
local targ=head.Position-Part.Position
726
local mag=targ.magnitude
727
if mag<=magni and c.Name~=Player.Name then 
728
--Damagefunc(head,mindam,maxdam,knock,Type,RootPart,.2,1,nil,1)
729
Damagefunc(head, head, mindam,maxdam, knock, Type, RootPart, .1, "http://www.roblox.com/asset/?id=231917784", 1)
730
end
731
end
732
end
733
end
734
end
735
736
737
Handle = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Mid gray", "Handle", Vector3.new(0.200000003, 0.800000012, 0.200000003))
738
HandleWeld = CreateWeld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.111289978, -0.0457115173, 0.98500371, -1, 0, 0, 0, 0, 1, 0, 1, 0))
739
CreateMesh("CylinderMesh", Handle, "", "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
740
FakeHandle = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Mid gray", "FakeHandle", Vector3.new(0.200000003, 0.800000012, 0.200000003))
741
FakeHandleWeld = CreateWeld(m, Handle, FakeHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.90734863e-005, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
742
CreateMesh("CylinderMesh", FakeHandle, "", "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
743
Barrel = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Barrel", Vector3.new(0.200000003, 0.200000003, 0.200000003))
744
BarrelWeld = CreateWeld(m, FakeHandle, Barrel, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00499343872, -4.45502472, -0.0400004387, -1, 0, 0, 0, -1, 0, 0, 0, 1))
745
CreateMesh("CylinderMesh", Barrel, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 1))
746
BoltPrt = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "BoltPrt", Vector3.new(0.200000003, 0.205000013, 0.200000003))
747
BoltPrtWeld = CreateWeld(m, FakeHandle, BoltPrt, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.62939453e-006, -1.7025032, -0.450000286, -1, 8.88178367e-016, 8.8817842e-016, 0, -0.99999994, 2.98023224e-008, 8.8817842e-016, 2.98023206e-008, 1))
748
CreateMesh("CylinderMesh", BoltPrt, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
749
ElementPrt = CreatePart(m, Enum.Material.Neon, 0, 0, "Lily white", "ElementPrt", Vector3.new(0.200000003, 0.200000018, 0.200000003))
750
ElementPrtWeld = CreateWeld(m, FakeHandle, ElementPrt, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00498962402, -1.5, -0.435000181, -1, 8.88178367e-016, 8.8817842e-016, 0, -0.99999994, 2.98023224e-008, 8.8817842e-016, 2.98023206e-008, 1))
751
CreateMesh("CylinderMesh", ElementPrt, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.850000083))
752
Hitbox = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Navy blue", "Hitbox", Vector3.new(1, 1.20000005, 0.699999988))
753
HitboxWeld = CreateWeld(m, FakeHandle, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.35000229, -0.149999857, 0, 0, -1, 0, 0, 0, 1, -1, 0, 0))
754
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.5, 0.200000003, 0.314999998))
755
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0500030518, -0.5, -0.00249481201, -1.19847783e-007, -1, 2.98022584e-008, 1.4338345e-015, 2.98023899e-008, 1, -1, 1.19847783e-007, -1.43382688e-015))
756
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.50000006, 1))
757
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
758
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.450000763, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
759
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.5, 0.5))
760
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.200000003, 0.300000012, 0.200000003))
761
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.599998474, -3.81469727e-006, 0.0499999523, 0, -1, 0, 1, 0, 0, 0, 0, 1))
762
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.99999994))
763
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(1.0999999, 0.400000006, 0.300000012))
764
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0499954224, -0.549999714, 0, 0, -1, 0, 0, 0, 1, -1, 0, 0))
765
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.300000012, 0.200000003))
766
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.08990479, 0, -0.362804413, -5.71178418e-007, 0.92847681, -0.371390373, -0.99999994, 2.20809127e-007, 2.08997085e-006, 2.02249544e-006, 0.371390373, 0.92847681))
767
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
768
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.305000007, 0.200000003))
769
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.789432526, 0.00138473511, 0.628980637, 0, -0.866025448, 0.49999994, -1, 0, 0, 0, -0.49999994, -0.866025448))
770
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.200000018, 1.03278685, 0.899999976))
771
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.324999988, 0.200000003))
772
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.340003967, -0.00249481201, -0.700000048, 2.33203423e-007, 1, -7.10040752e-007, -1, 2.33203423e-007, -5.04185018e-013, -8.50164448e-013, 7.10040524e-007, 1))
773
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.25))
774
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.305000007, 0.200000003))
775
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.23942947, 0.00138473511, -0.150442123, 0, 0.866025448, 0.50000006, -1, 0, 0, 0, -0.50000006, 0.866025448))
776
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.200000018, 1.03278685, 0.899999976))
777
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.314999998, 0.200000003))
778
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.300003052, -0.00249481201, -0.550000429, 2.33203423e-007, 1, -7.10040752e-007, -1, 2.33203423e-007, -5.04185018e-013, -8.50164448e-013, 7.10040524e-007, 1))
779
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
780
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.504999995, 0.200000003))
781
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.19998932, 0.0013885498, -0.549999237, 0, 1, 0, -1, 0, 0, 0, 0, 1))
782
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
783
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.299999237))
784
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.445317984, 1.34514236, 0, 0, 0.00358040701, -0.999993563, 0, -0.999993563, -0.00358040701, -1, 0, 0))
785
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.5, 1))
786
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.700000048, 0.200000003, 0.314999998))
787
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0500030518, -0.599999905, -0.00249481201, -1.19847783e-007, -1, 2.98022051e-008, 1.14839922e-015, 2.98024432e-008, 1, -1, 1.19847783e-007, -1.14838525e-015))
788
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.50000006, 1))
789
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.314999998, 0.200000003))
790
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.199996948, -0.00249481201, -0.549999952, 2.33203423e-007, 1, -7.10040752e-007, -1, 2.33203423e-007, -5.04185018e-013, -8.50164448e-013, 7.10040524e-007, 1))
791
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
792
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.314999998, 0.200000003))
793
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.199996948, -0.00249481201, -0.649999857, 2.33203423e-007, 1, -7.10040752e-007, -1, 2.33203423e-007, -5.04185018e-013, -8.50164448e-013, 7.10040524e-007, 1))
794
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
795
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
796
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.674419403, 0.198852539, 1, 0, 0, 0, 0.866025388, 0.5, 0, -0.5, 0.866025388))
797
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.5, 0.5))
798
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(1.70000005, 0.5, 0.300000012))
799
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.45000458, -0.200000286, 0, 0, -1, 0, 0, 0, 1, -1, 0, 0))
800
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.5, 0.200000003, 0.314999998))
801
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0500030518, -0.699999809, -0.00249481201, -1.19847783e-007, -1, 2.98023224e-008, 1.77635684e-015, 2.98023259e-008, 1, -1, 1.19847783e-007, -1.77635684e-015))
802
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.50000006, 1))
803
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.540000081, 0.300000012))
804
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.42415237, -0.203493118, 0, -1.15561839e-007, -0.928476572, -0.371390939, -2.2255195e-008, -0.371390939, 0.928476572, -1, 1.15561839e-007, 2.2255195e-008))
805
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
806
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.324999988, 0.200000003))
807
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.249992371, -0.00249481201, -0.690000296, 2.33203423e-007, 1, -7.10040752e-007, -1, 2.33203423e-007, -5.04185018e-013, -8.50164448e-013, 7.10040524e-007, 1))
808
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.25))
809
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
810
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.350006104, -1.04999924, -0.650000095, -1, 8.88178367e-016, 8.8817842e-016, 0, -0.99999994, 2.98023224e-008, 8.8817842e-016, 2.98023206e-008, 1))
811
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 1))
812
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.200000003, 0.200000018, 0.200000003))
813
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.350006104, -1.70000458, -0.650000095, -1, 8.88178367e-016, 8.8817842e-016, 0, -0.99999994, 2.98023224e-008, 8.8817842e-016, 2.98023206e-008, 1))
814
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
815
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Part", Vector3.new(0.200000018, 0.24500002, 0.200000003))
816
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.40000534, -0.127500057, 0, 0, -1, 0, 0, 0, 1, -1, 0, 0))
817
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.5))
818
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000018))
819
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.40000916, 0.0949997902, 0.0100059509, 0, -1, 0, 0, 0, 1, -1, 0, 0))
820
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.999999762, 1, 1))
821
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.300000012, 0.200000003))
822
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.350006104, -1.45000458, -0.650000334, -1, 8.88178367e-016, 8.8817842e-016, 0, -0.99999994, 2.98023224e-008, 8.8817842e-016, 2.98023206e-008, 1))
823
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.799999952))
824
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Part", Vector3.new(0.200000018, 0.200000003, 0.200000003))
825
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.40000534, -0.0549998283, 0.150001526, 0, -1, 0, 0, 0, 1, -1, 0, 0))
826
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 1))
827
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.400000006, 0.200000003, 0.400000006))
828
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.550003052, -2.95000076, 0.0499999523, -1, 8.88178367e-016, 8.8817842e-016, 0, -0.99999994, 2.98023224e-008, 8.8817842e-016, 2.98023206e-008, 1))
829
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 1))
830
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.699999988, 0.200000003, 0.200000003))
831
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.3500061, -0.0549998283, 0.150001526, 0, -1, 0, 0, 0, 1, -1, 0, 0))
832
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 1))
833
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.200000003, 0.400000006, 0.200000003))
834
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.95000076, 0.0499997139, -0.450000763, 0, -1, 0, 0, 0, 1, -1, 0, 0))
835
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.99999994))
836
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.400000006, 0.200000003, 0.300000012))
837
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.550003052, -2.95000076, -0.399999619, -1, 8.88178367e-016, 8.8817842e-016, 0, -0.99999994, 2.98023224e-008, 8.8817842e-016, 2.98023206e-008, 1))
838
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 1))
839
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.400000006, 0.200000003, 0.400000006))
840
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.550003052, -2.95000076, 0.0499999523, -1, 8.88178367e-016, 8.8817842e-016, 0, -0.99999994, 2.98023224e-008, 8.8817842e-016, 2.98023206e-008, 1))
841
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 1))
842
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.5, 0.200000003))
843
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.20000076, 0.457920074, -0.213832855, 0, 1, 0, -0.707106769, -0, -0.707106829, -0.707106829, 0, 0.707106769))
844
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.5))
845
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.519999981, 0.200000003))
846
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.34999084, 3.81469727e-006, -0.0299999714, 2.33203423e-007, 1, -7.10040752e-007, -1, 2.33203423e-007, -5.04185018e-013, -8.50164448e-013, 7.10040524e-007, 1))
847
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.25))
848
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.519999981))
849
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.65000153, 0.029999733, 3.81469727e-006, -1.19847783e-007, -1, 2.98022584e-008, 1.4338345e-015, 2.98023899e-008, 1, -1, 1.19847783e-007, -1.43382688e-015))
850
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.800000072, 1))
851
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.200000003, 0.300000012, 0.200000003))
852
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.95000076, -0.399999857, -0.450000763, 0, -1, 0, 0, 0, 1, -1, 0, 0))
853
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.99999994))
854
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.504999995, 0.200000003))
855
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.99998474, 0.0013885498, -0.349999428, 0, 1, 0, -1, 0, 0, 0, 0, 1))
856
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
857
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.305000007, 0.200000003))
858
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.00000763, 0.00138473511, -0.749999523, 0, 1, 0, -1, 0, 0, 0, 0, 1))
859
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
860
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.200000003, 0.400000006, 0.300000012))
861
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.549995422, -0.149999619, 0, 0, -1, 0, 0, 0, 1, -1, 0, 0))
862
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
863
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.324999988, 0.200000003))
864
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.244991302, -0.00249481201, -0.499997854, 2.33203423e-007, 1, -7.10040752e-007, -1, 2.33203423e-007, -5.04185018e-013, -8.50164448e-013, 7.10040524e-007, 1))
865
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.25))
866
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.300000012, 0.200000003))
867
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.42415237, 0, -0.473495483, 2.28917116e-007, 0.928476572, 0.371390939, -1, 2.20809511e-007, 6.43548574e-008, -2.22551524e-008, -0.371390939, 0.928476572))
868
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
869
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.314999998, 0.200000003))
870
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.300003052, -0.00249481201, -0.650000334, 2.33203423e-007, 1, -7.10040752e-007, -1, 2.33203423e-007, -5.04185018e-013, -8.50164448e-013, 7.10040524e-007, 1))
871
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
872
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.305000007, 0.200000003))
873
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.00000763, 0.00138473511, -0.149999619, 0, 1, 0, -1, 0, 0, 0, 0, 1))
874
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
875
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.540000081, 0.300000012))
876
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.0899086, -0.632804871, -7.62939453e-006, -5.02695957e-006, -0.92847681, 0.371390462, 2.02249544e-006, 0.371390462, 0.92847681, -1, 5.41855115e-006, 1.08748281e-008))
877
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
878
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Mid gray", "Part", Vector3.new(0.200000003, 0.300000012, 0.200000003))
879
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.474422455, 0.198854446, 1, 0, 0, 0, 0.866025388, 0.5, 0, -0.5, 0.866025388))
880
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
881
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.599999845, 0.50000006, 0.300000012))
882
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.800003052, -0.5, 0, 0, -1, 0, 0, 0, 1, -1, 0, 0))
883
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.324999988, 0.200000003))
884
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.345001221, -0.00249481201, -0.499998331, 2.33203423e-007, 1, -7.10040752e-007, -1, 2.33203423e-007, -5.04185018e-013, -8.50164448e-013, 7.10040524e-007, 1))
885
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.25))
886
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.200000003, 1.20000005, 0.699999988))
887
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.95000076, -0.149999857, 0, 0, -1, 0, 0, 0, 1, -1, 0, 0))
888
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
889
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
890
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.350006104, -1, -0.650000095, -1, 8.88178367e-016, 8.8817842e-016, 0, -0.99999994, 2.98023224e-008, 8.8817842e-016, 2.98023206e-008, 1))
891
CreateMesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
892
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.5, 0.200000003))
893
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.70000458, 0.457920074, -0.213832855, 0, 1, 0, -0.707106769, -0, -0.707106829, -0.707106829, 0, 0.707106769))
894
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.5))
895
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000018, 0.200000003))
896
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.350006104, -1.20000076, -0.650000095, -1, 8.88178367e-016, 8.8817842e-016, 0, -0.99999994, 2.98023224e-008, 8.8817842e-016, 2.98023206e-008, 1))
897
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
898
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.600000024, 0.24500002, 0.200000003))
899
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.00000381, -0.127500057, 0, 0, -1, 0, 0, 0, 1, -1, 0, 0))
900
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.5))
901
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.599999964, 0.200000003, 0.200000018))
902
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.00000763, 0.0949997902, 0.0100059509, 0, -1, 0, 0, 0, 1, -1, 0, 0))
903
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.600000024, 0.200000003, 0.200000003))
904
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.00000381, -0.0549998283, 0.150001526, 0, -1, 0, 0, 0, 1, -1, 0, 0))
905
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 1))
906
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.600000024, 0.200000003, 0.200000003))
907
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.00000381, -0.0549998283, -0.150001526, 0, -1, 0, 0, 0, 1, -1, 0, 0))
908
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 1))
909
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Part", Vector3.new(0.200000018, 0.200000003, 0.200000003))
910
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.40000534, -0.0549998283, -0.150001526, 0, -1, 0, 0, 0, 1, -1, 0, 0))
911
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 1))
912
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.699999988, 0.200000003, 0.200000018))
913
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.05000305, 0.244999647, 0.0100059509, 0, -0.999999762, 0, 0, 0, 0.999999762, -1, 0, 0))
914
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 1))
915
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.200000003, 0.400000006, 0.200000003))
916
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.95000076, 0.0499997139, 0.450004578, 0, -1, 0, 0, 0, 1, -1, 0, 0))
917
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.99999994))
918
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.200000003, 0.300000012, 0.200000003))
919
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.95000076, -0.399999857, 0.450004578, 0, -1, 0, 0, 0, 1, -1, 0, 0))
920
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.99999994))
921
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.699999988, 0.200000003, 0.200000018))
922
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.3500061, 0.0949997902, 0.0100059509, 0, -1, 0, 0, 0, 1, -1, 0, 0))
923
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.699999988, 0.200000003, 0.200000003))
924
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.3500061, -0.0549998283, -0.150001526, 0, -1, 0, 0, 0, 1, -1, 0, 0))
925
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 1))
926
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.400000006, 0.200000003, 0.300000012))
927
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.550003052, -2.95000076, -0.399999619, -1, 8.88178367e-016, 8.8817842e-016, 0, -0.99999994, 2.98023224e-008, 8.8817842e-016, 2.98023206e-008, 1))
928
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 1))
929
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.519999981))
930
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.49499893, 0.0599997044, 3.81469727e-006, -1.19847783e-007, -1, 2.98022584e-008, 1.4338345e-015, 2.98023899e-008, 1, -1, 1.19847783e-007, -1.43382688e-015))
931
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.5, 1))
932
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.699999988, 0.24500002, 0.200000003))
933
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.3500061, -0.127500057, 0, 0, -1, 0, 0, 0, 1, -1, 0, 0))
934
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.5))
935
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.504999995, 0.200000003))
936
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.180040359, 0.00138473511, -2.0242157, 0, 0.258819014, 0.965925932, -1, 0, 0, 0, -0.965925932, 0.258819014))
937
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.200000018, 1.03278685, 0.899999976))
938
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.600000024, 0.699999988, 0.5))
939
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.60000229, -0.0999999046, 0, 0, -1, 0, 0, 0, 1, -1, 0, 0))
940
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.5, 0.5, 0.5))
941
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.05000305, -0.5, 0, 0, -1, 0, 0, 0, 1, -1, 0, 0))
942
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Part", Vector3.new(0.200000003, 0.200000018, 0.200000003))
943
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.62939453e-006, -1.30000305, -0.450000286, -1, 8.88178367e-016, 8.8817842e-016, 0, -0.99999994, 2.98023224e-008, 8.8817842e-016, 2.98023206e-008, 1))
944
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
945
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.519999981, 0.200000003))
946
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.74999237, 0, -0.189999104, 2.33203423e-007, 1, -7.10040752e-007, -1, 2.33203423e-007, -5.04185018e-013, -8.50164448e-013, 7.10040524e-007, 1))
947
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.25))
948
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.519999981, 0.200000003))
949
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.74999237, 3.81469727e-006, 0.11000061, 2.33203423e-007, 1, -7.10040752e-007, -1, 2.33203423e-007, -5.04185018e-013, -8.50164448e-013, 7.10040524e-007, 1))
950
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.25))
951
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.519999981, 0.200000003))
952
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.34999084, 3.81469727e-006, 0.110000372, 2.33203423e-007, 1, -7.10040752e-007, -1, 2.33203423e-007, -5.04185018e-013, -8.50164448e-013, 7.10040524e-007, 1))
953
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.25))
954
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.5, 0.200000018, 0.50999999))
955
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.54999542, 0.0499997139, 3.81469727e-006, -1.19847783e-007, -1, 2.98022584e-008, 1.4338345e-015, 2.98023899e-008, 1, -1, 1.19847783e-007, -1.43382688e-015))
956
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.504999995, 0.200000003))
957
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.98446274, 0.00138473511, -1.10113621, 0, 0.965925872, 0.258819103, -1, 0, 0, 0, -0.258819103, 0.965925872))
958
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.200000018, 1.03278685, 0.899999976))
959
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.299999952, 0.5, 0.200000077))
960
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.81469727e-006, 0.199996471, 1.20000839, -1, 5.30740999e-006, -2.68220788e-007, 2.68233578e-007, 2.40896179e-006, -1, -5.30740954e-006, -1, -2.40896316e-006))
961
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
962
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.299999952, 0.5, 0.200000077))
963
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.699999094, 1.20000839, 1, -2.08616257e-007, 2.10380577e-007, -2.1038062e-007, -2.15859615e-007, 1, -2.086162e-007, -1, -2.15859657e-007))
964
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
965
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.299999952, 0.400000036, 0.600000083))
966
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.649999142, 0.899997711, -1, 1.2922257e-007, 1.1920929e-007, 1.1920929e-007, 4.04325462e-008, 1, 1.2922257e-007, 1, -4.04325604e-008))
967
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
968
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.299999952, 0.200000003, 0.200000018))
969
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.249999523, -0.399993896, -1, -5.96046448e-008, 1.16054075e-007, -1.16054046e-007, -4.63321726e-007, -1, 5.96047016e-008, -1, 4.63321726e-007))
970
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
971
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.299999952, 0.200000018, 0.600000083))
972
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.849999428, -0.800006866, -1, 1.2922257e-007, 1.1920929e-007, 1.1920929e-007, 4.04325462e-008, 1, 1.2922257e-007, 1, -4.04325604e-008))
973
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
974
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.299999952, 0.400000006, 0.200000003))
975
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.149999619, -0.449996948, -1, -5.96046448e-008, 1.16054075e-007, -1.16054046e-007, -4.63321726e-007, -1, 5.96047016e-008, -1, 4.63321726e-007))
976
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.5))
977
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.299999952, 0.200000018, 1.20000005))
978
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.849998951, 7.62939453e-006, 1, -2.38418551e-007, 4.71621945e-007, -4.71622002e-007, -2.76052759e-007, 1, -2.38418409e-007, -1, -2.76052873e-007))
979
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
980
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.299999952, 0.200000003, 1))
981
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.299999237, 3.81469727e-006, -1, -5.96046448e-008, 1.16054075e-007, -1.16054046e-007, -4.63321726e-007, -1, 5.96047016e-008, -1, 4.63321726e-007))
982
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 1))
983
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.299999952, 0.200000003, 1))
984
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.299999237, -3.81469727e-006, 1, -5.96046377e-008, -1.33989246e-007, -1.33989289e-007, -6.00143153e-007, -1, 5.96045524e-008, 1, -6.00143153e-007))
985
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 1))
986
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
987
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.94999695, -0.200000048, 0.399997711, 2.38418551e-007, -1, -8.99536445e-008, -1.77939672e-008, -8.99536516e-008, 1, -1, -2.38418551e-007, -1.77939885e-008))
988
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.5, 0.5))
989
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
990
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.94999695, 0.199999809, 0.399997711, 5.96046448e-008, 1, 5.46628298e-010, 5.17199217e-009, 5.46627965e-010, -1, -1, 5.96046448e-008, -5.17199217e-009))
991
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.5, 0.5))
992
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Wedge", Vector3.new(0.200000018, 0.200000003, 0.200000003))
993
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.40000916, -0.154999733, 0.100002289, 0, -1, 0, 0, 0, 1, -1, 0, 0))
994
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 0.5))
995
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
996
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.94999695, 0.200000048, 0.400005341, -1.83194864e-008, -1, -8.94069672e-008, 1.26219799e-008, 8.94069672e-008, -1, 1, -1.83194881e-008, 1.26219781e-008))
997
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.5, 0.5))
998
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Wedge", Vector3.new(0.200000018, 0.200000003, 0.200000003))
999
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.40000534, -0.160003662, 0.0449995995, 0, -1, 0, 1, 0, -5.96046377e-008, 5.96046377e-008, 0, 1))
1000
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 0.5))
1001
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.699999988))
1002
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.300000668, 3.34999847, -1, 0, 0, 0, 0, 1, 0, 1, 0))
1003
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.5, 1))
1004
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.200000003, 0.200000018, 0.200000003))
1005
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.94999695, -0.349998951, 0.450004578, 0, -1, -8.94069814e-008, 7.34519823e-009, 8.94069814e-008, -1, 1, -6.56712003e-016, 7.34519823e-009))
1006
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
1007
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.200000003, 0.200000018, 0.200000003))
1008
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.94999695, -0.649999857, 0.450004578, -1.49011612e-007, 1, 0, 0, 0, 1, 1, 1.49011612e-007, 0))
1009
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
1010
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.699999988, 0.200000003, 0.200000003))
1011
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.3500061, -0.139995575, 0.0449981689, -5.96046412e-008, 1, 4.31944983e-007, -1, -5.96048721e-008, 5.41748932e-007, 5.41748932e-007, -4.31944954e-007, 1))
1012
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 0.5))
1013
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.699999988, 0.200000003, 0.200000003))
1014
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.3500061, -0.154999733, 0.0999984741, 8.94069743e-008, 1, 0, 0, 0, 1, 1, -8.94069743e-008, 0))
1015
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 0.5))
1016
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.699999988, 0.200000003, 0.200000003))
1017
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.3500061, -0.154999733, 0.100002289, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1018
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 0.5))
1019
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Wedge", Vector3.new(0.200000018, 0.200000003, 0.200000003))
1020
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.40000534, -0.139995575, 0.0449981689, -5.96046412e-008, 1, 4.31944983e-007, -1, -5.96048721e-008, 5.41748932e-007, 5.41748932e-007, -4.31944954e-007, 1))
1021
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 0.5))
1022
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.49999994, 0.5, 0.200000003))
1023
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -9.53674316e-007, -2.19998932, -1, -5.96046448e-008, 1.16054075e-007, -1.16054046e-007, -4.63321726e-007, -1, 5.96047016e-008, -1, 4.63321726e-007))
1024
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.99999994))
1025
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.299999952, 0.5, 0.400000095))
1026
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.699999332, 0.799995422, -1, 1.2922257e-007, 1.1920929e-007, 1.1920929e-007, 4.04325462e-008, 1, 1.2922257e-007, 1, -4.04325604e-008))
1027
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
1028
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.299999952, 0.300000012, 0.600000083))
1029
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.100000381, -0.800006866, 1, -5.96046377e-008, -1.33989246e-007, -1.33989289e-007, -6.00143153e-007, -1, 5.96045524e-008, 1, -6.00143153e-007))
1030
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
1031
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.299999952, 0.200000003, 0.799999952))
1032
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.0999999046, 1, 1, 2.98023206e-008, -1.5333173e-008, 0, -8.94069672e-008, -1, -2.98023224e-008, 1, -8.94069672e-008))
1033
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 1))
1034
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Wedge", Vector3.new(0.600000024, 0.200000003, 0.200000003))
1035
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.00000381, -0.160003662, 0.0449995995, 0, -1, 0, 1, 0, -5.96046377e-008, 5.96046377e-008, 0, 1))
1036
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 0.5))
1037
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Wedge", Vector3.new(0.600000024, 0.200000003, 0.200000003))
1038
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.00000763, -0.154999733, 0.100002289, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1039
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 0.5))
1040
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Wedge", Vector3.new(0.600000024, 0.200000003, 0.200000003))
1041
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.00000381, -0.139995575, 0.0449984074, -5.96046412e-008, 1, 4.31944983e-007, -1, -5.96048721e-008, 5.41748932e-007, 5.41748932e-007, -4.31944954e-007, 1))
1042
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 0.5))
1043
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.400000006))
1044
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.35000062, 3.20000076, -1, 0, 0, 0, 0, 1, 0, 1, 0))
1045
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
1046
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Wedge", Vector3.new(0.600000024, 0.200000003, 0.200000003))
1047
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.00000763, -0.154999733, 0.0999984741, 8.94069743e-008, 1, 0, 0, 0, 1, 1, -8.94069743e-008, 0))
1048
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 0.5))
1049
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
1050
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0100021362, -0.244999647, -2.65000153, -1, -0, -5.96046377e-008, 5.96046377e-008, 0, -1, 0, -1, 0))
1051
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 0.5))
1052
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.699999988, 0.200000003, 0.200000003))
1053
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.3500061, -0.160003662, 0.0449995995, 0, -1, 0, 1, 0, -5.96046377e-008, 5.96046377e-008, 0, 1))
1054
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 0.5))
1055
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.200000003, 0.200000018, 0.200000003))
1056
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.94999695, -0.649999857, 0.449996948, 5.96046377e-008, -1, 0, 0, 0, 1, -1, -5.96046377e-008, 0))
1057
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
1058
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.200000003, 0.200000018, 0.200000003))
1059
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.94999695, -0.349999428, 0.449996948, 1.82183886e-008, 1, -8.94069672e-008, -7.34519912e-009, -8.94069672e-008, -1, -1, 1.82183886e-008, 7.34519734e-009))
1060
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
1061
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.49999994, 0.200000018, 0.5))
1062
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.149998665, -2.04998779, -1, -5.96046448e-008, 1.16054075e-007, -1.16054046e-007, -4.63321726e-007, -1, 5.96047016e-008, -1, 4.63321726e-007))
1063
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
1064
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.49999994, 0.300000012, 0.299999982))
1065
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.099998951, -2.14999008, -1, -5.96046448e-008, 1.16054075e-007, -1.16054046e-007, -4.63321726e-007, -1, 5.96047016e-008, -1, 4.63321726e-007))
1066
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
1067
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.200000003, 0.300000012, 0.200000003))
1068
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0100059509, -3.55000305, 0.244999409, -1, -2.23511698e-008, 1.76574866e-010, 2.23511698e-008, -1, -5.96046448e-008, 1.76576198e-010, -5.96046448e-008, 1))
1069
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.5))
1070
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Wedge", Vector3.new(0.200000018, 0.200000003, 0.200000003))
1071
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.40000916, -0.154999733, 0.0999984741, 8.94069743e-008, 1, 0, 0, 0, 1, 1, -8.94069743e-008, 0))
1072
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 0.5))
1073
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
1074
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.94999695, -0.199999809, 0.400005341, -1.49011612e-007, 1, 0, 0, 0, 1, 1, 1.49011612e-007, 0))
1075
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.5, 0.5))
1076
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Wedge", Vector3.new(0.509999931, 0.200000018, 0.50000006))
1077
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.62939453e-006, -0.150000095, -2.54999542, 1, -1.2922257e-007, 1.1920929e-007, -1.19209304e-007, -4.04325426e-008, 1, -1.2922257e-007, -1, -4.04325533e-008))
1078
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
1079
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.49999994, 0.300000012, 0.600000024))
1080
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.600000858, 2.59999847, -1, 0, 0, 0, 0, 1, 0, 1, 0))
1081
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
1082
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Navy blue", "Wedge", Vector3.new(0.49999994, 0.200000018, 0.5))
1083
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.85000062, 2.05000305, -1, -5.96046377e-008, 0, 0, 0, 1, -5.96046377e-008, 1, 0))
1084
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
1085
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Wedge", Vector3.new(0.519999921, 0.200000003, 0.200000003))
1086
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.0399990082, -2.49500275, 1, -1.2922257e-007, 1.1920929e-007, -1.19209304e-007, -4.04325426e-008, 1, -1.2922257e-007, -1, -4.04325533e-008))
1087
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 0.5))
1088
Wedge = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Wedge", Vector3.new(0.519999921, 0.200000003, 0.200000003))
1089
WedgeWeld = CreateWeld(m, FakeHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.0999999046, -2.64999008, 1, -1.2922257e-007, 1.1920929e-007, -1.19209304e-007, -4.04325426e-008, 1, -1.2922257e-007, -1, -4.04325533e-008))
1090
CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 0.5))
1091
1092
--[[Effect Functions]]--
1093
1094
gyro = Instance.new("BodyGyro")
1095
gyro.Parent = RootPart
1096
gyro.P = 1e7
1097
gyro.D = 1e3
1098
gyro.MaxTorque = Vector3.new(0,1e7,0)
1099
1100
function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
1101
	local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1102
	prt.Anchored = true
1103
	prt.CFrame = cframe
1104
	local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1105
	game:GetService("Debris"):AddItem(prt, 10)
1106
	if Type == 1 or Type == nil then
1107
		table.insert(Effects, {
1108
			prt,
1109
			"Block1",
1110
			delay,
1111
			x3,
1112
			y3,
1113
			z3,
1114
			msh
1115
		})
1116
	elseif Type == 2 then
1117
		table.insert(Effects, {
1118
			prt,
1119
			"Block2",
1120
			delay,
1121
			x3,
1122
			y3,
1123
			z3,
1124
			msh
1125
		})
1126
	end
1127
end
1128
1129
function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1130
	local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1131
	prt.Anchored = true
1132
	prt.CFrame = cframe
1133
	local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1134
	game:GetService("Debris"):AddItem(prt, 10)
1135
	table.insert(Effects, {
1136
		prt,
1137
		"Cylinder",
1138
		delay,
1139
		x3,
1140
		y3,
1141
		z3,
1142
		msh
1143
	})
1144
end
1145
1146
function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1147
local prt=CreatePart(effect,"SmoothPlastic",0,0,brickcolor,"Effect",vt(.5,.5,.5))--part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
1148
prt.Anchored=true
1149
prt.CFrame=cframe
1150
msh=CreateMesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
1151
game:GetService("Debris"):AddItem(prt,2)
1152
coroutine.resume(coroutine.create(function(Part,Mesh,num) 
1153
for i=0,1,delay do
1154
swait()
1155
Part.Transparency=i
1156
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
1157
end
1158
Part.Parent=nil
1159
end),prt,msh,(math.random(0,1)+math.random())/5)
1160
end
1161
1162
function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1163
	local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1164
	prt.Anchored = true
1165
	prt.CFrame = cframe
1166
	local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1167
	game:GetService("Debris"):AddItem(prt, 10)
1168
	table.insert(Effects, {
1169
		prt,
1170
		"Cylinder",
1171
		delay,
1172
		x3,
1173
		y3,
1174
		z3,
1175
		msh
1176
	})
1177
end
1178
1179
function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1180
	local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1181
	prt.Anchored = true
1182
	prt.CFrame = cframe
1183
	local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1184
	game:GetService("Debris"):AddItem(prt, 10)
1185
	table.insert(Effects, {
1186
		prt,
1187
		"Cylinder",
1188
		delay,
1189
		x3,
1190
		y3,
1191
		z3,
1192
		msh
1193
	})
1194
end
1195
1196
function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1197
	local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1198
	prt.Anchored = true
1199
	prt.CFrame = cframe
1200
	local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1201
	game:GetService("Debris"):AddItem(prt, 10)
1202
	table.insert(Effects, {
1203
		prt,
1204
		"Cylinder",
1205
		delay,
1206
		x3,
1207
		y3,
1208
		z3,
1209
		msh
1210
	})
1211
end
1212
1213
function BreakEffect(brickcolor, cframe, x1, y1, z1)
1214
	local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1215
	prt.Anchored = true
1216
	prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1217
	local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1218
	local num = math.random(10, 50) / 1000
1219
	game:GetService("Debris"):AddItem(prt, 10)
1220
	table.insert(Effects, {
1221
		prt,
1222
		"Shatter",
1223
		num,
1224
		prt.CFrame,
1225
		math.random() - math.random(),
1226
		0,
1227
		math.random(50, 100) / 100
1228
	})
1229
end
1230
                                                             --[[ V = The CFraming of the part]]--
1231
--[[EXAMPLE: ExampleWeld.C0 = clerp(ExampleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) ]]--
1232
                                                                                                  --[[ ^ = The Rotations of the part]]--
1233
1234
--[[Attack Function]]--
1235
1236
1237
local walkforw = false
1238
spread=0
1239
range=100
1240
rangepower=25
1241
function shoottrail3(mouse,baseprt)
1242
coroutine.resume(coroutine.create(function(v) 
1243
local spreadvector = (Vector3.new(math.random(-spread,spread),math.random(-spread,spread),math.random(-spread,spread))) * (baseprt.Position-mouse.Hit.p).magnitude/100
1244
local dir = CFrame.new((baseprt.Position+mouse.Hit.p)/2,mouse.Hit.p+spreadvector)
1245
local hit,pos = rayCast(baseprt.Position,dir.lookVector,10,Character)
1246
local rangepos = range*50
1247
local function drawtrail(From,To)
1248
local effectsmsh = Instance.new("SpecialMesh")
1249
effectsmsh.Scale = Vector3.new(1,1,1)
1250
effectsmsh.Name = "Mesh"
1251
effectsmsh.MeshType = "FileMesh"
1252
effectsmsh.MeshId="http://www.roblox.com/asset/?id=10146028"
1253
effectsmsh.Scale=Vector3.new(5,5,5)
1254
local effectsg = Instance.new("Part")
1255
effectsg.formFactor = 3
1256
effectsg.CanCollide = false
1257
effectsg.Name = "Eff"
1258
effectsg.Locked = true
1259
effectsg.Anchored = true
1260
effectsg.Size = Vector3.new(0.2,0.2,0.2)
1261
effectsg.Parent = effect
1262
effectsmsh.Parent = effectsg
1263
effectsg.BrickColor = BrickColor.new("Really red")
1264
effectsg.Reflectance = 0.25
1265
local LP = From
1266
local point1 = To
1267
local mg = (LP - point1).magnitude
1268
1269
effectsmsh.Scale = Vector3.new(.1,.1,.1)
1270
effectsg.CFrame = CFrame.new((LP+point1)/2,point1) * CFrame.Angles(math.rad(-90),0,0)
1271
coroutine.resume(coroutine.create(function()
1272
swait()
1273
CylinderEffect(BrickColor.new(ElementPrt.BrickColor.Color), effectsg.CFrame, 2, 5, 2, .5, .5, .5, 0.1)
1274
effectsg.Parent = nil 
1275
end))
1276
end
1277
local newpos = baseprt.Position
1278
local inc = rangepower/10
1279
repeat
1280
swait() 
1281
rangepos = rangepos - 10
1282
--dir = dir * CFrame.Angles(math.rad(-1),0,0)
1283
hit,pos = rayCast(newpos,dir.lookVector,inc,Character)
1284
drawtrail(newpos,pos)
1285
	local list = effect:children()
1286
	local torso = nil
1287
	local dist = 30
1288
	local temp = nil
1289
	local human = nil
1290
	local temp2 = nil
1291
	for x = 1, #list do
1292
		temp2 = list[x]
1293
		if (temp2.className == "Model") and (temp2.Name~=Character.Name) then
1294
			temp = temp2:findFirstChild("Torso")
1295
			human = temp2:findFirstChild("Humanoid")
1296
			if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
1297
				if (temp.Position - pos).magnitude < dist then
1298
					torso = temp
1299
					dist = (temp.Position - pos).magnitude
1300
				end
1301
			end
1302
		end
1303
	end
1304
if torso~=nil then
1305
dir=CFrame.new(pos,torso.Position)
1306
end
1307
newpos = newpos + (dir.lookVector * inc)
1308
if hit ~= nil then
1309
rangepos = 0
1310
if hit.Parent:FindFirstChild("Humanoid") ~= nil then
1311
hum = hit.Parent.Humanoid
1312
tTorso=hit.Parent.Torso
1313
--Damagefunc1(hit,20,30)
1314
MagniDamage(hit,10,10,15,0,"Knockdown")
1315
attackdebounce=false
1316
--ADmg(hum,hit)
1317
elseif hit.Parent.Parent ~= nil and hit.Parent.Parent:FindFirstChild("Humanoid") ~= nil then
1318
hum = hit.Parent.Parent.Humanoid
1319
tTorso=hit.Parent.Parent.Torso
1320
MagniDamage(hit.Parent.Parent.Torso,10,10,15,0,"Up")
1321
--Damagefunc1(hit.Parent.Parent.Torso,20,30)
1322
attackdebounce=false
1323
--ADmg(hum,hit)
1324
end
1325
	for i=1,math.random(3,6) do
1326
	BreakEffect(BrickColor.new("Really red"),CFrame.new(newpos),0.5,math.random(5,20),0.5)
1327
	end
1328
	CreateSound("http://roblox.com/asset/?id=3264793",hit,1,math.random()+math.random()+1) 
1329
SphereEffect(BrickColor.new("Bright red"),CFrame.new(newpos),2,2,2,3,3,3,.07)
1330
BlockEffect(BrickColor.new("Br. yellowish orange"),CFrame.new(newpos),2,2,2,2,2,2,.07,1)
1331
end
1332
until rangepos <= 0
1333
end))
1334
end
1335
1336
function Shoot(asd, spread1, spread2)
1337
	local MainPos = asd.Position
1338
	local MainPos2 = mouse.Hit.p
1339
	local spread = Vector3.new((math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2) * (asd.Position - mouse.Hit.p).magnitude / 100
1340
	local MouseLook = cn((MainPos + MainPos2) / 2, MainPos2 + spread)
1341
	num = 50
1342
	coroutine.resume(coroutine.create(function(Spreaded) 
1343
		repeat
1344
			swait()
1345
			local hit, pos = rayCast(MainPos, MouseLook.lookVector, 50, RootPart.Parent)
1346
			local TheHit = mouse.Hit.p
1347
			local mag = (MainPos - pos).magnitude 
1348
			CylinderEffect(BrickColor.new(ElementPrt.BrickColor.Color), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 3, mag * 5, 3, .5, 0, 1.5, 0.1)
1349
			MainPos = MainPos + (MouseLook.lookVector * 50)
1350
			num = num - 1
1351
			if hit ~= nil then
1352
				num = 0
1353
				--damage(hit.Parent:WaitForChild("Torso"), math.random(5,8), math.random(8,10), 5, 1, RootPart)
1354
					Damagefunc(hit, hit, 8, 15, 0, "Normal", RootPart, 0, "rbxassetid://199149221", .8)
1355
              --  Damage(hit, math.random(5,8), math.random(8,8), BrickColor.new("Navy blue").Color, BrickColor.new("Really black").Color, "", 1)
1356
			end
1357
		until num <= 0
1358
	end))
1359
end
1360
1361
function SonicShoot(asd, spread1, spread2)
1362
	local MainPos = asd.Position
1363
	local MainPos2 = mouse.Hit.p
1364
	local spread = Vector3.new((math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2) * (asd.Position - mouse.Hit.p).magnitude / 100
1365
	local MouseLook = cn((MainPos + MainPos2) / 2, MainPos2 + spread)
1366
	num = 50
1367
	coroutine.resume(coroutine.create(function(Spreaded) 
1368
		repeat
1369
			swait()
1370
			local hit, pos = rayCast(MainPos, MouseLook.lookVector, 50, RootPart.Parent)
1371
			local TheHit = mouse.Hit.p
1372
			local mag = (MainPos - pos).magnitude 
1373
			RingEffect(BrickColor.new(ElementPrt.BrickColor.Color), CFrame.new((MainPos + pos) / 2, pos) * angles(0, 0, 0), 3, 3, 0, 1, 1, 0, 0.1)
1374
			CylinderEffect(BrickColor.new(ElementPrt.BrickColor.Color), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 3, mag * 5, 3, .5, 0, 1.5, 0.1)
1375
			MainPos = MainPos + (MouseLook.lookVector * 50)
1376
			num = num - 1
1377
			if hit ~= nil then
1378
				num = 0
1379
				--damage(hit.Parent:WaitForChild("Torso"), math.random(5,8), math.random(8,10), 5, 1, RootPart)
1380
					Damagefunc(hit, hit, 15, 20, math.random(10, 15), "Knockdown", RootPart, .2, "rbxassetid://199149221", .8)
1381
              --  Damage(hit, math.random(5,8), math.random(8,8), BrickColor.new("Navy blue").Color, BrickColor.new("Really black").Color, "", 1)
1382
			end
1383
		until num <= 0
1384
	end))
1385
end
1386
1387
function HealShoot(asd, spread1, spread2)
1388
	local MainPos = asd.Position
1389
	local MainPos2 = mouse.Hit.p
1390
	local spread = Vector3.new((math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2) * (asd.Position - mouse.Hit.p).magnitude / 100
1391
	local MouseLook = cn((MainPos + MainPos2) / 2, MainPos2 + spread)
1392
	num = 50
1393
	coroutine.resume(coroutine.create(function(Spreaded) 
1394
		repeat
1395
			swait()
1396
			local hit, pos = rayCast(MainPos, MouseLook.lookVector, 50, RootPart.Parent)
1397
			local TheHit = mouse.Hit.p
1398
			local mag = (MainPos - pos).magnitude 
1399
			CylinderEffect(BrickColor.new("Medium green"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 3, mag * 5, 3, .5, 0, 1.5, 0.1)
1400
			MainPos = MainPos + (MouseLook.lookVector * 50)
1401
			num = num - 1
1402
			if hit ~= nil then
1403
				num = 0
1404
				--damage(hit.Parent:WaitForChild("Torso"), math.random(5,8), math.random(8,10), 5, 1, RootPart)
1405
					Damagefunc(hit, hit, -25, -15, 0, "Normal", RootPart, .2, "rbxassetid://199149221", .8)
1406
              --  Damage(hit, math.random(-35,-30), math.random(-25,-25), BrickColor.new("Bright green").Color, BrickColor.new("White").Color, "", 1)
1407
			end
1408
		until num <= 0
1409
	end))
1410
end
1411
1412
function AirDash()
1413
	attack = true
1414
	gyro.Parent = nil
1415
	local AntiJump = Humanoid.Changed:connect(function()
1416
		Humanoid.Jump = false
1417
	end)
1418
	RootPart.Velocity = RootPart.CFrame.lookVector * 120
1419
	for i = 0, 1, 0.13 do
1420
		swait()
1421
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -.1) * angles(math.rad(40), math.rad(0), math.rad(0)), .3)
1422
		Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), .3)
1423
		RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(20), math.rad(50), math.rad(-2)), .3)
1424
		LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.5, -.5) * angles(math.rad(0), math.rad(-140), math.rad(-50)), .3)
1425
		RH.C0 = clerp(RH.C0, cn(1, -.8, -.3) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(-70)), .2)
1426
		LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(50)), .2)
1427
		FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
1428
		BoltPrtWeld.C0 = clerp(BoltPrtWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
1429
	end
1430
	local hitfloor = nil
1431
	while hitfloor == nil do
1432
		swait()
1433
		hitfloor, posfloor = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 6, Character)
1434
	end
1435
	for i = 0, 1, 0.1 do
1436
		swait()
1437
		RootPart.Velocity = RootPart.CFrame.lookVector * 50
1438
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -1.3) * angles(6 * i, math.rad(0), math.rad(0)), .3)
1439
		Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
1440
		RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(20), math.rad(50), math.rad(-2)), .3)
1441
		LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.5, -.5) * angles(math.rad(0), math.rad(-140), math.rad(-50)), .3)
1442
		RH.C0 = clerp(RH.C0, cn(1, 0, -1) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(-20)), .2)
1443
		LH.C0 = clerp(LH.C0, cn(-1, 0, -1) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), .2)
1444
		FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
1445
		BoltPrtWeld.C0 = clerp(BoltPrtWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
1446
	end
1447
	AntiJump:disconnect()
1448
	gyro.Parent = RootPart
1449
	attack = false
1450
end
1451
1452
function R0LL()
1453
	attack = true
1454
	gyro.Parent = nil
1455
	local AntiJump = Humanoid.Changed:connect(function()
1456
		Humanoid.Jump = false
1457
	end)
1458
	for i = 0, 1, 0.1 do
1459
		swait()
1460
		RootPart.Velocity = RootPart.CFrame.lookVector * 50
1461
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -1.3) * angles(6 * i, math.rad(0), math.rad(0)), .3)
1462
		Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
1463
		RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(20), math.rad(50), math.rad(-2)), .3)
1464
		LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.5, -.5) * angles(math.rad(0), math.rad(-140), math.rad(-50)), .3)
1465
		RH.C0 = clerp(RH.C0, cn(1, 0, -1) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(-20)), .2)
1466
		LH.C0 = clerp(LH.C0, cn(-1, 0, -1) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), .2)
1467
		FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
1468
		BoltPrtWeld.C0 = clerp(BoltPrtWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
1469
	end
1470
	AntiJump:disconnect()
1471
	gyro.Parent = RootPart
1472
	attack = false
1473
end
1474
1475
function Fire()
1476
	attack = true
1477
	local AntiJump = Humanoid.Changed:connect(function()
1478
		Humanoid.Jump = false
1479
	end)
1480
	if shot=="Normal" then
1481
		CreateSound("http://www.roblox.com/asset/?id=385470847", Barrel, 1, 1)
1482
	Shoot(Barrel, .5, .5)
1483
	elseif shot=="Heal" and mana>=10 then
1484
		CreateSound("http://www.roblox.com/asset/?id=384105511", Barrel, 1, 1)
1485
		mana=mana-10
1486
	HealShoot(Barrel, 0, 0)
1487
	elseif shot=="Missle" and mana>=15 then
1488
		CreateSound("http://www.roblox.com/asset/?id=133227923", Barrel, 1, 1)
1489
		mana=mana-15
1490
	shoottrail3(mouse,Barrel)
1491
	elseif shot=="Sonic" and mana>=20 then
1492
		CreateSound("http://www.roblox.com/asset/?id=240799315", Barrel, 1, 1)
1493
		mana=mana-20
1494
	SonicShoot(Barrel,0,0)
1495
	elseif shot=="Shotgun" and mana>=25 then
1496
		CreateSound("http://www.roblox.com/asset/?id=385470847", Barrel, 1, .8)
1497
		mana=mana-25
1498
		for i = 0,math.random(3,5) do
1499
	Shoot(Barrel,1,1)
1500
	end
1501
	end
1502
	for i = 0, 1, 0.17 do
1503
		swait()
1504
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -.1) * angles(math.rad(0), math.rad(0), math.rad(-50)), .3)
1505
		Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .3)
1506
		RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(0), math.rad(30), math.rad(10)), .7)
1507
		LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -.3) * angles(math.rad(0), math.rad(-150), math.rad(-90)), .7)
1508
		FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-30), math.rad(-20), math.rad(20)), .7)
1509
		BoltPrtWeld.C0 = clerp(BoltPrtWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
1510
		if Torsovelocity > 2 then
1511
			if walkforw == true then
1512
				RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-3), math.rad(30), math.rad(40)), .2)
1513
				LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-3), math.rad(30), math.rad(40)), .2)
1514
			else
1515
				RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(3), math.rad(30), math.rad(-40)), .2)
1516
				LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(3), math.rad(30), math.rad(-40)), .2)
1517
			end
1518
		end
1519
	end
1520
	for i = 0, 1, 0.5 do
1521
		swait()
1522
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -.1) * angles(math.rad(0), math.rad(0), math.rad(-50)), .3)
1523
		Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .3)
1524
		RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(20), math.rad(50), math.rad(-2)), .3)
1525
		LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.5, -.5) * angles(math.rad(0), math.rad(-140), math.rad(-50)), .3)
1526
		FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(13), math.rad(0), math.rad(0)), .3)
1527
		BoltPrtWeld.C0 = clerp(BoltPrtWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
1528
		if Torsovelocity > 2 then
1529
			if walkforw == true then
1530
				RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-3), math.rad(30), math.rad(40)), .2)
1531
				LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-3), math.rad(30), math.rad(40)), .2)
1532
			else
1533
				RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(3), math.rad(30), math.rad(-40)), .2)
1534
				LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(3), math.rad(30), math.rad(-40)), .2)
1535
			end
1536
		end
1537
	end
1538
	AntiJump:disconnect()
1539
	attack = false
1540
end
1541
1542
function Escape()
1543
	attack = true
1544
	local AntiJump = Humanoid.Changed:connect(function()
1545
		Humanoid.Jump = false
1546
	end)
1547
	for i = 0, 1, 0.1 do
1548
		swait()
1549
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -.1) * angles(math.rad(0), math.rad(0), math.rad(-50)), .3)
1550
		Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(30), math.rad(0), math.rad(50)), .3)
1551
		RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(0), math.rad(30), math.rad(100)), .7)
1552
		LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -.3) * angles(math.rad(0), math.rad(-150), math.rad(-90)), .7)
1553
		FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-30), math.rad(-20), math.rad(20)), .7)
1554
		BoltPrtWeld.C0 = clerp(BoltPrtWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
1555
		if Torsovelocity > 2 then
1556
			if walkforw == true then
1557
				RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-3), math.rad(30), math.rad(100)), .2)
1558
				LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-3), math.rad(30), math.rad(50)), .2)
1559
			else
1560
				RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(3), math.rad(30), math.rad(-50)), .2)
1561
				LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(3), math.rad(30), math.rad(-50)), .2)
1562
			end
1563
		end
1564
	end
1565
	CreateSound("http://www.roblox.com/asset/?id=288233304", Barrel, 1, .8)
1566
	MagniDamage(Barrel,10,10,15,10,"Knockdown")
1567
	SphereEffect(BrickColor.new("Bright blue"),Barrel.CFrame,15,15,15,5,5,5,.05)
1568
	WaveEffect(BrickColor.new("Bright blue"),Barrel.CFrame,1,1,1,2,2,2,.07)
1569
	Humanoid.JumpPower=100
1570
	Humanoid.Jump=true
1571
	Torso.Velocity=Head.CFrame.lookVector*-200
1572
	for i = 0, 1, 0.1 do
1573
		swait()
1574
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -.1) * angles(math.rad(0), math.rad(0), math.rad(-50)), .3)
1575
		Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .3)
1576
		RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(20), math.rad(50), math.rad(-2)), .3)
1577
		LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.5, -.5) * angles(math.rad(0), math.rad(-140), math.rad(-50)), .3)
1578
		FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(13), math.rad(0), math.rad(0)), .3)
1579
		BoltPrtWeld.C0 = clerp(BoltPrtWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
1580
		if Torsovelocity > 2 then
1581
			if walkforw == true then
1582
				RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-3), math.rad(30), math.rad(40)), .2)
1583
				LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-3), math.rad(30), math.rad(40)), .2)
1584
			else
1585
				RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(3), math.rad(30), math.rad(-40)), .2)
1586
				LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(3), math.rad(30), math.rad(-40)), .2)
1587
			end
1588
		end
1589
	end
1590
	Humanoid.JumpPower=10
1591
	AntiJump:disconnect()
1592
	attack = false
1593
end
1594
1595
function changeitemleft() 
1596
if Number > 1 then 
1597
Number = Number - 1 
1598
shot = Item[Number] 
1599
end 
1600
end 
1601
1602
function changeitemright() 
1603
if Number < #Item then 
1604
Number = Number + 1 
1605
shot = Item[Number] 
1606
end 
1607
end 
1608
1609
function updateskills()
1610
	if Stamina <= maxStamina then
1611
		Stamina = Stamina + recoverStamina / 30
1612
		if Stamina >= maxStamina then
1613
			Stamina = 100
1614
		end
1615
	end
1616
end
1617
function updatemana()
1618
if mana <= MaxMana then
1619
		mana = mana + recoverMana / 30
1620
		if mana >= MaxMana then
1621
			mana = 100
1622
		end
1623
end
1624
end
1625
1626
--[[Attacks]]--
1627
function ob1u()
1628
end
1629
function ob1d()
1630
	if attack == false and Humanoid.Jump == false then
1631
		Fire()
1632
	end
1633
end
1634
1635
function key(ip,g)
1636
	local k = ip.KeyCode
1637
	if g == false then
1638
		if attack == false and k == Enum.KeyCode.Space and Anim == "Jump" and Stamina >= 70 then
1639
			Stamina = Stamina - 70
1640
			
1641
			AirDash()
1642
		elseif attack == false and k == Enum.KeyCode.Z and Humanoid.Jump == false and Stamina >= 40 and zenabled ==true then
1643
			Stamina = 0
1644
						zenabled=false
1645
											coroutine.resume(coroutine.create(function()
1646
	for i=1,0,-0.05 do
1647
	swait()
1648
	fenframe1a.Size=UDim2.new(0.05*i,0,0.1,0)
1649
	end
1650
	zenabled=true
1651
	fenframe1a.Size=UDim2.new(0,0,0.1,0)
1652
	end))
1653
			R0LL()
1654
				elseif attack == false and k == Enum.KeyCode.V and Humanoid.Jump == false and Stamina >= 40 and mana >= 40 and venabled ==true then
1655
			Stamina = Stamina - 40
1656
					mana = mana - 40
1657
					venabled=false
1658
						coroutine.resume(coroutine.create(function()
1659
	for i=1,0,-0.005 do
1660
	swait()
1661
	fenframe4a.Size=UDim2.new(0.05*i,0,0.1,0)
1662
	end
1663
	venabled=true
1664
	fenframe4a.Size=UDim2.new(0,0,0.1,0)
1665
	end))
1666
			Escape()
1667
		elseif k == Enum.KeyCode.X then 
1668
			changeitemleft() 
1669
		elseif k == Enum.KeyCode.C then 
1670
			changeitemright() 
1671
		end
1672
	end
1673
end
1674
1675
1676
Bin=script.Parent	
1677
	
1678
	function ds(mouse) 
1679
end 
1680
1681
function s(mouse) 
1682
	print("Selected")
1683
	mouse.Button1Down:connect(function() ob1d(mouse) end) 
1684
	mouse.Button1Up:connect(function() ob1u(mouse) end) 
1685
	game:GetService("UserInputService").InputBegan:connect(key) 
1686
1687
end 
1688
1689
s(Player:GetMouse())
1690
1691
1692
--[[Movement Detection]]--
1693
1694
local walk = 0
1695
1696
while true do
1697
	swait()
1698
	updatemana()
1699
	updateskills()
1700
	Staminacover:TweenSize(ud(1 * (Stamina / maxStamina), 0, 1, 0), 'Out', 'Quad', .5)
1701
	fenbarmana2:TweenSize(ud(4 * (mana / MaxMana), 0, .2, 0), 'Out', 'Quad', .5)
1702
		--fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true)
1703
	gyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p -RootPart.CFrame.p).unit * 100)
1704
	for i, v in pairs(Character:GetChildren()) do
1705
		if v:IsA("Part") then
1706
			v.Material = "SmoothPlastic"
1707
		elseif v:IsA("Accessory") then
1708
			v:WaitForChild("Handle").Material = "SmoothPlastic"
1709
		end
1710
	end
1711
	walk = walk + 1.2
1712
	if walk >= 15 - (5 * (Humanoid.WalkSpeed / 16)) then
1713
		walk = 0
1714
		if walkforw == true then
1715
			walkforw = false
1716
		elseif walkforw == false then
1717
			walkforw = true
1718
		end
1719
	end
1720
	Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
1721
	velocity = RootPart.Velocity
1722
	sine = sine + change
1723
	local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
1724
	if equipped == true or equipped == false then
1725
		if RootPart.Velocity.y > 1 and hit == nil then 
1726
			Anim = "Jump"
1727
			if attack == false then
1728
				gyro.Parent=Character
1729
				RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.05 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
1730
				Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .3)
1731
				RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5 - 0.1 * math.cos(sine / 25), -.5) * angles(math.rad(60), math.rad(50), math.rad(-2)), .3)
1732
				LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.5 - 0.1 * math.cos(sine / 25), -.5) * angles(math.rad(0), math.rad(-140), math.rad(-90)), .3)
1733
				RH.C0 = clerp(RH.C0, cn(1, -.9 - 0.05 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(-30)), .3)
1734
				LH.C0 = clerp(LH.C0, cn(-1, -.9 - 0.05 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(10)), .3)
1735
				FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(13), math.rad(0), math.rad(0)), .3)
1736
				BoltPrtWeld.C0 = clerp(BoltPrtWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
1737
			end
1738
		elseif RootPart.Velocity.y < -1 and hit == nil then 
1739
			Anim = "Fall"
1740
			if attack == false then
1741
				gyro.Parent=Character
1742
				RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.05 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
1743
				Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .3)
1744
				RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5 - 0.1 * math.cos(sine / 25), -.5) * angles(math.rad(90), math.rad(50), math.rad(-2)), .3)
1745
				LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.5 - 0.1 * math.cos(sine / 25), -.5) * angles(math.rad(0), math.rad(-140), math.rad(-130)), .3)
1746
				RH.C0 = clerp(RH.C0, cn(1, -.9 - 0.05 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(30)), .3)
1747
				LH.C0 = clerp(LH.C0, cn(-1, -.9 - 0.05 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(-20)), .3)
1748
				FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(13), math.rad(0), math.rad(0)), .3)
1749
				BoltPrtWeld.C0 = clerp(BoltPrtWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
1750
			end
1751
		elseif Torsovelocity < 1 and hit ~= nil then
1752
			Anim = "Idle"
1753
			if attack == false then
1754
				change = 1
1755
				gyro.Parent=RootPart
1756
				RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.05 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(-50)), .3)
1757
				Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(1 - 3 * math.cos(sine / 26)), math.rad(1 - 3 * math.cos(sine / 26)), math.rad(50)), .3)
1758
				RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5 - 0.1 * math.cos(sine / 25), -.5) * angles(math.rad(20), math.rad(50), math.rad(-2)), .3)
1759
				LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.5 - 0.1 * math.cos(sine / 25), -.5) * angles(math.rad(0), math.rad(-140), math.rad(-50)), .3)
1760
				RH.C0 = clerp(RH.C0, cn(1, -.9 - 0.05 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-3 - 1 * math.cos(sine / 25)), math.rad(30), math.rad(-3)), .3)
1761
				LH.C0 = clerp(LH.C0, cn(-1, -.9 - 0.05 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-3 - 1 * math.cos(sine / 25)), math.rad(30), math.rad(0)), .3)
1762
				FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(13), math.rad(0), math.rad(0)), .3)
1763
				BoltPrtWeld.C0 = clerp(BoltPrtWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
1764
			end
1765
		elseif Torsovelocity > 2 and hit ~= nil then
1766
			Anim = "Walk"
1767
			if attack == false then
1768
	gyro.Parent=RootPart
1769
				RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(-50)), .3)
1770
				Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(1 - 3 * math.cos(sine / 26)), math.rad(1 - 3 * math.cos(sine / 26)), math.rad(50)), .3)
1771
				RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5 - 0.08 * math.cos(sine / 25), -.5) * angles(math.rad(20), math.rad(50), math.rad(-2)), .3)
1772
				LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.5 - 0.08 * math.cos(sine / 25), -.5) * angles(math.rad(0), math.rad(-140), math.rad(-50)), .3)
1773
				FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(13), math.rad(0), math.rad(0)), .3)
1774
				BoltPrtWeld.C0 = clerp(BoltPrtWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
1775
				if walkforw == true then
1776
					RH.C0 = clerp(RH.C0, cn(1, -.9 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-3), math.rad(30), math.rad(40)), .2)
1777
					LH.C0 = clerp(LH.C0, cn(-1, -.9 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-3), math.rad(30), math.rad(40)), .2)
1778
				else
1779
					RH.C0 = clerp(RH.C0, cn(1, -.9 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(3), math.rad(30), math.rad(-40)), .2)
1780
					LH.C0 = clerp(LH.C0, cn(-1, -.9 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(3), math.rad(30), math.rad(-40)), .2)
1781
				end
1782
			end
1783
		end
1784
	end
1785
	if #Effects > 0 then
1786
		for e = 1, #Effects do
1787
			if Effects[e] ~= nil then
1788
				local Thing = Effects[e]
1789
				if Thing ~= nil then
1790
					local Part = Thing[1]
1791
					local Mode = Thing[2]
1792
					local Delay = Thing[3]
1793
					local IncX = Thing[4]
1794
					local IncY = Thing[5]
1795
					local IncZ = Thing[6]
1796
					if Thing[1].Transparency <= 1 then
1797
						if Thing[2] == "Block1" then
1798
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1799
							Mesh = Thing[1].Mesh
1800
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1801
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1802
						elseif Thing[2] == "Block2" then
1803
							Thing[1].CFrame = Thing[1].CFrame
1804
							Mesh = Thing[7]
1805
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1806
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1807
						elseif Thing[2] == "Cylinder" then
1808
							Mesh = Thing[1].Mesh
1809
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1810
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1811
						elseif Thing[2] == "Blood" then
1812
							Mesh = Thing[7]
1813
							Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0)
1814
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1815
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1816
						elseif Thing[2] == "Elec" then
1817
							Mesh = Thing[1].Mesh
1818
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
1819
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1820
						elseif Thing[2] == "Disappear" then
1821
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1822
						elseif Thing[2] == "Shatter" then
1823
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1824
							Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
1825
							Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
1826
							Thing[6] = Thing[6] + Thing[5]
1827
						end
1828
					else
1829
						Part.Parent = nil
1830
						table.remove(Effects, e)
1831
					end
1832
				end
1833
			end
1834
		end
1835
	end
1836
fenbarmana4.Text="["..shot.." Ammo]"
1837
end