View difference between Paste ID: ThGHU8vj and u21kFC5v
SHOW: | | - or go back to the newest paste.
1-
wait(0.016666666666667)
1+
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2
local Player = owner
3-
local Player = game.Players.LocalPlayer
3+
local Mouse,mouse,UserInputService,ContextActionService
4
do
5
    script.Parent = RhiBel00351
6
    local CAS = {Actions={}}
7
    local Event = Instance.new("RemoteEvent")
8
    Event.Name = "UserInput_Event"
9
    Event.Parent = Player.Character
10
    local fakeEvent = function()
11
        local t = {_fakeEvent=true}
12
        t.Connect = function(self,f)self.Function=f end
13
        t.connect = t.Connect
14
        return t
15
    end
16
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
17
    local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
18
    function CAS:BindAction(name,fun,touch,...)
19
        CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
20
    end
21
    function CAS:UnbindAction(name)
22
        CAS.Actions[name] = nil
23
    end
24
    local function te(self,ev,...)
25
        local t = m[ev]
26
        if t and t._fakeEvent and t.Function then
27
            t.Function(...)
28
        end
29
    end
30
    m.TrigEvent = te
31
    UIS.TrigEvent = te
32
    Event.OnServerEvent:Connect(function(plr,io)
33
        if plr~=Player then return end
34
        if io.isMouse then
35
            m.Target = io.Target
36
            m.Hit = io.Hit
37
        elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
38
            if io.UserInputState == Enum.UserInputState.Begin then
39
                m:TrigEvent("Button1Down")
40
            else
41
                m:TrigEvent("Button1Up")
42
            end
43
        else
44
            for n,t in pairs(CAS.Actions) do
45
                for _,k in pairs(t.Keys) do
46
                    if k==io.KeyCode then
47
                        t.Function(t.Name,io.UserInputState,io)
48
                    end
49
                end
50
            end
51
            if io.UserInputState == Enum.UserInputState.Begin then
52
                m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
53
                UIS:TrigEvent("InputBegan",io,false)
54
            else
55
                m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
56
                UIS:TrigEvent("InputEnded",io,false)
57
            end
58
        end
59
    end)
60
    NLS([==[
61
    local Player = game:GetService("Players").LocalPlayer
62
   
63
    local Char = Player.Character
64
    local Event = Char:WaitForChild("UserInput_Event")
65
   
66
    local UIS = game:GetService("UserInputService")
67
   
68
    local input = function(io,a)
69
        if a then return end
70
        local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}
71
        Event:FireServer(io)
72
    end
73
    UIS.InputBegan:Connect(input)
74
    UIS.InputEnded:Connect(input)
75
    local Changed = false
76
    local Mouse = Player:GetMouse()
77
    local h,t = Mouse.Hit,Mouse.Target
78
    while wait(1/30) do
79
        if h~=Mouse.Hit or t~=Mouse.Target then
80
            Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit})
81
            h,t=Mouse.Hit,Mouse.Target
82
        end
83
    end
84
    ]==],Player.Character)
85
    Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
86
end
87
88
wait(0.2)
89
90
--https://github.com/Mokiros/roblox-FE-compatibility
91
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
92
local Player,game,owner = owner,game
93
local RealPlayer = Player
94
do
95
	print("FE Compatibility code V2 by Mokiros")
96
	local RealPlayer = RealPlayer
97
	script.Parent = RealPlayer.Character
98
99
	--Fake event to make stuff like Mouse.KeyDown work
100
	local Disconnect_Function = function(this)
101
		this[1].Functions[this[2]] = nil
102
	end
103
	local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
104
	local FakeEvent_Metatable = {__index={
105
		Connect = function(this,f)
106
			local i = tostring(math.random(0,10000))
107
			while this.Functions[i] do
108
				i = tostring(math.random(0,10000))
109
			end
110
			this.Functions[i] = f
111
			return setmetatable({this,i},Disconnect_Metatable)
112
		end
113
	}}
114
	FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
115
	local function fakeEvent()
116
		return setmetatable({Functions={}},FakeEvent_Metatable)
117
	end
118
119
	--Creating fake input objects with fake variables
120
    local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
121
    FakeMouse.keyUp = FakeMouse.KeyUp
122
    FakeMouse.keyDown = FakeMouse.KeyDown
123
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
124
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
125
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
126
	end}
127
	--Merged 2 functions into one by checking amount of arguments
128
	CAS.UnbindAction = CAS.BindAction
129
130
	--This function will trigger the events that have been :Connect()'ed
131
	local function TriggerEvent(self,ev,...)
132
		for _,f in pairs(self[ev].Functions) do
133
			f(...)
134
		end
135
	end
136
	FakeMouse.TriggerEvent = TriggerEvent
137
	UIS.TriggerEvent = TriggerEvent
138
139
	--Client communication
140
	local Event = Instance.new("RemoteEvent")
141
	Event.Name = "UserInput_Event"
142
	Event.OnServerEvent:Connect(function(plr,io)
143
	    if plr~=RealPlayer then return end
144
		FakeMouse.Target = io.Target
145
		FakeMouse.Hit = io.Hit
146
		if not io.isMouse then
147
			local b = io.UserInputState == Enum.UserInputState.Begin
148
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
149
				return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
150
			end
151
			if io.UserInputType == Enum.UserInputType.MouseButton2 then
152
				return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
153
			end
154
			for _,t in pairs(CAS.Actions) do
155
				for _,k in pairs(t.Keys) do
156
					if k==io.KeyCode then
157
						t.Function(t.Name,io.UserInputState,io)
158
					end
159
				end
160
			end
161
			FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
162
			UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
163
	    end
164
	end)
165
	Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
166
	local Mouse = owner:GetMouse()
167
	local UIS = game:GetService("UserInputService")
168
	local input = function(io,RobloxHandled)
169
		if RobloxHandled then return end
170
		--Since InputObject is a client-side instance, we create and pass table instead
171
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
172
	end
173
	UIS.InputBegan:Connect(input)
174
	UIS.InputEnded:Connect(input)
175
176
	local h,t
177
	--Give the server mouse data every second frame, but only if the values changed
178
	--If player is not moving their mouse, client won't fire events
179
	local HB = game:GetService("RunService").Heartbeat
180
	while true do
181
		if h~=Mouse.Hit or t~=Mouse.Target then
182
			h,t=Mouse.Hit,Mouse.Target
183
			Event:FireServer({isMouse=true,Target=t,Hit=h})
184
		end
185
		--Wait 2 frames
186
		for i=1,2 do
187
			HB:Wait()
188
		end
189
	end]==],script)
190
191
	----Sandboxed game object that allows the usage of client-side methods and services
192
	--Real game object
193
	local RealGame = game
194
195
	--Metatable for fake service
196
	local FakeService_Metatable = {
197
		__index = function(self,k)
198
			local s = rawget(self,"_RealService")
199
			if s then
200
				return typeof(s[k])=="function"
201
				and function(_,...)return s[k](s,...)end or s[k]
202
			end
203
		end,
204
		__newindex = function(self,k,v)
205
			local s = rawget(self,"_RealService")
206
			if s then s[k]=v end
207
		end
208
	}
209
	local function FakeService(t,RealService)
210
		t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
211
		return setmetatable(t,FakeService_Metatable)
212
	end
213
214
	--Fake game object
215
	local FakeGame = {
216
		GetService = function(self,s)
217
			return rawget(self,s) or RealGame:GetService(s)
218
		end,
219
		Players = FakeService({
220
			LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
221
		},"Players"),
222
		UserInputService = FakeService(UIS,"UserInputService"),
223
		ContextActionService = FakeService(CAS,"ContextActionService"),
224
		RunService = FakeService({
225
			_btrs = {},
226
			RenderStepped = RealGame:GetService("RunService").Heartbeat,
227
			BindToRenderStep = function(self,name,_,fun)
228
				self._btrs[name] = self.Heartbeat:Connect(fun)
229
			end,
230
			UnbindFromRenderStep = function(self,name)
231
				self._btrs[name]:Disconnect()
232
			end,
233
		},"RunService")
234
	}
235
	rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
236
	FakeGame.service = FakeGame.GetService
237
	FakeService(FakeGame,game)
238
	--Changing owner to fake player object to support owner:GetMouse()
239
	game,owner = FakeGame,FakeGame.Players.LocalPlayer
240
end
241
242
wait(0.2)
243
244
script.Name = "Chaos"
245
local Player = owner
246
repeat
247
  wait()
248
until Player
249
local Character = Player.Character
250
repeat
251
  wait()
252
until Character
253
local Effects = {}
254
local Humanoid = Character.Humanoid
255
local mouse = Player:GetMouse()
256
local m = Instance.new("Model", Character)
257
m.Name = "WeaponModel"
258
local LeftArm = Character["Left Arm"]
259
local RightArm = Character["Right Arm"]
260
local LeftLeg = Character["Left Leg"]
261
local RightLeg = Character["Right Leg"]
262
local Head = Character.Head
263
local Torso = Character.Torso
264
local cam = game.Workspace.CurrentCamera
265
local RootPart = Character.HumanoidRootPart
266
local RootJoint = RootPart.RootJoint
267
local equipped = false
268
local attack = false
269
local Anim = "Idle"
270
local idle = 0
271
local attacktype = 1
272
local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
273
local velocity = RootPart.Velocity.y
274
local sine = 0
275
local change = 1
276
local grabbed = false
277
local cn = CFrame.new
278
local mr = math.rad
279
local angles = CFrame.Angles
280
local ud = UDim2.new
281
local c3 = Color3.new
282
Humanoid.Animator.Parent = nil
283
Character.Animate.Parent = nil
284
local newFakeMotor = function(part0, part1, c0, c1)
285
  local w = Instance.new("Motor", part0)
