SHOW:
|
|
- or go back to the newest paste.
1 | - | wait(0.016666666666667) |
1 | + | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end |
2 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
3 | local Mouse,mouse,UserInputService,ContextActionService = owner | |
4 | do | |
5 | print("FE Compatibility code by Mokiros Edited by basstracker1970") | |
6 | script.Parent = Player.Character | |
7 | ||
8 | --RemoteEvent for communicating | |
9 | - | Player = game.Players.LocalPlayer |
9 | + | local Event = Instance.new("RemoteEvent") |
10 | Event.Name = "UserInput_Event" | |
11 | ||
12 | - | mouse = Player:GetMouse() |
12 | + | --Fake event to make stuff like Mouse.KeyDown work |
13 | local function fakeEvent() | |
14 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
15 | t.connect = t.Connect | |
16 | return t | |
17 | end | |
18 | ||
19 | --Creating fake input objects with fake variables | |
20 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
21 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
22 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
23 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
24 | end} | |
25 | --Merged 2 functions into one by checking amount of arguments | |
26 | CAS.UnbindAction = CAS.BindAction | |
27 | ||
28 | --This function will trigger the events that have been :Connect()'ed | |
29 | local function te(self,ev,...) | |
30 | local t = m[ev] | |
31 | if t and t._fakeEvent and t.Function then | |
32 | t.Function(...) | |
33 | end | |
34 | end | |
35 | m.TrigEvent = te | |
36 | UIS.TrigEvent = te | |
37 | ||
38 | Event.OnServerEvent:Connect(function(plr,io) | |
39 | if plr~=Player then return end | |
40 | if io.isMouse then | |
41 | m.Target = io.Target | |
42 | m.Hit = io.Hit | |
43 | elseif io.UserInputType == Enum.UserInputType.MouseButton1 then | |
44 | if io.UserInputState == Enum.UserInputState.Begin then | |
45 | m:TrigEvent("Button1Down") | |
46 | else | |
47 | m:TrigEvent("Button1Up") | |
48 | end | |
49 | else | |
50 | for n,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 | if io.UserInputState == Enum.UserInputState.Begin then | |
58 | m:TrigEvent("KeyDown",io.KeyCode.Name:lower()) | |
59 | UIS:TrigEvent("InputBegan",io,false) | |
60 | else | |
61 | m:TrigEvent("KeyUp",io.KeyCode.Name:lower()) | |
62 | UIS:TrigEvent("InputEnded",io,false) | |
63 | end | |
64 | end | |
65 | end) | |
66 | Event.Parent = NLS([==[ | |
67 | local Player = game:GetService("Players").LocalPlayer | |
68 | local Event = script:WaitForChild("UserInput_Event") | |
69 | ||
70 | local UIS = game:GetService("UserInputService") | |
71 | local input = function(io,a) | |
72 | if a then return end | |
73 | --Since InputObject is a client-side instance, we create and pass table instead | |
74 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
75 | end | |
76 | UIS.InputBegan:Connect(input) | |
77 | UIS.InputEnded:Connect(input) | |
78 | ||
79 | local Mouse = Player:GetMouse() | |
80 | local h,t | |
81 | --Give the server mouse data 30 times every second, but only if the values changed | |
82 | --If player is not moving their mouse, client won't fire events | |
83 | while wait(1/30) do | |
84 | if h~=Mouse.Hit or t~=Mouse.Target then | |
85 | h,t=Mouse.Hit,Mouse.Target | |
86 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
87 | end | |
88 | end]==],Player.Character) | |
89 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
90 | ||
91 | end | |
92 | wait(0.2) | |
93 | --Paste This Above Any Script | |
94 | Anim = nil | |
95 | normcount = 0 | |
96 | cf = CFrame.new | |
97 | function c3(cz, cx, cc) | |
98 | return Color3.new(cz / 255, cx / 255, cc / 255) | |
99 | end | |
100 | angles = CFrame.Angles | |
101 | Player = owner | |
102 | Character = Player.Character | |
103 | Humanoid = Character.Humanoid | |
104 | ||
105 | local LeftArm = Character["Left Arm"] | |
106 | RightArm = Character["Right Arm"] | |
107 | LeftLeg = Character["Left Leg"] | |
108 | RightLeg = Character["Right Leg"] | |
109 | Head = Character.Head | |
110 | Torso = Character.Torso | |
111 | RootPart = Character.HumanoidRootPart | |
112 | RootJoint = RootPart.RootJoint | |
113 | Humanoid.Animator:Destroy() | |
114 | Character.Animate:Destroy() | |
115 | NeckCF = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
116 | RootCF = angles(-1.57, 0, 3.14) | |
117 | LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
118 | LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
119 | RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
120 | RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
121 | RW = Instance.new("Weld") | |
122 | LW = Instance.new("Weld") | |
123 | RH = Torso["Right Hip"] | |
124 | LH = Torso["Left Hip"] | |
125 | Neck = Torso.Neck | |
126 | RSH = Torso["Right Shoulder"] | |
127 | LSH = Torso["Left Shoulder"] | |
128 | RSH.Parent = nil | |
129 | LSH.Parent = nil | |
130 | RW.Name = "Right Shoulder" | |
131 | RW.Part0 = Torso | |
132 | RW.C0 = cf(1.5, 0.5, 0) | |
133 | RW.C1 = cf(0, 0.5, 0) | |
134 | RW.Part1 = RightArm | |
135 | RW.Parent = Torso | |
136 | LW.Name = "Left Shoulder" | |
137 | LW.Part0 = Torso | |
138 | LW.C0 = cf(-1.5, 0.5, 0) | |
139 | LW.C1 = cf(0, 0.5, 0) | |
140 | LW.Part1 = LeftArm | |
141 | LW.Parent = Torso | |
142 | Effects = Instance.new("Model", Character) | |
143 | Effects.Name = "Effects" | |
144 | Humanoid.WalkSpeed = 16 | |
145 | partEffects, AttackHas, AttackNeeded, AttackCan = {}, {}, {}, {} | |
146 | AttackHas[1], AttackHas[2], AttackHas[3], AttackHas[4] = 1, 1, 1, 1 | |
147 | AttackNeeded[1], AttackNeeded[2], AttackNeeded[3], AttackNeeded[4] = 1, 1, 1, 1 | |
148 | AttackCan[1], AttackCan[2], AttackCan[3], AttackCan[4] = true, true, true, true | |
149 | sine = 0 | |
150 | attackcounter = 1 | |
151 | torvel = nil | |
152 | attacking = false | |
153 | hitfloor, posfloor = nil, nil | |
154 | Goodbye = false | |
155 | tool = nil | |
156 | if script.Parent.ClassName == "HopperBin" then | |
157 | tool = script.Parent | |
158 | tool.Parent = Player.Backpack | |
159 | tool.Name = "Nitrite" | |
160 | else | |
161 | tool = Instance.new("HopperBin", Player.Backpack) | |
162 | tool.Name = "" | |
163 | end | |
164 | meshes = { | |
165 | 3270017, | |
166 | 20329976, | |
167 | 448386996, | |
168 | 1095708, | |
169 | 1033714, | |
170 | 9756362 | |
171 | } | |
172 | sounds = { | |
173 | { | |
174 | 320557413, | |
175 | 320557453, | |
176 | 320557487, | |
177 | 320557518, | |
178 | 320557537, | |
179 | 320557563, | |
180 | 233856146, | |
181 | 233856140 | |
182 | }, | |
183 | { | |
184 | 234365549, | |
185 | 234365573, | |
186 | 231917961, | |
187 | 231917950, | |
188 | 231917856, | |
189 | 231917863, | |
190 | 231917871 | |
191 | }, | |
192 | { | |
193 | 262562442, | |
194 | 231917806, | |
195 | 231917784 | |
196 | }, | |
197 | { | |
198 | 262562442, | |
199 | 233856048, | |
200 | 306247739 | |
201 | } | |
202 | } | |
203 | ArtificialHB = Instance.new("BindableEvent", script) | |
204 | ArtificialHB.Name = "Heartbeat" | |
205 | script:WaitForChild("Heartbeat") | |
206 | frame = 0.025 | |
207 | tf = 0 | |
208 | allowframeloss = true | |
209 | tossremainder = false | |
210 | lastframe = tick() | |
211 | script.Heartbeat:Fire() | |
212 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
213 | tf = tf + s | |
214 | if tf >= frame then | |
215 | if allowframeloss then | |
216 | script.Heartbeat:Fire() | |
217 | lastframe = tick() | |
218 | else | |
219 | for i = 1, math.floor(tf / frame) do | |
220 | script.Heartbeat:Fire() | |
221 | end | |
222 | lastframe = tick() | |
223 | end | |
224 | if tossremainder then | |
225 | tf = 0 | |
226 | else | |
227 | tf = tf - frame * math.floor(tf / frame) | |
228 | end | |
229 | end | |
230 | end) | |
231 | function swait(num) | |
232 | if num == 0 or num == nil then | |
233 | ArtificialHB.Event:wait() | |
234 | else | |
235 | for i = 0, num do | |
236 | ArtificialHB.Event:wait() | |
237 | end | |
238 | end | |
239 | end | |
240 | function thread(f) | |
241 | coroutine.resume(coroutine.create(f)) | |
242 | end | |
243 | function clerp(a, b, t) | |
244 | local qa = { | |
245 | QuaternionFromCFrame(a) | |
246 | } | |
247 | local qb = { | |
248 | QuaternionFromCFrame(b) | |
249 | } | |
250 | local ax, ay, az = a.x, a.y, a.z | |
251 | local bx, by, bz = b.x, b.y, b.z | |
252 | local _t = 1 - t | |
253 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
254 | end | |
255 | function QuaternionFromCFrame(cf) | |
256 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
257 | local trace = m00 + m11 + m22 | |
258 | if trace > 0 then | |
259 | local s = math.sqrt(1 + trace) | |
260 | local recip = 0.5 / s | |
261 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
262 | else | |
263 | local i = 0 | |
264 | if m00 < m11 then | |
265 | i = 1 | |
266 | end | |
267 | if m22 > (i == 0 and m00 or m11) then | |
268 | i = 2 | |
269 | end | |
270 | if i == 0 then | |
271 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
272 | local recip = 0.5 / s | |
273 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
274 | elseif i == 1 then | |
275 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
276 | local recip = 0.5 / s | |
277 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
278 | elseif i == 2 then | |
279 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
280 | local recip = 0.5 / s | |
281 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
282 | end | |
283 | end | |
284 | end | |
285 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
286 | local xs, ys, zs = x + x, y + y, z + z | |
287 | local wx, wy, wz = w * xs, w * ys, w * zs | |
288 | local xx = x * xs | |
289 | local xy = x * ys | |
290 | local xz = x * zs | |
291 | local yy = y * ys | |
292 | local yz = y * zs | |
293 | local zz = z * zs | |
294 | 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)) | |
295 | end | |
296 | function QuaternionSlerp(a, b, t) | |
297 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
298 | local startInterp, finishInterp | |
299 | if cosTheta >= 1.0E-4 then | |
300 | if 1 - cosTheta > 1.0E-4 then | |
301 | local theta = math.acos(cosTheta) | |
302 | local invSinTheta = 1 / math.sin(theta) | |
303 | startInterp = math.sin((1 - t) * theta) * invSinTheta | |
304 | finishInterp = math.sin(t * theta) * invSinTheta | |
305 | else | |
306 | startInterp = 1 - t | |
307 | finishInterp = t | |
308 | end | |
309 | elseif 1 + cosTheta > 1.0E-4 then | |
310 | local theta = math.acos(-cosTheta) | |
311 | local invSinTheta = 1 / math.sin(theta) | |
312 | startInterp = math.sin((t - 1) * theta) * invSinTheta | |
313 | finishInterp = math.sin(t * theta) * invSinTheta | |
314 | else | |
315 | startInterp = t - 1 | |
316 | finishInterp = t | |
317 | end | |
318 | 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 | |
319 | end | |
320 | function rayCast(Pos, Dir, Max, Ignore) | |
321 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
322 | end | |
323 | function sound(id, par, vol, dur, pit) | |
324 | coroutine.resume(coroutine.create(function() | |
325 | local sou = Instance.new("Sound", par or workspace) | |
326 | sou.Volume = vol | |
327 | sou.Pitch = pit or 1 | |
328 | sou.SoundId = "http://www.roblox.com/asset/?id=" .. id | |
329 | swait() | |
330 | sou:play() | |
331 | thread(function() | |
332 | wait(dur) | |
333 | sou:Destroy() | |
334 | end) | |
335 | return sou | |
336 | end)) | |
337 | end | |
338 | function newPart(par, brick, transp, anch, canc, size, name, mat, ref) | |
339 | local p = Instance.new("Part") | |
340 | p.BrickColor = brick | |
341 | p.Transparency = transp | |
342 | p.Material = mat and mat or "SmoothPlastic" | |
343 | p.Reflectance = ref and ref or 0 | |
344 | p.Anchored = anch | |
345 | p.CanCollide = canc | |
346 | p.Size = size | |
347 | p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BackSurface = 10, 10, 10, 10, 10, 10 | |
348 | p.Name = name | |
349 | p.CFrame = RootPart.CFrame | |
350 | p.Parent = par | |
351 | return p | |
352 | end | |
353 | function mesh(Mesh, part, meshtype, meshid, offset, scale) | |
354 | local mesh = Instance.new(Mesh) | |
355 | mesh.Parent = part | |
356 | if Mesh == "SpecialMesh" then | |
357 | mesh.MeshType = meshtype | |
358 | if meshid then | |
359 | mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid | |
360 | end | |
361 | end | |
362 | if offset then | |
363 | mesh.Offset = offset | |
364 | end | |
365 | mesh.Scale = scale | |
366 | return mesh | |
367 | end | |
368 | function weld(parent, part0, part1, c0, c1) | |
369 | local weld = Instance.new("Weld") | |
370 | weld.Parent = parent | |
371 | weld.Part0 = part0 | |
372 | weld.Part1 = part1 | |
373 | weld.C0 = c0 | |
374 | if c1 then | |
375 | weld.C1 = c1 | |
376 | end | |
377 | return weld | |
378 | end | |
379 | function randomangles(r) | |
380 | local random = math.rad((math.random() - 0.5) * 180) | |
381 | local randomangles = CFrame.Angles(random, random, random) | |
382 | if r and r == 0 then | |
383 | return angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
384 | elseif r and r == 1 then | |
385 | return math.rad((math.random() - 0.5) * 180) | |
386 | elseif r and r == 2 then | |
387 | return math.random(-50, 50) | |
388 | else | |
389 | return randomangles | |
390 | end | |
391 | end | |
392 | function round(num) | |
393 | local a, b = math.modf(num) | |
394 | if num % 1 ~= 0 then | |
395 | return math.floor(num) + math.floor(b * 10 + 0.5) / 10 | |
396 | else | |
397 | return math.floor(num) | |
398 | end | |
399 | end | |
400 | function findCloseHumanoid(centre, distance) | |
401 | local tab = {} | |
402 | for _, child in pairs(game.Workspace:GetChildren()) do | |
403 | if child:findFirstChild("Humanoid") and child:findFirstChild("Humanoid") ~= Humanoid and child:findFirstChild("Torso") then | |
404 | local vtors = child.Torso | |
405 | local mag = math.abs((vtors.Position - centre).magnitude) | |
406 | if distance >= mag then | |
407 | table.insert(tab, child.Humanoid) | |
408 | end | |
409 | end | |
410 | end | |
411 | return tab | |
412 | end | |
413 | function basicDamage(vhum, damage, colour) | |
414 | if not vhum or not vhum.Parent:findFirstChild("Humanoid") or vhum.Health <= 0 then | |
415 | return | |
416 | end | |
417 | vhum.Health = vhum.Health - damage | |
418 | local damagepart = Instance.new("Part", Effects) | |
419 | damagepart.Transparency = 1 | |
420 | damagepart.Anchored = true | |
421 | damagepart.CanCollide = false | |
422 | damagepart.Size = Vector3.new(1, 1, 1) | |
423 | damagepart.Name = "DamagePart" | |
424 | damagepart.CFrame = vhum.Parent.Head.CFrame * CFrame.new(0, 1, 0) | |
425 | local g = Instance.new("BillboardGui", damagepart) | |
426 | g.Enabled = true | |
427 | g.Adornee = damagepart | |
428 | g.Size = UDim2.new(5, 0, 5, 0) | |
429 | g.ExtentsOffset = Vector3.new(0, 0, 0) | |
430 | g.StudsOffset = Vector3.new(0, 0, 0) | |
431 | local t = Instance.new("TextLabel", g) | |
432 | t.BackgroundTransparency = 1 | |
433 | t.Font = "ArialBold" | |
434 | t.TextSize = 24 | |
435 | t.Text = "-" .. round(damage) | |
436 | if round(damage) % 1 == 0 then | |
437 | t.Text = "-" .. round(damage) .. ".0" | |
438 | end | |
439 | t.Size = UDim2.new(1, 0, 1, 0) | |
440 | t.TextStrokeTransparency = 0 | |
441 | t.TextTransparency = 0 | |
442 | t.TextScaled = true | |
443 | t.TextWrapped = true | |
444 | t.TextXAlignment = "Center" | |
445 | t.TextYAlignment = "Center" | |
446 | t.TextColor3 = colour | |
447 | coroutine.resume(coroutine.create(function() | |
448 | for i = 1, 50 do | |
449 | game:GetService("RunService").Heartbeat:wait() | |
450 | local sinewave = math.sin(i / 500) * 4 | |
451 | damagepart.CFrame = damagepart.CFrame * CFrame.new(Vector3.new(0, 0.3 - sinewave, 0)) | |
452 | t.TextTransparency = t.TextTransparency + 0.02 | |
453 | t.TextStrokeTransparency = t.TextTransparency + 0.02 | |
454 | end | |
455 | damagepart:Destroy() | |
456 | end), t) | |
457 | end | |
458 | function magic(type, thing) | |
459 | local magicBlock = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay, t) | |
460 | local prt = newPart(par, brick, 0, true, false, Vector3.new(), "Part", "SmoothPlastic", cframe) | |
461 | local msh = mesh("BlockMesh", prt, nil, nil, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
462 | game:GetService("Debris"):AddItem(prt, 8) | |
463 | if t == 1 or t == nil then | |
464 | table.insert(partEffects, { | |
465 | prt, | |
466 | "Block1", | |
467 | delay, | |
468 | x3, | |
469 | y3, | |
470 | z3, | |
471 | msh | |
472 | }) | |
473 | elseif t == 2 then | |
474 | table.insert(partEffects, { | |
475 | prt, | |
476 | "Block2", | |
477 | delay, | |
478 | x3, | |
479 | y3, | |
480 | z3, | |
481 | msh | |
482 | }) | |
483 | end | |
484 | end | |
485 | local magicCylinder = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay) | |
486 | local prt = newPart(par, brick, 0, true, false, Vector3.new(), "Part", cframe) | |
487 | local msh = mesh("CylinderMesh", prt, nil, nil, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
488 | game:GetService("Debris"):AddItem(prt, 8) | |
489 | table.insert(partEffects, { | |
490 | prt, | |
491 | "Cylinder", | |
492 | delay, | |
493 | x3, | |
494 | y3, | |
495 | z3, | |
496 | msh | |
497 | }) | |
498 | end | |
499 | local magicSphere = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay) | |
500 | local prt = newPart(par, brick, 0, true, false, Vector3.new(), "Part", cframe) | |
501 | local msh = mesh("SpecialMesh", prt, "Sphere", nil, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
502 | game:GetService("Debris"):AddItem(prt, 8) | |
503 | table.insert(partEffects, { | |
504 | prt, | |
505 | "Cylinder", | |
506 | delay, | |
507 | x3, | |
508 | y3, | |
509 | z3, | |
510 | msh | |
511 | }) | |
512 | end | |
513 | local magicRing = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay) | |
514 | local prt = newPart(par, brick, 0, true, false, Vector3.new(), "Part", cframe) | |
515 | prt.Anchored = true | |
516 | prt.CFrame = cframe | |
517 | local msh = mesh("SpecialMesh", prt, "FileMesh", 3270017, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
518 | game:GetService("Debris"):AddItem(prt, 2) | |
519 | coroutine.resume(coroutine.create(function(Part, Mesh, num) | |
520 | for i = 0, 1, delay do | |
521 | swait() | |
522 | Part.Transparency = i | |
523 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
524 | end | |
525 | Part.Parent = nil | |
526 | end), prt, msh, (math.random(0, 1) + math.random()) / 5) | |
527 | end | |
528 | local magicSlash = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay) | |
529 | local prt = newPart(par, brick, 0, true, false, Vector3.new(), "Part", cframe) | |
530 | prt.Anchored = true | |
531 | prt.CFrame = cframe | |
532 | local msh = mesh("SpecialMesh", prt, "FileMesh", 20329976, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
533 | game:GetService("Debris"):AddItem(prt, 2) | |
534 | coroutine.resume(coroutine.create(function(Part, Mesh, num) | |
535 | for i = 0, 1, delay do | |
536 | swait() | |
537 | Part.Transparency = i | |
538 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
539 | end | |
540 | Part:Destroy() | |
541 | end), prt, msh, (math.random(0, 1) + math.random()) / 5) | |
542 | end | |
543 | local par = thing[1] | |
544 | local brick = thing[2] | |
545 | local cframe = thing[3] | |
546 | local x1 = thing[4] | |
547 | local y1 = thing[5] | |
548 | local z1 = thing[6] | |
549 | local x3 = thing[7] | |
550 | local y3 = thing[8] | |
551 | local z3 = thing[9] | |
552 | local delay = thing[10] | |
553 | local t = thing[11] | |
554 | if type == "Block" or type == 1 then | |
555 | magicBlock(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11]) | |
556 | elseif type == "Cylinder" or type == 2 then | |
557 | magicCylinder(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11]) | |
558 | elseif type == "Sphere" or type == 3 then | |
559 | magicSphere(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11]) | |
560 | elseif type == "Ring" or type == 4 then | |
561 | magicRing(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11]) | |
562 | elseif type == "Slash" or type == 5 then | |
563 | magicSlash(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11]) | |
564 | end | |
565 | end | |
566 | function newFrame(par, bg, transp, size, pos, name) | |
567 | local f = Instance.new("Frame", nil) | |
568 | f.BackgroundColor3 = bg | |
569 | f.BackgroundTransparency = transp | |
570 | f.BorderSizePixel = 0 | |
571 | f.Position = pos | |
572 | f.Size = size | |
573 | f.Name = name | |
574 | f.Parent = par | |
575 | return f | |
576 | end | |
577 | function newLabel(par, size, pos, text, textsize, text3, textstroke3, scaled, name) | |
578 | local l = Instance.new("TextLabel", nil) | |
579 | l.BackgroundTransparency = 1 | |
580 | l.Size = size | |
581 | l.Position = pos | |
582 | l.Text = text | |
583 | l.TextSize = textsize | |
584 | l.TextColor3 = text3 | |
585 | l.TextStrokeColor3 = textstroke3 | |
586 | if scaled then | |
587 | l.TextScaled = scaled | |
588 | else | |
589 | l.TextScaled = true | |
590 | end | |
591 | l.TextStrokeTransparency = 0 | |
592 | l.Name = name | |
593 | l.Parent = par | |
594 | return l | |
595 | end | |
596 | a1t = "Goodbye" | |
597 | a2t = "Astral Blast" | |
598 | a3t = "Rainbow Jet" | |
599 | a4t = "Pixie Dust" | |
600 | backc3 = c3(163, 163, 163) | |
601 | reloc3 = BrickColor.new("Sea green").Color | |
602 | g = Instance.new("ScreenGui") | |
603 | f1 = newFrame(g, backc3, 0.5, UDim2.new(0.18, 0, 0.08, 0), UDim2.new(0.8, 0, 0.85, 0), "") | |
604 | f2 = newFrame(g, backc3, 0.5, UDim2.new(0.18, 0, 0.08, 0), UDim2.new(0.8, 0, 0.76, 0), "") | |
605 | f3 = newFrame(g, backc3, 0.5, UDim2.new(0.18, 0, 0.08, 0), UDim2.new(0.8, 0, 0.67, 0), "") | |
606 | f4 = newFrame(g, backc3, 0.5, UDim2.new(0.18, 0, 0.08, 0), UDim2.new(0.8, 0, 0.58, 0), "") | |
607 | newFrame(f1, reloc3, 0, UDim2.new(1.002, 0, 1.002, 0), UDim2.new(0, 0, 0, 0), "Reload") | |
608 | newFrame(f2, reloc3, 0, UDim2.new(1.002, 0, 1.002, 0), UDim2.new(0, 0, 0, 0), "Reload") | |
609 | newFrame(f3, reloc3, 0, UDim2.new(1.002, 0, 1.002, 0), UDim2.new(0, 0, 0, 0), "Reload") | |
610 | newFrame(f4, reloc3, 0, UDim2.new(1.002, 0, 1.002, 0), UDim2.new(0, 0, 0, 0), "Reload") | |
611 | newLabel(f4, UDim2.new(1, 0, 0.4, 0), UDim2.new(0, 0, 0, 0), "(V)", 18, c3(243, 242, 242), c3(0, 0, 0), true, "Key") | |
612 | newLabel(f3, UDim2.new(1, 0, 0.4, 0), UDim2.new(0, 0, 0, 0), "(C)", 18, c3(243, 242, 242), c3(0, 0, 0), true, "Key") | |
613 | newLabel(f2, UDim2.new(1, 0, 0.4, 0), UDim2.new(0, 0, 0, 0), "(X)", 18, c3(243, 242, 242), c3(0, 0, 0), true, "Key") | |
614 | newLabel(f1, UDim2.new(1, 0, 0.4, 0), UDim2.new(0, 0, 0, 0), "(Z)", 18, c3(243, 242, 242), c3(0, 0, 0), true, "Key") | |
615 | newLabel(f1, UDim2.new(1, 0, 0.6, 0), UDim2.new(0, 0, 0.38, 0), a4t, 18, c3(243, 242, 242), c3(0, 0, 0), true, "Label") | |
616 | newLabel(f2, UDim2.new(1, 0, 0.6, 0), UDim2.new(0, 0, 0.38, 0), a2t, 18, c3(243, 242, 242), c3(0, 0, 0), true, "Label") | |
617 | newLabel(f3, UDim2.new(1, 0, 0.6, 0), UDim2.new(0, 0, 0.38, 0), a3t, 18, c3(243, 242, 242), c3(0, 0, 0), true, "Label") | |
618 | newLabel(f4, UDim2.new(1, 0, 0.6, 0), UDim2.new(0, 0, 0.38, 0), a1t, 18, c3(243, 242, 242), c3(0, 0, 0), true, "Label") | |
619 | g.Parent = Player.PlayerGui | |
620 | Reload = {} | |
621 | Reload[1] = f1.Reload | |
622 | Reload[2] = f2.Reload | |
623 | Reload[3] = f3.Reload | |
624 | Reload[4] = f4.Reload | |
625 | weapon = Instance.new("Model", Character) | |
626 | p0 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
627 | mesh("BlockMesh", p0, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607)) | |
628 | p1 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
629 | mesh("BlockMesh", p1, nil, nil, Vector3.new(0, 0, 0), Vector3.new(3.20006061, 1.00001276, 0.900012672)) | |
630 | p2 = newPart(weapon, BrickColor.new("Steel blue"), 1, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Handle") | |
631 | mesh("BlockMesh", p2, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.800007403, 1.00000715, 0.800005436)) | |
632 | p3 = newPart(weapon, BrickColor.new("Sea green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
633 | mesh("BlockMesh", p3, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607)) | |
634 | p4 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
635 | mesh("BlockMesh", p4, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840741, 0.16384086, 0.655362427)) | |
636 | p5 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
637 | mesh("BlockMesh", p5, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607)) | |
638 | p6 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
639 | mesh("BlockMesh", p6, nil, nil, Vector3.new(0, 0, 0), Vector3.new(5.15009165, 0.450000495, 5.05007219)) | |
640 | p7 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
641 | mesh("BlockMesh", p7, nil, nil, Vector3.new(0, 0, 0), Vector3.new(3.20006013, 1.45001948, 0.900012672)) | |
642 | p8 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
643 | mesh("BlockMesh", p8, nil, nil, Vector3.new(0, 0, 0), Vector3.new(5.10004807, 1.00000703, 5.10003614)) | |
644 | p9 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
645 | mesh("BlockMesh", p9, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.450001657, 5.05002356, 5.05001783)) | |
646 | p10 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
647 | mesh("BlockMesh", p10, nil, nil, Vector3.new(0, 0, 0), Vector3.new(5.10004807, 1.00000703, 5.10003614)) | |
648 | p11 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
649 | mesh("BlockMesh", p11, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.899998009, 3.80000043, 1.05000365)) | |
650 | p12 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
651 | mesh("BlockMesh", p12, nil, nil, Vector3.new(0, 0, 0), Vector3.new(3.05005431, 0.450003177, 5.05007219)) | |
652 | p13 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
653 | mesh("BlockMesh", p13, nil, nil, Vector3.new(0, 0, 0), Vector3.new(3.20006013, 1.35001779, 0.900012672)) | |
654 | p14 = newPart(weapon, BrickColor.new("Lily white"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
655 | mesh("BlockMesh", p14, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840652, 0.327681214)) | |
656 | p15 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
657 | mesh("BlockMesh", p15, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840652, 0.655362427)) | |
658 | p16 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
659 | mesh("BlockMesh", p16, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.899998188, 3.80000138, 1.05000353)) | |
660 | p17 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
661 | mesh("BlockMesh", p17, nil, nil, Vector3.new(0, 0, 0), Vector3.new(3.05005288, 0.450004637, 5.05007792)) | |
662 | p18 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
663 | mesh("BlockMesh", p18, nil, nil, Vector3.new(0, 0, 0), Vector3.new(3.20005512, 0.450004339, 5.05007792)) | |
664 | p19 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
665 | mesh("BlockMesh", p19, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.89999795, 3.80000043, 1.05000246)) | |
666 | p20 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
667 | mesh("BlockMesh", p20, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.89999795, 3.80000043, 1.05000246)) | |
668 | p21 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
669 | mesh("BlockMesh", p21, nil, nil, Vector3.new(0, 0, 0), Vector3.new(3.20006013, 1.80002415, 0.900012672)) | |
670 | p22 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
671 | mesh("BlockMesh", p22, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840562, 0.163840637, 1.63840604)) | |
672 | p23 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
673 | mesh("BlockMesh", p23, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840666, 0.983043671)) | |
674 | p24 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
675 | mesh("BlockMesh", p24, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607)) | |
676 | p25 = newPart(weapon, BrickColor.new("Lily white"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
677 | mesh("BlockMesh", p25, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607)) | |
678 | p26 = newPart(weapon, BrickColor.new("Sea green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
679 | mesh("BlockMesh", p26, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607)) | |
680 | p27 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
681 | mesh("BlockMesh", p27, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.491522163, 0.163841024, 0.163840607)) | |
682 | p28 = newPart(weapon, BrickColor.new("Dark green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
683 | mesh("BlockMesh", p28, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607)) | |
684 | p29 = newPart(weapon, BrickColor.new("Sea green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
685 | mesh("BlockMesh", p29, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607)) | |
686 | p30 = newPart(weapon, BrickColor.new("Dark green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
687 | mesh("BlockMesh", p30, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607)) | |
688 | p31 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
689 | mesh("BlockMesh", p31, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840756, 0.163840875, 0.163840637)) | |
690 | p32 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
691 | mesh("BlockMesh", p32, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.491521955, 0.163840458, 0.163840607)) | |
692 | p33 = newPart(weapon, BrickColor.new("Dark green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
693 | mesh("BlockMesh", p33, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607)) | |
694 | p34 = newPart(weapon, BrickColor.new("Dark green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
695 | mesh("BlockMesh", p34, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607)) | |
696 | p35 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
697 | mesh("BlockMesh", p35, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840756, 0.163840875, 0.163840637)) | |
698 | p36 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
699 | mesh("BlockMesh", p36, nil, nil, Vector3.new(0, 0, 0), Vector3.new(3.20003057, 1.00000703, 5.10003614)) | |
700 | p37 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
701 | mesh("BlockMesh", p37, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840652, 0.655362427)) | |
702 | p38 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
703 | mesh("BlockMesh", p38, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607)) | |
704 | p39 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
705 | mesh("BlockMesh", p39, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840652, 0.655362427)) | |
706 | p40 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
707 | mesh("BlockMesh", p40, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840741, 0.16384086, 0.655362427)) | |
708 | p41 = newPart(weapon, BrickColor.new("Dark green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
709 | mesh("BlockMesh", p41, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607)) | |
710 | p42 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
711 | mesh("BlockMesh", p42, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.327681214, 0.163840562, 0.163840592)) | |
712 | p43 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
713 | mesh("BlockMesh", p43, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840562, 0.163840637, 1.63840604)) | |
714 | p44 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
715 | mesh("BlockMesh", p44, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840652, 0.491521835)) | |
716 | p45 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
717 | mesh("BlockMesh", p45, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840562, 0.163840652, 0.819203019)) | |
718 | p46 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
719 | mesh("BlockMesh", p46, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840652, 1.47456539)) | |
720 | p47 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
721 | mesh("BlockMesh", p47, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840652, 0.327681214)) | |
722 | p48 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
723 | mesh("BlockMesh", p48, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840592, 0.163840652, 1.1468842)) | |
724 | p49 = newPart(weapon, BrickColor.new("Lily white"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
725 | mesh("BlockMesh", p49, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840652, 0.327681214)) | |
726 | p50 = newPart(weapon, BrickColor.new("Dark green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
727 | mesh("BlockMesh", p50, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607)) | |
728 | p51 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
729 | mesh("BlockMesh", p51, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.327681214, 0.163840562, 0.163840592)) | |
730 | p52 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
731 | mesh("BlockMesh", p52, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607)) | |
732 | p53 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
733 | mesh("BlockMesh", p53, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840666, 0.983043671)) | |
734 | p54 = newPart(weapon, BrickColor.new("Sea green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
735 | mesh("BlockMesh", p54, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607)) | |
736 | p55 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
737 | mesh("BlockMesh", p55, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607)) | |
738 | p56 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
739 | mesh("BlockMesh", p56, nil, nil, Vector3.new(0, 0, 0), Vector3.new(5.10004807, 0.950006843, 5.10003614)) | |
740 | p57 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
741 | mesh("BlockMesh", p57, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607)) | |
742 | p58 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
743 | mesh("BlockMesh", p58, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.327681452, 0.16384095, 0.163840637)) | |
744 | p59 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
745 | mesh("BlockMesh", p59, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840756, 0.163840875, 0.163840637)) | |
746 | p60 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
747 | mesh("BlockMesh", p60, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.450001657, 5.05002356, 5.05001783)) | |
748 | p61 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
749 | mesh("BlockMesh", p61, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840756, 0.163840875, 0.163840637)) | |
750 | p62 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
751 | mesh("BlockMesh", p62, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840756, 0.163840875, 0.163840637)) | |
752 | p63 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
753 | mesh("BlockMesh", p63, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.899998009, 3.80000043, 1.05000365)) | |
754 | p64 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
755 | mesh("BlockMesh", p64, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.899998188, 3.80000138, 1.05000353)) | |
756 | p65 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
757 | mesh("BlockMesh", p65, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840756, 0.163840875, 0.163840637)) | |
758 | p66 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
759 | mesh("BlockMesh", p66, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.750013411, 1.90002728, 5.10007906)) | |
760 | p67 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
761 | mesh("BlockMesh", p67, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.750007153, 1.9000138, 5.10003614)) | |
762 | p68 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
763 | mesh("BlockMesh", p68, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.750013411, 1.90002728, 5.10007906)) | |
764 | p69 = newPart(weapon, BrickColor.new("Sea green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
765 | mesh("BlockMesh", p69, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607)) | |
766 | p70 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
767 | mesh("BlockMesh", p70, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607)) | |
768 | p71 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
769 | mesh("BlockMesh", p71, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840756, 0.163840875, 0.163840637)) | |
770 | p72 = newPart(weapon, BrickColor.new("Dark green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
771 | mesh("BlockMesh", p72, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607)) | |
772 | p73 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
773 | mesh("BlockMesh", p73, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840756, 0.163840875, 0.163840637)) | |
774 | p74 = newPart(weapon, BrickColor.new("Sea green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
775 | mesh("BlockMesh", p74, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607)) | |
776 | p75 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
777 | mesh("BlockMesh", p75, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.750007153, 1.9000138, 5.10003614)) | |
778 | p76 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
779 | mesh("BlockMesh", p76, nil, nil, Vector3.new(0, 0, 0), Vector3.new(1.05001843, 0.450005502, 5.05007219)) | |
780 | p77 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
781 | mesh("BlockMesh", p77, nil, nil, Vector3.new(0, 0, 0), Vector3.new(5.15004969, 0.450003207, 5.25003862)) | |
782 | p78 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
783 | mesh("BlockMesh", p78, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607)) | |
784 | p79 = newPart(weapon, BrickColor.new("Sea green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
785 | mesh("BlockMesh", p79, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840652, 0.327681214)) | |
786 | p80 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
787 | mesh("BlockMesh", p80, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840652, 0.327681214)) | |
788 | weld(p0, p0, p1, CFrame.new(-34.8929596, 46.8359871, -51.4903145, 0.573577166, 0.81915158, -4.22433777E-6, -0.819151521, 0.573577166, -3.25307155E-6, -2.41770834E-7, 5.32626336E-6, 1), CFrame.new(56.9289551, -10.7811947, 51.7623138, -0.98480773, 0.173648551, -1.14725754E-6, 0.173648566, 0.98480767, -5.29968747E-6, 2.09544311E-7, -5.41839245E-6, -1)) | |
789 | weld(p1, p1, p2, CFrame.new(56.9289551, -10.7811947, 51.7623138, -0.98480773, 0.173648551, -1.14725754E-6, 0.173648566, 0.98480767, -5.29968747E-6, 2.09544311E-7, -5.41839245E-6, -1), CFrame.new(57.71521, -1.5217396, 51.3559685, -1, 7.44991894E-7, -2.08611141E-7, 7.44993997E-7, 1, -1.00079205E-5, 2.0860368E-7, -1.00079224E-5, -1)) | |
790 | weld(p2, p2, p3, CFrame.new(57.71521, -1.5217396, 51.3559685, -1, 7.44991894E-7, -2.08611141E-7, 7.44993997E-7, 1, -1.00079205E-5, 2.0860368E-7, -1.00079224E-5, -1), CFrame.new(-34.9906693, 46.8343735, -51.5214729, 0.573577166, 0.819151521, -7.97981556E-6, -0.819151521, 0.573577166, -5.88234025E-6, -2.41489374E-7, 9.91064826E-6, 1)) | |
791 | weld(p3, p3, p4, CFrame.new(-34.9906693, 46.8343735, -51.5214729, 0.573577166, 0.819151521, -7.97981556E-6, -0.819151521, 0.573577166, -5.88234025E-6, -2.41489374E-7, 9.91064826E-6, 1), CFrame.new(-35.1545486, -46.8343735, 51.4722977, 0.573577225, 0.819151461, -7.9798192E-6, 0.819151521, -0.573577166, 5.97174585E-6, 3.14723195E-7, -9.96192921E-6, -1)) | |
792 | weld(p4, p4, p5, CFrame.new(-35.1545486, -46.8343735, 51.4722977, 0.573577225, 0.819151461, -7.9798192E-6, 0.819151521, -0.573577166, 5.97174585E-6, 3.14723195E-7, -9.96192921E-6, -1), CFrame.new(-35.121769, 46.834362, -51.5542412, 0.573577225, 0.819151521, -7.97981556E-6, -0.81915158, 0.573577166, -5.88234388E-6, -2.41488323E-7, 9.91065099E-6, 1)) | |
793 | weld(p5, p5, p6, CFrame.new(-35.121769, 46.834362, -51.5542412, 0.573577225, 0.819151521, -7.97981556E-6, -0.81915158, 0.573577166, -5.88234388E-6, -2.41488323E-7, 9.91065099E-6, 1), CFrame.new(40.0208054, -41.600235, 51.3555832, -0.707106888, 0.707106709, -7.22768891E-6, 0.70710665, 0.707106888, -6.99301245E-6, 1.6594521E-7, -1.0055559E-5, -1)) | |
794 | weld(p6, p6, p7, CFrame.new(40.0208054, -41.600235, 51.3555832, -0.707106888, 0.707106709, -7.22768891E-6, 0.70710665, 0.707106888, -6.99301245E-6, 1.6594521E-7, -1.0055559E-5, -1), CFrame.new(56.9263344, -10.8266582, 51.509819, -0.984807849, 0.173647925, -1.14724833E-6, 0.17364794, 0.984807789, -5.29968702E-6, 2.09539024E-7, -5.41839336E-6, -1)) | |
795 | weld(p7, p7, p8, CFrame.new(56.9263344, -10.8266582, 51.509819, -0.984807849, 0.173647925, -1.14724833E-6, 0.17364794, 0.984807789, -5.29968702E-6, 2.09539024E-7, -5.41839336E-6, -1), CFrame.new(57.7127228, -1.52259934, 51.35355, -1, 1.09075323E-7, -2.08602401E-7, 1.09077433E-7, 1, -1.00079251E-5, 2.08601307E-7, -1.00079233E-5, -1)) | |
796 | weld(p8, p8, p9, CFrame.new(57.7127228, -1.52259934, 51.35355, -1, 1.09075323E-7, -2.08602401E-7, 1.09077433E-7, 1, -1.00079251E-5, 2.08601307E-7, -1.00079233E-5, -1), CFrame.new(-1.04154944, -57.713623, 51.3535652, -1.1425293E-6, 1, -1.00079287E-5, 1, 1.14253146E-6, 2.14758657E-7, 2.14770097E-7, -1.00079269E-5, -1)) | |
797 | weld(p9, p9, p10, CFrame.new(-1.04154944, -57.713623, 51.3535652, -1.1425293E-6, 1, -1.00079287E-5, 1, 1.14253146E-6, 2.14758657E-7, 2.14770097E-7, -1.00079269E-5, -1), CFrame.new(57.7127228, -0.942502797, 51.353569, -1, 1.09075323E-7, -2.08602401E-7, 1.09077433E-7, 1, -1.00079251E-5, 2.08601307E-7, -1.00079233E-5, -1)) | |
798 | weld(p10, p10, p11, CFrame.new(57.7127228, -0.942502797, 51.353569, -1, 1.09075323E-7, -2.08602401E-7, 1.09077433E-7, 1, -1.00079251E-5, 2.08601307E-7, -1.00079233E-5, -1), CFrame.new(65.7853012, -40.0527496, -11.308403, -0.556670249, 0.499994814, -0.663417995, 0.321394086, 0.866028428, 0.383015215, 0.766044438, -5.46281763E-6, -0.642787635)) | |
799 | weld(p11, p11, p12, CFrame.new(65.7853012, -40.0527496, -11.308403, -0.556670249, 0.499994814, -0.663417995, 0.321394086, 0.866028428, 0.383015215, 0.766044438, -5.46281763E-6, -0.642787635), CFrame.new(40.0912704, -41.8819809, 51.3531532, -0.707107306, 0.707106233, -7.24516212E-6, 0.707106233, 0.707107306, -6.9305629E-6, 2.2246374E-7, -1.00237467E-5, -1)) | |
800 | weld(p12, p12, p13, CFrame.new(40.0912704, -41.8819809, 51.3531532, -0.707107306, 0.707106233, -7.24516212E-6, 0.707106233, 0.707107306, -6.9305629E-6, 2.2246374E-7, -1.00237467E-5, -1), CFrame.new(56.9237175, -10.8171215, 51.0073051, -0.984807849, 0.173647359, -1.19737865E-6, 0.173647344, 0.984807909, -5.25854421E-6, 2.66054826E-7, -5.38658242E-6, -1)) | |
801 | weld(p13, p13, p14, CFrame.new(56.9237175, -10.8171215, 51.0073051, -0.984807849, 0.173647359, -1.19737865E-6, 0.173647344, 0.984807909, -5.25854421E-6, 2.66054826E-7, -5.38658242E-6, -1), CFrame.new(-35.0875168, 46.8292542, -51.2380447, 0.573576152, 0.819152236, -7.92134415E-6, -0.819152236, 0.573576152, -5.91037951E-6, -2.98007222E-7, 9.87883777E-6, 1)) | |
802 | weld(p14, p14, p15, CFrame.new(-35.0875168, 46.8292542, -51.2380447, 0.573576152, 0.819152236, -7.92134415E-6, -0.819152236, 0.573576152, -5.91037951E-6, -2.98007222E-7, 9.87883777E-6, 1), CFrame.new(-35.1202812, 46.8292618, -51.467453, 0.573576152, 0.819152236, -7.92134597E-6, -0.819152236, 0.573576152, -5.91038133E-6, -2.98006171E-7, 9.87883959E-6, 1)) | |
803 | weld(p15, p15, p16, CFrame.new(-35.1202812, 46.8292618, -51.467453, 0.573576152, 0.819152236, -7.92134597E-6, -0.819152236, 0.573576152, -5.91038133E-6, -2.98006171E-7, 9.87883959E-6, 1), CFrame.new(74.484024, -2.87864113, -20.5802441, -0.556671262, -0.115556493, -0.822656631, 0.321393609, 0.883207738, -0.341541022, 0.766043901, -0.45452261, -0.454517275)) | |
804 | weld(p16, p16, p17, CFrame.new(74.484024, -2.87864113, -20.5802441, -0.556671262, -0.115556493, -0.822656631, 0.321393609, 0.883207738, -0.341541022, 0.766043901, -0.45452261, -0.454517275), CFrame.new(-37.02882, 35.2369232, 57.7102203, -4.13530415E-7, 0.707112014, 0.707101524, -2.71884204E-7, 0.707101583, -0.707111955, -1, -4.8466211E-7, -1.00155397E-7)) | |
805 | weld(p17, p17, p18, CFrame.new(-37.02882, 35.2369232, 57.7102203, -4.13530415E-7, 0.707112014, 0.707101524, -2.71884204E-7, 0.707101583, -0.707111955, -1, -4.8466211E-7, -1.00155397E-7), CFrame.new(-37.2966995, 35.5198212, 57.7102203, -4.13530415E-7, 0.707111955, 0.707101583, -2.71884232E-7, 0.707101583, -0.707111955, -1, -4.84662053E-7, -1.00155425E-7)) | |
806 | weld(p18, p18, p19, CFrame.new(-37.2966995, 35.5198212, 57.7102203, -4.13530415E-7, 0.707111955, 0.707101583, -2.71884232E-7, 0.707101583, -0.707111955, -1, -4.84662053E-7, -1.00155425E-7), CFrame.new(49.5948677, -30.7265778, 51.3476143, -0.866026223, 0.499998629, -4.55292593E-6, 0.499998629, 0.866026223, -7.55917517E-6, 1.63375645E-7, -8.8229026E-6, -1)) | |
807 | weld(p19, p19, p20, CFrame.new(49.5948677, -30.7265778, 51.3476143, -0.866026223, 0.499998629, -4.55292593E-6, 0.499998629, 0.866026223, -7.55917517E-6, 1.63375645E-7, -8.8229026E-6, -1), CFrame.new(49.4573441, -30.9647713, 51.3476028, -0.866026223, 0.499998629, -4.55292593E-6, 0.499998629, 0.866026223, -7.55917517E-6, 1.63374736E-7, -8.82290442E-6, -1)) | |
808 | weld(p20, p20, p21, CFrame.new(49.4573441, -30.9647713, 51.3476028, -0.866026223, 0.499998629, -4.55292593E-6, 0.499998629, 0.866026223, -7.55917517E-6, 1.63374736E-7, -8.82290442E-6, -1), CFrame.new(56.9219971, -10.8622675, 51.2557526, -0.984807909, 0.173647463, -1.83975055E-6, 0.173647463, 0.984807909, -9.66639254E-6, 1.33256293E-7, -9.83901373E-6, -1)) | |
809 | weld(p21, p21, p22, CFrame.new(56.9219971, -10.8622675, 51.2557526, -0.984807909, 0.173647463, -1.83975055E-6, 0.173647463, 0.984807909, -9.66639254E-6, 1.33256293E-7, -9.83901373E-6, -1), CFrame.new(-35.0213432, 46.827652, -51.3675499, 0.573576272, 0.819152176, -1.16447281E-5, -0.819152176, 0.573576331, -8.35540231E-6, -1.65208107E-7, 1.43312682E-5, 1)) | |
810 | weld(p22, p22, p23, CFrame.new(-35.0213432, 46.827652, -51.3675499, 0.573576272, 0.819152176, -1.16447281E-5, -0.819152176, 0.573576331, -8.35540231E-6, -1.65208107E-7, 1.43312682E-5, 1), CFrame.new(-35.0868912, 46.827652, -51.4658737, 0.573576272, 0.819152176, -1.164473E-5, -0.819152176, 0.573576331, -8.35540231E-6, -1.65207069E-7, 1.433127E-5, 1)) | |
811 | weld(p23, p23, p24, CFrame.new(-35.0868912, 46.827652, -51.4658737, 0.573576272, 0.819152176, -1.164473E-5, -0.819152176, 0.573576331, -8.35540231E-6, -1.65207069E-7, 1.433127E-5, 1), CFrame.new(-34.9230194, 46.8276558, -51.5150337, 0.573576272, 0.819152176, -1.16447354E-5, -0.819152176, 0.573576331, -8.35540413E-6, -1.65206032E-7, 1.43312718E-5, 1)) | |
812 | weld(p24, p24, p25, CFrame.new(-34.9230194, 46.8276558, -51.5150337, 0.573576272, 0.819152176, -1.16447354E-5, -0.819152176, 0.573576331, -8.35540413E-6, -1.65206032E-7, 1.43312718E-5, 1), CFrame.new(-35.021347, 46.8276558, -51.1873093, 0.573576272, 0.819152176, -1.16447336E-5, -0.819152176, 0.573576331, -8.35540413E-6, -1.65204995E-7, 1.43312736E-5, 1)) | |
813 | weld(p25, p25, p26, CFrame.new(-35.021347, 46.8276558, -51.1873093, 0.573576272, 0.819152176, -1.16447336E-5, -0.819152176, 0.573576331, -8.35540413E-6, -1.65204995E-7, 1.43312736E-5, 1), CFrame.new(-34.9557915, 46.8276596, -51.4822655, 0.573576272, 0.819152176, -1.16447354E-5, -0.819152176, 0.573576331, -8.3554005E-6, -1.65203957E-7, 1.43312755E-5, 1)) | |
814 | weld(p26, p26, p27, CFrame.new(-34.9557915, 46.8276596, -51.4822655, 0.573576272, 0.819152176, -1.16447354E-5, -0.819152176, 0.573576331, -8.3554005E-6, -1.65203957E-7, 1.43312755E-5, 1), CFrame.new(-35.0541267, -46.8276482, 51.1217651, 0.573576331, 0.819152117, -1.16447391E-5, 0.819152176, -0.573576331, 8.44480928E-6, 2.38437849E-7, -1.43825564E-5, -1)) | |
815 | weld(p27, p27, p28, CFrame.new(-35.0541267, -46.8276482, 51.1217651, 0.573576331, 0.819152117, -1.16447391E-5, 0.819152176, -0.573576331, 8.44480928E-6, 2.38437849E-7, -1.43825564E-5, -1), CFrame.new(-34.9230156, 46.8276558, -51.4822617, 0.573576272, 0.819152236, -1.16447391E-5, -0.819152176, 0.573576331, -8.35540413E-6, -1.65202877E-7, 1.43312791E-5, 1)) | |
816 | weld(p28, p28, p29, CFrame.new(-34.9230156, 46.8276558, -51.4822617, 0.573576272, 0.819152236, -1.16447391E-5, -0.819152176, 0.573576331, -8.35540413E-6, -1.65202877E-7, 1.43312791E-5, 1), CFrame.new(-34.923027, 46.827652, -51.4494934, 0.573576272, 0.819152236, -1.16447372E-5, -0.819152176, 0.573576331, -8.35540231E-6, -1.6520184E-7, 1.43312809E-5, 1)) | |
817 | weld(p29, p29, p30, CFrame.new(-34.923027, 46.827652, -51.4494934, 0.573576272, 0.819152236, -1.16447372E-5, -0.819152176, 0.573576331, -8.35540231E-6, -1.6520184E-7, 1.43312809E-5, 1), CFrame.new(-34.7919388, 46.827652, -51.351181, 0.573576272, 0.819152236, -1.16447409E-5, -0.819152176, 0.573576331, -8.35540413E-6, -1.65200802E-7, 1.43312827E-5, 1)) | |
818 | weld(p30, p30, p31, CFrame.new(-34.7919388, 46.827652, -51.351181, 0.573576272, 0.819152236, -1.16447409E-5, -0.819152176, 0.573576331, -8.35540413E-6, -1.65200802E-7, 1.43312827E-5, 1), CFrame.new(-35.1196632, -46.8276596, 51.1545448, 0.573576331, 0.819152176, -1.16447463E-5, 0.819152176, -0.573576331, 8.4448111E-6, 2.38434694E-7, -1.43825637E-5, -1)) | |
819 | weld(p31, p31, p32, CFrame.new(-35.1196632, -46.8276596, 51.1545448, 0.573576331, 0.819152176, -1.16447463E-5, 0.819152176, -0.573576331, 8.4448111E-6, 2.38434694E-7, -1.43825637E-5, -1), CFrame.new(-35.0541153, 46.8276596, -51.580574, 0.573576272, 0.819152176, -1.16447482E-5, -0.819152117, 0.573576272, -8.35541141E-6, -1.65199751E-7, 1.43312845E-5, 1)) | |
820 | weld(p32, p32, p33, CFrame.new(-35.0541153, 46.8276596, -51.580574, 0.573576272, 0.819152176, -1.16447482E-5, -0.819152117, 0.573576272, -8.35541141E-6, -1.65199751E-7, 1.43312845E-5, 1), CFrame.new(-34.8574829, 46.8276634, -51.4167175, 0.573576272, 0.819152176, -1.16447482E-5, -0.819152117, 0.573576272, -8.35540959E-6, -1.65198713E-7, 1.43312864E-5, 1)) | |
821 | weld(p33, p33, p34, CFrame.new(-34.8574829, 46.8276634, -51.4167175, 0.573576272, 0.819152176, -1.16447482E-5, -0.819152117, 0.573576272, -8.35540959E-6, -1.65198713E-7, 1.43312864E-5, 1), CFrame.new(-34.824707, 46.8276558, -51.3839607, 0.573576272, 0.819152176, -1.16447518E-5, -0.819152117, 0.573576272, -8.35541141E-6, -1.65197676E-7, 1.43312882E-5, 1)) | |
822 | weld(p34, p34, p35, CFrame.new(-34.824707, 46.8276558, -51.3839607, 0.573576272, 0.819152176, -1.16447518E-5, -0.819152117, 0.573576272, -8.35541141E-6, -1.65197676E-7, 1.43312882E-5, 1), CFrame.new(-35.1196594, -46.8276596, 51.3184013, 0.573576331, 0.819152117, -1.16447518E-5, 0.819152117, -0.573576331, 8.4448111E-6, 2.38431568E-7, -1.43825691E-5, -1)) | |
823 | weld(p35, p35, p36, CFrame.new(-35.1196594, -46.8276596, 51.3184013, 0.573576331, 0.819152117, -1.16447518E-5, 0.819152117, -0.573576331, 8.4448111E-6, 2.38431568E-7, -1.43825691E-5, -1), CFrame.new(57.8985786, -0.753798485, 51.3495522, -1, -3.57614454E-7, -1.32303498E-7, -3.57612493E-7, 1, -1.44285686E-5, 1.32308656E-7, -1.44285677E-5, -1)) | |
824 | weld(p36, p36, p37, CFrame.new(57.8985786, -0.753798485, 51.3495522, -1, -3.57614454E-7, -1.32303498E-7, -3.57612493E-7, 1, -1.44285686E-5, 1.32308656E-7, -1.44285677E-5, -1), CFrame.new(-35.1196594, 46.8276482, -51.2364769, 0.573576272, 0.819152176, -1.16447536E-5, -0.819152117, 0.573576331, -8.35540595E-6, -1.65194237E-7, 1.43312927E-5, 1)) | |
825 | weld(p37, p37, p38, CFrame.new(-35.1196594, 46.8276482, -51.2364769, 0.573576272, 0.819152176, -1.16447536E-5, -0.819152117, 0.573576331, -8.35540595E-6, -1.65194237E-7, 1.43312927E-5, 1), CFrame.new(-34.7919273, 46.8276482, -51.3839607, 0.573576272, 0.819152176, -1.16447573E-5, -0.819152117, 0.573576331, -8.35540595E-6, -1.651932E-7, 1.43312946E-5, 1)) | |
826 | weld(p38, p38, p39, CFrame.new(-34.7919273, 46.8276482, -51.3839607, 0.573576272, 0.819152176, -1.16447573E-5, -0.819152117, 0.573576331, -8.35540595E-6, -1.651932E-7, 1.43312946E-5, 1), CFrame.new(-35.0541077, 46.8276558, -51.4658775, 0.573576272, 0.819152176, -1.16447609E-5, -0.819152117, 0.573576331, -8.35540777E-6, -1.65192162E-7, 1.43312964E-5, 1)) | |
827 | weld(p39, p39, p40, CFrame.new(-35.0541077, 46.8276558, -51.4658775, 0.573576272, 0.819152176, -1.16447609E-5, -0.819152117, 0.573576331, -8.35540777E-6, -1.65192162E-7, 1.43312964E-5, 1), CFrame.new(-35.1524239, -46.8276596, 51.2364731, 0.573576331, 0.819152117, -1.16447663E-5, 0.819152117, -0.573576331, 8.44481474E-6, 2.38426054E-7, -1.43825773E-5, -1)) | |
828 | weld(p40, p40, p41, CFrame.new(-35.1524239, -46.8276596, 51.2364731, 0.573576331, 0.819152117, -1.16447663E-5, 0.819152117, -0.573576331, 8.44481474E-6, 2.38426054E-7, -1.43825773E-5, -1), CFrame.new(-34.9557838, 46.8276558, -51.5150452, 0.573576331, 0.819152117, -1.16447645E-5, -0.819152176, 0.573576331, -8.35540777E-6, -1.65191111E-7, 1.43312982E-5, 1)) | |
829 | weld(p41, p41, p42, CFrame.new(-34.9557838, 46.8276558, -51.5150452, 0.573576331, 0.819152117, -1.16447645E-5, -0.819152176, 0.573576331, -8.35540777E-6, -1.65191111E-7, 1.43312982E-5, 1), CFrame.new(-35.0377235, 46.8276405, -51.1545486, 0.573576331, 0.819152117, -1.164477E-5, -0.819152176, 0.573576331, -8.35541141E-6, -1.65190073E-7, 1.43313E-5, 1)) | |
830 | weld(p42, p42, p43, CFrame.new(-35.0377235, 46.8276405, -51.1545486, 0.573576331, 0.819152117, -1.164477E-5, -0.819152176, 0.573576331, -8.35541141E-6, -1.65190073E-7, 1.43313E-5, 1), CFrame.new(-34.9885483, 46.8276558, -51.3347931, 0.573576331, 0.819152117, -1.16447682E-5, -0.819152176, 0.573576331, -8.35540959E-6, -1.65189036E-7, 1.43313018E-5, 1)) | |
831 | weld(p43, p43, p44, CFrame.new(-34.9885483, 46.8276558, -51.3347931, 0.573576331, 0.819152117, -1.16447682E-5, -0.819152176, 0.573576331, -8.35540959E-6, -1.65189036E-7, 1.43313018E-5, 1), CFrame.new(-34.8574677, 46.8276558, -51.3184128, 0.573576331, 0.819152117, -1.16447718E-5, -0.819152176, 0.573576331, -8.35540777E-6, -1.65187998E-7, 1.43313036E-5, 1)) | |
832 | weld(p44, p44, p45, CFrame.new(-34.8574677, 46.8276558, -51.3184128, 0.573576331, 0.819152117, -1.16447718E-5, -0.819152176, 0.573576331, -8.35540777E-6, -1.65187998E-7, 1.43313036E-5, 1), CFrame.new(-34.8902397, 46.8276558, -51.3184166, 0.573576331, 0.819152117, -1.16447718E-5, -0.819152176, 0.573576331, -8.35540777E-6, -1.65186961E-7, 1.43313055E-5, 1)) | |
833 | weld(p45, p45, p46, CFrame.new(-34.8902397, 46.8276558, -51.3184166, 0.573576331, 0.819152117, -1.16447718E-5, -0.819152176, 0.573576331, -8.35540777E-6, -1.65186961E-7, 1.43313055E-5, 1), CFrame.new(-34.9557877, 46.8276596, -51.3184128, 0.573576331, 0.819152117, -1.16447791E-5, -0.819152176, 0.573576331, -8.35540959E-6, -1.65185924E-7, 1.43313073E-5, 1)) | |
834 | weld(p46, p46, p47, CFrame.new(-34.9557877, 46.8276596, -51.3184128, 0.573576331, 0.819152117, -1.16447791E-5, -0.819152176, 0.573576331, -8.35540959E-6, -1.65185924E-7, 1.43313073E-5, 1), CFrame.new(-35.0868721, 46.8276558, -51.3020248, 0.573576331, 0.819152117, -1.16447773E-5, -0.819152176, 0.573576331, -8.35540777E-6, -1.65184886E-7, 1.43313091E-5, 1)) | |
835 | weld(p47, p47, p48, CFrame.new(-35.0868721, 46.8276558, -51.3020248, 0.573576331, 0.819152117, -1.16447773E-5, -0.819152176, 0.573576331, -8.35540777E-6, -1.65184886E-7, 1.43313091E-5, 1), CFrame.new(-34.923008, 46.8276558, -51.3184166, 0.573576331, 0.819152117, -1.16447827E-5, -0.819152176, 0.573576331, -8.35541141E-6, -1.65183849E-7, 1.43313109E-5, 1)) | |
836 | weld(p48, p48, p49, CFrame.new(-34.923008, 46.8276558, -51.3184166, 0.573576331, 0.819152117, -1.16447827E-5, -0.819152176, 0.573576331, -8.35541141E-6, -1.65183849E-7, 1.43313109E-5, 1), CFrame.new(-35.0541077, 46.8276672, -51.2037086, 0.573576331, 0.819152117, -1.16447791E-5, -0.819152176, 0.573576331, -8.35541141E-6, -1.65182811E-7, 1.43313127E-5, 1)) | |
837 | weld(p49, p49, p50, CFrame.new(-35.0541077, 46.8276672, -51.2037086, 0.573576331, 0.819152117, -1.16447791E-5, -0.819152176, 0.573576331, -8.35541141E-6, -1.65182811E-7, 1.43313127E-5, 1), CFrame.new(-35.0213242, 46.8276749, -51.5478134, 0.573576331, 0.819152117, -1.16447845E-5, -0.819152176, 0.573576331, -8.35541323E-6, -1.65181774E-7, 1.43313146E-5, 1)) | |
838 | weld(p50, p50, p51, CFrame.new(-35.0213242, 46.8276749, -51.5478134, 0.573576331, 0.819152117, -1.16447845E-5, -0.819152176, 0.573576331, -8.35541323E-6, -1.65181774E-7, 1.43313146E-5, 1), CFrame.new(-34.9721642, 46.8276711, -51.547821, 0.573576331, 0.819152117, -1.16447845E-5, -0.819152176, 0.573576331, -8.35540959E-6, -1.65180737E-7, 1.43313164E-5, 1)) | |
839 | weld(p51, p51, p52, CFrame.new(-34.9721642, 46.8276711, -51.547821, 0.573576331, 0.819152117, -1.16447845E-5, -0.819152176, 0.573576331, -8.35540959E-6, -1.65180737E-7, 1.43313164E-5, 1), CFrame.new(-34.8246841, 46.8276749, -51.4167328, 0.573576331, 0.819152117, -1.16447882E-5, -0.819152176, 0.573576331, -8.35541141E-6, -1.65179699E-7, 1.43313182E-5, 1)) | |
840 | weld(p52, p52, p53, CFrame.new(-34.8246841, 46.8276749, -51.4167328, 0.573576331, 0.819152117, -1.16447882E-5, -0.819152176, 0.573576331, -8.35541141E-6, -1.65179699E-7, 1.43313182E-5, 1), CFrame.new(-35.0540848, 46.8276672, -51.3347931, 0.573576331, 0.819152117, -1.16447882E-5, -0.819152176, 0.573576331, -8.35540777E-6, -1.65178662E-7, 1.433132E-5, 1)) | |
841 | weld(p53, p53, p54, CFrame.new(-35.0540848, 46.8276672, -51.3347931, 0.573576331, 0.819152117, -1.16447882E-5, -0.819152176, 0.573576331, -8.35540777E-6, -1.65178662E-7, 1.433132E-5, 1), CFrame.new(-34.8902206, 46.8276749, -51.416729, 0.573576331, 0.819152117, -1.16447936E-5, -0.819152176, 0.573576331, -8.35541323E-6, -1.65177624E-7, 1.43313218E-5, 1)) | |
842 | weld(p54, p54, p55, CFrame.new(-34.8902206, 46.8276749, -51.416729, 0.573576331, 0.819152117, -1.16447936E-5, -0.819152176, 0.573576331, -8.35541323E-6, -1.65177624E-7, 1.43313218E-5, 1), CFrame.new(-35.0868568, 46.8276787, -51.351181, 0.573576331, 0.819152117, -1.16447918E-5, -0.819152176, 0.573576331, -8.35541141E-6, -1.65176587E-7, 1.43313237E-5, 1)) | |
843 | weld(p55, p55, p56, CFrame.new(-35.0868568, 46.8276787, -51.351181, 0.573576331, 0.819152117, -1.16447918E-5, -0.819152176, 0.573576331, -8.35541141E-6, -1.65176587E-7, 1.43313237E-5, 1), CFrame.new(57.7085648, -1.22881532, 51.3495522, -1, -3.87415469E-7, -1.32283986E-7, -3.87413536E-7, 1, -1.44286014E-5, 1.32289586E-7, -1.44286014E-5, -1)) | |
844 | weld(p56, p56, p57, CFrame.new(57.7085648, -1.22881532, 51.3495522, -1, -3.87415469E-7, -1.32283986E-7, -3.87413536E-7, 1, -1.44286014E-5, 1.32289586E-7, -1.44286014E-5, -1), CFrame.new(-34.7591324, 46.8276787, -51.3511848, 0.573576272, 0.819152117, -1.16448009E-5, -0.819152176, 0.573576272, -8.35541141E-6, -1.65175166E-7, 1.43313264E-5, 1)) | |
845 | weld(p57, p57, p58, CFrame.new(-34.7591324, 46.8276787, -51.3511848, 0.573576272, 0.819152117, -1.16448009E-5, -0.819152176, 0.573576272, -8.35541141E-6, -1.65175166E-7, 1.43313264E-5, 1), CFrame.new(-34.9721527, -46.8276825, 51.1545563, 0.573576331, 0.819152176, -1.16447936E-5, 0.819152176, -0.573576331, 8.44481474E-6, 2.38409058E-7, -1.43826092E-5, -1)) | |
846 | weld(p58, p58, p59, CFrame.new(-34.9721527, -46.8276825, 51.1545563, 0.573576331, 0.819152176, -1.16447936E-5, 0.819152176, -0.573576331, 8.44481474E-6, 2.38409058E-7, -1.43826092E-5, -1), CFrame.new(-34.8574524, -46.8276749, 51.2528648, 0.573576391, 0.819152117, -1.16448009E-5, 0.819152117, -0.573576391, 8.44481838E-6, 2.38409058E-7, -1.4382611E-5, -1)) | |
847 | weld(p59, p59, p60, CFrame.new(-34.8574524, -46.8276749, 51.2528648, 0.573576391, 0.819152117, -1.16448009E-5, 0.819152117, -0.573576391, 8.44481838E-6, 2.38409058E-7, -1.4382611E-5, -1), CFrame.new(-1.42286384, -57.7094574, 51.3495445, -1.51985319E-6, 1, -1.44286123E-5, 1, 1.519855E-6, 1.38433876E-7, 1.38455803E-7, -1.44286114E-5, -1)) | |
848 | weld(p60, p60, p61, CFrame.new(-1.42286384, -57.7094574, 51.3495445, -1.51985319E-6, 1, -1.44286123E-5, 1, 1.519855E-6, 1.38433876E-7, 1.38455803E-7, -1.44286114E-5, -1), CFrame.new(-34.8902245, -46.8276711, 51.2200966, 0.57357645, 0.819152057, -1.16448009E-5, 0.819152057, -0.57357645, 8.44482202E-6, 2.38408347E-7, -1.43826119E-5, -1)) | |
849 | weld(p61, p61, p62, CFrame.new(-34.8902245, -46.8276711, 51.2200966, 0.57357645, 0.819152057, -1.16448009E-5, 0.819152057, -0.57357645, 8.44482202E-6, 2.38408347E-7, -1.43826119E-5, -1), CFrame.new(-34.9557762, -46.8276558, 51.1545563, 0.57357651, 0.819151998, -1.16448045E-5, 0.819151998, -0.57357651, 8.44482202E-6, 2.38408347E-7, -1.43826137E-5, -1)) | |
850 | weld(p62, p62, p63, CFrame.new(-34.9557762, -46.8276558, 51.1545563, 0.57357651, 0.819151998, -1.16448045E-5, 0.819151998, -0.57357651, 8.44482202E-6, 2.38408347E-7, -1.43826137E-5, -1), CFrame.new(65.9171982, -39.8127747, -11.3077583, -0.556670368, 0.499991715, -0.66342026, 0.321393877, 0.866030276, 0.383011311, 0.766044378, -8.13986662E-6, -0.642787695)) | |
851 | weld(p63, p63, p64, CFrame.new(65.9171982, -39.8127747, -11.3077583, -0.556670368, 0.499991715, -0.66342026, 0.321393877, 0.866030276, 0.383011311, 0.766044378, -8.13986662E-6, -0.642787695), CFrame.new(74.4830017, -2.62239647, -20.6862984, -0.556671381, -0.11555995, -0.822656035, 0.321393967, 0.883206069, -0.341545016, 0.766043723, -0.454524964, -0.454515278)) | |
852 | weld(p64, p64, p65, CFrame.new(74.4830017, -2.62239647, -20.6862984, -0.556671381, -0.11555995, -0.822656035, 0.321393967, 0.883206069, -0.341545016, 0.766043723, -0.454524964, -0.454515278), CFrame.new(-34.7919197, -46.8276405, 51.3184242, 0.573576629, 0.819151878, -1.16510155E-5, 0.819151938, -0.57357657, 8.34518414E-6, 1.53222771E-7, -1.43305479E-5, -1)) | |
853 | weld(p65, p65, p66, CFrame.new(-34.7919197, -46.8276405, 51.3184242, 0.573576629, 0.819151878, -1.16510155E-5, 0.819151938, -0.57357657, 8.34518414E-6, 1.53222771E-7, -1.43305479E-5, -1), CFrame.new(-51.0491333, -1.2340765, 57.7081261, -3.24850347E-9, 1.44361602E-5, 1, -2.38876668E-10, 1, -1.44361602E-5, -1, -2.38922993E-10, -3.24850191E-9)) | |
854 | weld(p66, p66, p67, CFrame.new(-51.0491333, -1.2340765, 57.7081261, -3.24850347E-9, 1.44361602E-5, 1, -2.38876668E-10, 1, -1.44361602E-5, -1, -2.38922993E-10, -3.24850191E-9), CFrame.new(57.406868, -1.23429096, 51.3479652, -1, 8.42189252E-9, -4.75233897E-8, 8.42279668E-9, 1, -1.90256924E-5, 4.75232262E-8, -1.90256924E-5, -1)) | |
855 | weld(p67, p67, p68, CFrame.new(57.406868, -1.23429096, 51.3479652, -1, 8.42189252E-9, -4.75233897E-8, 8.42279668E-9, 1, -1.90256924E-5, 4.75232262E-8, -1.90256924E-5, -1), CFrame.new(-51.647583, -1.2345053, 57.7064781, -3.67101172E-9, 1.90853043E-5, 1, 1.26818281E-14, 1, -1.90853043E-5, -1, -5.68420704E-14, -3.67101061E-9)) | |
856 | weld(p68, p68, p69, CFrame.new(-51.647583, -1.2345053, 57.7064781, -3.67101172E-9, 1.90853043E-5, 1, 1.26818281E-14, 1, -1.90853043E-5, -1, -5.68420704E-14, -3.67101061E-9), CFrame.new(-34.8562546, 46.8244133, -51.3807602, 0.57357657, 0.819151938, -1.92672396E-5, -0.819151938, 0.57357657, -1.35897508E-5, -8.08324288E-8, 2.35775587E-5, 1)) | |
857 | weld(p69, p69, p70, CFrame.new(-34.8562546, 46.8244133, -51.3807602, 0.57357657, 0.819151938, -1.92672396E-5, -0.819151938, 0.57357657, -1.35897508E-5, -8.08324288E-8, 2.35775587E-5, 1), CFrame.new(-34.8562546, 46.8244209, -51.4463005, 0.57357657, 0.819151938, -1.92672396E-5, -0.819151938, 0.57357657, -1.3589749E-5, -8.08313843E-8, 2.35775606E-5, 1)) | |
858 | weld(p70, p70, p71, CFrame.new(-34.8562546, 46.8244209, -51.4463005, 0.57357657, 0.819151938, -1.92672396E-5, -0.819151938, 0.57357657, -1.3589749E-5, -8.08313843E-8, 2.35775606E-5, 1), CFrame.new(-34.9218063, -46.8244286, 51.1841431, 0.573576629, 0.819151878, -1.92672469E-5, 0.819151938, -0.57357657, 1.36791577E-5, 1.54065248E-7, -2.36288433E-5, -1)) | |
859 | weld(p71, p71, p72, CFrame.new(-34.9218063, -46.8244286, 51.1841431, 0.573576629, 0.819151878, -1.92672469E-5, 0.819151938, -0.57357657, 1.36791577E-5, 1.54065248E-7, -2.36288433E-5, -1), CFrame.new(-34.8890305, 46.8244209, -51.4463005, 0.57357657, 0.819151998, -1.92672433E-5, -0.819151878, 0.573576629, -1.35897508E-5, -8.08303184E-8, 2.3577566E-5, 1)) | |
860 | weld(p72, p72, p73, CFrame.new(-34.8890305, 46.8244209, -51.4463005, 0.57357657, 0.819151998, -1.92672433E-5, -0.819151878, 0.573576629, -1.35897508E-5, -8.08303184E-8, 2.3577566E-5, 1), CFrame.new(-34.8234863, -46.8244171, 51.2824516, 0.573576629, 0.819151938, -1.92672469E-5, 0.819151878, -0.573576629, 1.36791577E-5, 1.54064182E-7, -2.36288488E-5, -1)) | |
861 | weld(p73, p73, p74, CFrame.new(-34.8234863, -46.8244171, 51.2824516, 0.573576629, 0.819151938, -1.92672469E-5, 0.819151878, -0.573576629, 1.36791577E-5, 1.54064182E-7, -2.36288488E-5, -1), CFrame.new(-35.0528679, 46.8244171, -51.5446129, 0.573576629, 0.819151938, -1.92672487E-5, -0.819151938, 0.573576689, -1.35897526E-5, -8.08292668E-8, 2.35775715E-5, 1)) | |
862 | weld(p74, p74, p75, CFrame.new(-35.0528679, 46.8244171, -51.5446129, 0.573576629, 0.819151938, -1.92672487E-5, -0.819151938, 0.573576689, -1.35897526E-5, -8.08292668E-8, 2.35775715E-5, 1), CFrame.new(58.0052528, -1.23473012, 51.3463631, -1, -1.11077467E-12, -4.79422297E-8, 2.42501907E-14, 1, -2.36748456E-5, 4.79422262E-8, -2.36748456E-5, -1)) | |
863 | weld(p75, p75, p76, CFrame.new(58.0052528, -1.23473012, 51.3463631, -1, -1.11077467E-12, -4.79422297E-8, 2.42501907E-14, 1, -2.36748456E-5, 4.79422262E-8, -2.36748456E-5, -1), CFrame.new(39.7328758, -41.3266525, 51.3459587, -0.707112491, 0.707111716, -2.00263585E-5, 0.707111239, 0.707112968, -2.00805534E-5, 5.28384048E-9, -2.37226632E-5, -1.00000787)) | |
864 | weld(p76, p76, p77, CFrame.new(39.7328758, -41.3266525, 51.3459587, -0.707112491, 0.707111716, -2.00263585E-5, 0.707111239, 0.707112968, -2.00805534E-5, 5.28384048E-9, -2.37226632E-5, -1.00000787), CFrame.new(57.7035866, -1.23018336, 51.3447456, -1, -2.98013951E-8, -4.3631303E-9, 2.98023259E-8, 1, -2.83120153E-5, 4.37036718E-9, -2.8312008E-5, -1)) | |
865 | weld(p77, p77, p78, CFrame.new(57.7035866, -1.23018336, 51.3447456, -1, -2.98013951E-8, -4.3631303E-9, 2.98023259E-8, 1, -2.83120153E-5, 4.37036718E-9, -2.8312008E-5, -1), CFrame.new(-35.1177979, 46.8227997, -51.3791656, 0.573576629, 0.819151938, -2.30907917E-5, -0.819151938, 0.57357657, -1.62138276E-5, -3.72559903E-8, 2.82147321E-5, 1)) | |
866 | weld(p78, p78, p79, CFrame.new(-35.1177979, 46.8227997, -51.3791656, 0.573576629, 0.819151938, -2.30907917E-5, -0.819151938, 0.57357657, -1.62138276E-5, -3.72559903E-8, 2.82147321E-5, 1), CFrame.new(-34.8228722, 46.8228035, -51.3300095, 0.573576629, 0.819151938, -2.30907899E-5, -0.819151938, 0.57357657, -1.62138276E-5, -3.72549458E-8, 2.82147339E-5, 1)) | |
867 | weld(p79, p79, p80, CFrame.new(-34.8228722, 46.8228035, -51.3300095, 0.573576629, 0.819151938, -2.30907899E-5, -0.819151938, 0.57357657, -1.62138276E-5, -3.72549458E-8, 2.82147339E-5, 1), CFrame.new(-35.085022, 46.8228073, -51.1661606, 0.573576629, 0.819151938, -2.30907881E-5, -0.819151938, 0.57357657, -1.62138276E-5, -3.72539013E-8, 2.82147357E-5, 1)) | |
868 | local handleweld = weld(RightArm, p2, RightArm, CFrame.new(0, 0.2, 0), CFrame.Angles(0, -math.rad(180), 0)) | |
869 | local currshoulder = Instance.new("Model", Character) | |
870 | currshoulder.Name = "Collar thing" | |
871 | for i = 1, 2 do | |
872 | p0 = newPart(currshoulder, BrickColor.new("Black"), 1, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Handle") | |
873 | mesh("BlockMesh", p0, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.850000024, 0.74999994, 1.04999971)) | |
874 | p1 = newPart(currshoulder, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
875 | mesh("BlockMesh", p1, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.900000036, 5.35000038, 1.05000019)) | |
876 | p2 = newPart(currshoulder, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
877 | mesh("BlockMesh", p2, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.900000036, 5.35000038, 1.05000019)) | |
878 | p3 = newPart(currshoulder, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
879 | mesh("BlockMesh", p3, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.900000036, 5.34999943, 1.04999948)) | |
880 | p4 = newPart(currshoulder, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
881 | mesh("BlockMesh", p4, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.900000036, 5.34999943, 1.04999948)) | |
882 | p5 = newPart(currshoulder, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
883 | mesh("BlockMesh", p5, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.900000095, 5.35000086, 1.05000007)) | |
884 | p6 = newPart(currshoulder, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block") | |
885 | mesh("BlockMesh", p6, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.799999654, 5.35000038, 1.04999971)) | |
886 | weld(p0, p0, p1, CFrame.new(-49.0397263, -2.17804551, -51.5914459, 1.00000787, -8.46385956E-6, -2.5421381E-5, 2.08616257E-7, 1.00000834, 7.42077827E-6, 1.67191029E-5, -1.3500452E-5, 1.00000072), CFrame.new(-69.8546829, -3.31385326, 14.5175304, 0.556688249, -0.115561396, 0.822644413, -0.321383774, 0.883207321, 0.341551274, -0.766035736, -0.454522192, 0.454531521)) | |
887 | weld(p1, p1, p2, CFrame.new(-69.8546829, -3.31385326, 14.5175304, 0.556688249, -0.115561396, 0.822644413, -0.321383774, 0.883207321, 0.341551274, -0.766035736, -0.454522192, 0.454531521), CFrame.new(-69.8558655, -3.57044601, 14.6242161, 0.556687057, -0.115555644, 0.822646022, -0.321385562, 0.88320893, 0.341545403, -0.766035855, -0.454520524, 0.454533011)) | |
888 | weld(p2, p2, p3, CFrame.new(-69.8558655, -3.57044601, 14.6242161, 0.556687057, -0.115555644, 0.822646022, -0.321385562, 0.88320893, 0.341545403, -0.766035855, -0.454520524, 0.454533011), CFrame.new(-43.2317505, 22.6288986, -51.592041, 0.866026163, 0.499998719, -1.6144073E-5, -0.499998719, 0.866026163, 7.51034349E-6, 1.78531373E-5, 1.59358888E-6, 1)) | |
889 | weld(p3, p3, p4, CFrame.new(-43.2317505, 22.6288986, -51.592041, 0.866026163, 0.499998719, -1.6144073E-5, -0.499998719, 0.866026163, 7.51034349E-6, 1.78531373E-5, 1.59358888E-6, 1), CFrame.new(-43.0945091, 22.8667393, -51.5920067, 0.866025209, 0.500000358, -1.09374523E-5, -0.500000358, 0.866025209, 7.94231892E-6, 1.35600567E-5, -1.38379119E-6, 1)) | |
890 | weld(p4, p4, p5, CFrame.new(-43.0945091, 22.8667393, -51.5920067, 0.866025209, 0.500000358, -1.09374523E-5, -0.500000358, 0.866025209, 7.94231892E-6, 1.35600567E-5, -1.38379119E-6, 1), CFrame.new(-61.9058037, 34.0650177, 4.61152267, 0.556675553, 0.499998033, 0.6634112, -0.321399391, 0.866026521, -0.383015007, -0.766038358, -4.88830756E-6, 0.642794788)) | |
891 | weld(p5, p5, p6, CFrame.new(-61.9058037, 34.0650177, 4.61152267, 0.556675553, 0.499998033, 0.6634112, -0.321399391, 0.866026521, -0.383015007, -0.766038358, -4.88830756E-6, 0.642794788), CFrame.new(-62.0535126, 33.8264618, 4.61145782, 0.5566746, 0.49999693, 0.663412809, -0.321396798, 0.866027176, -0.383015722, -0.766040146, -3.65110623E-6, 0.642792702)) | |
892 | if i == 1 then | |
893 | local weld1 = weld(Torso, p0, Torso, CFrame.new(0.95, -1.5, 0)) | |
894 | elseif i == 2 then | |
895 | local weld2 = weld(Torso, p0, Torso, CFrame.new(0.95, -1.5, 0) * CFrame.Angles(0, math.rad(180), 0)) | |
896 | end | |
897 | end | |
898 | function mouse1d() | |
899 | if tool.Active == false then | |
900 | return | |
901 | end | |
902 | if attacking == false and attackcounter == 1 then | |
903 | attackcounter = 2 | |
904 | attacking = true | |
905 | for i = 0, 1, 0.1 do | |
906 | swait() | |
907 | Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(15), 0, math.rad(75)), 0.3) | |
908 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, math.rad(-75)), 0.3) | |
909 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.35, 0) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(90)) * CFrame.Angles(math.rad(90), math.rad(180), 0), 0.3) | |
910 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.35, -0.5) * CFrame.Angles(math.rad(90), math.rad(90), -math.rad(0)) * CFrame.Angles(math.rad(75), 0, 0), 0.3) | |
911 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(105), 0), 0.3) | |
912 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(0), -math.rad(75), 0), 0.3) | |
913 | end | |
914 | for i = 0, 1, 0.1 do | |
915 | swait() | |
916 | Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(15), 0, math.rad(-80)), 0.3) | |
917 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(10), 0, math.rad(80)), 0.3) | |
918 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.35, -0.5) * CFrame.Angles(math.rad(0), math.rad(-45), math.rad(90)) * CFrame.Angles(math.rad(90), math.rad(180), 0), 0.3) | |
919 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.35, -0.5) * CFrame.Angles(math.rad(90), math.rad(90), -math.rad(0)) * CFrame.Angles(math.rad(-50), 0, 0), 0.3) | |
920 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(75), 0), 0.3) | |
921 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(0), -math.rad(105), 0), 0.3) | |
922 | end | |
923 | attacking = false | |
924 | elseif attacking == false and attackcounter == 2 then | |
925 | attackcounter = 3 | |
926 | elseif attacking == false and attackcounter == 3 then | |
927 | attackcounter = 1 | |
928 | attacking = true | |
929 | for i = 0, 1, 0.1 do | |
930 | swait() | |
931 | Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(-23), 0, 0), 0.3) | |
932 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(-25), 0, 0), 0.3) | |
933 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -0.4) * CFrame.Angles(math.rad(80), math.rad(90), math.rad(12)) * CFrame.Angles(math.rad(10), 0, 0), 0.3) | |
934 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -0.4) * CFrame.Angles(math.rad(80), math.rad(-90), -math.rad(12)) * CFrame.Angles(math.rad(10), 0, 0), 0.3) | |
935 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-15), math.rad(90), 0), 0.3) | |
936 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(-10), -math.rad(90), 0), 0.3) | |
937 | end | |
938 | for i = 0, 1, 0.1 do | |
939 | swait() | |
940 | Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(30), 0, 0), 0.3) | |
941 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(45), 0, 0), 0.3) | |
942 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(-math.rad(30), 0, math.rad(12)), 0.3) | |
943 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-math.rad(30), 0, -math.rad(12)), 0.3) | |
944 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(30), math.rad(90), 0), 0.3) | |
945 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(45), -math.rad(90), 0), 0.3) | |
946 | end | |
947 | attacking = false | |
948 | end | |
949 | end | |
950 | backwards = false | |
951 | side = false | |
952 | forwards = false | |
953 | RainbowColors = { | |
954 | BrickColor.new("Bright red"), | |
955 | BrickColor.new("Bright orange"), | |
956 | BrickColor.new("Bright yellow"), | |
957 | BrickColor.new("Bright green"), | |
958 | BrickColor.new("Bright blue"), | |
959 | BrickColor.new("Lilac"), | |
960 | BrickColor.new("Bright violet") | |
961 | } | |
962 | function astralblast() | |
963 | if Goodbye == false then | |
964 | attacking = true | |
965 | local origincf = RootPart.CFrame * CFrame.new(0, 0, -35) | |
966 | local nncount = 0 | |
967 | for i = 0, 2, 0.05 do | |
968 | swait() | |
969 | nncount = nncount + 1 | |
970 | if nncount % 2 == 0 then | |
971 | if nncount % 6 == 0 then | |
972 | local soundref = newPart(Effects, BrickColor.White(), 1, true, false, Vector3.new(), "sound") | |
973 | soundref.CFrame = origincf | |
974 | sound(sounds[3][1], soundref, 1, 3, 1) | |
975 | game.Debris:AddItem(soundref, 3) | |
976 | end | |
977 | for i = 1, 7 do | |
978 | local blast = newPart(Effects, RainbowColors[i], 0.2, true, false, Vector3.new(), "Neon") | |
979 | blast.CFrame = origincf * randomangles() | |
980 | mesh("BlockMesh", blast, nil, nil, Vector3.new(), Vector3.new(6 * i, 6 * i, 6 * i)).Name = "Mesh" | |
981 | if i < 4 then | |
982 | blast.Mesh.Scale = Vector3.new(10, 10, 10) | |
983 | end | |
984 | table.insert(partEffects, { | |
985 | blast, | |
986 | "Block1", | |
987 | 0.05, | |
988 | i > 1 and i * 2 or 0, | |
989 | i > 1 and i * 2 or 0, | |
990 | i > 1 and i * 2 or 0 | |
991 | }) | |
992 | end | |
993 | if nncount % 8 == 0 then | |
994 | local hums = findCloseHumanoid(origincf.p, 40) | |
995 | for u = 1, #hums do | |
996 | basicDamage(hums[u], 5, RainbowColors[math.random(5, 7)].Color) | |
997 | local bv = Instance.new("BodyVelocity", hums[u].Parent.Torso) | |
998 | bv.Velocity = origincf.p - hums[u].Parent.Torso.Position.unit * -20 + Vector3.new(0, 4, 0) | |
999 | bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
1000 | game.Debris:AddItem(bv, 0.3) | |
1001 | end | |
1002 | end | |
1003 | end | |
1004 | for i = 1, 3 do | |
1005 | local mb = newPart(Effects, RainbowColors[math.random(1, #RainbowColors)], 0, true, false, Vector3.new(), "Part") | |
1006 | mb.CFrame = origincf * CFrame.new(math.random(-(i > 1 and 15 * i or 5), i > 1 and 15 * i or 5), math.random(-(i > 1 and 15 * i or 5), i > 1 and 15 * i or 5), math.random(-(i > 1 and 15 * i or 5), i > 1 and 15 * i or 5)) | |
1007 | local mbmesh = mesh("BlockMesh", mb, nil, nil, Vector3.new(), Vector3.new(5, 5, 5)) | |
1008 | table.insert(partEffects, { | |
1009 | mb, | |
1010 | "Block1", | |
1011 | 0.05, | |
1012 | -0.2, | |
1013 | -0.2, | |
1014 | -0.2, | |
1015 | mb.Mesh | |
1016 | }) | |
1017 | local mb = newPart(Effects, RainbowColors[math.random(1, #RainbowColors)], 0, true, false, Vector3.new(), "Part") | |
1018 | mb.CFrame = origincf * CFrame.new(math.random(-(i > 1 and 15 * i or 5), i > 1 and 15 * i or 5), math.random(-(i > 1 and 15 * i or 5), i > 1 and 15 * i or 5), math.random(-(i > 1 and 15 * i or 5), i > 1 and 15 * i or 5)) | |
1019 | local mbmesh = mesh("BlockMesh", mb, nil, nil, Vector3.new(), Vector3.new(5, 5, 5)) | |
1020 | table.insert(partEffects, { | |
1021 | mb, | |
1022 | "Block1", | |
1023 | 0.05, | |
1024 | -0.2, | |
1025 | -0.2, | |
1026 | -0.2, | |
1027 | mb.Mesh | |
1028 | }) | |
1029 | end | |
1030 | Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(20), 0, math.rad(0)), 0.2) | |
1031 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, math.rad(0)), 0.2) | |
1032 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.3, -0.8) * CFrame.Angles(math.rad(75), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(15), 0, 0), 0.2) | |
1033 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, -0.8) * CFrame.Angles(math.rad(75), math.rad(-90), math.rad(0)) * CFrame.Angles(math.rad(15), 0, 0), 0.2) | |
1034 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(10), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(-10), 0, 0), 0.2) | |
1035 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(10), -math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(-10), 0, 0), 0.2) | |
1036 | end | |
1037 | attacking = false | |
1038 | elseif Goodbye == true then | |
1039 | attacking = true | |
1040 | for i = 0, 1, 0.05 do | |
1041 | swait() | |
1042 | Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(25), math.rad(0), math.rad(0)), 0.2) | |
1043 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -1.5) * CFrame.Angles(math.rad(35), 0, math.rad(0)), 0.2) | |
1044 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0, -0.4) * CFrame.Angles(math.rad(45), math.rad(75), math.rad(0)) * CFrame.Angles(math.rad(-15), 0, 0), 0.2) | |
1045 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0, -0.4) * CFrame.Angles(math.rad(45), math.rad(75), math.rad(0)) * CFrame.Angles(math.rad(15), 0, 0), 0.2) | |
1046 | RH.C0 = clerp(RH.C0, CFrame.new(1, 0, -1) * CFrame.Angles(math.rad(-15), math.rad(90), 0), 0.2) | |
1047 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, -0.5) * CFrame.Angles(math.rad(-50), -math.rad(90), 0), 0.2) | |
1048 | end | |
1049 | do | |
1050 | local sugars = {} | |
1051 | thread(function() | |
1052 | for i = 1, 15 do | |
1053 | for i = 1, 2 do | |
1054 | local sugarpart = newPart(Effects, math.random() > 0.5 and BrickColor.new("Carnation pink") or BrickColor.White(), 0, false, true, Vector3.new(5, 5, 5), "Part") | |
1055 | sugarpart.CFrame = RootPart.CFrame * CFrame.new(0, 0, -10) | |
1056 | sugarpart.Velocity = RootPart.CFrame.lookVector * 75 + Vector3.new(math.random(-25, 25), math.random(25, 125), math.random(-25, 25)) | |
1057 | mesh("BlockMesh", sugarpart, nil, nil, Vector3.new(), Vector3.new(1, 1, 1)) | |
1058 | table.insert(sugars, sugarpart) | |
1059 | end | |
1060 | swait() | |
1061 | end | |
1062 | wait(2) | |
1063 | for i, v in pairs(sugars) do | |
1064 | delay(math.random() * 2, function() | |
1065 | local soundref = newPart(Effects, BrickColor.White(), 1, true, false, Vector3.new(), "sound") | |
1066 | soundref.CFrame = RootPart.CFrame | |
1067 | sound(sounds[3][3], soundref, 0.2, 3, 2) | |
1068 | game.Debris:AddItem(soundref, 3.1) | |
1069 | local hums = findCloseHumanoid(v.Position, 15) | |
1070 | for u = 1, #hums do | |
1071 | basicDamage(hums[u], 5, BrickColor.new("White").Color) | |
1072 | local bv = Instance.new("BodyVelocity", hums[u].Parent.Torso) | |
1073 | bv.Velocity = v.Position - hums[u].Parent.Torso.Position.unit * -30 + Vector3.new(0, 5, 0) | |
1074 | bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
1075 | game.Debris:AddItem(bv, 0.2) | |
1076 | end | |
1077 | table.insert(partEffects, { | |
1078 | v, | |
1079 | "Block1", | |
1080 | 0.05, | |
1081 | 0.1, | |
1082 | 0.1, | |
1083 | 0.1, | |
1084 | v.Mesh | |
1085 | }) | |
1086 | end) | |
1087 | end | |
1088 | end) | |
1089 | for i = 0, 1, 0.05 do | |
1090 | swait() | |
1091 | Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(15), 0, 0), 0.2) | |
1092 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(-10), 0, 0), 0.2) | |
1093 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.8, 0.2) * CFrame.Angles(-math.rad(160), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(-25), 0, 0), 0.2) | |
1094 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.8, 0.2) * CFrame.Angles(-math.rad(160), math.rad(90), -math.rad(0)) * CFrame.Angles(math.rad(25), 0, 0), 0.2) | |
1095 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-15), math.rad(90), 0), 0.2) | |
1096 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(-10), -math.rad(90), 0), 0.2) | |
1097 | end | |
1098 | attacking = false | |
1099 | end | |
1100 | end | |
1101 | end | |
1102 | zdown = false | |
1103 | function hello() | |
1104 | if Goodbye == false then | |
1105 | attacking = true | |
1106 | Humanoid.WalkSpeed = 0.01 | |
1107 | local stars = {} | |
1108 | local mousehitp = mouse.Hit.p | |
1109 | local mousehit = mouse.Hit | |
1110 | local sounda = sound(sounds[2][7], Character.Head, 1, 4, 2) | |
1111 | game.Debris:AddItem(sounda, 5) | |
1112 | for i = 0, 1, 0.075 do | |
1113 | swait() | |
1114 | Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(20), 0, math.rad(-15)), 0.2) | |
1115 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, math.rad(15)), 0.2) | |
1116 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.4, -0.8) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(-15), 0, 0), 0.2) | |
1117 | LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.5, -0.4) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(80)), 0.2) | |
1118 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(75), 0), 0.2) | |
1119 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(0), -math.rad(105), 0), 0.2) | |
1120 | end | |
1121 | local ncount = -1 | |
1122 | local stoppos, stophum | |
1123 | local ceilicount = 0 | |
1124 | if zdown == true then | |
1125 | repeat | |
1126 | swait() | |
1127 | ncount = ncount + 1 | |
1128 | local originpos = RightArm.Position + Vector3.new(0, 3, 0) | |
1129 | ceilicount = ceilicount + 1 | |
1130 | if ceilicount > #RainbowColors then | |
1131 | ceilicount = 1 | |
1132 | end | |
1133 | local currcolor = RainbowColors[ceilicount] | |
1134 | if ncount % 5 == 0 then | |
1135 | local blast = newPart(Effects, currcolor, 0.2, true, false, Vector3.new(), "Neon") | |
1136 | blast.CFrame = CFrame.new(originpos) * randomangles() | |
1137 | mesh("BlockMesh", blast, nil, nil, Vector3.new(), Vector3.new(8, 8, 8)).Name = "Mesh" | |
1138 | table.insert(partEffects, { | |
1139 | blast, | |
1140 | "Block1", | |
1141 | 0.05, | |
1142 | 0.1, | |
1143 | 0.1, | |
1144 | 0.1 | |
1145 | }) | |
1146 | local blast = newPart(Effects, BrickColor.new("Sea green"), 0, true, false, Vector3.new(), "Neon") | |
1147 | blast.CFrame = CFrame.new(originpos) * randomangles() | |
1148 | mesh("BlockMesh", blast, nil, nil, Vector3.new(), Vector3.new(4, 4, 4)).Name = "Mesh" | |
1149 | table.insert(partEffects, { | |
1150 | blast, | |
1151 | "Block1", | |
1152 | 0.05, | |
1153 | 0.1, | |
1154 | 0.1, | |
1155 | 0.1 | |
1156 | }) | |
1157 | end | |
1158 | if ncount % 15 == 0 then | |
1159 | mousehitp = mouse.Hit.p | |
1160 | local unit = originpos - mousehitp.unit | |
1161 | local mid = (originpos + mousehitp) / 2 | |
1162 | local mag = originpos - mousehitp.magnitude | |
1163 | local hit, pos = rayCast(originpos, -unit, 99999, Character) | |
1164 | local hithum | |
1165 | if hit then | |
1166 | hithum = hit.Parent:findFirstChildOfClass("Humanoid") | |
1167 | else | |
1168 | hithum = nil | |
1169 | end | |
1170 | local rayref = newPart(Effects, BrickColor.new("Sea green"), 0, true, false, Vector3.new(), "ref") | |
1171 | if hithum then | |
1172 | rayref.Material = "Neon" | |
1173 | end | |
1174 | rayref.CFrame = CFrame.new(mid, mid - unit) | |
1175 | local raymesh = mesh("BlockMesh", rayref, nil, nil, Vector3.new(0, 0, 0), Vector3.new(1, 1, mag * 5)) | |
1176 | table.insert(partEffects, { | |
1177 | rayref, | |
1178 | "Block2", | |
1179 | 0.05, | |
1180 | 0, | |
1181 | 0, | |
1182 | 0, | |
1183 | rayref.Mesh | |
1184 | }) | |
1185 | stoppos = mousehitp | |
1186 | stophum = hithum | |
1187 | local sounda = sound(sounds[4][2], Character.Head, 0.5, 4, not stophum and 8 or 10) | |
1188 | game.Debris:AddItem(sounda, 5) | |
1189 | end | |
1190 | until zdown == false | |
1191 | end | |
1192 | if stophum then | |
1193 | AttackHas[1] = 0 | |
1194 | local hittorso = stophum.Parent:findFirstChild("Torso") | |
1195 | if hittorso then | |
1196 | local bp = Instance.new("BodyPosition", hittorso) | |
1197 | bp.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
1198 | bp.Position = RootPart.CFrame * CFrame.new(0, 0, 5).p | |
1199 | game.Debris:AddItem(bp, 0.8) | |
1200 | local sounda = sound(sounds[2][6], Character.Head, 1, 4, 1) | |
1201 | game.Debris:AddItem(sounda, 5) | |
1202 | end | |
1203 | elseif stophum == nil then | |
1204 | AttackHas[1] = AttackHas[1] - 0.5 | |
1205 | local sounda = sound(sounds[1][8], Character.Head, 1, 4, 1) | |
1206 | game.Debris:AddItem(sounda, 5) | |
1207 | end | |
1208 | local lcount = 0 | |
1209 | stars = stophum and 0.05 or 0.1 | |
1210 | for i = 0, 1.5, 0.1 do | |
1211 | lcount = lcount + 1 | |
1212 | if stophum and stophum.Parent:findFirstChild("Torso") then | |
1213 | if lcount > 3 then | |
1214 | if lcount % 6 == 0 then | |
1215 | basicDamage(stophum, 4, stophum.Parent.Torso.BrickColor.Color) | |
1216 | end | |
1217 | elseif i == 0.1 then | |
1218 | basicDamage(stophum, 5, BrickColor.new("Sea green").Color) | |
1219 | end | |
1220 | for i = 1, 2 do | |
1221 | local mb = newPart(Effects, RainbowColors[math.random(1, #RainbowColors)], 0, true, false, Vector3.new(), "Part") | |
1222 | mb.CFrame = stophum.Parent.Torso.CFrame * CFrame.new(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) | |
1223 | local mbmesh = mesh("BlockMesh", mb, nil, nil, Vector3.new(), Vector3.new(5, 5, 5)) | |
1224 | table.insert(partEffects, { | |
1225 | mb, | |
1226 | "Block1", | |
1227 | 0.05, | |
1228 | -0.2, | |
1229 | -0.2, | |
1230 | -0.2, | |
1231 | mb.Mesh | |
1232 | }) | |
1233 | end | |
1234 | end | |
1235 | swait() | |
1236 | Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(20), 0, math.rad(75)), 0.2) | |
1237 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, math.rad(-75)), 0.2) | |
1238 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.4, -0.8) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(75), 0, 0), 0.2) | |
1239 | LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.5, -0.4) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(80)), 0.2) | |
1240 | RH.C0 = clerp(RH.C0, CFrame.new(0.5, -1, -0.5) * CFrame.Angles(math.rad(0), math.rad(165), math.rad(5)), 0.2) | |
1241 | LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -1, 0.5) * CFrame.Angles(math.rad(0), -math.rad(15), math.rad(-5)), 0.2) | |
1242 | end | |
1243 | Humanoid.WalkSpeed = 16 | |
1244 | attacking = false | |
1245 | elseif Goodbye == true then | |
1246 | attacking = true | |
1247 | attacking = false | |
1248 | end | |
1249 | end | |
1250 | function rainbowroad() | |
1251 | if Goodbye == false then | |
1252 | attacking = true | |
1253 | AttackHas[3] = 0 | |
1254 | Humanoid.WalkSpeed = 0.01 | |
1255 | local currcolor | |
1256 | for i = 0, 1, 0.05 do | |
1257 | swait() | |
1258 | Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(-12), math.rad(-12), math.rad(75)), 0.2) | |
1259 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -1) * CFrame.Angles(math.rad(25), 0, math.rad(-75)), 0.2) | |
1260 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.2, -0.2) * CFrame.Angles(-math.rad(0), math.rad(75), math.rad(0)) * CFrame.Angles(math.rad(25), 0, 0), 0.2) | |
1261 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.4, 0.2) * CFrame.Angles(math.rad(0), math.rad(15), math.rad(75)), 0.2) | |
1262 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(100), 0), 0.2) | |
1263 | LH.C0 = clerp(LH.C0, CFrame.new(-1, 0, 0) * CFrame.Angles(math.rad(0), -math.rad(30), 0), 0.2) | |
1264 | end | |
1265 | local soundref = newPart(Effects, BrickColor.White(), 1, true, false, Vector3.new(), "sound") | |
1266 | soundref.CFrame = RootPart.CFrame | |
1267 | sound(sounds[3][2], soundref, 1, 4, 1) | |
1268 | game.Debris:AddItem(soundref, 6) | |
1269 | for i = 0, 2.4, 0.05 do | |
1270 | swait() | |
1271 | RootPart.Velocity = RootPart.CFrame.lookVector * 60 | |
1272 | Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(-15), 0, math.rad(0)), 0.1) | |
1273 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, math.sin(i * 1) * 1) * CFrame.Angles(math.rad(90), 0, math.rad(150) * i), 0.2) | |
1274 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, math.rad(12)), 0.2) | |
1275 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 1.5, 0) * CFrame.Angles(math.rad(170), 0, -math.rad(12)), 0.2) | |
1276 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.2) | |
1277 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.2) | |
1278 | local ceili = math.ceil(i * 10) + 1 | |
1279 | for i = 1, 5 do | |
1280 | if ceili > #RainbowColors then | |
1281 | ceili = ceili - #RainbowColors | |
1282 | end | |
1283 | end | |
1284 | currcolor = RainbowColors[ceili] | |
1285 | if math.floor(i * 10) % 2 == 0 then | |
1286 | local hums = findCloseHumanoid(Torso.Position, 16) | |
1287 | for u = 1, #hums do | |
1288 | basicDamage(hums[u], 1, currcolor.Color) | |
1289 | end | |
1290 | end | |
1291 | if math.floor(i * 10) % 1 == 0 then | |
1292 | if 3 >= i * 10 then | |
1293 | local blast = newPart(Effects, currcolor, 0.2, true, false, Vector3.new(), "Neon") | |
1294 | blast.CFrame = RootPart.CFrame * CFrame.new(0, 0, 5) * randomangles() | |
1295 | mesh("BlockMesh", blast, nil, nil, Vector3.new(), Vector3.new(40, 40, 40)).Name = "Mesh" | |
1296 | table.insert(partEffects, { | |
1297 | blast, | |
1298 | "Block1", | |
1299 | 0.02, | |
1300 | 3, | |
1301 | 3, | |
1302 | 3, | |
1303 | blast.Mesh | |
1304 | }) | |
1305 | if 0.5 > i * 10 then | |
1306 | local hums = findCloseHumanoid(Torso.Position, 20) | |
1307 | for u = 1, #hums do | |
1308 | basicDamage(hums[u], 5, currcolor.Color) | |
1309 | local bv = Instance.new("BodyVelocity", hums[u].Parent.Torso) | |
1310 | bv.Velocity = RootPart.Position - hums[u].Parent.Torso.Position.unit * -30 + Vector3.new(0, 2, 0) | |
1311 | bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
1312 | game.Debris:AddItem(bv, 0.8) | |
1313 | end | |
1314 | end | |
1315 | else | |
1316 | local blast = newPart(Effects, currcolor, 0, true, false, Vector3.new(), "Neon") | |
1317 | blast.CFrame = RootPart.CFrame * CFrame.new(0, 0, 5) * randomangles() | |
1318 | mesh("BlockMesh", blast, nil, nil, Vector3.new(), Vector3.new(20, 20, 20)) | |
1319 | table.insert(partEffects, { | |
1320 | blast, | |
1321 | "Block2", | |
1322 | 0.02, | |
1323 | 3, | |
1324 | 3, | |
1325 | 3, | |
1326 | blast.Mesh | |
1327 | }) | |
1328 | end | |
1329 | end | |
1330 | end | |
1331 | local stopdir = RootPart.CFrame.lookVector | |
1332 | for i = 0, 2, 0.05 do | |
1333 | swait() | |
1334 | RootPart.Velocity = stopdir * 30 | |
1335 | Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-50)), 0.2) | |
1336 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -1.3) * CFrame.Angles(math.rad(25), 0, math.rad(50)), 0.1) | |
1337 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, -0.2) * CFrame.Angles(-math.rad(0), math.rad(50), math.rad(0)) * CFrame.Angles(math.rad(25), 0, 0), 0.2) | |
1338 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.2, 0.2) * CFrame.Angles(math.rad(0), math.rad(15), math.rad(75)), 0.2) | |
1339 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(90), math.rad(100), 0) * CFrame.Angles(math.rad(-50), 0, 0), 0.2) | |
1340 | LH.C0 = clerp(LH.C0, CFrame.new(-1, 0, 0) * CFrame.Angles(math.rad(0), -math.rad(30), 0), 0.2) | |
1341 | end | |
1342 | Humanoid.WalkSpeed = 16 | |
1343 | attacking = false | |
1344 | elseif Goodbye == true then | |
1345 | attacking = true | |
1346 | Humanoid.WalkSpeed = 0.01 | |
1347 | for i = 0, 1, 0.05 do | |
1348 | swait() | |
1349 | Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(-15), 0, math.rad(10)), 0.2) | |
1350 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -1) * CFrame.Angles(math.rad(25), 0, math.rad(-10)), 0.2) | |
1351 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.4) * CFrame.Angles(-math.rad(45), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(-15), 0, 0), 0.2) | |
1352 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -0.9) * CFrame.Angles(math.rad(25), math.rad(40), math.rad(75)) * CFrame.Angles(0, math.rad(180), 0), 0.2) | |
1353 | RH.C0 = clerp(RH.C0, CFrame.new(1, 0, -0.8) * CFrame.Angles(math.rad(0), math.rad(80), 0), 0.2) | |
1354 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.6, 0) * CFrame.Angles(0, -math.rad(100), math.rad(25)), 0.2) | |
1355 | end | |
1356 | local normcount = 0 | |
1357 | local ceili = 0 | |
1358 | repeat | |
1359 | swait() | |
1360 | RootPart.Velocity = RootPart.CFrame.lookVector * 60 | |
1361 | AttackHas[3] = AttackHas[3] - 0.0075 | |
1362 | if normcount % 40 < 20 then | |
1363 | Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(-15), 0, math.rad(-10)), 0.2) | |
1364 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -0.7) * CFrame.Angles(math.rad(25), 0, math.rad(10)), 0.2) | |
1365 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, -0.9) * CFrame.Angles(math.rad(90), math.rad(100), math.rad(0)) * CFrame.Angles(math.rad(15), 0, 0), 0.2) | |
1366 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0.4) * CFrame.Angles(math.rad(25), math.rad(40), math.rad(-75)) * CFrame.Angles(0, math.rad(180), 0), 0.2) | |
1367 | RH.C0 = clerp(RH.C0, CFrame.new(1, -0.9, 0) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(-25)), 0.2) | |
1368 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.3, -0.8) * CFrame.Angles(0, -math.rad(100), math.rad(0)), 0.2) | |
1369 | else | |
1370 | Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(-15), 0, math.rad(10)), 0.2) | |
1371 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -0.7) * CFrame.Angles(math.rad(25), 0, math.rad(-10)), 0.2) | |
1372 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.4) * CFrame.Angles(-math.rad(45), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(-15), 0, 0), 0.2) | |
1373 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -0.9) * CFrame.Angles(math.rad(25), math.rad(40), math.rad(75)) * CFrame.Angles(0, math.rad(180), 0), 0.2) | |
1374 | RH.C0 = clerp(RH.C0, CFrame.new(1, -0.3, -0.8) * CFrame.Angles(math.rad(0), math.rad(80), 0), 0.2) | |
1375 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.9, 0) * CFrame.Angles(0, -math.rad(100), math.rad(25)), 0.2) | |
1376 | end | |
1377 | normcount = normcount + 1 | |
1378 | until cdown == false or AttackHas[3] <= 0 | |
1379 | Humanoid.WalkSpeed = 16 | |
1380 | attacking = false | |
1381 | end | |
1382 | end | |
1383 | function key(k) | |
1384 | if tool.Active == false then | |
1385 | return | |
1386 | end | |
1387 | k = k:lower() | |
1388 | if attacking == false and k == "z" and AttackHas[1] >= AttackNeeded[1] then | |
1389 | zdown = true | |
1390 | AttackCan[1] = false | |
1391 | hello() | |
1392 | AttackCan[1] = true | |
1393 | elseif attacking == false and k == "x" and AttackHas[2] >= AttackNeeded[2] then | |
1394 | AttackHas[2] = 0 | |
1395 | AttackCan[2] = false | |
1396 | astralblast() | |
1397 | AttackCan[2] = true | |
1398 | elseif attacking == false and k == "c" and AttackHas[3] >= AttackNeeded[3] then | |
1399 | cdown = true | |
1400 | AttackCan[3] = false | |
1401 | rainbowroad() | |
1402 | AttackCan[3] = true | |
1403 | elseif attacking == false and k == "v" and AttackHas[4] >= AttackNeeded[4] then | |
1404 | AttackHas[4] = 0 | |
1405 | if Goodbye == true then | |
1406 | Goodbye = false | |
1407 | f1.Reload.BackgroundColor3 = BrickColor.new("Sea green").Color | |
1408 | f2.Reload.BackgroundColor3 = BrickColor.new("Sea green").Color | |
1409 | f3.Reload.BackgroundColor3 = BrickColor.new("Sea green").Color | |
1410 | f4.Reload.BackgroundColor3 = BrickColor.new("Sea green").Color | |
1411 | f1.Label.Text = "Pixie Dust" | |
1412 | f2.Label.Text = "Astral Blast" | |
1413 | f3.Label.Text = "Rainbow Jet" | |
1414 | f4.Label.Text = "Goodbye" | |
1415 | local weaponparts = weapon:GetChildren() | |
1416 | for i = 1, #weaponparts do | |
1417 | local part = weaponparts[i] | |
1418 | if part:IsA("Part") then | |
1419 | if part.BrickColor == BrickColor.new("Pink") then | |
1420 | part.BrickColor = BrickColor.new("Bright green") | |
1421 | elseif part.BrickColor == BrickColor.new("Hot pink") then | |
1422 | part.BrickColor = BrickColor.new("Dark green") | |
1423 | elseif part.BrickColor == BrickColor.new("Carnation pink") then | |
1424 | part.BrickColor = BrickColor.new("Sea green") | |
1425 | end | |
1426 | end | |
1427 | end | |
1428 | elseif Goodbye == false then | |
1429 | Goodbye = true | |
1430 | f1.Reload.BackgroundColor3 = BrickColor.new("Pink").Color | |
1431 | f2.Reload.BackgroundColor3 = BrickColor.new("Pink").Color | |
1432 | f3.Reload.BackgroundColor3 = BrickColor.new("Pink").Color | |
1433 | f4.Reload.BackgroundColor3 = BrickColor.new("Pink").Color | |
1434 | f1.Label.Text = "Chipland" | |
1435 | f2.Label.Text = "Sugar Rush" | |
1436 | f3.Label.Text = "Rainbow Road" | |
1437 | f4.Label.Text = "Hello" | |
1438 | local weaponparts = weapon:GetChildren() | |
1439 | for i = 1, #weaponparts do | |
1440 | local part = weaponparts[i] | |
1441 | if part:IsA("Part") then | |
1442 | if part.BrickColor == BrickColor.new("Bright green") then | |
1443 | part.BrickColor = BrickColor.new("Pink") | |
1444 | elseif part.BrickColor == BrickColor.new("Dark green") then | |
1445 | part.BrickColor = BrickColor.new("Hot pink") | |
1446 | elseif part.BrickColor == BrickColor.new("Sea green") then | |
1447 | part.BrickColor = BrickColor.new("Carnation pink") | |
1448 | end | |
1449 | end | |
1450 | end | |
1451 | end | |
1452 | end | |
1453 | end | |
1454 | mouse.Button1Down:connect(mouse1d) | |
1455 | mouse.KeyDown:connect(key) | |
1456 | function keyup(key) | |
1457 | if key == "z" and zdown ~= false then | |
1458 | zdown = false | |
1459 | end | |
1460 | if key == "c" and cdown ~= false then | |
1461 | cdown = false | |
1462 | end | |
1463 | end | |
1464 | mouse.KeyUp:connect(keyup) | |
1465 | thread(function() | |
1466 | while true do | |
1467 | swait() | |
1468 | torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
1469 | hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) | |
1470 | sine = sine + 1 | |
1471 | if AttackHas[1] < AttackNeeded[1] and AttackCan[1] == true then | |
1472 | AttackHas[1] = AttackHas[1] + 0.03 | |
1473 | end | |
1474 | if AttackHas[2] < AttackNeeded[2] and AttackCan[2] == true then | |
1475 | AttackHas[2] = AttackHas[2] + 0.03 | |
1476 | end | |
1477 | if AttackHas[3] < AttackNeeded[3] and AttackCan[3] == true then | |
1478 | AttackHas[3] = AttackHas[3] + 0.03 | |
1479 | end | |
1480 | if AttackHas[4] < AttackNeeded[4] and AttackCan[4] == true then | |
1481 | AttackHas[4] = AttackHas[4] + 0.03 | |
1482 | end | |
1483 | normcount = normcount + 1 | |
1484 | local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
1485 | local rotvel = RootPart.RotVelocity.Y | |
1486 | local localkey = function(key) | |
1487 | if key == "w" then | |
1488 | forwards = true | |
1489 | else | |
1490 | if key ~= "a" then | |
1491 | end | |
1492 | side = true | |
1493 | do return end | |
1494 | if key == "s" then | |
1495 | backwards = true | |
1496 | end | |
1497 | end | |
1498 | end | |
1499 | local localkey2 = function(key) | |
1500 | if key == "w" then | |
1501 | forwards = false | |
1502 | else | |
1503 | if key ~= "a" then | |
1504 | end | |
1505 | side = false | |
1506 | do return end | |
1507 | if key == "s" then | |
1508 | backwards = false | |
1509 | end | |
1510 | end | |
1511 | end | |
1512 | mouse.KeyDown:connect(localkey) | |
1513 | mouse.KeyUp:connect(localkey2) | |
1514 | Reload[1]:TweenSize(UDim2.new(AttackHas[1] / AttackNeeded[1], 0, 1, 0), nil, 1, 0.4) | |
1515 | Reload[2]:TweenSize(UDim2.new(AttackHas[2] / AttackNeeded[2], 0, 1, 0), nil, 1, 0.4) | |
1516 | Reload[3]:TweenSize(UDim2.new(AttackHas[3] / AttackNeeded[3], 0, 1, 0), nil, 1, 0.4) | |
1517 | Reload[4]:TweenSize(UDim2.new(AttackHas[4] / AttackNeeded[4], 0, 1, 0), nil, 1, 0.4) | |
1518 | if 1 < RootPart.Velocity.y and hitfloor == nil then | |
1519 | if attacking == false then | |
1520 | Anim = "Jump" | |
1521 | Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(-15), 0, math.rad(0)), 0.1) | |
1522 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, math.rad(12)), 0.2) | |
1523 | LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.2) | |
1524 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, -math.rad(12)), 0.2) | |
1525 | RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.2) | |
1526 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, 0), 0.2) | |
1527 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.2) | |
1528 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.2) | |
1529 | end | |
1530 | elseif RootPart.Velocity.y < -1 and hitfloor == nil then | |
1531 | if attacking == false then | |
1532 | Anim = "Fall" | |
1533 | Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(23), 0, 0), 0.2) | |
1534 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, 0), 0.2) | |
1535 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, math.rad(12)), 0.2) | |
1536 | RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.2) | |
1537 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, -math.rad(12)), 0.2) | |
1538 | LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.2) | |
1539 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(24), math.rad(90), 0), 0.2) | |
1540 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(-12), -math.rad(90), 0), 0.2) | |
1541 | end | |
1542 | elseif torvel < 1 and hitfloor ~= nil then | |
1543 | if attacking == false then | |
1544 | Anim = "Idle" | |
1545 | Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(5), 0, math.rad(15)), 0.1) | |
1546 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0.1 * math.cos(sine / 25)) * CFrame.Angles(math.rad(0), 0, math.rad(-15)), 0.1) | |
1547 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.4 - 0.1 * math.cos(sine / 15), -0.4) * CFrame.Angles(math.rad(-45), math.rad(160), math.rad(130)), 0.2) | |
1548 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.35 - 0.1 * math.cos(sine / 15), 0) * CFrame.Angles(math.rad(25), math.rad(45), math.rad(75)) * CFrame.Angles(0, math.rad(180), 0), 0.2) | |
1549 | RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0), 0.2) | |
1550 | LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0), 0.2) | |
1551 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1 - 0.1 * math.cos(sine / 25), 0) * CFrame.Angles(0, math.rad(90), 0), 0.2) | |
1552 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1 - 0.1 * math.cos(sine / 25), 0) * CFrame.Angles(0, -math.rad(90), 0), 0.2) | |
1553 | end | |
1554 | elseif torvel > 2 and hitfloor ~= nil and attacking == false then | |
1555 | Anim = "Walk" | |
1556 | if forwards then | |
1557 | Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(25) + math.rad(rotvel * 4)), 0.1) | |
1558 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(15), math.rad(rotvel * 1), math.rad(-25)), 0.1) | |
1559 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.4, 0.2) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(60)), 0.2) | |
1560 | RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0), 0.2) | |
1561 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0.1) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(-15)), 0.2) | |
1562 | LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0), 0.2) | |
1563 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.cos(normcount * 1 / 6), math.rad(96.25), 0), 0.2) | |
1564 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(-math.cos(normcount * 1 / 6), -math.rad(77.5), 0), 0.2) | |
1565 | elseif not backwards or not side then | |
1566 | Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5) + math.rad(rotvel * 4)), 0.1) | |
1567 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(5), math.rad(rotvel * 1), math.rad(-5)), 0.1) | |
1568 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.4, 0.2) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(30)), 0.2) | |
1569 | RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0), 0.2) | |
1570 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0.1) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(-10)), 0.2) | |
1571 | LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0), 0.2) | |
1572 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.cos(normcount * 1 / 6), math.rad(92.5), 0), 0.2) | |
1573 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(-math.cos(normcount * 1 / 6), -math.rad(87.5), 0), 0.2) | |
1574 | end | |
1575 | end | |
1576 | if 0 < #partEffects then | |
1577 | for e = 1, #partEffects do | |
1578 | if partEffects[e] ~= nil then | |
1579 | local Thing = partEffects[e] | |
1580 | if Thing ~= nil then | |
1581 | local Part = Thing[1] | |
1582 | local Mode = Thing[2] | |
1583 | local Delay = Thing[3] | |
1584 | local IncX = Thing[4] | |
1585 | local IncY = Thing[5] | |
1586 | local IncZ = Thing[6] | |
1587 | if 1 >= Thing[1].Transparency then | |
1588 | if Thing[2] == "Block1" then | |
1589 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1590 | local Mesh = Thing[1].Mesh | |
1591 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1592 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1593 | elseif Thing[2] == "Block2" then | |
1594 | Thing[1].CFrame = Thing[1].CFrame | |
1595 | local Mesh = Thing[7] | |
1596 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1597 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1598 | elseif Thing[2] == "Cylinder" then | |
1599 | local Mesh = Thing[1].Mesh | |
1600 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1601 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1602 | elseif Thing[2] == "Blood" then | |
1603 | local Mesh = Thing[7] | |
1604 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
1605 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1606 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1607 | elseif Thing[2] == "Elec" then | |
1608 | local Mesh = Thing[1].Mesh | |
1609 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
1610 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1611 | elseif Thing[2] == "Disappear" then | |
1612 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1613 | elseif Thing[2] == "Shatter" then | |
1614 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1615 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
1616 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
1617 | Thing[6] = Thing[6] + Thing[5] | |
1618 | end | |
1619 | else | |
1620 | Part:Destroy() | |
1621 | table.remove(partEffects, e) | |
1622 | end | |
1623 | end | |
1624 | end | |
1625 | end | |
1626 | end | |
1627 | end | |
1628 | end) |