View difference between Paste ID: PkjPzYRx and u21kFC5v
SHOW: | | - or go back to the newest paste.
1-
wait(0.016666666666667)
1+
-- This script has been converted to FE by iPxter
2
3-
local Player = game.Players.LocalPlayer
3+
4
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
5
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
6
do
7
	print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
8
	script.Parent = Player.Character
9
10
	--RemoteEvent for communicating
11
	local Event = Instance.new("RemoteEvent")
12
	Event.Name = "UserInput_Event"
13-
local mouse = Player:GetMouse()
13+
14
	--Fake event to make stuff like Mouse.KeyDown work
15
	local function fakeEvent()
16
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
17
		t.connect = t.Connect
18
		return t
19
	end
20
21
	--Creating fake input objects with fake variables
22
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
23
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
24
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
25
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
26
	end}
27
	--Merged 2 functions into one by checking amount of arguments
28
	CAS.UnbindAction = CAS.BindAction
29
30
	--This function will trigger the events that have been :Connect()'ed
31
	local function te(self,ev,...)
32
		local t = m[ev]
33
		if t and t._fakeEvent and t.Function then
34
			t.Function(...)
35
		end
36
	end
37
	m.TrigEvent = te
38
	UIS.TrigEvent = te
39
40
	Event.OnServerEvent:Connect(function(plr,io)
41
	    if plr~=Player then return end
42
		if io.isMouse then
43
			m.Target = io.Target
44
			m.Hit = io.Hit
45
		else
46
			local b = io.UserInputState == Enum.UserInputState.Begin
47
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
48
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
49
			end
50
			for _,t in pairs(CAS.Actions) do
51
				for _,k in pairs(t.Keys) do
52
					if k==io.KeyCode then
53
						t.Function(t.Name,io.UserInputState,io)
54
					end
55
				end
56
			end
57
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
58
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
59
	    end
60
	end)
61
	Event.Parent = NLS([==[
62
	local Player = game:GetService("Players").LocalPlayer
63
	local Event = script:WaitForChild("UserInput_Event")
64
65
	local UIS = game:GetService("UserInputService")
66
	local input = function(io,a)
67
		if a then return end
68
		--Since InputObject is a client-side instance, we create and pass table instead
69
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
70
	end
71
	UIS.InputBegan:Connect(input)
72
	UIS.InputEnded:Connect(input)
73
74
	local Mouse = Player:GetMouse()
75
	local h,t
76
	--Give the server mouse data 30 times every second, but only if the values changed
77
	--If player is not moving their mouse, client won't fire events
78
	while wait(1/30) do
79
		if h~=Mouse.Hit or t~=Mouse.Target then
80
			h,t=Mouse.Hit,Mouse.Target
81
			Event:FireServer({isMouse=true,Target=t,Hit=h})
82
		end
83
	end]==],Player.Character)
84
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
85
end
86
wait(0.0000000000020)
87
script.Name = "Chaos"
88
local Player = owner
89
repeat
90
  wait()
91
until Player
92
local Character = Player.Character
93
repeat
94
  wait()
95
until Character
96
local Effects = {}
97
local Humanoid = Character.Humanoid
98
local m = Instance.new("Model", Character)
99
m.Name = "WeaponModel"
100
local LeftArm = Character["Left Arm"]
101
local RightArm = Character["Right Arm"]
102
local LeftLeg = Character["Left Leg"]
103
local RightLeg = Character["Right Leg"]
104
local Head = Character.Head
105
local Torso = Character.Torso
106
local cam = game.Workspace.CurrentCamera
107
local RootPart = Character.HumanoidRootPart
108
local RootJoint = RootPart.RootJoint
109
local equipped = false
110
local attack = false
111
local Anim = "Idle"
112
local idle = 0
113
local attacktype = 1
114
local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
115
local velocity = RootPart.Velocity.y
116
local sine = 0
117
local change = 1
118
local grabbed = false
119
local cn = CFrame.new
120
local mr = math.rad
121
local angles = CFrame.Angles
122
local ud = UDim2.new
123
local c3 = Color3.new
124
Humanoid.Animator.Parent = nil
125
Character.Animate.Parent = nil
126
local newFakeMotor = function(part0, part1, c0, c1)
127
  local w = Instance.new("Motor", part0)
128
  w.Part0 = part0
129
  w.Part1 = part1
130
  w.C0 = c0
131
  w.C1 = c1
132
  return w
133
end
134
function clerp(a, b, t)
135
  return a:lerp(b, t)
136
end
137
RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
138
NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
139
local RW = newFakeMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
140
local LW = newFakeMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
141
local RH = newFakeMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
142
local LH = newFakeMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
143
RootJoint.C1 = CFrame.new(0, 0, 0)
144
RootJoint.C0 = CFrame.new(0, 0, 0)
145
Torso.Neck.C1 = CFrame.new(0, 0, 0)
146
Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
147
local rarmc1 = RW.C1
148
local larmc1 = LW.C1
149
local rlegc1 = RH.C1
150
local llegc1 = LH.C1
151
local resetc1 = false
152
function PlayAnimationFromTable(table, speed, bool)
153
  RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
154
  Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
155
  RW.C0 = clerp(RW.C0, table[3], speed)
156
  LW.C0 = clerp(LW.C0, table[4], speed)
157
  RH.C0 = clerp(RH.C0, table[5], speed)
158
  LH.C0 = clerp(LH.C0, table[6], speed)
159
  if bool == true and resetc1 == false then
160
    resetc1 = true
161
    RootJoint.C1 = RootJoint.C1
162
    Torso.Neck.C1 = Torso.Neck.C1
163
    RW.C1 = rarmc1
164
    LW.C1 = larmc1
165
    RH.C1 = rlegc1
166
    LH.C1 = llegc1
167
  end
168
end
169
ArtificialHB = Instance.new("BindableEvent", Player.PlayerGui)
170
ArtificialHB.Name = "Heartbeat"
171
Player.PlayerGui:WaitForChild("Heartbeat")
172
frame = 0.033333333333333
173
tf = 0
174
allowframeloss = false
175
tossremainder = false
176
lastframe = tick()
177
Player.PlayerGui.Heartbeat:Fire()
178
local gg = false
179
game:GetService("RunService").Heartbeat:connect(function(s, p)
180
  if Player.PlayerGui:FindFirstChild("Heartbeat") == nil then
181
    gg = true
182
  end
183
  if gg == true then
184
    return
185
  end
186
  tf = tf + s
187
  if frame <= tf then
188
    if allowframeloss then
189
      Player.PlayerGui.Heartbeat:Fire()
190
      lastframe = tick()
191
    else
192
      for i = 1, math.floor(tf / frame) do
193
        Player.PlayerGui.Heartbeat:Fire()
194
      end
195
      lastframe = tick()
196
    end
197
    if tossremainder then
198
      tf = 0
199
    else
200
      tf = tf - frame * math.floor(tf / frame)
201
    end
202
  end
203
end)
204
function swait(num)
205
  if num == 0 or num == nil then
206
    ArtificialHB.Event:wait()
207
  else
208
    for i = 0, num do
209
      ArtificialHB.Event:wait()
210
    end
211
  end
212
end
213
local RbxUtility = LoadLibrary("RbxUtility")
214
local Create = RbxUtility.Create
215
function RemoveOutlines(part)
216
  part.TopSurface = 10
217
end
218
local co1 = 200
219
local co2 = 20
220
local co3 = 60
221
local co4 = 40
222
local cooldown1 = 200
223
local cooldown2 = 0
224
local cooldown3 = 0
225
local cooldown4 = 0
226
local skillcolorscheme = BrickColor.new("Bright yellow").Color
227
local scrn = Instance.new("ScreenGui", Player.PlayerGui)
228
function makeframe(par, trans, pos, size, color)
229
  local frame = Instance.new("Frame", par)
230
  frame.BackgroundTransparency = trans
231
  frame.BorderSizePixel = 0
232
  frame.Position = pos
233
  frame.Size = size
234
  frame.BackgroundColor3 = color
235
  return frame
236
end
237
function makelabel(par, text)
238
  local label = Instance.new("TextLabel", par)
239
  label.BackgroundTransparency = 1
240
  label.Size = UDim2.new(1, 0, 1, 0)
241
  label.Position = UDim2.new(0, 0, 0, 0)
242
  label.TextColor3 = Color3.new(255, 255, 255)
243
  label.TextStrokeTransparency = 0
244
  label.FontSize = Enum.FontSize.Size32
245
  label.Font = Enum.Font.SourceSansLight
246
  label.BorderSizePixel = 0
247
  label.TextScaled = true
248
  label.Text = text
249
end
250
framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
251
framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
252
framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
253
framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
254
bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
255
bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
256
bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
257
bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
258
text1 = Instance.new("TextLabel", framesk1)
259
text1.BackgroundTransparency = 1
260
text1.Size = UDim2.new(1, 0, 1, 0)
261
text1.Position = UDim2.new(0, 0, 0, 0)
262
text1.TextColor3 = Color3.new(255, 255, 255)
263
text1.TextStrokeTransparency = 0
264
text1.FontSize = Enum.FontSize.Size18
265
text1.Font = Enum.Font.SourceSansLight
266
text1.BorderSizePixel = 0
267
text1.TextScaled = true
268
text1.Text = [[
269
[Z]
270
 N/A]]
271
text2 = Instance.new("TextLabel", framesk2)
272
text2.BackgroundTransparency = 1
273
text2.Size = UDim2.new(1, 0, 1, 0)
274
text2.Position = UDim2.new(0, 0, 0, 0)
275
text2.TextColor3 = Color3.new(255, 255, 255)
276
text2.TextStrokeTransparency = 0
277
text2.FontSize = Enum.FontSize.Size18
278
text2.Font = Enum.Font.SourceSansLight
279
text2.BorderSizePixel = 0
280
text2.TextScaled = true
281
text2.Text = [[
282
[X]
283
 Reload]]
284
text3 = Instance.new("TextLabel", framesk3)
285
text3.BackgroundTransparency = 1
286
text3.Size = UDim2.new(1, 0, 1, 0)
287
text3.Position = UDim2.new(0, 0, 0, 0)
288
text3.TextColor3 = Color3.new(255, 255, 255)
289
text3.TextStrokeTransparency = 0
290
text3.FontSize = Enum.FontSize.Size18
291
text3.Font = Enum.Font.SourceSansLight
292
text3.BorderSizePixel = 0
293
text3.TextScaled = false
294
text3.Text = [[
295
[C]
296
 Nuclear strike]]
297
text4 = Instance.new("TextLabel", framesk4)
298
text4.BackgroundTransparency = 1
299
text4.Size = UDim2.new(1, 0, 1, 0)
300
text4.Position = UDim2.new(0, 0, 0, 0)
301
text4.TextColor3 = Color3.new(255, 255, 255)
302
text4.TextStrokeTransparency = 0
303
text4.FontSize = Enum.FontSize.Size18
304
text4.Font = Enum.Font.SourceSansLight
305
text4.BorderSizePixel = 0
306
text4.TextScaled = true
307
text4.Text = [[
308
[V]
309
 Nuclear rain]]
310
function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
311
  local Part = Create("Part")({
312
    Parent = Parent,
313
    Reflectance = Reflectance,
314
    Transparency = Transparency,
315
    CanCollide = false,
316
    Locked = true,
317
    BrickColor = BrickColor.new(tostring(BColor)),
318
    Name = Name,
319
    Size = Size,
320
    Material = Material
321
  })
322
  RemoveOutlines(Part)
323
  return Part
324
end
325
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
326
  local Msh = Create(Mesh)({
327
    Parent = Part,
328
    Offset = OffSet,
329
    Scale = Scale
330
  })
331
  if Mesh == "SpecialMesh" then
332
    Msh.MeshType = MeshType
333
    Msh.MeshId = MeshId
334
  end
335
  return Msh
336
end
337
function CreateWeld(Parent, Part0, Part1, C0, C1)
338
  local Weld = Create("Weld")({
339
    Parent = Parent,
340
    Part0 = Part0,
341
    Part1 = Part1,
342
    C0 = C0,
343
    C1 = C1
344
  })
345
  return Weld