286
  w.Part0 = part0
287
  w.Part1 = part1
288
  w.C0 = c0
289
  w.C1 = c1
290
  return w
291
end
292
function clerp(a, b, t)
293
  return a:lerp(b, t)
294
end
295
RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
296
NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
297
local RW = newFakeMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
298
local LW = newFakeMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
299
local RH = newFakeMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
300
local LH = newFakeMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
301
RootJoint.C1 = CFrame.new(0, 0, 0)
302
RootJoint.C0 = CFrame.new(0, 0, 0)
303
Torso.Neck.C1 = CFrame.new(0, 0, 0)
304
Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
305
local rarmc1 = RW.C1
306
local larmc1 = LW.C1
307
local rlegc1 = RH.C1
308
local llegc1 = LH.C1
309
local resetc1 = false
310
function PlayAnimationFromTable(table, speed, bool)
311
  RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
312
  Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
313
  RW.C0 = clerp(RW.C0, table[3], speed)
314
  LW.C0 = clerp(LW.C0, table[4], speed)
315
  RH.C0 = clerp(RH.C0, table[5], speed)
316
  LH.C0 = clerp(LH.C0, table[6], speed)
317
  if bool == true and resetc1 == false then
318
    resetc1 = true
319
    RootJoint.C1 = RootJoint.C1
320
    Torso.Neck.C1 = Torso.Neck.C1
321
    RW.C1 = rarmc1
322
    LW.C1 = larmc1
323
    RH.C1 = rlegc1
324
    LH.C1 = llegc1
325
  end
326
end
327
ArtificialHB = Instance.new("BindableEvent", Player.PlayerGui)
328
ArtificialHB.Name = "Heartbeat"
329
Player.PlayerGui:WaitForChild("Heartbeat")
330
frame = 0.033333333333333
331
tf = 0
332
allowframeloss = false
333
tossremainder = false
334
lastframe = tick()
335
Player.PlayerGui.Heartbeat:Fire()
336
local gg = false
337
game:GetService("RunService").Heartbeat:connect(function(s, p)
338
  if Player.PlayerGui:FindFirstChild("Heartbeat") == nil then
339
    gg = true
340
  end
341
  if gg == true then
342
    return
343
  end
344
  tf = tf + s
345
  if frame <= tf then
346
    if allowframeloss then
347
      Player.PlayerGui.Heartbeat:Fire()
348
      lastframe = tick()
349
    else
350
      for i = 1, math.floor(tf / frame) do
351
        Player.PlayerGui.Heartbeat:Fire()
352
      end
353
      lastframe = tick()
354
    end
355
    if tossremainder then
356
      tf = 0
357
    else
358
      tf = tf - frame * math.floor(tf / frame)
359
    end
360
  end
361
end)
362
function swait(num)
363
  if num == 0 or num == nil then
364
    ArtificialHB.Event:wait()
365
  else
366
    for i = 0, num do
367
      ArtificialHB.Event:wait()
368
    end
369
  end
370
end
371
local RbxUtility = LoadLibrary("RbxUtility")
372
local Create = RbxUtility.Create
373
function RemoveOutlines(part)
374
  part.TopSurface = 10
375
end
376
local co1 = 200
377
local co2 = 20
378
local co3 = 60
379
local co4 = 40
380
local cooldown1 = 200
381
local cooldown2 = 0
382
local cooldown3 = 0
383
local cooldown4 = 0
384
local skillcolorscheme = BrickColor.new("Bright yellow").Color
385
local scrn = Instance.new("ScreenGui", Player.PlayerGui)
386
function makeframe(par, trans, pos, size, color)
387
  local frame = Instance.new("Frame", par)
388
  frame.BackgroundTransparency = trans
389
  frame.BorderSizePixel = 0
390
  frame.Position = pos
391
  frame.Size = size
392
  frame.BackgroundColor3 = color
393
  return frame
394
end
395
function makelabel(par, text)
396
  local label = Instance.new("TextLabel", par)
397
  label.BackgroundTransparency = 1
398
  label.Size = UDim2.new(1, 0, 1, 0)
399
  label.Position = UDim2.new(0, 0, 0, 0)
400
  label.TextColor3 = Color3.new(255, 255, 255)
401
  label.TextStrokeTransparency = 0
402
  label.FontSize = Enum.FontSize.Size32
403
  label.Font = Enum.Font.SourceSansLight
404
  label.BorderSizePixel = 0
405
  label.TextScaled = true
406
  label.Text = text
407
end
408
framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
409
framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
410
framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
411
framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
412
bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
413
bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
414
bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
415
bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
416
text1 = Instance.new("TextLabel", framesk1)
417
text1.BackgroundTransparency = 1
418
text1.Size = UDim2.new(1, 0, 1, 0)
419
text1.Position = UDim2.new(0, 0, 0, 0)
420
text1.TextColor3 = Color3.new(255, 255, 255)
421
text1.TextStrokeTransparency = 0
422
text1.FontSize = Enum.FontSize.Size18
423
text1.Font = Enum.Font.SourceSansLight
424
text1.BorderSizePixel = 0
425
text1.TextScaled = true
426
text1.Text = [[
427
[Z]
428
 N/A]]
429
text2 = Instance.new("TextLabel", framesk2)
430
text2.BackgroundTransparency = 1
431
text2.Size = UDim2.new(1, 0, 1, 0)
432
text2.Position = UDim2.new(0, 0, 0, 0)
433
text2.TextColor3 = Color3.new(255, 255, 255)
434
text2.TextStrokeTransparency = 0
435
text2.FontSize = Enum.FontSize.Size18
436
text2.Font = Enum.Font.SourceSansLight
437
text2.BorderSizePixel = 0
438
text2.TextScaled = true
439
text2.Text = [[
440
[X]
441
 Reload]]
442
text3 = Instance.new("TextLabel", framesk3)
443
text3.BackgroundTransparency = 1
444
text3.Size = UDim2.new(1, 0, 1, 0)
445
text3.Position = UDim2.new(0, 0, 0, 0)
446
text3.TextColor3 = Color3.new(255, 255, 255)
447
text3.TextStrokeTransparency = 0
448
text3.FontSize = Enum.FontSize.Size18
449
text3.Font = Enum.Font.SourceSansLight
450
text3.BorderSizePixel = 0
451
text3.TextScaled = false
452
text3.Text = [[
453
[C]
454
 Nuclear strike]]
455
text4 = Instance.new("TextLabel", framesk4)
456
text4.BackgroundTransparency = 1
457
text4.Size = UDim2.new(1, 0, 1, 0)
458
text4.Position = UDim2.new(0, 0, 0, 0)
459
text4.TextColor3 = Color3.new(255, 255, 255)
460
text4.TextStrokeTransparency = 0
461
text4.FontSize = Enum.FontSize.Size18
462
text4.Font = Enum.Font.SourceSansLight
463
text4.BorderSizePixel = 0
464
text4.TextScaled = true
465
text4.Text = [[
466
[V]
467
 Nuclear rain]]
468
function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
469
  local Part = Create("Part")({
470
    Parent = Parent,
471
    Reflectance = Reflectance,
472
    Transparency = Transparency,
473
    CanCollide = false,
474
    Locked = true,
475
    BrickColor = BrickColor.new(tostring(BColor)),
476
    Name = Name,
477
    Size = Size,
478
    Material = Material
479
  })
480
  RemoveOutlines(Part)
481
  return Part
482
end
483
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
484
  local Msh = Create(Mesh)({
485
    Parent = Part,
486
    Offset = OffSet,
487
    Scale = Scale
488
  })
489
  if Mesh == "SpecialMesh" then
490
    Msh.MeshType = MeshType
491
    Msh.MeshId = MeshId
492
  end
493
  return Msh
494
end
495
function CreateWeld(Parent, Part0, Part1, C0, C1)
496
  local Weld = Create("Weld")({
497
    Parent = Parent,
498
    Part0 = Part0,
499
    Part1 = Part1,
500
    C0 = C0,
501
    C1 = C1
502
  })
503
  return Weld
