View difference between Paste ID: VwqnrusR and ivhA4shB
SHOW: | | - or go back to the newest paste.
1
--      [[[
2-
if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
2+
--000000[[====================================================================================\\
3-
print("FE Compatibility: by WaverlyCole & Mokiros")
3+
--000000[[                    5mzazatv EDIT    
4-
InternalData = {}
4+
--000000[[====================================================================================//
5-
do
5+
--      [[[
6-
    script.Parent = owner.Character
6+
7-
    local Event = Instance.new("RemoteEvent")
7+
 wait(0.016666666666666666)
8-
    Event.Name = "UserInput"
8+
9-
    local function NewFakeEvent()
9+
10-
        local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
10+
11-
        return Fake
11+
12
ssbm = Instance.new("Sound",char)
13-
    local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
13+
ssbm.Volume = 5
14-
    local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
14+
15-
    local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
15+
16-
        self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
16+
ssbm.SoundId = "rbxassetid://152539141"
17-
    end};ContextActionService.UnBindAction = ContextActionService.BindAction
17+
18-
    local function TriggerEvent(self,Event,...)
18+
19-
        local Trigger = Mouse[Event]
19+
20-
        if Trigger and Trigger.fakeEvent and Trigger.Function then
20+
21-
            Trigger.Function(...)
21+
22
	txt.StudsOffset = Vector3.new(-9, 10, 0)
23
	local text = Instance.new("TextLabel", txt)
24-
    Mouse.TrigEvent = TriggerEvent
24+
25-
    UserInputService.TrigEvent = TriggerEvent
25+
26-
    Event.OnServerEvent:Connect(function(FiredBy,Input)
26+
27-
        if FiredBy.Name ~= owner.Name then end
27+
28-
        if Input.MouseEvent then
28+
29-
            Mouse.Target = Input.Target
29+
30-
            Mouse.Hit = Input.Hit
30+
31-
        else
31+
32-
            local Begin = Input.UserInputState == Enum.UserInputState.Begin
32+
33-
            if Input.UserInputType == Enum.UserInputType.MouseButton1 then
33+
    text.Text = "Random Sniper"
34-
                return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up")
34+
35
        while wait(0.1) do
36-
            for _,Action in pairs(ContextActionService.Actions) do
36+
37-
                for _,Key in pairs(Action.Keys) do
37+
38-
                    if Key==Input.KeyCode then
38+
39-
                        Action.Function(Action.Name,Input.UserInputState,Input)
39+
40
  local Player = game.Players.localPlayer
41
script.Parent = Player.PlayerGui
42
  local Character = Player.Character
43-
            Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
43+
44-
            UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
44+
45
  local LeftArm = Character["Left Arm"]
46
  local RightArm = Character["Right Arm"]
47-
    InternalData["Mouse"] = Mouse
47+
48-
    InternalData["ContextActionService"] = ContextActionService
48+
49-
    InternalData["UserInputService"] = UserInputService
49+
50-
    Event.Parent = NLS([[
50+
51-
        local Player = owner
51+
52-
        local Event = script:WaitForChild("UserInput")
52+
53-
        local UserInputService = game:GetService("UserInputService")
53+
54-
        local Mouse = Player:GetMouse()
54+
55-
        local Input = function(Input,gameProcessedEvent)
55+
56-
            if gameProcessedEvent then return end
56+
57-
            Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
57+
58
  local RootJoint = RootPart.RootJoint
59-
        UserInputService.InputBegan:Connect(Input)
59+
60-
        UserInputService.InputEnded:Connect(Input)
60+
61-
        local Hit,Target
61+
62-
        while wait(1/30) do
62+
63-
            if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
63+
64-
                Hit,Targer = Mouse.Hit,Mouse.Target
64+
65-
                Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
65+
66
  local Create = LoadLibrary("RbxUtility").Create
67
  local m = Create("Model")({
68-
    ]],owner.Character)
68+
69
    Name = "WeaponModel"
70-
RealGame = game;game = setmetatable({},{
70+
71-
    __index = function (self,Index)
71+
72-
        local Sandbox = function (Thing)
72+
73-
            if Thing:IsA("Player") then
73+
74-
                local RealPlayer = Thing
74+
75-
                return setmetatable({},{
75+
76-
                    __index = function (self,Index)
76+
77-
                        local Type = type(RealPlayer[Index])
77+
78-
                        if Type == "function" then
78+
79-
                            if Index:lower() == "getmouse" or Index:lower() == "mouse" then
79+
80-
                                return function (self)
80+
81-
                                    return InternalData["Mouse"]
81+
82-
                                end
82+
83-
                            end
83+
84-
                            return function (self,...)
84+
85-
                                return RealPlayer[Index](RealPlayer,...)
85+
86-
                            end
86+
Player_Size = 1 --Size of the player.
87-
                        else
87+
Animation_Speed = 3
88-
                            return RealPlayer[Index]
88+
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
89-
                        end
89+
90-
                    end;
90+
local Speed = 16
91-
                    __tostring = function(self)
91+
local Effects2 = {}
92-
                        return RealPlayer.Name
92+
93
ArtificialHB = Instance.new("BindableEvent", script)
94-
                })
94+
ArtificialHB.Name = "ArtificialHB"
95
96
script:WaitForChild("ArtificialHB")
97-
        if RealGame[Index] then
97+
98-
            local Type = type(RealGame[Index])
98+
frame = Frame_Speed
99-
            if Type == "function" then
99+
tf = 0
100-
                if Index:lower() == "getservice" or Index:lower() == "service" then
100+
allowframeloss = false
101-
                    return function (self,Service)
101+
tossremainder = false
102-
                        if Service:lower() == "players" then
102+
lastframe = tick()
103-
                            return setmetatable({},{
103+
script.ArtificialHB:Fire()
104-
                                __index = function (self2,Index2)
104+
105-
                                    local RealService = RealGame:GetService(Service)
105+
game:GetService("RunService").Heartbeat:connect(function(s, p)
106-
                                    local Type2 = type(Index2)
106+
	tf = tf + s
107-
                                    if Type2 == "function" then
107+
	if tf >= frame then
108-
                                        return function (self,...)
108+
		if allowframeloss then
109-
                                            return RealService[Index2](RealService,...)
109+
			script.ArtificialHB:Fire()
110-
                                        end
110+
			lastframe = tick()
111-
                                    else
111+
		else
112-
                                        if Index2:lower() == "localplayer" then
112+
			for i = 1, math.floor(tf / frame) do
113-
                                            return Sandbox(owner)
113+
				script.ArtificialHB:Fire()
114-
                                        end
114+
			end
115-
                                        return RealService[Index2]
115+
		lastframe = tick()
116-
                                    end
116+
		end
117-
                                end;
117+
		if tossremainder then
118-
                                __tostring = function(self)
118+
			tf = 0
119-
                                    return RealGame:GetService(Service).Name
119+
		else
120-
                                end
120+
			tf = tf - frame * math.floor(tf / frame)
121-
                            })
121+
		end
122-
                        elseif Service:lower() == "contextactionservice" then
122+
	end
123-
                            return InternalData["ContextActionService"]
123+
124-
                        elseif Service:lower() == "contextactionservice" then
124+
125-
                            return InternalData["UserInputService"]
125+
126-
                        elseif Service:lower() == "runservice" then
126+
127-
                            return setmetatable({},{
127+
128-
                                __index = function(self2,Index2)
128+
129-
                                    local RealService = RealGame:GetService(Service)
129+
IT = Instance.new
130-
                                    local Type2 = type(Index2)
130+
CF = CFrame.new
131-
                                    if Type2 == "function" then
131+
VT = Vector3.new
132-
                                        return function (self,...)
132+
RAD = math.rad
133-
                                            return RealService[Index2](RealService,...)
133+
C3 = Color3.new
134-
                                        end
134+
UD2 = UDim2.new
135-
                                    else
135+
BRICKC = BrickColor.new
136-
                                        if Index2:lower() == "bindtorenderstep" then
136+
ANGLES = CFrame.Angles
137-
                                            return function (self,Name,Priority,Function)
137+
EULER = CFrame.fromEulerAnglesXYZ
138-
                                                return RealGame:GetService("RunService").Stepped:Connect(Function)
138+
COS = math.cos
139-
                                            end
139+
ACOS = math.acos
140-
                                        end
140+
SIN = math.sin
141-
                                        if Index2:lower() == "renderstepped" then
141+
ASIN = math.asin
142-
                                            return RealService["Stepped"]
142+
ABS = math.abs
143-
                                        end
143+
MRANDOM = math.random
144-
                                        return RealService[Index2]
144+
FLOOR = math.floor
145-
                                    end
145+
146-
                                end
146+
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
147-
                            })
147+
	local NEWMESH = IT(MESH)
148-
                        else
148+
	if MESH == "SpecialMesh" then
149-
                            return RealGame:GetService(Service)
149+
		NEWMESH.MeshType = MESHTYPE
150-
                        end
150+
		if MESHID ~= "nil" and MESHID ~= "" then
151
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
152
		end
153-
                return function (self,...)
153+
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
154-
                    return RealGame[Index](RealGame,...)
154+
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
155
		end
156-
            else
156+
	end
157-
                if game:GetService(Index) then
157+
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
158-
                    return game:GetService(Index)
158+
	NEWMESH.Scale = SCALE
159
	NEWMESH.Parent = PARENT
160-
                return RealGame[Index]
160+
	return NEWMESH
161
end
162-
        else
162+
163-
            return nil
163+
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
164
	local NEWPART = IT("Part")
165
	NEWPART.formFactor = FORMFACTOR
166-
});Game = game;owner = game:GetService("Players").LocalPlayer;script = {}
166+
	NEWPART.Reflectance = REFLECTANCE
167-
print("Complete! Running...")
167+
	NEWPART.Transparency = TRANSPARENCY
168
	NEWPART.CanCollide = false
169
	NEWPART.Locked = true
170
	NEWPART.Anchored = true
171-
  wait(0.016666666666666666)
171+
	if ANCHOR == false then
172
		NEWPART.Anchored = false
173
	end
174
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
175
	NEWPART.Name = NAME
176
	NEWPART.Size = SIZE
177-
ssbm.Volume = 2.5
177+
	NEWPART.Position = Torso.Position
178
	NEWPART.Material = MATERIAL
179
	NEWPART:BreakJoints()
180-
ssbm.SoundId = "rbxassetid://623268631"
180+
	NEWPART.Parent = PARENT
181
	return NEWPART
182
end
183
184
local SKILLTEXTCOLOR = BRICKC("White").Color
185
186
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
187
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
188
end
189
190
function PositiveAngle(NUMBER)
191
	if NUMBER >= 0 then
192
		NUMBER = 0
193
	end
194
	return NUMBER
195
end
196
197-
    text.Text = "Chaos Sniper"
197+
function NegativeAngle(NUMBER)
198
	if NUMBER <= 0 then
199
		NUMBER = 0
200
	end
201
	return NUMBER
202
end
203
204
function Swait(NUMBER)
205
	if NUMBER == 0 or NUMBER == nil then
206
		ArtificialHB.Event:wait()
207
	else
208
		for i = 1, NUMBER do
209
			ArtificialHB.Event:wait()
210
		end
211
	end
212
end
213
214
function QuaternionFromCFrame(cf)
215
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
216
	local trace = m00 + m11 + m22
217
	if trace > 0 then 
218
		local s = math.sqrt(1 + trace)
219
		local recip = 0.5 / s
220
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
221
	else
222
		local i = 0
223
		if m11 > m00 then
224
			i = 1
225
		end
226
		if m22 > (i == 0 and m00 or m11) then
227
			i = 2
228
		end
229
		if i == 0 then
230
			local s = math.sqrt(m00 - m11 - m22 + 1)
231
			local recip = 0.5 / s
232
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
233
		elseif i == 1 then
234
			local s = math.sqrt(m11 - m22 - m00 + 1)
235
			local recip = 0.5 / s
236
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
237
		elseif i == 2 then
238
			local s = math.sqrt(m22 - m00 - m11 + 1)
239
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
240
		end
241
	end
242
end
243
 
244
function QuaternionToCFrame(px, py, pz, x, y, z, w)
245
	local xs, ys, zs = x + x, y + y, z + z
246
	local wx, wy, wz = w * xs, w * ys, w * zs
247
	local xx = x * xs
248
	local xy = x * ys
249
	local xz = x * zs
250
	local yy = y * ys
251
	local yz = y * zs
252
	local zz = z * zs
253
	return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
254
end
255
 
256
function QuaternionSlerp(a, b, t)
257
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
258
	local startInterp, finishInterp;
259
	if cosTheta >= 0.0001 then
260
		if (1 - cosTheta) > 0.0001 then
261
			local theta = ACOS(cosTheta)
262
			local invSinTheta = 1 / SIN(theta)
263
			startInterp = SIN((1 - t) * theta) * invSinTheta
264
			finishInterp = SIN(t * theta) * invSinTheta
265
		else
266
			startInterp = 1 - t
267
			finishInterp = t
268
		end
269
	else
270
		if (1 + cosTheta) > 0.0001 then
271
			local theta = ACOS(-cosTheta)
272
			local invSinTheta = 1 / SIN(theta)
273
			startInterp = SIN((t - 1) * theta) * invSinTheta
274
			finishInterp = SIN(t * theta) * invSinTheta
275
		else
276
			startInterp = t - 1
277
			finishInterp = t
278
		end
279
	end
280
	return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
281
end
282
283
function Clerp(a, b, t)
284
	local qa = {QuaternionFromCFrame(a)}
285
	local qb = {QuaternionFromCFrame(b)}
286
	local ax, ay, az = a.x, a.y, a.z
287
	local bx, by, bz = b.x, b.y, b.z
288
	local _t = 1 - t
289
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
290
end
291
292
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
293
	local frame = IT("Frame")
294
	frame.BackgroundTransparency = TRANSPARENCY
295
	frame.BorderSizePixel = BORDERSIZEPIXEL
296
	frame.Position = POSITION
297
	frame.Size = SIZE
298
	frame.BackgroundColor3 = COLOR
299
	frame.BorderColor3 = BORDERCOLOR
300
	frame.Name = NAME
301
	frame.Parent = PARENT
302
	return frame
303
end
304
305
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
306
	local label = IT("TextLabel")
307
	label.BackgroundTransparency = 1
308
	label.Size = UD2(1, 0, 1, 0)
309
	label.Position = UD2(0, 0, 0, 0)
310
	label.TextColor3 = TEXTCOLOR
311
	label.TextStrokeTransparency = STROKETRANSPARENCY
312
	label.TextTransparency = TRANSPARENCY
313
	label.FontSize = TEXTFONTSIZE
314
	label.Font = TEXTFONT
315
	label.BorderSizePixel = BORDERSIZEPIXEL
316
	label.TextScaled = false
317
	label.Text = TEXT
318
	label.Name = NAME
319
	label.Parent = PARENT
320
	return label
321
end
322
323
function NoOutlines(PART)
324
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
325
end
326
327
328
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
329
	local NEWWELD = IT(TYPE)
330
	NEWWELD.Part0 = PART0
331
	NEWWELD.Part1 = PART1
332
	NEWWELD.C0 = C0
333
	NEWWELD.C1 = C1
334
	NEWWELD.Parent = PARENT
335
	return NEWWELD
336
end
337
338
function CreateSound(ID, PARENT, VOLUME, PITCH)
339
	local NEWSOUND = nil
340
	coroutine.resume(coroutine.create(function()
341
		NEWSOUND = IT("Sound", PARENT)
342
		NEWSOUND.Volume = VOLUME
343
		NEWSOUND.Pitch = PITCH
344
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
345
		Swait()
346
		NEWSOUND:play()
347
		game:GetService("Debris"):AddItem(NEWSOUND, 10)
348
	end))
349
	return NEWSOUND
350
end
351
352
function CFrameFromTopBack(at, top, back)
353
	local right = top:Cross(back)
354
	return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
355
end
356
357
function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
358
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
359
	local mesh = IT("SpecialMesh",wave)
360
	mesh.MeshType = "FileMesh"
361
	mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
362
	mesh.Scale = SIZE
363
	mesh.Offset = VT(0,0,0)
364
	wave.CFrame = CFRAME
365
	coroutine.resume(coroutine.create(function(PART)
366
		for i = 1, WAIT do
367
			Swait()
368
			mesh.Scale = mesh.Scale + GROW
369
			if DOESROT == true then
370
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
371
			end
372
			wave.Transparency = wave.Transparency + (0.5/WAIT)
373
			if wave.Transparency > 0.99 then
374
				wave:remove()
375
			end
376
		end
377
	end))
378
end
379
380
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
381
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
382
	local mesh = IT("SpecialMesh",wave)
383
	mesh.MeshType = "Sphere"
384
	mesh.Scale = SIZE
385
	mesh.Offset = VT(0,0,0)
386
	wave.CFrame = CFRAME
387
	coroutine.resume(coroutine.create(function(PART)
388
		for i = 1, WAIT do
389
			Swait()
390
			mesh.Scale = mesh.Scale + GROW
391
			wave.Transparency = wave.Transparency + (1/WAIT)
392
			if wave.Transparency > 0.99 then
393
				wave:remove()
394
			end
395
		end
396
	end))
397
end
398
399
function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
400
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
401
	local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
402
	wave.CFrame = CFRAME
403
	coroutine.resume(coroutine.create(function(PART)
404
		for i = 1, WAIT do
405
			Swait()
406
			mesh.Scale = mesh.Scale * GROW
407
			wave.Transparency = wave.Transparency + (0.5/WAIT)
408
			if wave.Transparency > 0.99 then
409
				wave:remove()
410
			end
411
		end
412
	end))
413
end
414
415
function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
416
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
417
	local mesh = IT("BlockMesh",wave)
418
	wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
419
	coroutine.resume(coroutine.create(function(PART)
420
		for i = 1, WAIT do
421
			Swait()
422
			mesh.Scale = mesh.Scale + GROW
423
			wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
424
			wave.Transparency = wave.Transparency + (1/WAIT)
425
			if wave.Transparency > 0.99 then
426
				wave:remove()
427
			end
428
		end
429
	end))
430
end
431
432
function MakeForm(PART,TYPE)
433
	if TYPE == "Cyl" then
434
		local MSH = IT("CylinderMesh",PART)
435
	elseif TYPE == "Ball" then
436
		local MSH = IT("SpecialMesh",PART)
437
		MSH.MeshType = "Sphere"
438
	elseif TYPE == "Wedge" then
439
		local MSH = IT("SpecialMesh",PART)
440
		MSH.MeshType = "Wedge"
441
	end
442
end
443
444
function CheckTableForString(Table, String)
445
	for i, v in pairs(Table) do
446
		if string.find(string.lower(String), string.lower(v)) then
447
			return true
448
		end
449
	end
450
	return false
451
end
452
453
function CheckIntangible(Hit)
454
	local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
455
	if Hit and Hit.Parent then
456
		if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
457
			return true
458
		end
459
	end
460
	return false
461
end
462
463
Debris = game:GetService("Debris")
464
465
function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
466
	local Direction = CFrame.new(StartPos, Vec).lookVector
467
	local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
468
	local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
469
	if RayHit and CheckIntangible(RayHit) then
470
		if DelayIfHit then
471
			wait()
472
		end
473
		RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
474
	end
475
	return RayHit, RayPos, RayNormal
476
end
477
478
function RayCast(Position, Direction, MaxDistance, IgnoreList)
479
	return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList) 
480
end
481
482
function turnto(position)
483
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
484
end
485
486
487
local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
488
local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
489
local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
490
local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
491
local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
492
local SKILL6FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
493
494
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Spin Shot", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 0, "Text 1")
495
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Mortar Shot!", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 0, "Text 2")
496
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Chaos Shot Back", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 0, "Text 3")
497
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Auto Shot!", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 0, "Text 4")
498
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Chaos Shot Front ", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 0, "Text 5")
499
local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[F] Jet Dash ", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 0, "Text 5")
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
function chatfunc(text)
522
local chat = coroutine.wrap(function()
523
if char:FindFirstChild("TalkingBillBoard")~= nil then
524
char:FindFirstChild("TalkingBillBoard"):destroy()
525
end
526
local naeeym2 = Instance.new("BillboardGui",char)
527
naeeym2.Size = UDim2.new(0,100,0,40)
528
naeeym2.StudsOffset = Vector3.new(0,3,0)
529
naeeym2.Adornee = char.Head
530
naeeym2.Name = "TalkingBillBoard"
531
local tecks2 = Instance.new("TextLabel",naeeym2)
532
tecks2.BackgroundTransparency = 1
533
tecks2.BorderSizePixel = 0
534
tecks2.Text = ""
535
tecks2.Font = "Fantasy"
536
tecks2.TextSize = 30
537
tecks2.TextStrokeTransparency = 0
538
tecks2.TextColor3 = Color3.new(0,0,0)
539
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
540
tecks2.Size = UDim2.new(1,0,0.5,0)
541
local tecks3 = Instance.new("TextLabel",naeeym2)
542
tecks3.BackgroundTransparency = 1
543
tecks3.BorderSizePixel = 0
544
tecks3.Text = ""
545
tecks3.Font = "Fantasy"
546
tecks3.TextSize = 30
547
tecks3.TextStrokeTransparency = 0
548
tecks3.TextColor3 = Color3.new(0,0,0)
549
tecks3.TextStrokeColor3 = Color3.new(0,0,0)
550
tecks3.Size = UDim2.new(1,0,0.5,0)
551
spawn(function()
552
    while wait(0.04) do
553
        tecks3.TextStrokeColor3 = BrickColor.random().Color
554
        tecks2.TextStrokeColor3 = BrickColor.random().Color
555
    end
556
end)
557
for i = 1,string.len(text),1 do
558
 
559
tecks2.Text = string.sub(text,1,i)
560
tecks3.Text = string.sub(text,1,i)
561
wait(0.01)
562
end
563
wait(2)
564
for i = 1, 50 do
565
 
566
tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
567
tecks2.Rotation = tecks2.Rotation - .8
568
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
569
tecks2.TextTransparency = tecks2.TextTransparency + .04
570
tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
571
tecks3.Rotation = tecks2.Rotation + .8
572
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
573
tecks3.TextTransparency = tecks2.TextTransparency + .04
574
end
575
naeeym2:Destroy()
576
end)
577
chat()
578
 
579
end
580
function onChatted(msg)
581
chatfunc(msg)
582
 
583
end
584
Player.Chatted:connect(onChatted)
585
586
local ColorsArray ={ColorSequenceKeypoint.new(0, Color3.new(1,1,0)),
587
ColorSequenceKeypoint.new(0.16, Color3.new(1,1,0)),
588
ColorSequenceKeypoint.new(0.32, Color3.new(1,1,0)),
589
ColorSequenceKeypoint.new(0.48, Color3.new(1,1,0)),
590
ColorSequenceKeypoint.new(0.64, Color3.new(1,1,0)),
591
ColorSequenceKeypoint.new(0.80, Color3.new(1,1,0)),
592
ColorSequenceKeypoint.new(0.96, Color3.new(1,1,0)),
593
ColorSequenceKeypoint.new(1, Color3.new(1,1,0))}
594
local Atch1 = Instance.new("Attachment",Torso)Atch1.Position = Vector3.new(0,2,0)
595
local Atch2 = Instance.new("Attachment",Torso)Atch2.Position = Vector3.new(0,-2.5,0)
596
local Trail = Instance.new("Trail",Torso)Trail.Attachment0 = Atch1 Trail.Attachment1 = Atch2
597
Trail.Texture = "rbxassetid://947033349" Trail.Lifetime = 0.2 Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
598
Trail.Color = ColorSequence.new(ColorsArray) Trail.LightEmission = 1
599
Trail.Enabled = true
600
  local function newMotor(part0, part1, c0, c1)
601
    local w = Create("Motor")({
602
      Parent = part0,
603
      Part0 = part0,
604
      Part1 = part1,
605
      C0 = c0,
606
      C1 = c1
607
    })
608
    return w
609
  end
610
  function clerp(a, b, t)
611
    return a:lerp(b, t)
612
  end
613
  RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
614
  NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
615
  local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
616
  local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
617
  local RH = newMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
618
  local LH = newMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
619
  RootJoint.C1 = CFrame.new(0, 0, 0)
620
  RootJoint.C0 = CFrame.new(0, 0, 0)
621
  Torso.Neck.C1 = CFrame.new(0, 0, 0)
622
  Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
623
  local rarmc1 = RW.C1
624
  local larmc1 = LW.C1
625
  local rlegc1 = RH.C1
626
  local llegc1 = LH.C1
627
  local resetc1 = false
628
  function PlayAnimationFromTable(table, speed, bool)
629
    RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
630
    Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
631
    RW.C0 = clerp(RW.C0, table[3], speed)
632
    LW.C0 = clerp(LW.C0, table[4], speed)
633
    RH.C0 = clerp(RH.C0, table[5], speed)
634
    LH.C0 = clerp(LH.C0, table[6], speed)
635
    if bool == true and resetc1 == false then
636
      resetc1 = true
637
      RootJoint.C1 = RootJoint.C1
638
      Torso.Neck.C1 = Torso.Neck.C1
639
      RW.C1 = rarmc1
640
      LW.C1 = larmc1
641
      RH.C1 = rlegc1
642
      LH.C1 = llegc1
643
    end
644
  end
645
  ArtificialHB = Create("BindableEvent", script)({Parent = script, Name = "Heartbeat"})
646
  script:WaitForChild("Heartbeat")
647
  frame = 0.03333333333333333
648
  tf = 0
649
  allowframeloss = false
650
  tossremainder = false
651
  lastframe = tick()
652
  script.Heartbeat:Fire()
653
  game:GetService("RunService").Heartbeat:connect(function(s, p)
654
    tf = tf + s
655
    if tf >= frame then
656
      if allowframeloss then
657
        script.Heartbeat:Fire()
658
        lastframe = tick()
659
      else
660
        for i = 1, math.floor(tf / frame) do
661
          script.Heartbeat:Fire()
662
        end
663
        lastframe = tick()
664
      end
665
      if tossremainder then
666
        tf = 0
667
      else
668
        tf = tf - frame * math.floor(tf / frame)
669
      end
670
    end
671
  end)
672
  function swait(num)
673
    if num == 0 or num == nil then
674
      ArtificialHB.Event:wait()
675
    else
676
      for i = 0, num do
677
        ArtificialHB.Event:wait()
678
      end
679
    end
680
  end
681
  function RemoveOutlines(part)
682
    part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
683
  end
684
  CFuncs = {
685
    Part = {
686
      Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
687
        local Part = Create("Part")({
688
          Parent = Parent,
689
          Reflectance = Reflectance,
690
          Transparency = Transparency,
691
          CanCollide = false,
692
          Locked = true,
693
          BrickColor = BrickColor.new(tostring(BColor)),
694
          Name = Name,
695
          Size = Size,
696
          Material = Material
697
        })
698
        RemoveOutlines(Part)
699
        return Part
700
      end
701
    },
702
    Mesh = {
703
      Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
704
        local Msh = Create(Mesh)({
705
          Parent = Part,
706
          Offset = OffSet,
707
          Scale = Scale
708
        })
709
        if Mesh == "SpecialMesh" then
710
          Msh.MeshType = MeshType
711
          Msh.MeshId = MeshId
712
        end
713
        return Msh
714
      end
715
    },
716
    Weld = {
717
      Create = function(Parent, Part0, Part1, C0, C1)
718
        local Weld = Create("Weld")({
719
          Parent = Parent,
720
          Part0 = Part0,
721
          Part1 = Part1,
722
          C0 = C0,
723
          C1 = C1
724
        })
725
        return Weld
726
      end
727
    },
728
    Sound = {
729
      Create = function(id, par, vol, pit)
730
        coroutine.resume(coroutine.create(function()
731
          local Sound = Create("Sound")({
732
            Volume = vol,
733
            Pitch = pit or 1,
734
            SoundId = "rbxassetid://" .. id,
735
            Parent = par or workspace
736
          })
737
          Sound:play()
738
          game:GetService("Debris"):AddItem(Sound, 10)
739
        end))
740
      end
741
    },
742
    Decal = {
743
      Create = function(Color, Texture, Transparency, Name, Parent)
744
        local Decal = Create("Decal")({
745
          Color3 = Color,
746
          Texture = "rbxassetid://" .. Texture,
747
          Transparency = Transparency,
748
          Name = Name,
749
          Parent = Parent
750
        })
751
        return Decal
752
      end
753
    },
754
    BillboardGui = {
755
      Create = function(Parent, Image, Position, Size)
756
        local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
757
        BillPar.CFrame = CFrame.new(Position)
758
        local Bill = Create("BillboardGui")({
759
          Parent = BillPar,
760
          Adornee = BillPar,
761
          Size = UDim2.new(1, 0, 1, 0),
762
          SizeOffset = Vector2.new(Size, Size)
763
        })
764
        local d = Create("ImageLabel", Bill)({
765
          Parent = Bill,
766
          BackgroundTransparency = 1,
767
          Size = UDim2.new(1, 0, 1, 0),
768
          Image = "rbxassetid://" .. Image
769
        })
770
        return BillPar
771
      end
772
    },
773
    ParticleEmitter = {
774
      Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
775
        local Particle = Create("ParticleEmitter")({
776
          Parent = Parent,
777
          Color = ColorSequence.new(Color1, Color2),
778
          LightEmission = LightEmission,
779
          Size = Size,
780
          Texture = Texture,
781
          Transparency = Transparency,
782
          ZOffset = ZOffset,
783
          Acceleration = Accel,
784
          Drag = Drag,
785
          LockedToPart = LockedToPart,
786
          VelocityInheritance = VelocityInheritance,
787
          EmissionDirection = EmissionDirection,
788
          Enabled = Enabled,
789
          Lifetime = LifeTime,
790
          Rate = Rate,
791
          Rotation = Rotation,
792
          RotSpeed = RotSpeed,
793
          Speed = Speed,
794
          VelocitySpread = VelocitySpread
795
        })
796
        return Particle
797
      end
798
    },
799
    CreateTemplate = {}
800
  }
801
  function rayCast(Position, Direction, Range, Ignore)
802
    return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
803
  end
804
  function findNearestHead(pos)
805
    local list = game.Workspace:children()
806
    local head
807
    local dist = 1000
808
    local temp, human, temp2
809
    for x = 1, #list do
810
      temp2 = list[x]
811
      if temp2.className == "Model" and temp2.Name ~= Character.Name then
812
        temp = temp2:findFirstChild("Head")
813
        human = temp2:findFirstChild("Humanoid")
814
        if temp ~= nil and human ~= nil and human.Health > 0 and dist > (temp.Position - pos).magnitude then
815
          head = temp
816
          dist = (temp.Position - pos).magnitude
817
        end
818
      end
819
    end
820
    return head, dist
821
  end
822
  function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
823
    if hit.Parent == nil then
824
      return
825
    end
826
    local h = hit.Parent:FindFirstChild("Humanoid")
827
    for _, v in pairs(hit.Parent:children()) do
828
      if v:IsA("Humanoid") then
829
        h = v
830
      end
831
    end
832
    if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
833
      if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
834
        return
835
      end
836
      local c = Create("ObjectValue")({
837
        Name = "creator",
838
        Value = game:service("Players").LocalPlayer,
839
        Parent = h
840
      })
841
      game:GetService("Debris"):AddItem(c, 0.5)
842
      if HitSound ~= nil and HitPitch ~= nil then
843
        CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
844
      end
845
      local Damage = math.random(1,1)
846
      local blocked = false
847
      local block = hit.Parent:findFirstChild("Block")
848
      if block ~= nil and block.className == "IntValue" and block.Value > 0 then
849
        blocked = true
850
        block.Value = block.Value - 1
851
        print(block.Value)
852
      end
853
      if blocked == false then
854
        h.Health = h.Health - Damage
855
        ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.random().Color)
856
      else
857
        h.Health = h.Health - Damage / 2
858
        ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.random().Color)
859
      end
860
      if Type == "Knockdown" then
861
        local hum = hit.Parent.Humanoid
862
        hum.PlatformStand = true
863
        coroutine.resume(coroutine.create(function(HHumanoid)
864
          swait(1)
865
          HHumanoid.PlatformStand = false
866
        end), hum)
867
        local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
868
        local bodvol = Create("BodyVelocity")({
869
          velocity = angle * knockback,
870
          P = math.huge,
871
          maxForce = Vector3.new(math.huge, math.huge, math.huge) * math.huge * math.huge,
872
          Parent = hit
873
        })
874
        local rl = Create("BodyAngularVelocity")({
875
          P = 3000,
876
          maxTorque = Vector3.new(math.huge, math.huge, math.huge) * math.huge,
877
          angularvelocity = Vector3.new(math.random(math.huge, math.huge), math.random(math.huge, math.huge), math.random(math.huge, math.huge)),
878
          Parent = hit
879
        })
880
        game:GetService("Debris"):AddItem(bodvol, 0.5)
881
        game:GetService("Debris"):AddItem(rl, 0.5)
882
      elseif Type == "Normal" then
883
        local vp = Create("BodyVelocity")({
884
          P = 500,
885
          maxForce = Vector3.new(math.huge, math.huge, math.huge),
886
          velocity = Property.CFrame.lookVector * knockback + Property.Velocity * math.huge
887
        })
888
        if knockback > 0 then
889
          vp.Parent = hit.Parent.Head
890
        end
891
        game:GetService("Debris"):AddItem(vp, 0.5)
892
      elseif Type == "Up" then
893
        local bodvol = Create("BodyVelocity")({
894
          velocity = angle * knockback,
895
          P = math.huge,
896
          maxForce = Vector3.new(math.huge, math.huge, math.huge) * math.huge * math.huge,
897
          Parent = hit
898
        })
899
        game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
900
      elseif Type == "DarkUp" then
901
        coroutine.resume(coroutine.create(function()
902
          for i = 0, 1, 0.1 do
903
            swait()
904
            Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Head.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
905
          end
906
        end))
907
        local bodvol = Create("BodyVelocity")({
908
          velocity = angle * knockback,
909
          P = math.huge,
910
          maxForce = Vector3.new(math.huge, math.huge, math.huge) * math.huge * math.huge,
911
          Parent = hit
912
        })
913
        game:GetService("Debris"):AddItem(bodyVelocity, 1)
914
      elseif Type == "Snare" then
915
        local bp = Create("BodyPosition")({
916
          P = math.huge,
917
          D = math.huge,
918
          maxForce = Vector3.new(math.huge, math.huge, math.huge),
919
          position = hit.Parent.Head.Position,
920
          Parent = hit.Parent.Head
921
        })
922
        game:GetService("Debris"):AddItem(bp, 1)
923
      elseif Type == "Freeze" then
924
        local BodPos = Create("BodyPosition")({
925
          P = math.huge,
926
          D = math.huge,
927
          maxForce = Vector3.new(math.huge, math.huge, math.huge),
928
          position = hit.Parent.Head.Position,
929
          Parent = hit.Parent.Head
930
        })
931
        local BodGy = Create("BodyGyro")({
932
          maxTorque = Vector3.new(math.huge, math.huge, math.huge) * math.huge,
933
          P = math.huge,
934
          Parent = hit.Parent.Head,
935
          cframe = hit.Parent.Head.CFrame
936
        })
937
        hit.Parent.Head.Anchored = true
938
        coroutine.resume(coroutine.create(function(Part)
939
          swait(1.5)
940
          Part.Anchored = false
941
        end), hit.Parent.Head)
942
        game:GetService("Debris"):AddItem(BodPos, 3)
943
        game:GetService("Debris"):AddItem(BodGy, 3)
944
      end
945
      local debounce = Create("BoolValue")({
946
        Name = "DebounceHit",
947
        Parent = hit.Parent,
948
        Value = true
949
      })
950
      game:GetService("Debris"):AddItem(debounce, Delay)
951
      c = Create("ObjectValue")({
952
        Name = "creator",
953
        Value = Player,
954
        Parent = h
955
      })
956
      game:GetService("Debris"):AddItem(c, 0.5)
957
    end
958
  end
959
  function ShowDamage(Pos, Text, Time, Color)
960
    local Rate = 0.03333333333333333
961
    local Pos = Pos or Vector3.new(0, 0, 0)
962
    local Text = Text or ""
963
    local Time = Time or 2
964
    local Color = Color or Color3.new(1, 0, 1)
965
    local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
966
    EffectPart.Anchored = true
967
    local BillboardGui = Create("BillboardGui")({
968
      Size = UDim2.new(3, 0, 3, 0),
969
      Adornee = EffectPart,
970
      Parent = EffectPart
971
    })
972
    local TextLabel = Create("TextLabel")({
973
      BackgroundTransparency = 1,
974
      Size = UDim2.new(1, 0, 1, 0),
975
      Text = Text,
976
      Font = "SciFi",
977
      TextColor3 = Color,
978
      TextScaled = true,
979
      Parent = BillboardGui
980
    })
981
    game.Debris:AddItem(EffectPart, Time)
982
    EffectPart.Parent = game:GetService("Workspace")
983
    delay(0, function()
984
      local Frames = Time / Rate
985
      for Frame = 1, Frames do
986
        wait(Rate)
987
        local Percent = Frame / Frames
988
        EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
989
        TextLabel.TextTransparency = Percent
990
      end
991
      if EffectPart and EffectPart.Parent then
992
        EffectPart:Destroy()
993
      end
994
    end)
995
  end
996
  function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
997
    for _, c in pairs(workspace:children()) do
998
      local hum = c:findFirstChild("Humanoid")
999
      if hum ~= nil then
1000
        local head = c:findFirstChild("Head")
1001
        if head ~= nil then
1002
          local targ = head.Position - Part.Position
1003
          local mag = targ.magnitude
1004
          if Magnitude >= mag and c.Name ~= Player.Name then
1005
            Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 0, HitSound, HitPitch)
1006
          end
1007
        end
1008
      end
1009
    end
1010
  end
1011
Handle = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, BrickColor.Random(), "Handle", Vector3.new(0.400000036, 0.400000006, 1.20000005))
1012
  HandleWeld = CFuncs.Weld.Create(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0921096802, -1.06268024, -0.143123627, 1, 0, 0, 0, -1, 0, 0, 0, -1))
1013
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.28000009, 0.200000003, 0.200000003))
1014
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.503977776, -0.339992523, -5.56945801E-4, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1015
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.840000033))
1016
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.400000006, 0.200000003))
1017
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.0959959, -0.579998016, -0.0817871094, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1018
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.400000036))
1019
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.560000062, 0.200000003))
1020
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.0959959, -0.579998016, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1021
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.400000036))
1022
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.400000006))
1023
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.303993225, -1.18399811, 0.00179290771, 0, 1, 0, 0, 0, 1, 1, 0, 0))
1024
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 1))
1025
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.60000002, 0.200000003, 0.24000001))
1026
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.69602108, -1.02399826, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1027
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
1028
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.60000002, 0.24000001, 0.200000003))
1029
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696018219, -1.10399246, -0.16178894, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1030
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.400000036))
1031
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.400000066, 0.24000001, 0.400000006))
1032
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.360696793, 0.00178527832, 0.64538765, 0, -0.866025388, 0.500000238, 1, 0, 0, 0, 0.500000238, 0.866025388))
1033
  CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
