SHOW:
|
|
- or go back to the newest paste.
1 | --Fixed by Scenius(On ROBLOX) | |
2 | wait(0.016666666666666666) | |
3 | Effects = {} | |
4 | Instance.new("ForceField", game.Players.LocalPlayer.Character) | |
5 | local char = game.Players.localPlayer.Character | |
6 | ssbm = Instance.new("Sound",char) | |
7 | ssbm.Volume = 5 | |
8 | ssbm.Looped = true | |
9 | ssbm.Pitch = 0.5 | |
10 | - | ssbm.SoundId = "rbxassetid://570556587" |
10 | + | ssbm.SoundId = "rbxassetid://195900687" |
11 | ssbm:Play() | |
12 | local txt = Instance.new("BillboardGui", char) | |
13 | txt.Adornee = char .Head | |
14 | txt.Name = "_status" | |
15 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
16 | txt.StudsOffset = Vector3.new(-9, 10, 0) | |
17 | local text = Instance.new("TextLabel", txt) | |
18 | text.Size = UDim2.new(10, 0, 7, 0) | |
19 | text.FontSize = "Size24" | |
20 | text.TextScaled = true | |
21 | text.TextTransparency = 0 | |
22 | text.BackgroundTransparency = 1 | |
23 | text.TextTransparency = 0 | |
24 | text.TextStrokeTransparency = 0 | |
25 | text.Font = "Fantasy" | |
26 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
27 | text.Text = "Time Sniper" | |
28 | spawn(function() | |
29 | while wait(0.1) do | |
30 | text.TextStrokeColor3 = BrickColor.new("Gold").Color | |
31 | text.TextColor3 = BrickColor.new("Really black").Color | |
32 | end | |
33 | end) | |
34 | local Player = game.Players.localPlayer | |
35 | script.Parent = Player.PlayerGui | |
36 | local Character = Player.Character | |
37 | local Humanoid = Character.Humanoid | |
38 | local Mouse = Player:GetMouse() | |
39 | local LeftArm = Character["Left Arm"] | |
40 | local RightArm = Character["Right Arm"] | |
41 | local LeftLeg = Character["Left Leg"] | |
42 | local RightLeg = Character["Right Leg"] | |
43 | local Head = Character.Head | |
44 | local Torso = Character.Torso | |
45 | ||
46 | local Camera = game.Workspace.CurrentCamera | |
47 | local RootPart = Character.HumanoidRootPart | |
48 | local RootJoint = RootPart.RootJoint | |
49 | local attack = false | |
50 | local Anim = "Idle" | |
51 | local attacktype = 1 | |
52 | local Headvelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
53 | local velocity = RootPart.Velocity.y | |
54 | local sine = 0 | |
55 | local change = 1 | |
56 | local Create = LoadLibrary("RbxUtility").Create | |
57 | local m = Create("Model")({ | |
58 | Parent = Character, | |
59 | Name = "WeaponModel" | |
60 | }) | |
61 | Humanoid.Animator.Parent = nil | |
62 | Character.Animate.Parent = nil | |
63 | Humanoid.MaxHealth = math.huge | |
64 | Humanoid.Health = math.huge | |
65 | Humanoid.WalkSpeed = 130 | |
66 | Humanoid.JumpPower = 135 | |
67 | LeftArm.CanCollide = false | |
68 | RightArm.CanCollide = false | |
69 | LeftLeg.CanCollide = false | |
70 | RightLeg.CanCollide = false | |
71 | Torso.CanCollide = false | |
72 | Head.CanCollide = false | |
73 | ||
74 | function chatfunc(text) | |
75 | local chat = coroutine.wrap(function() | |
76 | if char:FindFirstChild("TalkingBillBoard")~= nil then | |
77 | char:FindFirstChild("TalkingBillBoard"):destroy() | |
78 | end | |
79 | local naeeym2 = Instance.new("BillboardGui",char) | |
80 | naeeym2.Size = UDim2.new(0,100,0,40) | |
81 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
82 | naeeym2.Adornee = char.Head | |
83 | naeeym2.Name = "TalkingBillBoard" | |
84 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
85 | tecks2.BackgroundTransparency = 1 | |
86 | tecks2.BorderSizePixel = 0 | |
87 | tecks2.Text = "" | |
88 | tecks2.Font = "Fantasy" | |
89 | tecks2.TextSize = 30 | |
90 | tecks2.TextStrokeTransparency = 0 | |
91 | tecks2.TextColor3 = Color3.new(0,0,0) | |
92 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
93 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
94 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
95 | tecks3.BackgroundTransparency = 1 | |
96 | tecks3.BorderSizePixel = 0 | |
97 | tecks3.Text = "" | |
98 | tecks3.Font = "Fantasy" | |
99 | tecks3.TextSize = 30 | |
100 | tecks3.TextStrokeTransparency = 0 | |
101 | tecks3.TextColor3 = Color3.new(0,0,0) | |
102 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
103 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
104 | spawn(function() | |
105 | while wait(0.04) do | |
106 | tecks3.TextStrokeColor3 = BrickColor.new("Gold").Color | |
107 | tecks2.TextStrokeColor3 = BrickColor.new("Really black").Color | |
108 | end | |
109 | end) | |
110 | for i = 1,string.len(text),1 do | |
111 | ||
112 | tecks2.Text = string.sub(text,1,i) | |
113 | tecks3.Text = string.sub(text,1,i) | |
114 | wait(0.01) | |
115 | end | |
116 | wait(2) | |
117 | for i = 1, 50 do | |
118 | ||
119 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
120 | tecks2.Rotation = tecks2.Rotation - .8 | |
121 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
122 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
123 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
124 | tecks3.Rotation = tecks2.Rotation + .8 | |
125 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
126 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
127 | end | |
128 | naeeym2:Destroy() | |
129 | end) | |
130 | chat() | |
131 | ||
132 | end | |
133 | function onChatted(msg) | |
134 | chatfunc(msg) | |
135 | ||
136 | end | |
137 | Player.Chatted:connect(onChatted) | |
138 | ||
139 | local ColorsArray ={ColorSequenceKeypoint.new(0, Color3.new(1,1,0)), | |
140 | ColorSequenceKeypoint.new(0.16, Color3.new(1,1,0)), | |
141 | ColorSequenceKeypoint.new(0.32, Color3.new(1,1,0)), | |
142 | ColorSequenceKeypoint.new(0.48, Color3.new(1,1,0)), | |
143 | ColorSequenceKeypoint.new(0.64, Color3.new(1,1,0)), | |
144 | ColorSequenceKeypoint.new(0.80, Color3.new(1,1,0)), | |
145 | ColorSequenceKeypoint.new(0.96, Color3.new(1,1,0)), | |
146 | ColorSequenceKeypoint.new(1, Color3.new(1,1,0))} | |
147 | local Atch1 = Instance.new("Attachment",Torso)Atch1.Position = Vector3.new(0,2,0) | |
148 | local Atch2 = Instance.new("Attachment",Torso)Atch2.Position = Vector3.new(0,-2.5,0) | |
149 | local Trail = Instance.new("Trail",Torso)Trail.Attachment0 = Atch1 Trail.Attachment1 = Atch2 | |
150 | Trail.Texture = "rbxassetid://22636887" Trail.Lifetime = 0.2 Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
151 | Trail.Color = ColorSequence.new(ColorsArray) Trail.LightEmission = 1 | |
152 | Trail.Enabled = true | |
153 | local function newMotor(part0, part1, c0, c1) | |
154 | local w = Create("Motor")({ | |
155 | Parent = part0, | |
156 | Part0 = part0, | |
157 | Part1 = part1, | |
158 | C0 = c0, | |
159 | C1 = c1 | |
160 | }) | |
161 | return w | |
162 | end | |
163 | function clerp(a, b, t) | |
164 | return a:lerp(b, t) | |
165 | end | |
166 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
167 | NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
168 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
169 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
170 | local RH = newMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0)) | |
171 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0)) | |
172 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
173 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
174 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
175 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
176 | local rarmc1 = RW.C1 | |
177 | local larmc1 = LW.C1 | |
178 | local rlegc1 = RH.C1 | |
179 | local llegc1 = LH.C1 | |
180 | local resetc1 = false | |
181 | function PlayAnimationFromTable(table, speed, bool) | |
182 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
183 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
184 | RW.C0 = clerp(RW.C0, table[3], speed) | |
185 | LW.C0 = clerp(LW.C0, table[4], speed) | |
186 | RH.C0 = clerp(RH.C0, table[5], speed) | |
187 | LH.C0 = clerp(LH.C0, table[6], speed) | |
188 | if bool == true and resetc1 == false then | |
189 | resetc1 = true | |
190 | RootJoint.C1 = RootJoint.C1 | |
191 | Torso.Neck.C1 = Torso.Neck.C1 | |
192 | RW.C1 = rarmc1 | |
193 | LW.C1 = larmc1 | |
194 | RH.C1 = rlegc1 | |
195 | LH.C1 = llegc1 | |
196 | end | |
197 | end | |
198 | ArtificialHB = Create("BindableEvent", script)({Parent = script, Name = "Heartbeat"}) | |
199 | script:WaitForChild("Heartbeat") | |
200 | frame = 0.03333333333333333 | |
201 | tf = 0 | |
202 | allowframeloss = false | |
203 | tossremainder = false | |
204 | lastframe = tick() | |
205 | script.Heartbeat:Fire() | |
206 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
207 | tf = tf + s | |
208 | if tf >= frame then | |
209 | if allowframeloss then | |
210 | script.Heartbeat:Fire() | |
211 | lastframe = tick() | |
212 | else | |
213 | for i = 1, math.floor(tf / frame) do | |
214 | script.Heartbeat:Fire() | |
215 | end | |
216 | lastframe = tick() | |
217 | end | |
218 | if tossremainder then | |
219 | tf = 0 | |
220 | else | |
221 | tf = tf - frame * math.floor(tf / frame) | |
222 | end | |
223 | end | |
224 | end) | |
225 | function swait(num) | |
226 | if num == 0 or num == nil then | |
227 | ArtificialHB.Event:wait() | |
228 | else | |
229 | for i = 0, num do | |
230 | ArtificialHB.Event:wait() | |
231 | end | |
232 | end | |
233 | end | |
234 | function RemoveOutlines(part) | |
235 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
236 | end | |
237 | CFuncs = { | |
238 | Part = { | |
239 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
240 | local Part = Create("Part")({ | |
241 | Parent = Parent, | |
242 | Reflectance = Reflectance, | |
243 | Transparency = Transparency, | |
244 | CanCollide = false, | |
245 | Locked = true, | |
246 | BrickColor = BrickColor.new(tostring(BColor)), | |
247 | Name = Name, | |
248 | Size = Size, | |
249 | Material = Material | |
250 | }) | |
251 | RemoveOutlines(Part) | |
252 | return Part | |
253 | end | |
254 | }, | |
255 | Mesh = { | |
256 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
257 | local Msh = Create(Mesh)({ | |
258 | Parent = Part, | |
259 | Offset = OffSet, | |
260 | Scale = Scale | |
261 | }) | |
262 | if Mesh == "SpecialMesh" then | |
263 | Msh.MeshType = MeshType | |
264 | Msh.MeshId = MeshId | |
265 | end | |
266 | return Msh | |
267 | end | |
268 | }, | |
269 | Weld = { | |
270 | Create = function(Parent, Part0, Part1, C0, C1) | |
271 | local Weld = Create("Weld")({ | |
272 | Parent = Parent, | |
273 | Part0 = Part0, | |
274 | Part1 = Part1, | |
275 | C0 = C0, | |
276 | C1 = C1 | |
277 | }) | |
278 | return Weld | |
279 | end | |
280 | }, | |
281 | Sound = { | |
282 | Create = function(id, par, vol, pit) | |
283 | coroutine.resume(coroutine.create(function() | |
284 | local Sound = Create("Sound")({ | |
285 | Volume = vol, | |
286 | Pitch = pit or 1, | |
287 | SoundId = "rbxassetid://" .. id, | |
288 | Parent = par or workspace | |
289 | }) | |
290 | Sound:play() | |
291 | game:GetService("Debris"):AddItem(Sound, 10) | |
292 | end)) | |
293 | end | |
294 | }, | |
295 | Decal = { | |
296 | Create = function(Color, Texture, Transparency, Name, Parent) | |
297 | local Decal = Create("Decal")({ | |
298 | Color3 = Color, | |
299 | Texture = "rbxassetid://" .. Texture, | |
300 | Transparency = Transparency, | |
301 | Name = Name, | |
302 | Parent = Parent | |
303 | }) | |
304 | return Decal | |
305 | end | |
306 | }, | |
307 | BillboardGui = { | |
308 | Create = function(Parent, Image, Position, Size) | |
309 | local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1)) | |
310 | BillPar.CFrame = CFrame.new(Position) | |
311 | local Bill = Create("BillboardGui")({ | |
312 | Parent = BillPar, | |
313 | Adornee = BillPar, | |
314 | Size = UDim2.new(1, 0, 1, 0), | |
315 | SizeOffset = Vector2.new(Size, Size) | |
316 | }) | |
317 | local d = Create("ImageLabel", Bill)({ | |
318 | Parent = Bill, | |
319 | BackgroundTransparency = 1, | |
320 | Size = UDim2.new(1, 0, 1, 0), | |
321 | Image = "rbxassetid://" .. Image | |
322 | }) | |
323 | return BillPar | |
324 | end | |
325 | }, | |
326 | ParticleEmitter = { | |
327 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
328 | local Particle = Create("ParticleEmitter")({ | |
329 | Parent = Parent, | |
330 | Color = ColorSequence.new(Color1, Color2), | |
331 | LightEmission = LightEmission, | |
332 | Size = Size, | |
333 | Texture = Texture, | |
334 | Transparency = Transparency, | |
335 | ZOffset = ZOffset, | |
336 | Acceleration = Accel, | |
337 | Drag = Drag, | |
338 | LockedToPart = LockedToPart, | |
339 | VelocityInheritance = VelocityInheritance, | |
340 | EmissionDirection = EmissionDirection, | |
341 | Enabled = Enabled, | |
342 | Lifetime = LifeTime, | |
343 | Rate = Rate, | |
344 | Rotation = Rotation, | |
345 | RotSpeed = RotSpeed, | |
346 | Speed = Speed, | |
347 | VelocitySpread = VelocitySpread | |
348 | }) | |
349 | return Particle | |
350 | end | |
351 | }, | |
352 | CreateTemplate = {} | |
353 | } | |
354 | function rayCast(Position, Direction, Range, Ignore) | |
355 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
356 | end | |
357 | function findNearestHead(pos) | |
358 | local list = game.Workspace:children() | |
359 | local head | |
360 | local dist = 1000 | |
361 | local temp, human, temp2 | |
362 | for x = 1, #list do | |
363 | temp2 = list[x] | |
364 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
365 | temp = temp2:findFirstChild("Head") | |
366 | human = temp2:findFirstChild("Humanoid") | |
367 | if temp ~= nil and human ~= nil and human.Health > 0 and dist > (temp.Position - pos).magnitude then | |
368 | head = temp | |
369 | dist = (temp.Position - pos).magnitude | |
370 | end | |
371 | end | |
372 | end | |
373 | return head, dist | |
374 | end | |
375 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
376 | if hit.Parent == nil then | |
377 | return | |
378 | end | |
379 | local h = hit.Parent:FindFirstChild("Humanoid") | |
380 | for _, v in pairs(hit.Parent:children()) do | |
381 | if v:IsA("Humanoid") then | |
382 | h = v | |
383 | end | |
384 | end | |
385 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then | |
386 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then | |
387 | return | |
388 | end | |
389 | local c = Create("ObjectValue")({ | |
390 | Name = "creator", | |
391 | Value = game:service("Players").LocalPlayer, | |
392 | Parent = h | |
393 | }) | |
394 | game:GetService("Debris"):AddItem(c, 0.5) | |
395 | if HitSound ~= nil and HitPitch ~= nil then | |
396 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
397 | end | |
398 | local Damage = math.random(1,1) | |
399 | local blocked = false | |
400 | local block = hit.Parent:findFirstChild("Block") | |
401 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
402 | blocked = true | |
403 | block.Value = block.Value - 1 | |
404 | print(block.Value) | |
405 | end | |
406 | if blocked == false then | |
407 | h.Health = h.Health - Damage | |
408 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.random().Color) | |
409 | else | |
410 | h.Health = h.Health - Damage / 2 | |
411 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.random().Color) | |
412 | end | |
413 | if Type == "Knockdown" then | |
414 | local hum = hit.Parent.Humanoid | |
415 | hum.PlatformStand = true | |
416 | coroutine.resume(coroutine.create(function(HHumanoid) | |
417 | swait(1) | |
418 | HHumanoid.PlatformStand = false | |
419 | end), hum) | |
420 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
421 | local bodvol = Create("BodyVelocity")({ | |
422 | velocity = angle * knockback, | |
423 | P = math.huge, | |
424 | maxForce = Vector3.new(math.huge, math.huge, math.huge) * math.huge * math.huge, | |
425 | Parent = hit | |
426 | }) | |
427 | local rl = Create("BodyAngularVelocity")({ | |
428 | P = 3000, | |
429 | maxTorque = Vector3.new(math.huge, math.huge, math.huge) * math.huge, | |
430 | angularvelocity = Vector3.new(math.random(math.huge, math.huge), math.random(math.huge, math.huge), math.random(math.huge, math.huge)), | |
431 | Parent = hit | |
432 | }) | |
433 | game:GetService("Debris"):AddItem(bodvol, 0.5) | |
434 | game:GetService("Debris"):AddItem(rl, 0.5) | |
435 | elseif Type == "Normal" then | |
436 | local vp = Create("BodyVelocity")({ | |
437 | P = 500, | |
438 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
439 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity * math.huge | |
440 | }) | |
441 | if knockback > 0 then | |
442 | vp.Parent = hit.Parent.Head | |
443 | end | |
444 | game:GetService("Debris"):AddItem(vp, 0.5) | |
445 | elseif Type == "Up" then | |
446 | local bodvol = Create("BodyVelocity")({ | |
447 | velocity = angle * knockback, | |
448 | P = math.huge, | |
449 | maxForce = Vector3.new(math.huge, math.huge, math.huge) * math.huge * math.huge, | |
450 | Parent = hit | |
451 | }) | |
452 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) | |
453 | elseif Type == "DarkUp" then | |
454 | coroutine.resume(coroutine.create(function() | |
455 | for i = 0, 1, 0.1 do | |
456 | swait() | |
457 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Head.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1) | |
458 | end | |
459 | end)) | |
460 | local bodvol = Create("BodyVelocity")({ | |
461 | velocity = angle * knockback, | |
462 | P = math.huge, | |
463 | maxForce = Vector3.new(math.huge, math.huge, math.huge) * math.huge * math.huge, | |
464 | Parent = hit | |
465 | }) | |
466 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
467 | elseif Type == "Snare" then | |
468 | local bp = Create("BodyPosition")({ | |
469 | P = math.huge, | |
470 | D = math.huge, | |
471 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
472 | position = hit.Parent.Head.Position, | |
473 | Parent = hit.Parent.Head | |
474 | }) | |
475 | game:GetService("Debris"):AddItem(bp, 1) | |
476 | elseif Type == "Freeze" then | |
477 | local BodPos = Create("BodyPosition")({ | |
478 | P = math.huge, | |
479 | D = math.huge, | |
480 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
481 | position = hit.Parent.Head.Position, | |
482 | Parent = hit.Parent.Head | |
483 | }) | |
484 | local BodGy = Create("BodyGyro")({ | |
485 | maxTorque = Vector3.new(math.huge, math.huge, math.huge) * math.huge, | |
486 | P = math.huge, | |
487 | Parent = hit.Parent.Head, | |
488 | cframe = hit.Parent.Head.CFrame | |
489 | }) | |
490 | hit.Parent.Head.Anchored = true | |
491 | coroutine.resume(coroutine.create(function(Part) | |
492 | swait(1.5) | |
493 | Part.Anchored = false | |
494 | end), hit.Parent.Head) | |
495 | game:GetService("Debris"):AddItem(BodPos, 3) | |
496 | game:GetService("Debris"):AddItem(BodGy, 3) | |
497 | end | |
498 | local debounce = Create("BoolValue")({ | |
499 | Name = "DebounceHit", | |
500 | Parent = hit.Parent, | |
501 | Value = true | |
502 | }) | |
503 | game:GetService("Debris"):AddItem(debounce, Delay) | |
504 | c = Create("ObjectValue")({ | |
505 | Name = "creator", | |
506 | Value = Player, | |
507 | Parent = h | |
508 | }) | |
509 | game:GetService("Debris"):AddItem(c, 0.5) | |
510 | end | |
511 | end | |
512 | function ShowDamage(Pos, Text, Time, Color) | |
513 | local Rate = 0.03333333333333333 | |
514 | local Pos = Pos or Vector3.new(0, 0, 0) | |
515 | local Text = Text or "" | |
516 | local Time = Time or 2 | |
517 | local Color = Color or Color3.new(1, 0, 1) | |
518 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
519 | EffectPart.Anchored = true | |
520 | local BillboardGui = Create("BillboardGui")({ | |
521 | Size = UDim2.new(3, 0, 3, 0), | |
522 | Adornee = EffectPart, | |
523 | Parent = EffectPart | |
524 | }) | |
525 | local TextLabel = Create("TextLabel")({ | |
526 | BackgroundTransparency = 1, | |
527 | Size = UDim2.new(1, 0, 1, 0), | |
528 | Text = Text, | |
529 | Font = "SciFi", | |
530 | TextColor3 = Color, | |
531 | TextScaled = true, | |
532 | Parent = BillboardGui | |
533 | }) | |
534 | game.Debris:AddItem(EffectPart, Time) | |
535 | EffectPart.Parent = game:GetService("Workspace") | |
536 | delay(0, function() | |
537 | local Frames = Time / Rate | |
538 | for Frame = 1, Frames do | |
539 | wait(Rate) | |
540 | local Percent = Frame / Frames | |
541 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
542 | TextLabel.TextTransparency = Percent | |
543 | end | |
544 | if EffectPart and EffectPart.Parent then | |
545 | EffectPart:Destroy() | |
546 | end | |
547 | end) | |
548 | end | |
549 | function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
550 | for _, c in pairs(workspace:children()) do | |
551 | local hum = c:findFirstChild("Humanoid") | |
552 | if hum ~= nil then | |
553 | local head = c:findFirstChild("Head") | |
554 | if head ~= nil then | |
555 | local targ = head.Position - Part.Position | |
556 | local mag = targ.magnitude | |
557 | if Magnitude >= mag and c.Name ~= Player.Name then | |
558 | Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 0, HitSound, HitPitch) | |
559 | end | |
560 | end | |
561 | end | |
562 | end | |
563 | end | |
564 | Handle = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, BrickColor.Random(), "Handle", Vector3.new(0.400000036, 0.400000006, 1.20000005)) | |
565 | 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)) | |
566 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.28000009, 0.200000003, 0.200000003)) | |
567 | 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)) | |
568 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.840000033)) | |
569 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.400000006, 0.200000003)) | |
570 | 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)) | |
571 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.400000036)) | |
572 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.560000062, 0.200000003)) | |
573 | 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)) | |
574 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.400000036)) | |
575 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.400000006)) | |
576 | 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)) | |
577 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 1)) | |
578 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.60000002, 0.200000003, 0.24000001)) | |
579 | 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)) | |
580 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1)) | |
581 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.60000002, 0.24000001, 0.200000003)) | |
582 | 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)) | |
583 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.400000036)) | |
584 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.400000066, 0.24000001, 0.400000006)) | |
585 | 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)) | |
586 | CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
587 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.960000217, 0.200000003, 0.24000001)) | |
588 | 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)) | |
589 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1)) | |
590 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.400000006, 0.200000003)) | |
591 | 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)) | |
592 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.400000036)) | |
593 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.480000079, 0.24000001, 0.400000006)) | |
594 | 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)) | |
595 | CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
596 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.240000039, 0.56400001, 0.200000003)) | |
597 | 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)) | |
598 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.840000033)) | |
599 | Part1 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.24000001)) | |
600 | 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)) | |
601 | CFuncs.Mesh.Create("BlockMesh", Part1, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.800000072, 1)) | |
602 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
603 | 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)) | |
604 | CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 0.800000072)) | |
605 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.28000009, 0.200000003, 0.24000001)) | |
606 | 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)) | |
607 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000191, 1)) | |
608 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.24000001, 0.200000003, 0.24000001)) | |
609 | 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)) | |
610 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1)) | |
611 | Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.400000006, 0.200000003)) | |
612 | 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)) | |
613 | CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.800000072)) | |
614 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.240000054, 0.200000003)) | |
615 | 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)) | |
616 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.800000072)) | |
617 | Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.400000006)) | |
618 | 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)) | |
619 | CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 1)) | |
620 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
621 | 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)) | |
622 | CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 0.800000072)) | |
623 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.28000009, 0.351999998, 0.24000001)) | |
624 | 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)) | |
625 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
626 | 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)) | |
627 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000191, 0.800000072, 0.400000036)) | |
628 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
629 | 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)) | |
630 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000191, 0.800000072, 0.400000036)) | |
631 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.92000008, 0.200000003, 0.24000001)) | |
632 | 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)) | |
633 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1)) | |
634 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.720000148, 0.351999998, 0.24000001)) | |
635 | 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)) | |
636 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.75999987, 0.240000039, 0.24000001)) | |
637 | 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)) | |
638 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.960000038, 0.200000003, 0.200000003)) | |
639 | 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)) | |
640 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.800000072)) | |
641 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.319999993, 0.560000002, 0.24000001)) | |
642 | 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)) | |
643 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.720000029, 0.200000003, 0.24000001)) | |
644 | 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)) | |
645 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.799999952, 1)) | |
646 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.24000001, 0.200000003)) | |
647 | 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)) | |
648 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.840000033)) | |
649 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.399999976, 0.24000001)) | |
650 | 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)) | |
651 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.799999833, 1, 1)) | |
652 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.960000038, 0.400000006, 0.24000001)) | |
653 | 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)) | |
654 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.28000009, 0.200000003, 0.24000001)) | |
655 | 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)) | |
656 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000191, 1)) | |
657 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.480000019, 0.319999993, 0.200000003)) | |
658 | 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)) | |
659 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072)) | |
660 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.320000052, 0.200000003, 0.24000001)) | |
661 | 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)) | |
662 | CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1)) | |
663 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.12, 0.400000006, 0.24000001)) | |
664 | 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)) | |
665 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.20000017, 0.200000003, 0.24000001)) | |
666 | 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)) | |
667 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.960000098, 1)) | |
668 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.43599987, 0.488000005, 0.200000003)) | |
669 | 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)) | |
670 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072)) | |
671 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.60000002, 0.24000001, 0.200000003)) | |
672 | 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)) | |
673 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.400000036)) | |
674 | Part24 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.84000003, 0.320000023, 0.200000003)) | |
675 | 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)) | |
676 | CFuncs.Mesh.Create("BlockMesh", Part24, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072)) | |
677 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.560000062, 0.200000003, 0.24000001)) | |
678 | 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)) | |
679 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.799999952, 1)) | |
680 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.240000159, 0.200000003, 0.200000003)) | |
681 | 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)) | |
682 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.800000072)) | |
683 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
684 | 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)) | |
685 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000191, 0.800000072, 0.400000036)) | |
686 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(2.24000001, 0.240000039, 0.24000001)) | |
687 | 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)) | |
688 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.24000001)) | |
689 | 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)) | |
690 | CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 1)) | |
691 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.24000001)) | |
692 | 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)) | |
693 | CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 1)) | |
694 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.559999943, 0.200000003, 0.200000003)) | |
695 | 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)) | |
696 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.840000033)) | |
697 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.800000012, 0.24000001, 0.200000003)) | |
698 | 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)) | |
699 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072)) | |
700 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.43999994, 0.200000003, 0.24000001)) | |
701 | 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)) | |
702 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1)) | |
703 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.27999985, 0.320000023, 0.24000001)) | |
704 | 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)) | |
705 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.24000001)) | |
706 | 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)) | |
707 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000066, 0.800000072, 1)) | |
708 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.43999994, 0.200000003, 0.200000003)) | |
709 | 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)) | |
710 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.720000088)) | |
711 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.320000052, 0.200000003, 0.24000001)) | |
712 | 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)) | |
713 | CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1)) | |
714 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.720000148, 0.200000003, 0.200000003)) | |
715 | 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)) | |
716 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.800000072)) | |
717 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.720000029, 0.24000001, 0.24000001)) | |
718 | 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)) | |
719 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
720 | 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)) | |
721 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000191, 0.800000072, 0.400000036)) | |
722 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
723 | 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)) | |
724 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036)) | |
725 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
726 | 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)) | |
727 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036)) | |
728 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.480000019, 0.320000023)) | |
729 | 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)) | |
730 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
731 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.320000023, 0.200000003)) | |
732 | 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)) | |
733 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072)) | |
734 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
735 | 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)) | |
736 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036)) | |
737 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.319999993)) | |
738 | 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)) | |
739 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1)) | |
740 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003)) | |
741 | 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)) | |
742 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.800000072)) | |
743 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.400000006, 0.200000003, 0.200000003)) | |
744 | 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)) | |
745 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.400000036)) | |
746 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
747 | 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)) | |
748 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036)) | |
749 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003)) | |
750 | 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)) | |
751 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036)) | |
752 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.239999995)) | |
753 | 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)) | |
754 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1)) | |
755 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003)) | |
756 | 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)) | |
757 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036)) | |
758 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003)) | |
759 | 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)) | |
760 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.800000072)) | |
761 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003)) | |
762 | 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)) | |
763 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036)) | |
764 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
765 | 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)) | |
766 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036)) | |
767 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.248000011, 0.320000023, 0.200000003)) | |
768 | 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)) | |
769 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.980000019)) | |
770 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.320000023, 0.24000001)) | |
771 | 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)) | |
772 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
773 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003)) | |
774 | 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)) | |
775 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036)) | |
776 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.239999995)) | |
777 | 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)) | |
778 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 1)) | |
779 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003)) | |
780 | 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)) | |
781 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036)) | |
782 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.400000006, 0.200000003, 0.200000003)) | |
783 | 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)) | |
784 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.400000036)) | |
785 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003)) | |
786 | 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)) | |
787 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.800000072)) | |
788 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 1.20000005, 0.200000003)) | |
789 | 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)) | |
790 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072)) | |
791 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.248000011, 0.22800003, 0.200000003)) | |
792 | 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)) | |
793 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.980000019)) | |
794 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0.80000001192093, "Toothpaste", "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003)) | |
795 | 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)) | |
796 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036)) | |
797 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
798 | 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)) | |
799 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036)) | |
800 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
801 | 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)) | |
802 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036)) | |
803 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.320000023, 0.200000003)) | |
804 | 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)) | |
805 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 1, 0.400000036)) | |
806 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.24000001, 0.200000003)) | |
807 | 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)) | |
808 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.400000036)) | |
809 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
810 | 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)) | |
811 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036)) | |
812 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.239999995)) | |
813 | 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)) | |
814 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 1)) | |
815 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003)) | |
816 | 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)) | |
817 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.799999952)) | |
818 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.320000023, 0.200000003)) | |
819 | 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)) | |
820 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.400000036)) | |
821 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.640000045, 0.319999933)) | |
822 | 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)) | |
823 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.840000153, 1, 1)) | |
824 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.239999995)) | |
825 | 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)) | |
826 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 1)) | |
827 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.720000029, 0.239999995)) | |
828 | 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)) | |
829 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
830 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0.80000001192093, "Toothpaste", "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003)) | |
831 | 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)) | |
832 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036)) | |
833 | Barrel = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, BrickColor.Random(), "Barrel", Vector3.new(0.200000003, 0.200000003, 0.600000024)) | |
834 | 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)) | |
835 | CFuncs.Mesh.Create("CylinderMesh", Barrel, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 0.800000072)) | |
836 | JetpackHandle = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "JetpackHandle", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
837 | 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)) | |
838 | EffectPartR1 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartR1", Vector3.new(0.5, 0.5, 0.300000012)) | |
839 | 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)) | |
840 | EffectPartL1 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartL1", Vector3.new(0.5, 0.5, 0.300000012)) | |
841 | 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)) | |
842 | EffectPartR2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartR2", Vector3.new(0.5, 0.5, 0.300000012)) | |
843 | 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)) | |
844 | EffectPartL2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartL2", Vector3.new(0.5, 0.5, 0.300000012)) | |
845 | 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)) | |
846 | EffectPartL3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartL3", Vector3.new(0.400000006, 0.5, 0.300000012)) | |
847 | 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)) | |
848 | EffectPartR3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartR3", Vector3.new(0.400000006, 0.5, 0.300000012)) | |
849 | 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)) | |
850 | CFuncs.Mesh.Create("SpecialMesh", JetpackHandle, Enum.MeshType.FileMesh, "rbxassetid://665940542", Vector3.new(0, 0, 0), Vector3.new(1.29999995, 1.29999995, 1.29999995)) | |
851 | JetpackHandle.Mesh.TextureId = "rbxassetid://665940699" | |
852 | EffectModel = Create("Model")({Parent = Character, Name = "Effects"}) | |
853 | Effects = { | |
854 | Block = { | |
855 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
856 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
857 | prt.Anchored = true | |
858 | prt.CFrame = cframe | |
859 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
860 | game:GetService("Debris"):AddItem(prt, 10) | |
861 | if Type == 1 or Type == nil then | |
862 | table.insert(Effects, { | |
863 | prt, | |
864 | "Block1", | |
865 | delay, | |
866 | x3, | |
867 | y3, | |
868 | z3, | |
869 | msh | |
870 | }) | |
871 | elseif Type == 2 then | |
872 | table.insert(Effects, { | |
873 | prt, | |
874 | "Block2", | |
875 | delay, | |
876 | x3, | |
877 | y3, | |
878 | z3, | |
879 | msh | |
880 | }) | |
881 | end | |
882 | end | |
883 | }, | |
884 | Cylinder = { | |
885 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
886 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2)) | |
887 | prt.Anchored = true | |
888 | prt.CFrame = cframe | |
889 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
890 | game:GetService("Debris"):AddItem(prt, 2) | |
891 | Effects[#Effects + 1] = { | |
892 | prt, | |
893 | "Cylinder", | |
894 | delay, | |
895 | x3, | |
896 | y3, | |
897 | z3, | |
898 | msh | |
899 | } | |
900 | end | |
901 | }, | |
902 | Head = { | |
903 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
904 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
905 | prt.Anchored = true | |
906 | prt.CFrame = cframe | |
907 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
908 | game:GetService("Debris"):AddItem(prt, 10) | |
909 | table.insert(Effects, { | |
910 | prt, | |
911 | "Cylinder", | |
912 | delay, | |
913 | x3, | |
914 | y3, | |
915 | z3, | |
916 | msh | |
917 | }) | |
918 | end | |
919 | }, | |
920 | Sphere = { | |
921 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
922 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
923 | prt.Anchored = true | |
924 | prt.CFrame = cframe | |
925 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
926 | game:GetService("Debris"):AddItem(prt, 10) | |
927 | table.insert(Effects, { | |
928 | prt, | |
929 | "Cylinder", | |
930 | delay, | |
931 | x3, | |
932 | y3, | |
933 | z3, | |
934 | msh | |
935 | }) | |
936 | end | |
937 | }, | |
938 | Elect = { | |
939 | Create = function(cff, x, y, z) | |
940 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1)) | |
941 | prt.Anchored = true | |
942 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
943 | prt.CFrame = CFrame.new(prt.Position) | |
944 | game:GetService("Debris"):AddItem(prt, 2) | |
945 | local xval = math.random() / 2 | |
946 | local yval = math.random() / 2 | |
947 | local zval = math.random() / 2 | |
948 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval)) | |
949 | table.insert(Effects, { | |
950 | prt, | |
951 | "Elec", | |
952 | 0.1, | |
953 | x, | |
954 | y, | |
955 | z, | |
956 | xval, | |
957 | yval, | |
958 | zval | |
959 | }) | |
960 | end | |
961 | }, | |
962 | Ring = { | |
963 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
964 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
965 | prt.Anchored = true | |
966 | prt.CFrame = cframe | |
967 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
968 | game:GetService("Debris"):AddItem(prt, 10) | |
969 | table.insert(Effects, { | |
970 | prt, | |
971 | "Cylinder", | |
972 | delay, | |
973 | x3, | |
974 | y3, | |
975 | z3, | |
976 | msh | |
977 | }) | |
978 | end | |
979 | }, | |
980 | Wave = { | |
981 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
982 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
983 | prt.Anchored = true | |
984 | prt.CFrame = cframe | |
985 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
986 | game:GetService("Debris"):AddItem(prt, 10) | |
987 | table.insert(Effects, { | |
988 | prt, | |
989 | "Cylinder", | |
990 | delay, | |
991 | x3, | |
992 | y3, | |
993 | z3, | |
994 | msh | |
995 | }) | |
996 | end | |
997 | }, | |
998 | Break = { | |
999 | Create = function(brickcolor, cframe, x1, y1, z1) | |
1000 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1001 | prt.Anchored = true | |
1002 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1003 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1004 | local num = math.random(10, 50) / 1000 | |
1005 | game:GetService("Debris"):AddItem(prt, 10) | |
1006 | table.insert(Effects, { | |
1007 | prt, | |
1008 | "Shatter", | |
1009 | num, | |
1010 | prt.CFrame, | |
1011 | math.random() - math.random(), | |
1012 | 0, | |
1013 | math.random(50, 100) / 100 | |
1014 | }) | |
1015 | end | |
1016 | }, | |
1017 | Fire = { | |
1018 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
1019 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1020 | prt.Anchored = true | |
1021 | prt.CFrame = cframe | |
1022 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1023 | game:GetService("Debris"):AddItem(prt, 10) | |
1024 | table.insert(Effects, { | |
1025 | prt, | |
1026 | "Fire", | |
1027 | delay, | |
1028 | 1, | |
1029 | 1, | |
1030 | 1, | |
1031 | msh | |
1032 | }) | |
1033 | end | |
1034 | }, | |
1035 | FireWave = { | |
1036 | Create = function(brickcolor, cframe, x1, y1, z1) | |
1037 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
1038 | prt.Anchored = true | |
1039 | prt.CFrame = cframe | |
1040 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1041 | local d = Create("Decal")({ | |
1042 | Parent = prt, | |
1043 | Texture = "rbxassetid://26356434", | |
1044 | Face = "Top" | |
1045 | }) | |
1046 | local d = Create("Decal")({ | |
1047 | Parent = prt, | |
1048 | Texture = "rbxassetid://26356434", | |
1049 | Face = "Bottom" | |
1050 | }) | |
1051 | game:GetService("Debris"):AddItem(prt, 10) | |
1052 | table.insert(Effects, { | |
1053 | prt, | |
1054 | "FireWave", | |
1055 | 1, | |
1056 | 30, | |
1057 | math.random(400, 600) / 100, | |
1058 | msh | |
1059 | }) | |
1060 | end | |
1061 | }, | |
1062 | Lightning = { | |
1063 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
1064 | local magz = (p0 - p1).magnitude | |
1065 | local curpos = p0 | |
1066 | local trz = { | |
1067 | -ofs, | |
1068 | ofs | |
1069 | } | |
1070 | for i = 1, tym do | |
1071 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
1072 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
1073 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
1074 | li.Material = "Neon" | |
1075 | if tym == i then | |
1076 | local magz2 = (curpos - p1).magnitude | |
1077 | li.Size = Vector3.new(th, th, magz2) | |
1078 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
1079 | table.insert(Effects, { | |
1080 | li, | |
1081 | "Disappear", | |
1082 | last | |
1083 | }) | |
1084 | else | |
1085 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
1086 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
1087 | game.Debris:AddItem(li, 10) | |
1088 | table.insert(Effects, { | |
1089 | li, | |
1090 | "Disappear", | |
1091 | last | |
1092 | }) | |
1093 | end | |
1094 | end | |
1095 | end | |
1096 | }, | |
1097 | EffectTemplate = {} | |
1098 | } | |
1099 | function Bullet(Part) | |
1100 | local bullet = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 0, BrickColor.new("Black"), "Bullet", Vector3.new()) | |
1101 | local bmsh = CFuncs.Mesh.Create("CylinderMesh", bullet, "", "", Vector3.new(0, 0, 0), Vector3.new(1.3, 1.5, 1.3)) | |
1102 | bullet.CanCollide = true | |
1103 | bullet.CFrame = Part.CFrame * CFrame.new(math.random(-100, 100) / 100, math.random(-100, 100) / 100, math.random(-100, 100) / 100) | |
1104 | 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 | |
1105 | game:GetService("Debris"):AddItem(bullet, 3) | |
1106 | end | |
1107 | function Shootcombo() | |
1108 | local MouseLook = CFrame.new((Barrel.Position + Mouse.Hit.p) / 2, Mouse.Hit.p) | |
1109 | CFuncs.Sound.Create("186083909", Barrel, 1, 1.2) | |
1110 | CFuncs.Sound.Create("406722373", Barrel, 1, 1.1) | |
1111 | Effects.Sphere.Create(BrickColor.new("Really red"), Barrel.CFrame, 0.5, 0.5, 0.5, 1, 1, 1, 0.09) | |
1112 | Effects.Sphere.Create(BrickColor.new("Really red"), Barrel.CFrame, 1, 1, 1, 2, 2, 2, 0.09) | |
1113 | Effects.Block.Create(BrickColor.new("Really red"), Barrel.CFrame, 1, 1, 1, 2, 2, 2, 0.09, 1) | |
1114 | table.insert(Effects, { | |
1115 | MouseLook.lookVector, | |
1116 | "Shoot", | |
1117 | 30, | |
1118 | Barrel.Position, | |
1119 | 6, | |
1120 | 8, | |
1121 | 0, | |
1122 | 1 | |
1123 | }) | |
1124 | end | |
1125 | function Bolt() | |
1126 | for i = 0, 1, 0.13 do | |
1127 | swait() | |
1128 | PlayAnimationFromTable({ | |
1129 | 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), | |
1130 | 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), | |
1131 | 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), | |
1132 | 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), | |
1133 | 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), | |
1134 | 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) | |
1135 | }, 0.4, false) | |
1136 | end | |
1137 | Bullet(Handle) | |
1138 | CFuncs.Sound.Create("318369098", Handle, 1, 1.1) | |
1139 | for i = 0, 1, 0.2 do | |
1140 | swait() | |
1141 | PlayAnimationFromTable({ | |
1142 | 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), | |
1143 | 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), | |
1144 | 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), | |
1145 | 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), | |
1146 | 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), | |
1147 | 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) | |
1148 | }, 0.35, false) | |
1149 | end | |
1150 | CFuncs.Sound.Create("318369288", Handle, 1, 1.1) | |
1151 | for i = 0, 1, 0.13 do | |
1152 | swait() | |
1153 | PlayAnimationFromTable({ | |
1154 | 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), | |
1155 | 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), | |
1156 | 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), | |
1157 | 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), | |
1158 | 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), | |
1159 | 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) | |
1160 | }, 0.4, false) | |
1161 | end | |
1162 | end | |
1163 | function SpinShot() | |
1164 | attack = true | |
1165 | for i = 0, 1, 0.12 do | |
1166 | swait() | |
1167 | PlayAnimationFromTable({ | |
1168 | 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), | |
1169 | 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), | |
1170 | 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), | |
1171 | 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), | |
1172 | 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), | |
1173 | 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) | |
1174 | }, 0.35, false) | |
1175 | end | |
1176 | Shootcombo() | |
1177 | for i = 0, 1, 0.3 do | |
1178 | swait() | |
1179 | RootPart.Velocity = RootPart.CFrame.lookVector * -10 | |
1180 | PlayAnimationFromTable({ | |
1181 | 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), | |
1182 | 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), | |
1183 | 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), | |
1184 | 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), | |
1185 | 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), | |
1186 | 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) | |
1187 | }, 0.5, false) | |
1188 | end | |
1189 | for i = 0, 1, 0.12 do | |
1190 | swait() | |
1191 | PlayAnimationFromTable({ | |
1192 | 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), | |
1193 | 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), | |
1194 | 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), | |
1195 | 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), | |
1196 | 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), | |
1197 | 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) | |
1198 | }, 0.4, false) | |
1199 | end | |
1200 | Bolt() | |
1201 | attack = false | |
1202 | end | |
1203 | function LungeShot(Mode) | |
1204 | attack = true | |
1205 | Humanoid.Jump = true | |
1206 | CFuncs.Sound.Create("158149887", Torso, 1, 0.9) | |
1207 | if Mode == "Forward" then | |
1208 | RootPart.Velocity = RootPart.CFrame.lookVector * 80 | |
1209 | for i = 0, 1, 0.1 do | |
1210 | swait() | |
1211 | PlayAnimationFromTable({ | |
1212 | 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), | |
1213 | 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), | |
1214 | 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), | |
1215 | 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), | |
1216 | 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), | |
1217 | 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) | |
1218 | }, 0.3, false) | |
1219 | end | |
1220 | elseif Mode == "Backward" then | |
1221 | RootPart.Velocity = RootPart.CFrame.lookVector * -80 | |
1222 | for i = 0, 1, 0.1 do | |
1223 | swait() | |
1224 | PlayAnimationFromTable({ | |
1225 | 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), | |
1226 | 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), | |
1227 | 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), | |
1228 | 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), | |
1229 | 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), | |
1230 | 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) | |
1231 | }, 0.3, false) | |
1232 | end | |
1233 | end | |
1234 | local hitfloor | |
1235 | while hitfloor == nil do | |
1236 | swait() | |
1237 | hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 6, Character) | |
1238 | end | |
1239 | for i = 0, 1, 0.2 do | |
1240 | swait() | |
1241 | PlayAnimationFromTable({ | |
1242 | 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), | |
1243 | 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), | |
1244 | 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), | |
1245 | 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), | |
1246 | 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), | |
1247 | 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) | |
1248 | }, 0.4, false) | |
1249 | end | |
1250 | Shootcombo() | |
1251 | for i = 0, 1, 0.3 do | |
1252 | swait() | |
1253 | RootPart.Velocity = RootPart.CFrame.lookVector * -40 | |
1254 | PlayAnimationFromTable({ | |
1255 | 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), | |
1256 | 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), | |
1257 | 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), | |
1258 | 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), | |
1259 | 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), | |
1260 | 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) | |
1261 | }, 0.6, false) | |
1262 | end | |
1263 | for i = 0, 1, 0.2 do | |
1264 | swait() | |
1265 | PlayAnimationFromTable({ | |
1266 | 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), | |
1267 | 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), | |
1268 | 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), | |
1269 | 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), | |
1270 | 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), | |
1271 | 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) | |
1272 | }, 0.6, false) | |
1273 | end | |
1274 | Bolt() | |
1275 | attack = false | |
1276 | end | |
1277 | function AutoShot() | |
1278 | attack = true | |
1279 | Humanoid.WalkSpeed = 5 | |
1280 | Bolt() | |
1281 | for i = 0, 1, 0.3 do | |
1282 | swait() | |
1283 | PlayAnimationFromTable({ | |
1284 | 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), | |
1285 | 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), | |
1286 | 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), | |
1287 | 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), | |
1288 | 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), | |
1289 | 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) | |
1290 | }, 0.4, false) | |
1291 | end | |
1292 | Humanoid.WalkSpeed = 0 | |
1293 | for i = 1, 10 do | |
1294 | for i = 0, 1, 0.8 do | |
1295 | swait() | |
1296 | PlayAnimationFromTable({ | |
1297 | 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), | |
1298 | 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), | |
1299 | 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), | |
1300 | 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), | |
1301 | 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), | |
1302 | 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) | |
1303 | }, 0.7, false) | |
1304 | end | |
1305 | Shootcombo() | |
1306 | for i = 0, 1, 0.9 do | |
1307 | swait() | |
1308 | PlayAnimationFromTable({ | |
1309 | 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), | |
1310 | 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), | |
1311 | 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), | |
1312 | 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), | |
1313 | 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), | |
1314 | 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) | |
1315 | }, 0.8, false) | |
1316 | end | |
1317 | for i = 0, 1, 0.8 do | |
1318 | swait() | |
1319 | PlayAnimationFromTable({ | |
1320 | 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), | |
1321 | 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), | |
1322 | 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), | |
1323 | 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), | |
1324 | 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), | |
1325 | 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) | |
1326 | }, 0.7, false) | |
1327 | end | |
1328 | end | |
1329 | Humanoid.WalkSpeed = 100 | |
1330 | attack = false | |
1331 | end | |
1332 | function MortarShot() | |
1333 | attack = true | |
1334 | Humanoid.WalkSpeed = 5 | |
1335 | Bolt() | |
1336 | for i = 0, 1, 0.2 do | |
1337 | swait() | |
1338 | PlayAnimationFromTable({ | |
1339 | 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), | |
1340 | 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), | |
1341 | 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), | |
1342 | 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), | |
1343 | 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), | |
1344 | 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) | |
1345 | }, 0.4, false) | |
1346 | end | |
1347 | for i = 0, 1, 0.3 do | |
1348 | swait() | |
1349 | PlayAnimationFromTable({ | |
1350 | 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), | |
1351 | 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), | |
1352 | 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), | |
1353 | 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), | |
1354 | 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), | |
1355 | 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) | |
1356 | }, 0.4, false) | |
1357 | end | |
1358 | CFuncs.Sound.Create("300916014", Barrel, 1, 1.2) | |
1359 | CFuncs.Sound.Create("301031757", Barrel, 1, 1.1) | |
1360 | Effects.Sphere.Create(BrickColor.random(), Barrel.CFrame, 6, 6, 6, 0, 0, 0, 1, m) | |
1361 | for i = 1, 60 do | |
1362 | local hit, pos = rayCast(Barrel.Position, Barrel.CFrame * CFrame.fromEulerAnglesXYZ(0, 5, 0).lookVector, 220, Character) | |
1363 | local mag = (Barrel.Position - pos).magnitude | |
1364 | Effects.Cylinder.Create(BrickColor.random(), Barrel.CFrame, 30, 99999, 30, -0.5, 1, -0.5, 0.1) | |
1365 | local cf2 = Mouse.Hit.p + Vector3.new(math.random(-1500, 1500) / 100, 100, math.random(-1500, 1500) / 100) | |
1366 | local hit2, pos2 = rayCast(cf2, CFrame.new(cf2, cf2 - Vector3.new(0, 1, 0)).lookVector, 999, Character) | |
1367 | if hit2 ~= nil then | |
1368 | local d1 = CFuncs.Part.Create(workspace, "Neon", 0, 0.5, BrickColor.random(), "Effect", Vector3.new()) | |
1369 | d1.Anchored = true | |
1370 | d1.CFrame = CFrame.new(pos2) | |
1371 | game:GetService("Debris"):AddItem(d1, 5) | |
1372 | local msh = CFuncs.Mesh.Create("CylinderMesh", d1, "nil", "nil", Vector3.new(0, 0, 0), Vector3.new(30, 5, 30)) | |
1373 | local d2 = d1:Clone() | |
1374 | d2.Parent = d1 | |
1375 | d2.CFrame = CFrame.new(d1.Position) | |
1376 | d2.BrickColor = BrickColor.random() | |
1377 | d2.Mesh.Scale = Vector3.new(0, 5, 0) | |
1378 | table.insert(Effects, { | |
1379 | d1, | |
1380 | "QuadShot", | |
1381 | d2, | |
1382 | d2.Mesh, | |
1383 | 0 | |
1384 | }) | |
1385 | end | |
1386 | end | |
1387 | for i = 0, 1, 0.2 do | |
1388 | swait() | |
1389 | PlayAnimationFromTable({ | |
1390 | 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), | |
1391 | 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), | |
1392 | 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), | |
1393 | 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), | |
1394 | 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), | |
1395 | 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) | |
1396 | }, 0.4, false) | |
1397 | end | |
1398 | Humanoid.WalkSpeed = 100 | |
1399 | attack = false | |
1400 | end | |
1401 | function DisappearJetOnly() | |
1402 | for _, i in pairs(m:children()) do | |
1403 | if i == JetpackHandle then | |
1404 | coroutine.resume(coroutine.create(function(Part) | |
1405 | for i = 0, 1, 0.3 do | |
1406 | swait() | |
1407 | Part.Transparency = i | |
1408 | end | |
1409 | Part.Transparency = 1 | |
1410 | end), i) | |
1411 | end | |
1412 | end | |
1413 | end | |
1414 | function ReappearJetOnly() | |
1415 | for _, i in pairs(m:children()) do | |
1416 | if i == JetpackHandle then | |
1417 | coroutine.resume(coroutine.create(function(Part) | |
1418 | for i = 0, 1, 0.3 do | |
1419 | swait() | |
1420 | Part.Transparency = i | |
1421 | end | |
1422 | Part.Transparency = 0 | |
1423 | end), i) | |
1424 | end | |
1425 | end | |
1426 | end | |
1427 | local floornum = 0 | |
1428 | function JetDash() | |
1429 | attack = true | |
1430 | ReappearJetOnly() | |
1431 | Humanoid.WalkSpeed = 5 | |
1432 | CFuncs.Sound.Create("324867021", JetpackHandle, 1, 1) | |
1433 | CFuncs.Sound.Create("301031757", JetpackHandle, 1, 0.8) | |
1434 | for i = 0, 1, 0.05 do | |
1435 | swait() | |
1436 | Effects.Wave.Create(BrickColor.random(), JetpackHandle.CFrame * CFrame.Angles(2.4, 0, 0), 1, 1, 1, 1, 1, 1, 0.4) | |
1437 | Effects.Break.Create(BrickColor.random(), EffectPartR3.CFrame, 0.2, 0.2, 0.2) | |
1438 | Effects.Break.Create(BrickColor.random(), EffectPartL3.CFrame, 0.2, 0.2, 0.2) | |
1439 | Effects.Block.Create(BrickColor.random(), EffectPartR3.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1) | |
1440 | Effects.Block.Create(BrickColor.random(), EffectPartL3.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1) | |
1441 | Effects.Block.Create(BrickColor.random(), EffectPartR2.CFrame, 1, 1, 1, 2, 2, 2, 0.2, 1) | |
1442 | Effects.Block.Create(BrickColor.random(), EffectPartL2.CFrame, 1, 1, 1, 2, 2, 2, 0.2, 1) | |
1443 | RootPart.Velocity = RootPart.CFrame.lookVector * 300 | |
1444 | PlayAnimationFromTable({ | |
1445 | 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), | |
1446 | 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), | |
1447 | 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), | |
1448 | 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), | |
1449 | 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), | |
1450 | 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) | |
1451 | }, 0.3, false) | |
1452 | end | |
1453 | for i = 0, 1, 0.05 do | |
1454 | swait() | |
1455 | Effects.Fire.Create(BrickColor.random(), EffectPartL3.CFrame, 3, 3, 3, 0.3) | |
1456 | Effects.Fire.Create(BrickColor.random(), EffectPartR3.CFrame, 3, 3, 3, 0.3) | |
1457 | RootPart.Velocity = RootPart.CFrame.lookVector * 90 | |
1458 | PlayAnimationFromTable({ | |
1459 | 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), | |
1460 | 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), | |
1461 | 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), | |
1462 | 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), | |
1463 | 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), | |
1464 | 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) | |
1465 | }, 0.36, false) | |
1466 | end | |
1467 | DisappearJetOnly() | |
1468 | Humanoid.WalkSpeed = 100 | |
1469 | attack = false | |
1470 | end | |
1471 | function findRandomHead(pos) | |
1472 | local list = game.Workspace:children() | |
1473 | local head | |
1474 | local dist = 10000 | |
1475 | local temp, human, temp2 | |
1476 | local list2 = {} | |
1477 | for x = 1, #list do | |
1478 | temp2 = list[x] | |
1479 | if temp2.className == "Model" and temp2.Name ~= Character.Name and temp2.Name ~= "Crystal" then | |
1480 | temp = temp2:findFirstChild("Head") | |
1481 | human = temp2:findFirstChild("Humanoid") | |
1482 | if temp ~= nil and human ~= nil and human.Health > 0 and dist > pos.magnitude then | |
1483 | local dohit = true | |
1484 | if dohit == true then | |
1485 | head = temp | |
1486 | table.insert(list2, temp) | |
1487 | end | |
1488 | end | |
1489 | end | |
1490 | end | |
1491 | if #list2 > 0 then | |
1492 | rand = math.random(1, #list2) | |
1493 | return list2[rand], dist | |
1494 | else | |
1495 | return nil, dist | |
1496 | end | |
1497 | end | |
1498 | Mouse.Button1Down:connect(function() | |
1499 | if attack ~= false or attacktype == 1 then | |
1500 | end | |
1501 | end) | |
1502 | Mouse.KeyDown:connect(function(k) | |
1503 | k = k:lower() | |
1504 | if attack == false and k == "z" then | |
1505 | SpinShot() | |
1506 | elseif attack == false and k == "x" then | |
1507 | chatfunc("Forward Lunge Shot!") LungeShot("Forward") | |
1508 | elseif attack == false and k == "c" then | |
1509 | chatfunc("Backwards Lunge Shot!") LungeShot("Backward") | |
1510 | elseif attack == false and k == "v" then | |
1511 | chatfunc("Auto Shot!") AutoShot() | |
1512 | elseif attack == false and k == "b" then | |
1513 | chatfunc("Mortar Shot!") MortarShot() | |
1514 | elseif attack == false and k == "f" then | |
1515 | chatfunc("Jet Dash!") JetDash() | |
1516 | end | |
1517 | end) | |
1518 | while true do | |
1519 | swait() | |
1520 | local aim = CFrame.new(RootPart.Position, Mouse.Hit.p) | |
1521 | local direction = aim.lookVector | |
1522 | local headingA = math.atan2(direction.x, direction.z) | |
1523 | headingA = math.deg(headingA) | |
1524 | Humanoid.AutoRotate = false | |
1525 | RootPart.CFrame = CFrame.new(RootPart.Position) * CFrame.Angles(math.rad(0), math.rad(headingA - 180), math.rad(0)) | |
1526 | for i, v in pairs(Character:GetChildren()) do | |
1527 | if v:IsA("Part") then | |
1528 | v.Material = "SmoothPlastic" | |
1529 | elseif v:IsA("Accessory") then | |
1530 | v:WaitForChild("Handle").Material = "SmoothPlastic" | |
1531 | end | |
1532 | end | |
1533 | Headvelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
1534 | velocity = RootPart.Velocity.y | |
1535 | sine = sine + change | |
1536 | local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) | |
1537 | if RootPart.Velocity.y > 1 and hit == nil then | |
1538 | Anim = "Jump" | |
1539 | if attack == false then | |
1540 | PlayAnimationFromTable({ | |
1541 | 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), | |
1542 | 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), | |
1543 | 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), | |
1544 | 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), | |
1545 | 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), | |
1546 | 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) | |
1547 | }, 0.3, false) | |
1548 | end | |
1549 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
1550 | Anim = "Fall" | |
1551 | if attack == false then | |
1552 | PlayAnimationFromTable({ | |
1553 | 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), | |
1554 | 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), | |
1555 | 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), | |
1556 | 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), | |
1557 | 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), | |
1558 | 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) | |
1559 | }, 0.3, false) | |
1560 | end | |
1561 | elseif Headvelocity < 1 and hit ~= nil then | |
1562 | Anim = "Idle" | |
1563 | if attack == false then | |
1564 | change = 1 | |
1565 | PlayAnimationFromTable({ | |
1566 | 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), | |
1567 | 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), | |
1568 | 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), | |
1569 | 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), | |
1570 | 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), | |
1571 | 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) | |
1572 | }, 0.3, false) | |
1573 | end | |
1574 | elseif Headvelocity > 2 and hit ~= nil then | |
1575 | Anim = "Walk" | |
1576 | if attack == false then | |
1577 | change = 3 | |
1578 | PlayAnimationFromTable({ | |
1579 | 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), | |
1580 | 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))), | |
1581 | 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), | |
1582 | 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), | |
1583 | 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)), | |
1584 | 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)) | |
1585 | }, 0.3, false) | |
1586 | end | |
1587 | end | |
1588 | if 0 < #Effects then | |
1589 | for e = 1, #Effects do | |
1590 | if Effects[e] ~= nil then | |
1591 | local Thing = Effects[e] | |
1592 | if Thing ~= nil then | |
1593 | local Part = Thing[1] | |
1594 | local Mode = Thing[2] | |
1595 | local Delay = Thing[3] | |
1596 | local IncX = Thing[4] | |
1597 | local IncY = Thing[5] | |
1598 | local IncZ = Thing[6] | |
1599 | if Thing[2] == "Shoot" then | |
1600 | local Look = Thing[1] | |
1601 | local move = 30 | |
1602 | if Thing[8] == 3 then | |
1603 | move = 10 | |
1604 | end | |
1605 | local hit, pos = rayCast(Thing[4], Look, move, Character) | |
1606 | local mag = (Thing[4] - pos).magnitude | |
1607 | 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) | |
1608 | Thing[4] = Thing[4] + Look * move | |
1609 | Thing[3] = Thing[3] - 1 | |
1610 | if hit ~= nil then | |
1611 | Thing[3] = 0 | |
1612 | local target, distance = findNearestHead(pos) | |
1613 | if hit.Parent:findFirstChild("Humanoid") == nil and target ~= nil and Thing[5] > 0 then | |
1614 | Thing[3] = 20 | |
1615 | Thing[5] = Thing[5] - 1 | |
1616 | Thing[6] = Thing[6] - 1 | |
1617 | 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 | |
1618 | local MouseLook = CFrame.new((pos + target.Position) / 2, target.Position) | |
1619 | Thing[1] = MouseLook.lookVector | |
1620 | end | |
1621 | if Thing[8] == 1 or Thing[8] == 3 then | |
1622 | MagnitudeDamage(hit, 5, 15, 25, math.random(5, 10), "Normal", "", 1) | |
1623 | end | |
1624 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.random(), "Reference", Vector3.new()) | |
1625 | ref.Anchored = true | |
1626 | ref.CFrame = CFrame.new(pos) | |
1627 | Effects.Sphere.Create(BrickColor.random(), CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
1628 | game:GetService("Debris"):AddItem(ref, 1) | |
1629 | end | |
1630 | if Thing[3] <= 0 then | |
1631 | table.remove(Effects, e) | |
1632 | end | |
1633 | end | |
1634 | if Thing[2] == "FireWave" then | |
1635 | if Thing[3] <= Thing[4] then | |
1636 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
1637 | Thing[3] = Thing[3] + 1 | |
1638 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
1639 | else | |
1640 | Part.Parent = nil | |
1641 | table.remove(Effects, e) | |
1642 | end | |
1643 | end | |
1644 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
1645 | if Thing[1].Transparency <= 1 then | |
1646 | if Thing[2] == "Block1" then | |
1647 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1648 | Mesh = Thing[7] | |
1649 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1650 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1651 | elseif Thing[2] == "Block2" then | |
1652 | Thing[1].CFrame = Thing[1].CFrame | |
1653 | Mesh = Thing[7] | |
1654 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1655 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1656 | elseif Thing[2] == "Fire" then | |
1657 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
1658 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1659 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1660 | elseif Thing[2] == "Cylinder" then | |
1661 | Mesh = Thing[7] | |
1662 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1663 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1664 | elseif Thing[2] == "Blood" then | |
1665 | Mesh = Thing[7] | |
1666 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
1667 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1668 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1669 | elseif Thing[2] == "Elec" then | |
1670 | Mesh = Thing[10] | |
1671 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
1672 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1673 | elseif Thing[2] == "QuadShot" then | |
1674 | if Thing[5] < 30 then | |
1675 | Thing[5] = Thing[5] + 1.5 | |
1676 | Thing[4].Scale = Vector3.new(Thing[5], 5, Thing[5]) | |
1677 | else | |
1678 | refda = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new()) | |
1679 | refda.Anchored = true | |
1680 | refda.CFrame = CFrame.new(Thing[1].Position) | |
1681 | game:GetService("Debris"):AddItem(refda, 1) | |
1682 | CFuncs.Sound.Create("300916105", refda, 1, 1.4) | |
1683 | CFuncs.Sound.Create("315744661", refda, 1, 1) | |
1684 | MagnitudeDamage(refda, 20, 15, 25, math.random(5, 10), "Normal", "315748999", 1) | |
1685 | Effects.Cylinder.Create(BrickColor.random(), CFrame.new(refda.Position), 3, 9999, 3, 1, 1, 1, 0.1) | |
1686 | for i = 1, 3 do | |
1687 | Effects.Sphere.Create(BrickColor.random(), CFrame.new(refda.Position), 10, 10, 10, 4 * i, 4 * i, 4 * i, 0.08) | |
1688 | end | |
1689 | Thing[1].Parent = nil | |
1690 | table.remove(Effects, e) | |
1691 | end | |
1692 | elseif Thing[2] == "Disappear" then | |
1693 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1694 | elseif Thing[2] == "Shatter" then | |
1695 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1696 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
1697 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
1698 | Thing[6] = Thing[6] + Thing[5] | |
1699 | end | |
1700 | else | |
1701 | Part.Parent = nil | |
1702 | table.remove(Effects, e) | |
1703 | end | |
1704 | end | |
1705 | end | |
1706 | end | |
1707 | end | |
1708 | end | |
1709 | end |