504
end
505
CFuncs = {
506
  Part = {
507
    Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
508
      local Part = Create("Part")({
509
        Parent = Parent,
510
        Reflectance = Reflectance,
511
        Transparency = Transparency,
512
        CanCollide = false,
513
        Locked = true,
514
        BrickColor = BrickColor.new(tostring(BColor)),
515
        Name = Name,
516
        Size = Size,
517
        Material = Material
518
      })
519
      RemoveOutlines(Part)
520
      return Part
521
    end
522
  },
523
  Mesh = {
524
    Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
525
      local Msh = Create(Mesh)({
526
        Parent = Part,
527
        Offset = OffSet,
528
        Scale = Scale
529
      })
530
      if Mesh == "SpecialMesh" then
531
        Msh.MeshType = MeshType
532
        Msh.MeshId = MeshId
533
      end
534
      return Msh
535
    end
536
  },
537
  Mesh = {
538
    Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
539
      local Msh = Create(Mesh)({
540
        Parent = Part,
541
        Offset = OffSet,
542
        Scale = Scale
543
      })
544
      if Mesh == "SpecialMesh" then
545
        Msh.MeshType = MeshType
546
        Msh.MeshId = MeshId
547
      end
548
      return Msh
549
    end
550
  },
551
  Weld = {
552
    Create = function(Parent, Part0, Part1, C0, C1)
553
      local Weld = Create("Weld")({
554
        Parent = Parent,
555
        Part0 = Part0,
556
        Part1 = Part1,
557
        C0 = C0,
558
        C1 = C1
559
      })
560
      return Weld
561
    end
562
  },
563
  Sound = {
564
    Create = function(id, par, vol, pit)
565
      coroutine.resume(coroutine.create(function()
566
        local S = Create("Sound")({
567
          Volume = vol,
568
          Pitch = pit or 1,
569
          SoundId = id,
570
          Parent = par or workspace
571
        })
572
        wait()
573
        S:play()
574
        game:GetService("Debris"):AddItem(S, 6)
575
      end))
576
    end
577
  },
578
  ParticleEmitter = {
579
    Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
580
      local fp = Create("ParticleEmitter")({
581
        Parent = Parent,
582
        Color = ColorSequence.new(Color1, Color2),
583
        LightEmission = LightEmission,
584
        Size = Size,
585
        Texture = Texture,
586
        Transparency = Transparency,
587
        ZOffset = ZOffset,
588
        Acceleration = Accel,
589
        Drag = Drag,
590
        LockedToPart = LockedToPart,
591
        VelocityInheritance = VelocityInheritance,
592
        EmissionDirection = EmissionDirection,
593
        Enabled = Enabled,
594
        Lifetime = LifeTime,
595
        Rate = Rate,
596
        Rotation = Rotation,
597
        RotSpeed = RotSpeed,
598
        Speed = Speed,
599
        VelocitySpread = VelocitySpread
600
      })
601
      return fp
602
    end
603
  }
604
}
605
Handle = CreatePart(m, Enum.Material.Metal, 0, 1, "Really black", "Handle", Vector3.new(0.200000003, 0.920000136, 0.200000003))
606
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))
607
CreateMesh("CylinderMesh", Handle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
608
FakeHandle = CreatePart(m, Enum.Material.Metal, 0, 1, "Really black", "FakeHandle", Vector3.new(0.200000003, 0.920000136, 0.200000003))
609
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))
610
CreateMesh("CylinderMesh", FakeHandle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
611
Barrel = CreatePart(m, Enum.Material.Metal, 0, 1, "Really black", "Barrel", Vector3.new(0.200000003, 0.310000002, 0.350000113))
612
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))
613
CreateMesh("CylinderMesh", Barrel, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
614
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
615
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))
616
CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(2, 2, 5))
617
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.820000112, 0.200000003))
618
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))
619
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
620
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(3.48000002, 0.200000003, 0.649999976))
621
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))
622
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.600000024, 0.200000003))
623
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))
624
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(4.18000031, 0.200000003, 0.649999976))
625
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))
626
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.300000012, 0.200000003, 0.649999976))
627
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))
628
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(3.08000016, 0.200000003, 0.649999976))
629
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))
630
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(7.28000021, 0.200000003, 0.649999976))
631
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))
632
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(4.18000078, 0.200000003, 0.649999976))
633
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))
634
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(7.38000011, 0.200000003, 0.649999976))
635
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))
636
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(7.27999973, 0.200000003, 0.649999976))
637
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))
638
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.400000006, 0.200000003, 0.649999976))
639
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))
640
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.5, 0.649999976))
641
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))
642
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 1.10000002, 0.649999976))
643
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))
644
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.400000036, 0.400000006))
645
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))
646
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(7.27999973, 0.200000003, 0.649999976))
647
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))
648
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 1.30000007, 0.649999976))
649
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))
650
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(1.71000004, 0.200000003, 1.81000006))
651
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))
652
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
653
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(1.64999998, 1.59000015, 1.67000008))
654
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))
655
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
656
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.699999988, 0.649999976))
657
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))
658
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.200000003, 0.930000007))
659
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))
660
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 1.20000005, 0.649999976))
661
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))
662
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(1.71000004, 0.200000003, 1.81000006))
663
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))
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.200000003, 0.920000136, 0.200000003))
666
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))
667
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
668
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.899999976, 0.649999976))
669
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))
670
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.200000003, 0.550000012))
671
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))
672
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 1.10000002, 0.649999976))
673
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))
674
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.5, 1.14999998))
675
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))
676
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.200000003, 0.930000007))
677
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))
678
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 2.0999999, 0.649999976))
679
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))
680
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.5, 0.649999976))
681
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))
682
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.730000496, 0.200000003, 0.200000003))
683
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))
684
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(3.18000031, 1.68000007, 0.200000003))
685
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))
686
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(2.98000097, 0.200000003, 1.14999998))
687
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))
688
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(0.730000496, 0.200000003, 0.200000003))
689
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))
690
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.899999976, 0.649999976))
691
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))
692
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.200000003, 0.850000024))
693
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))
694
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 0.899999976, 0.649999976))
695
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))
696
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Bright yellow", "Part", Vector3.new(0.200000003, 1.69999993, 1.14999998))
697
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))
698
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(0.780000925, 0.230000004, 0.309999943))
699
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))
700
Motor = CreatePart(m, Enum.Material.Metal, 0.20000000298023, 0, "Bright yellow", "Motor", Vector3.new(1.60000002, 5.46000004, 1.48000002))
701
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))
702
CreateMesh("CylinderMesh", Motor, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
703
FakeMotor = CreatePart(m, Enum.Material.Metal, 0.20000000298023, 0, "Bright yellow", "Part", Vector3.new(1.60000002, 5.46000004, 1.48000002))
704
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))
705
CreateMesh("CylinderMesh", FakeMotor, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
706
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
707
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))
708
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
709
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(0.700000048, 0.200000003, 0.750000119))
710
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))
711
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
712
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(1.60000002, 0.210000008, 1.35000002))
713
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))
714
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
715
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
716
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))
717
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
718
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
719
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))
720
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
721
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
722
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))
723
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
724
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
725
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))
726
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
727
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
728
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))
729
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
730
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
731
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))
732
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
733
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
734
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))
735
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
736
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
737
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))
738
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
739
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
740
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))
741
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
742
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.350000113))
743
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))
744
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
745
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
746
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))
747
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
748
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
749
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))
750
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
751
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
752
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))
753
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
754
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
755
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))
756
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
757
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
758
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))
759
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
760
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
761
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))
762
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
763
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
764
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))
765
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
766
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
767
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))
768
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
769
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
770
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))
771
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
772
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
773
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))
774
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
775
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
776
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))
777
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
778
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
779
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))
780
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
781
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
782
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))
783
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
784
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
785
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))
786
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
787
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
788
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))
789
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
790
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
791
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))
792
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
793
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
794
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))
795
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
796
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
797
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))
798
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
799
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
800
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))
801
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
802
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
803
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))
804
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
805
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
806
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))
807
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
808
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
809
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))
810
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
811
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113))
812
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))
813
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
814
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
815
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))
816
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
817
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
818
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))
819
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
820
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
821
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))
822
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
823
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
824
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))
825
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
826
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129))
827
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))
828
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
829
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
830
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))
831
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
832
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
833
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))
834
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
835
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
836
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))
837
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
838
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
839
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))
840
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
841
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
842
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))
843
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
844
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995))
845
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))
846
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
847
ban = Instance.new("Part", m)
848
ban.Size = Vector3.new(2, 0.2, 2)
849
ban.Transparency = 1
850
ban.CanCollide = false
851
w0t = Instance.new("Weld", ban)
852
w0t.Part0 = ban
853
w0t.Part1 = Motor
854
w0t.C0 = CFrame.new(0, -5.1, 0)
855
hak = Instance.new("Decal", ban)
856
hak.Texture = "http://www.roblox.com/asset?id=26533945"
857
hak.Face = "Top"
858
coroutine.resume(coroutine.create(function()
859
  thing = 0
860
  while wait() do
861
    thing = thing + 0.25
862
    w0t.C0 = CFrame.new(0, -5.1, 0) * CFrame.Angles(0, thing / 8, 0)
863
  end
864
end))
865
function rayCast(Position, Direction, Range, Ignore)
866
  return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
867
end
868
local function GetNearest(obj, distance)
869
  local last, lastx = distance + 1, nil
870
  for i, v in pairs(workspace:GetChildren()) do
871
    if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
872
      local t = v.Torso
873
      local dist = (t.Position - obj.Position).magnitude
874
      if distance >= dist and last > dist then
875
        last = dist
876
        lastx = v
877
      end
878
    end
879
  end
880
  return lastx
881
end
882
function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
883
  if hit.Parent == nil then
884
    return
885
  end
886
  local h = hit.Parent:FindFirstChild("Humanoid")
887
  for _, v in pairs(hit.Parent:children()) do
888
    if v:IsA("Humanoid") then
889
      h = v
890
    end
891
  end
892
  if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
893
    if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
894
      return
895
    end
