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