1034
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.960000217, 0.200000003, 0.24000001))
1035
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.994522095, 0.660827637, -0.00178527832, 0, -0.866025388, -0.500000238, 0, -0.500000238, 0.866025388, -1, 0, 0))
1036
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
1037
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.400000006, 0.200000003))
1038
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.0959959, -0.579998016, 0.0782165527, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1039
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.400000036))
1040
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.480000079, 0.24000001, 0.400000006))
1041
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.44069862, 0.00178527832, 0.64538765, 0, -0.866025388, 0.500000238, 1, 0, 0, 0, 0.500000238, 0.866025388))
1042
  CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
1043
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.240000039, 0.56400001, 0.200000003))
1044
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.54615593, 0.105833054, -5.56945801E-4, 0, -0.866025388, 0.500000238, 0, 0.500000238, 0.866025388, -1, 0, 0))
1045
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.840000033))
1046
  Part1 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.24000001))
1047
  PartWeld = CFuncs.Weld.Create(m, Handle, Part1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.143982887, -0.459991455, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1048
  CFuncs.Mesh.Create("BlockMesh", Part1, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.800000072, 1))
1049
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
1050
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00579071045, -4.09999514, -0.459999084, 1, 0, 0, 0, 1, 0, 0, 0, 1))
1051
  CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 0.800000072))