896
    local c = Create("ObjectValue")({
897
      Name = "creator",
898
      Value = game:service("Players").LocalPlayer,
899
      Parent = h
900
    })
901
    game:GetService("Debris"):AddItem(c, 0.5)
902
    if HitSound ~= nil and HitPitch ~= nil then
903
      CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
904
    end
905
    local Damage = math.random(minim, maxim)
906
    local blocked = false
907
    local block = hit.Parent:findFirstChild("Block")
908
    if block ~= nil and block.className == "IntValue" and block.Value > 0 then
909
      blocked = true
910
      block.Value = block.Value - 1
911
      print(block.Value)
912
    end
913
    if blocked == false then
914
      h.Health = h.Health - Damage
915
      ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
916
    else
917
      h.Health = h.Health - Damage / 2
918
      ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
919
    end
920
    if Type == "Knockdown" then
921
      local hum = hit.Parent.Humanoid
922
      hum.PlatformStand = true
923
      coroutine.resume(coroutine.create(function(HHumanoid)
924
        swait(1)
925
        HHumanoid.PlatformStand = false
926
      end), hum)
927
      local angle = hit.Position - Property.Position + Vector3.new(0, 0, 0).unit
928
      local bodvol = Create("BodyVelocity")({
929
        velocity = angle * knockback,
930
        P = 5000,
931
        maxForce = Vector3.new(8000, 8000, 8000),
932
        Parent = hit
933
      })
934
      local rl = Create("BodyAngularVelocity")({
935
        P = 3000,
936
        maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
937
        angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
938
        Parent = hit
939
      })
940
      game:GetService("Debris"):AddItem(bodvol, 0.5)
941
      game:GetService("Debris"):AddItem(rl, 0.5)
942
    elseif Type == "Normal" then
943
      local vp = Create("BodyVelocity")({
944
        P = 500,
945
        maxForce = Vector3.new(math.huge, 0, math.huge),
946
        velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
947
      })
948
      if knockback > 0 then
949
        vp.Parent = hit.Parent.Torso
950
      end
951
      game:GetService("Debris"):AddItem(vp, 0.5)
952
    elseif Type == "Up" then
953
      local bodyVelocity = Create("BodyVelocity")({
954
        velocity = Vector3.new(0, 20, 0),
955
        P = 5000,
956
        maxForce = Vector3.new(8000, 8000, 8000),
957
        Parent = hit
958
      })
959
      game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
960
    elseif Type == "DarkUp" then
961
      coroutine.resume(coroutine.create(function()
962
        for i = 0, 1, 0.1 do
963
          swait()
964
          BlockEffect(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
965
        end
966
      end))
967
      local bodyVelocity = Create("BodyVelocity")({
968
        velocity = Vector3.new(0, 20, 0),
969
        P = 5000,
970
        maxForce = Vector3.new(8000, 8000, 8000),
971
        Parent = hit
972
      })
973
      game:GetService("Debris"):AddItem(bodyVelocity, 1)
974
    elseif Type == "Snare" then
975
      local bp = Create("BodyPosition")({
976
        P = 2000,
977
        D = 100,
978
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
979
        position = hit.Parent.Torso.Position,
980
        Parent = hit.Parent.Torso
981
      })
982
      game:GetService("Debris"):AddItem(bp, 1)
983
    elseif Type == "Curse" then
984
      CreateSound("http://roblox.com/asset/?id=283389706", Torso, 1, 1)
985
      for i = 0, 1, 0.025 do
986
        swait(30)
987
        SphereEffect(BrickColor.new("Bright violet"), hit.Parent.Torso.CFrame, 1, 1, 1, 3, 3, 3, 0.07)
988
        hit.Parent.Humanoid:TakeDamage(1)
989
      end
990
    elseif Type == "Freeze" then
991
      local BodPos = Create("BodyPosition")({
992
        P = 50000,
993
        D = 1000,
994
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
995
        position = hit.Parent.Torso.Position,
996
        Parent = hit.Parent.Torso
997
      })
998
      local BodGy = Create("BodyGyro")({
999
        maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
1000
        P = 20000,
1001
        Parent = hit.Parent.Torso,
1002
        cframe = hit.Parent.Torso.CFrame
1003
      })
1004
      hit.Parent.Torso.Anchored = true
1005
      coroutine.resume(coroutine.create(function(Part)
1006
        swait(1.5)
1007
        Part.Anchored = false
1008
      end), hit.Parent.Torso)
1009
      game:GetService("Debris"):AddItem(BodPos, 6)
1010
      game:GetService("Debris"):AddItem(BodGy, 6)
1011
    end
1012
    local debounce = Create("BoolValue")({
1013
      Name = "DebounceHit",
1014
      Parent = hit.Parent,
1015
      Value = true
1016
    })
1017
    game:GetService("Debris"):AddItem(debounce, Delay)
1018
    c = Instance.new("ObjectValue")
1019
    c.Name = "creator"
1020
    c.Value = Player
1021
    c.Parent = h
1022
    game:GetService("Debris"):AddItem(c, 0.5)
1023
  end
1024
end
1025
function ShowDamage(Pos, Text, Time, Color)
1026
  local Rate = 0.033333333333333
1027
  if not Pos then
1028
    local Pos = Vector3.new(0, 0, 0)
1029
  end
1030
  local Text = Text or ""
1031
  local Time = Time or 2
1032
  if not Color then
1033
    local Color = Color3.new(1, 0, 1)
1034
  end
1035
  local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
1036
  EffectPart.Anchored = true
1037
  local BillboardGui = Create("BillboardGui")({
1038
    Size = UDim2.new(3, 0, 3, 0),
1039
    Adornee = EffectPart,
1040
    Parent = EffectPart
1041
  })
1042
  local TextLabel = Create("TextLabel")({
1043
    BackgroundTransparency = 1,
1044
    Size = UDim2.new(1, 0, 1, 0),
1045
    Text = Text,
1046
    TextColor3 = Color,
1047
    TextScaled = true,
1048
    Font = Enum.Font.ArialBold,
1049
    Parent = BillboardGui
1050
  })
1051
  game.Debris:AddItem(EffectPart, Time + 0.1)
1052
  EffectPart.Parent = game:GetService("Workspace")
1053
  delay(0, function()
1054
    local Frames = Time / Rate
1055
    for Frame = 1, Frames do
1056
      wait(Rate)
1057
      local Percent = Frame / Frames
1058
      EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
1059
      TextLabel.TextTransparency = Percent
1060
    end
1061
    if EffectPart and EffectPart.Parent then
1062
      EffectPart:Destroy()
1063
    end
1064
  end)
1065
end
1066
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
1067
  for _, c in pairs(workspace:children()) do
1068
    local hum = c:findFirstChild("Humanoid")
1069
    if hum ~= nil then
1070
      local head = c:findFirstChild("Torso")
1071
      if head ~= nil then
1072
        local targ = head.Position - Part.Position
1073
        local mag = targ.magnitude
1074
        if magni >= mag and c.Name ~= Player.Name then
1075
          Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=160432334", 1)
1076
        end
1077
      end
1078
    end
1079
  end
1080
end
1081
EffectModel = Instance.new("Model", Character)
1082
EffectModel.Name = "Effects"
1083
Effects = {
1084
  Block = {
1085
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
1086
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1087
      prt.Anchored = true
1088
      prt.CFrame = cframe
1089
      local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1090
      game:GetService("Debris"):AddItem(prt, 10)
1091
      if Type == 1 or Type == nil then
1092
        table.insert(Effects, {
1093
          prt,
1094
          "Block1",
1095
          delay,
1096
          x3,
1097
          y3,
1098
          z3,
1099
          msh
1100
        })
1101
      elseif Type == 2 then
1102
        table.insert(Effects, {
1103
          prt,
1104
          "Block2",
1105
          delay,
1106
          x3,
1107
          y3,
1108
          z3,
1109
          msh
1110
        })
1111
      end
1112
    end
1113
  },
1114
  Cylinder = {
1115
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1116
      local prt = CFuncs.Part.Create(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
1117
      prt.Anchored = true
1118
      prt.CFrame = cframe
1119
      local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1120
      game:GetService("Debris"):AddItem(prt, 2)
1121
      Effects[#Effects + 1] = {
1122
        prt,
1123
        "Cylinder",
1124
        delay,
1125
        x3,
1126
        y3,
1127
        z3
1128
      }
1129
    end
1130
  },
1131
  Sphere = {
1132
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1133
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1134
      prt.Anchored = true
1135
      prt.CFrame = cframe
1136
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1137
      game:GetService("Debris"):AddItem(prt, 10)
1138
      table.insert(Effects, {
1139
        prt,
1140
        "Cylinder",
1141
        delay,
1142
        x3,
1143
        y3,
1144
        z3,
1145
        msh
1146
      })
1147
    end
1148
  },
1149
  Ring = {
1150
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1151
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1152
      prt.Anchored = true
1153
      prt.CFrame = cframe
1154
      local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1155
      game:GetService("Debris"):AddItem(prt, 10)
1156
      table.insert(Effects, {
1157
        prt,
1158
        "Cylinder",
1159
        delay,
1160
        x3,
1161
        y3,
1162
        z3,
1163
        msh
1164
      })
1165
    end
1166
  },
1167
  Cloud = {
1168
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1169
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1170
      prt.Anchored = true
1171
      prt.CFrame = cframe
1172
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1095708", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1173
      game:GetService("Debris"):AddItem(prt, 10)
1174
      table.insert(Effects, {
1175
        prt,
1176
        "Cylinder",
1177
        delay,
1178
        x3,
1179
        y3,
1180
        z3,
1181
        msh
1182
      })
1183
    end
1184
  },
1185
  Wave = {
1186
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1187
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1188
      prt.Anchored = true
1189
      prt.CFrame = cframe
1190
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1191
      game:GetService("Debris"):AddItem(prt, 10)
1192
      table.insert(Effects, {
1193
        prt,
1194
        "Cylinder",
1195
        delay,
1196
        x3,
1197
        y3,
1198
        z3,
1199
        msh
1200
      })
1201
    end
1202
  },
1203
  Break = {
1204
    Create = function(brickcolor, cframe, x1, y1, z1)
1205
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1206
      prt.Anchored = true
1207
      prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1208
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1209
      local num = math.random(10, 50) / 1000
1210
      game:GetService("Debris"):AddItem(prt, 10)
1211
      table.insert(Effects, {
1212
        prt,
1213
        "Shatter",
1214
        num,
1215
        prt.CFrame,
1216
        math.random() - math.random(),
1217
        0,
1218
        math.random(50, 100) / 100
1219
      })
1220
    end
1221
  }
1222
}
1223
local rev = Instance.new("Sound", Barrel)
1224
rev.Volume = 1
1225
rev.Pitch = 1.2
1226
rev.Looped = false
1227
rev.SoundId = "rbxassetid://357820124"
1228
rev.MaxDistance = 1000
1229
local spim = Instance.new("Sound", Barrel)
1230
spim.Volume = 1
1231
spim.Pitch = 1
1232
spim.Looped = true
1233
spim.SoundId = "rbxassetid://167882734"
1234
spim.MaxDistance = 1000
1235
local aiming = false
1236
local nu = 0
1237
function Aim()
1238
  aiming = true
1239
  attack = true
1240
  Humanoid.WalkSpeed = 2
1241
  Humanoid.JumpPower = 0
1242
  for i = 0, 1, 0.1 do
1243
    swait()
1244
    PlayAnimationFromTable({
1245
      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),
1246
      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),
1247
      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),
1248
      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),