346
end
347
CFuncs = {
348
  Part = {
349
    Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
350
      local Part = Create("Part")({
351
        Parent = Parent,
352
        Reflectance = Reflectance,
353
        Transparency = Transparency,
354
        CanCollide = false,
355
        Locked = true,
356
        BrickColor = BrickColor.new(tostring(BColor)),
357
        Name = Name,
358
        Size = Size,
359
        Material = Material
360
      })
361
      RemoveOutlines(Part)
362
      return Part
363
    end
364
  },
365
  Mesh = {
366
    Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
367
      local Msh = Create(Mesh)({
368
        Parent = Part,
369
        Offset = OffSet,
370
        Scale = Scale
371
      })
372
      if Mesh == "SpecialMesh" then
373
        Msh.MeshType = MeshType
374
        Msh.MeshId = MeshId
375
      end
376
      return Msh
377
    end
378
  },
379
  Mesh = {
380
    Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
381
      local Msh = Create(Mesh)({
382
        Parent = Part,
383
        Offset = OffSet,
384
        Scale = Scale
385
      })
386
      if Mesh == "SpecialMesh" then
387
        Msh.MeshType = MeshType
388
        Msh.MeshId = MeshId
389
      end
390
      return Msh
391
    end
392
  },
393
  Weld = {
394
    Create = function(Parent, Part0, Part1, C0, C1)
395
      local Weld = Create("Weld")({
396
        Parent = Parent,
397
        Part0 = Part0,
398
        Part1 = Part1,
399
        C0 = C0,
400
        C1 = C1
401
      })
402
      return Weld
403
    end
404
  },
405
  Sound = {
406
    Create = function(id, par, vol, pit)
407
      coroutine.resume(coroutine.create(function()
408
        local S = Create("Sound")({
409
          Volume = vol,
410
          Pitch = pit or 1,
411
          SoundId = id,
412
          Parent = par or workspace
413
        })
414
        wait()
415
        S:play()
416
        game:GetService("Debris"):AddItem(S, 6)
417
      end))
418
    end
419
  },
420
  ParticleEmitter = {
421
    Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
422
      local fp = Create("ParticleEmitter")({
423
        Parent = Parent,
424
        Color = ColorSequence.new(Color1, Color2),
425
        LightEmission = LightEmission,
426
        Size = Size,
427
        Texture = Texture,
428
        Transparency = Transparency,
429
        ZOffset = ZOffset,
430
        Acceleration = Accel,
431
        Drag = Drag,
432
        LockedToPart = LockedToPart,
433
        VelocityInheritance = VelocityInheritance,
434
        EmissionDirection = EmissionDirection,
435
        Enabled = Enabled,
436
        Lifetime = LifeTime,
437
        Rate = Rate,
438
        Rotation = Rotation,
439
        RotSpeed = RotSpeed,
440
        Speed = Speed,
441
        VelocitySpread = VelocitySpread
442
      })
443
      return fp
444
    end
445
  }
446
}
447
Handle = CreatePart(m, Enum.Material.Metal, 0, 1, "Really black", "Handle", Vector3.new(0.200000003, 0.920000136, 0.200000003))
448
HandleWeld = CreateWeld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.262939453, -0.121995926, -0.965805054, 0.969704211, 0.236531034, 0.0610490143, -0.0425508283, -0.0825409442, 0.995678902, 0.240548, -0.968111455, -0.069975704))
449
CreateMesh("CylinderMesh", Handle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
450
FakeHandle = CreatePart(m, Enum.Material.Metal, 0, 1, "Really black", "FakeHandle", Vector3.new(0.200000003, 0.920000136, 0.200000003))
451
FakeHandleWeld = CreateWeld(m, Handle, FakeHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1.00000024, 0, 0, 0, 1, 1.86264515E-9, 0, 1.86264515E-9, 0.99999994))
452
CreateMesh("CylinderMesh", FakeHandle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
453
Barrel = CreatePart(m, Enum.Material.Metal, 0, 1, "Really black", "Barrel", Vector3.new(0.200000003, 0.310000002, 0.350000113))
454
BarrelWeld = CreateWeld(m, FakeHandle, Barrel, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.955901146, 7.17863464, -0.312942505, 0.241776183, 0.307871968, -0.920195222, -0.0349029154, 0.950475931, 0.308832437, 0.969704211, -0.0425508283, 0.240548))
455
CreateMesh("CylinderMesh", Barrel, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
456
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
457
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.53586674, 0.307937622, -6.66361237, -0.241776183, -0.307871968, 0.920195222, -0.969704211, 0.0425508283, -0.240548, 0.0349029154, -0.950475931, -0.308832437))
458
CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(2, 2, 5))
459
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.820000112, 0.200000003))
460
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.93361282, 0.0704040527, -0.0807228088, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084))
461
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
462
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(3.48000002, 0.200000003, 0.649999976))
463
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.0436306, 1.1287384, -1.56370544, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084))
464
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.600000024, 0.200000003))
465
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-6.68361092, 0.385857582, -0.317962646, 0.0349029228, -0.950475931, -0.308832467, 0.241776168, 0.307871938, -0.920195222, 0.969704211, -0.0425508283, 0.240548))
466
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(4.18000031, 0.200000003, 0.649999976))
467
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.49362373, 0.585878372, -0.317962646, 0.0349029228, -0.950475931, -0.308832467, 0.241776168, 0.307871938, -0.920195222, 0.969704211, -0.0425508283, 0.240548))
468
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.300000012, 0.200000003, 0.649999976))
469
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.55361938, 0.104698181, -1.16293335, 0.0349029228, -0.950475931, -0.308832467, 0.765577912, 0.224063158, -0.603064001, 0.642395854, -0.215386584, 0.735483646))
470
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(3.08000016, 0.200000003, 0.649999976))
471
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.743627548, -1.73353577, -1.36719513, 0.0349029228, -0.950475931, -0.308832467, 0.847531557, -0.135605425, 0.513129354, -0.529596448, -0.27965492, 0.800825119))
472
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(7.28000021, 0.200000003, 0.649999976))
473
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.94361877, 2.01470947, -1.16293335, 0.0349029228, -0.950475931, -0.308832467, 0.765577912, 0.224063158, -0.603064001, 0.642395854, -0.215386584, 0.735483646))
474
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(4.18000078, 0.200000003, 0.649999976))
475
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.49362373, -0.78125, -1.56369781, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084))
476
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(7.38000011, 0.200000003, 0.649999976))
477
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.89362717, 0.176452637, -1.36717987, 0.0349029228, -0.950475931, -0.308832467, 0.847531557, -0.135605425, 0.513129354, -0.529596448, -0.27965492, 0.800825119))
478
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(7.27999973, 0.200000003, 0.649999976))
479
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.94362259, -2.38845825, -0.648468018, 0.0349029228, -0.950475931, -0.308832467, 0.374378681, -0.274084091, 0.885843515, -0.926618993, -0.146538794, 0.346271485))
480
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.400000006, 0.200000003, 0.649999976))
481
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.60362244, -0.478485107, -0.648483276, 0.0349029228, -0.950475931, -0.308832467, 0.374378681, -0.274084091, 0.885843515, -0.926618993, -0.146538794, 0.346271485))
482
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.5, 0.649999976))
483
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.28361702, -1.58352661, -1.36719131, 0.0349029228, -0.950475931, -0.308832467, 0.847531557, -0.135605425, 0.513129354, -0.529596448, -0.27965492, 0.800825119))
484
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 1.10000002, 0.649999976))
485
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.50361824, -0.928466797, -0.648468018, 0.0349029228, -0.950475931, -0.308832467, 0.374378681, -0.274084091, 0.885843515, -0.926618993, -0.146538794, 0.346271485))
486
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.400000036, 0.400000006))
487
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-6.68361282, 0.485881805, -0.317962646, 0.0349029228, -0.950475931, -0.308832467, 0.241776168, 0.307871938, -0.920195222, 0.969704211, -0.0425508283, 0.240548))
488
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(7.27999973, 0.200000003, 0.649999976))
489
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.94361496, 2.49586678, -0.317962646, 0.0349029228, -0.950475931, -0.308832467, 0.241776168, 0.307871938, -0.920195222, 0.969704211, -0.0425508283, 0.240548))
490
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 1.30000007, 0.649999976))
491
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.50362206, 1.13585138, -0.317962646, 0.0349029228, -0.950475931, -0.308832467, 0.241776168, 0.307871938, -0.920195222, 0.969704211, -0.0425508283, 0.240548))
492
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(1.71000004, 0.200000003, 1.81000006))
493
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.09585381, 2.38361931, 0.507064819, 0.241776183, 0.307871968, -0.920195222, -0.0349029154, 0.950475931, 0.308832437, 0.969704211, -0.0425508283, 0.240548))
494
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
495
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(1.64999998, 1.59000015, 1.67000008))
496
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.09585953, 1.62366486, 0.507064819, 0.241776183, 0.307871968, -0.920195222, -0.0349029154, 0.950475931, 0.308832437, 0.969704211, -0.0425508283, 0.240548))
497
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
498
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.699999988, 0.649999976))
499
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696378708, 1.76469421, -1.16293335, 0.0349029228, -0.950475931, -0.308832467, 0.765577912, 0.224063158, -0.603064001, 0.642395854, -0.215386584, 0.735483646))
500
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.200000003, 0.930000007))
501
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.52587891E-5, -0.459983826, -0.365005493, 1.00000024, 0, 0, 0, 1, 1.86264515E-9, 0, 1.86264515E-9, 0.99999994))
502
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 1.20000005, 0.649999976))
503
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.50361252, 0.604698181, -1.16293335, 0.0349029228, -0.950475931, -0.308832467, 0.765577912, 0.224063158, -0.603064001, 0.642395854, -0.215386584, 0.735483646))
504
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(1.71000004, 0.200000003, 1.81000006))
505
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.09585667, 0.873628616, 0.507064819, 0.241776183, 0.307871968, -0.920195222, -0.0349029154, 0.950475931, 0.308832437, 0.969704211, -0.0425508283, 0.240548))
506
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
507
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.920000136, 0.200000003))
508
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1.00000024, 0, 0, 0, 1, 1.86264515E-9, 0, 1.86264515E-9, 0.99999994))
509
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
510
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.899999976, 0.649999976))
511
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696378708, -2.03845215, -0.648483276, 0.0349029228, -0.950475931, -0.308832467, 0.374378681, -0.274084091, 0.885843515, -0.926618993, -0.146538794, 0.346271485))
512
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.200000003, 0.550000012))
513
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.05175781E-5, 0.460012436, -0.175018311, 1.00000024, 0, 0, 0, 1, 1.86264515E-9, 0, 1.86264515E-9, 0.99999994))
514
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 1.10000002, 0.649999976))
515
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.50362206, -0.273544312, -1.36717987, 0.0349029228, -0.950475931, -0.308832467, 0.847531557, -0.135605425, 0.513129354, -0.529596448, -0.27965492, 0.800825119))
516
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.5, 1.14999998))
517
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.28361511, -0.53125, -1.31373596, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084))
518
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.200000003, 0.930000007))
519
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.93360138, -0.389587402, -0.345714569, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084))
520
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 2.0999999, 0.649999976))
521
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696380615, 0.168762207, -1.56370544, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084))
522
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.5, 0.649999976))
523
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696382523, 2.34584999, -0.317962646, 0.0349029228, -0.950475931, -0.308832467, 0.241776168, 0.307871938, -0.920195222, 0.969704211, -0.0425508283, 0.240548))
524
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.730000496, 0.200000003, 0.200000003))
525
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.78364944, -0.914924622, -1.49900818, 0.0349029228, -0.950475931, -0.308832467, 0.224812746, -0.29363355, 0.929106355, -0.973776877, -0.101857953, 0.203430369))
526
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(3.18000031, 1.68000007, 0.200000003))
527
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.793626785, -0.0424346924, -0.642055511, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084))
528
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(2.98000097, 0.200000003, 1.14999998))
529
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.893630981, -0.78125, -1.31369781, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084))
530
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(0.730000496, 0.200000003, 0.200000003))
531
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.78365326, -1.31258392, -1.40377808, 0.0349029228, -0.950475931, -0.308832467, -0.0348796546, -0.309991032, 0.950099528, -0.998781979, -0.0223892741, -0.0439718515))
532
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.899999976, 0.649999976))
533
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696380615, -1.3835144, -1.36720276, 0.0349029228, -0.950475931, -0.308832467, 0.847531557, -0.135605425, 0.513129354, -0.529596448, -0.27965492, 0.800825119))
534
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.200000003, 0.850000024))
535
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.93361282, 0.530380249, -0.305717468, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084))
536
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.899999976, 0.649999976))
537
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696374893, -0.173538208, -1.36718369, 0.0349029228, -0.950475931, -0.308832467, 0.847531557, -0.135605425, 0.513129354, -0.529596448, -0.27965492, 0.800825119))
538
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 1.69999993, 1.14999998))
539
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696380615, -0.0312194824, -1.31369019, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084))
540
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(0.780000925, 0.230000004, 0.309999943))
541
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.39359856, -0.79624939, -1.01370239, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084))
542
Motor = CreatePart(m, Enum.Material.Metal, 0.20000000298023, 0, "Bright yellow", "Motor", Vector3.new(1.60000002, 5.46000004, 1.48000002))
543
MotorWeld = CreateWeld(m, FakeHandle, Motor, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.48586464, 4.39365387, -0.312942505, 0.241776183, 0.307871968, -0.920195222, -0.0349029154, 0.950475931, 0.308832437, 0.969704211, -0.0425508283, 0.240548))
544
CreateMesh("CylinderMesh", Motor, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
545
FakeMotor = CreatePart(m, Enum.Material.Metal, 0.20000000298023, 0, "Bright yellow", "Part", Vector3.new(1.60000002, 5.46000004, 1.48000002))
546
FakeMotorWeld = CreateWeld(m, Motor, FakeMotor, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1.00000012, 2.98023224E-8, 0, 2.98023224E-8, 1.00000012, 0, 0, 0, 1))
547
CreateMesh("CylinderMesh", FakeMotor, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
548
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
549
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0283050537, 0.678848267, 0.899982452, 0.70710659, -1.13248825E-6, -0.707107067, -0.707107186, 1.49011612E-6, -0.707106531, 1.90734863E-6, 1, 2.52880795E-7))
550
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
551
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(0.700000048, 0.200000003, 0.750000119))
552
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 2.73001862, 0, 1.00000012, 2.98023224E-8, 0, 2.98023224E-8, 1.00000012, 0, 0, 0, 1))
553
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
554
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(1.60000002, 0.210000008, 1.35000002))
555
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.86102295E-6, 2.63498688, 0, 1.00000012, 2.98023224E-8, 0, 2.98023224E-8, 1.00000012, 0, 0, 0, 1))
556
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
557
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
558
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529963493, 2.78498077, 0, 1.00000012, 2.98023224E-8, 0, 2.98023224E-8, 1.00000012, 0, 0, 0, 1))
559
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
560
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
561
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529956818, 2.77998734, 0, 1.00000012, 2.98023224E-8, 0, 2.98023224E-8, 1.00000012, 0, 0, 0, 1))
562
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
563
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
564
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0283050537, 0.678848267, -0.700012207, 0.70710659, -1.13248825E-6, -0.707107067, -0.707107186, 1.49011612E-6, -0.707106531, 1.90734863E-6, 1, 2.52880795E-7))
565
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
566
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
567
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0283050537, 0.678840637, -1.50000381, 0.70710659, -1.13248825E-6, -0.707107067, -0.707107186, 1.49011612E-6, -0.707106531, 1.90734863E-6, 1, 2.52880795E-7))
568
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
569
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
570
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.530006409, 2.77998352, 1.52587891E-5, 0.866025567, -1.49011612E-7, -0.499999821, 1.49011612E-7, 1.00000012, -8.94069601E-8, 0.499999851, 2.98023224E-8, 0.866025507))
571
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
572
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
573
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.530014038, 2.78498077, 0, 0.500000656, 2.83122063E-7, -0.86602509, -8.34465027E-7, 1, -1.67762096E-7, 0.86602509, 8.04662704E-7, 0.500000656))
574
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
575
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
576
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.77997589, 7.62939453E-6, 0.500000656, 2.83122063E-7, -0.86602509, -8.34465027E-7, 1, -1.67762096E-7, 0.86602509, 8.04662704E-7, 0.500000656))
577
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
578
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
579
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.529983521, 2.77997589, 3.81469727E-6, 0, 0, -1, 0, 1.00000012, 0, 1.00000012, 0, 0))
580
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
581
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
582
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.530014038, 2.77998161, 0, 0.500000656, 2.83122063E-7, -0.86602509, -8.34465027E-7, 1, -1.67762096E-7, 0.86602509, 8.04662704E-7, 0.500000656))
583
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
584
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.350000113))
585
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.86102295E-6, 2.79998398, 0, 1.00000012, 2.98023224E-8, 0, 2.98023224E-8, 1.00000012, 0, 0, 0, 1))
586
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
587
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
588
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.529997826, 2.77997971, 0, 1.00000012, 2.98023224E-8, 0, 2.98023224E-8, 1.00000012, 0, 0, 0, 1))
589
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
590
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
591
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.530006409, 2.78498077, 1.52587891E-5, 0.866025567, -1.49011612E-7, -0.499999821, 1.49011612E-7, 1.00000012, -8.94069601E-8, 0.499999851, 2.98023224E-8, 0.866025507))
592
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
593
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
594
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.78498268, 1.52587891E-5, 0.866025567, -1.49011612E-7, -0.499999821, 1.49011612E-7, 1.00000012, -8.94069601E-8, 0.499999851, 2.98023224E-8, 0.866025507))
595
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
596
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
597
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.529998779, 2.78499222, 0, 1.00000012, 2.98023224E-8, 0, 2.98023224E-8, 1.00000012, 0, 0, 0, 1))
598
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
599
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
600
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.77997398, 1.52587891E-5, 0.866025567, -1.49011612E-7, -0.499999821, 1.49011612E-7, 1.00000012, -8.94069601E-8, 0.499999851, 2.98023224E-8, 0.866025507))
601
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
602
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
603
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.529983521, 2.7849865, 4.76837158E-6, 0, 0, -1, 0, 1.00000012, 0, 1.00000012, 0, 0))
604
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
605
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
606
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.7849865, 4.76837158E-6, 0, 0, -1, 0, 1.00000012, 0, 1.00000012, 0, 0))
607
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
608
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
609
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.78498459, 1.52587891E-5, 0.500000656, 2.83122063E-7, -0.86602509, -8.34465027E-7, 1, -1.67762096E-7, 0.86602509, 8.04662704E-7, 0.500000656))
610
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
611
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
612
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0282745361, 0.678833008, -1.69995308, 0.70710659, -1.13248825E-6, 0.707107067, -0.707107186, 1.49011612E-6, 0.707106531, -1.90734863E-6, -1, 2.52880795E-7))
613
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
614
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
615
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338973999, 0.673271179, -0.0999927521, -0.70710659, 1.13248825E-6, -0.707107067, 0.707107186, -1.49011612E-6, -0.707106531, -1.90734863E-6, -1, 2.52880795E-7))
616
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
617
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
618
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0282745361, 0.678833008, -0.09998703, 0.70710659, -1.13248825E-6, 0.707107067, -0.707107186, 1.49011612E-6, 0.707106531, -1.90734863E-6, -1, 2.52880795E-7))
619
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
620
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
621
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.529983521, 2.77997589, 0, -0.500000656, -2.83122063E-7, -0.86602509, -8.34465027E-7, 1, 1.67762096E-7, 0.86602509, 8.04662704E-7, -0.500000656))
622
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
623
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
624
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.529983521, 2.78498459, 0, -0.500000656, -2.83122063E-7, -0.86602509, -8.34465027E-7, 1, 1.67762096E-7, 0.86602509, 8.04662704E-7, -0.500000656))
625
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
626
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
627
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338973999, 0.673271179, -0.899978638, -0.70710659, 1.13248825E-6, -0.707107067, 0.707107186, -1.49011612E-6, -0.707106531, -1.90734863E-6, -1, 2.52880795E-7))
628
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
629
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
630
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338516235, 0.673248291, -1.50000191, -0.70710659, 1.13248825E-6, 0.707107067, 0.707107186, -1.49011612E-6, 0.707106531, 1.90734863E-6, 1, 2.52880795E-7))
631
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
632
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
633
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0282745361, 0.678833008, -0.899982452, 0.70710659, -1.13248825E-6, 0.707107067, -0.707107186, 1.49011612E-6, 0.707106531, -1.90734863E-6, -1, 2.52880795E-7))
634
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
635
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
636
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338516235, 0.673248291, 1.69995499, -0.70710659, 1.13248825E-6, 0.707107067, 0.707107186, -1.49011612E-6, 0.707106531, 1.90734863E-6, 1, 2.52880795E-7))
637
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
638
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
639
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.78498077, 7.62939453E-6, -0.500000656, -2.83122063E-7, -0.86602509, -8.34465027E-7, 1, 1.67762096E-7, 0.86602509, 8.04662704E-7, -0.500000656))
640
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
641
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
642
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.529975891, 2.78497887, -1.52587891E-5, -0.866025567, 1.49011612E-7, -0.499999821, 1.49011612E-7, 1.00000012, 8.94069601E-8, 0.499999851, 2.98023224E-8, -0.866025507))
643
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
644
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
645
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.77997589, 3.81469727E-6, 0, 0, -1, 0, 1.00000012, 0, 1.00000012, 0, 0))
646
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
647
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
648
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338516235, 0.673240662, 0.0999755859, -0.70710659, 1.13248825E-6, 0.707107067, 0.707107186, -1.49011612E-6, 0.707106531, 1.90734863E-6, 1, 2.52880795E-7))
649
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
650
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
651
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.529975891, 2.77997971, -1.52587891E-5, -0.866025567, 1.49011612E-7, -0.499999821, 1.49011612E-7, 1.00000012, 8.94069601E-8, 0.499999851, 2.98023224E-8, -0.866025507))
652
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
653
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
654
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.78498077, 1.52587891E-5, -0.866025567, 1.49011612E-7, -0.499999821, 1.49011612E-7, 1.00000012, 8.94069601E-8, 0.499999851, 2.98023224E-8, -0.866025507))
655
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
656-
      Value = game:service("Players").LocalPlayer,
