SHOW:
|
|
- or go back to the newest paste.
1 | ----------------------- | |
2 | --[[ Name : WAOV2 ]]-- | |
3 | ------------------------------------------------------- | |
4 | - | --A script By makhail07, 2003boobear and XXUNORIBOASXX. |
4 | + | --this was deleted so take it ;) |
5 | --lol | |
6 | - | --Discord Creterisk#2958 <- makhail07's discord |
6 | + | |
7 | ||
8 | - | --NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION |
8 | + | |
9 | - | --IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT |
9 | + | |
10 | - | --DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT |
10 | + | |
11 | - | --YOU FUCKING SKIDS, |
11 | + | |
12 | - | --For Those who log/decompile this, If you sell or trade this, |
12 | + | |
13 | - | --and I find out who you are, i will take massive action. |
13 | + | |
14 | - | --:b: |
14 | + | |
15 | 919231299, --Sprawling Idiot Effigy | |
16 | 743466274, --Good Day Sunshine | |
17 | 727411183, --Knife Fight | |
18 | 1402748531, --The Earth Is Counting On You! | |
19 | 595230126 --Robot Language | |
20 | } | |
21 | ||
22 | ||
23 | ||
24 | --The reality of my life isn't real but a Universe -Creterisk | |
25 | --All people can be nice, Even if you don't think so. -2003boobear | |
26 | --The past can be horrible, but the future will be better, so forget the past and move-onward. -XXUNORIBOASXX | |
27 | wait() | |
28 | local plr = game:service'Players'.LocalPlayer | |
29 | local char = plr.Character | |
30 | local hum = char.Humanoid | |
31 | local hed = char.Head | |
32 | local root = char.HumanoidRootPart | |
33 | local rootj = root.RootJoint | |
34 | local tors = char.Torso | |
35 | local ra = char["Right Arm"] | |
36 | local la = char["Left Arm"] | |
37 | local rl = char["Right Leg"] | |
38 | local ll = char["Left Leg"] | |
39 | local neck = tors["Neck"] | |
40 | local mouse = plr:GetMouse() | |
41 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
42 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
43 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
44 | local maincolor = BrickColor.new("Dark green") | |
45 | exploitable = true | |
46 | ------------------------------------------------------- | |
47 | --Start Whitelist and Invincibility-- | |
48 | ------------------------------------------------------- | |
49 | ff = Instance.new("ForceField",char) | |
50 | ff.Visible = false | |
51 | hum.Name = "Base" | |
52 | hum.MaxHealth = 1.0E298 | |
53 | hum.Health = 1.0E298 | |
54 | game:GetService("RunService"):BindToRenderStep("Bbae", 0, function() | |
55 | if hum.Health > 0.1 and hum.Health < 1.0E298 then | |
56 | hum.MaxHealth = 1.0E298 | |
57 | hum.Health = 1.0E298 | |
58 | end | |
59 | end) | |
60 | ------------------------------------------------------- | |
61 | --End Whitelist and Invincibility-- | |
62 | ------------------------------------------------------- | |
63 | ||
64 | warn("WhAT ANOTHER ONE V2 IS FINALLY HERE!") | |
65 | ||
66 | warn("I hope you enjoy.") | |
67 | ||
68 | warn("Credit to makhail07, 2003boobear and XXUNORIBOASXX!") | |
69 | ||
70 | ------------------------------------------------------- | |
71 | --Start Good Stuff-- | |
72 | ------------------------------------------------------- | |
73 | cam = game.Workspace.CurrentCamera | |
74 | CF = CFrame.new | |
75 | VT = Vector3.new | |
76 | angles = CFrame.Angles | |
77 | attack = false | |
78 | Euler = CFrame.fromEulerAnglesXYZ | |
79 | Rad = math.rad | |
80 | IT = Instance.new | |
81 | BrickC = BrickColor.new | |
82 | Cos = math.cos | |
83 | Acos = math.acos | |
84 | Sin = math.sin | |
85 | Asin = math.asin | |
86 | Abs = math.abs | |
87 | Mrandom = math.random | |
88 | Floor = math.floor | |
89 | ------------------------------------------------------- | |
90 | --End Good Stuff-- | |
91 | ------------------------------------------------------- | |
92 | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
93 | RSH, LSH = nil, nil | |
94 | RW = Instance.new("Weld") | |
95 | LW = Instance.new("Weld") | |
96 | RH = tors["Right Hip"] | |
97 | LH = tors["Left Hip"] | |
98 | RSH = tors["Right Shoulder"] | |
99 | LSH = tors["Left Shoulder"] | |
100 | RSH.Parent = nil | |
101 | LSH.Parent = nil | |
102 | RW.Name = "RW" | |
103 | RW.Part0 = tors | |
104 | RW.C0 = CF(1.5, 0.5, 0) | |
105 | RW.C1 = CF(0, 0.5, 0) | |
106 | RW.Part1 = ra | |
107 | RW.Parent = tors | |
108 | LW.Name = "LW" | |
109 | LW.Part0 = tors | |
110 | LW.C0 = CF(-1.5, 0.5, 0) | |
111 | LW.C1 = CF(0, 0.5, 0) | |
112 | LW.Part1 = la | |
113 | LW.Parent = tors | |
114 | Effects = {} | |
115 | ------------------------------------------------------- | |
116 | --Start HeartBeat-- | |
117 | ------------------------------------------------------- | |
118 | ArtificialHB = Instance.new("BindableEvent", script) | |
119 | ArtificialHB.Name = "Heartbeat" | |
120 | script:WaitForChild("Heartbeat") | |
121 | ||
122 | frame = 1 / 60 | |
123 | tf = 0 | |
124 | allowframeloss = false | |
125 | tossremainder = false | |
126 | ||
127 | ||
128 | lastframe = tick() | |
129 | script.Heartbeat:Fire() | |
130 | ||
131 | ||
132 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
133 | tf = tf + s | |
134 | if tf >= frame then | |
135 | if allowframeloss then | |
136 | script.Heartbeat:Fire() | |
137 | lastframe = tick() | |
138 | else | |
139 | for i = 1, math.floor(tf / frame) do | |
140 | script.Heartbeat:Fire() | |
141 | end | |
142 | lastframe = tick() | |
143 | end | |
144 | if tossremainder then | |
145 | tf = 0 | |
146 | else | |
147 | tf = tf - frame * math.floor(tf / frame) | |
148 | end | |
149 | end | |
150 | end) | |
151 | ------------------------------------------------------- | |
152 | --End HeartBeat-- | |
153 | ------------------------------------------------------- | |
154 | ||
155 | TAUNT = Instance.new("Sound", tors) | |
156 | TAUNT.SoundId = "http://www.roblox.com/asset/?id=1535994137" | |
157 | TAUNT.Volume = 10 | |
158 | TAUNT.Pitch = 1 | |
159 | TAUNT.Looped = false | |
160 | TAUNT.TimePosition = 0.12 | |
161 | ||
162 | BTAUNT = Instance.new("Sound", tors) | |
163 | BTAUNT.SoundId = "http://www.roblox.com/asset/?id=1535995263" | |
164 | BTAUNT.Volume = 10 | |
165 | BTAUNT.Pitch = 1 | |
166 | BTAUNT.Looped = false | |
167 | BTAUNT.TimePosition = 0.2 | |
168 | ||
169 | ITAUNT = Instance.new("Sound", tors) | |
170 | ITAUNT.SoundId = "http://www.roblox.com/asset/?id=1535994669" | |
171 | ITAUNT.Volume = 10 | |
172 | ITAUNT.Pitch = 1 | |
173 | ITAUNT.Looped = false | |
174 | ITAUNT.TimePosition = 0 | |
175 | ||
176 | BATAUNT = Instance.new("Sound", tors) | |
177 | BATAUNT.SoundId = "http://www.roblox.com/asset/?id=132514715" | |
178 | BATAUNT.Volume = 10 | |
179 | BATAUNT.Pitch = 1 | |
180 | BATAUNT.Looped = false | |
181 | BATAUNT.TimePosition = 0 | |
182 | ||
183 | STAUNT = Instance.new("Sound", tors) | |
184 | STAUNT.SoundId = "http://www.roblox.com/asset/?id=1535994940" | |
185 | STAUNT.Volume = 10 | |
186 | STAUNT.Pitch = 1 | |
187 | STAUNT.Looped = false | |
188 | STAUNT.TimePosition = 0.05 | |
189 | ||
190 | DTAUNT = Instance.new("Sound", tors) | |
191 | DTAUNT.SoundId = "http://www.roblox.com/asset/?id=907333294" | |
192 | DTAUNT.Volume = 10 | |
193 | DTAUNT.Pitch = 1 | |
194 | DTAUNT.Looped = false | |
195 | DTAUNT.TimePosition = 0 | |
196 | ||
197 | LAZOR = Instance.new("Sound", ra) | |
198 | LAZOR.SoundId = "http://www.roblox.com/asset/?id=201858045" | |
199 | LAZOR.Volume = 10 | |
200 | LAZOR.Pitch = 0.7 | |
201 | LAZOR.Looped = false | |
202 | LAZOR.TimePosition = 0 | |
203 | ||
204 | ------------------------------------------------------- | |
205 | --Start Important Functions-- | |
206 | ------------------------------------------------------- | |
207 | function swait(num) | |
208 | if num == 0 or num == nil then | |
209 | game:service("RunService").Stepped:wait(0) | |
210 | else | |
211 | for i = 0, num do | |
212 | game:service("RunService").Stepped:wait(0) | |
213 | end | |
214 | end | |
215 | end | |
216 | function thread(f) | |
217 | coroutine.resume(coroutine.create(f)) | |
218 | end | |
219 | function clerp(a, b, t) | |
220 | local qa = { | |
221 | QuaternionFromCFrame(a) | |
222 | } | |
223 | local qb = { | |
224 | QuaternionFromCFrame(b) | |
225 | } | |
226 | local ax, ay, az = a.x, a.y, a.z | |
227 | local bx, by, bz = b.x, b.y, b.z | |
228 | local _t = 1 - t | |
229 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
230 | end | |
231 | function ShockWave(Part, cframe1, cframe2, Damage, Size) | |
232 | coroutine.resume(coroutine.create(function() | |
233 | local wave = CreatePart(workspace, "Neon", 0, 0, Neoncolor, "Effect", Vector3.new(1, 1, 5)) | |
234 | wave.Anchored = true | |
235 | wave.CFrame = Part.CFrame * cframe1 | |
236 | local Msh = Create("SpecialMesh"){ | |
237 | Parent = wave, | |
238 | MeshType = "Sphere" | |
239 | } | |
240 | Cso("http://roblox.com/asset/?id=300916105", wave, 1, 1.3) | |
241 | for i = 0, 1, 0.2 do | |
242 | wait() | |
243 | local dir = wave.CFrame.lookVector * -1 | |
244 | local pos = rayCast(wave.Position, dir, 5, Character) | |
245 | wave.CFrame = wave.CFrame * cframe2 | |
246 | table.insert(Effects, { | |
247 | wave, | |
248 | "Sphere", | |
249 | 0.01, | |
250 | .03, | |
251 | .03, | |
252 | .03, | |
253 | }) | |
254 | end | |
255 | end)) | |
256 | end | |
257 | ||
258 | function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) --Thanks, Star Glitcher! | |
259 | local type = type | |
260 | local rng = Instance.new("Part", char) | |
261 | rng.Anchored = true | |
262 | rng.BrickColor = color | |
263 | rng.CanCollide = false | |
264 | rng.FormFactor = 3 | |
265 | rng.Name = "Ring" | |
266 | rng.Material = "Neon" | |
267 | rng.Size = Vector3.new(1, 1, 1) | |
268 | rng.Transparency = 0 | |
269 | rng.TopSurface = 0 | |
270 | rng.BottomSurface = 0 | |
271 | rng.CFrame = pos | |
272 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
273 | local rngm = Instance.new("SpecialMesh", rng) | |
274 | rngm.MeshType = "Brick" | |
275 | rngm.Scale = VT(x1,y1,z1) | |
276 | if rainbowmode == true then | |
277 | rng.Color = Color3.new(r/255,g/255,b/255) | |
278 | end | |
279 | local scaler2 = 1 | |
280 | local speeder = FastSpeed/10 | |
281 | if type == "Add" then | |
282 | scaler2 = 1*value | |
283 | elseif type == "Divide" then | |
284 | scaler2 = 1/value | |
285 | end | |
286 | coroutine.resume(coroutine.create(function() | |
287 | for i = 0,10/bonuspeed,0.1 do | |
288 | swait() | |
289 | if type == "Add" then | |
290 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
291 | elseif type == "Divide" then | |
292 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
293 | end | |
294 | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 | |
295 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
296 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
297 | end | |
298 | rng:Destroy() | |
299 | end)) | |
300 | end | |
301 | New = function(Object, Parent, Name, Data) | |
302 | local Object = Instance.new(Object) | |
303 | for Index, Value in pairs(Data or {}) do | |
304 | Object[Index] = Value | |
305 | end | |
306 | Object.Parent = Parent | |
307 | Object.Name = Name | |
308 | return Object | |
309 | end | |
310 | function QuaternionFromCFrame(cf) | |
311 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
312 | local trace = m00 + m11 + m22 | |
313 | if trace > 0 then | |
314 | local s = math.sqrt(1 + trace) | |
315 | local recip = 0.5 / s | |
316 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
317 | else | |
318 | local i = 0 | |
319 | if m00 < m11 then | |
320 | i = 1 | |
321 | end | |
322 | if m22 > (i == 0 and m00 or m11) then | |
323 | i = 2 | |
324 | end | |
325 | if i == 0 then | |
326 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
327 | local recip = 0.5 / s | |
328 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
329 | elseif i == 1 then | |
330 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
331 | local recip = 0.5 / s | |
332 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
333 | elseif i == 2 then | |
334 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
335 | local recip = 0.5 / s | |
336 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
337 | end | |
338 | end | |
339 | end | |
340 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
341 | local xs, ys, zs = x + x, y + y, z + z | |
342 | local wx, wy, wz = w * xs, w * ys, w * zs | |
343 | local xx = x * xs | |
344 | local xy = x * ys | |
345 | local xz = x * zs | |
346 | local yy = y * ys | |
347 | local yz = y * zs | |
348 | local zz = z * zs | |
349 | 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)) | |
350 | end | |
351 | function QuaternionSlerp(a, b, t) | |
352 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
353 | local startInterp, finishInterp | |
354 | if cosTheta >= 1.0E-4 then | |
355 | if 1 - cosTheta > 1.0E-4 then | |
356 | local theta = math.acos(cosTheta) | |
357 | local invSinTheta = 1 / Sin(theta) | |
358 | startInterp = Sin((1 - t) * theta) * invSinTheta | |
359 | finishInterp = Sin(t * theta) * invSinTheta | |
360 | else | |
361 | startInterp = 1 - t | |
362 | finishInterp = t | |
363 | end | |
364 | elseif 1 + cosTheta > 1.0E-4 then | |
365 | local theta = math.acos(-cosTheta) | |
366 | local invSinTheta = 1 / Sin(theta) | |
367 | startInterp = Sin((t - 1) * theta) * invSinTheta | |
368 | finishInterp = Sin(t * theta) * invSinTheta | |
369 | else | |
370 | startInterp = t - 1 | |
371 | finishInterp = t | |
372 | end | |
373 | 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 | |
374 | end | |
375 | function rayCast(Position, Direction, Range, Ignore) | |
376 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
377 | end | |
378 | local RbxUtility = LoadLibrary("RbxUtility") | |
379 | local Create = RbxUtility.Create | |
380 | ||
381 | ------------------------------------------------------- | |
382 | --Start Damage Function-- | |
383 | ------------------------------------------------------- | |
384 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
385 | if hit.Parent == nil then | |
386 | return | |
387 | end | |
388 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
389 | for _, v in pairs(hit.Parent:children()) do | |
390 | if v:IsA("Humanoid") then | |
391 | h = v | |
392 | end | |
393 | end | |
394 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then | |
395 | ||
396 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
397 | end | |
398 | ||
399 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
400 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
401 | if hit.Parent.DebounceHit.Value == true then | |
402 | return | |
403 | end | |
404 | end | |
405 | if insta == true then | |
406 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
407 | end | |
408 | local c = Create("ObjectValue"){ | |
409 | Name = "creator", | |
410 | Value = game:service("Players").LocalPlayer, | |
411 | Parent = h, | |
412 | } | |
413 | game:GetService("Debris"):AddItem(c, .5) | |
414 | if HitSound ~= nil and HitPitch ~= nil then | |
415 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
416 | end | |
417 | local Damage = math.random(minim, maxim) | |
418 | local blocked = false | |
419 | local block = hit.Parent:findFirstChild("Block") | |
420 | if block ~= nil then | |
421 | if block.className == "IntValue" then | |
422 | if block.Value > 0 then | |
423 | blocked = true | |
424 | block.Value = block.Value - 1 | |
425 | print(block.Value) | |
426 | end | |
427 | end | |
428 | end | |
429 | if blocked == false then | |
430 | h.Health = h.Health - Damage | |
431 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
432 | else | |
433 | h.Health = h.Health - (Damage / 2) | |
434 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
435 | end | |
436 | if Type == "Knockdown" then | |
437 | local hum = hit.Parent.Humanoid | |
438 | hum.PlatformStand = true | |
439 | coroutine.resume(coroutine.create(function(HHumanoid) | |
440 | swait(1) | |
441 | HHumanoid.PlatformStand = false | |
442 | end), hum) | |
443 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
444 | local bodvol = Create("BodyVelocity"){ | |
445 | velocity = angle * knockback, | |
446 | P = 5000, | |
447 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
448 | Parent = hit, | |
449 | } | |
450 | local rl = Create("BodyAngularVelocity"){ | |
451 | P = 3000, | |
452 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
453 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
454 | Parent = hit, | |
455 | } | |
456 | game:GetService("Debris"):AddItem(bodvol, .5) | |
457 | game:GetService("Debris"):AddItem(rl, .5) | |
458 | elseif Type == "Normal" then | |
459 | local vp = Create("BodyVelocity"){ | |
460 | P = 500, | |
461 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
462 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
463 | } | |
464 | if knockback > 0 then | |
465 | vp.Parent = hit.Parent.Torso | |
466 | end | |
467 | game:GetService("Debris"):AddItem(vp, .5) | |
468 | elseif Type == "Up" then | |
469 | local bodyVelocity = Create("BodyVelocity"){ | |
470 | velocity = Vector3.new(0, 20, 0), | |
471 | P = 5000, | |
472 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
473 | Parent = hit, | |
474 | } | |
475 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
476 | elseif Type == "DarkUp" then | |
477 | coroutine.resume(coroutine.create(function() | |
478 | for i = 0, 1, 0.1 do | |
479 | swait() | |
480 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
481 | end | |
482 | end)) | |
483 | local bodyVelocity = Create("BodyVelocity"){ | |
484 | velocity = Vector3.new(0, 20, 0), | |
485 | P = 5000, | |
486 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
487 | Parent = hit, | |
488 | } | |
489 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
490 | elseif Type == "Snare" then | |
491 | local bp = Create("BodyPosition"){ | |
492 | P = 2000, | |
493 | D = 100, | |
494 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
495 | position = hit.Parent.Torso.Position, | |
496 | Parent = hit.Parent.Torso, | |
497 | } | |
498 | game:GetService("Debris"):AddItem(bp, 1) | |
499 | elseif Type == "Freeze" then | |
500 | local BodPos = Create("BodyPosition"){ | |
501 | P = 50000, | |
502 | D = 1000, | |
503 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
504 | position = hit.Parent.Torso.Position, | |
505 | Parent = hit.Parent.Torso, | |
506 | } | |
507 | local BodGy = Create("BodyGyro") { | |
508 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
509 | P = 20e+003, | |
510 | Parent = hit.Parent.Torso, | |
511 | cframe = hit.Parent.Torso.CFrame, | |
512 | } | |
513 | hit.Parent.Torso.Anchored = true | |
514 | coroutine.resume(coroutine.create(function(Part) | |
515 | swait(1.5) | |
516 | Part.Anchored = false | |
517 | end), hit.Parent.Torso) | |
518 | game:GetService("Debris"):AddItem(BodPos, 3) | |
519 | game:GetService("Debris"):AddItem(BodGy, 3) | |
520 | end | |
521 | local debounce = Create("BoolValue"){ | |
522 | Name = "DebounceHit", | |
523 | Parent = hit.Parent, | |
524 | Value = true, | |
525 | } | |
526 | game:GetService("Debris"):AddItem(debounce, Delay) | |
527 | c = Create("ObjectValue"){ | |
528 | Name = "creator", | |
529 | Value = Player, | |
530 | Parent = h, | |
531 | } | |
532 | game:GetService("Debris"):AddItem(c, .5) | |
533 | end | |
534 | end | |
535 | ------------------------------------------------------- | |
536 | --End Damage Function-- | |
537 | ------------------------------------------------------- | |
538 | ||
539 | ------------------------------------------------------- | |
540 | --Start Damage Function Customization-- | |
541 | ------------------------------------------------------- | |
542 | function ShowDamage(Pos, Text, Time, Color) | |
543 | local Rate = (1 / 30) | |
544 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
545 | local Text = (Text or "") | |
546 | local Time = (Time or 2) | |
547 | local Color = (Color or Color3.new(1, 0, 1)) | |
548 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
549 | EffectPart.Anchored = true | |
550 | local BillboardGui = Create("BillboardGui"){ | |
551 | Size = UDim2.new(3, 0, 3, 0), | |
552 | Adornee = EffectPart, | |
553 | Parent = EffectPart, | |
554 | } | |
555 | local TextLabel = Create("TextLabel"){ | |
556 | BackgroundTransparency = 1, | |
557 | Size = UDim2.new(1, 0, 1, 0), | |
558 | Text = Text, | |
559 | Font = "Bodoni", | |
560 | TextColor3 = Color, | |
561 | TextScaled = true, | |
562 | TextStrokeColor3 = Color3.fromRGB(0,0,0), | |
563 | Parent = BillboardGui, | |
564 | } | |
565 | game.Debris:AddItem(EffectPart, (Time)) | |
566 | EffectPart.Parent = game:GetService("Workspace") | |
567 | delay(0, function() | |
568 | local Frames = (Time / Rate) | |
569 | for Frame = 1, Frames do | |
570 | wait(Rate) | |
571 | local Percent = (Frame / Frames) | |
572 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
573 | TextLabel.TextTransparency = Percent | |
574 | end | |
575 | if EffectPart and EffectPart.Parent then | |
576 | EffectPart:Destroy() | |
577 | end | |
578 | end) | |
579 | end | |
580 | ------------------------------------------------------- | |
581 | --End Damage Function Customization-- | |
582 | ------------------------------------------------------- | |
583 | ||
584 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
585 | for _, c in pairs(workspace:children()) do | |
586 | local hum = c:findFirstChild("Humanoid") | |
587 | if hum ~= nil then | |
588 | local head = c:findFirstChild("Head") | |
589 | if head ~= nil then | |
590 | local targ = head.Position - Part.Position | |
591 | local mag = targ.magnitude | |
592 | if magni >= mag and c.Name ~= plr.Name then | |
593 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) | |
594 | end | |
595 | end | |
596 | end | |
597 | end | |
598 | end | |
599 | ||
600 | ||
601 | CFuncs = { | |
602 | Part = { | |
603 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
604 | local Part = Create("Part")({ | |
605 | Parent = Parent, | |
606 | Reflectance = Reflectance, | |
607 | Transparency = Transparency, | |
608 | CanCollide = false, | |
609 | Locked = true, | |
610 | BrickColor = BrickColor.new(tostring(BColor)), | |
611 | Name = Name, | |
612 | Size = Size, | |
613 | Material = Material | |
614 | }) | |
615 | RemoveOutlines(Part) | |
616 | return Part | |
617 | end | |
618 | }, | |
619 | Mesh = { | |
620 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
621 | local Msh = Create(Mesh)({ | |
622 | Parent = Part, | |
623 | Offset = OffSet, | |
624 | Scale = Scale | |
625 | }) | |
626 | if Mesh == "SpecialMesh" then | |
627 | Msh.MeshType = MeshType | |
628 | Msh.MeshId = MeshId | |
629 | end | |
630 | return Msh | |
631 | end | |
632 | }, | |
633 | Mesh = { | |
634 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
635 | local Msh = Create(Mesh)({ | |
636 | Parent = Part, | |
637 | Offset = OffSet, | |
638 | Scale = Scale | |
639 | }) | |
640 | if Mesh == "SpecialMesh" then | |
641 | Msh.MeshType = MeshType | |
642 | Msh.MeshId = MeshId | |
643 | end | |
644 | return Msh | |
645 | end | |
646 | }, | |
647 | Weld = { | |
648 | Create = function(Parent, Part0, Part1, C0, C1) | |
649 | local Weld = Create("Weld")({ | |
650 | Parent = Parent, | |
651 | Part0 = Part0, | |
652 | Part1 = Part1, | |
653 | C0 = C0, | |
654 | C1 = C1 | |
655 | }) | |
656 | return Weld | |
657 | end | |
658 | }, | |
659 | Sound = { | |
660 | Create = function(id, par, vol, pit) | |
661 | coroutine.resume(coroutine.create(function() | |
662 | local S = Create("Sound")({ | |
663 | Volume = vol, | |
664 | Pitch = pit or 1, | |
665 | SoundId = id, | |
666 | Parent = par or workspace | |
667 | }) | |
668 | wait() | |
669 | S:play() | |
670 | game:GetService("Debris"):AddItem(S, 6) | |
671 | end)) | |
672 | end | |
673 | }, | |
674 | ParticleEmitter = { | |
675 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
676 | local fp = Create("ParticleEmitter")({ | |
677 | Parent = Parent, | |
678 | Color = ColorSequence.new(Color1, Color2), | |
679 | LightEmission = LightEmission, | |
680 | Size = Size, | |
681 | Texture = Texture, | |
682 | Transparency = Transparency, | |
683 | ZOffset = ZOffset, | |
684 | Acceleration = Accel, | |
685 | Drag = Drag, | |
686 | LockedToPart = LockedToPart, | |
687 | VelocityInheritance = VelocityInheritance, | |
688 | EmissionDirection = EmissionDirection, | |
689 | Enabled = Enabled, | |
690 | Lifetime = LifeTime, | |
691 | Rate = Rate, | |
692 | Rotation = Rotation, | |
693 | RotSpeed = RotSpeed, | |
694 | Speed = Speed, | |
695 | VelocitySpread = VelocitySpread | |
696 | }) | |
697 | return fp | |
698 | end | |
699 | } | |
700 | } | |
701 | function RemoveOutlines(part) | |
702 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
703 | end | |
704 | function CreatePart1(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
705 | local Part = Create("Part")({ | |
706 | formFactor = FormFactor, | |
707 | Parent = Parent, | |
708 | Reflectance = Reflectance, | |
709 | Transparency = Transparency, | |
710 | CanCollide = false, | |
711 | Locked = true, | |
712 | BrickColor = BrickColor.new(tostring(BColor)), | |
713 | Name = Name, | |
714 | Size = Size, | |
715 | Material = Material | |
716 | }) | |
717 | RemoveOutlines(Part) | |
718 | return Part | |
719 | end | |
720 | function CreateMesh1(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
721 | local Msh = Create(Mesh)({ | |
722 | Parent = Part, | |
723 | Offset = OffSet, | |
724 | Scale = Scale | |
725 | }) | |
726 | if Mesh == "SpecialMesh" then | |
727 | Msh.MeshType = MeshType | |
728 | Msh.MeshId = MeshId | |
729 | end | |
730 | return Msh | |
731 | end | |
732 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
733 | local Weld = Create("Weld")({ | |
734 | Parent = Parent, | |
735 | Part0 = Part0, | |
736 | Part1 = Part1, | |
737 | C0 = C0, | |
738 | C1 = C1 | |
739 | }) | |
740 | return Weld | |
741 | end | |
742 | ||
743 | ||
744 | ------------------------------------------------------- | |
745 | --Start Effect Function-- | |
746 | ------------------------------------------------------- | |
747 | EffectModel = Instance.new("Model", char) | |
748 | Effects = { | |
749 | Block = { | |
750 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
751 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
752 | prt.Anchored = true | |
753 | prt.CFrame = cframe | |
754 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
755 | game:GetService("Debris"):AddItem(prt, 10) | |
756 | if Type == 1 or Type == nil then | |
757 | table.insert(Effects, { | |
758 | prt, | |
759 | "Block1", | |
760 | delay, | |
761 | x3, | |
762 | y3, | |
763 | z3, | |
764 | msh | |
765 | }) | |
766 | elseif Type == 2 then | |
767 | table.insert(Effects, { | |
768 | prt, | |
769 | "Block2", | |
770 | delay, | |
771 | x3, | |
772 | y3, | |
773 | z3, | |
774 | msh | |
775 | }) | |
776 | else | |
777 | table.insert(Effects, { | |
778 | prt, | |
779 | "Block3", | |
780 | delay, | |
781 | x3, | |
782 | y3, | |
783 | z3, | |
784 | msh | |
785 | }) | |
786 | end | |
787 | end | |
788 | }, | |
789 | Sphere = { | |
790 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
791 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
792 | prt.Anchored = true | |
793 | prt.CFrame = cframe | |
794 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
795 | game:GetService("Debris"):AddItem(prt, 10) | |
796 | table.insert(Effects, { | |
797 | prt, | |
798 | "Cylinder", | |
799 | delay, | |
800 | x3, | |
801 | y3, | |
802 | z3, | |
803 | msh | |
804 | }) | |
805 | end | |
806 | }, | |
807 | Cylinder = { | |
808 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
809 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
810 | prt.Anchored = true | |
811 | prt.CFrame = cframe | |
812 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
813 | game:GetService("Debris"):AddItem(prt, 10) | |
814 | table.insert(Effects, { | |
815 | prt, | |
816 | "Cylinder", | |
817 | delay, | |
818 | x3, | |
819 | y3, | |
820 | z3, | |
821 | msh | |
822 | }) | |
823 | end | |
824 | }, | |
825 | Wave = { | |
826 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
827 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
828 | prt.Anchored = true | |
829 | prt.CFrame = cframe | |
830 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60)) | |
831 | game:GetService("Debris"):AddItem(prt, 10) | |
832 | table.insert(Effects, { | |
833 | prt, | |
834 | "Cylinder", | |
835 | delay, | |
836 | x3 / 60, | |
837 | y3 / 60, | |
838 | z3 / 60, | |
839 | msh | |
840 | }) | |
841 | end | |
842 | }, | |
843 | Ring = { | |
844 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
845 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
846 | prt.Anchored = true | |
847 | prt.CFrame = cframe | |
848 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
849 | game:GetService("Debris"):AddItem(prt, 10) | |
850 | table.insert(Effects, { | |
851 | prt, | |
852 | "Cylinder", | |
853 | delay, | |
854 | x3, | |
855 | y3, | |
856 | z3, | |
857 | msh | |
858 | }) | |
859 | end | |
860 | }, | |
861 | Break = { | |
862 | Create = function(brickcolor, cframe, x1, y1, z1) | |
863 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
864 | prt.Anchored = true | |
865 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
866 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
867 | local num = math.random(10, 50) / 1000 | |
868 | game:GetService("Debris"):AddItem(prt, 10) | |
869 | table.insert(Effects, { | |
870 | prt, | |
871 | "Shatter", | |
872 | num, | |
873 | prt.CFrame, | |
874 | math.random() - math.random(), | |
875 | 0, | |
876 | math.random(50, 100) / 100 | |
877 | }) | |
878 | end | |
879 | }, | |
880 | Spiral = { | |
881 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
882 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
883 | prt.Anchored = true | |
884 | prt.CFrame = cframe | |
885 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
886 | game:GetService("Debris"):AddItem(prt, 10) | |
887 | table.insert(Effects, { | |
888 | prt, | |
889 | "Cylinder", | |
890 | delay, | |
891 | x3, | |
892 | y3, | |
893 | z3, | |
894 | msh | |
895 | }) | |
896 | end | |
897 | }, | |
898 | Push = { | |
899 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
900 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
901 | prt.Anchored = true | |
902 | prt.CFrame = cframe | |
903 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
904 | game:GetService("Debris"):AddItem(prt, 10) | |
905 | table.insert(Effects, { | |
906 | prt, | |
907 | "Cylinder", | |
908 | delay, | |
909 | x3, | |
910 | y3, | |
911 | z3, | |
912 | msh | |
913 | }) | |
914 | end | |
915 | } | |
916 | } | |
917 | function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size) | |
918 | local fp = IT("Part") | |
919 | fp.formFactor = formfactor | |
920 | fp.Parent = parent | |
921 | fp.Reflectance = reflectance | |
922 | fp.Transparency = transparency | |
923 | fp.CanCollide = false | |
924 | fp.Locked = true | |
925 | fp.BrickColor = brickcolor | |
926 | fp.Name = name | |
927 | fp.Size = size | |
928 | fp.Position = tors.Position | |
929 | RemoveOutlines(fp) | |
930 | fp.Material = "SmoothPlastic" | |
931 | fp:BreakJoints() | |
932 | return fp | |
933 | end | |
934 | ||
935 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
936 | local mesh = IT(Mesh) | |
937 | mesh.Parent = part | |
938 | if Mesh == "SpecialMesh" then | |
939 | mesh.MeshType = meshtype | |
940 | if meshid ~= "nil" then | |
941 | mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid | |
942 | end | |
943 | end | |
944 | mesh.Offset = offset | |
945 | mesh.Scale = scale | |
946 | return mesh | |
947 | end | |
948 | ||
949 | function MagicCharge(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType) | |
950 | local type = type | |
951 | local rng = Instance.new("Part", char) | |
952 | rng.Anchored = true | |
953 | rng.BrickColor = color | |
954 | rng.CanCollide = false | |
955 | rng.FormFactor = 3 | |
956 | rng.Name = "Ring" | |
957 | rng.Material = "Neon" | |
958 | rng.Size = Vector3.new(1, 1, 1) | |
959 | rng.Transparency = 1 | |
960 | rng.TopSurface = 0 | |
961 | rng.BottomSurface = 0 | |
962 | rng.CFrame = pos | |
963 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
964 | local rngm = Instance.new("SpecialMesh", rng) | |
965 | rngm.MeshType = MType | |
966 | rngm.Scale = Vector3.new(x1, y1, z1) | |
967 | local scaler2 = 1 | |
968 | local speeder = FastSpeed | |
969 | if type == "Add" then | |
970 | scaler2 = 1 * value | |
971 | elseif type == "Divide" then | |
972 | scaler2 = 1 / value | |
973 | end | |
974 | coroutine.resume(coroutine.create(function() | |
975 | for i = 0, 10 / bonuspeed, 0.1 do | |
976 | swait() | |
977 | if type == "Add" then | |
978 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
979 | elseif type == "Divide" then | |
980 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
981 | end | |
982 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
983 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
984 | rng.Transparency = rng.Transparency - 0.01 * bonuspeed | |
985 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
986 | end | |
987 | rng:Destroy() | |
988 | end)) | |
989 | end | |
990 | ||
991 | function Magic(bonuspeed, type, pos, scale, value, color, MType) | |
992 | local type = type | |
993 | local rng = Instance.new("Part", char) | |
994 | rng.Anchored = true | |
995 | rng.BrickColor = color | |
996 | rng.CanCollide = false | |
997 | rng.FormFactor = 3 | |
998 | rng.Name = "Ring" | |
999 | rng.Material = "Neon" | |
1000 | rng.Size = Vector3.new(1, 1, 1) | |
1001 | rng.Transparency = 0 | |
1002 | rng.TopSurface = 0 | |
1003 | rng.BottomSurface = 0 | |
1004 | rng.CFrame = pos | |
1005 | local rngm = Instance.new("SpecialMesh", rng) | |
1006 | rngm.MeshType = MType | |
1007 | rngm.Scale = scale | |
1008 | local scaler2 = 1 | |
1009 | if type == "Add" then | |
1010 | scaler2 = 1 * value | |
1011 | elseif type == "Divide" then | |
1012 | scaler2 = 1 / value | |
1013 | end | |
1014 | coroutine.resume(coroutine.create(function() | |
1015 | for i = 0, 10 / bonuspeed, 0.1 do | |
1016 | swait() | |
1017 | if type == "Add" then | |
1018 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
1019 | elseif type == "Divide" then | |
1020 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
1021 | end | |
1022 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
1023 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed) | |
1024 | end | |
1025 | rng:Destroy() | |
1026 | end)) | |
1027 | end | |
1028 | ||
1029 | function Eviscerate(dude) | |
1030 | if dude.Name ~= char then | |
1031 | local bgf = IT("BodyGyro", dude.Head) | |
1032 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
1033 | local val = IT("BoolValue", dude) | |
1034 | val.Name = "IsHit" | |
1035 | local ds = coroutine.wrap(function() | |
1036 | dude:WaitForChild("Head"):BreakJoints() | |
1037 | wait(0.5) | |
1038 | target = nil | |
1039 | coroutine.resume(coroutine.create(function() | |
1040 | for i, v in pairs(dude:GetChildren()) do | |
1041 | if v:IsA("Accessory") then | |
1042 | v:Destroy() | |
1043 | end | |
1044 | if v:IsA("Humanoid") then | |
1045 | v:Destroy() | |
1046 | end | |
1047 | if v:IsA("CharacterMesh") then | |
1048 | v:Destroy() | |
1049 | end | |
1050 | if v:IsA("Model") then | |
1051 | v:Destroy() | |
1052 | end | |
1053 | if v:IsA("Part") or v:IsA("MeshPart") then | |
1054 | for x, o in pairs(v:GetChildren()) do | |
1055 | if o:IsA("Decal") then | |
1056 | o:Destroy() | |
1057 | end | |
1058 | end | |
1059 | coroutine.resume(coroutine.create(function() | |
1060 | v.Material = "Neon" | |
1061 | v.CanCollide = false | |
1062 | local PartEmmit1 = IT("ParticleEmitter", v) | |
1063 | PartEmmit1.LightEmission = 1 | |
1064 | PartEmmit1.Texture = "rbxassetid://284205403" | |
1065 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1066 | PartEmmit1.Rate = 150 | |
1067 | PartEmmit1.Lifetime = NumberRange.new(1) | |
1068 | PartEmmit1.Size = NumberSequence.new({ | |
1069 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
1070 | NumberSequenceKeypoint.new(1, 0, 0) | |
1071 | }) | |
1072 | PartEmmit1.Transparency = NumberSequence.new({ | |
1073 | NumberSequenceKeypoint.new(0, 0, 0), | |
1074 | NumberSequenceKeypoint.new(1, 1, 0) | |
1075 | }) | |
1076 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
1077 | PartEmmit1.VelocitySpread = 30000 | |
1078 | PartEmmit1.Rotation = NumberRange.new(-500, 500) | |
1079 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
1080 | local BodPoss = IT("BodyPosition", v) | |
1081 | BodPoss.P = 3000 | |
1082 | BodPoss.D = 1000 | |
1083 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
1084 | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
1085 | v.Color = maincolor.Color | |
1086 | coroutine.resume(coroutine.create(function() | |
1087 | for i = 0, 49 do | |
1088 | swait(1) | |
1089 | v.Transparency = v.Transparency + 0.08 | |
1090 | end | |
1091 | wait(0.5) | |
1092 | PartEmmit1.Enabled = false | |
1093 | wait(3) | |
1094 | v:Destroy() | |
1095 | dude:Destroy() | |
1096 | end)) | |
1097 | end)) | |
1098 | end | |
1099 | end | |
1100 | end)) | |
1101 | end) | |
1102 | ds() | |
1103 | end | |
1104 | end | |
1105 | ||
1106 | function FindNearestHead(Position, Distance, SinglePlayer) | |
1107 | if SinglePlayer then | |
1108 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
1109 | end | |
1110 | local List = {} | |
1111 | for i, v in pairs(workspace:GetChildren()) do | |
1112 | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then | |
1113 | table.insert(List, v) | |
1114 | end | |
1115 | end | |
1116 | return List | |
1117 | end | |
1118 | ||
1119 | function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType) | |
1120 | local type = type | |
1121 | local rng = Instance.new("Part", char) | |
1122 | rng.Anchored = true | |
1123 | rng.BrickColor = color | |
1124 | rng.CanCollide = false | |
1125 | rng.FormFactor = 3 | |
1126 | rng.Name = "Ring" | |
1127 | rng.Material = "Neon" | |
1128 | rng.Size = Vector3.new(1, 1, 1) | |
1129 | rng.Transparency = 0 | |
1130 | rng.TopSurface = 0 | |
1131 | rng.BottomSurface = 0 | |
1132 | rng.CFrame = pos | |
1133 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
1134 | local rngm = Instance.new("SpecialMesh", rng) | |
1135 | rngm.MeshType = MType | |
1136 | rngm.Scale = Vector3.new(x1, y1, z1) | |
1137 | local scaler2 = 1 | |
1138 | local speeder = FastSpeed | |
1139 | if type == "Add" then | |
1140 | scaler2 = 1 * value | |
1141 | elseif type == "Divide" then | |
1142 | scaler2 = 1 / value | |
1143 | end | |
1144 | coroutine.resume(coroutine.create(function() | |
1145 | for i = 0, 10 / bonuspeed, 0.1 do | |
1146 | swait() | |
1147 | if type == "Add" then | |
1148 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
1149 | elseif type == "Divide" then | |
1150 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
1151 | end | |
1152 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
1153 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
1154 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
1155 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
1156 | end | |
1157 | rng:Destroy() | |
1158 | end)) | |
1159 | end | |
1160 | ||
1161 | function SoulSteal(dude) | |
1162 | if dude.Name ~= char then | |
1163 | local bgf = IT("BodyGyro", dude.Head) | |
1164 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
1165 | local val = IT("BoolValue", dude) | |
1166 | val.Name = "IsHit" | |
1167 | local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart') | |
1168 | local soulst = coroutine.wrap(function() | |
1169 | local soul = Instance.new("Part",dude) | |
1170 | soul.Size = Vector3.new(1,1,1) | |
1171 | soul.CanCollide = false | |
1172 | soul.Anchored = false | |
1173 | soul.Position = torso.Position | |
1174 | soul.Transparency = 1 | |
1175 | local PartEmmit1 = IT("ParticleEmitter", soul) | |
1176 | PartEmmit1.LightEmission = 1 | |
1177 | PartEmmit1.Texture = "rbxassetid://569507414" | |
1178 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1179 | PartEmmit1.Rate = 250 | |
1180 | PartEmmit1.Lifetime = NumberRange.new(1.6) | |
1181 | PartEmmit1.Size = NumberSequence.new({ | |
1182 | NumberSequenceKeypoint.new(0, 1, 0), | |
1183 | NumberSequenceKeypoint.new(1, 0, 0) | |
1184 | }) | |
1185 | PartEmmit1.Transparency = NumberSequence.new({ | |
1186 | NumberSequenceKeypoint.new(0, 0, 0), | |
1187 | NumberSequenceKeypoint.new(1, 1, 0) | |
1188 | }) | |
1189 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
1190 | PartEmmit1.VelocitySpread = 30000 | |
1191 | PartEmmit1.Rotation = NumberRange.new(-360, 360) | |
1192 | PartEmmit1.RotSpeed = NumberRange.new(-360, 360) | |
1193 | local BodPoss = IT("BodyPosition", soul) | |
1194 | BodPoss.P = 3000 | |
1195 | BodPoss.D = 1000 | |
1196 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
1197 | BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
1198 | wait(1.6) | |
1199 | soul.Touched:connect(function(hit) | |
1200 | if hit.Parent == char then | |
1201 | soul:Destroy() | |
1202 | end | |
1203 | end) | |
1204 | wait(1.2) | |
1205 | while soul do | |
1206 | swait() | |
1207 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1208 | BodPoss.Position = tors.Position | |
1209 | end | |
1210 | end) | |
1211 | soulst() | |
1212 | end | |
1213 | end | |
1214 | function FaceMouse() | |
1215 | local Cam = workspace.CurrentCamera | |
1216 | return { | |
1217 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
1218 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
1219 | } | |
1220 | end | |
1221 | ------------------------------------------------------- | |
1222 | --End Effect Function-- | |
1223 | ------------------------------------------------------- | |
1224 | function Cso(ID, PARENT, VOLUME, PITCH) | |
1225 | local NSound = nil | |
1226 | coroutine.resume(coroutine.create(function() | |
1227 | NSound = IT("Sound", PARENT) | |
1228 | NSound.Volume = VOLUME | |
1229 | NSound.Pitch = PITCH | |
1230 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
1231 | swait() | |
1232 | NSound:play() | |
1233 | game:GetService("Debris"):AddItem(NSound, 10) | |
1234 | end)) | |
1235 | return NSound | |
1236 | end | |
1237 | function CameraEnshaking(Length, Intensity) | |
1238 | coroutine.resume(coroutine.create(function() | |
1239 | local intensity = 1 * Intensity | |
1240 | local rotM = 0.01 * Intensity | |
1241 | for i = 0, Length, 0.1 do | |
1242 | swait() | |
1243 | intensity = intensity - 0.05 * Intensity / Length | |
1244 | rotM = rotM - 5.0E-4 * Intensity / Length | |
1245 | hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) | |
1246 | cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM) | |
1247 | end | |
1248 | hum.CameraOffset = Vector3.new(0, 0, 0) | |
1249 | end)) | |
1250 | end | |
1251 | function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype) | |
1252 | local Hitboxpart = Instance.new("Part", EffectModel) | |
1253 | RemoveOutlines(Hitboxpart) | |
1254 | Hitboxpart.Size = Vector3.new(siz1, siz2, siz3) | |
1255 | Hitboxpart.CanCollide = false | |
1256 | Hitboxpart.Transparency = 1 | |
1257 | Hitboxpart.Anchored = true | |
1258 | Hitboxpart.CFrame = Pose | |
1259 | game:GetService("Debris"):AddItem(Hitboxpart, lifetime) | |
1260 | MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype) | |
1261 | end | |
1262 | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
1263 | local prt = CreatePart1(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1264 | prt.Anchored = true | |
1265 | prt.CFrame = cframe | |
1266 | local msh = CreateMesh1("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1267 | game:GetService("Debris"):AddItem(prt, 10) | |
1268 | if Type == 1 or Type == nil then | |
1269 | table.insert(Effects, { | |
1270 | prt, | |
1271 | "Block1", | |
1272 | delay, | |
1273 | x3, | |
1274 | y3, | |
1275 | z3, | |
1276 | msh | |
1277 | }) | |
1278 | elseif Type == 2 then | |
1279 | table.insert(Effects, { | |
1280 | prt, | |
1281 | "Block2", | |
1282 | delay, | |
1283 | x3, | |
1284 | y3, | |
1285 | z3, | |
1286 | msh | |
1287 | }) | |
1288 | elseif Type == 3 then | |
1289 | table.insert(Effects, { | |
1290 | prt, | |
1291 | "Block3", | |
1292 | delay, | |
1293 | x3, | |
1294 | y3, | |
1295 | z3, | |
1296 | msh | |
1297 | }) | |
1298 | end | |
1299 | end | |
1300 | ||
1301 | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
1302 | local Part = Create("Part"){ | |
1303 | Parent = Parent, | |
1304 | Reflectance = Reflectance, | |
1305 | Transparency = Transparency, | |
1306 | CanCollide = false, | |
1307 | Locked = true, | |
1308 | BrickColor = BrickColor.new(tostring(BColor)), | |
1309 | Name = Name, | |
1310 | Size = Size, | |
1311 | Material = Material, | |
1312 | } | |
1313 | RemoveOutlines(Part) | |
1314 | return Part | |
1315 | end | |
1316 | ||
1317 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
1318 | local Msh = Create(Mesh){ | |
1319 | Parent = Part, | |
1320 | Offset = OffSet, | |
1321 | Scale = Scale, | |
1322 | } | |
1323 | if Mesh == "SpecialMesh" then | |
1324 | Msh.MeshType = MeshType | |
1325 | Msh.MeshId = MeshId | |
1326 | end | |
1327 | return Msh | |
1328 | end | |
1329 | ||
1330 | function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1331 | local prt = CreatePart(workspace,"Neon",0,0,brickcolor,"Effect", Vector3.new(.5,.5,.5))--part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1332 | prt.Anchored = true | |
1333 | prt.CFrame = cframe | |
1334 | local msh = CreateMesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vector3.new(0,0,0),Vector3.new(x1,y1,z1)) | |
1335 | game:GetService("Debris"):AddItem(prt,2) | |
1336 | coroutine.resume(coroutine.create(function(Part,Mesh,num) | |
1337 | for i=0,1,delay do | |
1338 | swait() | |
1339 | Part.Transparency=i | |
1340 | Mesh.Scale=Mesh.Scale + Vector3.new(x3,y3,z3) | |
1341 | end | |
1342 | Part.Parent=nil | |
1343 | end),prt,msh,(math.random(0,1)+math.random())/5) | |
1344 | end | |
1345 | ------------------------------------------------------- | |
1346 | --End Important Functions-- | |
1347 | ------------------------------------------------------- | |
1348 | ||
1349 | ||
1350 | ||
1351 | --[[ | |
1352 | Thanks for using Build-To-Lua by jarredbcv. | |
1353 | ]]-- | |
1354 | ||
1355 | New = function(Object, Parent, Name, Data) | |
1356 | local Object = Instance.new(Object) | |
1357 | for Index, Value in pairs(Data or {}) do | |
1358 | Object[Index] = Value | |
1359 | end | |
1360 | Object.Parent = Parent | |
1361 | Object.Name = Name | |
1362 | return Object | |
1363 | end | |
1364 | ||
1365 | Gunty = New("Model",char,"Gunty",{}) | |
1366 | Handle = New("Part",Gunty,"Handle",{Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1, 1.7700001, 1),CFrame = CFrame.new(31.0716114, 2.79670954, -174.846329, 0.999894261, 0.010924357, 0.00963267777, -0.0110270018, 0.999882579, 0.0106679145, -0.00951499958, -0.0107729975, 0.999897003),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
1367 | Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1368 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Dark green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.03999996, 0.290000111, 0.189999968),CFrame = CFrame.new(31.058609, 2.34723592, -175.197876, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.156863, 0.498039, 0.278431),}) | |
1369 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1370 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.00469970703, -0.445775509, -0.356430054, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1371 | Part = New("Part",Gunty,"Part",{Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.01999998, 0.330000103, 0.229999959),CFrame = CFrame.new(31.058609, 2.34723592, -175.197876, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
1372 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1373 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.00469970703, -0.445775509, -0.356430054, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1374 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.04999995, 0.0500001162, 0.0599999726),CFrame = CFrame.new(31.0147629, 1.60638475, -174.821182, -0.00951508526, -0.010773032, 0.999899387, -0.0110270474, 0.999884665, 0.0106679332, -0.999896705, -0.0109243607, -0.00963272899),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
1375 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1376 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507501, -0.0110270362, -0.999896109, -0.0107730227, 0.999884129, -0.0109243607, 0.999898791, 0.0106679285, -0.00963272713),C1 = CFrame.new(-0.0439567566, -1.19107628, 0.0119018555, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1377 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(30.6584473, 2.04683352, -174.327209, -0.00951508433, -0.0107730264, 0.999899626, 0.248140842, 0.968642294, 0.0127975615, -0.968680143, 0.248236969, -0.00654343609),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
1378 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1379 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, 0.248140693, -0.968679547, -0.010773018, 0.968641758, 0.24823682, 0.99989897, 0.0127975577, -0.00654343609),C1 = CFrame.new(-0.409790039, -0.759893417, 0.507080078, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1380 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(30.9084473, 2.04683304, -174.327209, -0.00951508433, -0.0107730264, 0.999899626, 0.248140842, 0.968642294, 0.0127975615, -0.968680143, 0.248236969, -0.00654343609),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
1381 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1382 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, 0.248140693, -0.968679547, -0.010773018, 0.968641758, 0.24823682, 0.99989897, 0.0127975577, -0.00654343609),C1 = CFrame.new(-0.159816742, -0.757163048, 0.509490967, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1383 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(31.228447, 2.04683328, -174.327209, -0.00951508433, -0.0107730264, 0.999899626, 0.248140842, 0.968642294, 0.0127975615, -0.968680143, 0.248236969, -0.00654343609),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
1384 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1385 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, 0.248140693, -0.968679547, -0.010773018, 0.968641758, 0.24823682, 0.99989897, 0.0127975577, -0.00654343609),C1 = CFrame.new(0.160148621, -0.753666878, 0.512573242, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1386 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(30.8784504, 1.99683285, -175.357208, -0.00951508339, -0.010773031, 0.999899387, -0.269443661, 0.962987244, 0.00781129859, -0.962972045, -0.269341499, -0.0120655689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
1387 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1388 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, -0.269443542, -0.962971449, -0.0107730236, 0.962986648, -0.269341379, 0.999898791, 0.00781129394, -0.0120655652),C1 = CFrame.new(-0.179458618, -0.796388626, -0.521224976, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1389 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(31.4684505, 2.71683574, -175.357208, -0.00951508619, -0.0107730282, 0.999899626, 0.248140991, 0.968642175, 0.0127975615, -0.968680024, 0.248237148, -0.00654343236),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
1390 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1391 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507501, 0.248140842, -0.968679428, -0.0107730199, 0.968641579, 0.248236999, 0.99989897, 0.0127975577, -0.00654343236),C1 = CFrame.new(0.4025383, -0.070025444, -0.507858276, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1392 | Part = New("Part",Gunty,"Part",{Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.239999995, 0.330000132, 1.07000005),CFrame = CFrame.new(30.7338467, 2.35736775, -174.842926, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
1393 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1394 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.33291626, -0.443016529, -0.00453186035, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1395 | Part = New("Part",Gunty,"Part",{Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.239999995, 0.330000132, 1.07000005),CFrame = CFrame.new(31.3738499, 2.35736799, -174.842926, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
1396 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1397 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.30701828, -0.436024666, 0.00163269043, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1398 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(31.2084579, 1.99683356, -175.357178, -0.00951508339, -0.010773031, 0.999899387, -0.269443661, 0.962987244, 0.00781129859, -0.962972045, -0.269341499, -0.0120655689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
1399 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1400 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, -0.269443542, -0.962971449, -0.0107730236, 0.962986648, -0.269341379, 0.999898791, 0.00781129394, -0.0120655652),C1 = CFrame.new(0.150512695, -0.79278326, -0.518005371, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1401 | Part = New("Part",Gunty,"Part",{Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.01999998, 0.330000132, 0.229999959),CFrame = CFrame.new(31.0686169, 2.35712481, -174.467972, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
1402 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1403 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.00174713135, -0.443641663, 0.373596191, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1404 | Wedge = New("WedgePart",Gunty,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.13999975, 0.230000034, 0.560000122),CFrame = CFrame.new(31.0786934, 3.13681054, -175.132095, -1.00000238, -2.20054062e-07, 3.09199095e-07, 2.12065061e-07, -1.00000215, 3.20374966e-07, 2.75671482e-07, 3.09199095e-07, 1.00000226),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
1405 | mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.00000179, 2.11242877e-07, 2.80328095e-07, -2.20876245e-07, -1.00000155, 3.13855708e-07, 3.05473804e-07, 3.1478703e-07, 1.00000167),C1 = CFrame.new(0.00605010986, 0.343216896, -0.282043457, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1406 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(30.6284485, 2.71683502, -175.357208, -0.00951508619, -0.0107730282, 0.999899626, 0.248140991, 0.968642175, 0.0127975615, -0.968680024, 0.248237148, -0.00654343236),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
1407 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1408 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507501, 0.248140842, -0.968679428, -0.0107730199, 0.968641579, 0.248236999, 0.99989897, 0.0127975577, -0.00654343236),C1 = CFrame.new(-0.437374115, -0.079202652, -0.515945435, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1409 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(30.8884487, 2.71683598, -174.327209, -0.00951508339, -0.010773031, 0.999899387, -0.269443661, 0.962987244, 0.00781129859, -0.962972045, -0.269341499, -0.0120655689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
1410 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1411 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, -0.269443542, -0.962971449, -0.0107730236, 0.962986648, -0.269341379, 0.999898791, 0.00781129394, -0.0120655652),C1 = CFrame.new(-0.187202454, -0.0874576569, 0.516448975, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1412 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Dark green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.290000111, 1.08999991),CFrame = CFrame.new(30.7338486, 2.3574791, -174.84285, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.156863, 0.498039, 0.278431),}) | |
1413 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1414 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.33291626, -0.442905903, -0.00445556641, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1415 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Dark green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0700000003, 0.759999931, 0.0500000007),CFrame = CFrame.new(31.6297836, 3.38593745, -174.84967, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.156863, 0.498039, 0.278431),}) | |
1416 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1417 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.551647186, 0.595292091, 0.00831604004, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1418 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Dark green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0600000024, 1.90999997, 0.0500000007),CFrame = CFrame.new(31.5712833, 2.60158253, -174.845505, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.156863, 0.498039, 0.278431),}) | |
1419 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1420 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.50176239, -0.18965435, 0.00355529785, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1421 | Part = New("Part",Gunty,"Part",{Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.239999995, 0.330000132, 1.07000005),CFrame = CFrame.new(31.0538464, 2.35736966, -174.842926, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
1422 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1423 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.0129508972, -0.439518929, -0.00144958496, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1424 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Dark green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0600000024, 0.290000111, 0.409999996),CFrame = CFrame.new(31.568552, 2.3516109, -174.842773, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.156863, 0.498039, 0.278431),}) | |
1425 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1426 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.50176239, -0.439655781, 0.00360107422, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1427 | Wedge = New("WedgePart",Gunty,"Wedge",{Material = Enum.Material.Metal,Size = Vector3.new(1.04999983, 0.280000031, 0.600000083),CFrame = CFrame.new(30.8336945, 1.78095484, -174.838608, 1.77882612e-07, 8.97198333e-08, 1.00000238, 1.86264515e-08, -1.00000238, 8.64238245e-08, 1.00000238, -1.86264515e-08, -1.48080289e-07),BottomSurface = Enum.SurfaceType.Smooth,}) | |
1428 | mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.74157321e-07, 1.39698386e-08, 1.00000179, 8.98216967e-08, -1.00000179, -1.39698386e-08, 1.00000179, 8.63292371e-08, -1.5180558e-07),C1 = CFrame.new(-0.226764679, -1.01831722, -0.00540161133, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1429 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Dark green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.290000111, 1.09000003),CFrame = CFrame.new(31.0538521, 2.35747933, -174.842865, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.156863, 0.498039, 0.278431),}) | |
1430 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1431 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.0129470825, -0.439409733, -0.0013885498, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1432 | Part = New("Part",Gunty,"Part",{Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0700000003, 0.330000103, 0.229999959),CFrame = CFrame.new(30.5736599, 2.35258269, -174.833267, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
1433 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1434 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.493125916, -0.449655056, 0.00352478027, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1435 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(31.2184467, 2.71683574, -174.327209, -0.00951508339, -0.010773031, 0.999899387, -0.269443661, 0.962987244, 0.00781129859, -0.962972045, -0.269341499, -0.0120655689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
1436 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1437 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, -0.269443542, -0.962971449, -0.0107730236, 0.962986648, -0.269341379, 0.999898791, 0.00781129394, -0.0120655652),C1 = CFrame.new(0.14276123, -0.0838527679, 0.519622803, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1438 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(30.8884506, 2.71683574, -175.357208, -0.00951508619, -0.0107730282, 0.999899626, 0.248140991, 0.968642175, 0.0127975615, -0.968680024, 0.248237148, -0.00654343236),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
1439 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1440 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507501, 0.248140842, -0.968679428, -0.0107730199, 0.968641579, 0.248236999, 0.99989897, 0.0127975577, -0.00654343236),C1 = CFrame.new(-0.177398682, -0.0763616562, -0.513442993, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1441 | Part = New("Part",Gunty,"Part",{Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0900000036, 0.330000103, 0.449999958),CFrame = CFrame.new(31.5435581, 2.35188746, -174.842529, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
1442 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1443 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.476764679, -0.439654827, 0.00360107422, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1444 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.00999999, 0.570000112, 1.05999994),CFrame = CFrame.new(31.0635662, 2.35679555, -174.843231, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
1445 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1446 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.00322341919, -0.439983368, -0.0016784668, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1447 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0900000036, 1.41000009, 0.0799999684),CFrame = CFrame.new(31.5487957, 2.34199333, -174.842697, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1448 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1449 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.482112885, -0.44948864, 0.00337219238, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1450 | Part = New("Part",Gunty,"Part",{Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999948, 0.300000042, 1),CFrame = CFrame.new(31.3557091, 1.79857111, -174.838364, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
1451 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1452 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.294998169, -0.995002747, 4.57763672e-05, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1453 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(30.6384506, 1.99683368, -175.357208, -0.00951508339, -0.010773031, 0.999899387, -0.269443661, 0.962987244, 0.00781129859, -0.962972045, -0.269341499, -0.0120655689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
1454 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1455 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, -0.269443542, -0.962971449, -0.0107730236, 0.962986648, -0.269341379, 0.999898791, 0.00781129394, -0.0120655652),C1 = CFrame.new(-0.419433594, -0.7990098, -0.523529053, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1456 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.26000011, 0.0599999726),CFrame = CFrame.new(31.0184479, 1.71683359, -174.307205, -0.00951508526, -0.010773032, 0.999899387, -0.0110270474, 0.999884665, 0.0106679332, -0.999896705, -0.0109243607, -0.00963272899),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
1457 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1458 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507501, -0.0110270362, -0.999896109, -0.0107730227, 0.999884129, -0.0109243607, 0.999898791, 0.0106679285, -0.00963272713),C1 = CFrame.new(-0.0463790894, -1.08613729, 0.527038574, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1459 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(30.6384487, 2.7168355, -174.327209, -0.00951508339, -0.010773031, 0.999899387, -0.269443661, 0.962987244, 0.00781129859, -0.962972045, -0.269341499, -0.0120655689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
1460 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1461 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, -0.269443542, -0.962971449, -0.0107730236, 0.962986648, -0.269341379, 0.999898791, 0.00781129394, -0.0120655652),C1 = CFrame.new(-0.437175751, -0.0901889801, 0.514038086, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1462 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(31.2084503, 2.7168355, -175.357208, -0.00951508619, -0.0107730282, 0.999899626, 0.248140991, 0.968642175, 0.0127975615, -0.968680024, 0.248237148, -0.00654343236),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
1463 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1464 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507501, 0.248140842, -0.968679428, -0.0107730199, 0.968641579, 0.248236999, 0.99989897, 0.0127975577, -0.00654343236),C1 = CFrame.new(0.142566681, -0.072865963, -0.510360718, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1465 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.100000001, 0.790000141, 0.0799999684),CFrame = CFrame.new(31.6096954, 3.40187716, -174.848618, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1466 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1467 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.531375885, 0.610999107, 0.0093536377, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1468 | Wedge = New("WedgePart",Gunty,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.13999975, 0.230000034, 0.560000122),CFrame = CFrame.new(31.0786934, 3.13681054, -174.572098, 1.00000238, 2.2349559e-07, -2.21654773e-07, 2.05182005e-07, -1.00000215, 2.75671482e-07, -1.9185245e-07, -3.4738332e-07, -1.00000238),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
1469 | mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.00000179, 2.06011464e-07, -1.95577741e-07, 2.23604729e-07, -1.00000155, -3.41795385e-07, -2.17929482e-07, 2.81259418e-07, -1.00000179),C1 = CFrame.new(0.000720977783, 0.337183952, 0.277893066, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1470 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(31.5084496, 2.04683304, -174.327209, -0.00951508433, -0.0107730264, 0.999899626, 0.248140842, 0.968642294, 0.0127975615, -0.968680143, 0.248236969, -0.00654343609),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
1471 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1472 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, 0.248140693, -0.968679547, -0.010773018, 0.968641758, 0.24823682, 0.99989897, 0.0127975577, -0.00654343609),C1 = CFrame.new(0.440120697, -0.750608444, 0.515274048, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1473 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.07999992, 0.560000122, 1.07999992),CFrame = CFrame.new(31.0814381, 3.53226137, -174.855682, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
1474 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1475 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.00180435181, 0.735672951, -0.00140380859, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1476 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Dark green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.03999996, 0.290000111, 0.189999968),CFrame = CFrame.new(31.0686169, 2.35712481, -174.467972, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.156863, 0.498039, 0.278431),}) | |
1477 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1478 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.00174713135, -0.443641663, 0.373596191, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1479 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Dark green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0799999386, 0.290000111, 0.189999968),CFrame = CFrame.new(30.5586605, 2.35274792, -174.833176, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.156863, 0.498039, 0.278431),}) | |
1480 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1481 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.508125305, -0.449654579, 0.00347900391, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1482 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(31.4684525, 1.99683356, -175.357208, -0.00951508339, -0.010773031, 0.999899387, -0.269443661, 0.962987244, 0.00781129859, -0.962972045, -0.269341499, -0.0120655689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
1483 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1484 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, -0.269443542, -0.962971449, -0.0107730236, 0.962986648, -0.269341379, 0.999898791, 0.00781129394, -0.0120655652),C1 = CFrame.new(0.410480499, -0.789942741, -0.515533447, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1485 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.26000011, 0.0599999726),CFrame = CFrame.new(31.0184479, 1.70683408, -175.347198, -0.00951508526, -0.010773032, 0.999899387, -0.0110270474, 0.999884665, 0.0106679332, -0.999896705, -0.0109243607, -0.00963272899),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
1486 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1487 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507501, -0.0110270362, -0.999896109, -0.0107730227, 0.999884129, -0.0109243607, 0.999898791, 0.0106679285, -0.00963272713),C1 = CFrame.new(-0.0363731384, -1.08493185, -0.512954712, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1488 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(31.5084476, 2.71683526, -174.327209, -0.00951508339, -0.010773031, 0.999899387, -0.269443661, 0.962987244, 0.00781129859, -0.962972045, -0.269341499, -0.0120655689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),}) | |
1489 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1490 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, -0.269443542, -0.962971449, -0.0107730236, 0.962986648, -0.269341379, 0.999898791, 0.00781129394, -0.0120655652),C1 = CFrame.new(0.432731628, -0.0806851387, 0.522415161, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1491 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Dark green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.290000111, 1.09000003),CFrame = CFrame.new(31.3738632, 2.35747814, -174.842865, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.156863, 0.498039, 0.278431),}) | |
1492 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1493 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.307029724, -0.435914993, 0.00169372559, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1494 | ||
1495 | ||
1496 | local NewInstance = function(instance,parent,properties) | |
1497 | local inst = Instance.new(instance,parent) | |
1498 | if(properties)then | |
1499 | for i,v in next, properties do | |
1500 | pcall(function() inst[i] = v end) | |
1501 | end | |
1502 | end | |
1503 | return inst; | |
1504 | end | |
1505 | ||
1506 | local HW = NewInstance('Weld',char,{Part0 = ra, Part1 = Handle, C0 = CF(0, 0, 0) * angles(0,0,0)}) | |
1507 | ||
1508 | ArmorColorParts = {} | |
1509 | ArmorColorParts2 = {} | |
1510 | NeonColorParts = {} | |
1511 | local all, last = {}, nil | |
1512 | function scan(p) | |
1513 | for _, v in pairs(p:GetChildren()) do | |
1514 | if v:IsA("BasePart") then | |
1515 | if v.BrickColor == BrickColor.new("Black") then | |
1516 | table.insert(ArmorColorParts, v) | |
1517 | end | |
1518 | if v.BrickColor == BrickColor.new("Medium stone grey") then | |
1519 | table.insert(ArmorColorParts2, v) | |
1520 | end | |
1521 | if v.BrickColor == BrickColor.new("Dark green") then | |
1522 | table.insert(NeonColorParts, v) | |
1523 | end | |
1524 | if last then | |
1525 | local w = Instance.new("Weld") | |
1526 | w.Part0, w.Part1 = last, v | |
1527 | w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse() | |
1528 | w.Parent = last | |
1529 | end | |
1530 | table.insert(all, v) | |
1531 | last = v | |
1532 | end | |
1533 | scan(v) | |
1534 | end | |
1535 | end | |
1536 | scan(Gunty) | |
1537 | for _, v in pairs(all) do | |
1538 | v.Anchored = false | |
1539 | v.CanCollide = false | |
1540 | end | |
1541 | ------------------------------------------------------- | |
1542 | --Start Customization-- | |
1543 | ------------------------------------------------------- | |
1544 | local Player_Size = 1 | |
1545 | if Player_Size ~= 1 then | |
1546 | root.Size = root.Size * Player_Size | |
1547 | tors.Size = tors.Size * Player_Size | |
1548 | hed.Size = hed.Size * Player_Size | |
1549 | ra.Size = ra.Size * Player_Size | |
1550 | la.Size = la.Size * Player_Size | |
1551 | rl.Size = rl.Size * Player_Size | |
1552 | ll.Size = ll.Size * Player_Size | |
1553 | ---------------------------------------------------------------------------------- | |
1554 | rootj.Parent = root | |
1555 | neck.Parent = tors | |
1556 | RW.Parent = tors | |
1557 | LW.Parent = tors | |
1558 | RH.Parent = tors | |
1559 | LH.Parent = tors | |
1560 | ---------------------------------------------------------------------------------- | |
1561 | rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
1562 | rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
1563 | neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)) | |
1564 | neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180)) | |
1565 | RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0 | |
1566 | LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0 | |
1567 | ---------------------------------------------------------------------------------- | |
1568 | RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
1569 | LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
1570 | RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
1571 | LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
1572 | --hat.Parent = Character | |
1573 | end | |
1574 | ---------------------------------------------------------------------------------- | |
1575 | local SONG = 1547042045 | |
1576 | local SONG2 = 0 | |
1577 | local Music = Instance.new("Sound",tors) | |
1578 | Music.Volume = 2.5 | |
1579 | Music.Looped = true | |
1580 | Music.Pitch = 1 --Pitcher | |
1581 | ---------------------------------------------------------------------------------- | |
1582 | local equipped = false | |
1583 | local idle = 0 | |
1584 | local change = 1 | |
1585 | local val = 0 | |
1586 | local toim = 0 | |
1587 | local idleanim = 0.4 | |
1588 | local sine = 0 | |
1589 | local Mode = 1 | |
1590 | ---------------------------------------------------------------------------------- | |
1591 | hum.WalkSpeed = 8 | |
1592 | hum.JumpPower = 57 | |
1593 | hum.Animator.Parent = nil | |
1594 | local naeeym2 = IT("BillboardGui",char) | |
1595 | naeeym2.AlwaysOnTop = true | |
1596 | naeeym2.Size = UDim2.new(5,35,2,15) | |
1597 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
1598 | naeeym2.MaxDistance = 75 | |
1599 | naeeym2.Adornee = hed | |
1600 | naeeym2.Name = "Name" | |
1601 | --naeeym2.PlayerToHideFrom = Player | |
1602 | local tecks2 = IT("TextLabel",naeeym2) | |
1603 | tecks2.BackgroundTransparency = 1 | |
1604 | tecks2.TextScaled = true | |
1605 | tecks2.BorderSizePixel = 0 | |
1606 | tecks2.Text = "Normal" | |
1607 | tecks2.Font = "Fantasy" | |
1608 | tecks2.TextSize = 30 | |
1609 | tecks2.TextStrokeTransparency = 0 | |
1610 | tecks2.TextColor3 = Color3.fromRGB(0, 0, 0) | |
1611 | tecks2.TextStrokeColor3 = Color3.fromRGB(40, 127, 71) | |
1612 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
1613 | tecks2.Parent = naeeym2 | |
1614 | ------------------------------------------------------- | |
1615 | --End Customization-- | |
1616 | ------------------------------------------------------- | |
1617 | ||
1618 | ||
1619 | ------------------------------------------------------- | |
1620 | --Start Attacks N Stuff-- | |
1621 | ------------------------------------------------------- | |
1622 | function resetmode() | |
1623 | tecks2.Text = "Normal" | |
1624 | tecks2.TextColor3 = Color3.fromRGB(0, 0, 0) | |
1625 | tecks2.TextStrokeColor3 = Color3.fromRGB(40, 127, 71) | |
1626 | for i, v in pairs(ArmorColorParts) do | |
1627 | v.BrickColor = BrickColor.new("Black") | |
1628 | v.Material = "SmoothPlastic" | |
1629 | v.Transparency = 0 | |
1630 | end | |
1631 | for i, v in pairs(ArmorColorParts2) do | |
1632 | v.BrickColor = BrickColor.new("Medium stone grey") | |
1633 | v.Material = "Metal" | |
1634 | v.Transparency = 0 | |
1635 | end | |
1636 | for i, v in pairs(NeonColorParts) do | |
1637 | maincolor = BrickColor.new("Dark green") | |
1638 | v.BrickColor = maincolor | |
1639 | v.Material = "Neon" | |
1640 | v.Transparency = 0 | |
1641 | end | |
1642 | Mode = 1 | |
1643 | SONG = 1547042045 | |
1644 | end | |
1645 | function Taunt() | |
1646 | attack = true | |
1647 | hum.WalkSpeed = 0 | |
1648 | TAUNT:Play() | |
1649 | repeat | |
1650 | swait() | |
1651 | TAUNT.Parent = tors | |
1652 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(25)), 0.15) | |
1653 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-3 - 1.5 * Cos(sine / 7)), Rad(0), Rad(-25)), 0.3) | |
1654 | RH.C0 = clerp(RH.C0, CF(.8* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, .2* Player_Size) * angles(Rad(0), Rad(45), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
1655 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
1656 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(-20), Rad(25)), 0.1) | |
1657 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(78 + 3.5 * Cos(sine / 20)), Rad(-25), Rad(-20)), 0.1) | |
1658 | until TAUNT.Playing == false | |
1659 | attack = false | |
1660 | hum.WalkSpeed = 8 | |
1661 | end | |
1662 | function attackone() | |
1663 | attack = true | |
1664 | hum.WalkSpeed = 3.01 | |
1665 | for i = 0, 1.7, 0.1 do | |
1666 | swait() | |
1667 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(-40)), 0.3) | |
1668 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(40)), 0.3) | |
1669 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-7), Rad(0), Rad(-7)), 0.3) | |
1670 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-65), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-25)), 0.3) | |
1671 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .3* Player_Size) * angles(Rad(90), Rad(-7.5 * Sin(sine / 20)), Rad(45)), 0.3) | |
1672 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.3) | |
1673 | end | |
1674 | Cso("203426541", ra, 10, 1) | |
1675 | HitboxFunction(root.CFrame * CF(0, 0, -2), 0.01, 1, 1, 1, 7, 10, 20, 3, "Normal") | |
1676 | CameraEnshaking(2, 5) | |
1677 | for i = 0, 1.4, 0.1 do | |
1678 | swait() | |
1679 | BlockEffect(maincolor, ra.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2) | |
1680 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(55)), 0.3) | |
1681 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3) | |
1682 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(87), Rad(0)) * angles(Rad(-30), Rad(0), Rad(15)), 0.3) | |
1683 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-87), Rad(0)) * angles(Rad(-5), Rad(0), Rad(9)), 0.3) | |
1684 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(90), Rad(-7.5 * Sin(sine / 20)), Rad(35)), 0.3) | |
1685 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.3) | |
1686 | end | |
1687 | hum.WalkSpeed = 8 | |
1688 | attack = false | |
1689 | end | |
1690 | function attacktwo() | |
1691 | attack = true | |
1692 | hum.WalkSpeed = 3.01 | |
1693 | for i = 0, 1.7, 0.1 do | |
1694 | swait() | |
1695 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3) | |
1696 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3) | |
1697 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-7), Rad(0), Rad(-45)), 0.3) | |
1698 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-25)), 0.3) | |
1699 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(10), Rad(-7.5 * Sin(sine / 20)), Rad(8)), 0.3) | |
1700 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(7.5 * Sin(sine / 20)), Rad(-8)), 0.3) | |
1701 | end | |
1702 | Cso("203426541", rl, 10, 1) | |
1703 | HitboxFunction(root.CFrame * CF(0, 0, -2), 0.01, 1, 1, 1, 7, 10, 20, 3, "Normal") | |
1704 | CameraEnshaking(2, 3) | |
1705 | for i = 0, 1.4, 0.1 do | |
1706 | swait() | |
1707 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3) | |
1708 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(5), Rad(0), Rad(0)), 0.3) | |
1709 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-7), Rad(0), Rad(65)), 0.3) | |
1710 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-10), Rad(0), Rad(35)), 0.3) | |
1711 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-7.5 * Sin(sine / 20)), Rad(8)), 0.3) | |
1712 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-8)), 0.3) | |
1713 | end | |
1714 | hum.WalkSpeed = 8 | |
1715 | attack = false | |
1716 | end | |
1717 | function attackthree() | |
1718 | attack = true | |
1719 | hum.WalkSpeed = 3.01 | |
1720 | for i = 0, 1.4, 0.1 do | |
1721 | swait() | |
1722 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3) | |
1723 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1724 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(-30)), 0.3) | |
1725 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(30)), 0.3) | |
1726 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(35)), 0.3) | |
1727 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(-35)), 0.3) | |
1728 | end | |
1729 | Cso("203426541", hed, 10, 1) | |
1730 | for i = 0, 1.7, 0.1 do | |
1731 | swait() | |
1732 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3) | |
1733 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
1734 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-5), Rad(0), Rad(30)), 0.3) | |
1735 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-30)), 0.3) | |
1736 | RW.C0 = clerp(RW.C0, CF(1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(90), Rad(0), Rad(-35)), 0.3) | |
1737 | LW.C0 = clerp(LW.C0, CF(-1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(90), Rad(0), Rad(35)), 0.3) | |
1738 | end | |
1739 | CameraEnshaking(2, 8) | |
1740 | Cso("260435136", hed, 10, .9) | |
1741 | BlockEffect(maincolor, Handle.CFrame * CF(0, -2, 0), 11, 11, 11, 10, 10, 10, 0.04, 1) | |
1742 | BlockEffect(BrickC("Really black"), Handle.CFrame * CF(0, -2, 0), 6, 6, 6, 5, 5, 5, 0.04, 1) | |
1743 | HitboxFunction(root.CFrame * CF(0, 0, -2), 0.01, 1, 1, 1, 7, 10, 20, 3, "Normal") | |
1744 | for i = 0, 1.8, 0.1 do | |
1745 | swait() | |
1746 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.2) | |
1747 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.2) | |
1748 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(-30)), 0.2) | |
1749 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(30)), 0.2) | |
1750 | RW.C0 = clerp(RW.C0, CF(1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(35)), 0.2) | |
1751 | LW.C0 = clerp(LW.C0, CF(-1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(-35)), 0.2) | |
1752 | end | |
1753 | hum.WalkSpeed = 8 | |
1754 | attack = false | |
1755 | end | |
1756 | function Power_Burst() | |
1757 | hum.WalkSpeed = 4 | |
1758 | attack = true | |
1759 | Cso("163619849", Handle, 10, 1.35) | |
1760 | for i = 0,4.3,0.1 do | |
1761 | swait() | |
1762 | PixelBlock(3,1,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.2,0.2,0.2,0.01,maincolor,0) | |
1763 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(0)), 0.15) | |
1764 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-23 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(-30)), 0.3) | |
1765 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15) | |
1766 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15) | |
1767 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(156), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
1768 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
1769 | end | |
1770 | CameraEnshaking(2.5, 20) | |
1771 | Cso("539294959", Handle, 10, .9) | |
1772 | BlockEffect(maincolor, Handle.CFrame * CF(0, -0, 0), 16, 16, 16, 22, 22, 22, 0.04, 1) | |
1773 | BlockEffect(BrickC("Really black"), Handle.CFrame * CF(0, -0, 0), 10, 10, 10, 12, 12, 12, 0.04, 1) | |
1774 | HitboxFunction(root.CFrame * CF(0, 0, -0), 0.01, 1, 1, 1, 19, 30, 75, 35, "Normal") | |
1775 | for i = 0,3,0.1 do | |
1776 | swait() | |
1777 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(0)), 0.15) | |
1778 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(-30)), 0.3) | |
1779 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15) | |
1780 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15) | |
1781 | RW.C0 = clerp(RW.C0, CF(1.5, 0.01 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(156), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
1782 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
1783 | end | |
1784 | hum.WalkSpeed = 8 | |
1785 | attack = false | |
1786 | end | |
1787 | function Magic_Bombs() | |
1788 | attack = true | |
1789 | hum.WalkSpeed = 0 | |
1790 | local GYRO = IT("BodyGyro",root) | |
1791 | GYRO.D = 100 | |
1792 | GYRO.P = 2000 | |
1793 | GYRO.MaxTorque = VT(0,4000000,0) | |
1794 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
1795 | for i = 0,3.6,0.1 do | |
1796 | swait() | |
1797 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2) | |
1798 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
1799 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
1800 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
1801 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2) | |
1802 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2) | |
1803 | end | |
1804 | CameraEnshaking(1, 6) | |
1805 | GYRO:Destroy() | |
1806 | Cso("588734356", Handle, 10, 1.05) | |
1807 | BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1) | |
1808 | BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1) | |
1809 | HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6.5, 14, 24, 2, "Normal") | |
1810 | for i = 0,2,0.1 do | |
1811 | swait() | |
1812 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2) | |
1813 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
1814 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
1815 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
1816 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(134)), 0.2) | |
1817 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2) | |
1818 | end | |
1819 | local GYRO = IT("BodyGyro",root) | |
1820 | GYRO.D = 100 | |
1821 | GYRO.P = 2000 | |
1822 | GYRO.MaxTorque = VT(0,4000000,0) | |
1823 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
1824 | for i = 0,2.4,0.1 do | |
1825 | swait() | |
1826 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15) | |
1827 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
1828 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
1829 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
1830 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2) | |
1831 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2) | |
1832 | end | |
1833 | GYRO:Destroy() | |
1834 | CameraEnshaking(1, 6) | |
1835 | Cso("588734356", Handle, 10, 1.05) | |
1836 | BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1) | |
1837 | BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1) | |
1838 | HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6,5, 14, 24, 2, "Normal") | |
1839 | for i = 0,2,0.1 do | |
1840 | swait() | |
1841 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15) | |
1842 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
1843 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
1844 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
1845 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(134)), 0.2) | |
1846 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2) | |
1847 | end | |
1848 | local GYRO = IT("BodyGyro",root) | |
1849 | GYRO.D = 100 | |
1850 | GYRO.P = 2000 | |
1851 | GYRO.MaxTorque = VT(0,4000000,0) | |
1852 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
1853 | for i = 0,2.4,0.1 do | |
1854 | swait() | |
1855 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15) | |
1856 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
1857 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
1858 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
1859 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2) | |
1860 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2) | |
1861 | end | |
1862 | GYRO:Destroy() | |
1863 | CameraEnshaking(1, 6) | |
1864 | Cso("588734356", Handle, 10, 1.05) | |
1865 | BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1) | |
1866 | BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1) | |
1867 | HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6.5, 14, 24, 2, "Normal") | |
1868 | for i = 0,2,0.1 do | |
1869 | swait() | |
1870 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15) | |
1871 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
1872 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
1873 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
1874 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(134)), 0.2) | |
1875 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2) | |
1876 | end | |
1877 | attack = false | |
1878 | hum.WalkSpeed = 8 | |
1879 | end | |
1880 | function Dangerous_Field() | |
1881 | attack = true | |
1882 | hum.WalkSpeed = 0 | |
1883 | for i = 0,10,0.1 do | |
1884 | swait() | |
1885 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.2) | |
1886 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
1887 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2), Rad(0), Rad(-2.1)), 0.15) | |
1888 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
1889 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(2.1), Rad(0), Rad(90)), 0.2) | |
1890 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(2.1), Rad(0), Rad(-90)), 0.2) | |
1891 | CameraEnshaking(1, 7) | |
1892 | Cso("588734356", Handle, 10, 1.2) | |
1893 | BlockEffect(maincolor, Handle.CFrame * CF(0, -8, 0), 9, 9, 9, 11, 11, 11, 0.07, 1) | |
1894 | BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -8, 0), 3, 3, 3, 5, 5, 5, 0.05, 1) | |
1895 | HitboxFunction(Handle.CFrame * CF(0, 0, -10.3), 0.05, 1, 1, 1, 7.3, 15, 20, 3, "Normal") | |
1896 | HitboxFunction(Handle.CFrame * CF(0, 0, -0), 0.05, 1, 1, 1, 5, 2, 3, 10, "Normal") | |
1897 | end | |
1898 | attack = false | |
1899 | hum.WalkSpeed = 8 | |
1900 | end | |
1901 | function Shockwave() | |
1902 | attack = true | |
1903 | hum.WalkSpeed = 0 | |
1904 | for i = 0,4,0.1 do | |
1905 | swait() | |
1906 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
1907 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1908 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
1909 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
1910 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
1911 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
1912 | end | |
1913 | coroutine.resume(coroutine.create(function() | |
1914 | BlockEffect(maincolor, rl.CFrame * CF(-1, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
1915 | BlockEffect(maincolor, rl.CFrame * CF(-3, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
1916 | BlockEffect(maincolor, rl.CFrame * CF(2, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
1917 | HitboxFunction(rl.CFrame * CF(-1, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare") | |
1918 | HitboxFunction(rl.CFrame * CF(-3, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare") | |
1919 | HitboxFunction(rl.CFrame * CF(2, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare") | |
1920 | CameraEnshaking(1, 7) | |
1921 | wait(0.05) | |
1922 | BlockEffect(maincolor, rl.CFrame * CF(-0.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
1923 | BlockEffect(maincolor, rl.CFrame * CF(-2.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
1924 | BlockEffect(maincolor, rl.CFrame * CF(1.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
1925 | HitboxFunction(rl.CFrame * CF(-0.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 20, 10, "Snare") | |
1926 | HitboxFunction(rl.CFrame * CF(-2.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
1927 | HitboxFunction(rl.CFrame * CF(1.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
1928 | CameraEnshaking(1, 7) | |
1929 | wait(0.05) | |
1930 | BlockEffect(maincolor, rl.CFrame * CF(-0.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
1931 | BlockEffect(maincolor, rl.CFrame * CF(-2.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
1932 | BlockEffect(maincolor, rl.CFrame * CF(1.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
1933 | HitboxFunction(rl.CFrame * CF(-0.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
1934 | HitboxFunction(rl.CFrame * CF(-2.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
1935 | HitboxFunction(rl.CFrame * CF(1.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
1936 | CameraEnshaking(1, 7) | |
1937 | wait(0.05) | |
1938 | BlockEffect(maincolor, rl.CFrame * CF(-0.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
1939 | BlockEffect(maincolor, rl.CFrame * CF(-2.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
1940 | BlockEffect(maincolor, rl.CFrame * CF(1.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
1941 | HitboxFunction(rl.CFrame * CF(-0.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
1942 | HitboxFunction(rl.CFrame * CF(-2.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
1943 | HitboxFunction(rl.CFrame * CF(1.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
1944 | CameraEnshaking(1, 7) | |
1945 | wait(0.05) | |
1946 | BlockEffect(maincolor, rl.CFrame * CF(-0.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
1947 | BlockEffect(maincolor, rl.CFrame * CF(-2.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
1948 | BlockEffect(maincolor, rl.CFrame * CF(1.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
1949 | HitboxFunction(rl.CFrame * CF(-0.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
1950 | HitboxFunction(rl.CFrame * CF(-2.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
1951 | HitboxFunction(rl.CFrame * CF(1.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
1952 | CameraEnshaking(1, 7) | |
1953 | wait(0.05) | |
1954 | BlockEffect(maincolor, rl.CFrame * CF(-0, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
1955 | BlockEffect(maincolor, rl.CFrame * CF(-2, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
1956 | BlockEffect(maincolor, rl.CFrame * CF(1, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
1957 | HitboxFunction(rl.CFrame * CF(-0, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
1958 | HitboxFunction(rl.CFrame * CF(-2, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
1959 | HitboxFunction(rl.CFrame * CF(1, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare") | |
1960 | CameraEnshaking(1, 7) | |
1961 | end)) | |
1962 | Cso("440145223", Handle, 10, 1.05) | |
1963 | for i = 1,7,0.1 do | |
1964 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15) | |
1965 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3) | |
1966 | RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15) | |
1967 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
1968 | RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1) | |
1969 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1) | |
1970 | end | |
1971 | wait(.6) | |
1972 | hum.WalkSpeed = 8 | |
1973 | attack = false | |
1974 | end | |
1975 | function Pulse() | |
1976 | attack = true | |
1977 | hum.WalkSpeed = 0 | |
1978 | local GYRO = IT("BodyGyro",root) | |
1979 | GYRO.D = 100 | |
1980 | GYRO.P = 2000 | |
1981 | GYRO.MaxTorque = VT(0,4000000,0) | |
1982 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
1983 | for i = 0,4,0.1 do | |
1984 | swait() | |
1985 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(0)), 0.15) | |
1986 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3) | |
1987 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15) | |
1988 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15) | |
1989 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(0 - 2.5 * Sin(sine / 20))), 0.1) | |
1990 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
1991 | end | |
1992 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -5, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
1993 | HitboxFunction(Handle.CFrame * CF(-0, -7, -0), 0.05, 1, 1, 1, 5, 30, 40, 0, "Freeze") | |
1994 | CameraEnshaking(1, 25) | |
1995 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -10, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
1996 | HitboxFunction(Handle.CFrame * CF(-0, -12, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
1997 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -15, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
1998 | HitboxFunction(Handle.CFrame * CF(0, -17, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
1999 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -20, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2000 | HitboxFunction(Handle.CFrame * CF(0, -22, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
2001 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -25, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2002 | HitboxFunction(Handle.CFrame * CF(0, -27, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
2003 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -30, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2004 | HitboxFunction(Handle.CFrame * CF(0, -32, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
2005 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -35, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2006 | HitboxFunction(Handle.CFrame * CF(0, -37, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
2007 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -40, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2008 | HitboxFunction(Handle.CFrame * CF(0, -42, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
2009 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -45, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2010 | HitboxFunction(Handle.CFrame * CF(0, -47, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
2011 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -50, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2012 | HitboxFunction(Handle.CFrame * CF(0, -52, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
2013 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -55, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2014 | HitboxFunction(Handle.CFrame * CF(0, -57, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
2015 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -60, -0), 4, 4, 4, 5, 5, 5, 0.05, 1) | |
2016 | HitboxFunction(Handle.CFrame * CF(0, -62, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze") | |
2017 | Cso("440145223", Handle, 10, 1.05) | |
2018 | GYRO:Destroy() | |
2019 | for i = 1,2,0.1 do | |
2020 | swait() | |
2021 | PixelBlock(2,1,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.04,0.04,0.04,0.06,maincolor,0) | |
2022 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(0)), 0.15) | |
2023 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3) | |
2024 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15) | |
2025 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15) | |
2026 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(140), Rad(0), Rad(0 - 2.5 * Sin(sine / 20))), 0.1) | |
2027 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
2028 | end | |
2029 | hum.WalkSpeed = 8 | |
2030 | attack = false | |
2031 | end | |
2032 | function LAZER() | |
2033 | attack = true | |
2034 | hum.WalkSpeed = 0.03 | |
2035 | for i = 0,4,0.1 do | |
2036 | swait() | |
2037 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(0)), 0.15) | |
2038 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3) | |
2039 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15) | |
2040 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15) | |
2041 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(0 - 2.5 * Sin(sine / 20))), 0.1) | |
2042 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
2043 | end | |
2044 | LAZOR:Play() | |
2045 | local GYRO = IT("BodyGyro",root) | |
2046 | GYRO.D = 100 | |
2047 | GYRO.P = 2000 | |
2048 | GYRO.MaxTorque = VT(0,4000000,0) | |
2049 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
2050 | repeat | |
2051 | swait(2) | |
2052 | PixelBlock(2,1,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.3,0.3,0.3,0.4,maincolor,0) | |
2053 | PixelBlock(4,3,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.5,maincolor,0) | |
2054 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
2055 | LAZOR.Parent = ra | |
2056 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -5, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
2057 | HitboxFunction(Handle.CFrame * CF(-0, -7, -0), 0.05, 1, 1, 1, 5, 1, 5, 0, "Freeze") | |
2058 | CameraEnshaking(1, 7) | |
2059 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -10, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
2060 | HitboxFunction(Handle.CFrame * CF(-0, -12, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
2061 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -15, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
2062 | HitboxFunction(Handle.CFrame * CF(0, -17, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
2063 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -20, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
2064 | HitboxFunction(Handle.CFrame * CF(0, -22, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
2065 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -25, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
2066 | HitboxFunction(Handle.CFrame * CF(0, -27, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
2067 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -30, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
2068 | HitboxFunction(Handle.CFrame * CF(0, -32, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
2069 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -35, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
2070 | HitboxFunction(Handle.CFrame * CF(0, -37, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
2071 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -40, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
2072 | HitboxFunction(Handle.CFrame * CF(0, -42, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
2073 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -45, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
2074 | HitboxFunction(Handle.CFrame * CF(0, -47, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
2075 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -50, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
2076 | HitboxFunction(Handle.CFrame * CF(0, -52, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
2077 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -55, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
2078 | HitboxFunction(Handle.CFrame * CF(0, -57, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
2079 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -60, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
2080 | HitboxFunction(Handle.CFrame * CF(0, -62, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
2081 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -65, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
2082 | HitboxFunction(Handle.CFrame * CF(0, -67, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
2083 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -70, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
2084 | HitboxFunction(Handle.CFrame * CF(0, -72, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
2085 | BlockEffect(maincolor, Handle.CFrame * CF(-0, -75, -0), 4, 4, 4, 5, 5, 5, 0.08, 1) | |
2086 | HitboxFunction(Handle.CFrame * CF(0, -77, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze") | |
2087 | until LAZOR.Playing == false | |
2088 | GYRO:Destroy() | |
2089 | hum.WalkSpeed = 8 | |
2090 | attack = false | |
2091 | end | |
2092 | function Spirit_Beam() | |
2093 | attack = true | |
2094 | hum.WalkSpeed = 0 | |
2095 | local GYRO = IT("BodyGyro",root) | |
2096 | GYRO.D = 100 | |
2097 | GYRO.P = 2000 | |
2098 | GYRO.MaxTorque = VT(0,4000000,0) | |
2099 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
2100 | for i = 0,5,0.1 do | |
2101 | swait() | |
2102 | GYRO.cframe = CF(root.Position,mouse.Hit.p) | |
2103 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2104 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(8 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2105 | RH.C0 = clerp(RH.C0, CF(1, -0.7 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
2106 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
2107 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(0 - 2.5 * Sin(sine / 20))), 0.1) | |
2108 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-0 + 2.5 * Sin(sine / 20))), 0.1) | |
2109 | end | |
2110 | ref = New("Part",m,"ref",{Anchored = true, CanCollide = false,Transparency = 1,Size = Vector3.new(0.200000018, 0.299999923, 0.2),Position = mouse.Hit.p,Color = Color3.new(1, 0, 0),}) | |
2111 | HitboxFunction(ref.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 4, 25, 50, 1, "Normal") | |
2112 | BlockEffect(maincolor, ref.CFrame * CF(-0, -0, -0), 4, 4, 4, 5, 5, 5, 0.07, 1) | |
2113 | local beam = Instance.new("Part", workspace) | |
2114 | beam.BrickColor = BrickColor.new("Fog") | |
2115 | beam.FormFactor = "Custom" | |
2116 | beam.Material = "Glass" | |
2117 | beam.Transparency = 0.5 | |
2118 | beam.Anchored = true | |
2119 | beam.Locked = true | |
2120 | beam.CanCollide = false | |
2121 | local distance = (Handle.CFrame.p - mouse.Hit.p).magnitude | |
2122 | beam.Size = Vector3.new(1.05, 1.05, distance) | |
2123 | beam.CFrame = CFrame.new(Handle.CFrame.p, mouse.Hit.p) * CFrame.new(0, 0, -distance / 2) | |
2124 | game:GetService("Debris"):AddItem(beam, 0.14) | |
2125 | local sound = Instance.new('Sound',Handle) | |
2126 | sound.SoundId = 'rbxassetid://588697948' | |
2127 | sound.Volume = 7 | |
2128 | sound.EmitterSize = 40 | |
2129 | sound.MaxDistance = 450 | |
2130 | sound:Play() | |
2131 | game:GetService("Debris"):AddItem(beam, sound.TimeLength) | |
2132 | GYRO:Destroy() | |
2133 | PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0) | |
2134 | PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0) | |
2135 | PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0) | |
2136 | PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0) | |
2137 | PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0) | |
2138 | PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0) | |
2139 | PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0) | |
2140 | PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0) | |
2141 | PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0) | |
2142 | PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0) | |
2143 | wait(0.3) | |
2144 | attack = false | |
2145 | hum.WalkSpeed = 8 | |
2146 | ref:Destroy() | |
2147 | end | |
2148 | function Distort() | |
2149 | attack = true | |
2150 | hum.WalkSpeed = 0 | |
2151 | local pos = root.Position | |
2152 | root.CFrame = CF(mouse.Hit.p+Vector3.new(0,3,0),pos) | |
2153 | Cso("261227592", tors, 10, 0.85) | |
2154 | for i = 1,2.5,0.1 do | |
2155 | swait() | |
2156 | rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
2157 | end | |
2158 | attack = false | |
2159 | hum.WalkSpeed = 8 | |
2160 | end | |
2161 | function Ancient_Rage() | |
2162 | attack = true | |
2163 | hum.WalkSpeed = 4 | |
2164 | Cso("907329532", tors, 10, 1.05) | |
2165 | for i = 1,14,0.1 do | |
2166 | swait() | |
2167 | rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
2168 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3) | |
2169 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15) | |
2170 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15) | |
2171 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(140), Rad(0), Rad(0 - 2.5 * Sin(sine / 20))), 0.1) | |
2172 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
2173 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 7)) do | |
2174 | if v:FindFirstChild("Head") then | |
2175 | Eviscerate(v) | |
2176 | end | |
2177 | end | |
2178 | end | |
2179 | attack = false | |
2180 | hum.WalkSpeed = 8 | |
2181 | end | |
2182 | function TTTTTTTTTTTaunt() | |
2183 | attack = true | |
2184 | hum.WalkSpeed = 0 | |
2185 | DTAUNT:Play() | |
2186 | repeat | |
2187 | swait() | |
2188 | DTAUNT.Parent = tors | |
2189 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15) | |
2190 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.3) | |
2191 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * RHCF * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15) | |
2192 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * LHCF * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15) | |
2193 | RW.C0 = clerp(RW.C0, CF(1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1) | |
2194 | LW.C0 = clerp(LW.C0, CF(-1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1) | |
2195 | until DTAUNT.Playing == false | |
2196 | attack = false | |
2197 | hum.WalkSpeed = 8 | |
2198 | end | |
2199 | function HAAH() | |
2200 | attack = true | |
2201 | hum.WalkSpeed = 0 | |
2202 | Cso("300208779", hed, 10, 1) | |
2203 | for i = 0,9,0.1 do | |
2204 | swait() | |
2205 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 2)) * angles(Rad(-30), Rad(0), Rad(0)), 0.15) | |
2206 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.3) | |
2207 | if Mrandom(1,15) == 1 then | |
2208 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1) | |
2209 | end | |
2210 | RH.C0 = clerp(RH.C0, CF(1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * RHCF * angles(Rad(-4.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-30)), 0.15) | |
2211 | LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * LHCF * angles(Rad(-6.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(30)), 0.15) | |
2212 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(15 - 7.5 * Sin(sine / 2))), 0.1) | |
2213 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-15 - 7.5 * Sin(sine / 2))), 0.1) | |
2214 | end | |
2215 | attack = false | |
2216 | hum.WalkSpeed = 10 | |
2217 | end | |
2218 | function again() | |
2219 | attack = true | |
2220 | hum.WalkSpeed = 0 | |
2221 | ITAUNT:Play() | |
2222 | repeat | |
2223 | swait() | |
2224 | ITAUNT.Parent = tors | |
2225 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.08) | |
2226 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08) | |
2227 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(-25)), 0.08) | |
2228 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(20)), 0.08) | |
2229 | RW.C0 = clerp(RW.C0, CF(1.5, 0.8 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(120 - 2.5 * Sin(sine / 20))), 0.1) | |
2230 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(75), Rad(10 * Cos(sine / 20)), Rad(-0 + 2.5 * Sin(sine / 20))), 0.1) | |
2231 | until ITAUNT.Playing == false | |
2232 | attack = false | |
2233 | hum.WalkSpeed = 8 | |
2234 | end | |
2235 | function LunarSpin() | |
2236 | attack = true | |
2237 | hum.WalkSpeed = 0 | |
2238 | for i = 0,17,0.05 do | |
2239 | CameraEnshaking(1, 5) | |
2240 | MagniDamage(tors, 47, 2, 5, 0, "Normal") | |
2241 | Effects.Spiral.Create(BrickC("Teal"), tors.CFrame * CF(0, 0, 0), 3, 3, 3, 4, 4, 4, 0.03) | |
2242 | Effects.Block.Create(BrickC("Cyan"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
2243 | swait() | |
2244 | PixelBlock(1.5,14,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-360,360)),math.rad(math.random(-50,50))),3,3,3,0.3,maincolor,0) | |
2245 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15) | |
2246 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2247 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2248 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2249 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.1) | |
2250 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-110)), 0.1) | |
2251 | end | |
2252 | hum.WalkSpeed = 8 | |
2253 | attack = false | |
2254 | end | |
2255 | function Decapitate() | |
2256 | local target = nil | |
2257 | local targettorso = nil | |
2258 | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then | |
2259 | if mouse.Target.Parent.Humanoid.PlatformStand == false then | |
2260 | target = mouse.Target.Parent.Humanoid | |
2261 | targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso") | |
2262 | targethead = mouse.Target.Parent:FindFirstChild("Head") | |
2263 | end | |
2264 | end | |
2265 | if target ~= nil then | |
2266 | targettorso.Anchored = true | |
2267 | attack = true | |
2268 | hum.WalkSpeed = 0 | |
2269 | root.CFrame = targettorso.CFrame * CF(0,0,2.6) | |
2270 | for i = 0,4.2,0.1 do | |
2271 | swait() | |
2272 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15) | |
2273 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3) | |
2274 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
2275 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
2276 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(0), Rad(35)), 0.1) | |
2277 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) | |
2278 | end | |
2279 | local ModelHead01 = New("Model", char, "", {}) | |
2280 | local Humanoid01 = New("Humanoid", ModelHead01, "Humanoid", {}) | |
2281 | local Head01 = targethead:Clone() | |
2282 | targethead.Transparency = 1 | |
2283 | Head01.Parent = ModelHead01 | |
2284 | local weldHead01 = Instance.new("Weld") | |
2285 | weldHead01.Parent = Head01 | |
2286 | weldHead01.Part0 = targethead | |
2287 | weldHead01.Part1 = Head01 | |
2288 | weldHead01.C1 = CFrame.new(0, 0, 0) | |
2289 | targethead.face:Remove() | |
2290 | weldHead01.Part0 = ra | |
2291 | weldHead01.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0)) | |
2292 | targettorso:BreakJoints() | |
2293 | CreateSound("314390675", targettorso, 5, .7) | |
2294 | for i = 0,3.2,0.1 do | |
2295 | swait() | |
2296 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15) | |
2297 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
2298 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15) | |
2299 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(50)), 0.15) | |
2300 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(20), Rad(90)), 0.1) | |
2301 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) | |
2302 | end | |
2303 | for i = 0,4.2,0.1 do | |
2304 | swait() | |
2305 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15) | |
2306 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3) | |
2307 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15) | |
2308 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
2309 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(185), Rad(0), Rad(15)), 0.1) | |
2310 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1) | |
2311 | end | |
2312 | CreateSound("541909763", targettorso, 5, .8) | |
2313 | weldHead01:Destroy() | |
2314 | Head01.CanCollide = true | |
2315 | local bodyVelocity2 = Create("BodyVelocity")({ | |
2316 | velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50, | |
2317 | P = 5000, | |
2318 | maxForce = Vector3.new(8000, 8000, 8000), | |
2319 | Parent = Head01 | |
2320 | }) | |
2321 | game:GetService("Debris"):AddItem(bodyVelocity2, 0.05) | |
2322 | for i = 0,6.2,0.1 do | |
2323 | swait() | |
2324 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(40)), 0.15) | |
2325 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.3) | |
2326 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15) | |
2327 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
2328 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-15)), 0.1) | |
2329 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1) | |
2330 | end | |
2331 | targettorso.Anchored = false | |
2332 | attack = false | |
2333 | hum.WalkSpeed = 8 | |
2334 | root.CFrame = targettorso.CFrame * CF(0,0,3.4) | |
2335 | end | |
2336 | end | |
2337 | function BalanceSpin() | |
2338 | attack = true | |
2339 | hum.WalkSpeed = 2 | |
2340 | for i = 0,17,0.07 do | |
2341 | CameraEnshaking(1, 5) | |
2342 | MagniDamage(tors, 30, 7, 11, 0, "Normal") | |
2343 | swait() | |
2344 | Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -6, math.random(-25, 25)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 15, -0.015, maincolor, 0, "Brick") | |
2345 | Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -6, math.random(-25, 25)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 15, -0.015, BrickColor.new("Black"), 0, "Brick") | |
2346 | Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -6, math.random(-25, 25)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 15, -0.015, maincolor, 0, "Brick") | |
2347 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15) | |
2348 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2349 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2350 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2351 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.1) | |
2352 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-110)), 0.1) | |
2353 | end | |
2354 | hum.WalkSpeed = 8 | |
2355 | attack = false | |
2356 | end | |
2357 | ||
2358 | function BARK() | |
2359 | attack = true | |
2360 | hum.WalkSpeed = 0 | |
2361 | BATAUNT:Play() | |
2362 | repeat | |
2363 | BATAUNT.Parent = tors | |
2364 | swait() | |
2365 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5 + 0.02 * Cos(sine / 2)) * angles(Rad(-2), Rad(1), Rad(15)), 0.1) | |
2366 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(19 + 1 * Cos(sine / 25)), Rad(0), Rad(-15)), 0.1) | |
2367 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.35) * angles(Rad(90 - 2 * Cos(sine / 1)), Rad(0), Rad(-50)), 0.1) | |
2368 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.15) * angles(Rad(70 + 2 * Cos(sine / 1)), Rad(-7), Rad(70)), 0.1) | |
2369 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.02 * Cos(sine / 2), -0.2) * RHCF * angles(Rad(-4), Rad(0), Rad(-10 + 0.05 * math.cos(sine / 25))), 0.1) | |
2370 | LH.C0 = clerp(LH.C0, CF(-1, -0.5 - 0.02 * Cos(sine / 2), -0.2) * LHCF * angles(Rad(-4), Rad(0), Rad(10 + 0.05 * Cos(sine / 25))), 0.1) | |
2371 | until BATAUNT.Playing == false | |
2372 | attack = false | |
2373 | hum.WalkSpeed = 8 | |
2374 | end | |
2375 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
2376 | local NSound = nil | |
2377 | coroutine.resume(coroutine.create(function() | |
2378 | NSound = Instance.new("Sound", PARENT) | |
2379 | NSound.Volume = VOLUME | |
2380 | NSound.Pitch = PITCH | |
2381 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
2382 | swait() | |
2383 | NSound:play() | |
2384 | game:GetService("Debris"):AddItem(NSound, 10) | |
2385 | end)) | |
2386 | return NSound | |
2387 | end | |
2388 | function Bark_Splosion() | |
2389 | attack = true | |
2390 | for i = 0,2,0.05 do | |
2391 | swait() | |
2392 | Effects.Block.Create(BrickC("Cool yellow"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
2393 | Effects.Block.Create(BrickC("Medium stone grey"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
2394 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
2395 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2396 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
2397 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
2398 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
2399 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
2400 | end | |
2401 | CreateSound("331666100", tors, 10, 1) | |
2402 | Effects.Ring.Create(BrickC("Cool yellow"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(-1),Rad(0)), 2.5, 2.5, 40, 3, 3, 45, 0.01) | |
2403 | MagniDamage(tors, 34, 25, 50, 15, "DarkUp") | |
2404 | CameraEnshaking(1.5, 10) | |
2405 | for i = 1,2,0.1 do | |
2406 | swait() | |
2407 | PixelBlock(2,7,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0) | |
2408 | PixelBlock(1.5,9.5,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0) | |
2409 | PixelBlock(1,12,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0) | |
2410 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.8) | |
2411 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.9) | |
2412 | RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.8) | |
2413 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.8) | |
2414 | RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.75) | |
2415 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.75) | |
2416 | end | |
2417 | wait(.6) | |
2418 | attack = false | |
2419 | end | |
2420 | corrupted = false | |
2421 | function Pixel_Corrupt() | |
2422 | attack = true | |
2423 | corrupted = true | |
2424 | for i = 0,3,0.05 do | |
2425 | swait() | |
2426 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.8) | |
2427 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.9) | |
2428 | RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.8) | |
2429 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.8) | |
2430 | RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.75) | |
2431 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.75) | |
2432 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
2433 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2434 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
2435 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
2436 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
2437 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
2438 | end | |
2439 | refa = New("Part",m,"refa",{Anchored = true, CanCollide = false,Transparency = 1,Size = Vector3.new(0.200000018, 0.299999923, 0.2),Position = mouse.Hit.p,Color = Color3.new(1, 0, 0),}) | |
2440 | HitboxFunction(refa.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 20, 20, 25, 0, "Normal") | |
2441 | BlockEffect(maincolor, refa.CFrame * CF(-0, -0, -0), 30, 30, 30, 32, 32, 32, 0.07, 1) | |
2442 | CreateSound("331666100", refa, 10, 1) | |
2443 | CameraEnshaking(1.5, 10) | |
2444 | coroutine.resume(coroutine.create(function() | |
2445 | for i = 1,20,0.1 do | |
2446 | swait(5) | |
2447 | PixelBlock(2.5,11,"Add",refa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,3.5,0.3,maincolor,0) | |
2448 | PixelBlock(2.5,11,"Add",refa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,3.5,0.3,maincolor,0) | |
2449 | PixelBlock(2.5,11,"Add",refa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,3.5,0.3,maincolor,0) | |
2450 | PixelBlock(2.5,11,"Add",refa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,3.5,0.3,maincolor,0) | |
2451 | CreateSound("331666100", refa, 10, 1) | |
2452 | BlockEffect(maincolor, refa.CFrame * CF(-0, -0, -0), 22, 22, 22, 25, 25, 25, 0.041, 1) | |
2453 | HitboxFunction(refa.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 21.3, 5, 8, 0, "Normal") | |
2454 | end | |
2455 | refa:Destroy() | |
2456 | corrupted = false | |
2457 | end)) | |
2458 | for i = 1,2.5,0.1 do | |
2459 | swait() | |
2460 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.4) | |
2461 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.6) | |
2462 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.4) | |
2463 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.4) | |
2464 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.3) | |
2465 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.3) | |
2466 | end | |
2467 | wait(.3) | |
2468 | attack = false | |
2469 | end | |
2470 | function un_fun() | |
2471 | attack = true | |
2472 | hum.WalkSpeed = 0 | |
2473 | BTAUNT:Play() | |
2474 | repeat | |
2475 | swait() | |
2476 | BTAUNT.Parent = tors | |
2477 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.08) | |
2478 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 30)), Rad(0), Rad(-2.5 * Cos(sine / 1.5))), 0.08) | |
2479 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(-2.5 * Cos(sine / 1.5)), Rad(10)), 0.08) | |
2480 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(-2.5 * Cos(sine / 1.5)), Rad(-10)), 0.08) | |
2481 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(210)), 0.08) | |
2482 | LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08) | |
2483 | until BTAUNT.Playing == false | |
2484 | attack = false | |
2485 | hum.WalkSpeed = 8 | |
2486 | end | |
2487 | function thisisit() | |
2488 | attack = true | |
2489 | hum.WalkSpeed = 0 | |
2490 | STAUNT:Play() | |
2491 | repeat | |
2492 | swait() | |
2493 | STAUNT.Parent = tors | |
2494 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08) | |
2495 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(20), Rad(0)), 0.08) | |
2496 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.08) | |
2497 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.08) | |
2498 | RW.C0 = clerp(RW.C0, CF(1.5, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(130)), 0.1) | |
2499 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-130)), 0.1) | |
2500 | until STAUNT.Playing == false | |
2501 | attack = false | |
2502 | hum.WalkSpeed = 8 | |
2503 | end | |
2504 | function Exploit() | |
2505 | exploitable = false | |
2506 | Cso("907332670", tors, 10, 1.05) | |
2507 | coroutine.resume(coroutine.create(function() | |
2508 | for i = 1,20,0.1 do | |
2509 | swait() | |
2510 | BlockEffect(maincolor, tors.CFrame * CF(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2)), 4, 4, 4, 0.8, 0.8, 0.8, 0.05, 1) | |
2511 | end | |
2512 | Cso("12222030", tors, 10, 1.05) | |
2513 | BlockEffect(maincolor, tors.CFrame * CF(0, 0, 0), 17, 17, 17, 20, 20, 20, 0.04, 1) | |
2514 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 27)) do | |
2515 | if v:FindFirstChild("Head") then | |
2516 | Eviscerate(v) | |
2517 | SoulSteal(v) | |
2518 | end | |
2519 | end | |
2520 | wait(15) | |
2521 | exploitable = true | |
2522 | end)) | |
2523 | end | |
2524 | function ASCENTION() | |
2525 | attack = true | |
2526 | hum.WalkSpeed = 0 | |
2527 | Cso("987502413", tors, 10, 1.05) | |
2528 | local vel2 = Instance.new("BodyVelocity",tors) | |
2529 | vel2.Velocity = Vector3.new(0,30,0) | |
2530 | vel2.MaxForce = Vector3.new(10000000,10000000,10000000) | |
2531 | for i = 0,20,0.1 do | |
2532 | HitboxFunction(tors.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 7, 10, 20, 20, "Normal") | |
2533 | swait() | |
2534 | BlockEffect(maincolor, ra.CFrame * CF(-0, -1, -0), 4, 4, 4, 5, 5, 5, 0.07, 1) | |
2535 | BlockEffect(maincolor, la.CFrame * CF(-0, -1, -0), 4, 4, 4, 5, 5, 5, 0.07, 1) | |
2536 | CameraEnshaking(1, 4) | |
2537 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15) | |
2538 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) | |
2539 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2540 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2541 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1) | |
2542 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1) | |
2543 | end | |
2544 | hum.WalkSpeed = 8 | |
2545 | vel2:Destroy() | |
2546 | attack = false | |
2547 | end | |
2548 | ------------------------------------------------------- | |
2549 | --End Attacks N Stuff-- | |
2550 | ------------------------------------------------------- | |
2551 | Sprinting = false | |
2552 | mouse.KeyDown:connect(function(key) | |
2553 | if string.byte(key) == 48 and attack == false and Mode ~= 10 then | |
2554 | Swing = 2 | |
2555 | hum.WalkSpeed = 38.82 | |
2556 | Sprinting = true | |
2557 | end | |
2558 | end) | |
2559 | mouse.KeyUp:connect(function(key) | |
2560 | if string.byte(key) == 48 and attack == false then | |
2561 | Swing = 1 | |
2562 | Sprinting = false | |
2563 | hum.WalkSpeed = 8 | |
2564 | end | |
2565 | end) | |
2566 | mouse.KeyDown:connect(function(key) | |
2567 | if attack == false then | |
2568 | if key == 'q' and Mode == 1 then | |
2569 | Power_Burst() | |
2570 | elseif key == '1' and Mode ~= 2 then | |
2571 | Mode = 2 | |
2572 | SONG = 409475133 | |
2573 | tecks2.Text = "John Shedletsky" | |
2574 | tecks2.TextColor3 = Color3.fromRGB(196, 40, 28) | |
2575 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 89, 89) | |
2576 | for i, v in pairs(ArmorColorParts) do | |
2577 | v.BrickColor = BrickColor.new("Really brown") | |
2578 | v.Material = "Metal" | |
2579 | v.Transparency = 0 | |
2580 | end | |
2581 | for i, v in pairs(ArmorColorParts2) do | |
2582 | - | tecks2.Text = "Machinery" |
2582 | + | v.BrickColor = BrickColor.new("Pastel brown") |
2583 | v.Material = "Metal" | |
2584 | v.Transparency = 0 | |
2585 | end | |
2586 | - | v.BrickColor = BrickColor.new("Bright red") |
2586 | + | |
2587 | maincolor = BrickColor.new("New Yeller") | |
2588 | v.BrickColor = maincolor | |
2589 | v.Material = "Neon" | |
2590 | v.Transparency = 0 | |
2591 | - | v.BrickColor = BrickColor.new("Persimmon") |
2591 | + | |
2592 | elseif key == '1' and Mode == 2 then | |
2593 | resetmode() | |
2594 | elseif key == 't' and Mode == 1 then | |
2595 | Taunt() | |
2596 | elseif key == 'q' and Mode == 2 then | |
2597 | Magic_Bombs() | |
2598 | elseif key == 'e' and Mode == 2 then | |
2599 | Dangerous_Field() | |
2600 | elseif key == 't' and Mode == 2 then | |
2601 | HAAH() | |
2602 | end | |
2603 | --------------------------------------------------------------------- | |
2604 | if key == 'm' and Mode == 1 then | |
2605 | Mode = pIXELATED | |
2606 | SONG = 1244332148 | |
2607 | tecks2.Text = "ROBLOX" | |
2608 | tecks2.TextColor3 = Color3.fromRGB(255, 0, 0) | |
2609 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255) | |
2610 | tecks2.TextStrokeTransparency = 0 | |
2611 | for i, v in pairs(ArmorColorParts) do | |
2612 | v.BrickColor = BrickColor.new("Navy blue") | |
2613 | v.Material = "Glass" | |
2614 | v.Transparency = 0 | |
2615 | end | |
2616 | - | tecks2.Text = "Pixels" |
2616 | + | |
2617 | v.BrickColor = BrickColor.new("Dark blue") | |
2618 | - | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 255) |
2618 | + | |
2619 | v.Transparency = 0 | |
2620 | end | |
2621 | for i, v in pairs(NeonColorParts) do | |
2622 | maincolor = BrickColor.new("Lapis") | |
2623 | v.BrickColor = maincolor | |
2624 | v.Material = "Neon" | |
2625 | v.Transparency = 0 | |
2626 | end | |
2627 | elseif key == 'm' and Mode == pIXELATED then | |
2628 | resetmode() | |
2629 | elseif key == 'q' and Mode == pIXELATED and corrupted == false then | |
2630 | Pixel_Corrupt() | |
2631 | end | |
2632 | --------------------------------------------------------------------- | |
2633 | if key == '2' and Mode ~= 3 then | |
2634 | Mode = 3 | |
2635 | SONG = 1634231515 | |
2636 | tecks2.Text = "Below-Zero" | |
2637 | tecks2.TextColor3 = Color3.fromRGB(0, 255, 255) | |
2638 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255) | |
2639 | for i, v in pairs(ArmorColorParts) do | |
2640 | v.BrickColor = BrickColor.new("Bright blue") | |
2641 | v.Material = "Marble" | |
2642 | v.Transparency = 0 | |
2643 | end | |
2644 | for i, v in pairs(ArmorColorParts2) do | |
2645 | v.BrickColor = BrickColor.new("Institutional white") | |
2646 | v.Material = "Metal" | |
2647 | v.Transparency = 0 | |
2648 | end | |
2649 | for i, v in pairs(NeonColorParts) do | |
2650 | maincolor = BrickColor.new("Toothpaste") | |
2651 | v.BrickColor = maincolor | |
2652 | v.Material = "Neon" | |
2653 | v.Transparency = 0 | |
2654 | end | |
2655 | elseif key == '2' and Mode == 3 then | |
2656 | resetmode() | |
2657 | elseif key == 't' and Mode == 3 then | |
2658 | un_fun() | |
2659 | elseif key == 'q' and Mode == 3 then | |
2660 | Shockwave() | |
2661 | end | |
2662 | --------------------------------------------------------------------- | |
2663 | if key == '3' and Mode ~= 4 then | |
2664 | Mode = 4 | |
2665 | SONG = 539526132 | |
2666 | tecks2.Text = "Infused" | |
2667 | tecks2.TextColor3 = Color3.fromRGB(0, 0, 0) | |
2668 | tecks2.TextStrokeColor3 = Color3.fromRGB(245, 205, 48) | |
2669 | for i, v in pairs(ArmorColorParts) do | |
2670 | v.BrickColor = BrickColor.new("Black") | |
2671 | v.Material = "SmoothPlastic" | |
2672 | v.Transparency = 0 | |
2673 | end | |
2674 | for i, v in pairs(ArmorColorParts2) do | |
2675 | v.BrickColor = BrickColor.new("Really black") | |
2676 | v.Material = "Metal" | |
2677 | v.Transparency = 0 | |
2678 | end | |
2679 | for i, v in pairs(NeonColorParts) do | |
2680 | maincolor = BrickColor.new("Bright yellow") | |
2681 | v.BrickColor = maincolor | |
2682 | v.Material = "Neon" | |
2683 | v.Transparency = 0 | |
2684 | end | |
2685 | elseif key == '3' and Mode == 4 then | |
2686 | resetmode() | |
2687 | elseif key == 't' and Mode == 4 then | |
2688 | again() | |
2689 | elseif key == 'q' and Mode == 4 then | |
2690 | Pulse() | |
2691 | end | |
2692 | --------------------------------------------------------------------- | |
2693 | if key == 'm' and Mode == 4 then | |
2694 | attack = true | |
2695 | SONG = 1764195391 | |
2696 | hum.WalkSpeed = 0 | |
2697 | for i = 1,20,0.1 do | |
2698 | swait() | |
2699 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 2 + 0.25* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.05) | |
2700 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-25 - 6.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.05) | |
2701 | RH.C0 = clerp(RH.C0, CF(1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-8.5), Rad(0), Rad(-15)), 0.05) | |
2702 | LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-8.5), Rad(15), Rad(45)), 0.05) | |
2703 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(5), Rad(-.6), Rad(75)), 0.05) | |
2704 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-75)), 0.05) | |
2705 | BlockEffect(maincolor, tors.CFrame * CF(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2)), 4, 4, 4, 0.8, 0.8, 0.8, 0.05, 1) | |
2706 | end | |
2707 | hum.WalkSpeed = 8 | |
2708 | attack = false | |
2709 | Mode = 100 | |
2710 | tecks2.Text = "Overclocked" | |
2711 | tecks2.TextColor3 = Color3.fromRGB(1, 1, 1) | |
2712 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 176, 0) | |
2713 | Cso("743499393", tors, 10, 1.05) | |
2714 | BlockEffect(BrickC("New Yeller"), Handle.CFrame * CF(0, -0, 0), 16, 16, 16, 22, 22, 22, 0.04, 1) | |
2715 | BlockEffect(BrickC("Really black"), Handle.CFrame * CF(0, -0, 0), 10, 10, 10, 12, 12, 12, 0.04, 1) | |
2716 | for i, v in pairs(ArmorColorParts) do | |
2717 | v.BrickColor = BrickColor.new("Bright yellow") | |
2718 | v.Material = "DiamondPlate" | |
2719 | v.Transparency = 0.2 | |
2720 | end | |
2721 | for i, v in pairs(ArmorColorParts2) do | |
2722 | v.BrickColor = BrickColor.new("Really black") | |
2723 | v.Material = "Neon" | |
2724 | v.Transparency = 0 | |
2725 | end | |
2726 | for i, v in pairs(NeonColorParts) do | |
2727 | maincolor = BrickColor.new("New Yeller") | |
2728 | v.BrickColor = maincolor | |
2729 | v.Material = "Glass" | |
2730 | v.Transparency = 0.5 | |
2731 | end | |
2732 | elseif key == 'm' and Mode == 100 then | |
2733 | resetmode() | |
2734 | elseif key == 'q' and Mode == 100 then | |
2735 | LAZER() | |
2736 | end | |
2737 | --------------------------------------------------------------------- | |
2738 | if key == '4' and Mode ~= 5 then | |
2739 | Mode = 5 | |
2740 | SONG = 170282324 | |
2741 | tecks2.Text = "Cyber" | |
2742 | tecks2.TextColor3 = Color3.fromRGB(0, 0, 0) | |
2743 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 255, 255) | |
2744 | for i, v in pairs(ArmorColorParts) do | |
2745 | v.BrickColor = BrickColor.new("Black") | |
2746 | v.Material = "SmoothPlastic" | |
2747 | v.Transparency = 0 | |
2748 | end | |
2749 | for i, v in pairs(ArmorColorParts2) do | |
2750 | v.BrickColor = BrickColor.new("Really black") | |
2751 | v.Material = "Metal" | |
2752 | v.Transparency = 0 | |
2753 | end | |
2754 | for i, v in pairs(NeonColorParts) do | |
2755 | maincolor = BrickColor.new("Toothpaste") | |
2756 | v.BrickColor = maincolor | |
2757 | v.Material = "Neon" | |
2758 | v.Transparency = 0 | |
2759 | end | |
2760 | elseif key == '4' and Mode == 5 then | |
2761 | resetmode() | |
2762 | elseif key == 'q' and Mode == 5 and exploitable == true then | |
2763 | Exploit() | |
2764 | end | |
2765 | --------------------------------------------------------------------- | |
2766 | if key == '5' and Mode ~= 6 then | |
2767 | Mode = 6 | |
2768 | SONG = 407749940 | |
2769 | tecks2.Text = "ControlledBR" | |
2770 | tecks2.TextColor3 = Color3.fromRGB(0, 0, 0) | |
2771 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 89, 89) | |
2772 | for i, v in pairs(ArmorColorParts) do | |
2773 | v.BrickColor = BrickColor.new("Dark red") | |
2774 | v.Material = "SmoothPlastic" | |
2775 | v.Transparency = 0 | |
2776 | end | |
2777 | for i, v in pairs(ArmorColorParts2) do | |
2778 | v.BrickColor = BrickColor.new("Really black") | |
2779 | v.Material = "Metal" | |
2780 | v.Transparency = 0 | |
2781 | end | |
2782 | for i, v in pairs(NeonColorParts) do | |
2783 | maincolor = BrickColor.new("Really red") | |
2784 | v.BrickColor = maincolor | |
2785 | v.Material = "Neon" | |
2786 | v.Transparency = 0 | |
2787 | end | |
2788 | elseif key == '5' and Mode == 6 then | |
2789 | resetmode() | |
2790 | elseif key == 'q' and Mode == 6 then | |
2791 | Distort() | |
2792 | elseif key == 'e' and Mode == 6 then | |
2793 | Ancient_Rage() | |
2794 | elseif key == 't' and Mode == 6 then | |
2795 | TTTTTTTTTTTaunt() | |
2796 | end | |
2797 | --------------------------------------------------------------------- | |
2798 | if key == '6' and Mode ~= 7 then | |
2799 | Mode = 7 | |
2800 | SONG = 150794704 | |
2801 | tecks2.Text = "Such Wow" | |
2802 | tecks2.TextColor3 = Color3.fromRGB(163, 162, 165) | |
2803 | tecks2.TextStrokeColor3 = Color3.fromRGB(253, 234, 141) | |
2804 | for i, v in pairs(ArmorColorParts) do | |
2805 | v.BrickColor = BrickColor.new("Cool yellow") | |
2806 | v.Material = "SmoothPlastic" | |
2807 | v.Transparency = 0 | |
2808 | end | |
2809 | for i, v in pairs(ArmorColorParts2) do | |
2810 | v.BrickColor = BrickColor.new("Medium stone grey") | |
2811 | v.Material = "Metal" | |
2812 | v.Transparency = 0 | |
2813 | end | |
2814 | for i, v in pairs(NeonColorParts) do | |
2815 | maincolor = BrickColor.new("New Yeller") | |
2816 | v.BrickColor = maincolor | |
2817 | v.Material = "Neon" | |
2818 | v.Transparency = 0 | |
2819 | end | |
2820 | elseif key == '6' and Mode == 7 then | |
2821 | resetmode() | |
2822 | elseif key == 't' and Mode == 7 then | |
2823 | BARK() | |
2824 | elseif key == 'q' and Mode == 7 then | |
2825 | Bark_Splosion() | |
2826 | end | |
2827 | if key == 'm' and Mode == 7 then | |
2828 | SONG = 257453119 | |
2829 | attack = true | |
2830 | hum.WalkSpeed = 0 | |
2831 | for i = 0,10,0.08 do | |
2832 | swait() | |
2833 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0 + 255.45 * i)), 0.15) | |
2834 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2835 | RH.C0 = clerp(RH.C0, CF(1, -0.7 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
2836 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
2837 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1) | |
2838 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1) | |
2839 | end | |
2840 | attack = false | |
2841 | hum.WalkSpeed = 8 | |
2842 | Mode = 50 | |
2843 | BlockEffect(BrickC("Magenta"), Handle.CFrame * CF(0, -0, 0), 25, 25, 25, 30, 30, 30, 0.05, 1) | |
2844 | tecks2.Text = "ASCEND" | |
2845 | tecks2.TextColor3 = Color3.fromRGB(255, 0, 255) | |
2846 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255) | |
2847 | for i, v in pairs(ArmorColorParts) do | |
2848 | v.BrickColor = BrickColor.new("Magenta") | |
2849 | v.Material = "Foil" | |
2850 | v.Transparency = 0 | |
2851 | end | |
2852 | for i, v in pairs(ArmorColorParts2) do | |
2853 | v.BrickColor = BrickColor.new("Dark indigo") | |
2854 | v.Material = "Glass" | |
2855 | v.Transparency = 0.1 | |
2856 | end | |
2857 | for i, v in pairs(NeonColorParts) do | |
2858 | maincolor = BrickColor.new("White") | |
2859 | v.BrickColor = maincolor | |
2860 | v.Material = "Neon" | |
2861 | v.Transparency = 0 | |
2862 | end | |
2863 | elseif key == 'm' and Mode == 50 then | |
2864 | resetmode() | |
2865 | elseif key == 'q' and Mode == 50 then | |
2866 | ASCENTION() | |
2867 | end | |
2868 | --------------------------------------------------------------------- | |
2869 | if key == 'm' and Mode == 8 then | |
2870 | Mode = 25 | |
2871 | SONG = 1770978966 | |
2872 | tecks2.Text = "Spirit" | |
2873 | BlockEffect(BrickC("Fog"), Handle.CFrame * CF(0, -0, 0), 25, 25, 25, 30, 30, 30, 0.05, 1) | |
2874 | tecks2.TextColor3 = Color3.fromRGB(255, 255, 255) | |
2875 | tecks2.TextStrokeColor3 = Color3.fromRGB(163, 162, 165) | |
2876 | for i, v in pairs(ArmorColorParts) do | |
2877 | v.BrickColor = BrickColor.new("Ghost grey") | |
2878 | v.Material = "SmoothPlastic" | |
2879 | v.Transparency = 0.7 | |
2880 | end | |
2881 | for i, v in pairs(ArmorColorParts2) do | |
2882 | v.BrickColor = BrickColor.new("Quill grey") | |
2883 | v.Material = "Glass" | |
2884 | v.Transparency = 0.5 | |
2885 | end | |
2886 | for i, v in pairs(NeonColorParts) do | |
2887 | maincolor = BrickColor.new("Fog") | |
2888 | v.BrickColor = maincolor | |
2889 | v.Material = "Neon" | |
2890 | v.Transparency = 0.5 | |
2891 | end | |
2892 | elseif key == 'm' and Mode == 25 then | |
2893 | resetmode() | |
2894 | elseif key == 't' and Mode == 25 then | |
2895 | thisisit() | |
2896 | elseif key == 'q' and Mode == 25 then | |
2897 | Spirit_Beam() | |
2898 | end | |
2899 | --------------------------------------------------------------------- | |
2900 | if key == '7' and Mode ~= 8 then | |
2901 | Mode = 8 | |
2902 | SONG = 561833161 | |
2903 | tecks2.Text = "YT" | |
2904 | tecks2.TextColor3 = Color3.fromRGB(18, 238, 212) | |
2905 | tecks2.TextStrokeColor3 = Color3.fromRGB(4, 175, 236) | |
2906 | for i, v in pairs(ArmorColorParts) do | |
2907 | v.BrickColor = BrickColor.new("Really red") | |
2908 | v.Material = "SmoothPlastic" | |
2909 | v.Transparency = 0 | |
2910 | end | |
2911 | - | tecks2.Text = "Lunar" |
2911 | + | |
2912 | v.BrickColor = BrickColor.new("Dark red") | |
2913 | v.Material = "Metal" | |
2914 | v.Transparency = 0 | |
2915 | - | v.BrickColor = BrickColor.new("Teal") |
2915 | + | |
2916 | for i, v in pairs(NeonColorParts) do | |
2917 | maincolor = BrickColor.new("Really red") | |
2918 | v.BrickColor = maincolor | |
2919 | v.Material = "Neon" | |
2920 | v.Transparency = 0 | |
2921 | end | |
2922 | elseif key == '7' and Mode == 8 then | |
2923 | resetmode() | |
2924 | elseif key == 'q' and Mode == 8 then | |
2925 | - | maincolor = BrickColor.new("Cyan") |
2925 | + | |
2926 | end | |
2927 | --------------------------------------------------------------------- | |
2928 | if key == '8' and Mode ~= 9 then | |
2929 | Mode = 9 | |
2930 | SONG = 933385346 | |
2931 | tecks2.Text = "Balance" | |
2932 | tecks2.TextColor3 = Color3.new(255, 255, 255) | |
2933 | tecks2.TextStrokeColor3 = Color3.new(0, 0, 0) | |
2934 | for i, v in pairs(ArmorColorParts) do | |
2935 | v.BrickColor = BrickColor.new("Institutional white") | |
2936 | v.Material = "Glass" | |
2937 | v.Transparency = 0 | |
2938 | end | |
2939 | for i, v in pairs(ArmorColorParts2) do | |
2940 | v.BrickColor = BrickColor.new("Really black") | |
2941 | v.Material = "Glass" | |
2942 | v.Transparency = 0.5 | |
2943 | end | |
2944 | for i, v in pairs(NeonColorParts) do | |
2945 | maincolor = BrickColor.new("Institutional white") | |
2946 | v.BrickColor = maincolor | |
2947 | v.Material = "Neon" | |
2948 | v.Transparency = 0 | |
2949 | end | |
2950 | elseif key == '8' and Mode == 9 then | |
2951 | resetmode() | |
2952 | elseif key == 't' and Mode == 9 then | |
2953 | heregoes() | |
2954 | elseif key == 'q' and Mode == 9 then | |
2955 | BalanceSpin() | |
2956 | end | |
2957 | --------------------------------------------------------------------------- | |
2958 | if key == 'm' and Mode == 9 and Mode ~= 10 and Sprinting == false then | |
2959 | Mode = 10 | |
2960 | SONG = 919231299 | |
2961 | local A = math.random(1,4) | |
2962 | if A == 1 then | |
2963 | SONG = 919231299 | |
2964 | elseif A == 2 then | |
2965 | SONG = 460874877 | |
2966 | elseif A == 3 then | |
2967 | SONG = 943961217 | |
2968 | elseif A == 4 then | |
2969 | SONG = 623662713 | |
2970 | end | |
2971 | tecks2.Text = "InSaNe" | |
2972 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
2973 | tecks2.TextStrokeColor3 = Color3.new(0, 0, 0) | |
2974 | for i, v in pairs(ArmorColorParts) do | |
2975 | v.BrickColor = BrickColor.random() | |
2976 | v.Material = "Glass" | |
2977 | v.Transparency = 0 | |
2978 | end | |
2979 | for i, v in pairs(ArmorColorParts2) do | |
2980 | v.BrickColor = BrickColor.random() | |
2981 | v.Material = "Glass" | |
2982 | v.Transparency = 0 | |
2983 | end | |
2984 | for i, v in pairs(NeonColorParts) do | |
2985 | maincolor = BrickColor.random() | |
2986 | v.BrickColor = maincolor | |
2987 | v.Material = "Neon" | |
2988 | v.Transparency = 0 | |
2989 | end | |
2990 | elseif key == 'm' and Mode == 10 then | |
2991 | resetmode() | |
2992 | elseif key == 'q' and Mode == 10 then | |
2993 | Decapitate() | |
2994 | end | |
2995 | end | |
2996 | end) | |
2997 | local Combo = 1 | |
2998 | mouse.Button1Down:connect(function(key) | |
2999 | if attack == false then | |
3000 | if Combo == 1 then | |
3001 | Combo = 2 | |
3002 | attackone() | |
3003 | elseif Combo == 2 then | |
3004 | Combo = 3 | |
3005 | attacktwo() | |
3006 | elseif Combo == 3 then | |
3007 | Combo = 1 | |
3008 | attackthree() | |
3009 | end | |
3010 | end | |
3011 | end) | |
3012 | ||
3013 | ||
3014 | ||
3015 | ||
3016 | ||
3017 | ||
3018 | ||
3019 | ------------------------------------------------------- | |
3020 | --Start Animations-- | |
3021 | ------------------------------------------------------- | |
3022 | while true do | |
3023 | swait() | |
3024 | sine = sine + change | |
3025 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
3026 | local velderp = root.Velocity.y | |
3027 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char) | |
3028 | if equipped == true or equipped == false then | |
3029 | if attack == false then | |
3030 | idle = idle + 1 | |
3031 | else | |
3032 | idle = 0 | |
3033 | end | |
3034 | if Mode == 5 then | |
3035 | Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Brick") | |
3036 | end | |
3037 | if Mode == 25 then | |
3038 | PixelBlock(3,4,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.3,0.3,0.3,0.03,maincolor,0) | |
3039 | end | |
3040 | if Mode == 100 then | |
3041 | PixelBlock(1,0.8,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.02,0.02,0.02,0.1,maincolor,0) | |
3042 | MagicCharge(4, 0, "Add", ra.CFrame * CF(0, -0, 0) * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.2, 0.2, 1.6 * math.random(-1.8, 2), -0.005, maincolor, 0, "Sphere") | |
3043 | end | |
3044 | if Mode == 7 then | |
3045 | Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Sphere") | |
3046 | end | |
3047 | if Mode == 10 then | |
3048 | PixelBlock(1.5,0.75,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.15,0.15,0.15,0.1,maincolor,0) | |
3049 | tecks2.TextColor3 = maincolor.Color | |
3050 | tecks2.TextStrokeColor3 = maincolor.Color | |
3051 | for i, v in pairs(ArmorColorParts) do | |
3052 | v.BrickColor = BrickColor.random() | |
3053 | v.Material = "Glass" | |
3054 | v.Transparency = 0 | |
3055 | end | |
3056 | for i, v in pairs(ArmorColorParts2) do | |
3057 | v.BrickColor = BrickColor.random() | |
3058 | v.Material = "Glass" | |
3059 | v.Transparency = 0 | |
3060 | end | |
3061 | for i, v in pairs(NeonColorParts) do | |
3062 | maincolor = BrickColor.random() | |
3063 | v.BrickColor = maincolor | |
3064 | v.Material = "Neon" | |
3065 | v.Transparency = 0 | |
3066 | end | |
3067 | end | |
3068 | if Mode == 6 then | |
3069 | local A = math.random(1,15) | |
3070 | if A == 1 then | |
3071 | Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Sphere") | |
3072 | if A == 2 then | |
3073 | Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Brick") | |
3074 | end | |
3075 | end | |
3076 | end | |
3077 | if 1 < root.Velocity.y and hitfloor == nil then | |
3078 | Anim = "Jump" | |
3079 | if attack == false then | |
3080 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.08) | |
3081 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08) | |
3082 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.08) | |
3083 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.08) | |
3084 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.08) | |
3085 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.08) | |
3086 | end | |
3087 | elseif -1 > root.Velocity.y and hitfloor == nil then | |
3088 | Anim = "Fall" | |
3089 | if attack == false then | |
3090 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.08) | |
3091 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08) | |
3092 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.08) | |
3093 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.08) | |
3094 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.08) | |
3095 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.08) | |
3096 | end | |
3097 | elseif torvel < 1 and hitfloor ~= nil then | |
3098 | Anim = "Idle" | |
3099 | change = 1 | |
3100 | if attack == false then | |
3101 | if Mode == 1 then --Normal | |
3102 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08) | |
3103 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08) | |
3104 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08) | |
3105 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08) | |
3106 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.08) | |
3107 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.08) | |
3108 | elseif Mode == pIXELATED then --PIXELATED | |
3109 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(20 + Mrandom(-4,4)), Rad(0), Rad(0)), 0.08) | |
3110 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(46 - 2.5 + Mrandom(-30,30)), Rad(-4.5 + Mrandom(-30,30)), Rad(-4.5 + Mrandom(-30,30))), 0.08) | |
3111 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0 + Mrandom(-6,6)), Rad(80), Rad(0)) * angles(Rad(-10.5 + Mrandom(-6,6)), Rad(0 + Mrandom(-6,6)), Rad(20 + Mrandom(-6,6))), 0.08) | |
3112 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0 + Mrandom(-6,6)), Rad(-80 + Mrandom(-6,6)), Rad(0 + Mrandom(-6,6))) * angles(Rad(-10.5 + Mrandom(-6,6)), Rad(0 + Mrandom(-6,6)), Rad(-20 + Mrandom(-6,6))), 0.08) | |
3113 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25 + Mrandom(-6,6)), Rad(0 + Mrandom(-6,6)), Rad(5 + Mrandom(-6,6))), 0.08) | |
3114 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25 + Mrandom(-6,6)), Rad(0 + Mrandom(-6,6)), Rad(-5 + Mrandom(-6,6))), 0.08) | |
3115 | elseif Mode == 50 then --ASCENDED | |
3116 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08) | |
3117 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08) | |
3118 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08) | |
3119 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08) | |
3120 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.08) | |
3121 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.08) | |
3122 | elseif Mode == 2 then --Machinery | |
3123 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.08) | |
3124 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(46 - 2.5 * Sin(sine / 30)), Rad(-4.5 * Sin(sine / .5)), Rad(-20 - 4.5 * Sin(sine / .5))), 0.08) | |
3125 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(0)), 0.08) | |
3126 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(0)), 0.08) | |
3127 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(155), Rad(0), Rad(-45)), 0.08) | |
3128 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-25)), 0.08) | |
3129 | elseif Mode == 3 then --ICE | |
3130 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.08) | |
3131 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 30)), Rad(0), Rad(-2.5 * Cos(sine / 1.5))), 0.08) | |
3132 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(-2.5 * Cos(sine / 1.5)), Rad(10)), 0.08) | |
3133 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(-2.5 * Cos(sine / 1.5)), Rad(-10)), 0.08) | |
3134 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(20 - 2.5 * Cos(sine / 20)), Rad(-2.5 * Cos(sine / 1.5)), Rad(25 + 4.5 * Cos(sine / 20))), 0.08) | |
3135 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(20 - 2.5 * Cos(sine / 20)), Rad(-2.5 * Cos(sine / 1.5)), Rad(-25 - 4.5 * Cos(sine / 20))), 0.08) | |
3136 | elseif Mode == 4 then --Infused | |
3137 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.08) | |
3138 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08) | |
3139 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(-25)), 0.08) | |
3140 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(20)), 0.08) | |
3141 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -0.35* Player_Size) * angles(Rad(90 - 2.5 * Cos(sine / 20)), Rad(0), Rad(-50)), 0.08) | |
3142 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -0.15* Player_Size) * angles(Rad(70 - 2.5 * Cos(sine / 20)), Rad(0), Rad(70)), 0.08) | |
3143 | elseif Mode == 5 then --Cybernetic | |
3144 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08) | |
3145 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(20), Rad(0)), 0.08) | |
3146 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.08) | |
3147 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.08) | |
3148 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(25 + 10.5 * Sin(sine / 20))), 0.08) | |
3149 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-25 - 10.5 * Sin(sine / 20))), 0.08) | |
3150 | elseif Mode == 25 then --Spiritual | |
3151 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08) | |
3152 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(20), Rad(0)), 0.08) | |
3153 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.08) | |
3154 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.08) | |
3155 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(25 + 10.5 * Sin(sine / 20))), 0.08) | |
3156 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-25 - 10.5 * Sin(sine / 20))), 0.08) | |
3157 | elseif Mode == 6 then --Controlled Beyond Recognition | |
3158 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.08) | |
3159 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(46 - 2.5 * Sin(sine / 30)), Rad(-4.5 * Sin(sine / .5)), Rad(-4.5 * Sin(sine / .5))), 0.08) | |
3160 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(20)), 0.08) | |
3161 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(-20)), 0.08) | |
3162 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(0), Rad(5)), 0.08) | |
3163 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(0), Rad(-5)), 0.08) | |
3164 | elseif Mode == 7 or Mode == 9 then --Sucho Wowo --Mr.Balancia | |
3165 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.08) | |
3166 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 12)), Rad(0), Rad(0)), 0.08) | |
3167 | RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.08) | |
3168 | LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.08) | |
3169 | RW.C0 = clerp(RW.C0, CF(1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(-43)), 0.08) | |
3170 | LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08) | |
3171 | elseif Mode == 100 then --Overclocked | |
3172 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(25)), 0.15) | |
3173 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(20), Rad(-15)), 0.3) | |
3174 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
3175 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
3176 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(65 - 2.5 * Sin(sine / 20))), 0.1) | |
3177 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1) | |
3178 | elseif Mode == 8 then --Lunarist | |
3179 | MagicCharge(7, 0, "Add", ra.CFrame * CF(0, -1.3, 0) * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 1.5 * math.random(-1.8, 2), -0.005, maincolor, 0, "Brick") | |
3180 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.8 + 0.2* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08) | |
3181 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08) | |
3182 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08) | |
3183 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08) | |
3184 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(135)), 0.08) | |
3185 | LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08) | |
3186 | elseif Mode == 10 then --INSANITY | |
3187 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2 + 0.1 * Cos(sine / 7)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
3188 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3) | |
3189 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 7)) * angles(Rad(10 + Mrandom(-6,6)), Rad(0), Rad(Mrandom(-6,6))), 0.15) | |
3190 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(45 + Mrandom(-4,4)), Rad(Mrandom(-4,4)), Rad(-20 + Mrandom(-4,4))), 1) | |
3191 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(180 + Mrandom(-35,35)), Rad(35 + Mrandom(-35,35)), Rad(-50 - 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1) | |
3192 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(15 + Mrandom(-35,35)), Rad(Mrandom(-35,35)), Rad(-15 + 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1) | |
3193 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5 + Mrandom(-6,6)), Rad(0), Rad(10 + Mrandom(-6,6))), 0.15) | |
3194 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5 + Mrandom(-6,6)), Rad(0), Rad(-10 + Mrandom(-6,6))), 0.15) | |
3195 | end | |
3196 | end | |
3197 | elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then | |
3198 | Anim = "Walk" | |
3199 | change = 1.1 | |
3200 | if attack == false then | |
3201 | if Mode == 6 then | |
3202 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(20 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15) | |
3203 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(46 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
3204 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-5 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(20)), 0.3) | |
3205 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-5 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(-20)), 0.3) | |
3206 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(25 + 15 * Cos(sine / 7)), Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1) | |
3207 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(25 - 15 * Cos(sine / 7)), Rad(0), Rad(-5) + la.RotVelocity.Y / 75), 0.1) | |
3208 | elseif Mode == 5 then | |
3209 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15) | |
3210 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
3211 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.15) | |
3212 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.15) | |
3213 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(25)), 0.1) | |
3214 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-25)), 0.1) | |
3215 | elseif Mode == 25 then | |
3216 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15) | |
3217 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
3218 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.15) | |
3219 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.15) | |
3220 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(25)), 0.1) | |
3221 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-25)), 0.1) | |
3222 | elseif Mode == 100 then | |
3223 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(0)), 0.15) | |
3224 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
3225 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
3226 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
3227 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-17), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1) | |
3228 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-17), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1) | |
3229 | elseif Mode == 10 then | |
3230 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(55 + Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(-0 + Mrandom(-20,20))), 1) | |
3231 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(0)), 0.15) | |
3232 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(55), Rad(0), Rad(-0)), 0.3) | |
3233 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + Mrandom(-23,23)), Rad(0 + Mrandom(-23,23)), Rad(35 + Mrandom(-23,23))), 0.15) | |
3234 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + Mrandom(-23,23)), Rad(0 + Mrandom(-23,23)), Rad(-35 + Mrandom(-23,23))), 0.15) | |
3235 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(35 + Mrandom(-23,23)), Rad(-10 + Mrandom(-23,23)), Rad(15 + Mrandom(-23,23))), 0.1) | |
3236 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(35 + Mrandom(-23,23)), Rad(10 + Mrandom(-23,23)), Rad(-15 + Mrandom(-23,23))), 0.1) | |
3237 | elseif Mode == 8 then | |
3238 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.8 + 0.2* Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.08) | |
3239 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08) | |
3240 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.08) | |
3241 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(20)), 0.08) | |
3242 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(-43)), 0.08) | |
3243 | LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08) | |
3244 | elseif Mode ~= 6 or Mode ~= 5 or Mode ~= 8 then | |
3245 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15) | |
3246 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
3247 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
3248 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
3249 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(37) * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1) | |
3250 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-37) * Cos(sine / 7) , Rad(0) , Rad(-5) + la.RotVelocity.Y / 75), 0.1) | |
3251 | end | |
3252 | end | |
3253 | elseif torvel >= 25 and hitfloor ~= nil then | |
3254 | Anim = "Sprint" | |
3255 | change = 1.35 | |
3256 | if attack == false then | |
3257 | if Mode == 5 then | |
3258 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15) | |
3259 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(5 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
3260 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-45)), 0.15) | |
3261 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(45)), 0.15) | |
3262 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(25)), 0.1) | |
3263 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(-25)), 0.1) | |
3264 | elseif Mode == 25 or Mode == 10 then | |
3265 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15) | |
3266 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(5 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
3267 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-45)), 0.15) | |
3268 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(45)), 0.15) | |
3269 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(25)), 0.1) | |
3270 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(-25)), 0.1) | |
3271 | elseif Mode ~= 5 then | |
3272 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15) | |
3273 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
3274 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
3275 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
3276 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(125) * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.15) | |
3277 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-125) * Cos(sine / 7) , Rad(0) , Rad(-5) + la.RotVelocity.Y / 75), 0.15) | |
3278 | end | |
3279 | end | |
3280 | end | |
3281 | end | |
3282 | Music.SoundId = "rbxassetid://"..SONG | |
3283 | Music.Looped = true | |
3284 | Music.Pitch = 1 | |
3285 | Music.Volume = 2.5 | |
3286 | Music.Parent = tors | |
3287 | Music:Resume() | |
3288 | if 0 < #Effects then | |
3289 | for e = 1, #Effects do | |
3290 | if Effects[e] ~= nil then | |
3291 | local Thing = Effects[e] | |
3292 | if Thing ~= nil then | |
3293 | local Part = Thing[1] | |
3294 | local Mode = Thing[2] | |
3295 | local Delay = Thing[3] | |
3296 | local IncX = Thing[4] | |
3297 | local IncY = Thing[5] | |
3298 | local IncZ = Thing[6] | |
3299 | if 1 >= Thing[1].Transparency then | |
3300 | if Thing[2] == "Block1" then | |
3301 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
3302 | local Mesh = Thing[1].Mesh | |
3303 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
3304 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3305 | elseif Thing[2] == "Block2" then | |
3306 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
3307 | local Mesh = Thing[7] | |
3308 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
3309 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3310 | elseif Thing[2] == "Block3" then | |
3311 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0) | |
3312 | local Mesh = Thing[7] | |
3313 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
3314 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3315 | elseif Thing[2] == "Cylinder" then | |
3316 | local Mesh = Thing[1].Mesh | |
3317 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
3318 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3319 | elseif Thing[2] == "Blood" then | |
3320 | local Mesh = Thing[7] | |
3321 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
3322 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
3323 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3324 | elseif Thing[2] == "Elec" then local Mesh = Thing[1].Mesh | |
3325 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
3326 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3327 | elseif Thing[2] == "Disappear" then | |
3328 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3329 | elseif Thing[2] == "Shatter" then | |
3330 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
3331 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
3332 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
3333 | Thing[6] = Thing[6] + Thing[5] | |
3334 | end | |
3335 | else | |
3336 | Part.Parent = nil | |
3337 | table.remove(Effects, e) | |
3338 | end | |
3339 | end | |
3340 | end | |
3341 | end | |
3342 | end | |
3343 | end | |
3344 | ------------------------------------------------------- | |
3345 | --End Animations And Script-- | |
3346 | ------------------------------------------------------- |