1249
      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),
1250
      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)
1251
    }, 0.3, false)
1252
    FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3)
1253
  end
1254
  rev:Play()
1255
  while aiming do
1256
    swait()
1257
    if rev.Playing == false and spim.Playing == false then
1258
      spim:Play()
1259
    end
1260
    if nu < 360 then
1261
      nu = nu + 20
1262
    else
1263
      nu = 0
1264
    end
1265
    FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(nu), math.rad(0)), 0.3)
1266
  end
1267
end
1268
function Laser(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1269
  local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1270
  prt.Anchored = true
1271
  prt.CFrame = cframe
1272
  prt.Material = "Neon"
1273
  local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1274
  game:GetService("Debris"):AddItem(prt, 10)
1275
  coroutine.resume(coroutine.create(function(Part, Mesh)
1276
    for i = 0, 1, delay do
1277
      swait()
1278
      Part.Transparency = i
1279
      Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
1280
    end
1281
    Part.Parent = nil
1282
  end), prt, msh)
1283
end
1284
function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
1285
  local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1286
  prt.Anchored = true
1287
  prt.CFrame = cframe
1288
  local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1289
  game:GetService("Debris"):AddItem(prt, 10)
1290
  if Type == 1 or Type == nil then
1291
    table.insert(Effects, {
1292
      prt,
1293
      "Block1",
1294
      delay,
1295
      x3,
1296
      y3,
1297
      z3,
1298
      msh
1299
    })
1300
  elseif Type == 2 then
1301
    table.insert(Effects, {
1302
      prt,
1303
      "Block2",
1304
      delay,
1305
      x3,
1306
      y3,
1307
      z3,
1308
      msh
1309
    })
1310
  end
1311
end
1312
function shoottraildd(mouse, partt, SpreadAmount)
1313
  local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
1314
  local MainPos = partt.Position
1315
  local MainPos2 = mouse.Hit.p + SpreadVectors
1316
  local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
1317
  local speed = 100
1318
  local num = 10
1319
  coroutine.resume(coroutine.create(function()
1320
    repeat
1321
      swait()
1322
      local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
1323
      local mag = (MainPos - pos).magnitude
1324
      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)
1325
      MainPos = MainPos + MouseLook.lookVector * speed
1326
      num = num - 1
1327
      MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
1328
      if hit ~= nil then
1329
        num = 0
1330
        local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
1331
        refpart.Anchored = true
1332
        refpart.CFrame = CFrame.new(pos)
1333
        game:GetService("Debris"):AddItem(refpart, 1)
1334
      end
1335
      if num <= 0 then
1336
        local refpart2 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
1337
        refpart2.Anchored = true
1338
        refpart2.CFrame = CFrame.new(pos)
1339
        game:GetService("Debris"):AddItem(refpart2, 1)
1340
        if hit ~= nil then
1341
          Effects.Sphere.Create(hit.BrickColor, refpart2.CFrame, 1, 1, 1, 0.5, 0.5, 0.5, 0.05)
1342
          local cf2 = mouse.Hit.p + Vector3.new(math.random(-100, 100) / 50, 50, math.random(-100, 100) / 50)
1343
          local hit2, pos2 = rayCast(cf2, CFrame.new(cf2, cf2 - Vector3.new(0, 1, 0)).lookVector, 999, Character)
1344
          if hit ~= nil then
1345
            local d1 = CFuncs.Part.Create(workspace, "Neon", 0, 0.5, BrickColor.new("Really black"), "Effect", Vector3.new())
1346
            d1.Anchored = true
1347
            d1.CFrame = CFrame.new(pos)
1348
            game:GetService("Debris"):AddItem(d1, 5)
1349
            local msh = CFuncs.Mesh.Create("CylinderMesh", d1, "nil", "nil", Vector3.new(0, 0, 0), Vector3.new(50, 5, 50))
1350
            local d2 = d1:Clone()
1351
            d2.Parent = d1
1352
            d2.CFrame = CFrame.new(d1.Position)
1353
            d2.BrickColor = BrickColor.new("Bright yellow")
1354
            d2.Mesh.Scale = Vector3.new(0, 5, 0)
1355
            table.insert(Effects, {
1356
              d1,
1357
              "QuadShot",
1358
              d2,
1359
              d2.Mesh,
1360
              0
1361
            })
1362
          end
1363
        end
1364
      end
1365
    until num <= 0
1366
  end))
1367
end
1368
function IceMortar()
1369
  local dacf = Head.CFrame * angles(-1.57 + math.random(40, 80) / 100, 0, math.random(-80, 80) / 100)
1370
  local icepart1 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Bright yellow"), "Ice", Vector3.new())
1371
  icepart1.Anchored = true
1372
  i1msh = CreateMesh("SpecialMesh", icepart1, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
1373
  icepart1.CFrame = dacf
1374
  local cfinc = 99999
1375
  icepart1.Transparency = 1
1376
  CFuncs.Sound.Create("rbxassetid://192410089", icepart1, 1, 1)
1377
  game:GetService("Debris"):AddItem(icepart1, 1)
1378
  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
1379
  local TheHit = mouse.Hit.p
1380
  local MouseLook = cn((icepart1.Position + TheHit) / 2, TheHit + spread)
1381
  local hit, pos = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
1382
  local target1, distance1 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
1383
  local test1, dist1 = mouse.Hit.p, nil
1384
  if target1 ~= nil then
1385
    cfda = target1.Position + Vector3.new(math.random(-3000, 3000) / 100, 10, math.random(-3000, 3000) / 100)
1386
    local hit2, pos2 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
1387
    local d1 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Magenta"), "Effect", Vector3.new())
1388
    d1.Anchored = true
1389
    d1.CFrame = cn(pos2)
1390
    Effects.Sphere.Create(BrickColor.new("White"), Barrel.CFrame, 1, 1, 1, 3, 3, 3, 0.07)
1391
    Effects.Cloud.Create(target1.BrickColor, Barrel.CFrame, 2, 1, 2, 0.1, 2, 0.1, 0.03)
1392
    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)
1393
    Effects.Sphere.Create(BrickColor.new("Bright yellow"), cn(pos2), 1, 1, 1, 3, 3, 3, 0.07)
1394
    Effects.Block.Create(BrickColor.new("Bright red"), cn(pos2), 1, 1, 1, 3, 3, 3, 0.07)
1395
    Effects.Sphere.Create(BrickColor.new("White"), cn(pos2), 1, 1, 1, 10, 10, 10, 0.07)
1396
    Effects.Ring.Create(BrickColor.new("Bright yellow"), cn(pos2), 0.1, 9999, 0.1, 0.5, 10, 0.5, 0.07)
1397
    game.Debris:AddItem(d1, 0.5)
1398
    local cf2 = mouse.Hit.p + Vector3.new(math.random(-100, 100) / 50, 50, math.random(-100, 100) / 50)
1399
    local hit2, pos2 = rayCast(cf2, CFrame.new(cf2, cf2 - Vector3.new(0, 1, 0)).lookVector, 999, Character)
1400
    if hit ~= nil then