656+
657
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.77998161, 7.62939453E-6, -0.500000656, -2.83122063E-7, -0.86602509, -8.34465027E-7, 1, 1.67762096E-7, 0.86602509, 8.04662704E-7, -0.500000656))
658
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
659
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
660
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0283050537, 0.678848267, 0.0999679565, 0.70710659, -1.13248825E-6, -0.707107067, -0.707107186, 1.49011612E-6, -0.707106531, 1.90734863E-6, 1, 2.52880795E-7))
661
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
662
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
663
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0283050537, 0.678848267, 1.69995308, 0.70710659, -1.13248825E-6, -0.707107067, -0.707107186, 1.49011612E-6, -0.707106531, 1.90734863E-6, 1, 2.52880795E-7))
664
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
665
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
666
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0282745361, 0.678833008, 1.50002289, 0.70710659, -1.13248825E-6, 0.707107067, -0.707107186, 1.49011612E-6, 0.707106531, -1.90734863E-6, -1, 2.52880795E-7))
667
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
668
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
669
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.77998352, 1.52587891E-5, -0.866025567, 1.49011612E-7, -0.499999821, 1.49011612E-7, 1.00000012, 8.94069601E-8, 0.499999851, 2.98023224E-8, -0.866025507))
670
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
671
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
672
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338973999, 0.673271179, 1.50001907, -0.70710659, 1.13248825E-6, -0.707107067, 0.707107186, -1.49011612E-6, -0.707106531, -1.90734863E-6, -1, 2.52880795E-7))
673
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
674
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
675
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338516235, 0.673240662, 0.899978638, -0.70710659, 1.13248825E-6, 0.707107067, 0.707107186, -1.49011612E-6, 0.707106531, 1.90734863E-6, 1, 2.52880795E-7))
676
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
677
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
678
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0282745361, 0.678833008, 0.700012207, 0.70710659, -1.13248825E-6, 0.707107067, -0.707107186, 1.49011612E-6, 0.707106531, -1.90734863E-6, -1, 2.52880795E-7))
679
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
680
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
681
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338973999, 0.673278809, -1.69995499, -0.70710659, 1.13248825E-6, -0.707107067, 0.707107186, -1.49011612E-6, -0.707106531, -1.90734863E-6, -1, 2.52880795E-7))
682
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
683
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
684
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338973999, 0.673278809, 0.7000103, -0.70710659, 1.13248825E-6, -0.707107067, 0.707107186, -1.49011612E-6, -0.707106531, -1.90734863E-6, -1, 2.52880795E-7))
685
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
686
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
687
PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338516235, 0.673248291, -0.7000103, -0.70710659, 1.13248825E-6, 0.707107067, 0.707107186, -1.49011612E-6, 0.707106531, 1.90734863E-6, 1, 2.52880795E-7))
688
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
689
ban = Instance.new("Part", m)
690
ban.Size = Vector3.new(2, 0.2, 2)
691
ban.Transparency = 1
692
ban.CanCollide = false
693
w0t = Instance.new("Weld", ban)
694
w0t.Part0 = ban
695
w0t.Part1 = Motor
696
w0t.C0 = CFrame.new(0, -5.1, 0)
697
hak = Instance.new("Decal", ban)
698
hak.Texture = "http://www.roblox.com/asset?id=26533945"
699
hak.Face = "Top"
700
coroutine.resume(coroutine.create(function()
701
  thing = 0
702
  while wait() do
703
    thing = thing + 0.25
704
    w0t.C0 = CFrame.new(0, -5.1, 0) * CFrame.Angles(0, thing / 8, 0)
705
  end
706
end))
707
function rayCast(Position, Direction, Range, Ignore)
708
  return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
709
end
710
local function GetNearest(obj, distance)
711
  local last, lastx = distance + 1, nil
712
  for i, v in pairs(workspace:GetChildren()) do
713
    if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
714
      local t = v.Torso
715
      local dist = (t.Position - obj.Position).magnitude
716
      if distance >= dist and last > dist then
717
        last = dist
718
        lastx = v
719
      end
720
    end
721
  end
722
  return lastx
723
end
724
function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
725
  if hit.Parent == nil then
726
    return
727
  end
728
  local h = hit.Parent:FindFirstChild("Humanoid")
729
  for _, v in pairs(hit.Parent:children()) do
730
    if v:IsA("Humanoid") then
731
      h = v
732
    end
733
  end
734
  if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
735
    if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
736
      return
737
    end
738
    local c = Create("ObjectValue")({
739
      Name = "creator",
740
      Value = owner
741
      Parent = h
742
    })
743
    game:GetService("Debris"):AddItem(c, 0.5)
744
    if HitSound ~= nil and HitPitch ~= nil then
745
      CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
746
    end
747
    local Damage = math.random(minim, maxim)
748
    local blocked = false
749
    local block = hit.Parent:findFirstChild("Block")
750
    if block ~= nil and block.className == "IntValue" and block.Value > 0 then
751
      blocked = true
752
      block.Value = block.Value - 1
753
      print(block.Value)
754
    end
755
    if blocked == false then
756
      h.Health = h.Health - Damage
757
      ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
758
    else
759
      h.Health = h.Health - Damage / 2
760
      ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
761
    end
762
    if Type == "Knockdown" then
763
      local hum = hit.Parent.Humanoid
764
      hum.PlatformStand = true
765
      coroutine.resume(coroutine.create(function(HHumanoid)
766
        swait(1)
767
        HHumanoid.PlatformStand = false
768
      end), hum)
769
      local angle = hit.Position - Property.Position + Vector3.new(0, 0, 0).unit
770
      local bodvol = Create("BodyVelocity")({
771
        velocity = angle * knockback,
772
        P = 5000,
773
        maxForce = Vector3.new(8000, 8000, 8000),
774
        Parent = hit
775
      })
776
      local rl = Create("BodyAngularVelocity")({
777
        P = 3000,
778
        maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
779
        angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
780
        Parent = hit
781
      })
782
      game:GetService("Debris"):AddItem(bodvol, 0.5)
783
      game:GetService("Debris"):AddItem(rl, 0.5)
784
    elseif Type == "Normal" then
785
      local vp = Create("BodyVelocity")({
786
        P = 500,
787
        maxForce = Vector3.new(math.huge, 0, math.huge),
788
        velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
789
      })
790
      if knockback > 0 then
791
        vp.Parent = hit.Parent.Torso
792
      end
793
      game:GetService("Debris"):AddItem(vp, 0.5)
794
    elseif Type == "Up" then
795
      local bodyVelocity = Create("BodyVelocity")({
796
        velocity = Vector3.new(0, 20, 0),
797
        P = 5000,
798
        maxForce = Vector3.new(8000, 8000, 8000),
799
        Parent = hit
800
      })
801
      game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
802
    elseif Type == "DarkUp" then
