SHOW:
|
|
- or go back to the newest paste.
1 | -- This script has been converted to FE by iPxter | |
2 | ||
3 | ||
4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
6 | do | |
7 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter") | |
8 | script.Parent = Player.Character | |
9 | ||
10 | --RemoteEvent for communicating | |
11 | local Event = Instance.new("RemoteEvent") | |
12 | Event.Name = "UserInput_Event" | |
13 | ||
14 | --Fake event to make stuff like Mouse.KeyDown work | |
15 | local function fakeEvent() | |
16 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
17 | t.connect = t.Connect | |
18 | return t | |
19 | end | |
20 | ||
21 | --Creating fake input objects with fake variables | |
22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
25 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
26 | end} | |
27 | --Merged 2 functions into one by checking amount of arguments | |
28 | CAS.UnbindAction = CAS.BindAction | |
29 | ||
30 | --This function will trigger the events that have been :Connect()'ed | |
31 | local function te(self,ev,...) | |
32 | local t = m[ev] | |
33 | if t and t._fakeEvent and t.Function then | |
34 | t.Function(...) | |
35 | end | |
36 | end | |
37 | m.TrigEvent = te | |
38 | UIS.TrigEvent = te | |
39 | ||
40 | Event.OnServerEvent:Connect(function(plr,io) | |
41 | if plr~=Player then return end | |
42 | if io.isMouse then | |
43 | m.Target = io.Target | |
44 | m.Hit = io.Hit | |
45 | else | |
46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
49 | end | |
50 | for _,t in pairs(CAS.Actions) do | |
51 | for _,k in pairs(t.Keys) do | |
52 | if k==io.KeyCode then | |
53 | t.Function(t.Name,io.UserInputState,io) | |
54 | end | |
55 | end | |
56 | end | |
57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
59 | end | |
60 | end) | |
61 | Event.Parent = NLS([==[ | |
62 | local Player = game:GetService("Players").LocalPlayer | |
63 | local Event = script:WaitForChild("UserInput_Event") | |
64 | ||
65 | local UIS = game:GetService("UserInputService") | |
66 | local input = function(io,a) | |
67 | if a then return end | |
68 | --Since InputObject is a client-side instance, we create and pass table instead | |
69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
70 | end | |
71 | UIS.InputBegan:Connect(input) | |
72 | UIS.InputEnded:Connect(input) | |
73 | ||
74 | local Mouse = Player:GetMouse() | |
75 | local h,t | |
76 | --Give the server mouse data 30 times every second, but only if the values changed | |
77 | --If player is not moving their mouse, client won't fire events | |
78 | while wait(1/30) do | |
79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
80 | h,t=Mouse.Hit,Mouse.Target | |
81 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
82 | end | |
83 | end]==],Player.Character) | |
84 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
85 | end | |
86 | wait(0.016666666666666666) | |
87 | Effects = {} | |
88 | - | ff = Instance.new("ForceField", game.Players.owner.Character) |
88 | + | ff = Instance.new("ForceField", game.Players.LocalPlayer.Character) |
89 | ff.Visible = false | |
90 | local char = owner | |
91 | ssbm = Instance.new("Sound",char) | |
92 | ssbm.Volume = 2.5 | |
93 | ssbm.Looped = true | |
94 | ssbm.Pitch = 1 | |
95 | ssbm.SoundId = "rbxassetid://623268631" | |
96 | ssbm:Play() | |
97 | local txt = Instance.new("BillboardGui", char) | |
98 | txt.Adornee = char .Head | |
99 | txt.Name = "_status" | |
100 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
101 | txt.StudsOffset = Vector3.new(-9, 10, 0) | |
102 | local text = Instance.new("TextLabel", txt) | |
103 | text.Size = UDim2.new(10, 0, 7, 0) | |
104 | text.FontSize = "Size24" | |
105 | text.TextScaled = true | |
106 | text.TextTransparency = 0 | |
107 | text.BackgroundTransparency = 1 | |
108 | text.TextTransparency = 0 | |
109 | text.TextStrokeTransparency = 0 | |
110 | text.Font = "Fantasy" | |
111 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
112 | text.Text = "Sniper Fiji" | |
113 | spawn(function() | |
114 | while wait(0.1) do | |
115 | text.TextStrokeColor3 = BrickColor.random().Color | |
116 | text.TextColor3 = BrickColor.random().Color | |
117 | end | |
118 | end) | |
119 | local Player = owner | |
120 | script.Parent = Player.PlayerGui | |
121 | local Character = Player.Character | |
122 | local Humanoid = Character.Humanoid | |
123 | local LeftArm = Character["Left Arm"] | |
124 | local RightArm = Character["Right Arm"] | |
125 | local LeftLeg = Character["Left Leg"] | |
126 | local RightLeg = Character["Right Leg"] | |
127 | local Head = Character.Head | |
128 | local Torso = Character.Torso | |
129 | ||
130 | ||
131 | ||
132 | ||
133 | ||
134 | local Camera = game.Workspace.CurrentCamera | |
135 | local RootPart = Character.HumanoidRootPart | |
136 | local RootJoint = RootPart.RootJoint | |
137 | local attack = false | |
138 | local Anim = "Idle" | |
139 | local attacktype = 1 | |
140 | local Headvelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
141 | local velocity = RootPart.Velocity.y | |
142 | local sine = 0 | |
143 | local change = 1 | |
144 | local Create = LoadLibrary("RbxUtility").Create | |
145 | local m = Create("Model")({ | |
146 | Parent = Character, | |
147 | Name = "WeaponModel" | |
148 | }) | |
149 | Humanoid.Animator.Parent = nil | |
150 | Character.Animate.Parent = nil | |
151 | Humanoid.MaxHealth = math.huge | |
152 | Humanoid.Health = math.huge | |
153 | Humanoid.WalkSpeed = 130 | |
154 | Humanoid.JumpPower = 135 | |
155 | LeftArm.CanCollide = false | |
156 | RightArm.CanCollide = false | |
157 | LeftLeg.CanCollide = false | |
158 | RightLeg.CanCollide = false | |
159 | Torso.CanCollide = false | |
160 | Head.CanCollide = false | |
161 | ||
162 | ||
163 | ||
164 | Player_Size = 1 --Size of the player. | |
165 | Animation_Speed = 3 | |
166 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
167 | ||
168 | local Speed = 16 | |
169 | local Effects2 = {} | |
170 | ||
171 | ArtificialHB = Instance.new("BindableEvent", script) | |
172 | ArtificialHB.Name = "ArtificialHB" | |
173 | ||
174 | script:WaitForChild("ArtificialHB") | |
175 | ||
176 | frame = Frame_Speed | |
177 | tf = 0 | |
178 | allowframeloss = false | |
179 | tossremainder = false | |
180 | lastframe = tick() | |
181 | script.ArtificialHB:Fire() | |
182 | ||
183 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
184 | tf = tf + s | |
185 | if tf >= frame then | |
186 | if allowframeloss then | |
187 | script.ArtificialHB:Fire() | |
188 | lastframe = tick() | |
189 | else | |
190 | for i = 1, math.floor(tf / frame) do | |
191 | script.ArtificialHB:Fire() | |
192 | end | |
193 | lastframe = tick() | |
194 | end | |
195 | if tossremainder then | |
196 | tf = 0 | |
197 | else | |
198 | tf = tf - frame * math.floor(tf / frame) | |
199 | end | |
200 | end | |
201 | end) | |
202 | ||
203 | ||
204 | ||
205 | ||
206 | ||
207 | IT = Instance.new | |
208 | CF = CFrame.new | |
209 | VT = Vector3.new | |
210 | RAD = math.rad | |
211 | C3 = Color3.new | |
212 | UD2 = UDim2.new | |
213 | BRICKC = BrickColor.new | |
214 | ANGLES = CFrame.Angles | |
215 | EULER = CFrame.fromEulerAnglesXYZ | |
216 | COS = math.cos | |
217 | ACOS = math.acos | |
218 | SIN = math.sin | |
219 | ASIN = math.asin | |
220 | ABS = math.abs | |
221 | MRANDOM = math.random | |
222 | FLOOR = math.floor | |
223 | ||
224 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
225 | local NEWMESH = IT(MESH) | |
226 | if MESH == "SpecialMesh" then | |
227 | NEWMESH.MeshType = MESHTYPE | |
228 | if MESHID ~= "nil" and MESHID ~= "" then | |
229 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
230 | end | |
231 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
232 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
233 | end | |
234 | end | |
235 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
236 | NEWMESH.Scale = SCALE | |
237 | NEWMESH.Parent = PARENT | |
238 | return NEWMESH | |
239 | end | |
240 | ||
241 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
242 | local NEWPART = IT("Part") | |
243 | NEWPART.formFactor = FORMFACTOR | |
244 | NEWPART.Reflectance = REFLECTANCE | |
245 | NEWPART.Transparency = TRANSPARENCY | |
246 | NEWPART.CanCollide = false | |
247 | NEWPART.Locked = true | |
248 | NEWPART.Anchored = true | |
249 | if ANCHOR == false then | |
250 | NEWPART.Anchored = false | |
251 | end | |
252 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
253 | NEWPART.Name = NAME | |
254 | NEWPART.Size = SIZE | |
255 | NEWPART.Position = Torso.Position | |
256 | NEWPART.Material = MATERIAL | |
257 | NEWPART:BreakJoints() | |
258 | NEWPART.Parent = PARENT | |
259 | return NEWPART | |
260 | end | |
261 | ||
262 | local SKILLTEXTCOLOR = BRICKC("White").Color | |
263 | ||
264 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
265 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
266 | end | |
267 | ||
268 | function PositiveAngle(NUMBER) | |
269 | if NUMBER >= 0 then | |
270 | NUMBER = 0 | |
271 | end | |
272 | return NUMBER | |
273 | end | |
274 | ||
275 | function NegativeAngle(NUMBER) | |
276 | if NUMBER <= 0 then | |
277 | NUMBER = 0 | |
278 | end | |
279 | return NUMBER | |
280 | end | |
281 | ||
282 | function Swait(NUMBER) | |
283 | if NUMBER == 0 or NUMBER == nil then | |
284 | ArtificialHB.Event:wait() | |
285 | else | |
286 | for i = 1, NUMBER do | |
287 | ArtificialHB.Event:wait() | |
288 | end | |
289 | end | |
290 | end | |
291 | ||
292 | function QuaternionFromCFrame(cf) | |
293 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
294 | local trace = m00 + m11 + m22 | |
295 | if trace > 0 then | |
296 | local s = math.sqrt(1 + trace) | |
297 | local recip = 0.5 / s | |
298 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
299 | else | |
300 | local i = 0 | |
301 | if m11 > m00 then | |
302 | i = 1 | |
303 | end | |
304 | if m22 > (i == 0 and m00 or m11) then | |
305 | i = 2 | |
306 | end | |
307 | if i == 0 then | |
308 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
309 | local recip = 0.5 / s | |
310 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
311 | elseif i == 1 then | |
312 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
313 | local recip = 0.5 / s | |
314 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
315 | elseif i == 2 then | |
316 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
317 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
318 | end | |
319 | end | |
320 | end | |
321 | ||
322 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
323 | local xs, ys, zs = x + x, y + y, z + z | |
324 | local wx, wy, wz = w * xs, w * ys, w * zs | |
325 | local xx = x * xs | |
326 | local xy = x * ys | |
327 | local xz = x * zs | |
328 | local yy = y * ys | |
329 | local yz = y * zs | |
330 | local zz = z * zs | |
331 | return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) | |
332 | end | |
333 | ||
334 | function QuaternionSlerp(a, b, t) | |
335 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
336 | local startInterp, finishInterp; | |
337 | if cosTheta >= 0.0001 then | |
338 | if (1 - cosTheta) > 0.0001 then | |
339 | local theta = ACOS(cosTheta) | |
340 | local invSinTheta = 1 / SIN(theta) | |
341 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
342 | finishInterp = SIN(t * theta) * invSinTheta | |
343 | else | |
344 | startInterp = 1 - t | |
345 | finishInterp = t | |
346 | end | |
347 | else | |
348 | if (1 + cosTheta) > 0.0001 then | |
349 | local theta = ACOS(-cosTheta) | |
350 | local invSinTheta = 1 / SIN(theta) | |
351 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
352 | finishInterp = SIN(t * theta) * invSinTheta | |
353 | else | |
354 | startInterp = t - 1 | |
355 | finishInterp = t | |
356 | end | |
357 | end | |
358 | return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp | |
359 | end | |
360 | ||
361 | function Clerp(a, b, t) | |
362 | local qa = {QuaternionFromCFrame(a)} | |
363 | local qb = {QuaternionFromCFrame(b)} | |
364 | local ax, ay, az = a.x, a.y, a.z | |
365 | local bx, by, bz = b.x, b.y, b.z | |
366 | local _t = 1 - t | |
367 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
368 | end | |
369 | ||
370 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
371 | local frame = IT("Frame") | |
372 | frame.BackgroundTransparency = TRANSPARENCY | |
373 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
374 | frame.Position = POSITION | |
375 | frame.Size = SIZE | |
376 | frame.BackgroundColor3 = COLOR | |
377 | frame.BorderColor3 = BORDERCOLOR | |
378 | frame.Name = NAME | |
379 | frame.Parent = PARENT | |
380 | return frame | |
381 | end | |
382 | ||
383 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
384 | local label = IT("TextLabel") | |
385 | label.BackgroundTransparency = 1 | |
386 | label.Size = UD2(1, 0, 1, 0) | |
387 | label.Position = UD2(0, 0, 0, 0) | |
388 | label.TextColor3 = TEXTCOLOR | |
389 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
390 | label.TextTransparency = TRANSPARENCY | |
391 | label.FontSize = TEXTFONTSIZE | |
392 | label.Font = TEXTFONT | |
393 | label.BorderSizePixel = BORDERSIZEPIXEL | |
394 | label.TextScaled = false | |
395 | label.Text = TEXT | |
396 | label.Name = NAME | |
397 | label.Parent = PARENT | |
398 | return label | |
399 | end | |
400 | ||
401 | function NoOutlines(PART) | |
402 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
403 | end | |
404 | ||
405 | ||
406 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
407 | local NEWWELD = IT(TYPE) | |
408 | NEWWELD.Part0 = PART0 | |
409 | NEWWELD.Part1 = PART1 | |
410 | NEWWELD.C0 = C0 | |
411 | NEWWELD.C1 = C1 | |
412 | NEWWELD.Parent = PARENT | |
413 | return NEWWELD | |
414 | end | |
415 | ||
416 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
417 | local NEWSOUND = nil | |
418 | coroutine.resume(coroutine.create(function() | |
419 | NEWSOUND = IT("Sound", PARENT) | |
420 | NEWSOUND.Volume = VOLUME | |
421 | NEWSOUND.Pitch = PITCH | |
422 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
423 | Swait() | |
424 | NEWSOUND:play() | |
425 | game:GetService("Debris"):AddItem(NEWSOUND, 10) | |
426 | end)) | |
427 | return NEWSOUND | |
428 | end | |
429 | ||
430 | function CFrameFromTopBack(at, top, back) | |
431 | local right = top:Cross(back) | |
432 | return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) | |
433 | end | |
434 | ||
435 | function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW) | |
436 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) | |
437 | local mesh = IT("SpecialMesh",wave) | |
438 | mesh.MeshType = "FileMesh" | |
439 | mesh.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
440 | mesh.Scale = SIZE | |
441 | mesh.Offset = VT(0,0,0) | |
442 | wave.CFrame = CFRAME | |
443 | coroutine.resume(coroutine.create(function(PART) | |
444 | for i = 1, WAIT do | |
445 | Swait() | |
446 | mesh.Scale = mesh.Scale + GROW | |
447 | if DOESROT == true then | |
448 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
449 | end | |
450 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
451 | if wave.Transparency > 0.99 then | |
452 | wave:remove() | |
453 | end | |
454 | end | |
455 | end)) | |
456 | end | |
457 | ||
458 | function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW) | |
459 | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true) | |
460 | local mesh = IT("SpecialMesh",wave) | |
461 | mesh.MeshType = "Sphere" | |
462 | mesh.Scale = SIZE | |
463 | mesh.Offset = VT(0,0,0) | |
464 | wave.CFrame = CFRAME | |
465 | coroutine.resume(coroutine.create(function(PART) | |
466 | for i = 1, WAIT do | |
467 | Swait() | |
468 | mesh.Scale = mesh.Scale + GROW | |
469 | wave.Transparency = wave.Transparency + (1/WAIT) | |
470 | if wave.Transparency > 0.99 then | |
471 | wave:remove() | |
472 | end | |
473 | end | |
474 | end)) | |
475 | end | |
476 | ||
477 | function Slice(SIZE,WAIT,CFRAME,COLOR,GROW) | |
478 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true) | |
479 | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0)) | |
480 | wave.CFrame = CFRAME | |
481 | coroutine.resume(coroutine.create(function(PART) | |
482 | for i = 1, WAIT do | |
483 | Swait() | |
484 | mesh.Scale = mesh.Scale * GROW | |
485 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
486 | if wave.Transparency > 0.99 then | |
487 | wave:remove() | |
488 | end | |
489 | end | |
490 | end)) | |
491 | end | |
492 | ||
493 | function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW) | |
494 | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true) | |
495 | local mesh = IT("BlockMesh",wave) | |
496 | wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))) | |
497 | coroutine.resume(coroutine.create(function(PART) | |
498 | for i = 1, WAIT do | |
499 | Swait() | |
500 | mesh.Scale = mesh.Scale + GROW | |
501 | wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))) | |
502 | wave.Transparency = wave.Transparency + (1/WAIT) | |
503 | if wave.Transparency > 0.99 then | |
504 | wave:remove() | |
505 | end | |
506 | end | |
507 | end)) | |
508 | end | |
509 | ||
510 | function MakeForm(PART,TYPE) | |
511 | if TYPE == "Cyl" then | |
512 | local MSH = IT("CylinderMesh",PART) | |
513 | elseif TYPE == "Ball" then | |
514 | local MSH = IT("SpecialMesh",PART) | |
515 | MSH.MeshType = "Sphere" | |
516 | elseif TYPE == "Wedge" then | |
517 | local MSH = IT("SpecialMesh",PART) | |
518 | MSH.MeshType = "Wedge" | |
519 | end | |
520 | end | |
521 | ||
522 | function CheckTableForString(Table, String) | |
523 | for i, v in pairs(Table) do | |
524 | if string.find(string.lower(String), string.lower(v)) then | |
525 | return true | |
526 | end | |
527 | end | |
528 | return false | |
529 | end | |
530 | ||
531 | function CheckIntangible(Hit) | |
532 | local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"} | |
533 | if Hit and Hit.Parent then | |
534 | if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then | |
535 | return true | |
536 | end | |
537 | end | |
538 | return false | |
539 | end | |
540 | ||
541 | Debris = game:GetService("Debris") | |
542 | ||
543 | function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit) | |
544 | local Direction = CFrame.new(StartPos, Vec).lookVector | |
545 | local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore}) | |
546 | local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore) | |
547 | if RayHit and CheckIntangible(RayHit) then | |
548 | if DelayIfHit then | |
549 | wait() | |
550 | end | |
551 | RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit) | |
552 | end | |
553 | return RayHit, RayPos, RayNormal | |
554 | end | |
555 | ||
556 | function RayCast(Position, Direction, MaxDistance, IgnoreList) | |
557 | return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList) | |
558 | end | |
559 | ||
560 | function turnto(position) | |
561 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
562 | end | |
563 | ||
564 | ||
565 | local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") | |
566 | local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") | |
567 | local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") | |
568 | local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") | |
569 | local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") | |
570 | local SKILL6FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame") | |
571 | ||
572 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Spin Shot", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 0, "Text 1") | |
573 | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Mortar Shot!", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 0, "Text 2") | |
574 | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Chaos Shot Back", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 0, "Text 3") | |
575 | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Auto Shot!", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 0, "Text 4") | |
576 | local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Chaos Shot Front ", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 0, "Text 5") | |
577 | local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[F] Jet Dash ", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 0, "Text 5") | |
578 | ||
579 | ||
580 | ||
581 | ||
582 | ||
583 | ||
584 | ||
585 | ||
586 | ||
587 | ||
588 | ||
589 | ||
590 | ||
591 | ||
592 | ||
593 | ||
594 | ||
595 | ||
596 | ||
597 | ||
598 | ||
599 | function chatfunc(text) | |
600 | local chat = coroutine.wrap(function() | |
601 | if char:FindFirstChild("TalkingBillBoard")~= nil then | |
602 | char:FindFirstChild("TalkingBillBoard"):destroy() | |
603 | end | |
604 | local naeeym2 = Instance.new("BillboardGui",char) | |
605 | naeeym2.Size = UDim2.new(0,100,0,40) | |
606 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
607 | naeeym2.Adornee = char.Head | |
608 | naeeym2.Name = "TalkingBillBoard" | |
609 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
610 | tecks2.BackgroundTransparency = 1 | |
611 | tecks2.BorderSizePixel = 0 | |
612 | tecks2.Text = "" | |
613 | tecks2.Font = "Fantasy" | |
614 | tecks2.TextSize = 30 | |
615 | tecks2.TextStrokeTransparency = 0 | |
616 | tecks2.TextColor3 = Color3.new(0,0,0) | |
617 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
618 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
619 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
620 | tecks3.BackgroundTransparency = 1 | |
621 | tecks3.BorderSizePixel = 0 | |
622 | tecks3.Text = "" | |
623 | tecks3.Font = "Fantasy" | |
624 | tecks3.TextSize = 30 | |
625 | tecks3.TextStrokeTransparency = 0 | |
626 | tecks3.TextColor3 = Color3.new(0,0,0) | |
627 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
628 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
629 | spawn(function() | |
630 | while wait(0.04) do | |
631 | tecks3.TextStrokeColor3 = BrickColor.random().Color | |
632 | tecks2.TextStrokeColor3 = BrickColor.random().Color | |
633 | end | |
634 | end) | |
635 | for i = 1,string.len(text),1 do | |
636 | ||
637 | tecks2.Text = string.sub(text,1,i) | |
638 | tecks3.Text = string.sub(text,1,i) | |
639 | wait(0.01) | |
640 | end | |
641 | wait(2) | |
642 | for i = 1, 50 do | |
643 | ||
644 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
645 | tecks2.Rotation = tecks2.Rotation - .8 | |
646 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
647 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
648 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
649 | tecks3.Rotation = tecks2.Rotation + .8 | |
650 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
651 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
652 | end | |
653 | naeeym2:Destroy() | |
654 | end) | |
655 | chat() | |
656 | ||
657 | end | |
658 | function onChatted(msg) | |
659 | chatfunc(msg) | |
660 | ||
661 | end | |
662 | Player.Chatted:connect(onChatted) | |
663 | ||
664 | local ColorsArray ={ColorSequenceKeypoint.new(0, Color3.new(1,1,0)), | |
665 | ColorSequenceKeypoint.new(0.16, Color3.new(1,1,0)), | |
666 | ColorSequenceKeypoint.new(0.32, Color3.new(1,1,0)), | |
667 | ColorSequenceKeypoint.new(0.48, Color3.new(1,1,0)), | |
668 | ColorSequenceKeypoint.new(0.64, Color3.new(1,1,0)), | |
669 | ColorSequenceKeypoint.new(0.80, Color3.new(1,1,0)), | |
670 | ColorSequenceKeypoint.new(0.96, Color3.new(1,1,0)), | |
671 | ColorSequenceKeypoint.new(1, Color3.new(1,1,0))} | |
672 | local Atch1 = Instance.new("Attachment",Torso)Atch1.Position = Vector3.new(0,2,0) | |
673 | local Atch2 = Instance.new("Attachment",Torso)Atch2.Position = Vector3.new(0,-2.5,0) | |
674 | local Trail = Instance.new("Trail",Torso)Trail.Attachment0 = Atch1 Trail.Attachment1 = Atch2 | |
675 | Trail.Texture = "rbxassetid://947033349" Trail.Lifetime = 0.2 Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
676 | Trail.Color = ColorSequence.new(ColorsArray) Trail.LightEmission = 1 | |
677 | Trail.Enabled = true | |
678 | local function newMotor(part0, part1, c0, c1) | |
679 | local w = Create("Motor")({ | |
680 | Parent = part0, | |
681 | Part0 = part0, | |
682 | Part1 = part1, | |
683 | C0 = c0, | |
684 | C1 = c1 | |
685 | }) | |
686 | return w | |
687 | end | |
688 | function clerp(a, b, t) | |
689 | return a:lerp(b, t) | |
690 | end | |
691 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
692 | NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
693 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
694 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
695 | local RH = newMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0)) | |
696 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0)) | |
697 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
698 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
699 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
700 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
701 | local rarmc1 = RW.C1 | |
702 | local larmc1 = LW.C1 | |
703 | local rlegc1 = RH.C1 | |
704 | local llegc1 = LH.C1 | |
705 | local resetc1 = false | |
706 | function PlayAnimationFromTable(table, speed, bool) | |
707 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
708 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
709 | RW.C0 = clerp(RW.C0, table[3], speed) | |
710 | LW.C0 = clerp(LW.C0, table[4], speed) | |
711 | RH.C0 = clerp(RH.C0, table[5], speed) | |
712 | LH.C0 = clerp(LH.C0, table[6], speed) | |
713 | if bool == true and resetc1 == false then | |
714 | resetc1 = true | |
715 | RootJoint.C1 = RootJoint.C1 | |
716 | Torso.Neck.C1 = Torso.Neck.C1 | |
717 | RW.C1 = rarmc1 | |
718 | LW.C1 = larmc1 | |
719 | RH.C1 = rlegc1 | |
720 | LH.C1 = llegc1 | |
721 | end | |
722 | end | |
723 | ArtificialHB = Create("BindableEvent", script)({Parent = script, Name = "Heartbeat"}) | |
724 | script:WaitForChild("Heartbeat") | |
725 | frame = 0.03333333333333333 | |
726 | tf = 0 | |
727 | allowframeloss = false | |
728 | tossremainder = false | |
729 | lastframe = tick() | |
730 | script.Heartbeat:Fire() | |
731 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
732 | tf = tf + s | |
733 | if tf >= frame then | |
734 | if allowframeloss then | |
735 | script.Heartbeat:Fire() | |
736 | lastframe = tick() | |
737 | else | |
738 | for i = 1, math.floor(tf / frame) do | |
739 | script.Heartbeat:Fire() | |
740 | end | |
741 | lastframe = tick() | |
742 | end | |
743 | if tossremainder then | |
744 | tf = 0 | |
745 | else | |
746 | tf = tf - frame * math.floor(tf / frame) | |
747 | end | |
748 | end | |
749 | end) | |
750 | function swait(num) | |
751 | if num == 0 or num == nil then | |
752 | ArtificialHB.Event:wait() | |
753 | else | |
754 | for i = 0, num do | |
755 | ArtificialHB.Event:wait() | |
756 | end | |
757 | end | |
758 | end | |
759 | function RemoveOutlines(part) | |
760 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
761 | end | |
762 | CFuncs = { | |
763 | Part = { | |
764 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
765 | local Part = Create("Part")({ | |
766 | Parent = Parent, | |
767 | Reflectance = Reflectance, | |
768 | Transparency = Transparency, | |
769 | CanCollide = false, | |
770 | Locked = true, | |
771 | BrickColor = BrickColor.new(tostring(BColor)), | |
772 | Name = Name, | |
773 | Size = Size, | |
774 | Material = Material | |
775 | }) | |
776 | RemoveOutlines(Part) | |
777 | return Part | |
778 | end | |
779 | }, | |
780 | Mesh = { | |
781 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
782 | local Msh = Create(Mesh)({ | |
783 | Parent = Part, | |
784 | Offset = OffSet, | |
785 | Scale = Scale | |
786 | }) | |
787 | if Mesh == "SpecialMesh" then | |
788 | Msh.MeshType = MeshType | |
789 | Msh.MeshId = MeshId | |
790 | end | |
791 | return Msh | |
792 | end | |
793 | }, | |
794 | Weld = { | |
795 | Create = function(Parent, Part0, Part1, C0, C1) | |
796 | local Weld = Create("Weld")({ | |
797 | Parent = Parent, | |
798 | Part0 = Part0, | |
799 | Part1 = Part1, | |
800 | C0 = C0, | |
801 | C1 = C1 | |
802 | }) | |
803 | return Weld | |
804 | end | |
805 | }, | |
806 | Sound = { | |
807 | Create = function(id, par, vol, pit) | |
808 | coroutine.resume(coroutine.create(function() | |
809 | local Sound = Create("Sound")({ | |
810 | Volume = vol, | |
811 | Pitch = pit or 1, | |
812 | SoundId = "rbxassetid://" .. id, | |
813 | Parent = par or workspace | |
814 | }) | |
815 | Sound:play() | |
816 | game:GetService("Debris"):AddItem(Sound, 10) | |
817 | end)) | |
818 | end | |
819 | }, | |
820 | Decal = { | |
821 | Create = function(Color, Texture, Transparency, Name, Parent) | |
822 | local Decal = Create("Decal")({ | |
823 | Color3 = Color, | |
824 | Texture = "rbxassetid://" .. Texture, | |
825 | Transparency = Transparency, | |
826 | Name = Name, | |
827 | Parent = Parent | |
828 | }) | |
829 | return Decal | |
830 | end | |
831 | }, | |
832 | BillboardGui = { | |
833 | Create = function(Parent, Image, Position, Size) | |
834 | local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1)) | |
835 | BillPar.CFrame = CFrame.new(Position) | |
836 | local Bill = Create("BillboardGui")({ | |
837 | Parent = BillPar, | |
838 | Adornee = BillPar, | |
839 | Size = UDim2.new(1, 0, 1, 0), | |
840 | SizeOffset = Vector2.new(Size, Size) | |
841 | }) | |
842 | local d = Create("ImageLabel", Bill)({ | |
843 | Parent = Bill, | |
844 | BackgroundTransparency = 1, | |
845 | Size = UDim2.new(1, 0, 1, 0), | |
846 | Image = "rbxassetid://" .. Image | |
847 | }) | |
848 | return BillPar | |
849 | end | |
850 | }, | |
851 | ParticleEmitter = { | |
852 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
853 | local Particle = Create("ParticleEmitter")({ | |
854 | Parent = Parent, | |
855 | Color = ColorSequence.new(Color1, Color2), | |
856 | LightEmission = LightEmission, | |
857 | Size = Size, | |
858 | Texture = Texture, | |
859 | Transparency = Transparency, | |
860 | ZOffset = ZOffset, | |
861 | Acceleration = Accel, | |
862 | Drag = Drag, | |
863 | LockedToPart = LockedToPart, | |
864 | VelocityInheritance = VelocityInheritance, | |
865 | EmissionDirection = EmissionDirection, | |
866 | Enabled = Enabled, | |
867 | Lifetime = LifeTime, | |
868 | Rate = Rate, | |
869 | Rotation = Rotation, | |
870 | RotSpeed = RotSpeed, | |
871 | Speed = Speed, | |
872 | VelocitySpread = VelocitySpread | |
873 | }) | |
874 | return Particle | |
875 | end | |
876 | }, | |
877 | CreateTemplate = {} | |
878 | } | |
879 | function rayCast(Position, Direction, Range, Ignore) | |
880 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
881 | end | |
882 | function findNearestHead(pos) | |
883 | local list = game.Workspace:children() | |
884 | local head | |
885 | local dist = 1000 | |
886 | local temp, human, temp2 | |
887 | for x = 1, #list do | |
888 | temp2 = list[x] | |
889 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
890 | temp = temp2:findFirstChild("Head") | |
891 | human = temp2:findFirstChild("Humanoid") | |
892 | if temp ~= nil and human ~= nil and human.Health > 0 and dist > (temp.Position - pos).magnitude then | |
893 | head = temp | |
894 | dist = (temp.Position - pos).magnitude | |
895 | end | |
896 | end | |
897 | end | |
898 | return head, dist | |
899 | end | |
900 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
901 | if hit.Parent == nil then | |
902 | return | |
903 | end | |
904 | local h = hit.Parent:FindFirstChild("Humanoid") | |
905 | for _, v in pairs(hit.Parent:children()) do | |
906 | if v:IsA("Humanoid") then | |
907 | h = v | |
908 | end | |
909 | end | |
910 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then | |
911 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then | |
912 | return | |
913 | end | |
914 | local c = Create("ObjectValue")({ | |
915 | Name = "creator", | |
916 | Value = owner | |
917 | Parent = h | |
918 | }) | |
919 | game:GetService("Debris"):AddItem(c, 0.5) | |
920 | if HitSound ~= nil and HitPitch ~= nil then | |
921 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
922 | end | |
923 | local Damage = math.random(1,1) | |
924 | local blocked = false | |
925 | local block = hit.Parent:findFirstChild("Block") | |
926 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
927 | blocked = true | |
928 | block.Value = block.Value - 1 | |
929 | print(block.Value) | |
930 | end | |
931 | if blocked == false then | |
932 | h.Health = h.Health - Damage | |
933 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.random().Color) | |
934 | else | |
935 | h.Health = h.Health - Damage / 2 | |
936 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.random().Color) | |
937 | end | |
938 | if Type == "Knockdown" then | |
939 | local hum = hit.Parent.Humanoid | |
940 | hum.PlatformStand = true | |
941 | coroutine.resume(coroutine.create(function(HHumanoid) | |
942 | swait(1) | |
943 | HHumanoid.PlatformStand = false | |
944 | end), hum) | |
945 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
946 | local bodvol = Create("BodyVelocity")({ | |
947 | velocity = angle * knockback, | |
948 | P = math.huge, | |
949 | maxForce = Vector3.new(math.huge, math.huge, math.huge) * math.huge * math.huge, | |
950 | Parent = hit | |
951 | }) | |
952 | local rl = Create("BodyAngularVelocity")({ | |
953 | P = 3000, | |
954 | maxTorque = Vector3.new(math.huge, math.huge, math.huge) * math.huge, | |
955 | angularvelocity = Vector3.new(math.random(math.huge, math.huge), math.random(math.huge, math.huge), math.random(math.huge, math.huge)), | |
956 | Parent = hit | |
957 | }) | |
958 | game:GetService("Debris"):AddItem(bodvol, 0.5) | |
959 | game:GetService("Debris"):AddItem(rl, 0.5) | |
960 | elseif Type == "Normal" then | |
961 | local vp = Create("BodyVelocity")({ | |
962 | P = 500, | |
963 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
964 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity * math.huge | |
965 | }) | |
966 | if knockback > 0 then | |
967 | vp.Parent = hit.Parent.Head | |
968 | end | |
969 | game:GetService("Debris"):AddItem(vp, 0.5) | |
970 | elseif Type == "Up" then | |
971 | local bodvol = Create("BodyVelocity")({ | |
972 | velocity = angle * knockback, | |
973 | P = math.huge, | |
974 | maxForce = Vector3.new(math.huge, math.huge, math.huge) * math.huge * math.huge, | |
975 | Parent = hit | |
976 | }) | |
977 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) | |
978 | elseif Type == "DarkUp" then | |
979 | coroutine.resume(coroutine.create(function() | |
980 | for i = 0, 1, 0.1 do | |
981 | swait() | |
982 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Head.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1) | |
983 | end | |
984 | end)) | |
985 | local bodvol = Create("BodyVelocity")({ | |
986 | velocity = angle * knockback, | |
987 | P = math.huge, | |
988 | maxForce = Vector3.new(math.huge, math.huge, math.huge) * math.huge * math.huge, | |
989 | Parent = hit | |
990 | }) | |
991 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
992 | elseif Type == "Snare" then | |
993 | local bp = Create("BodyPosition")({ | |
994 | P = math.huge, | |
995 | D = math.huge, | |
996 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
997 | position = hit.Parent.Head.Position, | |
998 | Parent = hit.Parent.Head | |
999 | }) | |
1000 | game:GetService("Debris"):AddItem(bp, 1) | |
1001 | elseif Type == "Freeze" then | |
1002 | local BodPos = Create("BodyPosition")({ | |
1003 | P = math.huge, | |
1004 | D = math.huge, | |
1005 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1006 | position = hit.Parent.Head.Position, | |
1007 | Parent = hit.Parent.Head | |
1008 | }) | |
1009 | local BodGy = Create("BodyGyro")({ | |
1010 | maxTorque = Vector3.new(math.huge, math.huge, math.huge) * math.huge, | |
1011 | P = math.huge, | |
1012 | Parent = hit.Parent.Head, | |
1013 | cframe = hit.Parent.Head.CFrame | |
1014 | }) | |
1015 | hit.Parent.Head.Anchored = true | |
1016 | coroutine.resume(coroutine.create(function(Part) | |
1017 | swait(1.5) | |
1018 | Part.Anchored = false | |
1019 | end), hit.Parent.Head) | |
1020 | game:GetService("Debris"):AddItem(BodPos, 3) | |
1021 | game:GetService("Debris"):AddItem(BodGy, 3) | |
1022 | end | |
1023 | local debounce = Create("BoolValue")({ | |
1024 | Name = "DebounceHit", | |
1025 | Parent = hit.Parent, | |
1026 | Value = true | |
1027 | }) | |
1028 | game:GetService("Debris"):AddItem(debounce, Delay) | |
1029 | c = Create("ObjectValue")({ | |
1030 | Name = "creator", | |
1031 | Value = Player, | |
1032 | Parent = h | |
1033 | }) | |
1034 | game:GetService("Debris"):AddItem(c, 0.5) | |
1035 | end | |
1036 | end | |
1037 | function ShowDamage(Pos, Text, Time, Color) | |
1038 | local Rate = 0.03333333333333333 | |
1039 | local Pos = Pos or Vector3.new(0, 0, 0) | |
1040 | local Text = Text or "" | |
1041 | local Time = Time or 2 | |
1042 | local Color = Color or Color3.new(1, 0, 1) | |
1043 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
1044 | EffectPart.Anchored = true | |
1045 | local BillboardGui = Create("BillboardGui")({ | |
1046 | Size = UDim2.new(3, 0, 3, 0), | |
1047 | Adornee = EffectPart, | |
1048 | Parent = EffectPart | |
1049 | }) | |
1050 | local TextLabel = Create("TextLabel")({ | |
1051 | BackgroundTransparency = 1, | |
1052 | Size = UDim2.new(1, 0, 1, 0), | |
1053 | Text = Text, | |
1054 | Font = "SciFi", | |
1055 | TextColor3 = Color, | |
1056 | TextScaled = true, | |
1057 | Parent = BillboardGui | |
1058 | }) | |
1059 | game.Debris:AddItem(EffectPart, Time) | |
1060 | EffectPart.Parent = game:GetService("Workspace") | |
1061 | delay(0, function() | |
1062 | local Frames = Time / Rate | |
1063 | for Frame = 1, Frames do | |
1064 | wait(Rate) | |
1065 | local Percent = Frame / Frames | |
1066 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
1067 | TextLabel.TextTransparency = Percent | |
1068 | end | |
1069 | if EffectPart and EffectPart.Parent then | |
1070 | EffectPart:Destroy() | |
1071 | end | |
1072 | end) | |
1073 | end | |
1074 | function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
1075 | for _, c in pairs(workspace:children()) do | |
1076 | local hum = c:findFirstChild("Humanoid") | |
1077 | if hum ~= nil then | |
1078 | local head = c:findFirstChild("Head") | |
1079 | if head ~= nil then | |
1080 | local targ = head.Position - Part.Position | |
1081 | local mag = targ.magnitude | |
1082 | if Magnitude >= mag and c.Name ~= Player.Name then | |
1083 | Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 0, HitSound, HitPitch) | |
1084 | end | |
1085 | end | |
1086 | end | |
1087 | end | |
1088 | end | |
1089 | Handle = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, BrickColor.Random(), "Handle", Vector3.new(0.400000036, 0.400000006, 1.20000005)) | |
1090 | 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)) | |
1091 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.28000009, 0.200000003, 0.200000003)) | |
1092 | 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)) | |
1093 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.840000033)) | |
1094 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.400000006, 0.200000003)) | |
1095 | 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)) | |
1096 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.400000036)) | |
1097 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.560000062, 0.200000003)) | |
1098 | 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)) | |
1099 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.400000036)) | |
1100 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.400000006)) | |
1101 | 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)) | |
1102 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 1)) | |
1103 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.60000002, 0.200000003, 0.24000001)) | |
1104 | 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)) | |
1105 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1)) | |
1106 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.60000002, 0.24000001, 0.200000003)) | |
1107 | 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)) | |
1108 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.400000036)) | |
1109 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.400000066, 0.24000001, 0.400000006)) | |
1110 | 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)) | |
1111 | CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1112 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.960000217, 0.200000003, 0.24000001)) | |
1113 | PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.994522095, 0.660827637, -0.00178527832, 0, -0.866025388, -0.500000238, 0, -0.500000238, 0.866025388, -1, 0, 0)) | |
1114 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1)) | |
1115 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.400000006, 0.200000003)) | |
1116 | PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.0959959, -0.579998016, 0.0782165527, 0, -1, 0, 0, 0, 1, -1, 0, 0)) | |
1117 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.400000036)) | |
1118 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.480000079, 0.24000001, 0.400000006)) | |
1119 | 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)) | |
1120 | CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1121 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.240000039, 0.56400001, 0.200000003)) | |
1122 | 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)) | |
1123 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.840000033)) | |
1124 | Part1 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.24000001)) | |
1125 | PartWeld = CFuncs.Weld.Create(m, Handle, Part1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.143982887, -0.459991455, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0)) | |
1126 | CFuncs.Mesh.Create("BlockMesh", Part1, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.800000072, 1)) | |
1127 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1128 | PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00579071045, -4.09999514, -0.459999084, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
1129 | CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 0.800000072)) | |
1130 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.28000009, 0.200000003, 0.24000001)) | |
1131 | 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)) | |
1132 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000191, 1)) | |
1133 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.24000001, 0.200000003, 0.24000001)) | |
1134 | PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0160188675, -0.579998016, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0)) | |
1135 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1)) | |
1136 | Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.400000006, 0.200000003)) | |
1137 | PartWeld = CFuncs.Weld.Create(m, Handle, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.66395569, -0.739994049, -5.56945801E-4, 0, -1, 0, 0, 0, 1, -1, 0, 0)) | |
1138 | CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.800000072)) | |
1139 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.240000054, 0.200000003)) | |
1140 | 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)) | |
1141 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.800000072)) | |
1142 | Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.400000006)) | |
1143 | PartWeld = CFuncs.Weld.Create(m, Handle, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.69601679, -1.18399429, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0)) | |
1144 | CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 1)) | |
1145 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1146 | 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)) | |
1147 | CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 0.800000072)) | |
1148 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.28000009, 0.351999998, 0.24000001)) | |
1149 | 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)) | |
1150 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1151 | 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)) | |
1152 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000191, 0.800000072, 0.400000036)) | |
1153 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1154 | 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)) | |
1155 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000191, 0.800000072, 0.400000036)) | |
1156 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.92000008, 0.200000003, 0.24000001)) | |
1157 | 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)) | |
1158 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1)) | |
1159 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.720000148, 0.351999998, 0.24000001)) | |
1160 | 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)) | |
1161 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.75999987, 0.240000039, 0.24000001)) | |
1162 | 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)) | |
1163 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.960000038, 0.200000003, 0.200000003)) | |
1164 | 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)) | |
1165 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.800000072)) | |
1166 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.319999993, 0.560000002, 0.24000001)) | |
1167 | PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.30395985, -0.659992218, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0)) | |
1168 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.720000029, 0.200000003, 0.24000001)) | |
1169 | 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)) | |
1170 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.799999952, 1)) | |
1171 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.24000001, 0.200000003)) | |
1172 | 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)) | |
1173 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.840000033)) | |
1174 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.399999976, 0.24000001)) | |
1175 | 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)) | |
1176 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.799999833, 1, 1)) | |
1177 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.960000038, 0.400000006, 0.24000001)) | |
1178 | 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)) | |
1179 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.28000009, 0.200000003, 0.24000001)) | |
1180 | 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)) | |
1181 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000191, 1)) | |
1182 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.480000019, 0.319999993, 0.200000003)) | |
1183 | 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)) | |
1184 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072)) | |
1185 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.320000052, 0.200000003, 0.24000001)) | |
1186 | 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)) | |
1187 | CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1)) | |
1188 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.12, 0.400000006, 0.24000001)) | |
1189 | 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)) | |
1190 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.20000017, 0.200000003, 0.24000001)) | |
1191 | 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)) | |
1192 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.960000098, 1)) | |
1193 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.43599987, 0.488000005, 0.200000003)) | |
1194 | 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)) | |
1195 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072)) | |
1196 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.60000002, 0.24000001, 0.200000003)) | |
1197 | 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)) | |
1198 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.400000036)) | |
1199 | Part24 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.84000003, 0.320000023, 0.200000003)) | |
1200 | PartWeld = CFuncs.Weld.Create(m, Handle, Part24, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.13602066, -0.456577301, -0.00179290771, 0, -1, 0, 0, 0, 1, -1, 0, 0)) | |
1201 | CFuncs.Mesh.Create("BlockMesh", Part24, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072)) | |
1202 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.560000062, 0.200000003, 0.24000001)) | |
1203 | 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)) | |
1204 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.799999952, 1)) | |
1205 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.240000159, 0.200000003, 0.200000003)) | |
1206 | 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)) | |
1207 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.800000072)) | |
1208 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1209 | 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)) | |
1210 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000191, 0.800000072, 0.400000036)) | |
1211 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(2.24000001, 0.240000039, 0.24000001)) | |
1212 | 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)) | |
1213 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.24000001)) | |
1214 | 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)) | |
1215 | CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 1)) | |
1216 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.24000001)) | |
1217 | 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)) | |
1218 | CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 1)) | |
1219 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.559999943, 0.200000003, 0.200000003)) | |
1220 | 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)) | |
1221 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.840000033)) | |
1222 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.800000012, 0.24000001, 0.200000003)) | |
1223 | 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)) | |
1224 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072)) | |
1225 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.43999994, 0.200000003, 0.24000001)) | |
1226 | 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)) | |
1227 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1)) | |
1228 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.27999985, 0.320000023, 0.24000001)) | |
1229 | 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)) | |
1230 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.24000001)) | |
1231 | 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)) | |
1232 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000066, 0.800000072, 1)) | |
1233 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.43999994, 0.200000003, 0.200000003)) | |
1234 | 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)) | |
1235 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.720000088)) | |
1236 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.320000052, 0.200000003, 0.24000001)) | |
1237 | 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)) | |
1238 | CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1)) | |
1239 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.720000148, 0.200000003, 0.200000003)) | |
1240 | 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)) | |
1241 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.800000072)) | |
1242 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.720000029, 0.24000001, 0.24000001)) | |
1243 | 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)) | |
1244 | Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1245 | 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)) | |
1246 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000191, 0.800000072, 0.400000036)) | |
1247 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1248 | WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.16178894, -1.69601536, -1.10400009, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
1249 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036)) | |
1250 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1251 | WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.158210754, -0.303990364, -1.10399246, -1, 0, 0, 0, -1, 0, 0, 0, 1)) | |
1252 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036)) | |
1253 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.480000019, 0.320000023)) | |
1254 | WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, -0.376020432, -0.459991455, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
1255 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1256 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.320000023, 0.200000003)) | |
1257 | WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, 0.376021385, 0.379989624, 1, 0, 0, 0, -1, 0, 0, 0, -1)) | |
1258 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072)) | |
1259 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1260 | WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.16178894, -0.303990364, -1.10399246, -1, 0, 0, 0, -1, 0, 0, 0, 1)) | |
1261 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036)) | |
1262 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.319999993)) | |
1263 | WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, 0.339988708, 1.30396938, 1, 0, 0, 0, 0, -1, 0, 1, 0)) | |
1264 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1)) | |
1265 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003)) | |
1266 | WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, -0.023979187, -0.459991455, -1, 0, 0, 0, -1, 0, 0, 0, 1)) | |
1267 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.800000072)) | |
1268 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.400000006, 0.200000003, 0.200000003)) | |
1269 | 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)) | |
1270 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.400000036)) | |
1271 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1272 | 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)) | |
1273 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036)) | |
1274 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003)) | |
1275 | WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, 0.143980026, 0.579998016, -1, 0, 0, 0, 1, 0, 0, 0, -1)) | |
1276 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036)) | |
1277 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.239999995)) | |
1278 | WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, -0.819999695, 0.303976059, -1, 0, 0, 0, 0, 1, 0, 1, 0)) | |
1279 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1)) | |
1280 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003)) | |
1281 | 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)) | |
1282 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036)) | |
1283 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003)) | |
1284 | 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)) | |
1285 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.800000072)) | |
1286 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003)) | |
1287 | 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)) | |
1288 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036)) | |
1289 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1290 | 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)) | |
1291 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036)) | |
1292 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.248000011, 0.320000023, 0.200000003)) | |
1293 | 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)) | |
1294 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.980000019)) | |
1295 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.320000023, 0.24000001)) | |
1296 | 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)) | |
1297 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1298 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003)) | |
1299 | 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)) | |
1300 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036)) | |
1301 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.239999995)) | |
1302 | 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)) | |
1303 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 1)) | |
1304 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003)) | |
1305 | 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)) | |
1306 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036)) | |
1307 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.400000006, 0.200000003, 0.200000003)) | |
1308 | 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)) | |
1309 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.400000036)) | |
1310 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003)) | |
1311 | 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)) | |
1312 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.800000072)) | |
1313 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 1.20000005, 0.200000003)) | |
1314 | 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)) | |
1315 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072)) | |
1316 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.248000011, 0.22800003, 0.200000003)) | |
1317 | 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)) | |
1318 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.980000019)) | |
1319 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0.80000001192093, "Toothpaste", "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003)) | |
1320 | 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)) | |
1321 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036)) | |
1322 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1323 | 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)) | |
1324 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036)) | |
1325 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1326 | 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)) | |
1327 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036)) | |
1328 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.320000023, 0.200000003)) | |
1329 | 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)) | |
1330 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 1, 0.400000036)) | |
1331 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.24000001, 0.200000003)) | |
1332 | 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)) | |
1333 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.400000036)) | |
1334 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1335 | 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)) | |
1336 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036)) | |
1337 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.239999995)) | |
1338 | 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)) | |
1339 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 1)) | |
1340 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003)) | |
1341 | 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)) | |
1342 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.799999952)) | |
1343 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.320000023, 0.200000003)) | |
1344 | 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)) | |
1345 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.400000036)) | |
1346 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.640000045, 0.319999933)) | |
1347 | 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)) | |
1348 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.840000153, 1, 1)) | |
1349 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.239999995)) | |
1350 | 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)) | |
1351 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 1)) | |
1352 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.720000029, 0.239999995)) | |
1353 | 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)) | |
1354 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
1355 | Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0.80000001192093, "Toothpaste", "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003)) | |
1356 | 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)) | |
1357 | CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036)) | |
1358 | Barrel = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, BrickColor.Random(), "Barrel", Vector3.new(0.200000003, 0.200000003, 0.600000024)) | |
1359 | 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)) | |
1360 | CFuncs.Mesh.Create("CylinderMesh", Barrel, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 0.800000072)) | |
1361 | JetpackHandle = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "JetpackHandle", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1362 | 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)) | |
1363 | EffectPartR1 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartR1", Vector3.new(0.5, 0.5, 0.300000012)) | |
1364 | 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)) | |
1365 | EffectPartL1 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartL1", Vector3.new(0.5, 0.5, 0.300000012)) | |
1366 | 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)) | |
1367 | EffectPartR2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartR2", Vector3.new(0.5, 0.5, 0.300000012)) | |
1368 | 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)) | |
1369 | EffectPartL2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartL2", Vector3.new(0.5, 0.5, 0.300000012)) | |
1370 | 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)) | |
1371 | EffectPartL3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartL3", Vector3.new(0.400000006, 0.5, 0.300000012)) | |
1372 | 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)) | |
1373 | EffectPartR3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartR3", Vector3.new(0.400000006, 0.5, 0.300000012)) | |
1374 | 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)) | |
1375 | CFuncs.Mesh.Create("SpecialMesh", JetpackHandle, Enum.MeshType.FileMesh, "rbxassetid://665940542", Vector3.new(0, 0, 0), Vector3.new(1.29999995, 1.29999995, 1.29999995)) | |
1376 | for _,v in pairs(m:children()) do | |
1377 | if v:IsA("Part") then | |
1378 | v.CanCollide = false | |
1379 | end | |
1380 | end | |
1381 | for _,v in pairs(m:children()) do | |
1382 | if v:IsA("Part") then | |
1383 | v.Material = "Neon" | |
1384 | v.Transparency = 0.5 | |
1385 | end | |
1386 | end | |
1387 | spawn(function() | |
1388 | while wait() do | |
1389 | for _,v in pairs(m:children()) do | |
1390 | if v:IsA("Part") then | |
1391 | v.BrickColor=BrickColor.random() | |
1392 | end | |
1393 | end | |
1394 | end | |
1395 | end) | |
1396 | ||
1397 | ||
1398 | ||
1399 | JetpackHandle.Mesh.TextureId = "rbxassetid://665940699" | |
1400 | EffectModel = Create("Model")({Parent = Character, Name = "Effects"}) | |
1401 | Effects = { | |
1402 | Block = { | |
1403 | ||
1404 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
1405 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1406 | prt.Anchored = true | |
1407 | prt.CFrame = cframe | |
1408 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1409 | game:GetService("Debris"):AddItem(prt, 10) | |
1410 | if Type == 1 or Type == nil then | |
1411 | table.insert(Effects, { | |
1412 | prt, | |
1413 | "Block1", | |
1414 | delay, | |
1415 | x3, | |
1416 | y3, | |
1417 | z3, | |
1418 | msh | |
1419 | }) | |
1420 | elseif Type == 2 then | |
1421 | table.insert(Effects, { | |
1422 | prt, | |
1423 | "Block2", | |
1424 | delay, | |
1425 | x3, | |
1426 | y3, | |
1427 | z3, | |
1428 | msh | |
1429 | }) | |
1430 | end | |
1431 | end | |
1432 | }, | |
1433 | Cylinder = { | |
1434 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1435 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2)) | |
1436 | prt.Anchored = true | |
1437 | prt.CFrame = cframe | |
1438 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1439 | game:GetService("Debris"):AddItem(prt, 2) | |
1440 | Effects[#Effects + 1] = { | |
1441 | prt, | |
1442 | "Cylinder", | |
1443 | delay, | |
1444 | x3, | |
1445 | y3, | |
1446 | z3, | |
1447 | msh | |
1448 | } | |
1449 | end | |
1450 | }, | |
1451 | Head = { | |
1452 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1453 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1454 | prt.Anchored = true | |
1455 | prt.CFrame = cframe | |
1456 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1457 | game:GetService("Debris"):AddItem(prt, 10) | |
1458 | table.insert(Effects, { | |
1459 | prt, | |
1460 | "Cylinder", | |
1461 | delay, | |
1462 | x3, | |
1463 | y3, | |
1464 | z3, | |
1465 | msh | |
1466 | }) | |
1467 | end | |
1468 | }, | |
1469 | Sphere = { | |
1470 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1471 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1472 | prt.Anchored = true | |
1473 | prt.CFrame = cframe | |
1474 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1475 | game:GetService("Debris"):AddItem(prt, 10) | |
1476 | table.insert(Effects, { | |
1477 | prt, | |
1478 | "Cylinder", | |
1479 | delay, | |
1480 | x3, | |
1481 | y3, | |
1482 | z3, | |
1483 | msh | |
1484 | }) | |
1485 | end | |
1486 | }, | |
1487 | Elect = { | |
1488 | Create = function(cff, x, y, z) | |
1489 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1)) | |
1490 | prt.Anchored = true | |
1491 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
1492 | prt.CFrame = CFrame.new(prt.Position) | |
1493 | game:GetService("Debris"):AddItem(prt, 2) | |
1494 | local xval = math.random() / 2 | |
1495 | local yval = math.random() / 2 | |
1496 | local zval = math.random() / 2 | |
1497 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval)) | |
1498 | table.insert(Effects, { | |
1499 | prt, | |
1500 | "Elec", | |
1501 | 0.1, | |
1502 | x, | |
1503 | y, | |
1504 | z, | |
1505 | xval, | |
1506 | yval, | |
1507 | zval | |
1508 | }) | |
1509 | end | |
1510 | }, | |
1511 | Ring = { | |
1512 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1513 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1514 | prt.Anchored = true | |
1515 | prt.CFrame = cframe | |
1516 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1517 | game:GetService("Debris"):AddItem(prt, 10) | |
1518 | table.insert(Effects, { | |
1519 | prt, | |
1520 | "Cylinder", | |
1521 | delay, | |
1522 | x3, | |
1523 | y3, | |
1524 | z3, | |
1525 | msh | |
1526 | }) | |
1527 | end | |
1528 | }, | |
1529 | Wave = { | |
1530 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1531 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1532 | prt.Anchored = true | |
1533 | prt.CFrame = cframe | |
1534 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1535 | game:GetService("Debris"):AddItem(prt, 10) | |
1536 | table.insert(Effects, { | |
1537 | prt, | |
1538 | "Cylinder", | |
1539 | delay, | |
1540 | x3, | |
1541 | y3, | |
1542 | z3, | |
1543 | msh | |
1544 | }) | |
1545 | end | |
1546 | }, | |
1547 | Break = { | |
1548 | Create = function(brickcolor, cframe, x1, y1, z1) | |
1549 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1550 | prt.Anchored = true | |
1551 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1552 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1553 | local num = math.random(10, 50) / 1000 | |
1554 | game:GetService("Debris"):AddItem(prt, 10) | |
1555 | table.insert(Effects, { | |
1556 | prt, | |
1557 | "Shatter", | |
1558 | num, | |
1559 | prt.CFrame, | |
1560 | math.random() - math.random(), | |
1561 | 0, | |
1562 | math.random(50, 100) / 100 | |
1563 | }) | |
1564 | end | |
1565 | }, | |
1566 | Fire = { | |
1567 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
1568 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1569 | prt.Anchored = true | |
1570 | prt.CFrame = cframe | |
1571 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1572 | game:GetService("Debris"):AddItem(prt, 10) | |
1573 | table.insert(Effects, { | |
1574 | prt, | |
1575 | "Fire", | |
1576 | delay, | |
1577 | 1, | |
1578 | 1, | |
1579 | 1, | |
1580 | msh | |
1581 | }) | |
1582 | end | |
1583 | }, | |
1584 | FireWave = { | |
1585 | Create = function(brickcolor, cframe, x1, y1, z1) | |
1586 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
1587 | prt.Anchored = true | |
1588 | prt.CFrame = cframe | |
1589 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1590 | local d = Create("Decal")({ | |
1591 | Parent = prt, | |
1592 | Texture = "rbxassetid://26356434", | |
1593 | Face = "Top" | |
1594 | }) | |
1595 | local d = Create("Decal")({ | |
1596 | Parent = prt, | |
1597 | Texture = "rbxassetid://26356434", | |
1598 | Face = "Bottom" | |
1599 | }) | |
1600 | game:GetService("Debris"):AddItem(prt, 10) | |
1601 | table.insert(Effects, { | |
1602 | prt, | |
1603 | "FireWave", | |
1604 | 1, | |
1605 | 30, | |
1606 | math.random(400, 600) / 100, | |
1607 | msh | |
1608 | }) | |
1609 | end | |
1610 | }, | |
1611 | Lightning = { | |
1612 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
1613 | local magz = (p0 - p1).magnitude | |
1614 | local curpos = p0 | |
1615 | local trz = { | |
1616 | -ofs, | |
1617 | ofs | |
1618 | } | |
1619 | for i = 1, tym do | |
1620 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
1621 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
1622 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
1623 | li.Material = "Neon" | |
1624 | if tym == i then | |
1625 | local magz2 = (curpos - p1).magnitude | |
1626 | li.Size = Vector3.new(th, th, magz2) | |
1627 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
1628 | table.insert(Effects, { | |
1629 | li, | |
1630 | "Disappear", | |
1631 | last | |
1632 | }) | |
1633 | else | |
1634 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
1635 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
1636 | game.Debris:AddItem(li, 10) | |
1637 | table.insert(Effects, { | |
1638 | li, | |
1639 | "Disappear", | |
1640 | last | |
1641 | }) | |
1642 | end | |
1643 | end | |
1644 | end | |
1645 | }, | |
1646 | EffectTemplate = {} | |
1647 | } | |
1648 | function Bullet(Part) | |
1649 | local bullet = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 0, BrickColor.random(), "Bullet", Vector3.new()) | |
1650 | local bmsh = CFuncs.Mesh.Create("CylinderMesh", bullet, "", "", Vector3.new(0, 0, 0), Vector3.new(1.3, 1.5, 1.3)) | |
1651 | bullet.CanCollide = true | |
1652 | bullet.CFrame = Part.CFrame * CFrame.new(math.random(-100, 100) / 100, math.random(-100, 100) / 100, math.random(-100, 100) / 100) | |
1653 | 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 | |
1654 | game:GetService("Debris"):AddItem(bullet, 3) | |
1655 | end | |
1656 | function Shootcombo() | |
1657 | local MouseLook = CFrame.new((Barrel.Position + Mouse.Hit.p) / 2, Mouse.Hit.p) | |
1658 | CFuncs.Sound.Create("186083909", Barrel, 1, 1.2) | |
1659 | CFuncs.Sound.Create("406722373", Barrel, 1, 1.1) | |
1660 | Effects.Sphere.Create(BrickColor.random(), Barrel.CFrame, 0.5, 0.5, 0.5, 1, 1, 1, 0.09) | |
1661 | Effects.Sphere.Create(BrickColor.random(), Barrel.CFrame, 1, 1, 1, 2, 2, 2, 0.09) | |
1662 | Effects.Block.Create(BrickColor.random(), Barrel.CFrame, 1, 1, 1, 2, 2, 2, 0.09, 1) | |
1663 | table.insert(Effects, { | |
1664 | MouseLook.lookVector, | |
1665 | "Shoot", | |
1666 | 30, | |
1667 | Barrel.Position, | |
1668 | 6, | |
1669 | 8, | |
1670 | 0, | |
1671 | 1 | |
1672 | }) | |
1673 | end | |
1674 | function Bolt() | |
1675 | for i = 0, 1, 0.13 do | |
1676 | swait() | |
1677 | PlayAnimationFromTable({ | |
1678 | 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), | |
1679 | 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), | |
1680 | 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), | |
1681 | 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), | |
1682 | 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), | |
1683 | 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) | |
1684 | }, 0.4, false) | |
1685 | end | |
1686 | Bullet(Handle) | |
1687 | CFuncs.Sound.Create("318369098", Handle, 1, 1.1) | |
1688 | for i = 0, 1, 0.2 do | |
1689 | swait() | |
1690 | PlayAnimationFromTable({ | |
1691 | 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), | |
1692 | 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), | |
1693 | 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), | |
1694 | 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), | |
1695 | 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), | |
1696 | 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) | |
1697 | }, 0.35, false) | |
1698 | end | |
1699 | CFuncs.Sound.Create("318369288", Handle, 1, 1.1) | |
1700 | for i = 0, 1, 0.13 do | |
1701 | swait() | |
1702 | PlayAnimationFromTable({ | |
1703 | 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), | |
1704 | 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), | |
1705 | 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), | |
1706 | 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), | |
1707 | 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), | |
1708 | 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) | |
1709 | }, 0.4, false) | |
1710 | end | |
1711 | end | |
1712 | function SpinShot() | |
1713 | attack = true | |
1714 | for i = 0, 1, 0.12 do | |
1715 | swait() | |
1716 | PlayAnimationFromTable({ | |
1717 | 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), | |
1718 | 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), | |
1719 | 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), | |
1720 | 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), | |
1721 | 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), | |
1722 | 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) | |
1723 | }, 0.35, false) | |
1724 | end | |
1725 | Shootcombo() | |
1726 | for i = 0, 1, 0.3 do | |
1727 | swait() | |
1728 | RootPart.Velocity = RootPart.CFrame.lookVector * -10 | |
1729 | PlayAnimationFromTable({ | |
1730 | 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), | |
1731 | 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), | |
1732 | 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), | |
1733 | 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), | |
1734 | 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), | |
1735 | 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) | |
1736 | }, 0.5, false) | |
1737 | end | |
1738 | for i = 0, 1, 0.12 do | |
1739 | swait() | |
1740 | PlayAnimationFromTable({ | |
1741 | 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), | |
1742 | 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), | |
1743 | 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), | |
1744 | 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), | |
1745 | 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), | |
1746 | 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) | |
1747 | }, 0.4, false) | |
1748 | end | |
1749 | Bolt() | |
1750 | attack = false | |
1751 | end | |
1752 | function LungeShot(Mode) | |
1753 | attack = true | |
1754 | Humanoid.Jump = true | |
1755 | CFuncs.Sound.Create("158149887", Torso, 1, 0.9) | |
1756 | if Mode == "Forward" then | |
1757 | RootPart.Velocity = RootPart.CFrame.lookVector * 80 | |
1758 | for i = 0, 1, 0.1 do | |
1759 | swait() | |
1760 | PlayAnimationFromTable({ | |
1761 | 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), | |
1762 | 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), | |
1763 | 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), | |
1764 | 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), | |
1765 | 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), | |
1766 | 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) | |
1767 | }, 0.3, false) | |
1768 | end | |
1769 | elseif Mode == "Backward" then | |
1770 | RootPart.Velocity = RootPart.CFrame.lookVector * -80 | |
1771 | for i = 0, 1, 0.1 do | |
1772 | swait() | |
1773 | PlayAnimationFromTable({ | |
1774 | 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), | |
1775 | 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), | |
1776 | 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), | |
1777 | 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), | |
1778 | 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), | |
1779 | 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) | |
1780 | }, 0.3, false) | |
1781 | end | |
1782 | end | |
1783 | local hitfloor | |
1784 | while hitfloor == nil do | |
1785 | swait() | |
1786 | hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 6, Character) | |
1787 | end | |
1788 | for i = 0, 1, 0.2 do | |
1789 | swait() | |
1790 | PlayAnimationFromTable({ | |
1791 | CFrame.new(-0.330837339, -0.699999928, -0.231655031, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1792 | CFrame.new(0.120368131, 1.44721556, -0.255113155, 0.418385565, -0.00512788072, 0.908255041, -0.141075298, 0.987487316, 0.0705598369, -0.897252142, -0.157652482, 0.412421852) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1793 | CFrame.new(0.285862863, 0.389394581, -0.81719619, 0.340717524, 0.939693093, 0.0298089981, 0.087155968, 0, -0.996194661, -0.936117232, 0.342018992, -0.081899859) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1794 | CFrame.new(-1.69020307, 0.41307798, -0.514919221, 0.800103247, 0.517377436, 0.303571403, 0.255382031, 0.16412276, -0.95280838, -0.542784572, 0.839871705, -8.13782215E-4) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1795 | CFrame.new(0.897276342, -1.54715633, 0.463865459, 0.951250672, -0.229007483, -0.206587687, 0.304395527, 0.589249432, 0.748417377, -0.0496615469, -0.774816513, 0.630232751) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1796 | CFrame.new(-0.632248044, -1.39177239, -0.405484438, 0.817636669, -0.123517469, 0.562330127, 0.0563425981, 0.989193141, 0.13535662, -0.572972655, -0.0789892152, 0.815760136) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
1797 | }, 0.4, false) | |
1798 | end | |
1799 | Shootcombo() | |
1800 | for i = 0, 1, 0.3 do | |
1801 | swait() | |
1802 | RootPart.Velocity = RootPart.CFrame.lookVector * -40 | |
1803 | PlayAnimationFromTable({ | |
1804 | 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), | |
1805 | 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), | |
1806 | 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), | |
1807 | 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), | |
1808 | 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), | |
1809 | 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) | |
1810 | }, 0.6, false) | |
1811 | end | |
1812 | for i = 0, 1, 0.2 do | |
1813 | swait() | |
1814 | PlayAnimationFromTable({ | |
1815 | 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), | |
1816 | 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), | |
1817 | 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), | |
1818 | 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), | |
1819 | 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), | |
1820 | 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) | |
1821 | }, 0.6, false) | |
1822 | end | |
1823 | Bolt() | |
1824 | attack = false | |
1825 | end | |
1826 | function AutoShot() | |
1827 | attack = true | |
1828 | Humanoid.WalkSpeed = 5 | |
1829 | Bolt() | |
1830 | for i = 0, 1, 0.3 do | |
1831 | swait() | |
1832 | PlayAnimationFromTable({ | |
1833 | 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), | |
1834 | 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), | |
1835 | 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), | |
1836 | 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), | |
1837 | 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), | |
1838 | 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) | |
1839 | }, 0.4, false) | |
1840 | end | |
1841 | Humanoid.WalkSpeed = 0 | |
1842 | for i = 1, 10 do | |
1843 | for i = 0, 1, 0.8 do | |
1844 | swait() | |
1845 | PlayAnimationFromTable({ | |
1846 | 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), | |
1847 | 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), | |
1848 | 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), | |
1849 | 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), | |
1850 | 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), | |
1851 | 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) | |
1852 | }, 0.7, false) | |
1853 | end | |
1854 | Shootcombo() | |
1855 | for i = 0, 1, 0.9 do | |
1856 | swait() | |
1857 | PlayAnimationFromTable({ | |
1858 | 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), | |
1859 | 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), | |
1860 | 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), | |
1861 | 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), | |
1862 | 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), | |
1863 | 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) | |
1864 | }, 0.8, false) | |
1865 | end | |
1866 | for i = 0, 1, 0.8 do | |
1867 | swait() | |
1868 | PlayAnimationFromTable({ | |
1869 | 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), | |
1870 | 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), | |
1871 | 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), | |
1872 | 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), | |
1873 | 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), | |
1874 | 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) | |
1875 | }, 0.7, false) | |
1876 | end | |
1877 | end | |
1878 | Humanoid.WalkSpeed = 100 | |
1879 | attack = false | |
1880 | end | |
1881 | function MortarShot() | |
1882 | attack = true | |
1883 | Humanoid.WalkSpeed = 5 | |
1884 | Bolt() | |
1885 | for i = 0, 1, 0.2 do | |
1886 | swait() | |
1887 | PlayAnimationFromTable({ | |
1888 | 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), | |
1889 | 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), | |
1890 | 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), | |
1891 | 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), | |
1892 | 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), | |
1893 | 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) | |
1894 | }, 0.4, false) | |
1895 | end | |
1896 | for i = 0, 1, 0.3 do | |
1897 | swait() | |
1898 | PlayAnimationFromTable({ | |
1899 | 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), | |
1900 | 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), | |
1901 | 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), | |
1902 | 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), | |
1903 | 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), | |
1904 | 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) | |
1905 | }, 0.4, false) | |
1906 | end | |
1907 | CFuncs.Sound.Create("300916014", Barrel, 1, 1.2) | |
1908 | CFuncs.Sound.Create("301031757", Barrel, 1, 1.1) | |
1909 | Effects.Sphere.Create(BrickColor.random(), Barrel.CFrame, 6, 6, 6, 0, 0, 0, 1, m) | |
1910 | for i = 1, 60 do | |
1911 | local hit, pos = rayCast(Barrel.Position, Barrel.CFrame * CFrame.fromEulerAnglesXYZ(0, 5, 0).lookVector, 220, Character) | |
1912 | local mag = (Barrel.Position - pos).magnitude | |
1913 | Effects.Cylinder.Create(BrickColor.random(), Barrel.CFrame, 30, 99999, 30, -0.5, 1, -0.5, 0.1) | |
1914 | local cf2 = Mouse.Hit.p + Vector3.new(math.random(-1500, 1500) / 100, 100, math.random(-1500, 1500) / 100) | |
1915 | local hit2, pos2 = rayCast(cf2, CFrame.new(cf2, cf2 - Vector3.new(0, 1, 0)).lookVector, 999, Character) | |
1916 | if hit2 ~= nil then | |
1917 | local d1 = CFuncs.Part.Create(workspace, "Neon", 0, 0.5, BrickColor.random(), "Effect", Vector3.new()) | |
1918 | d1.Anchored = true | |
1919 | d1.CFrame = CFrame.new(pos2) | |
1920 | game:GetService("Debris"):AddItem(d1, 5) | |
1921 | local msh = CFuncs.Mesh.Create("CylinderMesh", d1, "nil", "nil", Vector3.new(0, 0, 0), Vector3.new(30, 5, 30)) | |
1922 | local d2 = d1:Clone() | |
1923 | d2.Parent = d1 | |
1924 | d2.CFrame = CFrame.new(d1.Position) | |
1925 | d2.BrickColor = BrickColor.random() | |
1926 | d2.Mesh.Scale = Vector3.new(0, 5, 0) | |
1927 | table.insert(Effects, { | |
1928 | d1, | |
1929 | "QuadShot", | |
1930 | d2, | |
1931 | d2.Mesh, | |
1932 | 0 | |
1933 | }) | |
1934 | end | |
1935 | end | |
1936 | for i = 0, 1, 0.2 do | |
1937 | swait() | |
1938 | PlayAnimationFromTable({ | |
1939 | 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), | |
1940 | 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), | |
1941 | 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), | |
1942 | 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), | |
1943 | 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), | |
1944 | 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) | |
1945 | }, 0.4, false) | |
1946 | end | |
1947 | Humanoid.WalkSpeed = 100 | |
1948 | attack = false | |
1949 | end | |
1950 | function DisappearJetOnly() | |
1951 | for _, i in pairs(m:children()) do | |
1952 | if i == JetpackHandle then | |
1953 | coroutine.resume(coroutine.create(function(Part) | |
1954 | for i = 0, 1, 0.3 do | |
1955 | swait() | |
1956 | Part.Transparency = i | |
1957 | end | |
1958 | Part.Transparency = 1 | |
1959 | end), i) | |
1960 | end | |
1961 | end | |
1962 | end | |
1963 | function ReappearJetOnly() | |
1964 | for _, i in pairs(m:children()) do | |
1965 | if i == JetpackHandle then | |
1966 | coroutine.resume(coroutine.create(function(Part) | |
1967 | for i = 0, 1, 0.3 do | |
1968 | swait() | |
1969 | Part.Transparency = i | |
1970 | end | |
1971 | Part.Transparency = 0 | |
1972 | end), i) | |
1973 | end | |
1974 | end | |
1975 | end | |
1976 | local floornum = 0 | |
1977 | function JetDash() | |
1978 | attack = true | |
1979 | ReappearJetOnly() | |
1980 | Humanoid.WalkSpeed = 5 | |
1981 | CFuncs.Sound.Create("324867021", JetpackHandle, 1, 1) | |
1982 | CFuncs.Sound.Create("301031757", JetpackHandle, 1, 0.8) | |
1983 | for i = 0, 1, 0.05 do | |
1984 | swait() | |
1985 | Effects.Wave.Create(BrickColor.random(), JetpackHandle.CFrame * CFrame.Angles(2.4, 0, 0), 1, 1, 1, 1, 1, 1, 0.4) | |
1986 | Effects.Break.Create(BrickColor.random(), EffectPartR3.CFrame, 0.2, 0.2, 0.2) | |
1987 | Effects.Break.Create(BrickColor.random(), EffectPartL3.CFrame, 0.2, 0.2, 0.2) | |
1988 | Effects.Block.Create(BrickColor.random(), EffectPartR3.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1) | |
1989 | Effects.Block.Create(BrickColor.random(), EffectPartL3.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1) | |
1990 | Effects.Block.Create(BrickColor.random(), EffectPartR2.CFrame, 1, 1, 1, 2, 2, 2, 0.2, 1) | |
1991 | Effects.Block.Create(BrickColor.random(), EffectPartL2.CFrame, 1, 1, 1, 2, 2, 2, 0.2, 1) | |
1992 | RootPart.Velocity = RootPart.CFrame.lookVector * 300 | |
1993 | PlayAnimationFromTable({ | |
1994 | 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), | |
1995 | 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), | |
1996 | 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), | |
1997 | 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), | |
1998 | 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), | |
1999 | 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) | |
2000 | }, 0.3, false) | |
2001 | end | |
2002 | for i = 0, 1, 0.05 do | |
2003 | swait() | |
2004 | Effects.Fire.Create(BrickColor.random(), EffectPartL3.CFrame, 3, 3, 3, 0.3) | |
2005 | Effects.Fire.Create(BrickColor.random(), EffectPartR3.CFrame, 3, 3, 3, 0.3) | |
2006 | RootPart.Velocity = RootPart.CFrame.lookVector * 90 | |
2007 | PlayAnimationFromTable({ | |
2008 | 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), | |
2009 | 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), | |
2010 | 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), | |
2011 | 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), | |
2012 | 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), | |
2013 | 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) | |
2014 | }, 0.36, false) | |
2015 | end | |
2016 | DisappearJetOnly() | |
2017 | Humanoid.WalkSpeed = 100 | |
2018 | attack = false | |
2019 | end | |
2020 | function findRandomHead(pos) | |
2021 | local list = game.Workspace:children() | |
2022 | local head | |
2023 | local dist = 10000 | |
2024 | local temp, human, temp2 | |
2025 | local list2 = {} | |
2026 | for x = 1, #list do | |
2027 | temp2 = list[x] | |
2028 | if temp2.className == "Model" and temp2.Name ~= Character.Name and temp2.Name ~= "Crystal" then | |
2029 | temp = temp2:findFirstChild("Head") | |
2030 | human = temp2:findFirstChild("Humanoid") | |
2031 | if temp ~= nil and human ~= nil and human.Health > 0 and dist > pos.magnitude then | |
2032 | local dohit = true | |
2033 | if dohit == true then | |
2034 | head = temp | |
2035 | table.insert(list2, temp) | |
2036 | end | |
2037 | end | |
2038 | end | |
2039 | end | |
2040 | if #list2 > 0 then | |
2041 | rand = math.random(1, #list2) | |
2042 | return list2[rand], dist | |
2043 | else | |
2044 | return nil, dist | |
2045 | end | |
2046 | end | |
2047 | Mouse.Button1Down:connect(function() | |
2048 | if attack ~= false or attacktype == 1 then | |
2049 | end | |
2050 | end) | |
2051 | Mouse.KeyDown:connect(function(k) | |
2052 | k = k:lower() | |
2053 | if attack == false and k == "z" then | |
2054 | SpinShot() | |
2055 | elseif attack == false and k == "x" then | |
2056 | chatfunc("Forward chaos Shot!") LungeShot("Forward") | |
2057 | elseif attack == false and k == "c" then | |
2058 | chatfunc("Backwards chaos Shot!") LungeShot("Backward") | |
2059 | elseif attack == false and k == "v" then | |
2060 | chatfunc("Auto Shot!") AutoShot() | |
2061 | elseif attack == false and k == "b" then | |
2062 | chatfunc("Mortar Shot!") MortarShot() | |
2063 | elseif attack == false and k == "f" then | |
2064 | chatfunc("Jet Dash!") JetDash() | |
2065 | end | |
2066 | end) | |
2067 | while true do | |
2068 | swait() | |
2069 | local aim = CFrame.new(RootPart.Position, Mouse.Hit.p) | |
2070 | local direction = aim.lookVector | |
2071 | local headingA = math.atan2(direction.x, direction.z) | |
2072 | headingA = math.deg(headingA) | |
2073 | Humanoid.AutoRotate = false | |
2074 | RootPart.CFrame = CFrame.new(RootPart.Position) * CFrame.Angles(math.rad(0), math.rad(headingA - 180), math.rad(0)) | |
2075 | for i, v in pairs(Character:GetChildren()) do | |
2076 | if v:IsA("Part") then | |
2077 | v.Material = "SmoothPlastic" | |
2078 | elseif v:IsA("Accessory") then | |
2079 | v:WaitForChild("Handle").Material = "SmoothPlastic" | |
2080 | end | |
2081 | end | |
2082 | Headvelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
2083 | velocity = RootPart.Velocity.y | |
2084 | sine = sine + change | |
2085 | local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) | |
2086 | if RootPart.Velocity.y > 1 and hit == nil then | |
2087 | Anim = "Jump" | |
2088 | if attack == false then | |
2089 | PlayAnimationFromTable({ | |
2090 | 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), | |
2091 | 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), | |
2092 | 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), | |
2093 | 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), | |
2094 | 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), | |
2095 | 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) | |
2096 | }, 0.3, false) | |
2097 | end | |
2098 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
2099 | Anim = "Fall" | |
2100 | if attack == false then | |
2101 | PlayAnimationFromTable({ | |
2102 | 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), | |
2103 | 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), | |
2104 | 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), | |
2105 | 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), | |
2106 | 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), | |
2107 | 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) | |
2108 | }, 0.3, false) | |
2109 | end | |
2110 | elseif Headvelocity < 1 and hit ~= nil then | |
2111 | Anim = "Idle" | |
2112 | if attack == false then | |
2113 | change = 1 | |
2114 | PlayAnimationFromTable({ | |
2115 | 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), | |
2116 | 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), | |
2117 | 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), | |
2118 | 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), | |
2119 | 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), | |
2120 | 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) | |
2121 | }, 0.3, false) | |
2122 | end | |
2123 | elseif Headvelocity > 2 and hit ~= nil then | |
2124 | Anim = "Walk" | |
2125 | if attack == false then | |
2126 | change = 3 | |
2127 | PlayAnimationFromTable({ | |
2128 | 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), | |
2129 | 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))), | |
2130 | 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), | |
2131 | 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), | |
2132 | 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)), | |
2133 | 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)) | |
2134 | }, 0.3, false) | |
2135 | end | |
2136 | end | |
2137 | if 0 < #Effects then | |
2138 | for e = 1, #Effects do | |
2139 | if Effects[e] ~= nil then | |
2140 | local Thing = Effects[e] | |
2141 | if Thing ~= nil then | |
2142 | local Part = Thing[1] | |
2143 | local Mode = Thing[2] | |
2144 | local Delay = Thing[3] | |
2145 | local IncX = Thing[4] | |
2146 | local IncY = Thing[5] | |
2147 | local IncZ = Thing[6] | |
2148 | if Thing[2] == "Shoot" then | |
2149 | local Look = Thing[1] | |
2150 | local move = 30 | |
2151 | if Thing[8] == 3 then | |
2152 | move = 10 | |
2153 | end | |
2154 | local hit, pos = rayCast(Thing[4], Look, move, Character) | |
2155 | local mag = (Thing[4] - pos).magnitude | |
2156 | Effects.Cylinder.Create(BrickColor.random(), CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2) | |
2157 | Thing[4] = Thing[4] + Look * move | |
2158 | Thing[3] = Thing[3] - 1 | |
2159 | if hit ~= nil then | |
2160 | Thing[3] = 0 | |
2161 | local target, distance = findNearestHead(pos) | |
2162 | if hit.Parent:findFirstChild("Humanoid") == nil and target ~= nil and Thing[5] > 0 then | |
2163 | Thing[3] = 20 | |
2164 | Thing[5] = Thing[5] - 1 | |
2165 | Thing[6] = Thing[6] - 1 | |
2166 | 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 | |
2167 | local MouseLook = CFrame.new((pos + target.Position) / 2, target.Position) | |
2168 | Thing[1] = MouseLook.lookVector | |
2169 | end | |
2170 | if Thing[8] == 1 or Thing[8] == 3 then | |
2171 | MagnitudeDamage(hit, 5, 15, 25, math.random(5, 10), "Normal", "", 1) | |
2172 | end | |
2173 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.random(), "Reference", Vector3.new()) | |
2174 | ref.Anchored = true | |
2175 | ref.CFrame = CFrame.new(pos) | |
2176 | Effects.Sphere.Create(BrickColor.random(), CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
2177 | game:GetService("Debris"):AddItem(ref, 1) | |
2178 | end | |
2179 | if Thing[3] <= 0 then | |
2180 | table.remove(Effects, e) | |
2181 | end | |
2182 | end | |
2183 | if Thing[2] == "FireWave" then | |
2184 | if Thing[3] <= Thing[4] then | |
2185 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
2186 | Thing[3] = Thing[3] + 1 | |
2187 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
2188 | else | |
2189 | Part.Parent = nil | |
2190 | table.remove(Effects, e) | |
2191 | end | |
2192 | end | |
2193 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
2194 | if Thing[1].Transparency <= 1 then | |
2195 | if Thing[2] == "Block1" then | |
2196 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2197 | Mesh = Thing[7] | |
2198 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2199 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2200 | elseif Thing[2] == "Block2" then | |
2201 | Thing[1].CFrame = Thing[1].CFrame | |
2202 | Mesh = Thing[7] | |
2203 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2204 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2205 | elseif Thing[2] == "Fire" then | |
2206 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
2207 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2208 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2209 | elseif Thing[2] == "Cylinder" then | |
2210 | Mesh = Thing[7] | |
2211 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2212 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2213 | elseif Thing[2] == "Blood" then | |
2214 | Mesh = Thing[7] | |
2215 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
2216 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2217 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2218 | elseif Thing[2] == "Elec" then | |
2219 | Mesh = Thing[10] | |
2220 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
2221 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2222 | elseif Thing[2] == "QuadShot" then | |
2223 | if Thing[5] < 30 then | |
2224 | Thing[5] = Thing[5] + 1.5 | |
2225 | Thing[4].Scale = Vector3.new(Thing[5], 5, Thing[5]) | |
2226 | else | |
2227 | refda = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new()) | |
2228 | refda.Anchored = true | |
2229 | refda.CFrame = CFrame.new(Thing[1].Position) | |
2230 | game:GetService("Debris"):AddItem(refda, 1) | |
2231 | CFuncs.Sound.Create("300916105", refda, 1, 1.4) | |
2232 | CFuncs.Sound.Create("315744661", refda, 1, 1) | |
2233 | MagnitudeDamage(refda, 20, 15, 25, math.random(5, 10), "Normal", "315748999", 1) | |
2234 | Effects.Cylinder.Create(BrickColor.random(), CFrame.new(refda.Position), 3, 9999, 3, 1, 1, 1, 0.1) | |
2235 | for i = 1, 3 do | |
2236 | Effects.Sphere.Create(BrickColor.random(), CFrame.new(refda.Position), 10, 10, 10, 4 * i, 4 * i, 4 * i, 0.08) | |
2237 | end | |
2238 | Thing[1].Parent = nil | |
2239 | table.remove(Effects, e) | |
2240 | end | |
2241 | elseif Thing[2] == "Disappear" then | |
2242 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2243 | elseif Thing[2] == "Shatter" then | |
2244 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2245 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
2246 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
2247 | Thing[6] = Thing[6] + Thing[5] | |
2248 | end | |
2249 | else | |
2250 | Part.Parent = nil | |
2251 | table.remove(Effects, e) | |
2252 | end | |
2253 | end | |
2254 | end | |
2255 | end | |
2256 | end | |
2257 | end | |
2258 | end |