1052
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.28000009, 0.200000003, 0.24000001))
1053
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.69600773, -0.779994965, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1054
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000191, 1))
1055
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.24000001, 0.200000003, 0.24000001))
1056
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0160188675, -0.579998016, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1057
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
1058
  Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.400000006, 0.200000003))
1059
  PartWeld = CFuncs.Weld.Create(m, Handle, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.66395569, -0.739994049, -5.56945801E-4, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1060
  CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.800000072))
1061
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.240000054, 0.200000003))
1062
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.0999918, -0.579998016, -0.00579071045, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1063
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.800000072))
1064
  Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.400000006))
1065
  PartWeld = CFuncs.Weld.Create(m, Handle, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.69601679, -1.18399429, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1066
  CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 1))
1067
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
1068
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00579071045, -4.09999704, -0.700000763, 1, 0, 0, 0, 1, 0, 0, 0, 1))
1069
  CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 0.800000072))
1070
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.28000009, 0.351999998, 0.24000001))
1071
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.341727257, 0.16400528, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1072
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
1073
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.183994293, -1.14399719, -0.158203125, 0, 1, 0, 0, 0, 1, 1, 0, 0))
1074
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000191, 0.800000072, 0.400000036))
1075
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
1076
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.183990479, -1.14399338, 0.161781311, 0, 1, 0, 0, 0, 1, 1, 0, 0))
1077
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000191, 0.800000072, 0.400000036))
1078
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.92000008, 0.200000003, 0.24000001))
1079
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.69602108, -1.18399429, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1080
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
1081
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.720000148, 0.351999998, 0.24000001))
1082
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.640586853, 0.0887641907, -0.00178527832, 0, -0.965925872, 0.258818984, 0, 0.258818984, 0.965925872, -1, 0, 0))
1083
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.75999987, 0.240000039, 0.24000001))
1084
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.1760211, -0.179992676, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1085
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.960000038, 0.200000003, 0.200000003))
1086
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.663973808, -0.81999588, -5.56945801E-4, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1087
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.800000072))
1088
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.319999993, 0.560000002, 0.24000001))
1089
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.30395985, -0.659992218, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1090
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.720000029, 0.200000003, 0.24000001))
1091
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.69600916, -0.779994965, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1092
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.799999952, 1))
1093
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.24000001, 0.200000003))
1094
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0639743805, -0.179992676, -5.56945801E-4, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1095
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.840000033))
1096
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.399999976, 0.24000001))
1097
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.54395485, -0.739994049, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1098
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.799999833, 1, 1))
1099
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.960000038, 0.400000006, 0.24000001))
1100
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.663974762, -0.579998016, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1101
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.28000009, 0.200000003, 0.24000001))
1102
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.69600916, -0.139995575, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1103
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000191, 1))
1104
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.480000019, 0.319999993, 0.200000003))
1105
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.38396263, -0.379989624, -5.56945801E-4, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1106
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072))
1107
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.320000052, 0.200000003, 0.24000001))
1108
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.023979187, -0.899997711, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1109
  CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