803
      coroutine.resume(coroutine.create(function()
804
        for i = 0, 1, 0.1 do
805
          swait()
806
          BlockEffect(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
807
        end
808
      end))
809
      local bodyVelocity = Create("BodyVelocity")({
810
        velocity = Vector3.new(0, 20, 0),
811
        P = 5000,
812
        maxForce = Vector3.new(8000, 8000, 8000),
813
        Parent = hit
814
      })
815
      game:GetService("Debris"):AddItem(bodyVelocity, 1)
816
    elseif Type == "Snare" then
817
      local bp = Create("BodyPosition")({
818
        P = 2000,
819
        D = 100,
820
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
821
        position = hit.Parent.Torso.Position,
822
        Parent = hit.Parent.Torso
823
      })
824
      game:GetService("Debris"):AddItem(bp, 1)
825
    elseif Type == "Curse" then
826
      CreateSound("http://roblox.com/asset/?id=283389706", Torso, 1, 1)
827
      for i = 0, 1, 0.025 do
828
        swait(30)
829
        SphereEffect(BrickColor.new("Bright violet"), hit.Parent.Torso.CFrame, 1, 1, 1, 3, 3, 3, 0.07)
830
        hit.Parent.Humanoid:TakeDamage(1)
831
      end
832
    elseif Type == "Freeze" then
833
      local BodPos = Create("BodyPosition")({
834
        P = 50000,
835
        D = 1000,
836
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
837
        position = hit.Parent.Torso.Position,
838
        Parent = hit.Parent.Torso
839
      })
840
      local BodGy = Create("BodyGyro")({
841
        maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
842
        P = 20000,
843
        Parent = hit.Parent.Torso,
844
        cframe = hit.Parent.Torso.CFrame
845
      })
846
      hit.Parent.Torso.Anchored = true
847
      coroutine.resume(coroutine.create(function(Part)
848
        swait(1.5)
849
        Part.Anchored = false
850
      end), hit.Parent.Torso)
851
      game:GetService("Debris"):AddItem(BodPos, 6)
852
      game:GetService("Debris"):AddItem(BodGy, 6)
853
    end
854
    local debounce = Create("BoolValue")({
855
      Name = "DebounceHit",
856
      Parent = hit.Parent,
857
      Value = true
858
    })
859
    game:GetService("Debris"):AddItem(debounce, Delay)
860
    c = Instance.new("ObjectValue")
861
    c.Name = "creator"
862
    c.Value = Player
863
    c.Parent = h
864
    game:GetService("Debris"):AddItem(c, 0.5)
865
  end
866
end
867
function ShowDamage(Pos, Text, Time, Color)
868
  local Rate = 0.033333333333333
869
  if not Pos then
870
    local Pos = Vector3.new(0, 0, 0)
871
  end
872
  local Text = Text or ""
873
  local Time = Time or 2
874
  if not Color then
875
    local Color = Color3.new(1, 0, 1)
876
  end
877
  local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
878
  EffectPart.Anchored = true
879
  local BillboardGui = Create("BillboardGui")({
880
    Size = UDim2.new(3, 0, 3, 0),
881
    Adornee = EffectPart,
882
    Parent = EffectPart
883
  })
884
  local TextLabel = Create("TextLabel")({
885
    BackgroundTransparency = 1,
886
    Size = UDim2.new(1, 0, 1, 0),
887
    Text = Text,
888
    TextColor3 = Color,
889
    TextScaled = true,
890
    Font = Enum.Font.ArialBold,
891
    Parent = BillboardGui
892
  })
893
  game.Debris:AddItem(EffectPart, Time + 0.1)
894
  EffectPart.Parent = game:GetService("Workspace")
895
  delay(0, function()
896
    local Frames = Time / Rate
897
    for Frame = 1, Frames do
898
      wait(Rate)
899
      local Percent = Frame / Frames
900
      EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
901
      TextLabel.TextTransparency = Percent
902
    end
903
    if EffectPart and EffectPart.Parent then
904
      EffectPart:Destroy()
905
    end
906
  end)
907
end
908
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
909
  for _, c in pairs(workspace:children()) do
910
    local hum = c:findFirstChild("Humanoid")
911
    if hum ~= nil then
912
      local head = c:findFirstChild("Torso")
913
      if head ~= nil then
914
        local targ = head.Position - Part.Position
915
        local mag = targ.magnitude
916
        if magni >= mag and c.Name ~= Player.Name then
917
          Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=160432334", 1)
918
        end
919
      end
920
    end
921
  end
922
end
923
EffectModel = Instance.new("Model", Character)
924
EffectModel.Name = "Effects"
925
Effects = {
926
  Block = {
927
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
928
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
929
      prt.Anchored = true
930
      prt.CFrame = cframe
931
      local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
932
      game:GetService("Debris"):AddItem(prt, 10)
933
      if Type == 1 or Type == nil then
934
        table.insert(Effects, {
935
          prt,
936
          "Block1",
937
          delay,
938
          x3,
939
          y3,
940
          z3,
941
          msh
942
        })
943
      elseif Type == 2 then
944
        table.insert(Effects, {
945
          prt,
946
          "Block2",
947
          delay,
948
          x3,
949
          y3,
950
          z3,
951
          msh
952
        })
953
      end
954
    end
955
  },
956
  Cylinder = {
957
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
958
      local prt = CFuncs.Part.Create(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
959
      prt.Anchored = true
960
      prt.CFrame = cframe
961
      local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
962
      game:GetService("Debris"):AddItem(prt, 2)
963
      Effects[#Effects + 1] = {
964
        prt,
965
        "Cylinder",
966
        delay,
967
        x3,
968
        y3,
969
        z3
970
      }
971
    end
972
  },
973
  Sphere = {
974
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
975
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
976
      prt.Anchored = true
977
      prt.CFrame = cframe
978
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
979
      game:GetService("Debris"):AddItem(prt, 10)
980
      table.insert(Effects, {
981
        prt,
982
        "Cylinder",
983
        delay,
984
        x3,
985
        y3,
986
        z3,
987
        msh
988
      })
989
    end
990
  },
991
  Ring = {
992
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
993
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
994
      prt.Anchored = true
995
      prt.CFrame = cframe
996
      local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
997
      game:GetService("Debris"):AddItem(prt, 10)
998
      table.insert(Effects, {
999
        prt,
1000
        "Cylinder",
1001
        delay,
1002
        x3,
1003
        y3,
1004
        z3,
1005
        msh
1006
      })
1007
    end
1008
  },
1009
  Cloud = {
1010
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1011
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1012
      prt.Anchored = true
1013
      prt.CFrame = cframe
1014
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1095708", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1015
      game:GetService("Debris"):AddItem(prt, 10)
1016
      table.insert(Effects, {
1017
        prt,
1018
        "Cylinder",
1019
        delay,
1020
        x3,
1021
        y3,
1022
        z3,
1023
        msh
1024
      })
1025
    end
1026
  },
1027
  Wave = {
1028
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1029
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1030
      prt.Anchored = true
1031
      prt.CFrame = cframe
1032
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1033
      game:GetService("Debris"):AddItem(prt, 10)
1034
      table.insert(Effects, {
1035
        prt,
1036
        "Cylinder",
1037
        delay,
1038
        x3,
1039
        y3,
1040
        z3,
1041
        msh
1042
      })
1043
    end
1044
  },
1045
  Break = {
1046
    Create = function(brickcolor, cframe, x1, y1, z1)
1047
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1048
      prt.Anchored = true
1049
      prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1050
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1051
      local num = math.random(10, 50) / 1000
1052
      game:GetService("Debris"):AddItem(prt, 10)
1053
      table.insert(Effects, {
1054
        prt,
1055
        "Shatter",
1056
        num,
1057
        prt.CFrame,
1058
        math.random() - math.random(),
1059
        0,
1060
        math.random(50, 100) / 100
1061
      })
1062
    end
1063
  }
1064
}
1065
local rev = Instance.new("Sound", Barrel)
1066
rev.Volume = 1
1067
rev.Pitch = 1.2
1068
rev.Looped = false
1069
rev.SoundId = "rbxassetid://357820124"
1070
rev.MaxDistance = 1000
1071
local spim = Instance.new("Sound", Barrel)
1072
spim.Volume = 1
1073
spim.Pitch = 1
1074
spim.Looped = true
1075
spim.SoundId = "rbxassetid://167882734"
1076
spim.MaxDistance = 1000
1077
local aiming = false
1078
local nu = 0
1079
function Aim()
1080
  aiming = true
1081
  attack = true
1082
  Humanoid.WalkSpeed = 2
1083
  Humanoid.JumpPower = 0
1084
  for i = 0, 1, 0.1 do
1085
    swait()
1086
    PlayAnimationFromTable({
1087
      CFrame.new(-0.170424014, -0.0599999093, 0.143827543, 0.0551210083, -0.0140470108, -0.99838084, 0.246923029, 0.969035149, -1.39987253E-6, 0.967466116, -0.246523187, 0.0568827242),
1088
      CFrame.new(0.0930410028, 1.51390386, -0.186864346, 0.0551210232, 0.246923029, 0.967466354, -0.0140470145, 0.969035149, -0.246523246, -0.998381078, -1.39987253E-6, 0.0568827391),
1089
      CFrame.new(1.30572438, 0.549293935, -0.623716354, 0.975685954, 0.166035622, 0.143070266, 0.0081961602, 0.624675274, -0.780841708, -0.219019979, 0.76302886, 0.608125925),
1090
      CFrame.new(-1.06310928, 0.322490007, -1.00624692, 0.881435692, -0.411378503, -0.232031837, -0.0481262654, 0.410489917, -0.910594344, 0.469845623, 0.813797176, 0.3420223),
1091
      CFrame.new(0.673036039, -2.17349005, 0.0392552316, 0.988193929, -0.10620904, -0.110418722, 0.0839042664, 0.978192925, -0.189996794, 0.12819016, 0.178489059, 0.975555658),
1092
      CFrame.new(-1.06996655, -1.72934985, -0.00624912977, 0.727204561, 0.246923029, 0.640470624, -0.185302377, 0.969035149, -0.163199365, -0.660936117, -1.39987253E-6, 0.750442147)
1093
    }, 0.3, false)
1094
    FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3)
1095
  end
1096
  rev:Play()
1097
  while aiming do
1098
    swait()
1099
    if rev.Playing == false and spim.Playing == false then
1100
      spim:Play()
1101
    end
1102
    if nu < 360 then
1103
      nu = nu + 20
1104
    else
1105
      nu = 0
1106
    end
1107
    FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(nu), math.rad(0)), 0.3)
1108
  end