1401
      local d1 = CFuncs.Part.Create(workspace, "Neon", 0, 0.5, BrickColor.new("Really black"), "Effect", Vector3.new())
1402
      d1.Anchored = true
1403
      d1.CFrame = CFrame.new(pos)
1404
      game:GetService("Debris"):AddItem(d1, 30)
1405
      local msh = CFuncs.Mesh.Create("CylinderMesh", d1, "nil", "nil", Vector3.new(0, 0, 0), Vector3.new(500, 5, 500))
1406
      local d2 = d1:Clone()
1407
      d2.Parent = d1
1408
      d2.CFrame = CFrame.new(d1.Position)
1409
      d2.BrickColor = BrickColor.new("Bright yellow")
1410
      d2.Mesh.Scale = Vector3.new(0, 5, 0)
1411
      table.insert(Effects, {
1412
        d1,
1413
        "QuadShot2",
1414
        d2,
1415
        d2.Mesh,
1416
        0
1417
      })
1418
    end
1419
  end
1420
end
1421
function Hee()
1422
  local dacf = Head.CFrame * angles(-1.57 + math.random(40, 80) / 100, 0, math.random(-80, 80) / 100)
1423
  local icepart1 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Bright yellow"), "Ice", Vector3.new())
1424
  icepart1.Anchored = true
1425
  i1msh = CreateMesh("SpecialMesh", icepart1, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
1426
  icepart1.CFrame = dacf
1427
  local cfinc = 99999
1428
  icepart1.Transparency = 1
1429
  CFuncs.Sound.Create("rbxassetid://151130059", icepart1, 1, math.random(1, 3))
1430
  game:GetService("Debris"):AddItem(icepart1, 1)
1431
  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
1432
  local TheHit = mouse.Hit.p
1433
  local MouseLook = cn((icepart1.Position + TheHit) / 2, TheHit + spread)
1434
  local hit, pos = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
1435
  local target1, distance1 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
1436
  local test1, dist1 = mouse.Hit.p, nil
1437
  if target1 ~= nil then
1438
    cfda = target1.Position + Vector3.new(math.random(-3000, 3000) / 100, 10, math.random(-3000, 3000) / 100)
1439
    local hit2, pos2 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
1440
    local d1 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Magenta"), "Effect", Vector3.new())
1441
    d1.Anchored = true
1442
    d1.CFrame = cn(pos2)
1443
    MagniDamage(d1, 8, 3, 5, 0, "Normal")
1444
    Effects.Sphere.Create(target1.BrickColor, cn(pos2), 1, 1, 1, 4, 4, 4, 0.07)
1445
    Effects.Ring.Create(BrickColor.new("Bright yellow"), cn(pos2), 0.1, 9999, 0.1, 0.5, 10, 0.5, 0.07)
1446
    game.Debris:AddItem(d1, 0.5)
1447
  end
1448
  local cf2 = mouse.Hit.p + Vector3.new(math.random(-100, 100) / 50, 50, math.random(-100, 100) / 50)
1449
  local hit2, pos2 = rayCast(cf2, CFrame.new(cf2, cf2 - Vector3.new(0, 1, 0)).lookVector, 999, Character)
1450
  if hit ~= nil then
1451
    local d1 = CFuncs.Part.Create(workspace, "Neon", 0, 0.5, BrickColor.new("Really black"), "Effect", Vector3.new())
1452
    d1.Anchored = true
1453
    d1.CFrame = CFrame.new(pos)
1454
    game:GetService("Debris"):AddItem(d1, 5)
1455
    local msh = CFuncs.Mesh.Create("CylinderMesh", d1, "nil", "nil", Vector3.new(0, 0, 0), Vector3.new(50, 5, 50))
1456
    local d2 = d1:Clone()
1457
    d2.Parent = d1
1458
    d2.CFrame = CFrame.new(d1.Position)
1459
    d2.BrickColor = BrickColor.new("Bright yellow")
1460
    d2.Mesh.Scale = Vector3.new(0, 5, 0)
1461
    table.insert(Effects, {
1462
      d1,
1463
      "QuadShot",
1464
      d2,
1465
      d2.Mesh,
1466
      0
1467
    })
1468
  end
1469
end
1470
local soe = Instance.new("Sound", Barrel)
1471
soe.Volume = 1
1472
soe.Pitch = 1
1473
soe.Looped = true
1474
soe.SoundId = "rbxassetid://341294387"
1475
soe.MaxDistance = 1000
1476
local shoot = false
1477
local hot = false
1478
function fire()
1479
  hot = true
1480
  shoot = true
1481
  while shoot do
1482
    while shoot do
1483
      if shoot == true then
1484
        swait()
1485
        for i = 0, 1, 0.5 do
1486
          swait()
1487
          PlayAnimationFromTable({
1488
            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),
1489
            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),
1490
            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),
1491
            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),
1492
            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),
1493
            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)
1494
          }, 0.3, false)
1495
        end
1496
        if cooldown1 >= 4 then
1497
          soe:Play()
1498
          cooldown1 = cooldown1 - 2
1499
          shoottraildd(mouse, Barrel, 3)
1500
        else
1501
          soe:Stop()
1502
          CFuncs.Sound.Create("rbxassetid://135886551", Torso, 1, 1)
1503
        end
1504
      end
1505
    end
1506
    soe:Stop()
1507
    CFuncs.Sound.Create("rbxassetid://135886551", Torso, 1, 1)
1508
  end
1509
  hot = false
1510
end
1511
function baka()
1512
  Humanoid.WalkSpeed = 2
1513
  Humanoid.JumpPower = 0
1514
  attack = true
1515
  for i = 0, 1, 0.5 do
1516
    swait()
1517
    PlayAnimationFromTable({
1518
      CFrame.new(0, 0, 0, -0.126676023, 0.23911497, -0.962692738, 0.0259660054, 0.970977783, 0.237756103, 0.991604209, 0.00512071373, -0.129208475),
1519
      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),
1520
      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),
1521
      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),
1522
      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),
1523
      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)
1524
    }, 0.4, false)
1525
    FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3)
1526
  end
1527
  for i = 0, 1, 0.5 do
1528
    swait()
1529
    PlayAnimationFromTable({
1530
      CFrame.new(0, 0, 0, -0.126676023, 0.23911497, -0.962692738, 0.0259660054, 0.970977783, 0.237756103, 0.991604209, 0.00512071373, -0.129208475),
1531
      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),
1532
      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),
1533
      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),
1534
      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),
1535
      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)
1536
    }, 0.4, false)
1537
    FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3)
1538
  end
1539
  IceMortar()
1540
  for i = 0, 1, 0.5 do
1541
    swait()
1542
    PlayAnimationFromTable({
1543
      CFrame.new(0, 0, 0, -0.335253149, 0.328955054, -0.882832885, 0.107930049, 0.944303334, 0.310873568, 0.935925424, 0.00893715583, -0.352084786),
1544
      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),
1545
      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),
1546
      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),
1547
      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),
1548
      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)
1549
    }, 0.3, false)
1550
  end
1551
  FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3)
1552
  Humanoid.WalkSpeed = 14
1553
  Humanoid.JumpPower = 50
1554
  attack = false
1555
end
1556
function bulletrain()
1557
  attack = true
1558
  shoot = true
1559
  Humanoid.WalkSpeed = 2
1560
  Humanoid.JumpPower = 0
1561
  for i = 0, 1, 0.5 do
1562
    swait()
1563
    PlayAnimationFromTable({
1564
      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),
1565
      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),
1566
      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),
1567
      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),
1568
      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),
1569
      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)
1570
    }, 0.3, false)
1571
    FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3)
1572
  end
1573
  soe:Play()
1574
  for i = 1, 5 do
1575
    for i = 0, 1, 0.5 do
1576
      swait()
1577
      PlayAnimationFromTable({
1578
        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),
1579
        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),
1580
        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),
1581
        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),
1582
        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),
1583
        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)
1584
      }, 0.3, false)
1585
    end
1586
    Effects.Ring.Create(BrickColor.new("Bright yellow"), Barrel.CFrame, 0.05, 9999, 0.05, 0.5, 10, 0.5, 0.07)
1587
    coroutine.resume(coroutine.create(function()
1588
      for i = 0, 3 do
1589
        swait()
1590
        Hee()
1591
      end
1592
    end))
1593
    for i = 0, 1, 0.5 do
1594
      swait()
1595
      PlayAnimationFromTable({
1596
        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),
1597
        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),
1598
        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),
1599
        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),
1600
        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),
1601
        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)
1602
      }, 0.3, false)
1603
    end
1604
  end
1605
  Humanoid.WalkSpeed = 16
1606
  Humanoid.JumpPower = 50
1607
  shoot = false
1608
  attack = false
1609
end
1610
function reload()
1611
  attack = true
1612
  CFuncs.Sound.Create("rbxassetid://476967191", Torso, 1, 1)
1613
  Humanoid.WalkSpeed = 0
1614
  Humanoid.JumpPower = 0
1615
  for i = 0, 1, 0.1 do
1616
    swait()
1617
    PlayAnimationFromTable({
1618
      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),
1619
      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),
1620
      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),
1621
      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),
1622
      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),
1623
      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)
1624
    }, 0.3, false)
1625
  end
1626
  for i = 0, 1, 0.3 do