1110
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.12, 0.400000006, 0.24000001))
1111
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.880693436, 0.645389557, -0.00178527832, 0, -0.866025388, 0.500000238, 0, 0.500000238, 0.866025388, -1, 0, 0))
1112
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.20000017, 0.200000003, 0.24000001))
1113
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.11452484, 0.796833038, -0.00178527832, 0, -0.866025388, -0.500000238, 0, -0.500000238, 0.866025388, -1, 0, 0))
1114
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.960000098, 1))
1115
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.43599987, 0.488000005, 0.200000003))
1116
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.77400494, -0.460571289, -0.00179290771, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1117
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072))
1118
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.60000002, 0.24000001, 0.200000003))
1119
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696018219, -1.10399246, 0.158210754, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1120
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.400000036))
1121
  Part24 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.84000003, 0.320000023, 0.200000003))
1122
  PartWeld = CFuncs.Weld.Create(m, Handle, Part24, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.13602066, -0.456577301, -0.00179290771, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1123
  CFuncs.Mesh.Create("BlockMesh", Part24, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072))
1124
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.560000062, 0.200000003, 0.24000001))
1125
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.77600718, -0.619998932, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1126
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.799999952, 1))
1127
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.240000159, 0.200000003, 0.200000003))
1128
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0960187912, -0.299991608, -5.56945801E-4, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1129
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.800000072))
1130
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
1131
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.57601833, -1.14399338, -0.16178894, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1132
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000191, 0.800000072, 0.400000036))
1133
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(2.24000001, 0.240000039, 0.24000001))
1134
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.936019897, -0.740001678, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1135
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.24000001))
1136
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0239887238, -0.947994232, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1137
  CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 1))
1138
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.24000001))
1139
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.41601658, -0.947994232, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1140
  CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 1))
1141
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.559999943, 0.200000003, 0.200000003))
1142
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.303974152, -0.0199928284, -5.56945801E-4, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1143
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.840000033))
1144
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.800000012, 0.24000001, 0.200000003))
1145
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.697479248, -0.204208374, -5.56945801E-4, 0, -0.866025388, -0.500000238, 0, -0.500000238, 0.866025388, -1, 0, 0))
1146
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072))
1147
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.43999994, 0.200000003, 0.24000001))
1148
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696018219, -0.899993896, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1149
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
1150
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.27999985, 0.320000023, 0.24000001))
1151
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.69599819, -0.379993439, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1152
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.24000001))
1153
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0960140228, -0.459991455, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1154
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000066, 0.800000072, 1))
1155
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.43999994, 0.200000003, 0.200000003))
1156
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696018219, -0.979995728, 0.00221252441, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1157
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.720000088))
1158
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.320000052, 0.200000003, 0.24000001))
1159
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.41601706, -0.900001526, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1160
  CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
1161
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.720000148, 0.200000003, 0.200000003))
1162
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.783975601, -0.299995422, -5.56945801E-4, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1163
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.800000072))
1164
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.720000029, 0.24000001, 0.24000001))
1165
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.69600821, -0.419994354, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1166
  Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
1167
  PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.57601833, -1.14399338, 0.158210754, 0, -1, 0, 0, 0, 1, -1, 0, 0))
1168
  CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000191, 0.800000072, 0.400000036))
1169
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
1170
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.16178894, -1.69601536, -1.10400009, 1, 0, 0, 0, 1, 0, 0, 0, 1))
1171
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036))
1172
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
1173
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.158210754, -0.303990364, -1.10399246, -1, 0, 0, 0, -1, 0, 0, 0, 1))
1174
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036))
1175
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.480000019, 0.320000023))
1176
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, -0.376020432, -0.459991455, 1, 0, 0, 0, 1, 0, 0, 0, 1))
1177
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
1178
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.320000023, 0.200000003))
1179
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, 0.376021385, 0.379989624, 1, 0, 0, 0, -1, 0, 0, 0, -1))
1180
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072))
1181
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
1182
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.16178894, -0.303990364, -1.10399246, -1, 0, 0, 0, -1, 0, 0, 0, 1))
1183
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036))
1184
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.319999993))
1185
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, 0.339988708, 1.30396938, 1, 0, 0, 0, 0, -1, 0, 1, 0))
1186
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
1187
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
1188
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, -0.023979187, -0.459991455, -1, 0, 0, 0, -1, 0, 0, 0, 1))
1189
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.800000072))
1190
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.400000006, 0.200000003, 0.200000003))
1191
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, -0.183997154, -1.02399826, -1, 0, 0, 0, -1, 0, 0, 0, 1))
1192
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.400000036))
1193
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
1194
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.09599924, -0.0782165527, -0.340000153, 0, -1, 0, 1, 0, 0, 0, 0, 1))
1195
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036))
1196
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
1197
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, 0.143980026, 0.579998016, -1, 0, 0, 0, 1, 0, 0, 0, -1))
1198
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036))
1199
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.239999995))
1200
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, -0.819999695, 0.303976059, -1, 0, 0, 0, 0, 1, 0, 1, 0))
1201
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
1202
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
1203
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, -0.143980026, -0.579998016, -1, 0, 0, 0, -1, 0, 0, 0, 1))
1204
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036))
1205
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
1206
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, -0.459991455, -0.023979187, 1, 0, 0, 0, 0, 1, 0, -1, 0))
1207
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.800000072))
1208
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
1209
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, 3.45600224, 0.579998016, 1, 0, 0, 0, -1, 0, 0, 0, -1))
1210
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036))
1211
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
1212
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.09599924, -0.0817871094, -0.340000153, 0, 1, 0, -1, 0, 0, 0, 0, 1))
1213
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036))
1214
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.248000011, 0.320000023, 0.200000003))
1215
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, -0.296023369, -0.477993011, 1, 0, 0, 0, 1, 0, 0, 0, 1))
1216
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.980000019))
1217
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.320000023, 0.24000001))
1218
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, 1.89601326, 0.419994354, 1, 0, 0, 0, -1, 0, 0, 0, -1))
1219
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
1220
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
1221
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, 3.4560008, -0.659992218, -1, 0, 0, 0, -1, 0, 0, 0, 1))
1222
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036))
1223
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.239999995))
1224
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, -0.859996796, -1.02396774, 1, 0, 0, 0, 0, 1, 0, -1, 0))
1225
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 1))
1226
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
1227
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, 0.0960197449, -0.339992523, -1, 0, 0, 0, -1, 0, 0, 0, 1))
1228
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036))
1229
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.400000006, 0.200000003, 0.200000003))
1230
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, -1.57602215, -1.02399826, 1, 0, 0, 0, 1, 0, 0, 0, 1))
1231
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.400000036))
1232
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
1233
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, 0.299995422, 1.22396374, 1, 0, 0, 0, 0, -1, 0, 1, 0))
1234
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.800000072))
1235
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 1.20000005, 0.200000003))
1236
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, -1.13601112, 0.379993439, -1, 0, 0, 0, 1, 0, 0, 0, -1))
1237
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072))
1238
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.248000011, 0.22800003, 0.200000003))
1239
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, 0.0220222473, -0.477993011, -1, 0, 0, 0, -1, 0, 0, 0, 1))
1240
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.980000019))
1241
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0.80000001192093, "Toothpaste", "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
1242
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, -1.69601536, -1.10400009, 1, 0, 0, 0, 1, 0, 0, 0, 1))
1243
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036))
1244
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
1245
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.09599543, -0.0782165527, 0.81999588, 0, 1, 0, 1, 0, 0, 0, 0, -1))
1246
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036))
1247
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
1248
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.158210754, -1.69601536, -1.10400009, 1, 0, 0, 0, 1, 0, 0, 0, 1))
1249
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036))
1250
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.320000023, 0.200000003))
1251
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(5.56945801E-4, 0.379993439, 1.66396999, 1, 0, 0, 0, 0, -1, 0, 1, 0))
1252
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 1, 0.400000036))
1253
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.24000001, 0.200000003))
1254
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, 0.179988861, -0.2560215, 1, 0, 0, 0, 0, -1, 0, 1, 0))
1255
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.400000036))
1256
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
1257
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.09599543, -0.0817871094, 0.81999588, 0, -1, 0, -1, 0, 0, 0, 0, -1))
1258
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036))
1259
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.239999995))
1260
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, 0.299995422, -1.02396679, -1, 0, 0, 0, 0, -1, 0, -1, 0))
1261
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 1))
1262
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
1263
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, 0.459991455, 1.54396248, 1, 0, 0, 0, 0, -1, 0, 1, 0))
1264
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.799999952))
1265
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.320000023, 0.200000003))
1266
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, -2.21600771, -0.659992218, 1, 0, 0, 0, 1, 0, 0, 0, 1))
1267
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.400000036))
1268
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.640000045, 0.319999933))
1269
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.56945801E-4, 0.299995422, 0.136026382, -1, 0, 0, 0, 0, -1, 0, -1, 0))
1270
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.840000153, 1, 1))
1271
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.239999995))
1272
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(5.56945801E-4, -0.899993896, -1.02397919, 1, 0, 0, 0, 0, 1, 0, -1, 0))
1273
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 1))
1274
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.720000029, 0.239999995))
1275
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, -3.69600487, -0.17999649, 1, 0, 0, 0, 1, 0, 0, 0, 1))
1276
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
1277
  Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0.80000001192093, "Toothpaste", "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
1278
  WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, -0.303975105, -1.10400009, -1, 0, 0, 0, -1, 0, 0, 0, 1))
1279
  CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036))
1280
  Barrel = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, BrickColor.Random(), "Barrel", Vector3.new(0.200000003, 0.200000003, 0.600000024))
1281
  BarrelWeld = CFuncs.Weld.Create(m, Handle, Barrel, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00579071045, -4.09999704, -0.500003815, 1, 0, 0, 0, 1, 0, 0, 0, 1))
1282
  CFuncs.Mesh.Create("CylinderMesh", Barrel, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 0.800000072))
1283
  JetpackHandle = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "JetpackHandle", Vector3.new(0.200000003, 0.200000003, 0.200000003))
1284
  JetpackHandleWeld = CFuncs.Weld.Create(m, Character.Torso, JetpackHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.62939453E-6, -0.400000662, -2.30000019, 0.999999821, -3.64178788E-7, -8.94072372E-8, 3.63716538E-7, 1, 7.422572E-10, 2.98025853E-8, -1.13686838E-13, 0.999999881))
1285
  EffectPartR1 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartR1", Vector3.new(0.5, 0.5, 0.300000012))
1286
  EffectPartR1Weld = CFuncs.Weld.Create(m, JetpackHandle, EffectPartR1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.09364891, -0.187623501, -0.0701560974, 0.906307757, 3.29325474E-7, -0.422617853, -0.144542456, 0.939694047, -0.309971899, 0.397131324, 0.34201628, 0.851652086))
1287
  EffectPartL1 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartL1", Vector3.new(0.5, 0.5, 0.300000012))
1288
  EffectPartL1Weld = CFuncs.Weld.Create(m, JetpackHandle, EffectPartL1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.02251816, -0.220495224, 0.120153427, 0.965927601, 1.32644391E-6, 0.258812487, 0.0885165557, 0.939698577, -0.330363601, -0.243205622, 0.342014492, 0.907681763))
1289
  EffectPartR2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartR2", Vector3.new(0.5, 0.5, 0.300000012))
1290
  EffectPartR2Weld = CFuncs.Weld.Create(m, JetpackHandle, EffectPartR2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.093647, 0.123265266, 0.0195560455, 0.906307757, 3.29325474E-7, -0.422617853, -0.109380148, 0.965926826, -0.234566003, 0.408217847, 0.25881511, 0.875427186))
1291
  EffectPartL2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartL2", Vector3.new(0.5, 0.5, 0.300000012))
1292
  EffectPartL2Weld = CFuncs.Weld.Create(m, JetpackHandle, EffectPartL2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.02252197, 0.0983912945, 0.212385654, 0.96592772, 1.15327362E-6, 0.258813411, 0.0669838786, 0.965926588, -0.249997437, -0.249995068, 0.258815855, 0.933015227))
1293
  EffectPartL3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartL3", Vector3.new(0.400000006, 0.5, 0.300000012))
1294
  EffectPartL3Weld = CFuncs.Weld.Create(m, JetpackHandle, EffectPartL3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.86114502, 1.02306592, -0.343766928, 0.981060922, -0.0278283078, 0.19168894, -0.0858270004, 0.824720919, 0.558989346, -0.173645675, -0.56485492, 0.806713104))
1295
  EffectPartR3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartR3", Vector3.new(0.400000006, 0.5, 0.300000012))
1296
  EffectPartR3Weld = CFuncs.Weld.Create(m, JetpackHandle, EffectPartR3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.83058548, 1.0264864, -0.312187195, 0.981061339, 0.0278254021, -0.191695988, 0.0858334452, 0.824721098, 0.558989942, 0.173649624, -0.564855158, 0.806710064))
1297
  CFuncs.Mesh.Create("SpecialMesh", JetpackHandle, Enum.MeshType.FileMesh, "rbxassetid://665940542", Vector3.new(0, 0, 0), Vector3.new(1.29999995, 1.29999995, 1.29999995))
1298
for _,v in pairs(m:children()) do
1299
if v:IsA("Part") then
1300
v.CanCollide = false
1301
end
1302
end
1303
for _,v in pairs(m:children()) do
1304
if v:IsA("Part") then
1305
v.Material = "Neon"
1306
v.Transparency = 0.5
1307
end
1308
end
1309
spawn(function()
1310
while wait() do
1311
for _,v in pairs(m:children()) do
1312
if v:IsA("Part") then
1313
v.BrickColor=BrickColor.random()
1314
end
1315
end
1316
end
1317
end)
1318
1319
1320
1321
  JetpackHandle.Mesh.TextureId = "rbxassetid://665940699"
1322
  EffectModel = Create("Model")({Parent = Character, Name = "Effects"})