1109
end
1110
function Laser(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1111
  local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1112
  prt.Anchored = true
1113
  prt.CFrame = cframe
1114
  prt.Material = "Neon"
1115
  local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1116
  game:GetService("Debris"):AddItem(prt, 10)
1117
  coroutine.resume(coroutine.create(function(Part, Mesh)
1118
    for i = 0, 1, delay do
1119
      swait()
1120
      Part.Transparency = i
1121
      Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
1122
    end
1123
    Part.Parent = nil
1124
  end), prt, msh)
1125
end
1126
function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
1127
  local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1128
  prt.Anchored = true
1129
  prt.CFrame = cframe
1130
  local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1131
  game:GetService("Debris"):AddItem(prt, 10)
1132
  if Type == 1 or Type == nil then
1133
    table.insert(Effects, {
1134
      prt,
1135
      "Block1",
1136
      delay,
1137
      x3,
1138
      y3,
1139
      z3,
1140
      msh
1141
    })
1142
  elseif Type == 2 then
1143
    table.insert(Effects, {
1144
      prt,
1145
      "Block2",
1146
      delay,
1147
      x3,
1148
      y3,
1149
      z3,
1150
      msh
1151
    })
1152
  end
1153
end
1154
function shoottraildd(mouse, partt, SpreadAmount)
1155
  local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
1156
  local MainPos = partt.Position
1157
  local MainPos2 = mouse.Hit.p + SpreadVectors
1158
  local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
1159
  local speed = 100
1160
  local num = 10
1161
  coroutine.resume(coroutine.create(function()
1162
    repeat
1163
      swait()
1164
      local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
1165
      local mag = (MainPos - pos).magnitude
1166
      Laser(BrickColor.new("Bright yellow"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.25, 0, -0.25, 0.15)
1167
      MainPos = MainPos + MouseLook.lookVector * speed
1168
      num = num - 1
1169
      MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
1170
      if hit ~= nil then
1171
        num = 0
1172
        local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
1173
        refpart.Anchored = true
1174
        refpart.CFrame = CFrame.new(pos)
1175
        game:GetService("Debris"):AddItem(refpart, 1)
1176
      end
1177
      if num <= 0 then
1178
        local refpart2 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
1179
        refpart2.Anchored = true
1180
        refpart2.CFrame = CFrame.new(pos)
1181
        game:GetService("Debris"):AddItem(refpart2, 1)
1182
        if hit ~= nil then
1183
          Effects.Sphere.Create(hit.BrickColor, refpart2.CFrame, 1, 1, 1, 0.5, 0.5, 0.5, 0.05)
1184
          local cf2 = mouse.Hit.p + Vector3.new(math.random(-100, 100) / 50, 50, math.random(-100, 100) / 50)
1185
          local hit2, pos2 = rayCast(cf2, CFrame.new(cf2, cf2 - Vector3.new(0, 1, 0)).lookVector, 999, Character)
1186
          if hit ~= nil then
1187
            local d1 = CFuncs.Part.Create(workspace, "Neon", 0, 0.5, BrickColor.new("Really black"), "Effect", Vector3.new())
1188
            d1.Anchored = true
1189
            d1.CFrame = CFrame.new(pos)
1190
            game:GetService("Debris"):AddItem(d1, 5)
1191
            local msh = CFuncs.Mesh.Create("CylinderMesh", d1, "nil", "nil", Vector3.new(0, 0, 0), Vector3.new(50, 5, 50))
1192
            local d2 = d1:Clone()
1193
            d2.Parent = d1
1194
            d2.CFrame = CFrame.new(d1.Position)
1195
            d2.BrickColor = BrickColor.new("Bright yellow")
1196
            d2.Mesh.Scale = Vector3.new(0, 5, 0)
1197
            table.insert(Effects, {
1198
              d1,
1199
              "QuadShot",
1200
              d2,
1201
              d2.Mesh,
1202
              0
1203
            })
1204
          end
1205
        end
1206
      end
1207
    until num <= 0
1208
  end))
1209
end
1210
function IceMortar()
1211
  local dacf = Head.CFrame * angles(-1.57 + math.random(40, 80) / 100, 0, math.random(-80, 80) / 100)
1212
  local icepart1 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Bright yellow"), "Ice", Vector3.new())
1213
  icepart1.Anchored = true
1214
  i1msh = CreateMesh("SpecialMesh", icepart1, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
1215
  icepart1.CFrame = dacf
1216
  local cfinc = 99999
1217
  icepart1.Transparency = 1
1218
  CFuncs.Sound.Create("rbxassetid://192410089", icepart1, 1, 1)
1219
  game:GetService("Debris"):AddItem(icepart1, 1)
1220
  local spread = Vector3.new((math.random(-3, 30) + math.random()) * 16, (math.random(-1, 0) + math.random()) * 16, (math.random(-3, 3) + math.random()) * 16) * (icepart1.Position - (icepart1.Position + Vector3.new(0, -1, 0))).magnitude / 100
1221
  local TheHit = mouse.Hit.p
1222
  local MouseLook = cn((icepart1.Position + TheHit) / 2, TheHit + spread)
1223
  local hit, pos = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
1224
  local target1, distance1 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
1225
  local test1, dist1 = mouse.Hit.p, nil
1226
  if target1 ~= nil then
1227
    cfda = target1.Position + Vector3.new(math.random(-3000, 3000) / 100, 10, math.random(-3000, 3000) / 100)
1228
    local hit2, pos2 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
1229
    local d1 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Magenta"), "Effect", Vector3.new())
1230
    d1.Anchored = true
1231
    d1.CFrame = cn(pos2)
1232
    Effects.Sphere.Create(BrickColor.new("White"), Barrel.CFrame, 1, 1, 1, 3, 3, 3, 0.07)
1233
    Effects.Cloud.Create(target1.BrickColor, Barrel.CFrame, 2, 1, 2, 0.1, 2, 0.1, 0.03)
1234
    Effects.Cloud.Create(target1.BrickColor, cn(pos2), 1, 1, 1, math.random(0.7, 1), math.random(1, 3), math.random(0.7, 1), 0.03)
1235
    Effects.Sphere.Create(BrickColor.new("Bright yellow"), cn(pos2), 1, 1, 1, 3, 3, 3, 0.07)
1236
    Effects.Block.Create(BrickColor.new("Bright red"), cn(pos2), 1, 1, 1, 3, 3, 3, 0.07)
1237
    Effects.Sphere.Create(BrickColor.new("White"), cn(pos2), 1, 1, 1, 10, 10, 10, 0.07)
1238
    Effects.Ring.Create(BrickColor.new("Bright yellow"), cn(pos2), 0.1, 9999, 0.1, 0.5, 10, 0.5, 0.07)
1239
    game.Debris:AddItem(d1, 0.5)
1240
    local cf2 = mouse.Hit.p + Vector3.new(math.random(-100, 100) / 50, 50, math.random(-100, 100) / 50)
1241
    local hit2, pos2 = rayCast(cf2, CFrame.new(cf2, cf2 - Vector3.new(0, 1, 0)).lookVector, 999, Character)
1242
    if hit ~= nil then
1243
      local d1 = CFuncs.Part.Create(workspace, "Neon", 0, 0.5, BrickColor.new("Really black"), "Effect", Vector3.new())
1244
      d1.Anchored = true
1245
      d1.CFrame = CFrame.new(pos)
1246
      game:GetService("Debris"):AddItem(d1, 30)
1247
      local msh = CFuncs.Mesh.Create("CylinderMesh", d1, "nil", "nil", Vector3.new(0, 0, 0), Vector3.new(500, 5, 500))
1248
      local d2 = d1:Clone()
1249
      d2.Parent = d1
1250
      d2.CFrame = CFrame.new(d1.Position)
1251
      d2.BrickColor = BrickColor.new("Bright yellow")
1252
      d2.Mesh.Scale = Vector3.new(0, 5, 0)
1253
      table.insert(Effects, {
1254
        d1,
1255
        "QuadShot2",
1256
        d2,
1257
        d2.Mesh,
1258
        0
1259
      })
1260
    end
1261
  end
1262
end
1263
function Hee()
1264
  local dacf = Head.CFrame * angles(-1.57 + math.random(40, 80) / 100, 0, math.random(-80, 80) / 100)
1265
  local icepart1 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Bright yellow"), "Ice", Vector3.new())
1266
  icepart1.Anchored = true
1267
  i1msh = CreateMesh("SpecialMesh", icepart1, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
1268
  icepart1.CFrame = dacf
1269
  local cfinc = 99999
1270
  icepart1.Transparency = 1
1271
  CFuncs.Sound.Create("rbxassetid://151130059", icepart1, 1, math.random(1, 3))
1272
  game:GetService("Debris"):AddItem(icepart1, 1)
1273
  local spread = Vector3.new((math.random(-30, 30) + math.random()) * 16, (math.random(-1, 0) + math.random()) * 16, (math.random(-30, 30) + math.random()) * 16) * (icepart1.Position - (icepart1.Position + Vector3.new(0, -1, 0))).magnitude / 100
1274
  local TheHit = mouse.Hit.p
1275
  local MouseLook = cn((icepart1.Position + TheHit) / 2, TheHit + spread)
1276
  local hit, pos = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
1277
  local target1, distance1 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
1278
  local test1, dist1 = mouse.Hit.p, nil
1279
  if target1 ~= nil then
1280
    cfda = target1.Position + Vector3.new(math.random(-3000, 3000) / 100, 10, math.random(-3000, 3000) / 100)
1281
    local hit2, pos2 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
1282
    local d1 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Magenta"), "Effect", Vector3.new())
1283
    d1.Anchored = true
1284
    d1.CFrame = cn(pos2)
1285
    MagniDamage(d1, 8, 3, 5, 0, "Normal")
1286
    Effects.Sphere.Create(target1.BrickColor, cn(pos2), 1, 1, 1, 4, 4, 4, 0.07)
1287
    Effects.Ring.Create(BrickColor.new("Bright yellow"), cn(pos2), 0.1, 9999, 0.1, 0.5, 10, 0.5, 0.07)
1288
    game.Debris:AddItem(d1, 0.5)
1289
  end
1290
  local cf2 = mouse.Hit.p + Vector3.new(math.random(-100, 100) / 50, 50, math.random(-100, 100) / 50)
1291
  local hit2, pos2 = rayCast(cf2, CFrame.new(cf2, cf2 - Vector3.new(0, 1, 0)).lookVector, 999, Character)
1292
  if hit ~= nil then
1293
    local d1 = CFuncs.Part.Create(workspace, "Neon", 0, 0.5, BrickColor.new("Really black"), "Effect", Vector3.new())
1294
    d1.Anchored = true
1295
    d1.CFrame = CFrame.new(pos)
1296
    game:GetService("Debris"):AddItem(d1, 5)
1297
    local msh = CFuncs.Mesh.Create("CylinderMesh", d1, "nil", "nil", Vector3.new(0, 0, 0), Vector3.new(50, 5, 50))
1298
    local d2 = d1:Clone()
1299
    d2.Parent = d1
1300
    d2.CFrame = CFrame.new(d1.Position)
1301
    d2.BrickColor = BrickColor.new("Bright yellow")
1302
    d2.Mesh.Scale = Vector3.new(0, 5, 0)
1303
    table.insert(Effects, {
1304
      d1,
1305
      "QuadShot",
1306
      d2,
1307
      d2.Mesh,
1308
      0
1309
    })
1310
  end
1311
end
1312
local soe = Instance.new("Sound", Barrel)
1313
soe.Volume = 1
1314
soe.Pitch = 1
1315
soe.Looped = true
1316
soe.SoundId = "rbxassetid://341294387"
1317
soe.MaxDistance = 1000
1318
local shoot = false
1319
local hot = false
1320
function fire()
1321
  hot = true
1322
  shoot = true
1323
  while shoot do
1324
    while shoot do
1325
      if shoot == true then
1326
        swait()
1327
        for i = 0, 1, 0.5 do
1328
          swait()
1329
          PlayAnimationFromTable({
1330
            CFrame.new(-0.167053476, -0.0588135049, 0.140983686, 0.0654093325, -0.00924067106, -0.997815728, 0.156799912, 0.987629831, 0.0011322886, 0.98546207, -0.156531483, 0.0660491288),
1331
            CFrame.new(-0.0409736931, 1.51582134, -0.183162034, 0.0654088631, 0.156799927, 0.985462129, -0.00924065989, 0.987629771, -0.156531498, -0.997815788, 0.00113223272, 0.066048637),
1332
            CFrame.new(1.5242641, 0.608132184, -0.624453306, 0.972154856, 0.108696721, 0.207605079, 0.0937597305, 0.631499469, -0.769686759, -0.214764893, 0.767719507, 0.603723884),
1333
            CFrame.new(-0.819477558, 0.188001126, -1.01326716, 0.882124126, -0.447403371, -0.147265807, 0.0331753343, 0.370894492, -0.928082407, 0.469847202, 0.813798189, 0.34201774),
1334
            CFrame.new(0.856069803, -2.10349417, 0.0384711921, 0.977712274, -0.18880485, -0.0918231755, 0.168287143, 0.96627003, -0.194940567, 0.125531688, 0.175143108, 0.976507366),
1335
            CFrame.new(-0.637022972, -1.86262906, -0.0132773817, 0.75052321, 0.156917602, 0.641943574, -0.118095078, 0.987610161, -0.103342898, -0.650206387, 0.00175085466, 0.759755611)
1336
          }, 0.3, false)
1337
        end
1338
        if cooldown1 >= 4 then
1339
          soe:Play()
1340
          cooldown1 = cooldown1 - 2
1341
          shoottraildd(mouse, Barrel, 3)
1342
        else
1343
          soe:Stop()
1344
          CFuncs.Sound.Create("rbxassetid://135886551", Torso, 1, 1)
1345
        end
1346
      end
1347
    end
1348
    soe:Stop()
1349
    CFuncs.Sound.Create("rbxassetid://135886551", Torso, 1, 1)
1350
  end
1351
  hot = false
1352
end
1353
function baka()
1354
  Humanoid.WalkSpeed = 2
1355
  Humanoid.JumpPower = 0
1356
  attack = true
1357
  for i = 0, 1, 0.5 do
1358
    swait()
1359
    PlayAnimationFromTable({
1360
      CFrame.new(0, 0, 0, -0.126676023, 0.23911497, -0.962692738, 0.0259660054, 0.970977783, 0.237756103, 0.991604209, 0.00512071373, -0.129208475),
1361
      CFrame.new(-0.0221787691, 1.45965314, -0.112358943, 0.595528305, -0.284922779, 0.751109242, 0.114603601, 0.955558896, 0.271612644, -0.795117676, -0.0756731778, 0.601715565),
1362
      CFrame.new(1.10635591, 0.859423637, -0.981054425, 0.608006597, 0.255645812, 0.751646996, 0.66461128, 0.354005992, -0.658005834, -0.434303999, 0.899625063, 0.0453328565),
1363
      CFrame.new(-1.15179741, 0.192107677, -0.658762455, 0.950540423, -0.300884187, 0.077081807, 0.186789155, 0.355474651, -0.915831685, 0.248158604, 0.884933174, 0.394094855),
1364
      CFrame.new(0.568166018, -1.92436779, -0.615063548, 0.522848248, -0.20566088, 0.827244461, 0.0774576887, 0.977906942, 0.194160998, -0.848899424, -0.0374402776, 0.527226925),
1365
      CFrame.new(-0.588464379, -2.00466871, -0.160800442, 0.795416594, 0.0259660054, 0.605506659, 0.123992123, 0.970977783, -0.204519317, -0.593244076, 0.237756103, 0.769112289)
1366
    }, 0.4, false)
1367
    FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3)
1368
  end
1369
  for i = 0, 1, 0.5 do
1370
    swait()
1371
    PlayAnimationFromTable({
1372
      CFrame.new(0, 0, 0, -0.126676023, 0.23911497, -0.962692738, 0.0259660054, 0.970977783, 0.237756103, 0.991604209, 0.00512071373, -0.129208475),
1373
      CFrame.new(-0.0221787691, 1.45965314, -0.112358943, 0.595528305, -0.284922779, 0.751109242, 0.114603601, 0.955558896, 0.271612644, -0.795117676, -0.0756731778, 0.601715565),
1374
      CFrame.new(1.10635591, 0.859423637, -0.981054425, 0.608006597, 0.255645812, 0.751646996, 0.66461128, 0.354005992, -0.658005834, -0.434303999, 0.899625063, 0.0453328565),
1375
      CFrame.new(-1.15179741, 0.192107677, -0.658762455, 0.950540423, -0.300884187, 0.077081807, 0.186789155, 0.355474651, -0.915831685, 0.248158604, 0.884933174, 0.394094855),
1376
      CFrame.new(0.568166018, -1.92436779, -0.615063548, 0.522848248, -0.20566088, 0.827244461, 0.0774576887, 0.977906942, 0.194160998, -0.848899424, -0.0374402776, 0.527226925),
1377
      CFrame.new(-0.588464379, -2.00466871, -0.160800442, 0.795416594, 0.0259660054, 0.605506659, 0.123992123, 0.970977783, -0.204519317, -0.593244076, 0.237756103, 0.769112289)
1378
    }, 0.4, false)
1379
    FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3)
1380
  end
1381
  IceMortar()
1382
  for i = 0, 1, 0.5 do
1383
    swait()
1384
    PlayAnimationFromTable({
1385
      CFrame.new(0, 0, 0, -0.335253149, 0.328955054, -0.882832885, 0.107930049, 0.944303334, 0.310873568, 0.935925424, 0.00893715583, -0.352084786),
1386
      CFrame.new(-0.00419440866, 1.463902, 0.0260094106, 0.372635633, -0.266420603, 0.888911009, 0.176304489, 0.960780025, 0.214053184, -0.91107595, 0.0769551396, 0.404991925),
1387
      CFrame.new(1.16062069, 1.21589506, -1.1315105, 0.461470664, 0.408944249, 0.787279725, 0.759406447, 0.276684046, -0.588853061, -0.458635807, 0.869603693, -0.182873294),
1388
      CFrame.new(-1.1017859, 0.105088279, -0.580041945, 0.871761322, -0.489363998, -0.0235606134, 0.251738638, 0.48867017, -0.83536166, 0.420309335, 0.722304821, 0.549195588),
1389
      CFrame.new(0.356478155, -1.8632127, -0.897590756, 0.318082392, -0.179918393, 0.930834651, 0.152005479, 0.978804231, 0.137247398, -0.935798109, 0.0978359506, 0.33868891),
1390
      CFrame.new(-0.668343425, -1.97596669, -0.199289501, 0.642908812, 0.107930049, 0.758300424, 0.172217295, 0.944303334, -0.280414909, -0.746330738, 0.310873568, 0.588513494)
1391
    }, 0.3, false)
1392
  end
1393
  FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3)
1394
  Humanoid.WalkSpeed = 14
1395
  Humanoid.JumpPower = 50
1396
  attack = false
1397
end
1398
function bulletrain()
1399
  attack = true
1400
  shoot = true
1401
  Humanoid.WalkSpeed = 2
1402
  Humanoid.JumpPower = 0
1403
  for i = 0, 1, 0.5 do
1404
    swait()
1405
    PlayAnimationFromTable({
1406
      CFrame.new(-8.64267349E-7, -0.259999782, 0.509999871, 0.454838723, 0.207662866, -0.866024196, -0.415319771, 0.909675479, 2.65391373E-6, 0.787801504, 0.359675765, 0.500002146),
1407
      CFrame.new(0.047690846, 1.37390435, -0.00346283242, 0.454838723, 0.0202630162, 0.890343308, 0.207662866, 0.969769061, -0.128156841, -0.866024196, 0.243181929, 0.436880678),
1408
      CFrame.new(1.1759336, -0.214563698, -0.518012762, 0.694960654, 0.00311025977, -0.719041109, -0.715354204, -0.0982373655, -0.691822171, -0.0727884769, 0.995158195, -0.0660461485),
1409
      CFrame.new(-0.00660583377, 0.722521007, -1.36138439, 0.0264981389, -0.398905575, 0.916609168, 0.381749183, -0.843399405, -0.378080904, 0.92388618, 0.359933168, 0.129933342),
1410
      CFrame.new(0.993886769, -1.80155158, 0.41332227, 0.946233869, -0.168109909, -0.276370257, 0.32347101, 0.484278023, 0.812921524, -0.00282013416, -0.858611643, 0.512618959),
1411
      CFrame.new(-0.795712531, -2.27605748, -0.675008774, 0.968845665, 0.247665286, -6.2584877E-7, -0.247665256, 0.968845665, -3.36766243E-6, -2.08616257E-7, 3.39746475E-6, 1)
1412
    }, 0.3, false)
1413
    FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3)