1627
    swait()
1628
    PlayAnimationFromTable({
1629
      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),
1630
      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),
1631
      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),
1632
      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),
1633
      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),
1634
      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)
1635
    }, 0.3, false)
1636
  end
1637
  CFuncs.Sound.Create("rbxassetid://420157750", Torso, 1, 1)
1638
  for i = 0, 1, 0.3 do
1639
    swait()
1640
    PlayAnimationFromTable({
1641
      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),
1642
      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),
1643
      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),
1644
      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),
1645
      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),
1646
      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)
1647
    }, 0.3, false)
1648
  end
1649
  CFuncs.Sound.Create("rbxassetid://420157750", Torso, 1, 1)
1650
  for i = 0, 1, 0.1 do
1651
    swait()
1652
    PlayAnimationFromTable({
1653
      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),
1654
      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),
1655
      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),
1656
      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),
1657
      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),
1658
      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)
1659
    }, 0.3, false)
1660
  end
1661
  for i = 0, 1, 0.1 do
1662
    swait()
1663
    PlayAnimationFromTable({
1664
      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),
1665
      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),
1666
      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),
1667
      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),
1668
      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),
1669
      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)
1670
    }, 0.3, false)
1671
  end
1672
  for i = 0, 1, 0.3 do
1673
    swait()
1674
    PlayAnimationFromTable({
1675
      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),
1676
      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),
1677
      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),
1678
      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),
1679
      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),
1680
      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)
1681
    }, 0.3, false)
1682
  end
1683
  CFuncs.Sound.Create("rbxassetid://140792940", Torso, 1, 1)
1684
  for i = 0, 1, 0.3 do
1685
    swait()
1686
    PlayAnimationFromTable({
1687
      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),
1688
      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),
1689
      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),
1690
      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),
1691
      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),
1692
      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)
1693
    }, 0.3, false)
1694
  end
1695
  for i = 0, 1, 0.3 do
1696
    swait()
1697
    PlayAnimationFromTable({
1698
      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),
1699
      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),
1700
      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),
1701
      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),
1702
      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),
1703
      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)
1704
    }, 0.3, false)
1705
  end
1706
  CFuncs.Sound.Create("rbxassetid://140792940", Torso, 1, 1)
1707
  for i = 0, 1, 0.3 do
1708
    swait()
1709
    PlayAnimationFromTable({
1710
      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),
1711
      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),
1712
      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),
1713
      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),
1714
      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),
1715
      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)
1716
    }, 0.3, false)
1717
  end
1718
  for i = 0, 1, 0.3 do
1719
    swait()
1720
    PlayAnimationFromTable({
1721
      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),
1722
      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),
1723
      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),
1724
      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),
1725
      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),
1726
      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)
1727
    }, 0.3, false)
1728
  end
1729
  CFuncs.Sound.Create("rbxassetid://140792940", Torso, 1, 1)
1730
  for i = 0, 1, 0.3 do
1731
    swait()
1732
    PlayAnimationFromTable({
1733
      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),
1734
      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),
1735
      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),
1736
      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),
1737
      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),
1738
      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)
1739
    }, 0.3, false)
1740
  end
1741
  CFuncs.Sound.Create("rbxassetid://357820124", Torso, 1, 1)
1742
  cooldown1 = 200
1743
  for i = 0, 1, 0.1 do
1744
    swait()
1745
    PlayAnimationFromTable({
1746
      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),
1747
      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),
1748
      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),
1749
      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),
1750
      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),
1751
      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)
1752
    }, 0.3, false)
1753
    FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0 + 360 * i), math.rad(0)), 0.3)
1754
  end
1755
  for i = 0, 1, 0.1 do
1756
    swait()
1757
    PlayAnimationFromTable({
1758
      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),
1759
      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),
1760
      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),
1761
      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),
1762
      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),
1763
      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)
1764
    }, 0.3, false)
1765
    FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0 + 360 * i), math.rad(0)), 0.3)
1766
  end
1767
  for i = 0, 1, 0.1 do
1768
    swait()
1769
    PlayAnimationFromTable({
1770
      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),
1771
      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),
1772
      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),
1773
      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),
1774
      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),
1775
      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)
1776
    }, 0.3, false)
1777
    FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0 + 360 * i), math.rad(0)), 0.3)
1778
  end
1779
  Humanoid.WalkSpeed = 16
1780
  Humanoid.JumpPower = 50
1781
  attack = false
1782
end
1783
mouse.Button1Down:connect(function()
1784
  if attack == false and aiming == false then
1785
    Aim()
1786
  end
1787
end)
1788
mouse.Button1Up:connect(function()
1789
  if attack == true and aiming == true then
1790
    attack = false
1791
    aiming = false
1792
    Humanoid.WalkSpeed = 14
1793
    Humanoid.JumpPower = 50
1794
    shoot = false
1795
  end
1796
end)
1797
mouse.KeyDown:connect(function(k)
1798
  k = k:lower()
1799
  if attack == true and aiming == true and hot == false and k == "z" then
1800
    fire()
1801
  elseif attack == false and aiming == false and hot == false and k == "c" and co3 <= cooldown3 then
1802
    cooldown3 = 0
1803
    baka()
1804
  elseif attack == false and aiming == false and hot == false and k == "v" and co4 <= cooldown4 then
1805
    cooldown4 = 0
1806
    bulletrain()
1807
  elseif attack == false and aiming == false and hot == false and k == "x" and co2 <= cooldown2 then
1808
    cooldown2 = 0
1809
    reload()
1810
  end
1811
end)
1812
mouse.KeyUp:connect(function(k)
1813
  k = k:lower()
1814
  if attack == true and aiming == true and hot == true and k == "z" then
1815
    shoot = false
1816
  end
1817
end)
1818
function updateskills()
1819
  if aiming == false then
1820
    text1.Text = [[
1821
[Z]
1822
 N/A]]
1823
  else
1824
    text1.Text = [[
1825
[Z]
1826
 Fire]]
1827
  end
1828
  if cooldown2 <= co2 then
1829
    cooldown2 = cooldown2 + 0.033333333333333
1830
  end
1831
  if cooldown3 <= co3 then
1832
    cooldown3 = cooldown3 + 0.2
1833
  end
1834
  if cooldown4 <= co4 then
1835
    cooldown4 = cooldown4 + 0.033333333333333
1836
  end
1837
end
1838
Humanoid.WalkSpeed = 14
1839
local Freeze = false
1840
function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
1841
  for i, v in pairs(hit:GetChildren()) do
1842
    if v:IsA("Humanoid") and hit.Name ~= Character.Name then
1843
      local find = v:FindFirstChild("DebounceHit")
1844
      if not find then
1845
        if v.Parent:findFirstChild("Head") then
1846
          do
1847
            local BillG = Create("BillboardGui")({
1848
              Parent = v.Parent.Head,
1849
              Size = UDim2.new(1, 0, 1, 0),
1850
              Adornee = v.Parent.Head,
1851
              StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3))
1852
            })
1853
            local TL = Create("TextLabel")({
1854
              Parent = BillG,
1855
              Size = UDim2.new(3, 3, 3, 3),
1856
              BackgroundTransparency = 1,
1857
              Text = tostring(damage) .. "-",
1858
              TextColor3 = Color1.Color,
1859
              TextStrokeColor3 = Color2.Color,
1860
              TextStrokeTransparency = 0,
1861
              TextXAlignment = Enum.TextXAlignment.Center,
1862
              TextYAlignment = Enum.TextYAlignment.Center,
1863
              FontSize = Enum.FontSize.Size18,
1864
              Font = "ArialBold"
1865
            })
1866
            coroutine.resume(coroutine.create(function()
1867
              swait(1)
1868
              for i = 0, 1, 0.1 do
1869
                swait(0.1)
1870
                BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, 0.1, 0)
1871
              end
1872
              BillG:Destroy()
1873
            end))
1874
          end
1875
        end
1876
        if Freeze == false then
1877
          v.Health = v.Health - damage
1878
        elseif Freeze == true then
1879
          v.Health = v.Health - damage
1880
          v.Parent.Torso.Anchored = true
1881
          CFuncs.Sound.Create("http://www.roblox.com/asset/?id=338594574", v.Parent.Torso, 1, 1)
1882
          for i = 1, 6 do
1883
            Effects.Freeze.Create(BrickColor.new("Bright yellow"), v.Parent.Torso.CFrame, 0.5, 0.5, 0.5, 0.1, 0.3, 0.1)
1884
            Effects.Break.Create(BrickColor.new("Bright yellow"), v.Parent.Torso.CFrame, 0.5, math.random(5, 15), 0.5)
1885
          end
1886
          for i = 1, 10 do
1887
            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()))
1888
            freezepart.Anchored = true
1889
            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))
1890
            coroutine.resume(coroutine.create(function(Part)
1891
              swait(80)
1892
              CFuncs.Sound.Create("http://www.roblox.com/asset/?id=338594737", v.Parent.Torso, 1, 1)
1893
              v.Parent.Torso.Anchored = false
1894
              Part.Anchored = false
1895
              Part.Velocity = Vector3.new(math.random(-20, 20), math.random(20, 30), math.random(-20, 20))
1896
              game:GetService("Debris"):AddItem(Part, 5)
1897
            end), freezepart)
1898
          end