1323
  Effects = {
1324
    Block = {
1325
1326
      Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
1327
        local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1328
        prt.Anchored = true
1329
        prt.CFrame = cframe
1330
        local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1331
        game:GetService("Debris"):AddItem(prt, 10)
1332
        if Type == 1 or Type == nil then
1333
          table.insert(Effects, {
1334
            prt,
1335
            "Block1",
1336
            delay,
1337
            x3,
1338
            y3,
1339
            z3,
1340
            msh
1341
          })
1342
        elseif Type == 2 then
1343
          table.insert(Effects, {
1344
            prt,
1345
            "Block2",
1346
            delay,
1347
            x3,
1348
            y3,
1349
            z3,
1350
            msh
1351
          })
1352
        end
1353
      end
1354
    },
1355
    Cylinder = {
1356
      Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1357
        local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
1358
        prt.Anchored = true
1359
        prt.CFrame = cframe
1360
        local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1361
        game:GetService("Debris"):AddItem(prt, 2)
1362
        Effects[#Effects + 1] = {
1363
          prt,
1364
          "Cylinder",
1365
          delay,
1366
          x3,
1367
          y3,
1368
          z3,
1369
          msh
1370
        }
1371
      end
1372
    },
1373
    Head = {
1374
      Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1375
        local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1376
        prt.Anchored = true
1377
        prt.CFrame = cframe
1378
        local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1379
        game:GetService("Debris"):AddItem(prt, 10)
1380
        table.insert(Effects, {
1381
          prt,
1382
          "Cylinder",
1383
          delay,
1384
          x3,
1385
          y3,
1386
          z3,
1387
          msh
1388
        })
1389
      end
1390
    },
1391
    Sphere = {
1392
      Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1393
        local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1394
        prt.Anchored = true
1395
        prt.CFrame = cframe
1396
        local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1397
        game:GetService("Debris"):AddItem(prt, 10)
1398
        table.insert(Effects, {
1399
          prt,
1400
          "Cylinder",
1401
          delay,
1402
          x3,
1403
          y3,
1404
          z3,
1405
          msh
1406
        })
1407
      end
1408
    },
1409
    Elect = {
1410
      Create = function(cff, x, y, z)
1411
        local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
1412
        prt.Anchored = true
1413
        prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
1414
        prt.CFrame = CFrame.new(prt.Position)
1415
        game:GetService("Debris"):AddItem(prt, 2)
1416
        local xval = math.random() / 2
1417
        local yval = math.random() / 2
1418
        local zval = math.random() / 2
1419
        local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
1420
        table.insert(Effects, {
1421
          prt,
1422
          "Elec",
1423
          0.1,
1424
          x,
1425
          y,
1426
          z,
1427
          xval,
1428
          yval,
1429
          zval
1430
        })
1431
      end
1432
    },
1433
    Ring = {
1434
      Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1435
        local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1436
        prt.Anchored = true
1437
        prt.CFrame = cframe
1438
        local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1439
        game:GetService("Debris"):AddItem(prt, 10)
1440
        table.insert(Effects, {
1441
          prt,
1442
          "Cylinder",
1443
          delay,
1444
          x3,
1445
          y3,
1446
          z3,
1447
          msh
1448
        })
1449
      end
1450
    },
1451
    Wave = {
1452
      Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1453
        local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1454
        prt.Anchored = true
1455
        prt.CFrame = cframe
1456
        local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1457
        game:GetService("Debris"):AddItem(prt, 10)
1458
        table.insert(Effects, {
1459
          prt,
1460
          "Cylinder",
1461
          delay,
1462
          x3,
1463
          y3,
1464
          z3,
1465
          msh
1466
        })
1467
      end
1468
    },
1469
    Break = {
1470
      Create = function(brickcolor, cframe, x1, y1, z1)
1471
        local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1472
        prt.Anchored = true
1473
        prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1474
        local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1475
        local num = math.random(10, 50) / 1000
1476
        game:GetService("Debris"):AddItem(prt, 10)
1477
        table.insert(Effects, {
1478
          prt,
1479
          "Shatter",
1480
          num,
1481
          prt.CFrame,
1482
          math.random() - math.random(),
1483
          0,
1484
          math.random(50, 100) / 100
1485
        })
1486
      end
1487
    },
1488
    Fire = {
1489
      Create = function(brickcolor, cframe, x1, y1, z1, delay)
1490
        local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1491
        prt.Anchored = true
1492
        prt.CFrame = cframe
1493
        msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1494
        game:GetService("Debris"):AddItem(prt, 10)
1495
        table.insert(Effects, {
1496
          prt,
1497
          "Fire",
1498
          delay,
1499
          1,
1500
          1,
1501
          1,
1502
          msh
1503
        })
1504
      end
1505
    },
1506
    FireWave = {
1507
      Create = function(brickcolor, cframe, x1, y1, z1)
1508
        local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
1509
        prt.Anchored = true
1510
        prt.CFrame = cframe
1511
        msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1512
        local d = Create("Decal")({
1513
          Parent = prt,
1514
          Texture = "rbxassetid://26356434",
1515
          Face = "Top"
1516
        })
1517
        local d = Create("Decal")({
1518
          Parent = prt,
1519
          Texture = "rbxassetid://26356434",
1520
          Face = "Bottom"
1521
        })
1522
        game:GetService("Debris"):AddItem(prt, 10)
1523
        table.insert(Effects, {
1524
          prt,
1525
          "FireWave",
1526
          1,
1527
          30,
1528
          math.random(400, 600) / 100,
1529
          msh
1530
        })
1531
      end
1532
    },
1533
    Lightning = {
1534
      Create = function(p0, p1, tym, ofs, col, th, tra, last)
1535
        local magz = (p0 - p1).magnitude
1536
        local curpos = p0
1537
        local trz = {
1538
          -ofs,
1539
          ofs
1540
        }
1541
        for i = 1, tym do
1542
          local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
1543
          local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
1544
          local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
1545
          li.Material = "Neon"
1546
          if tym == i then
1547
            local magz2 = (curpos - p1).magnitude
1548
            li.Size = Vector3.new(th, th, magz2)
1549
            li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
1550
            table.insert(Effects, {
1551
              li,
1552
              "Disappear",
1553
              last
1554
            })
1555
          else
1556
            li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
1557
            curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
1558
            game.Debris:AddItem(li, 10)
1559
            table.insert(Effects, {
1560
              li,
1561
              "Disappear",
1562
              last
1563
            })
1564
          end
1565
        end
1566
      end
1567
    },
1568
    EffectTemplate = {}
1569
  }
1570
  function Bullet(Part)
1571
    local bullet = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 0, BrickColor.random(),  "Bullet", Vector3.new())
1572
    local bmsh = CFuncs.Mesh.Create("CylinderMesh", bullet, "", "", Vector3.new(0, 0, 0), Vector3.new(1.3, 1.5, 1.3))
1573
    bullet.CanCollide = true
1574
    bullet.CFrame = Part.CFrame * CFrame.new(math.random(-100, 100) / 100, math.random(-100, 100) / 100, math.random(-100, 100) / 100)
1575
    bullet.Velocity = Torso.CFrame.lookVector * math.random(10, 40) + Vector3.new(1, 0, 0) * math.random(0, 1000) / 100 + Vector3.new(0, 1, 0) * math.random(0, 1000) / 100 + Vector3.new(0, 0, 1) * math.random(0, 1000) / 100
1576
    game:GetService("Debris"):AddItem(bullet, 3)
1577
  end
1578
  function Shootcombo()
1579
    local MouseLook = CFrame.new((Barrel.Position + Mouse.Hit.p) / 2, Mouse.Hit.p)
1580
    CFuncs.Sound.Create("186083909", Barrel, 1, 1.2)
1581
    CFuncs.Sound.Create("406722373", Barrel, 1, 1.1)
1582
    Effects.Sphere.Create(BrickColor.random(),  Barrel.CFrame, 0.5, 0.5, 0.5, 1, 1, 1, 0.09)
1583
    Effects.Sphere.Create(BrickColor.random(),  Barrel.CFrame, 1, 1, 1, 2, 2, 2, 0.09)
1584
    Effects.Block.Create(BrickColor.random(),  Barrel.CFrame, 1, 1, 1, 2, 2, 2, 0.09, 1)
1585
    table.insert(Effects, {
1586
      MouseLook.lookVector,
1587
      "Shoot",
1588
      30,
1589
      Barrel.Position,
1590
      6,
1591
      8,
1592
      0,
1593
      1
1594
    })
1595
  end
1596
  function Bolt()
1597
    for i = 0, 1, 0.13 do
1598
      swait()
1599
      PlayAnimationFromTable({
1600
        CFrame.new(-0.319091141, -0.800000012, -0.20328027, 0.422617137, 0, -0.906308293, 0, 1, 0, 0.906308293, 0, 0.422617137) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1601
        CFrame.new(0, 1.49998784, 0, 0.866023839, 0, 0.500000119, 0, 1, 0, -0.500000119, 0, 0.866023839) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1602
        CFrame.new(0.998740196, 0.416736871, -0.5858199, 0.422617137, 0.851651311, -0.309975445, 0, -0.342019916, -0.939692736, -0.906308293, 0.397130251, -0.144543469) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1603
        CFrame.new(-1.29375136, 1.10341132, -0.830147505, 0.627507746, 0.439378917, -0.642791271, -0.234787911, -0.680352092, -0.694258928, -0.742367566, 0.586572289, -0.323765248) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1604
        CFrame.new(0.610143065, -1.6490345, 0.494668663, 0.984807849, -3.09944153E-6, -0.173640966, 0.157373026, 0.422616184, 0.892542183, 0.0733809769, -0.90630877, 0.416197568) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1605
        CFrame.new(-0.849825501, -1.36450362, -0.291514039, 0.866527259, 0.0320672095, 0.498098612, -0.0868243203, 0.992404044, 0.0871554837, -0.491520047, -0.11876969, 0.86272943) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
1606
      }, 0.4, false)
1607
    end
1608
    Bullet(Handle)
1609
    CFuncs.Sound.Create("318369098", Handle, 1, 1.1)
1610
    for i = 0, 1, 0.2 do
1611
      swait()
1612
      PlayAnimationFromTable({
1613
        CFrame.new(-0.319091141, -0.800000012, -0.20328027, 0.422617137, 0, -0.906308293, 0, 1, 0, 0.906308293, 0, 0.422617137) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1614
        CFrame.new(0, 1.49998784, 0, 0.939692438, 0, 0.342020601, 0, 1, 0, -0.342020601, 0, 0.939692438) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1615
        CFrame.new(1.1690712, 0.348333716, -0.506393492, 0.422617137, 0.851651311, -0.309975445, 0, -0.342019916, -0.939692736, -0.906308293, 0.397130251, -0.144543469) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1616
        CFrame.new(-0.816940069, 1.04093611, -0.407359332, 0.739941239, 0.198263437, -0.642789721, -0.453320742, -0.559019029, -0.694260836, -0.496978402, 0.805101991, -0.323764324) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1617
        CFrame.new(0.61014241, -1.64903653, 0.494667768, 0.984807849, -3.09944153E-6, -0.173640966, 0.157373026, 0.422616184, 0.892542183, 0.0733809769, -0.90630877, 0.416197568) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1618
        CFrame.new(-0.849824548, -1.3645035, -0.29151243, 0.866527259, 0.0320672095, 0.498098612, -0.0868243203, 0.992404044, 0.0871554837, -0.491520047, -0.11876969, 0.86272943) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
1619
      }, 0.35, false)
1620
    end
1621
    CFuncs.Sound.Create("318369288", Handle, 1, 1.1)
1622
    for i = 0, 1, 0.13 do
1623
      swait()
1624
      PlayAnimationFromTable({
1625
        CFrame.new(-0.319091141, -0.800000012, -0.20328027, 0.422617137, 0, -0.906308293, 0, 1, 0, 0.906308293, 0, 0.422617137) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1626
        CFrame.new(0, 1.49998784, 0, 0.866023839, 0, 0.500000119, 0, 1, 0, -0.500000119, 0, 0.866023839) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1627
        CFrame.new(0.998740196, 0.416736871, -0.5858199, 0.422617137, 0.851651311, -0.309975445, 0, -0.342019916, -0.939692736, -0.906308293, 0.397130251, -0.144543469) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1628
        CFrame.new(-1.29375136, 1.10341132, -0.830147505, 0.627507746, 0.439378917, -0.642791271, -0.234787911, -0.680352092, -0.694258928, -0.742367566, 0.586572289, -0.323765248) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1629
        CFrame.new(0.610143065, -1.6490345, 0.494668663, 0.984807849, -3.09944153E-6, -0.173640966, 0.157373026, 0.422616184, 0.892542183, 0.0733809769, -0.90630877, 0.416197568) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1630
        CFrame.new(-0.849825501, -1.36450362, -0.291514039, 0.866527259, 0.0320672095, 0.498098612, -0.0868243203, 0.992404044, 0.0871554837, -0.491520047, -0.11876969, 0.86272943) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
1631
      }, 0.4, false)
1632
    end
1633
  end
1634
  function SpinShot()
1635
    attack = true
1636
    for i = 0, 1, 0.12 do
1637
      swait()