1414
  end
1415
  soe:Play()
1416
  for i = 1, 5 do
1417
    for i = 0, 1, 0.5 do
1418
      swait()
1419
      PlayAnimationFromTable({
1420
        CFrame.new(-8.64267349E-7, -0.259999782, 0.509999871, 0.454838723, 0.207662866, -0.866024196, -0.415319771, 0.909675479, 2.65391373E-6, 0.787801504, 0.359675765, 0.500002146),
1421
        CFrame.new(0.047690846, 1.37390435, -0.00346283242, 0.454838723, 0.0202630162, 0.890343308, 0.207662866, 0.969769061, -0.128156841, -0.866024196, 0.243181929, 0.436880678),
1422
        CFrame.new(1.1759336, -0.214563698, -0.518012762, 0.694960654, 0.00311025977, -0.719041109, -0.715354204, -0.0982373655, -0.691822171, -0.0727884769, 0.995158195, -0.0660461485),
1423
        CFrame.new(-0.00660583377, 0.722521007, -1.36138439, 0.0264981389, -0.398905575, 0.916609168, 0.381749183, -0.843399405, -0.378080904, 0.92388618, 0.359933168, 0.129933342),
1424
        CFrame.new(0.993886769, -1.80155158, 0.41332227, 0.946233869, -0.168109909, -0.276370257, 0.32347101, 0.484278023, 0.812921524, -0.00282013416, -0.858611643, 0.512618959),
1425
        CFrame.new(-0.795712531, -2.27605748, -0.675008774, 0.968845665, 0.247665286, -6.2584877E-7, -0.247665256, 0.968845665, -3.36766243E-6, -2.08616257E-7, 3.39746475E-6, 1)
1426
      }, 0.3, false)
1427
    end
1428
    Effects.Ring.Create(BrickColor.new("Bright yellow"), Barrel.CFrame, 0.05, 9999, 0.05, 0.5, 10, 0.5, 0.07)
1429
    coroutine.resume(coroutine.create(function()
1430
      for i = 0, 3 do
1431
        swait()
1432
        Hee()
1433
      end
1434
    end))
1435
    for i = 0, 1, 0.5 do
1436
      swait()
1437
      PlayAnimationFromTable({
1438
        CFrame.new(-4.02331352E-7, -0.429999679, 0.509999633, 0.454838723, 0.207662866, -0.866024196, -0.415319771, 0.909675479, 2.65391373E-6, 0.787801504, 0.359675765, 0.500002146),
1439
        CFrame.new(-0.0229135007, 1.52854931, -0.00346241146, 0.454838723, 0.0202630162, 0.890343308, 0.207662866, 0.969769061, -0.128156841, -0.866024196, 0.243181929, 0.436880678),
1440
        CFrame.new(1.34206092, -0.578433394, -0.518014491, 0.694960654, 0.00311025977, -0.719041109, -0.715354204, -0.0982373655, -0.691822171, -0.0727884769, 0.995158195, -0.0660461485),
1441
        CFrame.new(0.159522176, 0.358650804, -1.36138511, 0.0264981389, -0.398905575, 0.916609168, 0.381749183, -0.843399405, -0.378080904, 0.92388618, 0.359933168, 0.129933342),
1442
        CFrame.new(0.923282862, -1.64690685, 0.413322628, 0.946233869, -0.168109909, -0.276370257, 0.32347101, 0.484278023, 0.812921524, -0.00282013416, -0.858611643, 0.512618959),
1443
        CFrame.new(-0.866316676, -2.12141252, -0.675008297, 0.968845665, 0.247665286, -6.2584877E-7, -0.247665256, 0.968845665, -3.36766243E-6, -2.08616257E-7, 3.39746475E-6, 1)
1444
      }, 0.3, false)
1445
    end
1446
  end
1447
  Humanoid.WalkSpeed = 16
1448
  Humanoid.JumpPower = 50
1449
  shoot = false
1450
  attack = false
1451
end
1452
function reload()
1453
  attack = true
1454
  CFuncs.Sound.Create("rbxassetid://476967191", Torso, 1, 1)
1455
  Humanoid.WalkSpeed = 0
1456
  Humanoid.JumpPower = 0
1457
  for i = 0, 1, 0.1 do
1458
    swait()
1459
    PlayAnimationFromTable({
1460
      CFrame.new(1.8440187E-7, -0.139999658, 4.09781933E-8, 0.961201906, -0.10690318, -0.254288644, 0.21934697, 0.855199099, 0.469597191, 0.167265981, -0.50715512, 0.845467865),
1461
      CFrame.new(0.118516162, 1.58659482, -0.219019189, 0.961201906, 0.0477932617, 0.271674097, -0.10690318, 0.972449541, 0.20715633, -0.254288644, -0.228161901, 0.939829588),
1462
      CFrame.new(1.68424237, 0.748442292, -0.706012189, 0.99522835, -0.0820493251, -0.052807644, -0.0259959921, 0.298680395, -0.953999102, 0.094047606, 0.950819731, 0.295122236),
1463
      CFrame.new(-1.00540316, -0.0433585942, -1.04679382, 0.889593422, -0.412790358, -0.195519671, -0.0179834068, 0.396077901, -0.918040872, 0.456399381, 0.820199132, 0.344924867),
1464
      CFrame.new(0.077872172, -1.66495073, -0.965118527, 0.971758127, 0.128417134, 0.197978109, -0.14856942, 0.984753489, 0.0904862583, -0.18333964, -0.11734429, 0.976021051),
1465
      CFrame.new(-0.952379167, -2.22908545, -0.0740788579, 0.971758127, -0.0780466571, 0.222699374, -0.14856942, 0.530862331, 0.834333539, -0.18333964, -0.843856633, 0.504274428)
1466
    }, 0.3, false)
1467
  end
1468
  for i = 0, 1, 0.3 do
1469
    swait()
1470
    PlayAnimationFromTable({
1471
      CFrame.new(1.24797225E-7, -0.139999777, -1.2293458E-7, 0.912073672, -0.106903367, -0.395845294, 0.287424922, 0.855198979, 0.431302249, 0.292418867, -0.50715518, 0.810731053),
1472
      CFrame.new(0.0842576772, 1.58659482, -0.234341949, 0.912073672, 0.0129638165, 0.409821719, -0.106903367, 0.972449541, 0.207156241, -0.395845294, -0.232753009, 0.888331294),
1473
      CFrame.new(1.559021, 0.748442054, -0.951093793, 0.998059869, 0.0617666095, -0.00785881281, -0.0259962082, 0.298680305, -0.953999102, -0.0565779954, 0.952352405, 0.299706489),
1474
      CFrame.new(-1.58909011, 0.00795590132, -0.693813384, 0.872956932, 0.466834873, -0.141462982, -0.292127311, 0.268072933, -0.918040633, -0.390650928, 0.842735052, 0.370391279),
1475
      CFrame.new(-0.0680454671, -1.66495061, -0.965861261, 0.933171809, 0.109325245, 0.342401206, -0.148569614, 0.98475343, 0.0904861391, -0.3272883, -0.135309517, 0.935186505),
1476
      CFrame.new(-0.952697039, -2.22908521, 0.069880724, 0.933171809, -0.203970551, 0.295950353, -0.148569614, 0.530862331, 0.83433342, -0.3272883, -0.822545528, 0.46508193)
1477
    }, 0.3, false)
1478
  end
1479
  CFuncs.Sound.Create("rbxassetid://420157750", Torso, 1, 1)
1480
  for i = 0, 1, 0.3 do
1481
    swait()
1482
    PlayAnimationFromTable({
1483
      CFrame.new(1.24797225E-7, -0.139999777, -1.2293458E-7, 0.912073672, -0.106903367, -0.395845294, 0.287424922, 0.855198979, 0.431302249, 0.292418867, -0.50715518, 0.810731053),
1484
      CFrame.new(0.0842583403, 1.5865947, -0.234342203, 0.996350586, 0.0129648447, 0.0843672305, -0.0322037786, 0.972449422, 0.2308788, -0.0790495872, -0.232753068, 0.969317853),
1485
      CFrame.new(1.559021, 0.748442054, -0.951093793, 0.998059869, 0.0617666095, -0.00785881281, -0.0259962082, 0.298680305, -0.953999102, -0.0565779954, 0.952352405, 0.299706489),
1486
      CFrame.new(-0.412511081, -0.129949987, -1.20445538, 0.850484729, -0.506620288, -0.141463727, 0.0787711143, 0.388581336, -0.918041229, 0.520068347, 0.769636631, 0.370389462),
1487
      CFrame.new(-0.0680454671, -1.66495061, -0.965861261, 0.933171809, 0.109325245, 0.342401206, -0.148569614, 0.98475343, 0.0904861391, -0.3272883, -0.135309517, 0.935186505),
1488
      CFrame.new(-0.952697039, -2.22908521, 0.069880724, 0.933171809, -0.203970551, 0.295950353, -0.148569614, 0.530862331, 0.83433342, -0.3272883, -0.822545528, 0.46508193)
1489
    }, 0.3, false)
1490
  end
1491
  CFuncs.Sound.Create("rbxassetid://420157750", Torso, 1, 1)
1492
  for i = 0, 1, 0.1 do
1493
    swait()
1494
    PlayAnimationFromTable({
1495
      CFrame.new(1.24797225E-7, -0.139999777, -1.2293458E-7, 0.912073672, -0.106903367, -0.395845294, 0.287424922, 0.855198979, 0.431302249, 0.292418867, -0.50715518, 0.810731053),
1496
      CFrame.new(0.0842583403, 1.5865947, -0.234342203, 0.996350586, 0.0129648447, 0.0843672305, -0.0322037786, 0.972449422, 0.2308788, -0.0790495872, -0.232753068, 0.969317853),
1497
      CFrame.new(1.559021, 0.748442054, -0.951093793, 0.998059869, 0.0617666095, -0.00785881281, -0.0259962082, 0.298680305, -0.953999102, -0.0565779954, 0.952352405, 0.299706489),
1498
      CFrame.new(-1.23337948, -0.0337366089, -0.848193765, 0.985941291, 0.0889243782, -0.141466275, -0.164270043, 0.360854447, -0.91804111, -0.0305874944, 0.928373039, 0.370388746),
1499
      CFrame.new(-0.0680454671, -1.66495061, -0.965861261, 0.933171809, 0.109325245, 0.342401206, -0.148569614, 0.98475343, 0.0904861391, -0.3272883, -0.135309517, 0.935186505),
1500
      CFrame.new(-0.952697039, -2.22908521, 0.069880724, 0.933171809, -0.203970551, 0.295950353, -0.148569614, 0.530862331, 0.83433342, -0.3272883, -0.822545528, 0.46508193)
1501
    }, 0.3, false)
1502
  end
1503
  for i = 0, 1, 0.1 do
1504
    swait()
1505
    PlayAnimationFromTable({
1506
      CFrame.new(2.75671482E-7, -0.139999509, 4.84287739E-8, 0.93023777, -0.149679706, -0.335043013, 0.266118944, 0.903822243, 0.335091412, 0.252662927, -0.400875956, 0.880602121),
1507
      CFrame.new(0.146082789, 1.46556664, -0.249146447, 0.999015331, 0.0302448869, 0.0324646235, -0.0357455313, 0.982079625, 0.185046405, -0.0262861252, -0.186024636, 0.98219353),
1508
      CFrame.new(1.60341132, 0.634059429, -0.960381627, 0.999630213, 0.0153988302, -0.0224183053, -0.0267876983, 0.414896607, -0.909474254, -0.00470355153, 0.909738421, 0.415155649),
1509
      CFrame.new(-1.27817965, 0.483237952, -0.584308505, 0.9862625, -0.0390861779, -0.1604954, -0.16083923, -0.0057964623, -0.986963689, 0.0376463234, 0.999219179, -0.012003392),
1510
      CFrame.new(-0.0210132897, -1.77229953, -0.753718495, 0.947978377, 0.115773275, 0.296536177, -0.182390139, 0.960999489, 0.207879633, -0.260904163, -0.251150727, 0.932122588),
1511
      CFrame.new(-0.954967141, -2.2089045, 0.30019033, 0.947978377, -0.163744882, 0.272992253, -0.182390139, 0.423467815, 0.887360692, -0.260904163, -0.890989721, 0.371572882)
1512
    }, 0.3, false)
1513
  end
1514
  for i = 0, 1, 0.3 do
1515
    swait()
1516
    PlayAnimationFromTable({
1517
      CFrame.new(-7.69272447E-7, -0.140000135, -3.46451998E-7, 0.782381177, -0.149679378, -0.60454601, 0.356171101, 0.903822064, 0.23716639, 0.51090312, -0.400876313, 0.760444701),
1518
      CFrame.new(0.06250453, 1.46556664, -0.281969577, 0.942660391, -0.0283489227, 0.332547724, -0.0357453376, 0.982079625, 0.185045928, -0.331834137, -0.186322451, 0.924754024),
1519
      CFrame.new(1.1519953, 0.518530607, -1.48000467, 0.949874043, 0.29405424, 0.106168121, -0.0267875418, 0.414896131, -0.909474373, -0.311483502, 0.861042023, 0.40197596),
1520
      CFrame.new(-1.31573653, 0.564093769, -1.05578232, 0.985590637, -0.064363122, -0.156425014, -0.153479308, 0.0484448671, -0.986963749, 0.0711020529, 0.996749997, 0.0378683656),
1521
      CFrame.new(-0.251480341, -1.77229917, -0.710838974, 0.822034001, 0.0330443978, 0.568479002, -0.18238984, 0.960999548, 0.207879215, -0.539438784, -0.274568528, 0.796001196),
1522
      CFrame.new(-0.816619396, -2.20890474, 0.578971326, 0.822034001, -0.429472685, 0.373916447, -0.18238984, 0.423468202, 0.887360513, -0.539438784, -0.797638893, 0.269773781)
1523
    }, 0.3, false)
