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