1638
      PlayAnimationFromTable({
1639
        CFrame.new(-0.33084622, -0.304918617, -0.52869457, 0.342018992, 2.44630968E-7, -0.939693093, 0.163176, 0.98480773, 0.0593912415, 0.925417006, -0.173648283, 0.336822927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1640
        CFrame.new(0.0322597921, 1.48268783, -0.0930604339, 0.322602183, 0.14004983, 0.936116517, -0.172989488, 0.981059611, -0.0871584788, -0.930592477, -0.133820817, 0.340719253) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1641
        CFrame.new(0.506988645, 0.377255857, -0.803069711, 0.259420365, 0.955582082, -0.139867067, 0.0992426202, -0.170435682, -0.980358601, -0.960651875, 0.240444362, -0.139049053) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1642
        CFrame.new(-1.72998452, 0.495006025, -0.392647803, 0.542880952, 0.410539567, 0.732626021, 0.737672389, 0.183852568, -0.649647713, -0.4013969, 0.893121183, -0.203034982) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1643
        CFrame.new(0.502950907, -1.9151485, 0.231621087, 0.864151537, 0.0236141682, -0.502677977, 0.0515102148, 0.989501238, 0.135033786, 0.50058949, -0.142582476, 0.853862286) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1644
        CFrame.new(-0.865711927, -1.63087702, -0.282848835, 0.925415218, 0.173649043, 0.336827427, -0.163176641, 0.98480773, -0.0593916178, -0.342023462, -4.54019755E-7, 0.939691782) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
1645
      }, 0.35, false)
1646
    end
1647
    Shootcombo()
1648
    for i = 0, 1, 0.3 do
1649
      swait()
1650
      RootPart.Velocity = RootPart.CFrame.lookVector * -10
1651
      PlayAnimationFromTable({
1652
        CFrame.new(-0.330845773, -0.378038257, 0.581278205, 0.342019081, 5.60612747E-8, -0.939693093, -0.0819000229, 0.996194661, -0.0298090074, 0.936117232, 0.0871561244, 0.340717614) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1653
        CFrame.new(0.0322549939, 1.48268545, -0.0930609033, 0.239786834, -0.113366202, 0.964181364, -0.164735377, 0.974004149, 0.155488253, -0.95675236, -0.196119189, 0.214875787) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1654
        CFrame.new(0.806416035, 0.470317304, -0.694097638, 0.244436547, 0.969400585, 0.0226592347, 0.0830115676, 0.00236219168, -0.996545851, -0.9661057, 0.245473176, -0.079894051) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1655
        CFrame.new(-1.57694697, 0.512434185, -0.230538517, 0.760710716, 0.410538197, 0.502765059, 0.470990688, 0.1838523, -0.862764716, -0.44662869, 0.893119931, -0.0535021573) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1656
        CFrame.new(0.865904212, -1.71960115, 0.0648829341, 0.881422341, -0.173719466, -0.439225137, 0.290622324, 0.932511985, 0.214389697, 0.372338951, -0.316616565, 0.872420609) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1657
        CFrame.new(-0.679471731, -1.82845092, -0.362076759, 0.770665169, -0.0483331755, 0.635404408, -0.0295864344, 0.993330181, 0.111444041, -0.63655293, -0.104685426, 0.764095306) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
1658
      }, 0.5, false)
1659
    end
1660
    for i = 0, 1, 0.12 do
1661
      swait()
1662
      PlayAnimationFromTable({
1663
        CFrame.new(-0.33084622, -0.304918617, -0.52869457, 0.342018992, 2.44630968E-7, -0.939693093, 0.163176, 0.98480773, 0.0593912415, 0.925417006, -0.173648283, 0.336822927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1664
        CFrame.new(0.0322597921, 1.48268783, -0.0930604339, 0.322602183, 0.14004983, 0.936116517, -0.172989488, 0.981059611, -0.0871584788, -0.930592477, -0.133820817, 0.340719253) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1665
        CFrame.new(0.506988645, 0.377255857, -0.803069711, 0.259420365, 0.955582082, -0.139867067, 0.0992426202, -0.170435682, -0.980358601, -0.960651875, 0.240444362, -0.139049053) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1666
        CFrame.new(-1.72998452, 0.495006025, -0.392647803, 0.542880952, 0.410539567, 0.732626021, 0.737672389, 0.183852568, -0.649647713, -0.4013969, 0.893121183, -0.203034982) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1667
        CFrame.new(0.502950907, -1.9151485, 0.231621087, 0.864151537, 0.0236141682, -0.502677977, 0.0515102148, 0.989501238, 0.135033786, 0.50058949, -0.142582476, 0.853862286) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1668
        CFrame.new(-0.865711927, -1.63087702, -0.282848835, 0.925415218, 0.173649043, 0.336827427, -0.163176641, 0.98480773, -0.0593916178, -0.342023462, -4.54019755E-7, 0.939691782) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
1669
      }, 0.4, false)
1670
    end
1671
    Bolt()
1672
    attack = false
1673
  end
1674
  function LungeShot(Mode)
1675
    attack = true
1676
    Humanoid.Jump = true
1677
    CFuncs.Sound.Create("158149887", Torso, 1, 0.9)
1678
    if Mode == "Forward" then
1679
      RootPart.Velocity = RootPart.CFrame.lookVector * 80
1680
      for i = 0, 1, 0.1 do
1681
        swait()
1682
        PlayAnimationFromTable({
1683
          CFrame.new(-3.81469727E-6, 0.0628450513, 0.146824121, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20), 0, 0),
1684
          CFrame.new(0, 1.49998665, -2.20537186E-6, 1, 0, 0, 0, 0.984807312, 0.173648536, 0, -0.173648536, 0.984807312) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20), 0, 0),
1685
          CFrame.new(0.523067951, 0.10826005, -0.698177814, 0.296512067, 0.787702143, 0.540005624, 0.206982568, 0.498990804, -0.84152633, -0.932329774, 0.361294419, -0.0150838122) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1686
          CFrame.new(-1.42747557, -0.117001235, -0.482704312, 0.268235743, 0.0413863063, 0.962466657, 0.56728673, 0.800693691, -0.192532867, -0.778610408, 0.597635567, 0.191299409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1687
          CFrame.new(0.499998361, -1.51702964, -0.129410475, 0.984807849, 0, -0.173648044, 0.0449435376, 0.965925634, 0.25488764, 0.167731121, -0.258819699, 0.951251149) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1688
          CFrame.new(-0.500004053, -1.35084605, -0.555529714, 0.981060445, 0.0871543288, 0.172987863, -0.140045926, 0.936115682, 0.322606146, -0.133820146, -0.340722382, 0.930591524) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
1689
        }, 0.3, false)
1690
      end
1691
    elseif Mode == "Backward" then
1692
      RootPart.Velocity = RootPart.CFrame.lookVector * -80
1693
      for i = 0, 1, 0.1 do
1694
        swait()
1695
        PlayAnimationFromTable({
1696
          CFrame.new(-3.81469727E-6, 0.0628450513, 0.146824121, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), 0, 0),
1697
          CFrame.new(0, 1.49998665, -2.20537186E-6, 1, 0, 0, 0, 0.984807312, 0.173648536, 0, -0.173648536, 0.984807312) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), 0, 0),
1698
          CFrame.new(0.523067951, 0.10826005, -0.698177814, 0.296512067, 0.787702143, 0.540005624, 0.206982568, 0.498990804, -0.84152633, -0.932329774, 0.361294419, -0.0150838122) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1699
          CFrame.new(-1.42747557, -0.117001235, -0.482704312, 0.268235743, 0.0413863063, 0.962466657, 0.56728673, 0.800693691, -0.192532867, -0.778610408, 0.597635567, 0.191299409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1700
          CFrame.new(0.499998361, -1.51702964, -0.129410475, 0.984807849, 0, -0.173648044, 0.0449435376, 0.965925634, 0.25488764, 0.167731121, -0.258819699, 0.951251149) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1701
          CFrame.new(-0.500004053, -1.35084605, -0.555529714, 0.981060445, 0.0871543288, 0.172987863, -0.140045926, 0.936115682, 0.322606146, -0.133820146, -0.340722382, 0.930591524) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
1702
        }, 0.3, false)
1703
      end
1704
    end
1705
    local hitfloor
1706
    while hitfloor == nil do
1707
      swait()
1708
      hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 6, Character)
1709
    end
1710
    for i = 0, 1, 0.2 do
1711
      swait()