1524
  end
1525
  CFuncs.Sound.Create("rbxassetid://140792940", Torso, 1, 1)
1526
  for i = 0, 1, 0.3 do
1527
    swait()
1528
    PlayAnimationFromTable({
1529
      CFrame.new(8.6799264E-7, -0.139999613, 2.19792128E-7, 0.972940207, -0.00549634127, -0.230991706, 0.0912460238, 0.927601039, 0.362257659, 0.21227704, -0.373532087, 0.903001845),
1530
      CFrame.new(-0.0466574468, 1.474949, -0.231621325, 0.990165234, -0.0956909955, -0.102060065, 0.112293385, 0.978708446, 0.171814561, 0.0834459513, -0.181585401, 0.979828417),
1531
      CFrame.new(1.66388702, 0.579190969, -0.444770992, 0.987100601, -0.14505294, 0.0677664801, 0.120891877, 0.397787958, -0.90947789, 0.104965746, 0.905938506, 0.41019243),
1532
      CFrame.new(-1.6625241, 0.839273512, -0.0717586502, 0.9169752, 0.398815453, -0.0101394355, 0.00248540938, -0.0311260223, -0.999512553, -0.398936599, 0.916502833, -0.0295330286),
1533
      CFrame.new(0.323853761, -1.74355471, -0.751475215, 0.98718667, -0.00142863393, 0.159563616, -0.036436528, 0.971523821, 0.234123647, -0.155354321, -0.236937672, 0.959023356),
1534
      CFrame.new(-0.643794179, -2.33010077, 0.193637908, 0.98718667, -0.127094775, 0.0964857638, -0.036436528, 0.409146309, 0.911741078, -0.155354321, -0.903574109, 0.399272919)
1535
    }, 0.3, false)
1536
  end
1537
  for i = 0, 1, 0.3 do
1538
    swait()
1539
    PlayAnimationFromTable({
1540
      CFrame.new(-7.69272447E-7, -0.140000135, -3.46451998E-7, 0.782381177, -0.149679378, -0.60454601, 0.356171101, 0.903822064, 0.23716639, 0.51090312, -0.400876313, 0.760444701),
1541
      CFrame.new(0.06250453, 1.46556664, -0.281969577, 0.942660391, -0.0283489227, 0.332547724, -0.0357453376, 0.982079625, 0.185045928, -0.331834137, -0.186322451, 0.924754024),
1542
      CFrame.new(1.1519953, 0.518530607, -1.48000467, 0.949874043, 0.29405424, 0.106168121, -0.0267875418, 0.414896131, -0.909474373, -0.311483502, 0.861042023, 0.40197596),
1543
      CFrame.new(-1.31573653, 0.564093769, -1.05578232, 0.985590637, -0.064363122, -0.156425014, -0.153479308, 0.0484448671, -0.986963749, 0.0711020529, 0.996749997, 0.0378683656),
1544
      CFrame.new(-0.251480341, -1.77229917, -0.710838974, 0.822034001, 0.0330443978, 0.568479002, -0.18238984, 0.960999548, 0.207879215, -0.539438784, -0.274568528, 0.796001196),
1545
      CFrame.new(-0.816619396, -2.20890474, 0.578971326, 0.822034001, -0.429472685, 0.373916447, -0.18238984, 0.423468202, 0.887360513, -0.539438784, -0.797638893, 0.269773781)
1546
    }, 0.3, false)
1547
  end
1548
  CFuncs.Sound.Create("rbxassetid://140792940", Torso, 1, 1)
1549
  for i = 0, 1, 0.3 do
1550
    swait()
1551
    PlayAnimationFromTable({
1552
      CFrame.new(8.6799264E-7, -0.139999613, 2.19792128E-7, 0.972940207, -0.00549634127, -0.230991706, 0.0912460238, 0.927601039, 0.362257659, 0.21227704, -0.373532087, 0.903001845),
1553
      CFrame.new(-0.0466574468, 1.474949, -0.231621325, 0.990165234, -0.0956909955, -0.102060065, 0.112293385, 0.978708446, 0.171814561, 0.0834459513, -0.181585401, 0.979828417),
1554
      CFrame.new(1.66388702, 0.579190969, -0.444770992, 0.987100601, -0.14505294, 0.0677664801, 0.120891877, 0.397787958, -0.90947789, 0.104965746, 0.905938506, 0.41019243),
1555
      CFrame.new(-1.6625241, 0.839273512, -0.0717586502, 0.9169752, 0.398815453, -0.0101394355, 0.00248540938, -0.0311260223, -0.999512553, -0.398936599, 0.916502833, -0.0295330286),
1556
      CFrame.new(0.323853761, -1.74355471, -0.751475215, 0.98718667, -0.00142863393, 0.159563616, -0.036436528, 0.971523821, 0.234123647, -0.155354321, -0.236937672, 0.959023356),
1557
      CFrame.new(-0.643794179, -2.33010077, 0.193637908, 0.98718667, -0.127094775, 0.0964857638, -0.036436528, 0.409146309, 0.911741078, -0.155354321, -0.903574109, 0.399272919)
1558
    }, 0.3, false)
1559
  end
1560
  for i = 0, 1, 0.3 do
1561
    swait()
1562
    PlayAnimationFromTable({
1563
      CFrame.new(-7.69272447E-7, -0.140000135, -3.46451998E-7, 0.782381177, -0.149679378, -0.60454601, 0.356171101, 0.903822064, 0.23716639, 0.51090312, -0.400876313, 0.760444701),
1564
      CFrame.new(0.06250453, 1.46556664, -0.281969577, 0.942660391, -0.0283489227, 0.332547724, -0.0357453376, 0.982079625, 0.185045928, -0.331834137, -0.186322451, 0.924754024),
1565
      CFrame.new(1.1519953, 0.518530607, -1.48000467, 0.949874043, 0.29405424, 0.106168121, -0.0267875418, 0.414896131, -0.909474373, -0.311483502, 0.861042023, 0.40197596),
1566
      CFrame.new(-1.31573653, 0.564093769, -1.05578232, 0.985590637, -0.064363122, -0.156425014, -0.153479308, 0.0484448671, -0.986963749, 0.0711020529, 0.996749997, 0.0378683656),
1567
      CFrame.new(-0.251480341, -1.77229917, -0.710838974, 0.822034001, 0.0330443978, 0.568479002, -0.18238984, 0.960999548, 0.207879215, -0.539438784, -0.274568528, 0.796001196),
1568
      CFrame.new(-0.816619396, -2.20890474, 0.578971326, 0.822034001, -0.429472685, 0.373916447, -0.18238984, 0.423468202, 0.887360513, -0.539438784, -0.797638893, 0.269773781)
1569
    }, 0.3, false)
1570
  end
1571
  CFuncs.Sound.Create("rbxassetid://140792940", Torso, 1, 1)
1572
  for i = 0, 1, 0.3 do
1573
    swait()
1574
    PlayAnimationFromTable({
1575
      CFrame.new(8.6799264E-7, -0.139999613, 2.19792128E-7, 0.972940207, -0.00549634127, -0.230991706, 0.0912460238, 0.927601039, 0.362257659, 0.21227704, -0.373532087, 0.903001845),
1576
      CFrame.new(-0.0466574468, 1.474949, -0.231621325, 0.990165234, -0.0956909955, -0.102060065, 0.112293385, 0.978708446, 0.171814561, 0.0834459513, -0.181585401, 0.979828417),
1577
      CFrame.new(1.66388702, 0.579190969, -0.444770992, 0.987100601, -0.14505294, 0.0677664801, 0.120891877, 0.397787958, -0.90947789, 0.104965746, 0.905938506, 0.41019243),
1578
      CFrame.new(-1.6625241, 0.839273512, -0.0717586502, 0.9169752, 0.398815453, -0.0101394355, 0.00248540938, -0.0311260223, -0.999512553, -0.398936599, 0.916502833, -0.0295330286),
1579
      CFrame.new(0.323853761, -1.74355471, -0.751475215, 0.98718667, -0.00142863393, 0.159563616, -0.036436528, 0.971523821, 0.234123647, -0.155354321, -0.236937672, 0.959023356),
1580
      CFrame.new(-0.643794179, -2.33010077, 0.193637908, 0.98718667, -0.127094775, 0.0964857638, -0.036436528, 0.409146309, 0.911741078, -0.155354321, -0.903574109, 0.399272919)
1581
    }, 0.3, false)
1582
  end
1583
  CFuncs.Sound.Create("rbxassetid://357820124", Torso, 1, 1)
1584
  cooldown1 = 200
1585
  for i = 0, 1, 0.1 do
1586
    swait()
1587
    PlayAnimationFromTable({
1588
      CFrame.new(8.63336027E-7, -0.139999524, 2.11410224E-7, 0.972940207, -0.0703168139, -0.220097557, 0.0912460238, 0.992072761, 0.0864050239, 0.21227704, -0.104149938, 0.971643686),
1589
      CFrame.new(0.0565204546, 1.57937229, -0.254729301, 0.939605474, -0.0956909955, 0.32861048, -0.0686053783, 0.887976408, 0.454743028, -0.335313201, -0.449823558, 0.827782691),
1590
      CFrame.new(1.66388702, 0.430516392, -0.589863598, 0.987100601, -0.14505294, 0.0677664801, 0.145556614, 0.636787474, -0.757175744, 0.0666777343, 0.757272482, 0.649686694),
1591
      CFrame.new(-1.59538066, 0.0678503811, 0.220779896, 0.9169752, 0.259564161, 0.302957177, -0.109948099, 0.8944121, -0.433518767, -0.383494496, 0.364216447, 0.848692358),
1592
      CFrame.new(0.323853761, -1.88460708, -0.230116844, 0.98718667, -0.00142863393, 0.159563616, -0.0787070394, 0.865496337, 0.494693071, -0.138808474, -0.500913203, 0.854294121),
1593
      CFrame.new(-0.643794179, -2.1812942, 0.841914892, 0.98718667, -0.127094775, 0.0964857638, -0.0787070394, 0.138161942, 0.987277389, -0.138808474, -0.982221127, 0.126388401)
1594
    }, 0.3, false)
1595
    FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0 + 360 * i), math.rad(0)), 0.3)
1596
  end
1597
  for i = 0, 1, 0.1 do
1598
    swait()
1599
    PlayAnimationFromTable({
1600
      CFrame.new(-4.63598553E-7, -0.139999643, 7.72997737E-8, 0.99752301, -0.0703164712, -0.00185317313, 0.0701259971, 0.992072821, 0.104278311, -0.00549399992, -0.104149975, 0.994546473),
1601
      CFrame.new(0.110893115, 1.57937193, -0.236186981, 0.78559494, 0.00506232027, 0.618720472, -0.288064182, 0.887976527, 0.358492374, -0.547594428, -0.459860921, 0.699048221),
1602
      CFrame.new(1.75263917, 0.430516958, -0.211456299, 0.948584676, -0.307252407, -0.0760475099, 0.145556927, 0.636787355, -0.757175744, 0.281070143, 0.707176089, 0.648769379),
1603
      CFrame.new(-1.60502636, 0.0678498447, -0.133690476, 0.978670716, 0.173570752, 0.109894, -0.109947756, 0.89441222, -0.433518827, -0.173536703, 0.412189603, 0.894418776),
1604
      CFrame.new(0.366361797, -1.88460708, -0.153670132, 0.993635535, 0.108221181, -0.0312502384, -0.0787066966, 0.865496516, 0.494693041, 0.0805832371, -0.489084959, 0.868505836),
1605
      CFrame.new(-0.812426805, -2.18129468, 0.68062675, 0.993635535, 0.0909263268, 0.0664891303, -0.0787066966, 0.138162017, 0.987277448, 0.0805832371, -0.986226976, 0.144439206)
1606
    }, 0.3, false)
1607
    FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0 + 360 * i), math.rad(0)), 0.3)
1608
  end
1609
  for i = 0, 1, 0.1 do
1610
    swait()
1611
    PlayAnimationFromTable({
1612
      CFrame.new(-4.63598553E-7, -0.139999643, 7.72997737E-8, 0.99752301, -0.0703164712, -0.00185317313, 0.0701259971, 0.992072821, 0.104278311, -0.00549399992, -0.104149975, 0.994546473),
1613
      CFrame.new(0.110893264, 1.57937276, -0.236186564, 0.891458511, 0.00506000547, -0.453074306, 0.204350829, 0.887976766, 0.411992967, 0.404404104, -0.459860682, 0.790560246),
1614
      CFrame.new(1.75263917, 0.430516958, -0.211456299, 0.948584676, -0.307252407, -0.0760475099, 0.145556927, 0.636787355, -0.757175744, 0.281070143, 0.707176089, 0.648769379),
1615
      CFrame.new(-1.60502636, 0.0678498447, -0.133690476, 0.978670716, 0.173570752, 0.109894, -0.109947756, 0.89441222, -0.433518827, -0.173536703, 0.412189603, 0.894418776),
1616
      CFrame.new(0.366361797, -1.88460708, -0.153670132, 0.993635535, 0.108221181, -0.0312502384, -0.0787066966, 0.865496516, 0.494693041, 0.0805832371, -0.489084959, 0.868505836),
1617
      CFrame.new(-0.812426805, -2.18129468, 0.68062675, 0.993635535, 0.0909263268, 0.0664891303, -0.0787066966, 0.138162017, 0.987277448, 0.0805832371, -0.986226976, 0.144439206)
1618
    }, 0.3, false)
1619
    FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0 + 360 * i), math.rad(0)), 0.3)
1620
  end
1621
  Humanoid.WalkSpeed = 16
1622
  Humanoid.JumpPower = 50
1623
  attack = false
