SHOW:
|
|
- or go back to the newest paste.
1 | ----------------------- | |
2 | --WhAT ANOTHER ONE????????!-- | |
3 | ------------------------------------------------------- | |
4 | --A script By makhail07 | |
5 | ||
6 | --Discord Creterisk#2958 | |
7 | ||
8 | ||
9 | --https://cdn.discordapp.com/attachments/424766294303309844/424769047436197888/e41a6cbd-23cb-4553-bd39-1338429743a7.png | |
10 | ------------------------------------------------------- | |
11 | ||
12 | local FavIDs = { | |
13 | 340106355, --Nefl Crystals | |
14 | 927529620, --Dimension | |
15 | 876981900, --Fantasy | |
16 | 398987889, --Ordinary Days | |
17 | 1117396305, --Oh wait, it's you. | |
18 | 885996042, --Action Winter Journey | |
19 | 919231299, --Sprawling Idiot Effigy | |
20 | 743466274, --Good Day Sunshine | |
21 | 727411183, --Knife Fight | |
22 | 1402748531, --The Earth Is Counting On You! | |
23 | 595230126 --Robot Language | |
24 | } | |
25 | ||
26 | ||
27 | ||
28 | --The reality of my life isn't real but a Universe -makhail07 | |
29 | wait() | |
30 | local plr = game:service'Players'.LocalPlayer | |
31 | print('Local User is '..plr.Name) | |
32 | local char = plr.Character | |
33 | local hum = char.Humanoid | |
34 | local ra = char["Right Arm"] | |
35 | local la= char["Left Arm"] | |
36 | local rl= char["Right Leg"] | |
37 | local ll = char["Left Leg"] | |
38 | local hed = char.Head | |
39 | local root = char.HumanoidRootPart | |
40 | local rootj = root.RootJoint | |
41 | local tors = char.Torso | |
42 | local mouse = plr:GetMouse() | |
43 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
44 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
45 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
46 | local EdgyMode = false | |
47 | local Divinity = false | |
48 | local Fighter = false | |
49 | local Purity = false | |
50 | local Destruction = false | |
51 | local helpme = false | |
52 | local Planetary = false | |
53 | local maincolor = BrickColor.new("Institutional white") | |
54 | ------------------------------------------------------- | |
55 | --Start Good Stuff-- | |
56 | ------------------------------------------------------- | |
57 | CF = CFrame.new | |
58 | angles = CFrame.Angles | |
59 | attack = false | |
60 | Euler = CFrame.fromEulerAnglesXYZ | |
61 | Rad = math.rad | |
62 | IT = Instance.new | |
63 | BrickC = BrickColor.new | |
64 | Cos = math.cos | |
65 | Acos = math.acos | |
66 | Sin = math.sin | |
67 | Asin = math.asin | |
68 | Abs = math.abs | |
69 | Mrandom = math.random | |
70 | Floor = math.floor | |
71 | ------------------------------------------------------- | |
72 | --End Good Stuff-- | |
73 | ------------------------------------------------------- | |
74 | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
75 | RSH, LSH = nil, nil | |
76 | RW = Instance.new("Weld") | |
77 | LW = Instance.new("Weld") | |
78 | RH = tors["Right Hip"] | |
79 | LH = tors["Left Hip"] | |
80 | RSH = tors["Right Shoulder"] | |
81 | LSH = tors["Left Shoulder"] | |
82 | RSH.Parent = nil | |
83 | LSH.Parent = nil | |
84 | RW.Name = "RW" | |
85 | RW.Part0 = tors | |
86 | RW.C0 = CF(1.5, 0.5, 0) | |
87 | RW.C1 = CF(0, 0.5, 0) | |
88 | RW.Part1 = ra | |
89 | RW.Parent = tors | |
90 | LW.Name = "LW" | |
91 | LW.Part0 = tors | |
92 | LW.C0 = CF(-1.5, 0.5, 0) | |
93 | LW.C1 = CF(0, 0.5, 0) | |
94 | LW.Part1 = la | |
95 | LW.Parent = tors | |
96 | Effects = {} | |
97 | ||
98 | ------------------------------------------------------- | |
99 | --Start HeartBeat-- | |
100 | ------------------------------------------------------- | |
101 | ArtificialHB = Instance.new("BindableEvent", script) | |
102 | ArtificialHB.Name = "Heartbeat" | |
103 | script:WaitForChild("Heartbeat") | |
104 | ||
105 | frame = 1 / 60 | |
106 | tf = 0 | |
107 | allowframeloss = false | |
108 | tossremainder = false | |
109 | ||
110 | ||
111 | lastframe = tick() | |
112 | script.Heartbeat:Fire() | |
113 | ||
114 | ||
115 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
116 | tf = tf + s | |
117 | if tf >= frame then | |
118 | if allowframeloss then | |
119 | script.Heartbeat:Fire() | |
120 | lastframe = tick() | |
121 | else | |
122 | for i = 1, math.floor(tf / frame) do | |
123 | script.Heartbeat:Fire() | |
124 | end | |
125 | lastframe = tick() | |
126 | end | |
127 | if tossremainder then | |
128 | tf = 0 | |
129 | else | |
130 | tf = tf - frame * math.floor(tf / frame) | |
131 | end | |
132 | end | |
133 | end) | |
134 | ------------------------------------------------------- | |
135 | --End HeartBeat-- | |
136 | ------------------------------------------------------- | |
137 | ||
138 | ------------------------------------------------------- | |
139 | --Start Important Functions-- | |
140 | ------------------------------------------------------- | |
141 | function swait(num) | |
142 | if num == 0 or num == nil then | |
143 | game:service("RunService").Stepped:wait(0) | |
144 | else | |
145 | for i = 0, num do | |
146 | game:service("RunService").Stepped:wait(0) | |
147 | end | |
148 | end | |
149 | end | |
150 | function thread(f) | |
151 | coroutine.resume(coroutine.create(f)) | |
152 | end | |
153 | function clerp(a, b, t) | |
154 | local qa = { | |
155 | QuaternionFromCFrame(a) | |
156 | } | |
157 | local qb = { | |
158 | QuaternionFromCFrame(b) | |
159 | } | |
160 | local ax, ay, az = a.x, a.y, a.z | |
161 | local bx, by, bz = b.x, b.y, b.z | |
162 | local _t = 1 - t | |
163 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
164 | end | |
165 | function QuaternionFromCFrame(cf) | |
166 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
167 | local trace = m00 + m11 + m22 | |
168 | if trace > 0 then | |
169 | local s = math.sqrt(1 + trace) | |
170 | local recip = 0.5 / s | |
171 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
172 | else | |
173 | local i = 0 | |
174 | if m00 < m11 then | |
175 | i = 1 | |
176 | end | |
177 | if m22 > (i == 0 and m00 or m11) then | |
178 | i = 2 | |
179 | end | |
180 | if i == 0 then | |
181 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
182 | local recip = 0.5 / s | |
183 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
184 | elseif i == 1 then | |
185 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
186 | local recip = 0.5 / s | |
187 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
188 | elseif i == 2 then | |
189 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
190 | local recip = 0.5 / s | |
191 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
192 | end | |
193 | end | |
194 | end | |
195 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
196 | local xs, ys, zs = x + x, y + y, z + z | |
197 | local wx, wy, wz = w * xs, w * ys, w * zs | |
198 | local xx = x * xs | |
199 | local xy = x * ys | |
200 | local xz = x * zs | |
201 | local yy = y * ys | |
202 | local yz = y * zs | |
203 | local zz = z * zs | |
204 | 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)) | |
205 | end | |
206 | function QuaternionSlerp(a, b, t) | |
207 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
208 | local startInterp, finishInterp | |
209 | if cosTheta >= 1.0E-4 then | |
210 | if 1 - cosTheta > 1.0E-4 then | |
211 | local theta = math.acos(cosTheta) | |
212 | local invSinTheta = 1 / Sin(theta) | |
213 | startInterp = Sin((1 - t) * theta) * invSinTheta | |
214 | finishInterp = Sin(t * theta) * invSinTheta | |
215 | else | |
216 | startInterp = 1 - t | |
217 | finishInterp = t | |
218 | end | |
219 | elseif 1 + cosTheta > 1.0E-4 then | |
220 | local theta = math.acos(-cosTheta) | |
221 | local invSinTheta = 1 / Sin(theta) | |
222 | startInterp = Sin((t - 1) * theta) * invSinTheta | |
223 | finishInterp = Sin(t * theta) * invSinTheta | |
224 | else | |
225 | startInterp = t - 1 | |
226 | finishInterp = t | |
227 | end | |
228 | 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 | |
229 | end | |
230 | function rayCast(Position, Direction, Range, Ignore) | |
231 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
232 | end | |
233 | local RbxUtility = LoadLibrary("RbxUtility") | |
234 | local Create = RbxUtility.Create | |
235 | ||
236 | ------------------------------------------------------- | |
237 | --Start Damage Function-- | |
238 | ------------------------------------------------------- | |
239 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
240 | if hit.Parent == nil then | |
241 | return | |
242 | end | |
243 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
244 | for _, v in pairs(hit.Parent:children()) do | |
245 | if v:IsA("Humanoid") then | |
246 | h = v | |
247 | end | |
248 | end | |
249 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then | |
250 | ||
251 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
252 | end | |
253 | ||
254 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
255 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
256 | if hit.Parent.DebounceHit.Value == true then | |
257 | return | |
258 | end | |
259 | end | |
260 | if insta == true then | |
261 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
262 | end | |
263 | local c = Create("ObjectValue"){ | |
264 | Name = "creator", | |
265 | Value = game:service("Players").LocalPlayer, | |
266 | Parent = h, | |
267 | } | |
268 | game:GetService("Debris"):AddItem(c, .5) | |
269 | if HitSound ~= nil and HitPitch ~= nil then | |
270 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
271 | end | |
272 | local Damage = math.random(minim, maxim) | |
273 | local blocked = false | |
274 | local block = hit.Parent:findFirstChild("Block") | |
275 | if block ~= nil then | |
276 | if block.className == "IntValue" then | |
277 | if block.Value > 0 then | |
278 | blocked = true | |
279 | block.Value = block.Value - 1 | |
280 | print(block.Value) | |
281 | end | |
282 | end | |
283 | end | |
284 | if blocked == false then | |
285 | h.Health = h.Health - Damage | |
286 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, maincolor.Color) | |
287 | else | |
288 | h.Health = h.Health - (Damage / 2) | |
289 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, maincolor.Color) | |
290 | end | |
291 | if Type == "Knockdown" then | |
292 | local hum = hit.Parent.Humanoid | |
293 | hum.PlatformStand = true | |
294 | coroutine.resume(coroutine.create(function(HHumanoid) | |
295 | swait(1) | |
296 | HHumanoid.PlatformStand = false | |
297 | end), hum) | |
298 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
299 | local bodvol = Create("BodyVelocity"){ | |
300 | velocity = angle * knockback, | |
301 | P = 5000, | |
302 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
303 | Parent = hit, | |
304 | } | |
305 | local rl = Create("BodyAngularVelocity"){ | |
306 | P = 3000, | |
307 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
308 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
309 | Parent = hit, | |
310 | } | |
311 | game:GetService("Debris"):AddItem(bodvol, .5) | |
312 | game:GetService("Debris"):AddItem(rl, .5) | |
313 | elseif Type == "Normal" then | |
314 | local vp = Create("BodyVelocity"){ | |
315 | P = 500, | |
316 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
317 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
318 | } | |
319 | if knockback > 0 then | |
320 | vp.Parent = hit.Parent.Torso | |
321 | end | |
322 | game:GetService("Debris"):AddItem(vp, .5) | |
323 | elseif Type == "Up" then | |
324 | local bodyVelocity = Create("BodyVelocity"){ | |
325 | velocity = Vector3.new(0, 20, 0), | |
326 | P = 5000, | |
327 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
328 | Parent = hit, | |
329 | } | |
330 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
331 | elseif Type == "DarkUp" then | |
332 | coroutine.resume(coroutine.create(function() | |
333 | for i = 0, 1, 0.1 do | |
334 | swait() | |
335 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
336 | end | |
337 | end)) | |
338 | local bodyVelocity = Create("BodyVelocity"){ | |
339 | velocity = Vector3.new(0, 20, 0), | |
340 | P = 5000, | |
341 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
342 | Parent = hit, | |
343 | } | |
344 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
345 | elseif Type == "Snare" then | |
346 | local bp = Create("BodyPosition"){ | |
347 | P = 2000, | |
348 | D = 100, | |
349 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
350 | position = hit.Parent.Torso.Position, | |
351 | Parent = hit.Parent.Torso, | |
352 | } | |
353 | game:GetService("Debris"):AddItem(bp, 1) | |
354 | elseif Type == "Freeze" then | |
355 | local BodPos = Create("BodyPosition"){ | |
356 | P = 50000, | |
357 | D = 1000, | |
358 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
359 | position = hit.Parent.Torso.Position, | |
360 | Parent = hit.Parent.Torso, | |
361 | } | |
362 | local BodGy = Create("BodyGyro") { | |
363 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
364 | P = 20e+003, | |
365 | Parent = hit.Parent.Torso, | |
366 | cframe = hit.Parent.Torso.CFrame, | |
367 | } | |
368 | hit.Parent.Torso.Anchored = true | |
369 | coroutine.resume(coroutine.create(function(Part) | |
370 | swait(1.5) | |
371 | Part.Anchored = false | |
372 | end), hit.Parent.Torso) | |
373 | game:GetService("Debris"):AddItem(BodPos, 3) | |
374 | game:GetService("Debris"):AddItem(BodGy, 3) | |
375 | end | |
376 | local debounce = Create("BoolValue"){ | |
377 | Name = "DebounceHit", | |
378 | Parent = hit.Parent, | |
379 | Value = true, | |
380 | } | |
381 | game:GetService("Debris"):AddItem(debounce, Delay) | |
382 | c = Create("ObjectValue"){ | |
383 | Name = "creator", | |
384 | Value = Player, | |
385 | Parent = h, | |
386 | } | |
387 | game:GetService("Debris"):AddItem(c, .5) | |
388 | end | |
389 | end | |
390 | ------------------------------------------------------- | |
391 | --End Damage Function-- | |
392 | ------------------------------------------------------- | |
393 | ||
394 | ------------------------------------------------------- | |
395 | --Start Damage Function Customization-- | |
396 | ------------------------------------------------------- | |
397 | function ShowDamage(Pos, Text, Time, Color) | |
398 | local Rate = (1 / 30) | |
399 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
400 | local Text = (Text or "") | |
401 | local Time = (Time or 2) | |
402 | local Color = (Color or Color3.new(1, 0, 1)) | |
403 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
404 | EffectPart.Anchored = true | |
405 | local BillboardGui = Create("BillboardGui"){ | |
406 | Size = UDim2.new(3, 0, 3, 0), | |
407 | Adornee = EffectPart, | |
408 | Parent = EffectPart, | |
409 | } | |
410 | local TextLabel = Create("TextLabel"){ | |
411 | BackgroundTransparency = 1, | |
412 | Size = UDim2.new(1, 0, 1, 0), | |
413 | Text = Text, | |
414 | Font = "Highway", | |
415 | TextColor3 = Color, | |
416 | TextScaled = true, | |
417 | TextStrokeColor3 = Color3.fromRGB(0,0,0), | |
418 | Parent = BillboardGui, | |
419 | } | |
420 | game.Debris:AddItem(EffectPart, (Time)) | |
421 | EffectPart.Parent = game:GetService("Workspace") | |
422 | delay(0, function() | |
423 | local Frames = (Time / Rate) | |
424 | for Frame = 1, Frames do | |
425 | wait(Rate) | |
426 | local Percent = (Frame / Frames) | |
427 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
428 | TextLabel.TextTransparency = Percent | |
429 | end | |
430 | if EffectPart and EffectPart.Parent then | |
431 | EffectPart:Destroy() | |
432 | end | |
433 | end) | |
434 | end | |
435 | ------------------------------------------------------- | |
436 | --End Damage Function Customization-- | |
437 | ------------------------------------------------------- | |
438 | ||
439 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
440 | for _, c in pairs(workspace:children()) do | |
441 | local hum = c:findFirstChild("Humanoid") | |
442 | if hum ~= nil then | |
443 | local head = c:findFirstChild("Head") | |
444 | if head ~= nil then | |
445 | local targ = head.Position - Part.Position | |
446 | local mag = targ.magnitude | |
447 | if magni >= mag and c.Name ~= plr.Name then | |
448 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) | |
449 | end | |
450 | end | |
451 | end | |
452 | end | |
453 | end | |
454 | ||
455 | ||
456 | CFuncs = { | |
457 | Part = { | |
458 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
459 | local Part = Create("Part")({ | |
460 | Parent = Parent, | |
461 | Reflectance = Reflectance, | |
462 | Transparency = Transparency, | |
463 | CanCollide = false, | |
464 | Locked = true, | |
465 | BrickColor = BrickColor.new(tostring(BColor)), | |
466 | Name = Name, | |
467 | Size = Size, | |
468 | Material = Material | |
469 | }) | |
470 | RemoveOutlines(Part) | |
471 | return Part | |
472 | end | |
473 | }, | |
474 | Mesh = { | |
475 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
476 | local Msh = Create(Mesh)({ | |
477 | Parent = Part, | |
478 | Offset = OffSet, | |
479 | Scale = Scale | |
480 | }) | |
481 | if Mesh == "SpecialMesh" then | |
482 | Msh.MeshType = MeshType | |
483 | Msh.MeshId = MeshId | |
484 | end | |
485 | return Msh | |
486 | end | |
487 | }, | |
488 | Mesh = { | |
489 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
490 | local Msh = Create(Mesh)({ | |
491 | Parent = Part, | |
492 | Offset = OffSet, | |
493 | Scale = Scale | |
494 | }) | |
495 | if Mesh == "SpecialMesh" then | |
496 | Msh.MeshType = MeshType | |
497 | Msh.MeshId = MeshId | |
498 | end | |
499 | return Msh | |
500 | end | |
501 | }, | |
502 | Weld = { | |
503 | Create = function(Parent, Part0, Part1, C0, C1) | |
504 | local Weld = Create("Weld")({ | |
505 | Parent = Parent, | |
506 | Part0 = Part0, | |
507 | Part1 = Part1, | |
508 | C0 = C0, | |
509 | C1 = C1 | |
510 | }) | |
511 | return Weld | |
512 | end | |
513 | }, | |
514 | Sound = { | |
515 | Create = function(id, par, vol, pit) | |
516 | coroutine.resume(coroutine.create(function() | |
517 | local S = Create("Sound")({ | |
518 | Volume = vol, | |
519 | Pitch = pit or 1, | |
520 | SoundId = id, | |
521 | Parent = par or workspace | |
522 | }) | |
523 | wait() | |
524 | S:play() | |
525 | game:GetService("Debris"):AddItem(S, 6) | |
526 | end)) | |
527 | end | |
528 | }, | |
529 | ParticleEmitter = { | |
530 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
531 | local fp = Create("ParticleEmitter")({ | |
532 | Parent = Parent, | |
533 | Color = ColorSequence.new(Color1, Color2), | |
534 | LightEmission = LightEmission, | |
535 | Size = Size, | |
536 | Texture = Texture, | |
537 | Transparency = Transparency, | |
538 | ZOffset = ZOffset, | |
539 | Acceleration = Accel, | |
540 | Drag = Drag, | |
541 | LockedToPart = LockedToPart, | |
542 | VelocityInheritance = VelocityInheritance, | |
543 | EmissionDirection = EmissionDirection, | |
544 | Enabled = Enabled, | |
545 | Lifetime = LifeTime, | |
546 | Rate = Rate, | |
547 | Rotation = Rotation, | |
548 | RotSpeed = RotSpeed, | |
549 | Speed = Speed, | |
550 | VelocitySpread = VelocitySpread | |
551 | }) | |
552 | return fp | |
553 | end | |
554 | } | |
555 | } | |
556 | function RemoveOutlines(part) | |
557 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
558 | end | |
559 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
560 | local Part = Create("Part")({ | |
561 | formFactor = FormFactor, | |
562 | Parent = Parent, | |
563 | Reflectance = Reflectance, | |
564 | Transparency = Transparency, | |
565 | CanCollide = false, | |
566 | Locked = true, | |
567 | BrickColor = BrickColor.new(tostring(BColor)), | |
568 | Name = Name, | |
569 | Size = Size, | |
570 | Material = Material | |
571 | }) | |
572 | RemoveOutlines(Part) | |
573 | return Part | |
574 | end | |
575 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
576 | local Msh = Create(Mesh)({ | |
577 | Parent = Part, | |
578 | Offset = OffSet, | |
579 | Scale = Scale | |
580 | }) | |
581 | if Mesh == "SpecialMesh" then | |
582 | Msh.MeshType = MeshType | |
583 | Msh.MeshId = MeshId | |
584 | end | |
585 | return Msh | |
586 | end | |
587 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
588 | local Weld = Create("Weld")({ | |
589 | Parent = Parent, | |
590 | Part0 = Part0, | |
591 | Part1 = Part1, | |
592 | C0 = C0, | |
593 | C1 = C1 | |
594 | }) | |
595 | return Weld | |
596 | end | |
597 | ||
598 | ||
599 | ------------------------------------------------------- | |
600 | --Start Effect Function-- | |
601 | ------------------------------------------------------- | |
602 | EffectModel = Instance.new("Model", char) | |
603 | Effects = { | |
604 | Block = { | |
605 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
606 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
607 | prt.Anchored = true | |
608 | prt.CFrame = cframe | |
609 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
610 | game:GetService("Debris"):AddItem(prt, 10) | |
611 | if Type == 1 or Type == nil then | |
612 | table.insert(Effects, { | |
613 | prt, | |
614 | "Block1", | |
615 | delay, | |
616 | x3, | |
617 | y3, | |
618 | z3, | |
619 | msh | |
620 | }) | |
621 | elseif Type == 2 then | |
622 | table.insert(Effects, { | |
623 | prt, | |
624 | "Block2", | |
625 | delay, | |
626 | x3, | |
627 | y3, | |
628 | z3, | |
629 | msh | |
630 | }) | |
631 | else | |
632 | table.insert(Effects, { | |
633 | prt, | |
634 | "Block3", | |
635 | delay, | |
636 | x3, | |
637 | y3, | |
638 | z3, | |
639 | msh | |
640 | }) | |
641 | end | |
642 | end | |
643 | }, | |
644 | Sphere = { | |
645 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
646 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
647 | prt.Anchored = true | |
648 | prt.CFrame = cframe | |
649 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
650 | game:GetService("Debris"):AddItem(prt, 10) | |
651 | table.insert(Effects, { | |
652 | prt, | |
653 | "Cylinder", | |
654 | delay, | |
655 | x3, | |
656 | y3, | |
657 | z3, | |
658 | msh | |
659 | }) | |
660 | end | |
661 | }, | |
662 | Cylinder = { | |
663 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
664 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
665 | prt.Anchored = true | |
666 | prt.CFrame = cframe | |
667 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
668 | game:GetService("Debris"):AddItem(prt, 10) | |
669 | table.insert(Effects, { | |
670 | prt, | |
671 | "Cylinder", | |
672 | delay, | |
673 | x3, | |
674 | y3, | |
675 | z3, | |
676 | msh | |
677 | }) | |
678 | end | |
679 | }, | |
680 | Wave = { | |
681 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
682 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
683 | prt.Anchored = true | |
684 | prt.CFrame = cframe | |
685 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60)) | |
686 | game:GetService("Debris"):AddItem(prt, 10) | |
687 | table.insert(Effects, { | |
688 | prt, | |
689 | "Cylinder", | |
690 | delay, | |
691 | x3 / 60, | |
692 | y3 / 60, | |
693 | z3 / 60, | |
694 | msh | |
695 | }) | |
696 | end | |
697 | }, | |
698 | Ring = { | |
699 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
700 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
701 | prt.Anchored = true | |
702 | prt.CFrame = cframe | |
703 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
704 | game:GetService("Debris"):AddItem(prt, 10) | |
705 | table.insert(Effects, { | |
706 | prt, | |
707 | "Cylinder", | |
708 | delay, | |
709 | x3, | |
710 | y3, | |
711 | z3, | |
712 | msh | |
713 | }) | |
714 | end | |
715 | }, | |
716 | Break = { | |
717 | Create = function(brickcolor, cframe, x1, y1, z1) | |
718 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
719 | prt.Anchored = true | |
720 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
721 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
722 | local num = math.random(10, 50) / 1000 | |
723 | game:GetService("Debris"):AddItem(prt, 10) | |
724 | table.insert(Effects, { | |
725 | prt, | |
726 | "Shatter", | |
727 | num, | |
728 | prt.CFrame, | |
729 | math.random() - math.random(), | |
730 | 0, | |
731 | math.random(50, 100) / 100 | |
732 | }) | |
733 | end | |
734 | }, | |
735 | Spiral = { | |
736 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
737 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
738 | prt.Anchored = true | |
739 | prt.CFrame = cframe | |
740 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
741 | game:GetService("Debris"):AddItem(prt, 10) | |
742 | table.insert(Effects, { | |
743 | prt, | |
744 | "Cylinder", | |
745 | delay, | |
746 | x3, | |
747 | y3, | |
748 | z3, | |
749 | msh | |
750 | }) | |
751 | end | |
752 | }, | |
753 | Push = { | |
754 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
755 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
756 | prt.Anchored = true | |
757 | prt.CFrame = cframe | |
758 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
759 | game:GetService("Debris"):AddItem(prt, 10) | |
760 | table.insert(Effects, { | |
761 | prt, | |
762 | "Cylinder", | |
763 | delay, | |
764 | x3, | |
765 | y3, | |
766 | z3, | |
767 | msh | |
768 | }) | |
769 | end | |
770 | } | |
771 | } | |
772 | ------------------------------------------------------- | |
773 | --End Effect Function-- | |
774 | ------------------------------------------------------- | |
775 | ||
776 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
777 | local NSound = nil | |
778 | coroutine.resume(coroutine.create(function() | |
779 | NSound = Instance.new("Sound", PARENT) | |
780 | NSound.Volume = VOLUME | |
781 | NSound.Pitch = PITCH | |
782 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
783 | swait() | |
784 | NSound:play() | |
785 | game:GetService("Debris"):AddItem(NSound, 10) | |
786 | end)) | |
787 | return NSound | |
788 | end | |
789 | ||
790 | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
791 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
792 | prt.Anchored = true | |
793 | prt.CFrame = cframe | |
794 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
795 | game:GetService("Debris"):AddItem(prt, 10) | |
796 | if Type == 1 or Type == nil then | |
797 | table.insert(Effects, { | |
798 | prt, | |
799 | "Block1", | |
800 | delay, | |
801 | x3, | |
802 | y3, | |
803 | z3, | |
804 | msh | |
805 | }) | |
806 | elseif Type == 2 then | |
807 | table.insert(Effects, { | |
808 | prt, | |
809 | "Block2", | |
810 | delay, | |
811 | x3, | |
812 | y3, | |
813 | z3, | |
814 | msh | |
815 | }) | |
816 | elseif Type == 3 then | |
817 | table.insert(Effects, { | |
818 | prt, | |
819 | "Block3", | |
820 | delay, | |
821 | x3, | |
822 | y3, | |
823 | z3, | |
824 | msh | |
825 | }) | |
826 | end | |
827 | end | |
828 | ||
829 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
830 | local fp=Instance.new("Part") | |
831 | fp.formFactor=formfactor | |
832 | fp.Parent=parent | |
833 | fp.Reflectance=reflectance | |
834 | fp.Transparency=transparency | |
835 | fp.CanCollide=false | |
836 | fp.Locked=true | |
837 | fp.BrickColor=brickcolor | |
838 | fp.Name=name | |
839 | fp.Size=size | |
840 | fp.Position=tors.Position | |
841 | RemoveOutlines(fp) | |
842 | fp.Material="SmoothPlastic" | |
843 | fp:BreakJoints() | |
844 | return fp | |
845 | end | |
846 | ||
847 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
848 | local mesh=Instance.new(Mesh) | |
849 | mesh.Parent=part | |
850 | if Mesh=="SpecialMesh" then | |
851 | mesh.MeshType=meshtype | |
852 | if meshid~="nil" then | |
853 | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid | |
854 | end | |
855 | end | |
856 | mesh.Offset=offset | |
857 | mesh.Scale=scale | |
858 | return mesh | |
859 | end | |
860 | ||
861 | function MagicShockTrailAlt2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype) | |
862 | local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
863 | prt.Anchored = true | |
864 | prt.Material = "Neon" | |
865 | prt.CFrame = cframe | |
866 | local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
867 | game:GetService("Debris"):AddItem(prt, 5) | |
868 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
869 | local rtype = rottype | |
870 | for i = 0, 1, delay do | |
871 | swait() | |
872 | if rtype == 1 then | |
873 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) | |
874 | elseif rtype == 2 then | |
875 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) | |
876 | end | |
877 | prt.Transparency = i | |
878 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
879 | end | |
880 | Part.Parent = nil | |
881 | end), prt, msh) | |
882 | end | |
883 | ||
884 | ||
885 | function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
886 | local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
887 | prt.Anchored = true | |
888 | prt.Material = "Neon" | |
889 | prt.CFrame = cframe | |
890 | prt.CFrame = prt.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
891 | local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
892 | game:GetService("Debris"):AddItem(prt, 5) | |
893 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
894 | for i = 0, 1, delay do | |
895 | swait() | |
896 | Part.CFrame = Part.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
897 | Part.Transparency = i | |
898 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
899 | end | |
900 | Part.Parent = nil | |
901 | end), prt, msh) | |
902 | end | |
903 | ||
904 | ||
905 | function MagicShockAlt(brickcolor, cframe, x1, y1, x3, y3, delay, rottype) | |
906 | local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
907 | prt.Anchored = true | |
908 | prt.Material = "Neon" | |
909 | prt.CFrame = cframe | |
910 | local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, 0.01)) | |
911 | game:GetService("Debris"):AddItem(prt, 5) | |
912 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
913 | local rtype = rottype | |
914 | for i = 0, 1, delay do | |
915 | swait() | |
916 | if rtype == 1 then | |
917 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) | |
918 | elseif rtype == 2 then | |
919 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) | |
920 | end | |
921 | prt.Transparency = i | |
922 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, 0) | |
923 | end | |
924 | Part.Parent = nil | |
925 | end), prt, msh) | |
926 | end | |
927 | ||
928 | function Eviscerate(dude) | |
929 | if dude.Name ~= char then | |
930 | local bgf = IT("BodyGyro", dude.Head) | |
931 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
932 | local val = IT("BoolValue", dude) | |
933 | val.Name = "IsHit" | |
934 | local ds = coroutine.wrap(function() | |
935 | dude:WaitForChild("Head"):BreakJoints() | |
936 | wait(0.5) | |
937 | target = nil | |
938 | coroutine.resume(coroutine.create(function() | |
939 | for i, v in pairs(dude:GetChildren()) do | |
940 | if v:IsA("Accessory") then | |
941 | v:Destroy() | |
942 | end | |
943 | if v:IsA("Humanoid") then | |
944 | v:Destroy() | |
945 | end | |
946 | if v:IsA("CharacterMesh") then | |
947 | v:Destroy() | |
948 | end | |
949 | if v:IsA("Model") then | |
950 | v:Destroy() | |
951 | end | |
952 | if v:IsA("Part") or v:IsA("MeshPart") then | |
953 | for x, o in pairs(v:GetChildren()) do | |
954 | if o:IsA("Decal") then | |
955 | o:Destroy() | |
956 | end | |
957 | end | |
958 | coroutine.resume(coroutine.create(function() | |
959 | v.Material = "Neon" | |
960 | v.CanCollide = false | |
961 | local PartEmmit1 = IT("ParticleEmitter", v) | |
962 | PartEmmit1.LightEmission = 1 | |
963 | PartEmmit1.Texture = "rbxassetid://284205403" | |
964 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
965 | PartEmmit1.Rate = 150 | |
966 | PartEmmit1.Lifetime = NumberRange.new(1) | |
967 | PartEmmit1.Size = NumberSequence.new({ | |
968 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
969 | NumberSequenceKeypoint.new(1, 0, 0) | |
970 | }) | |
971 | PartEmmit1.Transparency = NumberSequence.new({ | |
972 | NumberSequenceKeypoint.new(0, 0, 0), | |
973 | NumberSequenceKeypoint.new(1, 1, 0) | |
974 | }) | |
975 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
976 | PartEmmit1.VelocitySpread = 30000 | |
977 | PartEmmit1.Rotation = NumberRange.new(-500, 500) | |
978 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
979 | local BodPoss = IT("BodyPosition", v) | |
980 | BodPoss.P = 3000 | |
981 | BodPoss.D = 1000 | |
982 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
983 | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
984 | v.Color = maincolor.Color | |
985 | coroutine.resume(coroutine.create(function() | |
986 | for i = 0, 49 do | |
987 | swait(1) | |
988 | v.Transparency = v.Transparency + 0.08 | |
989 | end | |
990 | wait(0.5) | |
991 | PartEmmit1.Enabled = false | |
992 | wait(3) | |
993 | v:Destroy() | |
994 | dude:Destroy() | |
995 | end)) | |
996 | end)) | |
997 | end | |
998 | end | |
999 | end)) | |
1000 | end) | |
1001 | ds() | |
1002 | end | |
1003 | end | |
1004 | function FindNearestHead(Position, Distance, SinglePlayer) | |
1005 | if SinglePlayer then | |
1006 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
1007 | end | |
1008 | local List = {} | |
1009 | for i, v in pairs(workspace:GetChildren()) do | |
1010 | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then | |
1011 | table.insert(List, v) | |
1012 | end | |
1013 | end | |
1014 | return List | |
1015 | end | |
1016 | function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos) | |
1017 | local type = type | |
1018 | local rng = Instance.new("Part", char) | |
1019 | rng.Anchored = true | |
1020 | rng.BrickColor = color | |
1021 | rng.CanCollide = false | |
1022 | rng.FormFactor = 3 | |
1023 | rng.Name = "Ring" | |
1024 | rng.Material = "Neon" | |
1025 | rng.Size = Vector3.new(1, 1, 1) | |
1026 | rng.Transparency = 0 | |
1027 | rng.TopSurface = 0 | |
1028 | rng.BottomSurface = 0 | |
1029 | rng.CFrame = pos | |
1030 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
1031 | local rngm = Instance.new("SpecialMesh", rng) | |
1032 | rngm.MeshType = "Sphere" | |
1033 | rngm.Scale = Vector3.new(x1, y1, z1) | |
1034 | local scaler2 = 1 | |
1035 | local speeder = FastSpeed | |
1036 | if type == "Add" then | |
1037 | scaler2 = 1 * value | |
1038 | elseif type == "Divide" then | |
1039 | scaler2 = 1 / value | |
1040 | end | |
1041 | coroutine.resume(coroutine.create(function() | |
1042 | for i = 0, 10 / bonuspeed, 0.1 do | |
1043 | swait() | |
1044 | if type == "Add" then | |
1045 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
1046 | elseif type == "Divide" then | |
1047 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
1048 | end | |
1049 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
1050 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
1051 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
1052 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
1053 | end | |
1054 | rng:Destroy() | |
1055 | end)) | |
1056 | end | |
1057 | ------------------------------------------------------- | |
1058 | --End Important Functions-- | |
1059 | ------------------------------------------------------- | |
1060 | ||
1061 | --[[ | |
1062 | Thanks for using Build-To-Lua by jarredbcv. | |
1063 | ]]-- | |
1064 | ||
1065 | New = function(Object, Parent, Name, Data) | |
1066 | local Object = Instance.new(Object) | |
1067 | for Index, Value in pairs(Data or {}) do | |
1068 | Object[Index] = Value | |
1069 | end | |
1070 | Object.Parent = Parent | |
1071 | Object.Name = Name | |
1072 | return Object | |
1073 | end | |
1074 | ||
1075 | NewInstance = function(instance,parent,properties) | |
1076 | local inst = Instance.new(instance,parent) | |
1077 | if(properties)then | |
1078 | for i,v in next, properties do | |
1079 | pcall(function() inst[i] = v end) | |
1080 | end | |
1081 | end | |
1082 | return inst; | |
1083 | end | |
1084 | ||
1085 | Gunty = New("Model",char,"Gunty",{}) | |
1086 | Handle = New("Part",Gunty,"Handle",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.799999952, 0.980000019, 1),CFrame = CFrame.new(-6.17461252, 2.89117765, -81.6553421, 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,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1087 | Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1088 | Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.449999958, 0.300000012, 1.00999999),CFrame = CFrame.new(-5.79491472, 3.31696463, -81.668541, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1089 | Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1.14999998, 0.699999988, 1.04999995),}) | |
1090 | mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.375087738, 0.43002677, -0.00499725342, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1091 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.400000006, 0.800000012, 1.43999994),CFrame = CFrame.new(-5.77552652, 2.79678607, -81.6581802, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),}) | |
1092 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1093 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.400111198, -0.089990139, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1094 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.50999999, 1.00999999, 1.38),CFrame = CFrame.new(-5.79167271, 2.89196372, -81.6569061, 0.999894142, 0.0109243561, 0.00963267591, -0.0110270008, 0.99988246, 0.0106679127, -0.00951499958, -0.0107729975, 0.999896884),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),}) | |
1095 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1096 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.382905483, 0.00498604774, 0.00213623047, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1097 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.340000033, 0.179999962, 1.27999997),CFrame = CFrame.new(-6.43716383, 3.22691417, -81.656456, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),}) | |
1098 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1099 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.266214848, 0.332840681, -6.10351563e-05, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1100 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.340000033, 0.239999965, 1.27999997),CFrame = CFrame.new(-6.43716383, 2.87691402, -81.6564636, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),}) | |
1101 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1102 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.262355328, -0.0171182156, -0.00379943848, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1103 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.380000025, 0.239999965, 1.27999997),CFrame = CFrame.new(-6.41705704, 2.5166924, -81.6567535, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),}) | |
1104 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1105 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.238276005, -0.37707448, -0.00774383545, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1106 | Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.080000028, 0.829999983, 1.24000001),CFrame = CFrame.new(-6.28731203, 2.83357024, -81.6548691, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1107 | Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1108 | mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.112056732, -0.058836937, -0.00122833252, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1109 | Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.580000043, 0.209999949, 1.24000001),CFrame = CFrame.new(-6.30723286, 3.2204814, -81.6576462, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1110 | Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1111 | mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.136215687, 0.327841043, -6.86645508e-05, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1112 | Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.580000043, 0.269999951, 1.24000001),CFrame = CFrame.new(-6.30756044, 2.87048483, -81.6573257, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1113 | Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1114 | mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.132686615, -0.0221214294, -0.0034866333, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1115 | Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.580000043, 0.249999955, 1.25),CFrame = CFrame.new(-6.30751181, 2.53053808, -81.6523285, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1116 | Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1117 | mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.128937244, -0.362081289, -0.00211334229, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1118 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(-5.71910667, 3.10924911, -81.0621643, 0.968651533, -0.24823907, 0.00961919595, 0.248137087, 0.968666732, 0.0106559293, -0.0119630033, -0.007934995, 0.999897361),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1119 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.899999976, 0.400000006),}) | |
1120 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.968651116, 0.248137027, -0.0119630015, -0.248238936, 0.968666434, -0.007934995, 0.00961919129, 0.0106559228, 0.999897003),C1 = CFrame.new(0.447408676, 0.216631651, 0.599830627, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1121 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(-5.74061537, 3.09643626, -82.2620392, 0.968651533, -0.24823907, 0.00961919595, 0.248137087, 0.968666732, 0.0106559293, -0.0119630033, -0.007934995, 0.999897361),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1122 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.899999976, 0.400000006),}) | |
1123 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.968651116, 0.248137027, -0.0119630015, -0.248238936, 0.968666434, -0.007934995, 0.00961919129, 0.0106559228, 0.999897003),C1 = CFrame.new(0.437460423, 0.216511488, -0.600265503, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1124 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 1.4000001),CFrame = CFrame.new(-5.66842175, 2.87551188, -81.6588593, 0.699307382, 0.714757025, 0.00962753966, -0.714821219, 0.699226558, 0.0106663266, 0.000891998934, -0.0143409977, 0.999897063),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),}) | |
1125 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 0.930000007),}) | |
1126 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.699307024, -0.714820981, 0.000891999982, 0.714756727, 0.69922626, -0.0143409977, 0.00962753501, 0.010666322, 0.999896765),C1 = CFrame.new(0.506342888, -0.0100963116, 0.00119018555, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1127 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.320000023, 0.919999957, 1.27999997),CFrame = CFrame.new(-6.08716917, 2.84636235, -81.6569443, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),}) | |
1128 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1129 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.0879435539, -0.0438375473, -0.00123596191, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1130 | Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.329999983, 0.269999981, 0.860000074),CFrame = CFrame.new(-5.68526602, 2.76024342, -81.6548996, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1131 | Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1132 | mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.4907341, -0.125577688, 0.0037612915, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1133 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.279999971, 0.389999986, 1.05000007),CFrame = CFrame.new(-5.67011929, 2.75067925, -81.6596603, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),}) | |
1134 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) | |
1135 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.506030083, -0.134924173, -0.000953674316, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1136 | Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.230000019, 0.0599999875),CFrame = CFrame.new(-5.65182352, 3.14374733, -82.1123657, 1.00000036, -2.32830644e-10, 1.86264515e-09, 2.76486389e-10, 0.945462108, -0.325733244, 2.79396772e-09, 0.325733304, 0.945462048),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),}) | |
1137 | mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.94546175, 0.325733155, 0, -0.325733155, 0.94546175),C1 = CFrame.new(0.524296761, 0.263174534, -0.449249268, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1138 | Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.150000021, 0.0599999875),CFrame = CFrame.new(-5.651824, 3.16514564, -82.0512466, 1.00000036, -1.28056854e-09, 1.86264515e-09, 2.76486389e-10, 0.990724444, 0.135888785, 2.79396772e-09, -0.13588877, 0.990724444),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),}) | |
1139 | mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.990724087, -0.135888726, 0, 0.135888726, 0.990724087),C1 = CFrame.new(0.523478985, 0.283911943, -0.387901306, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1140 | Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.170000017, 0.0599999875),CFrame = CFrame.new(-5.651824, 3.15523815, -81.9898987, 1.00000036, -9.31322575e-10, 1.86264515e-09, 2.76486389e-10, 0.841228187, -0.540680885, 2.79396772e-09, 0.540680885, 0.841228247),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),}) | |
1141 | mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.841227949, 0.540680707, 0, -0.540680707, 0.841227949),C1 = CFrame.new(0.523004532, 0.273344755, -0.326667786, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1142 | Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.230000019, 0.0599999875),CFrame = CFrame.new(-5.65182352, 3.12556744, -81.9521408, 1.00000036, -5.82076609e-10, 9.31322575e-10, 2.76486389e-10, 0.99409467, -0.10851986, 2.79396772e-09, 0.108519867, 0.99409461),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),}) | |
1143 | mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.994094312, 0.10851983, 0, -0.10851983, 0.994094312),C1 = CFrame.new(0.522972584, 0.243270636, -0.289230347, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1144 | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 1.18000007),CFrame = CFrame.new(-6.06842232, 2.94551158, -81.6588593, 0.699307382, 0.714757025, 0.00962753966, -0.714821219, 0.699226558, 0.0106663266, 0.000891998934, -0.0143409977, 0.999897063),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),}) | |
1145 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 0.930000007),}) | |
1146 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.699307024, -0.714820981, 0.000891999982, 0.714756727, 0.69922626, -0.0143409977, 0.00962753501, 0.010666322, 0.999896765),C1 = CFrame.new(0.105613232, 0.0555255413, -0.00191497803, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) | |
1147 | ||
1148 | local HW = NewInstance('Motor', char, {Part0 = ra, Part1 = Handle, C0 = CF(-.1,-.51,0)}) | |
1149 | ||
1150 | for _,v in next, Gunty:children() do | |
1151 | v.CanCollide = false | |
1152 | end | |
1153 | ||
1154 | local all, last = {}, nil | |
1155 | ArmourParts = {} | |
1156 | ArmourParts2 = {} | |
1157 | NeonParts = {} | |
1158 | function scan(p) | |
1159 | for _, v in pairs(p:GetChildren()) do | |
1160 | if v:IsA("BasePart") then | |
1161 | if v.BrickColor == BrickColor.new("Smoky grey") then | |
1162 | table.insert(ArmourParts, v) | |
1163 | end | |
1164 | if v.BrickColor == BrickColor.new("Fossil") then | |
1165 | table.insert(ArmourParts2, v) | |
1166 | end | |
1167 | if v.BrickColor == BrickColor.new("Institutional white") then | |
1168 | table.insert(NeonParts, v) | |
1169 | end | |
1170 | if last then | |
1171 | local w = Instance.new("Weld") | |
1172 | w.Part0, w.Part1 = last, v | |
1173 | w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse() | |
1174 | w.Parent = last | |
1175 | end | |
1176 | table.insert(all, v) | |
1177 | last = v | |
1178 | end | |
1179 | scan(v) | |
1180 | end | |
1181 | end | |
1182 | scan(Gunty) | |
1183 | for _, v in pairs(all) do | |
1184 | v.Anchored = false | |
1185 | v.CanCollide = false | |
1186 | end | |
1187 | function resetmode() | |
1188 | for i, v in pairs(ArmourParts) do | |
1189 | v.BrickColor = BrickColor.new("Smoky grey") | |
1190 | end | |
1191 | for i, v in pairs(ArmourParts2) do | |
1192 | v.BrickColor = BrickColor.new("Fossil") | |
1193 | end | |
1194 | for i, v in pairs(NeonParts) do | |
1195 | v.BrickColor = BrickColor.new("Institutional white") | |
1196 | end | |
1197 | maincolor = BrickColor.new("Institutional white") | |
1198 | end | |
1199 | ------------------------------------------------------- | |
1200 | --Start Music Option-- | |
1201 | ------------------------------------------------------- | |
1202 | local Music = Instance.new("Sound",tors) | |
1203 | Music.Volume = 2.5 | |
1204 | Music.SoundId = "rbxassetid://1117396305" | |
1205 | Music.Looped = true | |
1206 | Music.Pitch = 1 --Pitcher | |
1207 | Music:Play() | |
1208 | ------------------------------------------------------- | |
1209 | --End Music Option-- | |
1210 | ------------------------------------------------------- | |
1211 | ||
1212 | local naeeym2 = Instance.new("BillboardGui",char) | |
1213 | naeeym2.AlwaysOnTop = true | |
1214 | naeeym2.Size = UDim2.new(5,35,2,35) | |
1215 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
1216 | naeeym2.Adornee = hed | |
1217 | naeeym2.Name = "Name" | |
1218 | ||
1219 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
1220 | tecks2.BackgroundTransparency = 1 | |
1221 | tecks2.TextScaled = true | |
1222 | tecks2.BorderSizePixel = 0 | |
1223 | - | tecks2.Text = "Neutral" |
1223 | + | tecks2.Text = "I Like Turtles" |
1224 | tecks2.Font = "Code" | |
1225 | tecks2.TextSize = 30 | |
1226 | tecks2.TextStrokeTransparency = 0 | |
1227 | tecks2.TextColor3 = Color3.new(0,0,0) | |
1228 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
1229 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
1230 | tecks2.Parent = naeeym2 | |
1231 | ||
1232 | ------------------------------------------------------- | |
1233 | --Start Attacks N Stuff-- | |
1234 | ------------------------------------------------------- | |
1235 | local sine=0 | |
1236 | function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype) | |
1237 | local Hitboxpart = Instance.new("Part", EffectModel) | |
1238 | RemoveOutlines(Hitboxpart) | |
1239 | Hitboxpart.Size = Vector3.new(siz1, siz2, siz3) | |
1240 | Hitboxpart.CanCollide = false | |
1241 | Hitboxpart.Transparency = 1 | |
1242 | Hitboxpart.Anchored = true | |
1243 | Hitboxpart.CFrame = Pose | |
1244 | game:GetService("Debris"):AddItem(Hitboxpart, lifetime) | |
1245 | MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype) | |
1246 | end | |
1247 | wait2 = false | |
1248 | combo = 1 | |
1249 | mouse.Button1Down:connect(function(key) | |
1250 | if attack == false then | |
1251 | attack = true | |
1252 | hum.WalkSpeed = 3.01 | |
1253 | if combo == 1 and wait2 == false then | |
1254 | wait2 = true | |
1255 | for i = 0, 1.2, 0.1 do | |
1256 | swait() | |
1257 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3) | |
1258 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
1259 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1) | |
1260 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
1261 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3) | |
1262 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3) | |
1263 | end | |
1264 | CreateSound("138097048", ra, 3, .8) | |
1265 | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal") | |
1266 | for i = 0, 1.2, 0.1 do | |
1267 | swait() | |
1268 | BlockEffect(maincolor, Handle.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2) | |
1269 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(55)), 0.3) | |
1270 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
1271 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(95), math.rad(0), math.rad(40)), 0.1) | |
1272 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
1273 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-17)), 0.3) | |
1274 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3) | |
1275 | end | |
1276 | combo = 2 | |
1277 | end | |
1278 | if combo == 2 and wait2 == false then | |
1279 | wait2 = true | |
1280 | for i = 0, 1.2, 0.1 do | |
1281 | swait() | |
1282 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-25), math.rad(10), math.rad(-65)), 0.3) | |
1283 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
1284 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1) | |
1285 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
1286 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-25)), 0.3) | |
1287 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(-20)), 0.3) | |
1288 | end | |
1289 | CreateSound("138097048", rl, 3, 1) | |
1290 | HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 3, "Normal") | |
1291 | for i = 0, 1.6, 0.1 do | |
1292 | swait() | |
1293 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(65+255.45*i)), 0.3) | |
1294 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
1295 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(54), math.rad(0), math.rad(35)), 0.1) | |
1296 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-34), math.rad(0), math.rad(-35)), 0.3) | |
1297 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(95)), 0.3) | |
1298 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-4.5), math.rad(-30), math.rad(0)), 0.3) | |
1299 | end | |
1300 | combo = 3 | |
1301 | end | |
1302 | if combo == 3 and wait2 == false then | |
1303 | for i = 0, 1.2, 0.1 do | |
1304 | swait() | |
1305 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3) | |
1306 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
1307 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1) | |
1308 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
1309 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3) | |
1310 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3) | |
1311 | end | |
1312 | CreateSound("138097048", ra, 3, .8) | |
1313 | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal") | |
1314 | for i = 0, 1.2, 0.1 do | |
1315 | swait() | |
1316 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(35)), 0.3) | |
1317 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
1318 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(96), math.rad(0), math.rad(10)), 0.1) | |
1319 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
1320 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3) | |
1321 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3) | |
1322 | end | |
1323 | Effects.Sphere.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 0.1, 0.1, 0.1, 0.03) | |
1324 | Effects.Ring.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 2, 2, 2, 0.1, 0.1, 0.1, 0.03) | |
1325 | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal") | |
1326 | for i = 0, 1.2, 0.1 do | |
1327 | swait() | |
1328 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-35)), 0.3) | |
1329 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
1330 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(25), math.rad(0), math.rad(10)), 0.1) | |
1331 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
1332 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3) | |
1333 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3) | |
1334 | end | |
1335 | combo = 1 | |
1336 | end | |
1337 | hum.WalkSpeed = 8 | |
1338 | wait2 = false | |
1339 | attack = false | |
1340 | end | |
1341 | end) | |
1342 | function Decapitate() | |
1343 | local target = nil | |
1344 | local targettorso = nil | |
1345 | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then | |
1346 | if mouse.Target.Parent.Humanoid.PlatformStand == false then | |
1347 | target = mouse.Target.Parent.Humanoid | |
1348 | targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso") | |
1349 | targethead = mouse.Target.Parent:FindFirstChild("Head") | |
1350 | end | |
1351 | end | |
1352 | if target ~= nil then | |
1353 | targettorso.Anchored = true | |
1354 | attack = true | |
1355 | hum.WalkSpeed = 0 | |
1356 | root.CFrame = targettorso.CFrame * CF(0,0,2.6) | |
1357 | for i = 0,4.2,0.1 do | |
1358 | swait() | |
1359 | 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) | |
1360 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3) | |
1361 | 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) | |
1362 | 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) | |
1363 | 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) | |
1364 | 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) | |
1365 | end | |
1366 | local ModelHead01 = New("Model", char, "", {}) | |
1367 | local Humanoid01 = New("Humanoid", ModelHead01, "Humanoid", {}) | |
1368 | local Head01 = targethead:Clone() | |
1369 | targethead.Transparency = 1 | |
1370 | Head01.Parent = ModelHead01 | |
1371 | local weldHead01 = Instance.new("Weld") | |
1372 | weldHead01.Parent = Head01 | |
1373 | weldHead01.Part0 = targethead | |
1374 | weldHead01.Part1 = Head01 | |
1375 | weldHead01.C1 = CFrame.new(0, 0, 0) | |
1376 | targethead.face:Remove() | |
1377 | weldHead01.Part0 = ra | |
1378 | weldHead01.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0)) | |
1379 | targettorso:BreakJoints() | |
1380 | CreateSound("314390675", targettorso, 5, .7) | |
1381 | for i = 0,3.2,0.1 do | |
1382 | swait() | |
1383 | 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) | |
1384 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
1385 | 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) | |
1386 | 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) | |
1387 | 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) | |
1388 | 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) | |
1389 | end | |
1390 | for i = 0,4.2,0.1 do | |
1391 | swait() | |
1392 | 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) | |
1393 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3) | |
1394 | 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) | |
1395 | 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) | |
1396 | 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) | |
1397 | 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) | |
1398 | end | |
1399 | CreateSound("541909763", targettorso, 5, .8) | |
1400 | weldHead01:Destroy() | |
1401 | Head01.CanCollide = true | |
1402 | local bodyVelocity2 = Create("BodyVelocity")({ | |
1403 | velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50, | |
1404 | P = 5000, | |
1405 | maxForce = Vector3.new(8000, 8000, 8000), | |
1406 | Parent = Head01 | |
1407 | }) | |
1408 | game:GetService("Debris"):AddItem(bodyVelocity2, 0.05) | |
1409 | for i = 0,6.2,0.1 do | |
1410 | swait() | |
1411 | 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) | |
1412 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.3) | |
1413 | 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) | |
1414 | 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) | |
1415 | 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) | |
1416 | 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) | |
1417 | end | |
1418 | targettorso.Anchored = false | |
1419 | attack = false | |
1420 | hum.WalkSpeed = 8 | |
1421 | root.CFrame = targettorso.CFrame * CF(0,0,3.4) | |
1422 | end | |
1423 | end | |
1424 | function Laugh() | |
1425 | attack = true | |
1426 | hum.WalkSpeed = 0 | |
1427 | CreateSound("300208779", hed, 10, 1) | |
1428 | for i = 0,9,0.1 do | |
1429 | swait() | |
1430 | 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) | |
1431 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.3) | |
1432 | if Mrandom(1,15) == 1 then | |
1433 | 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) | |
1434 | end | |
1435 | 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) | |
1436 | 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) | |
1437 | 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) | |
1438 | 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) | |
1439 | end | |
1440 | attack = false | |
1441 | hum.WalkSpeed = 10 | |
1442 | end | |
1443 | function Flying_Kick() | |
1444 | attack = true | |
1445 | hum.WalkSpeed = 0 | |
1446 | for i = 0,2.7,0.1 do | |
1447 | swait() | |
1448 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.7 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15) | |
1449 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3) | |
1450 | RH.C0 = clerp(RH.C0, CF(1, -0.3 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15) | |
1451 | 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(30)), 0.15) | |
1452 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(15)), 0.1) | |
1453 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(-15)), 0.1) | |
1454 | end | |
1455 | local bodyVelocity = Create("BodyVelocity")({ | |
1456 | velocity = Vector3.new(0, 0, 0) + root.CFrame.lookVector * 250, | |
1457 | P = 5000, | |
1458 | maxForce = Vector3.new(9e99, 9e99, 9e99), | |
1459 | Parent = root | |
1460 | }) | |
1461 | game:GetService("Debris"):AddItem(bodyVelocity, 0.05) | |
1462 | CreateSound("138097048", rl, 3, 1) | |
1463 | for i = 0,2.1,0.1 do | |
1464 | swait() | |
1465 | HitboxFunction(rl.CFrame, 0.01, 1, 1, 1, 7, 6, 8, 3, "Knockdown") | |
1466 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, .6 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(90)), 0.15) | |
1467 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
1468 | RH.C0 = clerp(RH.C0, CF(.4, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-125), Rad(0), Rad(0)), 0.15) | |
1469 | LH.C0 = clerp(LH.C0, CF(-1.3, -1.3 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(35), Rad(0), Rad(0)), 0.15) | |
1470 | 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) | |
1471 | LW.C0 = clerp(LW.C0, CF(-1.9, 0.8 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-215)), 0.1) | |
1472 | end | |
1473 | attack = false | |
1474 | hum.WalkSpeed = 8 | |
1475 | end | |
1476 | function UpperCut() | |
1477 | attack = true | |
1478 | hum.WalkSpeed = 0 | |
1479 | for i = 0,2.3,0.1 do | |
1480 | swait() | |
1481 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.7 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15) | |
1482 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) | |
1483 | RH.C0 = clerp(RH.C0, CF(1, -0.3 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15) | |
1484 | 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(30)), 0.15) | |
1485 | RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 30), -.8 + 0.025 * Cos(sine / 20)) * angles(Rad(165), Rad(0), Rad(0)), 0.1) | |
1486 | LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 30), -1 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(75)), 0.1) | |
1487 | end | |
1488 | CreateSound("138097048", ra, 3, .8) | |
1489 | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 8, 3, "Knockdown") | |
1490 | for i = 0,2.8,0.1 do | |
1491 | swait() | |
1492 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-35), Rad(0), Rad(10)), 0.15) | |
1493 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3) | |
1494 | RH.C0 = clerp(RH.C0, CF(1, -1.2 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(-55)), 0.15) | |
1495 | LH.C0 = clerp(LH.C0, CF(-1, -1.2 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(35)), 0.15) | |
1496 | RW.C0 = clerp(RW.C0, CF(1.3, .8 + 0.05 * Sin(sine / 30), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(125), Rad(0), Rad(0)), 0.1) | |
1497 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-10)), 0.1) | |
1498 | end | |
1499 | attack = false | |
1500 | hum.WalkSpeed = 8 | |
1501 | end | |
1502 | function Spinning_Kick() | |
1503 | attack = true | |
1504 | hum.WalkSpeed = 3.01 | |
1505 | for i = 0, 1.2, 0.1 do | |
1506 | swait() | |
1507 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-25), math.rad(10), math.rad(-65)), 0.3) | |
1508 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
1509 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1) | |
1510 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
1511 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-25)), 0.3) | |
1512 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(-20)), 0.3) | |
1513 | end | |
1514 | for i = 0, 4.6, 0.1 do | |
1515 | swait() | |
1516 | CreateSound("138097048", rl, 3, 1) | |
1517 | HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 3, "Normal") | |
1518 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(65 + 255.45 * i)), 0.3) | |
1519 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
1520 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-54), math.rad(0), math.rad(47)), 0.1) | |
1521 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-34), math.rad(0), math.rad(-47)), 0.3) | |
1522 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(95)), 0.3) | |
1523 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-4.5), math.rad(-30), math.rad(30)), 0.3) | |
1524 | end | |
1525 | attack = false | |
1526 | hum.WalkSpeed = 8 | |
1527 | end | |
1528 | function Beam_Of_Light() | |
1529 | ||
1530 | end | |
1531 | function Blast_Of_God() | |
1532 | attack = true | |
1533 | hum.WalkSpeed = 3.01 | |
1534 | for i = 0,6.3,0.1 do | |
1535 | swait() | |
1536 | Effects.Sphere.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
1537 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(90)), 0.15) | |
1538 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3) | |
1539 | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15) | |
1540 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15) | |
1541 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1) | |
1542 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-13 + 2.5 * Sin(sine / 20))), 0.1) | |
1543 | end | |
1544 | Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05) | |
1545 | Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.03) | |
1546 | Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05) | |
1547 | Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05) | |
1548 | Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 10.5, 10.5, 10.5, 0.05) | |
1549 | Effects.Ring.Create(BrickC("New Yeller"), ra.CFrame * angles(Rad(90),0,0) * CF(0, -1, 0), 2, 2, 2, 7.6, 7.6, 7.6, 0.03) | |
1550 | CreateSound("142070127", tors, 10, 1) | |
1551 | MagniDamage(ra, 12, 40, 60, 10, "Normal") | |
1552 | for i = 0,2.6,0.1 do | |
1553 | swait() | |
1554 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(90)), 0.15) | |
1555 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3) | |
1556 | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-16 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15) | |
1557 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-25 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15) | |
1558 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(195 - 2.5 * Sin(sine / 20))), 0.1) | |
1559 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-35 + 2.5 * Sin(sine / 20))), 0.1) | |
1560 | end | |
1561 | attack = false | |
1562 | hum.WalkSpeed = 8 | |
1563 | end | |
1564 | function Diablo_Explosion() | |
1565 | attack = true | |
1566 | hum.WalkSpeed = 3.01 | |
1567 | for i = 0,6.3,0.1 do | |
1568 | swait() | |
1569 | Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
1570 | Effects.Block.Create(BrickC("Really red"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
1571 | 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) | |
1572 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1573 | 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) | |
1574 | 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(20 + 3 * Sin(sine / 20))), 0.15) | |
1575 | 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) | |
1576 | 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) | |
1577 | end | |
1578 | Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 14, 14, 14, 0.05) | |
1579 | Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 11, 11, 11, 0.03) | |
1580 | Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 8, 8, 8, 0.05) | |
1581 | Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 6, 6, 6, 0.05) | |
1582 | Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 10.5, 10.5, 10.5, 0.05) | |
1583 | Effects.Ring.Create(BrickC("Really red"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3.6, 3.6, 3.6, 0.03) | |
1584 | CreateSound("142070127", tors, 10, 1) | |
1585 | MagniDamage(tors, 12, 34, 54, 10, "DarkUp") | |
1586 | for i = 0,4.6,0.1 do | |
1587 | 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) | |
1588 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1589 | 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) | |
1590 | 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) | |
1591 | RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1) | |
1592 | LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1) | |
1593 | end | |
1594 | wait(.6) | |
1595 | attack = false | |
1596 | hum.WalkSpeed = 8 | |
1597 | end | |
1598 | function Hell_From_Above() | |
1599 | local UhhhhThing = New("Part",EffectModel,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = tors.CFrame,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1600 | attack = true | |
1601 | hum.WalkSpeed = 3.01 | |
1602 | for i = 0,6.3,0.1 do | |
1603 | swait() | |
1604 | Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
1605 | 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) | |
1606 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1607 | 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) | |
1608 | 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) | |
1609 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1) | |
1610 | 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) | |
1611 | end | |
1612 | CreateSound("142070127", tors, 10, 1) | |
1613 | Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05) | |
1614 | Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05) | |
1615 | Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05) | |
1616 | Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05) | |
1617 | for i = 0,3.8,0.1 do | |
1618 | swait() | |
1619 | 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) | |
1620 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1621 | 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) | |
1622 | 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) | |
1623 | RW.C0 = clerp(RW.C0, CF(1.5, .2 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1) | |
1624 | 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) | |
1625 | end | |
1626 | CreateSound("224339201", tors, 10, 0.5) | |
1627 | for i = 1, 3 do | |
1628 | MagniDamage(UhhhhThing, 12, 34, 54, 10, "DarkUp") | |
1629 | UhhhhThing.CFrame = mouse.Hit | |
1630 | Effects.Cylinder.Create(BrickColor.new("Really red"), UhhhhThing.CFrame, .5, 9999, .5, 10, 0, 10, 0.05) | |
1631 | Effects.Block.Create(BrickColor.new("Really red"), UhhhhThing.CFrame, 1, 1, 1, 10, 10, 10, 0.05) | |
1632 | end | |
1633 | UhhhhThing:Destroy() | |
1634 | attack = false | |
1635 | hum.WalkSpeed = 8 | |
1636 | end | |
1637 | function Spinning_Below() | |
1638 | attack = true | |
1639 | hum.WalkSpeed = 3.01 | |
1640 | CreateSound("649634100", tors, 10, 0.5) | |
1641 | for i = 0,6.3,0.1 do | |
1642 | swait() | |
1643 | Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
1644 | Effects.Block.Create(BrickC("Really red"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) | |
1645 | 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) | |
1646 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1647 | 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) | |
1648 | 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) | |
1649 | 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) | |
1650 | 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) | |
1651 | end | |
1652 | attack = false | |
1653 | hum.WalkSpeed = 8 | |
1654 | end | |
1655 | function Purity_Slam() | |
1656 | attack = true | |
1657 | for i = 0,5.2,0.1 do | |
1658 | swait() | |
1659 | 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) | |
1660 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1661 | 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) | |
1662 | 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) | |
1663 | 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) | |
1664 | 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) | |
1665 | end | |
1666 | CreateSound("331666100", tors, 10, 1) | |
1667 | Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 3.6, 3.6, 3.6, 0.03) | |
1668 | Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 5.6, 5.6, 5.6, 0.03) | |
1669 | Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03) | |
1670 | Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 10.6, 10, 10, 0.03) | |
1671 | MagniDamage(tors, 12, 40, 60, 10, "Normal") | |
1672 | coroutine.resume(coroutine.create(function() | |
1673 | for i = 0,1.8,0.1 do | |
1674 | swait() | |
1675 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
1676 | end | |
1677 | for i = 0,1.8,0.1 do | |
1678 | swait() | |
1679 | hum.CameraOffset = Vector3.new(0,0,0) | |
1680 | end | |
1681 | end)) | |
1682 | for i = 1,4.7,0.1 do | |
1683 | 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) | |
1684 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3) | |
1685 | 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) | |
1686 | 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) | |
1687 | 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) | |
1688 | 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) | |
1689 | end | |
1690 | wait(.6) | |
1691 | attack = false | |
1692 | end | |
1693 | function Painful_Stomp() | |
1694 | attack = true | |
1695 | for i = 0,5.2,0.1 do | |
1696 | swait() | |
1697 | 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) | |
1698 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1699 | 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) | |
1700 | LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 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) | |
1701 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1) | |
1702 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1) | |
1703 | end | |
1704 | CreateSound("331666100", char, 10, 1) | |
1705 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
1706 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
1707 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
1708 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
1709 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05) | |
1710 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05) | |
1711 | Effects.Ring.Create(BrickColor.Random(), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03) | |
1712 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do | |
1713 | if v:FindFirstChild("Head") then | |
1714 | Eviscerate(v) | |
1715 | end | |
1716 | end | |
1717 | coroutine.resume(coroutine.create(function() | |
1718 | for i = 0,2.8,0.1 do | |
1719 | swait() | |
1720 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
1721 | end | |
1722 | for i = 0,1.8,0.1 do | |
1723 | swait() | |
1724 | hum.CameraOffset = Vector3.new(0,0,0) | |
1725 | end | |
1726 | end)) | |
1727 | for i = 0,3.7,0.1 do | |
1728 | 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) | |
1729 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1730 | 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) | |
1731 | 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) | |
1732 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
1733 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
1734 | end | |
1735 | wait(.6) | |
1736 | attack = false | |
1737 | end | |
1738 | function Ending() | |
1739 | local target = nil | |
1740 | local targettorso = nil | |
1741 | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then | |
1742 | if mouse.Target.Parent.Humanoid.PlatformStand == false then | |
1743 | targetT = mouse.Target.Parent | |
1744 | target = mouse.Target.Parent.Humanoid | |
1745 | targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso") | |
1746 | targethead = mouse.Target.Parent:FindFirstChild("Head") | |
1747 | end | |
1748 | end | |
1749 | if target ~= nil then | |
1750 | targettorso.Anchored = true | |
1751 | attack = true | |
1752 | hum.WalkSpeed = 0 | |
1753 | local originalpos = root.CFrame | |
1754 | root.CFrame = targettorso.CFrame * CF(0,0,2.6) | |
1755 | for i = 0,1.8,0.1 do | |
1756 | swait() | |
1757 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-65)), 0.15) | |
1758 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(65)), 0.3) | |
1759 | 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) | |
1760 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
1761 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(35)), 0.1) | |
1762 | 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) | |
1763 | end | |
1764 | Eviscerate(targetT) | |
1765 | CreateSound("331666100", ra, 4, 1) | |
1766 | CreateSound("180083286", targettorso, 10, 1) | |
1767 | coroutine.resume(coroutine.create(function() | |
1768 | for i = 0,1.8,0.1 do | |
1769 | swait() | |
1770 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
1771 | end | |
1772 | for i = 0,1.8,0.1 do | |
1773 | swait() | |
1774 | hum.CameraOffset = Vector3.new(0,0,0) | |
1775 | end | |
1776 | end)) | |
1777 | for i = 0,4.6,0.1 do | |
1778 | 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) | |
1779 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
1780 | 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) | |
1781 | 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) | |
1782 | 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) | |
1783 | 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) | |
1784 | end | |
1785 | wait(.6) | |
1786 | root.CFrame = originalpos | |
1787 | attack = false | |
1788 | hum.WalkSpeed = 8 | |
1789 | end | |
1790 | end | |
1791 | ||
1792 | --[[I don't take ANY credit for this attack, | |
1793 | this was all nooby's hard work and the only reason i uhhh "used" it | |
1794 | is cause I i didn't have attack ideas at the time so yeah, | |
1795 | 100% nooby's credit <3]] | |
1796 | function Ende_der_Weld() | |
1797 | attack = true | |
1798 | hum.WalkSpeed = 0 | |
1799 | for i = 0,4.6,0.1 do | |
1800 | swait() | |
1801 | 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) | |
1802 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
1803 | 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) | |
1804 | 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) | |
1805 | 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) | |
1806 | 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) | |
1807 | end | |
1808 | local a = Instance.new("Part",char) | |
1809 | a.BrickColor = BrickColor.random() | |
1810 | a.Name = "Lazer" | |
1811 | a.Anchored = true | |
1812 | a.Material = "Neon" | |
1813 | a.Transparency = 1 | |
1814 | a.CanCollide = false | |
1815 | local hitbox = Instance.new("Part",char) | |
1816 | hitbox.Size = Vector3.new(5,5,5) | |
1817 | hitbox.CFrame = mouse.hit | |
1818 | hitbox.Anchored = true | |
1819 | hitbox.Transparency = 1 | |
1820 | hitbox.CanCollide = false | |
1821 | local ray = Ray.new( | |
1822 | ra.CFrame.p, -- origin | |
1823 | (mouse.Hit.p - ra.CFrame.p).unit * 500 -- direction | |
1824 | ) | |
1825 | local ignore = char | |
1826 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
1827 | if hit then | |
1828 | local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid") | |
1829 | ||
1830 | if not humanoid then | |
1831 | humanoid = hit.Parent.Parent:FindFirstChildOfClass("Humanoid") | |
1832 | end | |
1833 | if humanoid then | |
1834 | if humanoid.Parent:IsA"Model" then | |
1835 | end | |
1836 | end | |
1837 | end | |
1838 | a.BottomSurface = 10 | |
1839 | a.TopSurface = 10 | |
1840 | local distance = (ra.CFrame.p - position).magnitude | |
1841 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
1842 | a.CFrame = CFrame.new(ra.CFrame.p, position) * CFrame.new(0, 0, 0) | |
1843 | game:GetService("Debris"):AddItem(a, 5) | |
1844 | game:GetService("Debris"):AddItem(hitbox, 1) | |
1845 | local newmesh = Instance.new("BlockMesh",a) | |
1846 | MagicBlock(BrickColor.Random(),ra.CFrame,5,5,5,0.25,0.25,0.25,0.025) | |
1847 | MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1.5,1.5,0.015,1) | |
1848 | MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1.25,1.25,0.015,2) | |
1849 | MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1,1,0.015,1) | |
1850 | local lbs = Instance.new("Part") | |
1851 | lbs.Parent = char | |
1852 | CreateSound("929619479", lbs, 10, 1) | |
1853 | lbs.Material = "Neon" | |
1854 | lbs.Color = BrickColor.Random().Color | |
1855 | lbs.CanCollide = false | |
1856 | lbs.Shape = "Ball" | |
1857 | lbs.Anchored = true | |
1858 | lbs.Transparency = 0 | |
1859 | lbs.Size = Vector3.new(20,20,20) | |
1860 | lbs.CFrame = a.CFrame | |
1861 | local thing = Instance.new("SpecialMesh",lbs) | |
1862 | thing.MeshType = "Sphere" | |
1863 | lbs.Anchored = false | |
1864 | local bvs = Instance.new("BodyVelocity") | |
1865 | bvs.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1866 | bvs.velocity = a.CFrame.lookVector*75 | |
1867 | bvs.Parent = lbs | |
1868 | lbs.Touched:connect(function(hit) | |
1869 | MagniDamage(hit, 12, 40, 60, 10, "Normal") | |
1870 | end) | |
1871 | attack = false | |
1872 | game:GetService("Debris"):AddItem(lbs, 10) | |
1873 | for x = 0, 4 do | |
1874 | local bulletgos = IT("Model",char) | |
1875 | local bulletgos2 = IT("Model",char) | |
1876 | for z = 0, 24 do | |
1877 | local lb = Instance.new("Part") | |
1878 | lb.Parent = bulletgos | |
1879 | lb.Material = "Neon" | |
1880 | lb.Color = BrickColor.Random().Color | |
1881 | lb.CanCollide = false | |
1882 | lb.Anchored = true | |
1883 | lb.Transparency = 0 | |
1884 | lb.Size = Vector3.new(2,2,2) | |
1885 | local thing = Instance.new("SpecialMesh",lb) | |
1886 | thing.MeshType = "Sphere" | |
1887 | thing.Scale = Vector3.new(0.5,0.5,1.5) | |
1888 | lb.CFrame = lbs.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
1889 | lb.CFrame = lb.CFrame + lb.CFrame.lookVector*15 | |
1890 | local lb2 = Instance.new("Part") | |
1891 | lb2.Parent = bulletgos2 | |
1892 | lb2.Material = "Neon" | |
1893 | lb2.Color = lb.Color | |
1894 | lb2.CanCollide = false | |
1895 | lb2.Anchored = true | |
1896 | lb2.Transparency = 0 | |
1897 | lb2.Size = Vector3.new(2,2,2) | |
1898 | lb2.CFrame = lbs.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
1899 | lb2.CFrame = lb2.CFrame + lb.CFrame.lookVector*15 | |
1900 | local thing2 = Instance.new("SpecialMesh",lb2) | |
1901 | thing2.MeshType = "Sphere" | |
1902 | thing2.Scale = Vector3.new(0.5,0.5,1.5) | |
1903 | lb.Touched:connect(function(hit) | |
1904 | MagniDamage(hit, 12, 40, 60, 10, "Normal") | |
1905 | end) | |
1906 | lb2.Touched:connect(function(hit) | |
1907 | MagniDamage(hit, 12, 40, 60, 10, "Normal") | |
1908 | end) | |
1909 | end | |
1910 | MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025) | |
1911 | MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025) | |
1912 | MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,0.5,0.5,0.5,0.025) | |
1913 | MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,0.5,0.5,0.5,0.025) | |
1914 | CreateSound("925629856", lbs, 5, 1) | |
1915 | game:GetService("Debris"):AddItem(bulletgos, 7) | |
1916 | game:GetService("Debris"):AddItem(bulletgos2, 7) | |
1917 | for i,v in pairs(bulletgos:children()) do | |
1918 | if v:IsA("Part") then | |
1919 | v.Anchored = false | |
1920 | MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025) | |
1921 | local bv = Instance.new("BodyVelocity") | |
1922 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1923 | bv.velocity = v.CFrame.lookVector*25 | |
1924 | bv.Parent = v | |
1925 | game:GetService("Debris"):AddItem(v, 5) | |
1926 | end | |
1927 | end | |
1928 | for i,v in pairs(bulletgos2:children()) do | |
1929 | if v:IsA("Part") then | |
1930 | v.Anchored = false | |
1931 | MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025) | |
1932 | local bv = Instance.new("BodyVelocity") | |
1933 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1934 | bv.velocity = v.CFrame.lookVector*-25 | |
1935 | bv.Parent = v | |
1936 | game:GetService("Debris"):AddItem(v, 5) | |
1937 | end | |
1938 | end | |
1939 | wait(1) | |
1940 | end | |
1941 | attack = false | |
1942 | hum.WalkSpeed = 8 | |
1943 | end | |
1944 | ------------------------------------------------------- | |
1945 | --End Attacks N Stuff-- | |
1946 | ------------------------------------------------------- | |
1947 | mouse.KeyDown:connect(function(key) | |
1948 | if string.byte(key) == 48 then | |
1949 | Swing = 2 | |
1950 | hum.WalkSpeed = 38.82 | |
1951 | end | |
1952 | end) | |
1953 | mouse.KeyUp:connect(function(key) | |
1954 | if string.byte(key) == 48 then | |
1955 | Swing = 1 | |
1956 | hum.WalkSpeed = 8 | |
1957 | end | |
1958 | end) | |
1959 | mouse.KeyDown:connect(function(key) | |
1960 | if attack == false then | |
1961 | if key == 'q' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
1962 | EdgyMode = true | |
1963 | - | tecks2.Text = "Edgy" |
1963 | + | tecks2.Text = "Some Weird Boii" |
1964 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
1965 | tecks2.TextStrokeColor3 = Color3.fromRGB(98, 37, 209) | |
1966 | for i, v in pairs(ArmourParts) do | |
1967 | v.BrickColor = BrickColor.new("Black") | |
1968 | end | |
1969 | for i, v in pairs(ArmourParts2) do | |
1970 | v.BrickColor = BrickColor.new("Really black") | |
1971 | end | |
1972 | for i, v in pairs(NeonParts) do | |
1973 | v.BrickColor = BrickColor.new("Royal purple") | |
1974 | end | |
1975 | maincolor = BrickColor.new("Royal purple") | |
1976 | - | Music.SoundId = "rbxassetid://1470848774" |
1976 | + | Music.SoundId = "rbxassetid://813670691" |
1977 | Music.Parent = tors | |
1978 | Music:Play() | |
1979 | elseif key == 'q' and EdgyMode == true and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
1980 | EdgyMode = false | |
1981 | - | tecks2.Text = "Neutral" |
1981 | + | tecks2.Text = "I Like Turtles" |
1982 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
1983 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
1984 | resetmode() | |
1985 | Music.SoundId = "rbxassetid://1117396305" | |
1986 | Music.Parent = tors | |
1987 | Music:Play() | |
1988 | elseif key == 'e' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
1989 | Divinity = true | |
1990 | - | tecks2.Text = "Divinity" |
1990 | + | tecks2.Text = "I'm G eey" |
1991 | tecks2.TextColor3 = Color3.new(1, 1, 1) | |
1992 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 0) | |
1993 | for i, v in pairs(ArmourParts) do | |
1994 | v.BrickColor = BrickColor.new("Institutional white") | |
1995 | end | |
1996 | for i, v in pairs(ArmourParts2) do | |
1997 | v.BrickColor = BrickColor.new("White") | |
1998 | end | |
1999 | for i, v in pairs(NeonParts) do | |
2000 | v.BrickColor = BrickColor.new("New Yeller") | |
2001 | end | |
2002 | maincolor = BrickColor.new("New Yeller") | |
2003 | Music.SoundId = "rbxassetid://595800581" | |
2004 | Music.Parent = tors | |
2005 | Music:Play() | |
2006 | elseif key == 'e' and EdgyMode == false and Divinity == true and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
2007 | Divinity = false | |
2008 | - | tecks2.Text = "Neutral" |
2008 | + | tecks2.Text = "I Like Turtles" |
2009 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
2010 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
2011 | resetmode() | |
2012 | Music.SoundId = "rbxassetid://1117396305" | |
2013 | Music.Parent = tors | |
2014 | Music:Play() | |
2015 | elseif key == 'r' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
2016 | Fighter = true | |
2017 | - | tecks2.Text = "Fighter" |
2017 | + | tecks2.Text = "Some Boii That loves Spaghetti" |
2018 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
2019 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255) | |
2020 | for i, v in pairs(ArmourParts) do | |
2021 | v.BrickColor = BrickColor.new("Black") | |
2022 | end | |
2023 | for i, v in pairs(ArmourParts2) do | |
2024 | v.BrickColor = BrickColor.new("Really black") | |
2025 | end | |
2026 | for i, v in pairs(NeonParts) do | |
2027 | v.BrickColor = BrickColor.new("Institutional white") | |
2028 | end | |
2029 | maincolor = BrickColor.new("Institutional white") | |
2030 | Music.SoundId = "rbxassetid://493647101" | |
2031 | Music.Parent = tors | |
2032 | Music:Play() | |
2033 | elseif key == 'r' and EdgyMode == false and Divinity == false and Fighter == true and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
2034 | Fighter = false | |
2035 | - | tecks2.Text = "Neutral" |
2035 | + | tecks2.Text = "I Like Turtles" |
2036 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
2037 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
2038 | resetmode() | |
2039 | Music.SoundId = "rbxassetid://1117396305" | |
2040 | Music.Parent = tors | |
2041 | Music:Play() | |
2042 | elseif key == 't' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
2043 | Purity = true | |
2044 | - | tecks2.Text = "Purity" |
2044 | + | tecks2.Text = "Purr-fect.... FURRY DETECTED" |
2045 | tecks2.TextColor3 = Color3.new(1, 1, 1) | |
2046 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 255, 255) | |
2047 | for i, v in pairs(ArmourParts) do | |
2048 | v.BrickColor = BrickColor.new("Institutional white") | |
2049 | end | |
2050 | for i, v in pairs(ArmourParts2) do | |
2051 | v.BrickColor = BrickColor.new("Institutional white") | |
2052 | end | |
2053 | for i, v in pairs(NeonParts) do | |
2054 | v.BrickColor = BrickColor.new("Toothpaste") | |
2055 | end | |
2056 | maincolor = BrickColor.new("Toothpaste") | |
2057 | Music.SoundId = "rbxassetid://553751015" | |
2058 | Music.Parent = tors | |
2059 | Music:Play() | |
2060 | elseif key == 't' and EdgyMode == false and Divinity == false and Fighter == false and Purity == true and Destruction == false and helpme == false and Planetary == false then | |
2061 | Purity = false | |
2062 | - | tecks2.Text = "Neutral" |
2062 | + | tecks2.Text = "I Like Turtles" |
2063 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
2064 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
2065 | resetmode() | |
2066 | Music.SoundId = "rbxassetid://1117396305" | |
2067 | Music.Parent = tors | |
2068 | Music:Play() | |
2069 | elseif key == 'y' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
2070 | Destruction = true | |
2071 | - | tecks2.Text = "Destruction" |
2071 | + | tecks2.Text = "SANES" |
2072 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
2073 | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 0, 0) | |
2074 | for i, v in pairs(ArmourParts) do | |
2075 | v.BrickColor = BrickColor.new("Really black") | |
2076 | end | |
2077 | for i, v in pairs(ArmourParts2) do | |
2078 | v.BrickColor = BrickColor.new("Black") | |
2079 | end | |
2080 | for i, v in pairs(NeonParts) do | |
2081 | v.BrickColor = BrickColor.new("Really red") | |
2082 | end | |
2083 | maincolor = BrickColor.new("Really red") | |
2084 | - | Music.SoundId = "rbxassetid://613361202" |
2084 | + | Music.SoundId = "rbxassetid://400786493" |
2085 | Music.Parent = tors | |
2086 | Music:Play() | |
2087 | elseif key == 'y' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == true and helpme == false and Planetary == false then | |
2088 | Destruction = false | |
2089 | - | tecks2.Text = "Neutral" |
2089 | + | tecks2.Text = "I Like Turtles" |
2090 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
2091 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
2092 | resetmode() | |
2093 | Music.SoundId = "rbxassetid://1117396305" | |
2094 | Music.Parent = tors | |
2095 | Music:Play() | |
2096 | elseif key == 'u' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
2097 | helpme = true | |
2098 | - | tecks2.Text = "iNsAnItY" |
2098 | + | tecks2.Text = "This... Needs to end now..." |
2099 | - | Music.SoundId = "rbxassetid://460874877" |
2099 | + | Music.SoundId = "rbxassetid://1591647762" |
2100 | Music.Parent = tors | |
2101 | Music:Play() | |
2102 | elseif key == 'u' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == true and Planetary == false then | |
2103 | helpme = false | |
2104 | - | tecks2.Text = "Neutral" |
2104 | + | tecks2.Text = "I Like Turtles" |
2105 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
2106 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
2107 | resetmode() | |
2108 | Music.SoundId = "rbxassetid://1117396305" | |
2109 | Music.Parent = tors | |
2110 | Music:Play() | |
2111 | elseif key == 'n' and tecks2.TextTransparency == 1 and tecks2.TextStrokeTransparency == 1 then | |
2112 | tecks2.TextTransparency = 0 | |
2113 | tecks2.TextStrokeTransparency = 0 | |
2114 | elseif key == 'n' and tecks2.TextTransparency == 0 and tecks2.TextStrokeTransparency == 0 then | |
2115 | tecks2.TextTransparency = 1 | |
2116 | tecks2.TextStrokeTransparency = 1 | |
2117 | elseif key == 'f' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
2118 | Planetary = true | |
2119 | - | tecks2.Text = "Planetary" |
2119 | + | tecks2.Text = "PUN DETECTED" |
2120 | tecks2.TextColor3 = Color3.fromRGB(61, 21, 133) | |
2121 | tecks2.TextStrokeColor3 = Color3.fromRGB(61, 21, 133) | |
2122 | for i, v in pairs(ArmourParts) do | |
2123 | v.BrickColor = BrickColor.new("Dark indigo") | |
2124 | end | |
2125 | for i, v in pairs(ArmourParts2) do | |
2126 | v.BrickColor = BrickColor.new("Dark indigo") | |
2127 | end | |
2128 | for i, v in pairs(NeonParts) do | |
2129 | v.BrickColor = BrickColor.new("Dark indigo") | |
2130 | end | |
2131 | maincolor = BrickColor.new("Dark indigo") | |
2132 | - | Music.SoundId = "rbxassetid://609934004" |
2132 | + | Music.SoundId = "rbxassetid://874474598" |
2133 | Music.Parent = tors | |
2134 | Music:Play() | |
2135 | elseif key == 'f' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == true then | |
2136 | Planetary = false | |
2137 | - | tecks2.Text = "Neutral" |
2137 | + | tecks2.Text = "I Like Turtles" |
2138 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
2139 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
2140 | resetmode() | |
2141 | Music.SoundId = "rbxassetid://1117396305" | |
2142 | Music.Parent = tors | |
2143 | Music:Play() | |
2144 | end | |
2145 | end | |
2146 | end) | |
2147 | mouse.KeyDown:connect(function(key) | |
2148 | if attack == false then | |
2149 | if EdgyMode == true then | |
2150 | if key == 'r' then | |
2151 | Decapitate() | |
2152 | elseif key == 'e' then | |
2153 | Laugh() | |
2154 | end | |
2155 | end | |
2156 | if Divinity == true then | |
2157 | if key == 'r' then | |
2158 | Beam_Of_Light() | |
2159 | elseif key == 'f' then | |
2160 | Blast_Of_God() | |
2161 | end | |
2162 | end | |
2163 | if Fighter == true then | |
2164 | if key == 'e' then | |
2165 | Flying_Kick() | |
2166 | elseif key == 'f' then | |
2167 | UpperCut() | |
2168 | elseif key == 't' then | |
2169 | Spinning_Kick() | |
2170 | end | |
2171 | end | |
2172 | if Purity == true then | |
2173 | if key == 'r' then | |
2174 | Purity_Slam() | |
2175 | end | |
2176 | end | |
2177 | if Destruction == true then | |
2178 | if key == 'r' then | |
2179 | Diablo_Explosion() | |
2180 | elseif key == 'f' then | |
2181 | Hell_From_Above() | |
2182 | elseif key == 't' then | |
2183 | Spinning_Below() | |
2184 | end | |
2185 | end | |
2186 | if helpme == true then | |
2187 | if key == 'r' then | |
2188 | Painful_Stomp() | |
2189 | elseif key == 'f' then | |
2190 | Ending() | |
2191 | elseif key == 't' then | |
2192 | Ende_der_Weld() | |
2193 | end | |
2194 | end | |
2195 | end | |
2196 | end) | |
2197 | ||
2198 | ||
2199 | ||
2200 | ||
2201 | ||
2202 | ||
2203 | ------------------------------------------------------- | |
2204 | --Start Animations-- | |
2205 | ------------------------------------------------------- | |
2206 | local equipped = false | |
2207 | local idle = 0 | |
2208 | local change = 1 | |
2209 | local val = 0 | |
2210 | local toim = 0 | |
2211 | local idleanim = 0.4 | |
2212 | hum.WalkSpeed = 8 | |
2213 | hum.Animator.Parent = nil | |
2214 | while true do | |
2215 | swait() | |
2216 | Music.Parent = char | |
2217 | if helpme == true then | |
2218 | for i, v in pairs(ArmourParts) do | |
2219 | v.BrickColor = BrickColor.random() | |
2220 | end | |
2221 | for i, v in pairs(ArmourParts2) do | |
2222 | v.BrickColor = BrickColor.random() | |
2223 | end | |
2224 | for i, v in pairs(NeonParts) do | |
2225 | v.BrickColor = BrickColor.random() | |
2226 | end | |
2227 | maincolor = BrickColor.random() | |
2228 | tecks2.TextColor3 = maincolor.Color | |
2229 | tecks2.TextStrokeColor3 = maincolor.Color | |
2230 | MagicShockTrailAlt2(maincolor, root.CFrame * CF(Mrandom(-15,15),-3,Mrandom(-15,15)) * angles(Rad(90 + Mrandom(-25, 25)),Rad(0),Rad(0)),1,.5,.5,-0.01,-0.01,7,0.1,Mrandom(1,2)) | |
2231 | end | |
2232 | if Planetary == true then | |
2233 | MagicShockTrailAlt2(maincolor, root.CFrame * CF(Mrandom(-25,25),-3,Mrandom(-25,25)) * angles(Rad(90 + Mrandom(-15, 15)),Rad(0),Rad(0)),1,.5,.5,-0.01,-0.01,7,0.1,2) | |
2234 | end | |
2235 | sine = sine + change | |
2236 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
2237 | local velderp = root.Velocity.y | |
2238 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char) | |
2239 | if equipped == true or equipped == false then | |
2240 | if attack == false then | |
2241 | idle = idle + 1 | |
2242 | else | |
2243 | idle = 0 | |
2244 | end | |
2245 | if 1 < root.Velocity.y and hitfloor == nil then | |
2246 | Anim = "Jump" | |
2247 | change = 1 | |
2248 | if attack == false then | |
2249 | rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3) | |
2250 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3) | |
2251 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(15)),0.3) | |
2252 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-15)),0.3) | |
2253 | LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15) | |
2254 | RH.C0=clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3) | |
2255 | end | |
2256 | elseif -1 > root.Velocity.y and hitfloor == nil then | |
2257 | Anim = "Fall" | |
2258 | change = 1 | |
2259 | if attack == false then | |
2260 | rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3) | |
2261 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3) | |
2262 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(90)),0.3) | |
2263 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-90)),0.3) | |
2264 | LH.C0 = clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15) | |
2265 | RH.C0 = clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3) | |
2266 | end | |
2267 | elseif torvel < 1 and hitfloor ~= nil then | |
2268 | Anim = "Idle" | |
2269 | change = 1 | |
2270 | if attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
2271 | 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) | |
2272 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2273 | 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(0)), 0.15) | |
2274 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
2275 | 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(5 - 2.5 * Sin(sine / 20))), 0.1) | |
2276 | 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(-5 + 2.5 * Sin(sine / 20))), 0.1) | |
2277 | elseif attack == false and EdgyMode == true and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
2278 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
2279 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2280 | if Mrandom(1,15) == 1 then | |
2281 | 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) | |
2282 | end | |
2283 | 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(10)), 0.15) | |
2284 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(-10)), 0.15) | |
2285 | RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-20), Rad(215)), 0.1) | |
2286 | LW.C0 = clerp(LW.C0, CF(-.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(-215)), 0.1) | |
2287 | elseif attack == false and EdgyMode == false and Divinity == true and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
2288 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15) | |
2289 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3) | |
2290 | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15) | |
2291 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15) | |
2292 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(13 - 2.5 * Sin(sine / 20))), 0.1) | |
2293 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-13 + 2.5 * Sin(sine / 20))), 0.1) | |
2294 | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == true and Purity == false and Destruction == false and helpme == false and Planetary == false then | |
2295 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.4 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(85)), 0.15) | |
2296 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-7.5 * Sin(sine / 20)), Rad(0), Rad(-85)), 0.3) | |
2297 | RH.C0 = clerp(RH.C0, CF(.6, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-70), Rad(0), Rad(0)), 0.15) | |
2298 | LH.C0 = clerp(LH.C0, CF(-1, -0.7 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-16.5), Rad(0), Rad(0)), 0.15) | |
2299 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90 + 2.5 * Sin(sine / 20))), 0.1) | |
2300 | LW.C0 = clerp(LW.C0, CF(-1, 0.3 + 0.05 * Sin(sine / 20), .4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1) | |
2301 | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == true and Destruction == false and helpme == false and Planetary == false then | |
2302 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15) | |
2303 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2304 | 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(-10)), 0.15) | |
2305 | 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(6)), 0.15) | |
2306 | RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(21), Rad(11), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1) | |
2307 | LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(5), Rad(90 + 2.5 * Sin(sine / 20))), 0.1) | |
2308 | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == true and helpme == false and Planetary == false then | |
2309 | 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) | |
2310 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(20), Rad(-15)), 0.3) | |
2311 | 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) | |
2312 | 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) | |
2313 | 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) | |
2314 | 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) | |
2315 | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == true and Planetary == false then | |
2316 | 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) | |
2317 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3) | |
2318 | if math.random(1,1) == 1 then | |
2319 | 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) | |
2320 | 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) | |
2321 | 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) | |
2322 | 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) | |
2323 | 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) | |
2324 | 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) | |
2325 | end | |
2326 | for i, v in pairs(ArmourParts) do | |
2327 | v.BrickColor = BrickColor.random() | |
2328 | end | |
2329 | for i, v in pairs(ArmourParts2) do | |
2330 | v.BrickColor = BrickColor.random() | |
2331 | end | |
2332 | for i, v in pairs(NeonParts) do | |
2333 | v.BrickColor = BrickColor.random() | |
2334 | end | |
2335 | maincolor = BrickColor.random() | |
2336 | tecks2.TextColor3 = maincolor.Color | |
2337 | tecks2.TextStrokeColor3 = maincolor.Color | |
2338 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15) | |
2339 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15) | |
2340 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(20), Rad(-50)), 0.1) | |
2341 | 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) | |
2342 | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == true then | |
2343 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15) | |
2344 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3) | |
2345 | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15) | |
2346 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15) | |
2347 | RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1) | |
2348 | LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(0), Rad(90 + 2.5 * Sin(sine / 20))), 0.1) | |
2349 | end | |
2350 | elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then | |
2351 | Anim = "Walk" | |
2352 | change = .6 | |
2353 | if attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == false then | |
2354 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15) | |
2355 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
2356 | RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * 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) | |
2357 | LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * 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) | |
2358 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.15 * Cos(sine / 7)) * angles(Rad(45) * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1) | |
2359 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), -0.15 * Cos(sine / 7)) * angles(Rad(-45) * Cos(sine / 7) , Rad(0) , Rad(-5) + la.RotVelocity.Y / 75), 0.1) | |
2360 | elseif attack == false and EdgyMode == false and Divinity == true and Destruction == false and helpme == false and Planetary == false then | |
2361 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.15) | |
2362 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2363 | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15) | |
2364 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15) | |
2365 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-25 - 3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(14 - 2.5 * Sin(sine / 20))), 0.1) | |
2366 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-25 + 4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-14 + 2.5 * Sin(sine / 20))), 0.1) | |
2367 | elseif attack == false and EdgyMode == false and Divinity == false and Destruction == true and helpme == false and Planetary == false then | |
2368 | 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) | |
2369 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2370 | 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) | |
2371 | 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) | |
2372 | 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) | |
2373 | 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) | |
2374 | elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == true and Planetary == false then | |
2375 | 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) | |
2376 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3) | |
2377 | if math.random(1,1) == 1 then | |
2378 | 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) | |
2379 | 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) | |
2380 | 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) | |
2381 | 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) | |
2382 | RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * 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) | |
2383 | LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * 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) | |
2384 | end | |
2385 | for i, v in pairs(ArmourParts) do | |
2386 | v.BrickColor = BrickColor.random() | |
2387 | end | |
2388 | for i, v in pairs(ArmourParts2) do | |
2389 | v.BrickColor = BrickColor.random() | |
2390 | end | |
2391 | for i, v in pairs(NeonParts) do | |
2392 | v.BrickColor = BrickColor.random() | |
2393 | end | |
2394 | maincolor = BrickColor.random() | |
2395 | tecks2.TextColor3 = maincolor.Color | |
2396 | tecks2.TextStrokeColor3 = maincolor.Color | |
2397 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15) | |
2398 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15) | |
2399 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(20), Rad(-50)), 0.1) | |
2400 | 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) | |
2401 | elseif attack == false and EdgyMode == true and Divinity == false and Destruction == false and helpme == false and Planetary == false then | |
2402 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15) | |
2403 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2404 | if Mrandom(1,15) == 1 then | |
2405 | 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) | |
2406 | end | |
2407 | RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * 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) | |
2408 | LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * 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) | |
2409 | RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-20), Rad(215)), 0.1) | |
2410 | LW.C0 = clerp(LW.C0, CF(-.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(-215)), 0.1) | |
2411 | elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == true then | |
2412 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(0)), 0.15) | |
2413 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2414 | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15) | |
2415 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15) | |
2416 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
2417 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
2418 | end | |
2419 | elseif torvel >= 25 and hitfloor ~= nil then | |
2420 | Anim = "Sprint" | |
2421 | change = 1.35 | |
2422 | if attack == false and Divinity == false and Destruction == false and helpme == false and Planetary == false then | |
2423 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15) | |
2424 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
2425 | RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 - 35 * 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) | |
2426 | LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 + 35 * 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) | |
2427 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.34 * Cos(sine / 7)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15) | |
2428 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -0.34 * Cos(sine / 7)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15) | |
2429 | elseif attack == false and EdgyMode == false and Divinity == true and Destruction == false and helpme == false and Planetary == false then | |
2430 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15) | |
2431 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2432 | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-34 + 2.5 * Sin(sine / 20))), 0.15) | |
2433 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(34 + 2.5 * Sin(sine / 20))), 0.15) | |
2434 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55 - 3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(14 - 2.5 * Sin(sine / 20))), 0.1) | |
2435 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55 + 4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-14 + 2.5 * Sin(sine / 20))), 0.1) | |
2436 | elseif attack == false and EdgyMode == false and Divinity == false and Destruction == true and helpme == false and Planetary == false then | |
2437 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(0)), 0.15) | |
2438 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-25 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
2439 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-14.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-35 + 3 * Sin(sine / 20))), 0.15) | |
2440 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-16.5 + 3 * Sin(sine / 20)), Rad(0), Rad(35 + 3 * Sin(sine / 20))), 0.15) | |
2441 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-35), Rad(-10 * Cos(sine / 20)), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
2442 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-35), Rad(10 * Cos(sine / 20)), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
2443 | elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == true and Planetary == false then | |
2444 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15) | |
2445 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(25), Rad(0), Rad(0)), 0.3) | |
2446 | if math.random(1,1) == 1 then | |
2447 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15) | |
2448 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-25,25)), Rad(Mrandom(-25,25)), Rad(Mrandom(-25,25))), 1) | |
2449 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1) | |
2450 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1) | |
2451 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15) | |
2452 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15) | |
2453 | end | |
2454 | for i, v in pairs(ArmourParts) do | |
2455 | v.BrickColor = BrickColor.random() | |
2456 | end | |
2457 | for i, v in pairs(ArmourParts2) do | |
2458 | v.BrickColor = BrickColor.random() | |
2459 | end | |
2460 | for i, v in pairs(NeonParts) do | |
2461 | v.BrickColor = BrickColor.random() | |
2462 | end | |
2463 | maincolor = BrickColor.random() | |
2464 | tecks2.TextColor3 = maincolor.Color | |
2465 | tecks2.TextStrokeColor3 = maincolor.Color | |
2466 | 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(10)), 0.15) | |
2467 | 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(16)), 0.15) | |
2468 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(10), Rad(10), Rad(15)), 0.1) | |
2469 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(-15)), 0.1) | |
2470 | elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == true then | |
2471 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(10)), 0.15) | |
2472 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-40 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3) | |
2473 | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15) | |
2474 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15) | |
2475 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-15 - 2.5 * Sin(sine / 20))), 0.1) | |
2476 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-35 + 2.5 * Sin(sine / 20))), 0.1) | |
2477 | end | |
2478 | end | |
2479 | end | |
2480 | if 0 < #Effects then | |
2481 | for e = 1, #Effects do | |
2482 | if Effects[e] ~= nil then | |
2483 | local Thing = Effects[e] | |
2484 | if Thing ~= nil then | |
2485 | local Part = Thing[1] | |
2486 | local Mode = Thing[2] | |
2487 | local Delay = Thing[3] | |
2488 | local IncX = Thing[4] | |
2489 | local IncY = Thing[5] | |
2490 | local IncZ = Thing[6] | |
2491 | if 1 >= Thing[1].Transparency then | |
2492 | if Thing[2] == "Block1" then | |
2493 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2494 | local Mesh = Thing[1].Mesh | |
2495 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2496 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2497 | elseif Thing[2] == "Block2" then | |
2498 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
2499 | local Mesh = Thing[7] | |
2500 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2501 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2502 | elseif Thing[2] == "Block3" then | |
2503 | 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) | |
2504 | local Mesh = Thing[7] | |
2505 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2506 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2507 | elseif Thing[2] == "Cylinder" then | |
2508 | local Mesh = Thing[1].Mesh | |
2509 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2510 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2511 | elseif Thing[2] == "Blood" then | |
2512 | local Mesh = Thing[7] | |
2513 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
2514 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2515 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2516 | elseif Thing[2] == "Elec" then | |
2517 | local Mesh = Thing[1].Mesh | |
2518 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
2519 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2520 | elseif Thing[2] == "Disappear" then | |
2521 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2522 | elseif Thing[2] == "Shatter" then | |
2523 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2524 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
2525 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
2526 | Thing[6] = Thing[6] + Thing[5] | |
2527 | end | |
2528 | else | |
2529 | Part.Parent = nil | |
2530 | table.remove(Effects, e) | |
2531 | end | |
2532 | end | |
2533 | end | |
2534 | end | |
2535 | end | |
2536 | end | |
2537 | ------------------------------------------------------- | |
2538 | --End Animations And Script-- | |
2539 | ------------------------------------------------------- |