1712
      PlayAnimationFromTable({
1713
        CFrame.new(-0.330837339, -0.699999928, -0.231655031, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1714
        CFrame.new(0.120368131, 1.44721556, -0.255113155, 0.418385565, -0.00512788072, 0.908255041, -0.141075298, 0.987487316, 0.0705598369, -0.897252142, -0.157652482, 0.412421852) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1715
        CFrame.new(0.285862863, 0.389394581, -0.81719619, 0.340717524, 0.939693093, 0.0298089981, 0.087155968, 0, -0.996194661, -0.936117232, 0.342018992, -0.081899859) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1716
        CFrame.new(-1.69020307, 0.41307798, -0.514919221, 0.800103247, 0.517377436, 0.303571403, 0.255382031, 0.16412276, -0.95280838, -0.542784572, 0.839871705, -8.13782215E-4) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1717
        CFrame.new(0.897276342, -1.54715633, 0.463865459, 0.951250672, -0.229007483, -0.206587687, 0.304395527, 0.589249432, 0.748417377, -0.0496615469, -0.774816513, 0.630232751) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1718
        CFrame.new(-0.632248044, -1.39177239, -0.405484438, 0.817636669, -0.123517469, 0.562330127, 0.0563425981, 0.989193141, 0.13535662, -0.572972655, -0.0789892152, 0.815760136) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
1719
      }, 0.4, false)
1720
    end
1721
    Shootcombo()
1722
    for i = 0, 1, 0.3 do
1723
      swait()
1724
      RootPart.Velocity = RootPart.CFrame.lookVector * -40
1725
      PlayAnimationFromTable({
1726
        CFrame.new(-0.330840945, -1.00127292, -0.261750877, 0.342018962, -1.4270141E-7, -0.939693034, -0.243209973, 0.965925992, -0.0885209814, 0.907673895, 0.258818597, 0.330364913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1727
        CFrame.new(0.120366111, 1.44719875, -0.255110145, 0.418383747, -0.0842670798, 0.904353142, -0.141075209, 0.977573991, 0.156355858, -0.897247374, -0.192998484, 0.397113085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1728
        CFrame.new(0.632638395, 0.661208212, -0.690981925, 0.326495707, 0.925417125, 0.192363232, 0.0858313814, 0.173647493, -0.981060386, -0.941293538, 0.336822778, -0.0227346662) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1729
        CFrame.new(-1.51982272, 0.476396978, -0.384689331, 0.81248939, 0.445674956, 0.37581408, 0.350734472, 0.141240373, -0.925762773, -0.46566987, 0.88398242, -0.0415571854) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1730
        CFrame.new(0.783671975, -1.17622542, 0.561357141, 0.831630051, -0.23809275, -0.501700282, 0.550981283, 0.240921408, 0.798984766, -0.0693621933, -0.940887034, 0.331542104) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1731
        CFrame.new(-0.632252574, -1.39177251, -0.40547961, 0.73177588, -0.317396253, 0.603132486, 0.21459803, 0.947232425, 0.238111958, -0.646885633, -0.0448122993, 0.761271358) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
1732
      }, 0.6, false)
1733
    end
1734
    for i = 0, 1, 0.2 do
1735
      swait()
1736
      PlayAnimationFromTable({
1737
        CFrame.new(-0.330837339, -0.699999928, -0.231655031, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1738
        CFrame.new(0.120368131, 1.44721556, -0.255113155, 0.418385565, -0.00512788072, 0.908255041, -0.141075298, 0.987487316, 0.0705598369, -0.897252142, -0.157652482, 0.412421852) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1739
        CFrame.new(0.285862863, 0.389394581, -0.81719619, 0.340717524, 0.939693093, 0.0298089981, 0.087155968, 0, -0.996194661, -0.936117232, 0.342018992, -0.081899859) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1740
        CFrame.new(-1.69020307, 0.41307798, -0.514919221, 0.800103247, 0.517377436, 0.303571403, 0.255382031, 0.16412276, -0.95280838, -0.542784572, 0.839871705, -8.13782215E-4) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1741
        CFrame.new(0.897276342, -1.54715633, 0.463865459, 0.951250672, -0.229007483, -0.206587687, 0.304395527, 0.589249432, 0.748417377, -0.0496615469, -0.774816513, 0.630232751) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1742
        CFrame.new(-0.632248044, -1.39177239, -0.405484438, 0.817636669, -0.123517469, 0.562330127, 0.0563425981, 0.989193141, 0.13535662, -0.572972655, -0.0789892152, 0.815760136) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
1743
      }, 0.6, false)
1744
    end
1745
    Bolt()
1746
    attack = false
1747
  end
1748
  function AutoShot()
1749
    attack = true
1750
    Humanoid.WalkSpeed = 5
1751
    Bolt()
1752
    for i = 0, 1, 0.3 do
1753
      swait()
1754
      PlayAnimationFromTable({
1755
        CFrame.new(-0.330837339, -0.699999928, -0.231655031, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1756
        CFrame.new(0.120368131, 1.44721556, -0.255113155, 0.418385565, -0.00512788072, 0.908255041, -0.141075298, 0.987487316, 0.0705598369, -0.897252142, -0.157652482, 0.412421852) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1757
        CFrame.new(0.285862863, 0.389394581, -0.81719619, 0.340717524, 0.939693093, 0.0298089981, 0.087155968, 0, -0.996194661, -0.936117232, 0.342018992, -0.081899859) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1758
        CFrame.new(-1.69020307, 0.41307798, -0.514919221, 0.800103247, 0.517377436, 0.303571403, 0.255382031, 0.16412276, -0.95280838, -0.542784572, 0.839871705, -8.13782215E-4) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1759
        CFrame.new(0.897276342, -1.54715633, 0.463865459, 0.951250672, -0.229007483, -0.206587687, 0.304395527, 0.589249432, 0.748417377, -0.0496615469, -0.774816513, 0.630232751) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1760
        CFrame.new(-0.632248044, -1.39177239, -0.405484438, 0.817636669, -0.123517469, 0.562330127, 0.0563425981, 0.989193141, 0.13535662, -0.572972655, -0.0789892152, 0.815760136) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
1761
      }, 0.4, false)
1762
    end
1763
    Humanoid.WalkSpeed = 0
1764
    for i = 1, 10 do
1765
      for i = 0, 1, 0.8 do
1766
        swait()
1767
        PlayAnimationFromTable({
1768
          CFrame.new(-0.330837339, -0.699999928, -0.231655031, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1769
          CFrame.new(0.120368131, 1.44721556, -0.255113155, 0.418385565, -0.00512788072, 0.908255041, -0.141075298, 0.987487316, 0.0705598369, -0.897252142, -0.157652482, 0.412421852) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1770
          CFrame.new(0.285862863, 0.389394581, -0.81719619, 0.340717524, 0.939693093, 0.0298089981, 0.087155968, 0, -0.996194661, -0.936117232, 0.342018992, -0.081899859) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1771
          CFrame.new(-1.69020307, 0.41307798, -0.514919221, 0.800103247, 0.517377436, 0.303571403, 0.255382031, 0.16412276, -0.95280838, -0.542784572, 0.839871705, -8.13782215E-4) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1772
          CFrame.new(0.897276342, -1.54715633, 0.463865459, 0.951250672, -0.229007483, -0.206587687, 0.304395527, 0.589249432, 0.748417377, -0.0496615469, -0.774816513, 0.630232751) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1773
          CFrame.new(-0.632248044, -1.39177239, -0.405484438, 0.817636669, -0.123517469, 0.562330127, 0.0563425981, 0.989193141, 0.13535662, -0.572972655, -0.0789892152, 0.815760136) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
1774
        }, 0.7, false)
1775
      end
1776
      Shootcombo()
1777
      for i = 0, 1, 0.9 do
1778
        swait()
1779
        PlayAnimationFromTable({
1780
          CFrame.new(-0.330840945, -1.00127292, -0.261750877, 0.342018962, -1.4270141E-7, -0.939693034, -0.243209973, 0.965925992, -0.0885209814, 0.907673895, 0.258818597, 0.330364913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1781
          CFrame.new(0.120366111, 1.44719875, -0.255110145, 0.418383747, -0.0842670798, 0.904353142, -0.141075209, 0.977573991, 0.156355858, -0.897247374, -0.192998484, 0.397113085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1782
          CFrame.new(0.632638395, 0.661208212, -0.690981925, 0.326495707, 0.925417125, 0.192363232, 0.0858313814, 0.173647493, -0.981060386, -0.941293538, 0.336822778, -0.0227346662) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1783
          CFrame.new(-1.51982272, 0.476396978, -0.384689331, 0.81248939, 0.445674956, 0.37581408, 0.350734472, 0.141240373, -0.925762773, -0.46566987, 0.88398242, -0.0415571854) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1784
          CFrame.new(0.783671975, -1.17622542, 0.561357141, 0.831630051, -0.23809275, -0.501700282, 0.550981283, 0.240921408, 0.798984766, -0.0693621933, -0.940887034, 0.331542104) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1785
          CFrame.new(-0.632252574, -1.39177251, -0.40547961, 0.73177588, -0.317396253, 0.603132486, 0.21459803, 0.947232425, 0.238111958, -0.646885633, -0.0448122993, 0.761271358) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
1786
        }, 0.8, false)
1787
      end
1788
      for i = 0, 1, 0.8 do
1789
        swait()
1790
        PlayAnimationFromTable({
1791
          CFrame.new(-0.330837339, -0.699999928, -0.231655031, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1792
          CFrame.new(0.120368131, 1.44721556, -0.255113155, 0.418385565, -0.00512788072, 0.908255041, -0.141075298, 0.987487316, 0.0705598369, -0.897252142, -0.157652482, 0.412421852) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1793
          CFrame.new(0.285862863, 0.389394581, -0.81719619, 0.340717524, 0.939693093, 0.0298089981, 0.087155968, 0, -0.996194661, -0.936117232, 0.342018992, -0.081899859) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1794
          CFrame.new(-1.69020307, 0.41307798, -0.514919221, 0.800103247, 0.517377436, 0.303571403, 0.255382031, 0.16412276, -0.95280838, -0.542784572, 0.839871705, -8.13782215E-4) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1795
          CFrame.new(0.897276342, -1.54715633, 0.463865459, 0.951250672, -0.229007483, -0.206587687, 0.304395527, 0.589249432, 0.748417377, -0.0496615469, -0.774816513, 0.630232751) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1796
          CFrame.new(-0.632248044, -1.39177239, -0.405484438, 0.817636669, -0.123517469, 0.562330127, 0.0563425981, 0.989193141, 0.13535662, -0.572972655, -0.0789892152, 0.815760136) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
1797
        }, 0.7, false)
1798
      end
1799
    end
1800
    Humanoid.WalkSpeed = 100
1801
    attack = false
1802
  end
1803
  function MortarShot()
1804
    attack = true
1805
    Humanoid.WalkSpeed = 5
1806
    Bolt()
1807
    for i = 0, 1, 0.2 do
1808
      swait()
1809
      PlayAnimationFromTable({
1810
        CFrame.new(-0.00381875038, -1.20960522, -0.0234894156, 0.906307876, 0.271653324, -0.323744416, -0.422617942, 0.582562923, -0.694272697, 0, 0.766045094, 0.64278698) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1811
        CFrame.new(-0.0485313386, 1.45186937, 0.12381205, 0.906306446, -0.036834389, 0.421012908, 0.178607732, 0.936241806, -0.302573651, -0.383024782, 0.349420667, 0.855100751) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1812
        CFrame.new(1.2566489, 0.0942437202, -0.366937846, 0.866025388, 0.499999881, 0, 0.32139343, -0.556669831, -0.766045094, -0.383022457, 0.663414538, -0.64278698) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1813
        CFrame.new(-0.669512153, 0.883427501, -1.42651618, 0.814972997, -0.183017969, 0.54984045, 0.413680524, -0.480712831, -0.773165226, 0.405818164, 0.85756737, -0.316057026) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1814
        CFrame.new(0.663835824, -0.644426942, 0.718474984, 0.819152117, -0.0996050313, -0.564861536, 0.496729434, -0.369217664, 0.785454273, -0.28679204, -0.923989952, -0.252968639) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1815
        CFrame.new(-0.597848773, -1.58645034, 0.419145882, 0.845831037, -0.0996147096, 0.524067461, -0.385522783, 0.564860702, 0.729592204, -0.368703246, -0.819151759, 0.439372897) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
1816
      }, 0.4, false)
1817
    end
1818
    for i = 0, 1, 0.3 do
1819
      swait()
1820
      PlayAnimationFromTable({
1821
        CFrame.new(-0.062730819, -1.35083091, -0.0234885216, 0.819151819, 0.368687779, -0.439385623, -0.573576868, 0.52654016, -0.627507091, 0, 0.766044974, 0.642787039) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1822
        CFrame.new(-0.0485280529, 1.45187008, 0.123812944, 0.90630585, -0.0368346125, 0.421014428, 0.178608507, 0.936241627, -0.302573681, -0.383025914, 0.349420995, 0.855100214) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1823
        CFrame.new(1.37136579, -0.011062175, -0.241436988, 0.866025329, 0.500000238, 0, 0.321393698, -0.556669831, -0.766044974, -0.383022636, 0.663414299, -0.642787039) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1824
        CFrame.new(-0.554796219, 0.778117955, -1.30101132, 0.814972818, -0.183016568, 0.549840331, 0.413680822, -0.480712891, -0.773164511, 0.40581724, 0.857566416, -0.316057503) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1825
        CFrame.new(0.745755255, -0.594750226, 0.689795136, 0.707485676, 0.0499878898, -0.704957783, 0.604335666, -0.559927046, 0.566798568, -0.366391778, -0.827032924, -0.426349699) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1826
        CFrame.new(-0.45294404, -1.60859108, 0.283076108, 0.724484801, -0.4477458, 0.524066269, -0.110680997, 0.674867868, 0.729592919, -0.680348873, -0.586582422, 0.439373374) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
1827
      }, 0.4, false)
1828
    end
1829
    CFuncs.Sound.Create("300916014", Barrel, 1, 1.2)
1830
    CFuncs.Sound.Create("301031757", Barrel, 1, 1.1)
1831
    Effects.Sphere.Create(BrickColor.random(), Barrel.CFrame, 6, 6, 6, 0, 0, 0, 1, m)
1832
    for i = 1, 60 do
1833
      local hit, pos = rayCast(Barrel.Position, Barrel.CFrame * CFrame.fromEulerAnglesXYZ(0, 5, 0).lookVector, 220, Character)
1834
      local mag = (Barrel.Position - pos).magnitude
1835
      Effects.Cylinder.Create(BrickColor.random(), Barrel.CFrame, 30, 99999, 30, -0.5, 1, -0.5, 0.1)
1836
      local cf2 = Mouse.Hit.p + Vector3.new(math.random(-1500, 1500) / 100, 100, math.random(-1500, 1500) / 100)
1837
      local hit2, pos2 = rayCast(cf2, CFrame.new(cf2, cf2 - Vector3.new(0, 1, 0)).lookVector, 999, Character)
1838
      if hit2 ~= nil then
1839
        local d1 = CFuncs.Part.Create(workspace, "Neon", 0, 0.5, BrickColor.random(), "Effect", Vector3.new())
1840
        d1.Anchored = true
1841
        d1.CFrame = CFrame.new(pos2)
1842
        game:GetService("Debris"):AddItem(d1, 5)
1843
        local msh = CFuncs.Mesh.Create("CylinderMesh", d1, "nil", "nil", Vector3.new(0, 0, 0), Vector3.new(30, 5, 30))
1844
        local d2 = d1:Clone()
1845
        d2.Parent = d1
1846
        d2.CFrame = CFrame.new(d1.Position)
1847
        d2.BrickColor = BrickColor.random()
1848
        d2.Mesh.Scale = Vector3.new(0, 5, 0)
1849
        table.insert(Effects, {
1850
          d1,
1851
          "QuadShot",
1852
          d2,
1853
          d2.Mesh,
1854
          0
1855
        })
1856
      end
1857
    end
1858
    for i = 0, 1, 0.2 do
1859
      swait()
1860
      PlayAnimationFromTable({
1861
        CFrame.new(-0.00381875038, -1.20960522, -0.0234894156, 0.906307876, 0.271653324, -0.323744416, -0.422617942, 0.582562923, -0.694272697, 0, 0.766045094, 0.64278698) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1862
        CFrame.new(-0.0485313386, 1.45186937, 0.12381205, 0.906306446, -0.036834389, 0.421012908, 0.178607732, 0.936241806, -0.302573651, -0.383024782, 0.349420667, 0.855100751) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1863
        CFrame.new(1.2566489, 0.0942437202, -0.366937846, 0.866025388, 0.499999881, 0, 0.32139343, -0.556669831, -0.766045094, -0.383022457, 0.663414538, -0.64278698) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1864
        CFrame.new(-0.669512153, 0.883427501, -1.42651618, 0.814972997, -0.183017969, 0.54984045, 0.413680524, -0.480712831, -0.773165226, 0.405818164, 0.85756737, -0.316057026) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1865
        CFrame.new(0.663835824, -0.644426942, 0.718474984, 0.819152117, -0.0996050313, -0.564861536, 0.496729434, -0.369217664, 0.785454273, -0.28679204, -0.923989952, -0.252968639) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1866
        CFrame.new(-0.597848773, -1.58645034, 0.419145882, 0.845831037, -0.0996147096, 0.524067461, -0.385522783, 0.564860702, 0.729592204, -0.368703246, -0.819151759, 0.439372897) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
1867
      }, 0.4, false)
1868
    end
1869
    Humanoid.WalkSpeed = 100
1870
    attack = false
1871
  end
1872
  function DisappearJetOnly()
1873
    for _, i in pairs(m:children()) do
1874
      if i == JetpackHandle then
1875
        coroutine.resume(coroutine.create(function(Part)
1876
          for i = 0, 1, 0.3 do
1877
            swait()
1878
            Part.Transparency = i
1879
          end
1880
          Part.Transparency = 1
1881
        end), i)
1882
      end
1883
    end
1884
  end
1885
  function ReappearJetOnly()
1886
    for _, i in pairs(m:children()) do
1887
      if i == JetpackHandle then
1888
        coroutine.resume(coroutine.create(function(Part)
1889
          for i = 0, 1, 0.3 do
1890
            swait()
1891
            Part.Transparency = i
1892
          end
1893
          Part.Transparency = 0
1894
        end), i)
1895
      end
1896
    end
1897
  end
1898
  local floornum = 0
1899
  function JetDash()
1900
    attack = true
1901
    ReappearJetOnly()
1902
    Humanoid.WalkSpeed = 5
1903
    CFuncs.Sound.Create("324867021", JetpackHandle, 1, 1)
1904
    CFuncs.Sound.Create("301031757", JetpackHandle, 1, 0.8)
1905
    for i = 0, 1, 0.05 do
1906
      swait()
1907
      Effects.Wave.Create(BrickColor.random(), JetpackHandle.CFrame * CFrame.Angles(2.4, 0, 0), 1, 1, 1, 1, 1, 1, 0.4)
1908
      Effects.Break.Create(BrickColor.random(), EffectPartR3.CFrame, 0.2, 0.2, 0.2)
1909
      Effects.Break.Create(BrickColor.random(), EffectPartL3.CFrame, 0.2, 0.2, 0.2)
1910
      Effects.Block.Create(BrickColor.random(), EffectPartR3.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
1911
      Effects.Block.Create(BrickColor.random(), EffectPartL3.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
1912
      Effects.Block.Create(BrickColor.random(), EffectPartR2.CFrame, 1, 1, 1, 2, 2, 2, 0.2, 1)
1913
      Effects.Block.Create(BrickColor.random(), EffectPartL2.CFrame, 1, 1, 1, 2, 2, 2, 0.2, 1)
1914
      RootPart.Velocity = RootPart.CFrame.lookVector * 300
1915
      PlayAnimationFromTable({
1916
        CFrame.new(0, -0.436519086, -1.54268694, 1, 0, 0, 0, 0.573575079, 0.81915313, 0, -0.81915313, 0.573575079) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1917
        CFrame.new(0, 1.383762, 0.294095755, 1, 0, 0, 0, 0.766045392, -0.642790735, 0, 0.642790735, 0.766045392) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1918
        CFrame.new(0.639911652, 0.428372383, -0.839826643, 0.262888074, 0.933915675, 0.242263183, 0.536961675, 0.0669959337, -0.840942383, -0.80159986, 0.351159722, -0.483864516) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1919
        CFrame.new(-1.42905915, 0.103630304, -0.677020133, 0.509720683, 0.0942112952, 0.855166197, 0.742046118, 0.45486632, -0.492406994, -0.435376555, 0.885562658, 0.161945611) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1920
        CFrame.new(0.598487258, -1.49273849, 0.0829842687, 0.984807909, 7.31955607E-10, -0.173648015, 0.122787923, 0.707105517, 0.696365893, 0.122787446, -0.707108378, 0.696363151) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1921
        CFrame.new(-0.599626899, -1.7493062, -0.188390553, 0.996194661, 0, 0.087156795, -0.0298094582, 0.939692497, 0.340719461, -0.0819005892, -0.342020988, 0.936116517) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
1922
      }, 0.3, false)
1923
    end
1924
    for i = 0, 1, 0.05 do
1925
      swait()
1926
      Effects.Fire.Create(BrickColor.random(), EffectPartL3.CFrame, 3, 3, 3, 0.3)
1927
      Effects.Fire.Create(BrickColor.random(), EffectPartR3.CFrame, 3, 3, 3, 0.3)
1928
      RootPart.Velocity = RootPart.CFrame.lookVector * 90
1929
      PlayAnimationFromTable({
1930
        CFrame.new(-0.313091278, -0.629250288, 0.409977496, 0.422617137, -0.383021861, -0.821394563, 0, 0.906308115, -0.422617614, 0.906308293, 0.178605452, 0.383021355) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1931
        CFrame.new(-2.89082527E-6, 1.56999886, -0.169927716, 0.499998629, -0.0754772127, 0.862731218, -0.224145666, 0.950971425, 0.213101521, -0.836516559, -0.29992786, 0.458566666) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1932
        CFrame.new(0.639911413, 0.428367913, -0.839831948, 0.262887627, 0.933916271, 0.242261022, 0.536960125, 0.0669948608, -0.840943277, -0.801600933, 0.351158082, -0.483863741) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1933
        CFrame.new(-1.42906761, 0.103628337, -0.677013278, 0.509718478, 0.0942142606, 0.85516715, 0.742045939, 0.454867214, -0.4924061, -0.435379177, 0.885561645, 0.161942929) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1934
        CFrame.new(0.255052269, -1.74161863, 0.0939150751, 0.973724782, 0.171020329, -0.150378793, -0.13000688, 0.959606647, 0.249509975, 0.186975896, -0.223403811, 0.956624985) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
1935
        CFrame.new(-0.966920853, -1.65688598, 0.10182327, 0.929320216, 0.24122712, 0.279595017, -0.312094092, 0.917783141, 0.245502412, -0.197385877, -0.315410316, 0.928199947) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
1936
      }, 0.36, false)
1937
    end
1938
    DisappearJetOnly()
1939
    Humanoid.WalkSpeed = 100
1940
    attack = false
1941
  end
1942
  function findRandomHead(pos)
1943
    local list = game.Workspace:children()
1944
    local head
1945
    local dist = 10000
1946
    local temp, human, temp2
1947
    local list2 = {}
1948
    for x = 1, #list do
1949
      temp2 = list[x]
1950
      if temp2.className == "Model" and temp2.Name ~= Character.Name and temp2.Name ~= "Crystal" then
1951
        temp = temp2:findFirstChild("Head")
1952
        human = temp2:findFirstChild("Humanoid")
1953
        if temp ~= nil and human ~= nil and human.Health > 0 and dist > pos.magnitude then
1954
          local dohit = true
1955
          if dohit == true then
1956
            head = temp
1957
            table.insert(list2, temp)
1958
          end
1959
        end
1960
      end
1961
    end
1962
    if #list2 > 0 then
1963
      rand = math.random(1, #list2)
1964
      return list2[rand], dist
1965
    else
1966
      return nil, dist
1967
    end
1968
  end
1969
  Mouse.Button1Down:connect(function()
1970
    if attack ~= false or attacktype == 1 then
1971
    end
1972
  end)
1973
  Mouse.KeyDown:connect(function(k)
1974
    k = k:lower()
1975
    if attack == false and k == "z" then
1976
      SpinShot()
1977
    elseif attack == false and k == "x" then
1978
      chatfunc("Forward chaos Shot!") LungeShot("Forward")
1979
    elseif attack == false and k == "c" then
1980
      chatfunc("Backwards chaos Shot!") LungeShot("Backward")
1981
    elseif attack == false and k == "v" then
1982
      chatfunc("Auto Shot!") AutoShot()
1983
    elseif attack == false and k == "b" then
1984
      chatfunc("Mortar Shot!") MortarShot()
1985
    elseif attack == false and k == "f" then
1986
      chatfunc("Jet Dash!") JetDash()
1987
    end
1988
  end)
1989
  while true do
1990
    swait()
1991
    local aim = CFrame.new(RootPart.Position, Mouse.Hit.p)
1992
    local direction = aim.lookVector
1993
    local headingA = math.atan2(direction.x, direction.z)
1994
    headingA = math.deg(headingA)
1995
    Humanoid.AutoRotate = false
1996
    RootPart.CFrame = CFrame.new(RootPart.Position) * CFrame.Angles(math.rad(0), math.rad(headingA - 180), math.rad(0))
1997
    for i, v in pairs(Character:GetChildren()) do
1998
      if v:IsA("Part") then
1999
        v.Material = "SmoothPlastic"
2000
      elseif v:IsA("Accessory") then
2001
        v:WaitForChild("Handle").Material = "SmoothPlastic"
2002
      end
2003
    end
2004
    Headvelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
2005
    velocity = RootPart.Velocity.y
2006
    sine = sine + change
2007
    local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
2008
    if RootPart.Velocity.y > 1 and hit == nil then
2009
      Anim = "Jump"
2010
      if attack == false then
2011
        PlayAnimationFromTable({
2012
          CFrame.new(0.127259433, -0.0596159771, 0.189378753, 0.965925872, 0.0225571971, 0.257834047, 0.0225579981, 0.985066533, -0.17069003, -0.257833958, 0.170690134, 0.950992465) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2013
          CFrame.new(0.0244209729, 1.56254399, -0.173544556, 0.96592474, 0.0225591958, -0.257838368, 0.0449432544, 0.966441274, 0.252925694, 0.254891455, -0.255895257, 0.932495654) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2014
          CFrame.new(0.658500612, 0.398768902, -0.862450778, 0.343670964, 0.900792718, 0.265448391, 0.2137326, 0.20021911, -0.956154108, -0.914444566, 0.385337412, -0.123719275) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2015
          CFrame.new(-1.43523574, 0.121549249, -0.687813759, 0.410701752, 0.118069187, 0.904092729, 0.739943445, 0.536207557, -0.406159192, -0.532736301, 0.835787892, 0.132856861) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2016
          CFrame.new(0.641040266, -1.90806067, 0.227101922, 0.962249994, -0.0841864049, -0.258819878, 0.170085624, 0.928400099, 0.330369651, 0.212475777, -0.361919671, 0.907671988) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2017
          CFrame.new(-0.500004053, -1.35084605, -0.555529714, 0.981060445, 0.0871543288, 0.172987863, -0.140045926, 0.936115682, 0.322606146, -0.133820146, -0.340722382, 0.930591524) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
2018
        }, 0.3, false)
2019
      end
2020
    elseif RootPart.Velocity.y < -1 and hit == nil then
2021
      Anim = "Fall"
2022
      if attack == false then
2023
        PlayAnimationFromTable({
2024
          CFrame.new(0.163334131, -0.0871596038, -0.16742219, 0.867043138, 0.0880189762, 0.490396827, 0.0449440032, 0.966441453, -0.252924889, -0.496202052, 0.24133715, 0.833990455) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2025
          CFrame.new(0.0244172066, 1.5625447, -0.17354542, 0.866278768, 0.108875886, -0.487552434, 0.108873315, 0.911355376, 0.396961033, 0.487552851, -0.396960288, 0.777634263) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2026
          CFrame.new(0.689669132, 0.354625255, -0.940430343, 0.229587287, 0.87174952, 0.432831228, 0.436280668, 0.305352151, -0.846415639, -0.870028138, 0.383162051, -0.310222536) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2027
          CFrame.new(-1.47630322, 0.0475490689, -0.634548545, 0.410701722, 0.118068904, 0.904093027, 0.739943504, 0.536207497, -0.406158984, -0.532736182, 0.835787833, 0.132856965) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2028
          CFrame.new(0.720636785, -1.87088692, -0.163134515, 0.96225059, -0.185678095, -0.198991448, 0.170083165, 0.98103714, -0.0929410458, 0.212475047, 0.0555875003, 0.975584149) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2029
          CFrame.new(-0.500012517, -1.35084641, -0.555533409, 0.981287122, -0.0532096401, 0.185053408, 0.0246368051, 0.987856567, 0.153402999, -0.190968931, -0.14597322, 0.970681846) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
2030
        }, 0.3, false)
2031
      end
2032
    elseif Headvelocity < 1 and hit ~= nil then
2033
      Anim = "Idle"
2034
      if attack == false then
2035
        change = 1
2036
        PlayAnimationFromTable({
2037
          CFrame.new(-0.2541008, -0.180074736, -0.241802737, 0.76604414, -1.48394264E-7, -0.642788053, 0.0560230091, 0.996194661, 0.0667653158, 0.640342057, -0.0871560946, 0.763129115) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2038
          CFrame.new(1.35600567E-6, 1.49999166, -5.73694706E-7, 0.766043305, -0.0560226552, 0.64034313, -9.31413126E-7, 0.996194601, 0.0871566758, -0.642789006, -0.0667664111, 0.76312834) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2039
          CFrame.new(0.965944111, 0.410506815, -0.758076906, 0.409578711, 0.866023779, 0.286785841, 0.370432287, 0.129400983, -0.919802964, -0.833687246, 0.482963026, -0.267803341) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2040
          CFrame.new(-1.37906599, 0.100769401, -0.915000141, 0.633367777, 0.168905735, 0.755190313, 0.68845278, 0.322659701, -0.649560332, -0.353385001, 0.931322694, 0.0880800188) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2041
          CFrame.new(0.59794265, -2.0041101, -0.0749895424, 0.981711328, -0.0754808784, -0.174771756, 0.0819018856, 0.996202469, 0.0298143364, 0.171854109, -0.04358197, 0.984157085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2042
          CFrame.new(-0.786915421, -1.82557595, -0.30038017, 0.813531935, 0.108696118, 0.57126832, -0.062976934, 0.993065894, -0.0992677882, -0.578093946, 0.0447808057, 0.814740956) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
2043
        }, 0.3, false)
2044
      end
2045
    elseif Headvelocity > 2 and hit ~= nil then
2046
      Anim = "Walk"
2047
      if attack == false then
2048
        change = 3
2049
        PlayAnimationFromTable({
2050
          CFrame.new(0, -0.234493911, -0.148225456, 1, 0, 0, 0, 0.972469866, 0.233028963, 0, -0.233028963, 0.972469866) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.2, math.rad(-10 * math.cos(sine / 10)), 0),
2051
          CFrame.new(0, 1.49999082, 3.57627869E-6, 1, 0, 0, 0, 0.991436481, -0.130595058, 0, 0.130595058, 0.991436481) * CFrame.new(0, 0, 0) * CFrame.Angles(0.15, math.rad(10 * math.cos(sine / 10)), math.rad(-3 * math.cos(sine / 10))),
2052
          CFrame.new(0.678833663, 0.365906566, -0.753261089, 0.337660074, 0.901719749, 0.269976407, 0.271790266, 0.181202337, -0.945143342, -0.901174843, 0.39251405, -0.183893844) * CFrame.new(math.rad(5 * math.cos(sine / 10)), math.rad(-5 * math.cos(sine / 5)), 0) * CFrame.Angles(0, 0, 0),
2053
          CFrame.new(-1.42503321, 0.101834446, -0.631737471, 0.459770948, 0.0983300805, 0.882576883, 0.674444914, 0.607868612, -0.419070512, -0.577697933, 0.787925959, 0.213162094) * CFrame.new(math.rad(5 * math.cos(sine / 10)), math.rad(5 * math.cos(sine / 5)), 0) * CFrame.Angles(0, 0, 0),
2054
          CFrame.new(0.5, -1.85 - 0.5 * math.cos(sine / 8) / 2, 0 + 1.8 * math.sin(sine / 8) / 2) * CFrame.Angles(math.rad(-50 * math.sin(sine / 8)), math.rad(0), math.rad(0)),
2055
          CFrame.new(-0.5, -1.85 + 0.5 * math.cos(sine / 8) / 2, 0 - 1.8 * math.sin(sine / 8) / 2) * CFrame.Angles(math.rad(50 * math.sin(sine / 8)), math.rad(0), math.rad(0))
2056
        }, 0.3, false)
2057
      end
2058
    end
2059
    if 0 < #Effects then
2060
      for e = 1, #Effects do
2061
        if Effects[e] ~= nil then
2062
          local Thing = Effects[e]
2063
          if Thing ~= nil then
2064
            local Part = Thing[1]
2065
            local Mode = Thing[2]
2066
            local Delay = Thing[3]
2067
            local IncX = Thing[4]
2068
            local IncY = Thing[5]
2069
            local IncZ = Thing[6]
2070
            if Thing[2] == "Shoot" then
2071
              local Look = Thing[1]
2072
              local move = 30
2073
              if Thing[8] == 3 then
2074
                move = 10
2075
              end
2076
              local hit, pos = rayCast(Thing[4], Look, move, Character)
2077
              local mag = (Thing[4] - pos).magnitude
2078
              Effects.Cylinder.Create(BrickColor.random(), CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
2079
              Thing[4] = Thing[4] + Look * move
2080
              Thing[3] = Thing[3] - 1
2081
              if hit ~= nil then
2082
                Thing[3] = 0
2083
                local target, distance = findNearestHead(pos)
2084
                if hit.Parent:findFirstChild("Humanoid") == nil and target ~= nil and Thing[5] > 0 then
2085
                  Thing[3] = 20
2086
                  Thing[5] = Thing[5] - 1
2087
                  Thing[6] = Thing[6] - 1
2088
                  spread = Vector3.new((math.random(-1, 0) + math.random()) * 2, (math.random(-1, 0) + math.random()) * 2, (math.random(-1, 0) + math.random()) * 2) * (pos + target.Position).magnitude / 100
2089
                  local MouseLook = CFrame.new((pos + target.Position) / 2, target.Position)
2090
                  Thing[1] = MouseLook.lookVector
2091
                end
2092
                if Thing[8] == 1 or Thing[8] == 3 then
2093
                  MagnitudeDamage(hit, 5, 15, 25, math.random(5, 10), "Normal", "", 1)
2094
                end
2095
                ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.random(), "Reference", Vector3.new())
2096
                ref.Anchored = true
2097
                ref.CFrame = CFrame.new(pos)
2098
                Effects.Sphere.Create(BrickColor.random(), CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
2099
                game:GetService("Debris"):AddItem(ref, 1)
2100
              end
2101
              if Thing[3] <= 0 then
2102
                table.remove(Effects, e)
2103
              end
2104
            end
2105
            if Thing[2] == "FireWave" then
2106
              if Thing[3] <= Thing[4] then
2107
                Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
2108
                Thing[3] = Thing[3] + 1
2109
                Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
2110
              else
2111
                Part.Parent = nil
2112
                table.remove(Effects, e)
2113
              end
2114
            end
2115
            if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
2116
              if Thing[1].Transparency <= 1 then
2117
                if Thing[2] == "Block1" then
2118
                  Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
2119
                  Mesh = Thing[7]
2120
                  Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2121
                  Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2122
                elseif Thing[2] == "Block2" then
2123
                  Thing[1].CFrame = Thing[1].CFrame
2124
                  Mesh = Thing[7]
2125
                  Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2126
                  Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2127
                elseif Thing[2] == "Fire" then
2128
                  Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
2129
                  Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
2130
                  Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2131
                elseif Thing[2] == "Cylinder" then
2132
                  Mesh = Thing[7]
2133
                  Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2134
                  Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2135
                elseif Thing[2] == "Blood" then
2136
                  Mesh = Thing[7]
2137
                  Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
2138
                  Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2139
                  Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2140
                elseif Thing[2] == "Elec" then
2141
                  Mesh = Thing[10]
2142
                  Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
2143
                  Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2144
                elseif Thing[2] == "QuadShot" then
2145
                  if Thing[5] < 30 then
2146
                    Thing[5] = Thing[5] + 1.5
2147
                    Thing[4].Scale = Vector3.new(Thing[5], 5, Thing[5])
2148
                  else
2149
                    refda = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
2150
                    refda.Anchored = true
2151
                    refda.CFrame = CFrame.new(Thing[1].Position)
2152
                    game:GetService("Debris"):AddItem(refda, 1)
2153
                    CFuncs.Sound.Create("300916105", refda, 1, 1.4)
2154
                    CFuncs.Sound.Create("315744661", refda, 1, 1)
2155
                    MagnitudeDamage(refda, 20, 15, 25, math.random(5, 10), "Normal", "315748999", 1)
2156
                    Effects.Cylinder.Create(BrickColor.random(), CFrame.new(refda.Position), 3, 9999, 3, 1, 1, 1, 0.1)
2157
                    for i = 1, 3 do
2158
                      Effects.Sphere.Create(BrickColor.random(), CFrame.new(refda.Position), 10, 10, 10, 4 * i, 4 * i, 4 * i, 0.08)
2159
                    end
2160
                    Thing[1].Parent = nil
2161
                    table.remove(Effects, e)
2162
                  end
2163
                elseif Thing[2] == "Disappear" then
2164
                  Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2165
                elseif Thing[2] == "Shatter" then
2166
                  Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2167
                  Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
2168
                  Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
2169
                  Thing[6] = Thing[6] + Thing[5]
2170
                end
2171
              else
2172
                Part.Parent = nil
2173
                table.remove(Effects, e)
2174
              end
2175
            end
2176
          end
2177
        end
2178
      end
2179
    end
2180
  end