1899
        end
1900
        local bool = Create("BoolValue")({
1901
          Parent = v,
1902
          Name = "DebounceHit"
1903
        })
1904
        if HSound ~= nil and HPitch ~= nil then
1905
          CFuncs.Sound.Create(HSound, v.Parent.Torso, 1, HPitch)
1906
        end
1907
        game:GetService("Debris"):AddItem(bool, cooldown)
1908
      end
1909
    end
1910
  end
1911
end
1912
function MagnitudeDamage(Part, magni, mindam, maxdam, Color1, Color2, HSound, HPitch)
1913
  for _, c in pairs(workspace:children()) do
1914
    local hum = c:findFirstChild("Humanoid")
1915
    if hum ~= nil then
1916
      local head = c:findFirstChild("Torso")
1917
      if head ~= nil then
1918
        local targ = head.Position - Part.Position
1919
        local mag = targ.magnitude
1920
        if magni >= mag and c.Name ~= Player.Name then
1921
          Damage(head.Parent, math.random(mindam, maxdam), 0, Color1, Color2, HSound, HPitch)
1922
        end
1923
      end
1924
    end
1925
  end
1926
end
1927
while true do
1928
  swait()
1929
  updateskills()
1930
  bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
1931
  bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
1932
  bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
1933
  bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
1934
  if shoot == false then
1935
    soe:Stop()
1936
  end
1937
  if aiming == false then
1938
    spim:Stop()
1939
  end
1940
  if aiming == true then
1941
    local aim = CFrame.new(RootPart.Position, mouse.Hit.p)
1942
    local direction = aim.lookVector
1943
    local headingA = math.atan2(direction.x, direction.z)
1944
    headingA = math.deg(headingA)
1945
    Humanoid.AutoRotate = false
1946
    RootPart.CFrame = CFrame.new(RootPart.Position) * angles(math.rad(0), math.rad(headingA - 180), math.rad(0))
1947
  else
1948
    Humanoid.AutoRotate = true
1949
  end
1950
  for i, v in pairs(Character:GetChildren()) do
1951
    if v:IsA("Part") then
1952
      v.Material = "SmoothPlastic"
1953
    elseif v:IsA("Hat") then
1954
      v:WaitForChild("Handle").Material = "SmoothPlastic"
1955
    end
1956
  end
1957
  Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
1958
  velocity = RootPart.Velocity.y
1959
  sine = sine + change
1960
  local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
1961
  if equipped == true or equipped == false then
1962
    if 1 < RootPart.Velocity.y and hit == nil then
1963
      Anim = "Jump"
1964
      if attack == false then
1965
        RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
1966
        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)
1967
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, -0.3) * angles(math.rad(80), math.rad(-50), math.rad(30)), 0.3)
1968
        LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.4, -1) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
1969
        RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(-50), math.rad(0), math.rad(0)), 0.3)
1970
        LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1971
        FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-130)), 0.3)
1972
        FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1973
        FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-120)), 0.3)
1974
      end
1975
    elseif RootPart.Velocity.y < -1 and hit == nil then
1976
      Anim = "Fall"
1977
      if attack == false then
1978
        RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(20), math.rad(-30), math.rad(0)), 0.3)
1979
        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)
1980
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, -0.3) * angles(math.rad(80), math.rad(-50), math.rad(30)), 0.3)
1981
        LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.4, -1) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
1982
        RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(-50), math.rad(0), math.rad(0)), 0.3)
1983
        LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1984
        FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-130)), 0.3)
1985
        FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1986
        FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-120)), 0.3)
1987
      end
1988
    elseif Torsovelocity < 1 and hit ~= nil then
1989
      Anim = "Idle"
1990
      if attack == false then
1991
        change = 1
1992
        RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(-60), math.rad(0)), 0.3)
1993
        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)
1994
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, -0.3) * angles(math.rad(70), math.rad(0), math.rad(0)), 0.3)
1995
        LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.4, -1) * angles(math.rad(70), math.rad(0), math.rad(30)), 0.3)
1996
        RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1997
        LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1998
        FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3)
1999
        FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2000
      end
2001
    elseif Torsovelocity > 2 and hit ~= nil then
2002
      Anim = "Walk"
2003
      if attack == false then
2004
        RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(-20), math.rad(-30), math.rad(0)), 0.3)
2005
        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)
2006
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, -0.3) * angles(math.rad(80), math.rad(-50), math.rad(30)), 0.3)
2007
        LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.4, -1) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
2008
        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)
2009
        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)
2010
        FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-130)), 0.3)
2011
        FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2012
        FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-120)), 0.3)
2013
      end
2014
    end
2015
  end
2016
  if 0 < #Effects then
2017
    for e = 1, #Effects do
2018
      if Effects[e] ~= nil then
2019
        local Thing = Effects[e]
2020
        if Thing ~= nil then
2021
          local Part = Thing[1]
2022
          local Mode = Thing[2]
2023
          local Delay = Thing[3]
2024
          local IncX = Thing[4]
2025
          local IncY = Thing[5]
2026
          local IncZ = Thing[6]
2027
          if Thing[1].Transparency <= 1 then
2028
            if Thing[2] == "Block1" then
2029
              Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
2030
              Mesh = Thing[1].Mesh
2031
              Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2032
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2033
            elseif Thing[2] == "QuadShot" then
2034
              if Thing[5] < 49 then
2035
                Thing[5] = Thing[5] + 1.5
2036
                Thing[4].Scale = Vector3.new(Thing[5], 5, Thing[5])
2037
              else
2038
                refda = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
2039
                refda.Anchored = true
2040
                refda.CFrame = CFrame.new(Thing[1].Position)
2041
                game:GetService("Debris"):AddItem(refda, 5)
2042
                CFuncs.Sound.Create("rbxassetid://300916105", refda, 1, 0.5)
2043
                CFuncs.Sound.Create("rbxassetid://184718741", refda, 1, 0.8)
2044
                MagnitudeDamage(refda, 40, 10, 14, BrickColor.new("Bright yellow"), BrickColor.new("Navy blue"))
2045
                Effects.Cylinder.Create(BrickColor.new("Really black"), CFrame.new(refda.Position), 5, 9999, 5, 5, 10, 5, 0.05)
2046
                Effects.Sphere.Create(BrickColor.new("Bright yellow"), refda.CFrame, 5, 10, 5, 5, 10, 3, 0.06)
2047
                Effects.Block.Create(BrickColor.new("Bright yellow"), refda.CFrame, 5, 5, 5, 5, 5, 5, 0.06, 1)
2048
                Effects.Wave.Create(BrickColor.new("Bright yellow"), refda.CFrame, 0.1, 0.1, 0.1, 0.5, 0.5, 0.5, 0.06)
2049
                Thing[1].Parent = nil
2050
                table.remove(Effects, e)
2051
              end
2052
            elseif Thing[2] == "QuadShot2" then
2053
              if Thing[5] < 499 then
2054
                Thing[5] = Thing[5] + 1.5
2055
                Thing[4].Scale = Vector3.new(Thing[5], 5, Thing[5])
2056
              else
2057
                refda = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
2058
                refda.Anchored = true
2059
                refda.CFrame = CFrame.new(Thing[1].Position)
2060
                game:GetService("Debris"):AddItem(refda, 5)
2061
                CFuncs.Sound.Create("rbxassetid://300916105", refda, 1, 0.5)
2062
                CFuncs.Sound.Create("rbxassetid://184718741", refda, 1, 0.8)
2063
                MagnitudeDamage(refda, 40, 20, 30, BrickColor.new("Bright yellow"), BrickColor.new("Navy blue"))
2064
                Effects.Cylinder.Create(BrickColor.new("Really black"), CFrame.new(refda.Position), 50, 9999, 50, 50, 100, 50, 0.05)
2065
                Effects.Sphere.Create(BrickColor.new("Bright yellow"), refda.CFrame, 50, 100, 50, 50, 100, 30, 0.06)
2066
                Effects.Block.Create(BrickColor.new("Bright yellow"), refda.CFrame, 50, 50, 50, 50, 50, 50, 0.06, 1)
2067
                Effects.Wave.Create(BrickColor.new("Bright yellow"), refda.CFrame, 0.5, 0.5, 0.5, 1, 1, 1, 0.06)
2068
                Thing[1].Parent = nil
2069
                table.remove(Effects, e)
2070
              end
2071
            elseif Thing[2] == "Block2" then
2072
              Thing[1].CFrame = Thing[1].CFrame
2073
              Mesh = Thing[7]
2074
              Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2075
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2076
            elseif Thing[2] == "Cylinder" then
2077
              Mesh = Thing[1].Mesh
2078
              Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2079
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2080
            elseif Thing[2] == "Blood" then
2081
              Mesh = Thing[7]
2082
              Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
2083
              Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2084
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2085
            elseif Thing[2] == "Elec" then
2086
              Mesh = Thing[1].Mesh
2087
              Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
2088
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2089
            elseif Thing[2] == "Disappear" then
2090
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2091
            elseif Thing[2] == "Shatter" then
2092
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2093
              Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
2094
              Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
2095
              Thing[6] = Thing[6] + Thing[5]
2096
            end
2097
          else
2098
            Part.Parent = nil
2099
            table.remove(Effects, e)
2100
          end
2101
        end
2102
      end
2103
    end
2104
  end
2105
end