1624
end
1625
mouse.Button1Down:connect(function()
1626
  if attack == false and aiming == false then
1627
    Aim()
1628
  end
1629
end)
1630
mouse.Button1Up:connect(function()
1631
  if attack == true and aiming == true then
1632
    attack = false
1633
    aiming = false
1634
    Humanoid.WalkSpeed = 14
1635
    Humanoid.JumpPower = 50
1636
    shoot = false
1637
  end
1638
end)
1639
mouse.KeyDown:connect(function(k)
1640
  k = k:lower()
1641
  if attack == true and aiming == true and hot == false and k == "z" then
1642
    fire()
1643
  elseif attack == false and aiming == false and hot == false and k == "c" and co3 <= cooldown3 then
1644
    cooldown3 = 0
1645
    baka()
1646
  elseif attack == false and aiming == false and hot == false and k == "v" and co4 <= cooldown4 then
1647
    cooldown4 = 0
1648
    bulletrain()
1649
  elseif attack == false and aiming == false and hot == false and k == "x" and co2 <= cooldown2 then
1650
    cooldown2 = 0
1651
    reload()
1652
  end
1653
end)
1654
mouse.KeyUp:connect(function(k)
1655
  k = k:lower()
1656
  if attack == true and aiming == true and hot == true and k == "z" then
1657
    shoot = false
1658
  end
1659
end)
1660
function updateskills()
1661
  if aiming == false then
1662
    text1.Text = [[
1663
[Z]
1664
 N/A]]
1665
  else
1666
    text1.Text = [[
1667
[Z]
1668
 Fire]]
1669
  end
1670
  if cooldown2 <= co2 then
1671
    cooldown2 = cooldown2 + 0.033333333333333
1672
  end
1673
  if cooldown3 <= co3 then
1674
    cooldown3 = cooldown3 + 0.2
1675
  end
1676
  if cooldown4 <= co4 then
1677
    cooldown4 = cooldown4 + 0.033333333333333
1678
  end
1679
end
1680
Humanoid.WalkSpeed = 14
1681
local Freeze = false
1682
function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
1683
  for i, v in pairs(hit:GetChildren()) do
1684
    if v:IsA("Humanoid") and hit.Name ~= Character.Name then
1685
      local find = v:FindFirstChild("DebounceHit")
1686
      if not find then
1687
        if v.Parent:findFirstChild("Head") then
1688
          do
1689
            local BillG = Create("BillboardGui")({
1690
              Parent = v.Parent.Head,
1691
              Size = UDim2.new(1, 0, 1, 0),
1692
              Adornee = v.Parent.Head,
1693
              StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3))
1694
            })
1695
            local TL = Create("TextLabel")({
1696
              Parent = BillG,
1697
              Size = UDim2.new(3, 3, 3, 3),
1698
              BackgroundTransparency = 1,
1699
              Text = tostring(damage) .. "-",
1700
              TextColor3 = Color1.Color,
1701
              TextStrokeColor3 = Color2.Color,
1702
              TextStrokeTransparency = 0,
1703
              TextXAlignment = Enum.TextXAlignment.Center,
1704
              TextYAlignment = Enum.TextYAlignment.Center,
1705
              FontSize = Enum.FontSize.Size18,
1706
              Font = "ArialBold"
1707
            })
1708
            coroutine.resume(coroutine.create(function()
1709
              swait(1)
1710
              for i = 0, 1, 0.1 do
1711
                swait(0.1)
1712
                BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, 0.1, 0)
1713
              end
1714
              BillG:Destroy()
1715
            end))
1716
          end
1717
        end
1718
        if Freeze == false then
1719
          v.Health = v.Health - damage
1720
        elseif Freeze == true then
1721
          v.Health = v.Health - damage
1722
          v.Parent.Torso.Anchored = true
1723
          CFuncs.Sound.Create("http://www.roblox.com/asset/?id=338594574", v.Parent.Torso, 1, 1)
1724
          for i = 1, 6 do
1725
            Effects.Freeze.Create(BrickColor.new("Bright yellow"), v.Parent.Torso.CFrame, 0.5, 0.5, 0.5, 0.1, 0.3, 0.1)
1726
            Effects.Break.Create(BrickColor.new("Bright yellow"), v.Parent.Torso.CFrame, 0.5, math.random(5, 15), 0.5)
1727
          end
1728
          for i = 1, 10 do
1729
            local freezepart = CFuncs.Part.Create(v.Parent, "Neon", 0.5, 0.85, BrickColor.new("Bright yellow"), "Ice Part", Vector3.new(math.random(2, 3) + math.random(), math.random(2, 3) + math.random(), math.random(2, 3) + math.random()))
1730
            freezepart.Anchored = true
1731
            freezepart.CFrame = v.Parent.Torso.CFrame * CFrame.new(math.random(-1, 0) + math.random(), -2.5, math.random(-1, 0) + math.random()) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1732
            coroutine.resume(coroutine.create(function(Part)
1733
              swait(80)
1734
              CFuncs.Sound.Create("http://www.roblox.com/asset/?id=338594737", v.Parent.Torso, 1, 1)
1735
              v.Parent.Torso.Anchored = false
1736
              Part.Anchored = false
1737
              Part.Velocity = Vector3.new(math.random(-20, 20), math.random(20, 30), math.random(-20, 20))
1738
              game:GetService("Debris"):AddItem(Part, 5)
1739
            end), freezepart)
1740
          end
1741
        end
1742
        local bool = Create("BoolValue")({
1743
          Parent = v,
1744
          Name = "DebounceHit"
1745
        })
1746
        if HSound ~= nil and HPitch ~= nil then
1747
          CFuncs.Sound.Create(HSound, v.Parent.Torso, 1, HPitch)
1748
        end
1749
        game:GetService("Debris"):AddItem(bool, cooldown)
1750
      end
1751
    end
1752
  end
1753
end
1754
function MagnitudeDamage(Part, magni, mindam, maxdam, Color1, Color2, HSound, HPitch)
1755
  for _, c in pairs(workspace:children()) do
1756
    local hum = c:findFirstChild("Humanoid")
1757
    if hum ~= nil then
1758
      local head = c:findFirstChild("Torso")
1759
      if head ~= nil then
1760
        local targ = head.Position - Part.Position
1761
        local mag = targ.magnitude
1762
        if magni >= mag and c.Name ~= Player.Name then
1763
          Damage(head.Parent, math.random(mindam, maxdam), 0, Color1, Color2, HSound, HPitch)
1764
        end
1765
      end
1766
    end
1767
  end
1768
end
1769
while true do
1770
  swait()
1771
  updateskills()
1772
  bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
1773
  bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
1774
  bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
1775
  bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
1776
  if shoot == false then
1777
    soe:Stop()
1778
  end
1779
  if aiming == false then
1780
    spim:Stop()
1781
  end
1782
  if aiming == true then
1783
    local aim = CFrame.new(RootPart.Position, mouse.Hit.p)
1784
    local direction = aim.lookVector
1785
    local headingA = math.atan2(direction.x, direction.z)
1786
    headingA = math.deg(headingA)
1787
    Humanoid.AutoRotate = false
1788
    RootPart.CFrame = CFrame.new(RootPart.Position) * angles(math.rad(0), math.rad(headingA - 180), math.rad(0))
1789
  else
1790
    Humanoid.AutoRotate = true
1791
  end
1792
  for i, v in pairs(Character:GetChildren()) do
1793
    if v:IsA("Part") then
1794
      v.Material = "SmoothPlastic"
1795
    elseif v:IsA("Hat") then
1796
      v:WaitForChild("Handle").Material = "SmoothPlastic"
1797
    end
1798
  end
1799
  Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
1800
  velocity = RootPart.Velocity.y
1801
  sine = sine + change
1802
  local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
1803
  if equipped == true or equipped == false then
1804
    if 1 < RootPart.Velocity.y and hit == nil then
1805
      Anim = "Jump"
1806
      if attack == false then
1807
        RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
1808
        Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3)
1809
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, -0.3) * angles(math.rad(80), math.rad(-50), math.rad(30)), 0.3)
1810
        LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.4, -1) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
1811
        RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(-50), math.rad(0), math.rad(0)), 0.3)
1812
        LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1813
        FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-130)), 0.3)
1814
        FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1815
        FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-120)), 0.3)
1816
      end
1817
    elseif RootPart.Velocity.y < -1 and hit == nil then
1818
      Anim = "Fall"
1819
      if attack == false then
1820
        RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(20), math.rad(-30), math.rad(0)), 0.3)
1821
        Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(-20), math.rad(30), math.rad(0)), 0.3)
1822
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, -0.3) * angles(math.rad(80), math.rad(-50), math.rad(30)), 0.3)
1823
        LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.4, -1) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
1824
        RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(-50), math.rad(0), math.rad(0)), 0.3)
1825
        LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1826
        FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-130)), 0.3)
1827
        FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1828
        FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-120)), 0.3)
1829
      end
1830
    elseif Torsovelocity < 1 and hit ~= nil then
1831
      Anim = "Idle"
1832
      if attack == false then
1833
        change = 1
1834
        RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(-60), math.rad(0)), 0.3)
1835
        Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(60), math.rad(0)), 0.3)
1836
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, -0.3) * angles(math.rad(70), math.rad(0), math.rad(0)), 0.3)
1837
        LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.4, -1) * angles(math.rad(70), math.rad(0), math.rad(30)), 0.3)
1838
        RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1839
        LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1840
        FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3)
1841
        FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1842
      end
1843
    elseif Torsovelocity > 2 and hit ~= nil then
1844
      Anim = "Walk"
1845
      if attack == false then
1846
        RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(-20), math.rad(-30), math.rad(0)), 0.3)
1847
        Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(20), math.rad(30), math.rad(0)), 0.3)
1848
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, -0.3) * angles(math.rad(80), math.rad(-50), math.rad(30)), 0.3)
1849
        LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.4, -1) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
1850
        RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0 + 1 * math.cos(sine / 3)) * angles(math.rad(0 - 50 * math.cos(sine / 3)), math.rad(0), math.rad(0)), 0.3)
1851
        LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0 - 1 * math.cos(sine / 3)) * angles(math.rad(0 + 50 * math.cos(sine / 3)), math.rad(0), math.rad(0)), 0.3)
1852
        FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-130)), 0.3)
1853
        FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1854
        FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-120)), 0.3)
1855
      end
1856
    end
1857
  end
1858
  if 0 < #Effects then
1859
    for e = 1, #Effects do
1860
      if Effects[e] ~= nil then
1861
        local Thing = Effects[e]
1862
        if Thing ~= nil then
1863
          local Part = Thing[1]
1864
          local Mode = Thing[2]
1865
          local Delay = Thing[3]
1866
          local IncX = Thing[4]
1867
          local IncY = Thing[5]
1868
          local IncZ = Thing[6]
1869
          if Thing[1].Transparency <= 1 then
1870
            if Thing[2] == "Block1" then
1871
              Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1872
              Mesh = Thing[1].Mesh
1873
              Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1874
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1875
            elseif Thing[2] == "QuadShot" then
1876
              if Thing[5] < 49 then
1877
                Thing[5] = Thing[5] + 1.5
1878
                Thing[4].Scale = Vector3.new(Thing[5], 5, Thing[5])
1879
              else
1880
                refda = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
1881
                refda.Anchored = true
1882
                refda.CFrame = CFrame.new(Thing[1].Position)
1883
                game:GetService("Debris"):AddItem(refda, 5)
1884
                CFuncs.Sound.Create("rbxassetid://300916105", refda, 1, 0.5)
1885
                CFuncs.Sound.Create("rbxassetid://184718741", refda, 1, 0.8)
1886
                MagnitudeDamage(refda, 40, 10, 14, BrickColor.new("Bright yellow"), BrickColor.new("Navy blue"))
1887
                Effects.Cylinder.Create(BrickColor.new("Really black"), CFrame.new(refda.Position), 5, 9999, 5, 5, 10, 5, 0.05)
1888
                Effects.Sphere.Create(BrickColor.new("Bright yellow"), refda.CFrame, 5, 10, 5, 5, 10, 3, 0.06)
1889
                Effects.Block.Create(BrickColor.new("Bright yellow"), refda.CFrame, 5, 5, 5, 5, 5, 5, 0.06, 1)
1890
                Effects.Wave.Create(BrickColor.new("Bright yellow"), refda.CFrame, 0.1, 0.1, 0.1, 0.5, 0.5, 0.5, 0.06)
1891
                Thing[1].Parent = nil
1892
                table.remove(Effects, e)
1893
              end
1894
            elseif Thing[2] == "QuadShot2" then
1895
              if Thing[5] < 499 then
1896
                Thing[5] = Thing[5] + 1.5
1897
                Thing[4].Scale = Vector3.new(Thing[5], 5, Thing[5])
1898
              else
1899
                refda = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
1900
                refda.Anchored = true
1901
                refda.CFrame = CFrame.new(Thing[1].Position)
1902
                game:GetService("Debris"):AddItem(refda, 5)
1903
                CFuncs.Sound.Create("rbxassetid://300916105", refda, 1, 0.5)
1904
                CFuncs.Sound.Create("rbxassetid://184718741", refda, 1, 0.8)
1905
                MagnitudeDamage(refda, 40, 20, 30, BrickColor.new("Bright yellow"), BrickColor.new("Navy blue"))
1906
                Effects.Cylinder.Create(BrickColor.new("Really black"), CFrame.new(refda.Position), 50, 9999, 50, 50, 100, 50, 0.05)
1907
                Effects.Sphere.Create(BrickColor.new("Bright yellow"), refda.CFrame, 50, 100, 50, 50, 100, 30, 0.06)
1908
                Effects.Block.Create(BrickColor.new("Bright yellow"), refda.CFrame, 50, 50, 50, 50, 50, 50, 0.06, 1)
1909
                Effects.Wave.Create(BrickColor.new("Bright yellow"), refda.CFrame, 0.5, 0.5, 0.5, 1, 1, 1, 0.06)
1910
                Thing[1].Parent = nil
1911
                table.remove(Effects, e)
1912
              end
1913
            elseif Thing[2] == "Block2" then
1914
              Thing[1].CFrame = Thing[1].CFrame
1915
              Mesh = Thing[7]
1916
              Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1917
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1918
            elseif Thing[2] == "Cylinder" then
1919
              Mesh = Thing[1].Mesh
1920
              Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1921
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1922
            elseif Thing[2] == "Blood" then
1923
              Mesh = Thing[7]
1924
              Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
1925
              Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1926
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1927
            elseif Thing[2] == "Elec" then
1928
              Mesh = Thing[1].Mesh
1929
              Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
1930
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1931
            elseif Thing[2] == "Disappear" then
1932
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1933
            elseif Thing[2] == "Shatter" then
1934
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1935
              Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
1936
              Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
1937
              Thing[6] = Thing[6] + Thing[5]
1938
            end
1939
          else
1940
            Part.Parent = nil
1941
            table.remove(Effects, e)
1942
          end
1943
        end
1944
      end
1945
    end
1946
  end
1947
end