SHOW:
|
|
- or go back to the newest paste.
1 | Player = game.Players.LocalPlayer | |
2 | - | char = Player.Character |
2 | + | Character = Player.Character |
3 | - | local txt = Instance.new("BillboardGui", Character) |
3 | + | local txt = Instance.new("BillboardGui", Character) |
4 | - | txt.Adornee = Character.Head |
4 | + | txt.Adornee = Character.Head |
5 | - | txt.Name = "_status" |
5 | + | txt.Name = "_status" |
6 | - | txt.Size = UDim2.new(2, 0, 1.2, 0) |
6 | + | txt.Size = UDim2.new(2, 0, 1.2, 0) |
7 | - | txt.StudsOffset = Vector3.new(-9, 8, 0) |
7 | + | txt.StudsOffset = Vector3.new(-9, 8, 0) |
8 | - | local text = Instance.new("TextLabel", txt) |
8 | + | local text = Instance.new("TextLabel", txt) |
9 | - | text.Size = UDim2.new(10, 0, 7, 0) |
9 | + | text.Size = UDim2.new(10, 0, 7, 0) |
10 | - | text.FontSize = "Size24" |
10 | + | text.FontSize = "Size24" |
11 | - | text.TextScaled = true |
11 | + | text.TextScaled = true |
12 | - | text.TextTransparency = 0 |
12 | + | text.TextTransparency = 0 |
13 | - | text.BackgroundTransparency = 1 |
13 | + | text.BackgroundTransparency = 1 |
14 | - | text.TextTransparency = 0 |
14 | + | text.TextTransparency = 0 |
15 | - | text.TextStrokeTransparency = 1 |
15 | + | text.TextStrokeTransparency = 0 |
16 | - | text.Font = "Antique" |
16 | + | text.Font = "Antique" |
17 | - | v = Instance.new("Part") |
17 | + | text.TextStrokeColor3 = Color3.new(170, 0, 170) |
18 | - | v.Name = "ColorBrick" |
18 | + | game.Players.LocalPlayer.Character.Name.." Jojo Boie" |
19 | - | v.Parent = Player.Character |
19 | + | |
20 | - | v.FormFactor = "Symmetric" |
20 | + | |
21 | - | v.Anchored = true |
21 | + | |
22 | - | v.CanCollide = false |
22 | + | |
23 | - | v.BottomSurface = "Smooth" |
23 | + | |
24 | - | v.TopSurface = "Smooth" |
24 | + | |
25 | - | v.Size = Vector3.new(10, 5, 3) |
25 | + | |
26 | - | v.Transparency = 1 |
26 | + | |
27 | - | v.CFrame = Character.Torso.CFrame |
27 | + | |
28 | - | v.BrickColor = BrickColor.new(CV) |
28 | + | |
29 | - | v.Transparency = 1 |
29 | + | |
30 | - | touchCounter = 0 |
30 | + | |
31 | - | local cR=255 |
31 | + | |
32 | - | local cG=0 |
32 | + | |
33 | - | local cB=0 |
33 | + | |
34 | - | local flg5=1 local omgidk=1 |
34 | + | |
35 | - | local add=15 |
35 | + | |
36 | - | game:GetService("RunService"):BindToRenderStep("Ghost",1,function() |
36 | + | |
37 | - | if omgidk>10000 then omgidk=0 end |
37 | + | |
38 | - | omgidk=omgidk+1 |
38 | + | |
39 | - | if cR>=255 then flg5=1 end |
39 | + | |
40 | - | if cG>=255 then flg5=2 end |
40 | + | |
41 | - | if cB>=255 then flg5=3 end |
41 | + | |
42 | - | if flg5==1 then cR=cR-add cG=cG+add end |
42 | + | |
43 | - | if flg5==2 then cG=cG-add cB=cB+add end |
43 | + | |
44 | - | if flg5==3 then cB=cB-add cR=cR+add end |
44 | + | |
45 | - | color=Color3.fromRGB(cR,cG,cB) |
45 | + | |
46 | - | text.TextColor3 = color |
46 | + | |
47 | LeftHip = Torso["Left Hip"] | |
48 | - | v.Shape = "Block" |
48 | + | |
49 | - | text.Text = Player.Name..", Jojo Boie" |
49 | + | |
50 | local ORA = Instance.new("Sound",Torso) | |
51 | ORA.SoundId = "rbxassetid://791374350" | |
52 | ORA.Looped = false | |
53 | ORA.Pitch = 1.3 | |
54 | ORA.Volume = 10 | |
55 | ORA.Parent = Torso | |
56 | ||
57 | local muda = Instance.new("Sound",Torso) | |
58 | ||
59 | IT = Instance.new | |
60 | CF = CFrame.new | |
61 | VT = Vector3.new | |
62 | RAD = math.rad | |
63 | C3 = Color3.new | |
64 | UD2 = UDim2.new | |
65 | BRICKC = BrickColor.new | |
66 | ANGLES = CFrame.Angles | |
67 | EULER = CFrame.fromEulerAnglesXYZ | |
68 | COS = math.cos | |
69 | ACOS = math.acos | |
70 | SIN = math.sin | |
71 | ASIN = math.asin | |
72 | ABS = math.abs | |
73 | Mrandom = math.random | |
74 | MRANDOM = math.random | |
75 | FLOOR = math.floor | |
76 | Effects = {} | |
77 | local RbxUtility = LoadLibrary("RbxUtility") | |
78 | local Create = RbxUtility.Create | |
79 | ||
80 | --//=================================\\ | |
81 | --|| USEFUL VALUES | |
82 | --\\=================================// | |
83 | ||
84 | Animation_Speed = 3 | |
85 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
86 | local Speed = 45 | |
87 | local SIZE = 1.3 | |
88 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
89 | local NECKC0 = CF(0, 1.1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
90 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
91 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
92 | local ANIM = "Idle" | |
93 | local ATTACK = false | |
94 | local COMBO = 1 | |
95 | local Rooted = false | |
96 | local SINE = 0 | |
97 | local CHANGE = 2 / Animation_Speed | |
98 | local ROBLOXIDLEANIMATION = IT("Animation") | |
99 | local WEAPONGUI = IT("ScreenGui", PlayerGui) | |
100 | WEAPONGUI.Name = "Big Boie Squad" | |
101 | local ANIMATOR = Humanoid.Animator | |
102 | local ANIMATE = Character.Animate | |
103 | local UNANCHOR = true | |
104 | local KILLCOUNT = 0 | |
105 | ||
106 | --//=================================\\ | |
107 | --\\=================================// | |
108 | ||
109 | ||
110 | --//=================================\\ | |
111 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
112 | --\\=================================// | |
113 | ||
114 | ArtificialHB = Instance.new("BindableEvent", script) | |
115 | ArtificialHB.Name = "ArtificialHB" | |
116 | ||
117 | script:WaitForChild("ArtificialHB") | |
118 | ||
119 | frame = Frame_Speed | |
120 | tf = 0 | |
121 | allowframeloss = false | |
122 | tossremainder = false | |
123 | lastframe = tick() | |
124 | script.ArtificialHB:Fire() | |
125 | ||
126 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
127 | tf = tf + s | |
128 | if tf >= frame then | |
129 | if allowframeloss then | |
130 | script.ArtificialHB:Fire() | |
131 | lastframe = tick() | |
132 | else | |
133 | for i = 1, math.floor(tf / frame) do | |
134 | script.ArtificialHB:Fire() | |
135 | end | |
136 | lastframe = tick() | |
137 | end | |
138 | if tossremainder then | |
139 | tf = 0 | |
140 | else | |
141 | tf = tf - frame * math.floor(tf / frame) | |
142 | end | |
143 | end | |
144 | end) | |
145 | ||
146 | --//=================================\\ | |
147 | --\\=================================// | |
148 | ||
149 | --//=================================\\ | |
150 | --|| SOME FUNCTIONS | |
151 | --\\=================================// | |
152 | ||
153 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
154 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
155 | end | |
156 | ||
157 | function PositiveAngle(NUMBER) | |
158 | if NUMBER >= 0 then | |
159 | NUMBER = 0 | |
160 | end | |
161 | return NUMBER | |
162 | end | |
163 | ||
164 | function NegativeAngle(NUMBER) | |
165 | if NUMBER <= 0 then | |
166 | NUMBER = 0 | |
167 | end | |
168 | return NUMBER | |
169 | end | |
170 | ||
171 | function Swait(NUMBER) | |
172 | if NUMBER == 0 or NUMBER == nil then | |
173 | ArtificialHB.Event:wait() | |
174 | else | |
175 | for i = 1, NUMBER do | |
176 | ArtificialHB.Event:wait() | |
177 | end | |
178 | end | |
179 | end | |
180 | ||
181 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
182 | local NEWMESH = IT(MESH) | |
183 | if MESH == "SpecialMesh" then | |
184 | NEWMESH.MeshType = MESHTYPE | |
185 | if MESHID ~= "nil" and MESHID ~= "" then | |
186 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
187 | end | |
188 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
189 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
190 | end | |
191 | end | |
192 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
193 | NEWMESH.Scale = SCALE | |
194 | NEWMESH.Parent = PARENT | |
195 | return NEWMESH | |
196 | end | |
197 | ||
198 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
199 | local NEWPART = IT("Part") | |
200 | NEWPART.formFactor = FORMFACTOR | |
201 | NEWPART.Reflectance = REFLECTANCE | |
202 | NEWPART.Transparency = TRANSPARENCY | |
203 | NEWPART.CanCollide = false | |
204 | NEWPART.Locked = true | |
205 | NEWPART.Anchored = true | |
206 | if ANCHOR == false then | |
207 | NEWPART.Anchored = false | |
208 | end | |
209 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
210 | NEWPART.Name = NAME | |
211 | NEWPART.Size = SIZE | |
212 | NEWPART.Position = Torso.Position | |
213 | NEWPART.Material = MATERIAL | |
214 | NEWPART:BreakJoints() | |
215 | NEWPART.Parent = PARENT | |
216 | return NEWPART | |
217 | end | |
218 | ||
219 | local function weldBetween(a, b) | |
220 | local weldd = Instance.new("ManualWeld") | |
221 | weldd.Part0 = a | |
222 | weldd.Part1 = b | |
223 | weldd.C0 = CFrame.new() | |
224 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
225 | weldd.Parent = a | |
226 | return weldd | |
227 | end | |
228 | ||
229 | ||
230 | function QuaternionFromCFrame(cf) | |
231 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
232 | local trace = m00 + m11 + m22 | |
233 | if trace > 0 then | |
234 | local s = math.sqrt(1 + trace) | |
235 | local recip = 0.5 / s | |
236 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
237 | else | |
238 | local i = 0 | |
239 | if m11 > m00 then | |
240 | i = 1 | |
241 | end | |
242 | if m22 > (i == 0 and m00 or m11) then | |
243 | i = 2 | |
244 | end | |
245 | if i == 0 then | |
246 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
247 | local recip = 0.5 / s | |
248 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
249 | elseif i == 1 then | |
250 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
251 | local recip = 0.5 / s | |
252 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
253 | elseif i == 2 then | |
254 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
255 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
256 | end | |
257 | end | |
258 | end | |
259 | ||
260 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
261 | local xs, ys, zs = x + x, y + y, z + z | |
262 | local wx, wy, wz = w * xs, w * ys, w * zs | |
263 | local xx = x * xs | |
264 | local xy = x * ys | |
265 | local xz = x * zs | |
266 | local yy = y * ys | |
267 | local yz = y * zs | |
268 | local zz = z * zs | |
269 | 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)) | |
270 | end | |
271 | ||
272 | function QuaternionSlerp(a, b, t) | |
273 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
274 | local startInterp, finishInterp; | |
275 | if cosTheta >= 0.0001 then | |
276 | if (1 - cosTheta) > 0.0001 then | |
277 | local theta = ACOS(cosTheta) | |
278 | local invSinTheta = 1 / SIN(theta) | |
279 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
280 | finishInterp = SIN(t * theta) * invSinTheta | |
281 | else | |
282 | startInterp = 1 - t | |
283 | finishInterp = t | |
284 | end | |
285 | else | |
286 | if (1 + cosTheta) > 0.0001 then | |
287 | local theta = ACOS(-cosTheta) | |
288 | local invSinTheta = 1 / SIN(theta) | |
289 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
290 | finishInterp = SIN(t * theta) * invSinTheta | |
291 | else | |
292 | startInterp = t - 1 | |
293 | finishInterp = t | |
294 | end | |
295 | end | |
296 | 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 | |
297 | end | |
298 | ||
299 | function Clerp(a, b, t) | |
300 | local qa = {QuaternionFromCFrame(a)} | |
301 | local qb = {QuaternionFromCFrame(b)} | |
302 | local ax, ay, az = a.x, a.y, a.z | |
303 | local bx, by, bz = b.x, b.y, b.z | |
304 | local _t = 1 - t | |
305 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
306 | end | |
307 | ||
308 | CFuncs = { | |
309 | Part = { | |
310 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
311 | local Part = Create("Part")({ | |
312 | Parent = Parent, | |
313 | Reflectance = Reflectance, | |
314 | Transparency = Transparency, | |
315 | CanCollide = false, | |
316 | Locked = true, | |
317 | BrickColor = BrickColor.new(tostring(BColor)), | |
318 | Name = Name, | |
319 | Size = Size, | |
320 | Material = Material | |
321 | }) | |
322 | NoOutlines(Part) | |
323 | return Part | |
324 | end | |
325 | }, | |
326 | Mesh = { | |
327 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
328 | local Msh = Create(Mesh)({ | |
329 | Parent = Part, | |
330 | Offset = OffSet, | |
331 | Scale = Scale | |
332 | }) | |
333 | if Mesh == "SpecialMesh" then | |
334 | Msh.MeshType = MeshType | |
335 | Msh.MeshId = MeshId | |
336 | end | |
337 | return Msh | |
338 | end | |
339 | }, | |
340 | Mesh = { | |
341 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
342 | local Msh = Create(Mesh)({ | |
343 | Parent = Part, | |
344 | Offset = OffSet, | |
345 | Scale = Scale | |
346 | }) | |
347 | if Mesh == "SpecialMesh" then | |
348 | Msh.MeshType = MeshType | |
349 | Msh.MeshId = MeshId | |
350 | end | |
351 | return Msh | |
352 | end | |
353 | }, | |
354 | Weld = { | |
355 | Create = function(Parent, Part0, Part1, C0, C1) | |
356 | local Weld = Create("Weld")({ | |
357 | Parent = Parent, | |
358 | Part0 = Part0, | |
359 | Part1 = Part1, | |
360 | C0 = C0, | |
361 | C1 = C1 | |
362 | }) | |
363 | return Weld | |
364 | end | |
365 | }, | |
366 | Sound = { | |
367 | Create = function(id, par, vol, pit) | |
368 | coroutine.resume(coroutine.create(function() | |
369 | local S = Create("Sound")({ | |
370 | Volume = vol, | |
371 | Pitch = pit or 1, | |
372 | SoundId = id, | |
373 | Parent = par or workspace | |
374 | }) | |
375 | wait() | |
376 | S:play() | |
377 | game:GetService("Debris"):AddItem(S, 6) | |
378 | end)) | |
379 | end | |
380 | }, | |
381 | ParticleEmitter = { | |
382 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
383 | local fp = Create("ParticleEmitter")({ | |
384 | Parent = Parent, | |
385 | Color = ColorSequence.new(Color1, Color2), | |
386 | LightEmission = LightEmission, | |
387 | Size = Size, | |
388 | Texture = Texture, | |
389 | Transparency = Transparency, | |
390 | ZOffset = ZOffset, | |
391 | Acceleration = Accel, | |
392 | Drag = Drag, | |
393 | LockedToPart = LockedToPart, | |
394 | VelocityInheritance = VelocityInheritance, | |
395 | EmissionDirection = EmissionDirection, | |
396 | Enabled = Enabled, | |
397 | Lifetime = LifeTime, | |
398 | Rate = Rate, | |
399 | Rotation = Rotation, | |
400 | RotSpeed = RotSpeed, | |
401 | Speed = Speed, | |
402 | VelocitySpread = VelocitySpread | |
403 | }) | |
404 | return fp | |
405 | end | |
406 | } | |
407 | } | |
408 | ||
409 | EffectModel = Instance.new("Model", Character) | |
410 | Effects = { | |
411 | Block = { | |
412 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
413 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
414 | prt.Anchored = true | |
415 | prt.CFrame = cframe | |
416 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
417 | game:GetService("Debris"):AddItem(prt, 10) | |
418 | if Type == 1 or Type == nil then | |
419 | table.insert(Effects, { | |
420 | prt, | |
421 | "Block1", | |
422 | delay, | |
423 | x3, | |
424 | y3, | |
425 | z3, | |
426 | msh | |
427 | }) | |
428 | elseif Type == 2 then | |
429 | table.insert(Effects, { | |
430 | prt, | |
431 | "Block2", | |
432 | delay, | |
433 | x3, | |
434 | y3, | |
435 | z3, | |
436 | msh | |
437 | }) | |
438 | else | |
439 | table.insert(Effects, { | |
440 | prt, | |
441 | "Block3", | |
442 | delay, | |
443 | x3, | |
444 | y3, | |
445 | z3, | |
446 | msh | |
447 | }) | |
448 | end | |
449 | end | |
450 | }, | |
451 | Sphere = { | |
452 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
453 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
454 | prt.Anchored = true | |
455 | prt.CFrame = cframe | |
456 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
457 | game:GetService("Debris"):AddItem(prt, 10) | |
458 | table.insert(Effects, { | |
459 | prt, | |
460 | "Cylinder", | |
461 | delay, | |
462 | x3, | |
463 | y3, | |
464 | z3, | |
465 | msh | |
466 | }) | |
467 | end | |
468 | }, | |
469 | Cylinder = { | |
470 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
471 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
472 | prt.Anchored = true | |
473 | prt.CFrame = cframe | |
474 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
475 | game:GetService("Debris"):AddItem(prt, 10) | |
476 | table.insert(Effects, { | |
477 | prt, | |
478 | "Cylinder", | |
479 | delay, | |
480 | x3, | |
481 | y3, | |
482 | z3, | |
483 | msh | |
484 | }) | |
485 | end | |
486 | }, | |
487 | Wave = { | |
488 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
489 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
490 | prt.Anchored = true | |
491 | prt.CFrame = cframe | |
492 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60)) | |
493 | game:GetService("Debris"):AddItem(prt, 10) | |
494 | table.insert(Effects, { | |
495 | prt, | |
496 | "Cylinder", | |
497 | delay, | |
498 | x3 / 60, | |
499 | y3 / 60, | |
500 | z3 / 60, | |
501 | msh | |
502 | }) | |
503 | end | |
504 | }, | |
505 | Ring = { | |
506 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
507 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
508 | prt.Anchored = true | |
509 | prt.CFrame = cframe | |
510 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
511 | game:GetService("Debris"):AddItem(prt, 10) | |
512 | table.insert(Effects, { | |
513 | prt, | |
514 | "Cylinder", | |
515 | delay, | |
516 | x3, | |
517 | y3, | |
518 | z3, | |
519 | msh | |
520 | }) | |
521 | end | |
522 | }, | |
523 | Break = { | |
524 | Create = function(brickcolor, cframe, x1, y1, z1) | |
525 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
526 | prt.Anchored = true | |
527 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
528 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
529 | local num = math.random(10, 50) / 1000 | |
530 | game:GetService("Debris"):AddItem(prt, 10) | |
531 | table.insert(Effects, { | |
532 | prt, | |
533 | "Shatter", | |
534 | num, | |
535 | prt.CFrame, | |
536 | math.random() - math.random(), | |
537 | 0, | |
538 | math.random(50, 100) / 100 | |
539 | }) | |
540 | end | |
541 | }, | |
542 | Spiral = { | |
543 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
544 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
545 | prt.Anchored = true | |
546 | prt.CFrame = cframe | |
547 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
548 | game:GetService("Debris"):AddItem(prt, 10) | |
549 | table.insert(Effects, { | |
550 | prt, | |
551 | "Cylinder", | |
552 | delay, | |
553 | x3, | |
554 | y3, | |
555 | z3, | |
556 | msh | |
557 | }) | |
558 | end | |
559 | }, | |
560 | Push = { | |
561 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
562 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
563 | prt.Anchored = true | |
564 | prt.CFrame = cframe | |
565 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
566 | game:GetService("Debris"):AddItem(prt, 10) | |
567 | table.insert(Effects, { | |
568 | prt, | |
569 | "Cylinder", | |
570 | delay, | |
571 | x3, | |
572 | y3, | |
573 | z3, | |
574 | msh | |
575 | }) | |
576 | end | |
577 | } | |
578 | } | |
579 | function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size) | |
580 | local fp = IT("Part") | |
581 | fp.formFactor = formfactor | |
582 | fp.Parent = parent | |
583 | fp.Reflectance = reflectance | |
584 | fp.Transparency = transparency | |
585 | fp.CanCollide = false | |
586 | fp.Locked = true | |
587 | fp.BrickColor = brickcolor | |
588 | fp.Name = name | |
589 | fp.Size = size | |
590 | fp.Position = tors.Position | |
591 | NoOutlines(fp) | |
592 | fp.Material = "SmoothPlastic" | |
593 | fp:BreakJoints() | |
594 | return fp | |
595 | end | |
596 | ||
597 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
598 | local frame = IT("Frame") | |
599 | frame.BackgroundTransparency = TRANSPARENCY | |
600 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
601 | frame.Position = POSITION | |
602 | frame.Size = SIZE | |
603 | frame.BackgroundColor3 = COLOR | |
604 | frame.BorderColor3 = BORDERCOLOR | |
605 | frame.Name = NAME | |
606 | frame.Parent = PARENT | |
607 | return frame | |
608 | end | |
609 | ||
610 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
611 | local label = IT("TextLabel") | |
612 | label.BackgroundTransparency = 1 | |
613 | label.Size = UD2(1, 0, 1, 0) | |
614 | label.Position = UD2(0, 0, 0, 0) | |
615 | label.TextColor3 = TEXTCOLOR | |
616 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
617 | label.TextTransparency = TRANSPARENCY | |
618 | label.FontSize = TEXTFONTSIZE | |
619 | label.Font = TEXTFONT | |
620 | label.BorderSizePixel = BORDERSIZEPIXEL | |
621 | label.TextScaled = false | |
622 | label.Text = TEXT | |
623 | label.Name = NAME | |
624 | label.Parent = PARENT | |
625 | return label | |
626 | end | |
627 | ||
628 | function NoOutlines(PART) | |
629 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
630 | end | |
631 | ||
632 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
633 | local NEWWELD = IT(TYPE) | |
634 | NEWWELD.Part0 = PART0 | |
635 | NEWWELD.Part1 = PART1 | |
636 | NEWWELD.C0 = C0 | |
637 | NEWWELD.C1 = C1 | |
638 | NEWWELD.Parent = PARENT | |
639 | return NEWWELD | |
640 | end | |
641 | ||
642 | local S = IT("Sound") | |
643 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
644 | local NEWSOUND = nil | |
645 | coroutine.resume(coroutine.create(function() | |
646 | NEWSOUND = S:Clone() | |
647 | NEWSOUND.Parent = PARENT | |
648 | NEWSOUND.Volume = VOLUME | |
649 | NEWSOUND.Pitch = PITCH | |
650 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
651 | NEWSOUND:play() | |
652 | if DOESLOOP == true then | |
653 | NEWSOUND.Looped = true | |
654 | else | |
655 | repeat wait(1) until NEWSOUND.Playing == false | |
656 | NEWSOUND:remove() | |
657 | end | |
658 | end)) | |
659 | return NEWSOUND | |
660 | end | |
661 | ||
662 | function CFrameFromTopBack(at, top, back) | |
663 | local right = top:Cross(back) | |
664 | return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) | |
665 | end | |
666 | ||
667 | function MakeForm(PART,TYPE) | |
668 | if TYPE == "Cyl" then | |
669 | local MSH = IT("CylinderMesh",PART) | |
670 | elseif TYPE == "Ball" then | |
671 | local MSH = IT("SpecialMesh",PART) | |
672 | MSH.MeshType = "Sphere" | |
673 | elseif TYPE == "Wedge" then | |
674 | local MSH = IT("SpecialMesh",PART) | |
675 | MSH.MeshType = "Wedge" | |
676 | end | |
677 | end | |
678 | ||
679 | Debris = game:GetService("Debris") | |
680 | ||
681 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
682 | local DIRECTION = CF(StartPos,EndPos).lookVector | |
683 | return Raycast(StartPos, DIRECTION, Distance, Ignore) | |
684 | end | |
685 | ||
686 | --//=================================\\ | |
687 | --|| WEAPON CREATION | |
688 | --\\=================================// | |
689 | ||
690 | Humanoid.Parent = nil | |
691 | RootPart.Size = RootPart.Size*SIZE | |
692 | Torso.Size = Torso.Size*SIZE | |
693 | RightArm.Size = RightArm.Size*SIZE | |
694 | RightLeg.Size = RightLeg.Size*SIZE | |
695 | LeftArm.Size = LeftArm.Size*SIZE | |
696 | LeftLeg.Size = LeftLeg.Size*SIZE | |
697 | RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
698 | RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
699 | Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
700 | Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
701 | RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE) | |
702 | LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE) | |
703 | RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
704 | LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
705 | RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
706 | LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
707 | Head.Size = Head.Size*SIZE | |
708 | RootJoint.Parent = RootPart | |
709 | Neck.Parent = Torso | |
710 | RightShoulder.Parent = Torso | |
711 | LeftShoulder.Parent = Torso | |
712 | RightHip.Parent = Torso | |
713 | LeftHip.Parent = Torso | |
714 | ||
715 | local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(1.4,1,0.2),false) | |
716 | MakeForm(PART,"Ball") | |
717 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(0.45*SIZE,0.6*SIZE,-0.45*SIZE), CF(0, 0, 0)) | |
718 | local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(1.4,1,0.2),false) | |
719 | MakeForm(PART,"Ball") | |
720 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(-0.45*SIZE,0.6*SIZE,-0.45*SIZE), CF(0, 0, 0)) | |
721 | local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(1,0.7,0.2),false) | |
722 | MakeForm(PART,"Ball") | |
723 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(0.35*SIZE,0.15*SIZE,-0.45*SIZE), CF(0, 0, 0)) | |
724 | local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(1,0.7,0.2),false) | |
725 | MakeForm(PART,"Ball") | |
726 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(-0.35*SIZE,0.15*SIZE,-0.45*SIZE), CF(0, 0, 0)) | |
727 | local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(0.75,0.5,0.2),false) | |
728 | MakeForm(PART,"Ball") | |
729 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(0.3*SIZE,-0.13*SIZE,-0.45*SIZE), CF(0, 0, 0)) | |
730 | local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(0.75,0.5,0.2),false) | |
731 | MakeForm(PART,"Ball") | |
732 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(-0.3*SIZE,-0.13*SIZE,-0.45*SIZE), CF(0, 0, 0)) | |
733 | ||
734 | Humanoid.Parent = Character | |
735 | ||
736 | Humanoid.Died:connect(function() | |
737 | ATTACK = true | |
738 | end) | |
739 | ||
740 | local TRACKFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Yeet") | |
741 | ||
742 | local TEXT = CreateLabel(TRACKFRAME, KILLCOUNT, C3(1,0,0), 8, "SourceSans", 0, 2, 1, "Text") | |
743 | ||
744 | --//=================================\\ | |
745 | --|| DAMAGING | |
746 | --\\=================================// | |
747 | ||
748 | local EXPLOSION = IT("Explosion",nil) | |
749 | EXPLOSION.BlastPressure = 0 | |
750 | function PUNCH(Fist) | |
751 | TOUCH = Fist.Touched:Connect(function(hit) | |
752 | if hit.Parent:FindFirstChildOfClass("Humanoid") then | |
753 | local HUM = hit.Parent:FindFirstChildOfClass("Humanoid") | |
754 | local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") | |
755 | if TORSO and HUM.Health > 0 then | |
756 | CreateSound(296102734,Fist,6,1,false) | |
757 | CreateSound(12222242,TORSO,7,MRANDOM(8,14)/10,false) | |
758 | TORSO.Parent:BreakJoints() | |
759 | for _, c in pairs(TORSO.Parent:GetChildren()) do | |
760 | if c:IsA("BasePart") then | |
761 | local bv = Instance.new("BodyVelocity",c) | |
762 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
763 | bv.velocity = CF(TORSO.Position,c.Position+VT(0,0.1,0)).lookVector*MRANDOM(70,100) | |
764 | Debris:AddItem(bv,0.05) | |
765 | end | |
766 | end | |
767 | local BOOM = EXPLOSION:Clone() | |
768 | BOOM.Position = Fist.CFrame*CF(0,-1*SIZE,0).p | |
769 | BOOM.Parent = Character | |
770 | TOUCH:Disconnect() | |
771 | KILLCOUNT = KILLCOUNT + 1 | |
772 | end | |
773 | elseif hit.Material == Enum.Material.Glass or hit.Transparency > 0.2 then | |
774 | hit:remove() | |
775 | CreateSound(296102734,Fist,6,1,false) | |
776 | local BOOM = EXPLOSION:Clone() | |
777 | BOOM.BlastPressure = 15 | |
778 | BOOM.Position = Fist.CFrame*CF(0,-1*SIZE,0).p | |
779 | BOOM.Parent = Character | |
780 | elseif hit.Anchored == false then | |
781 | CreateSound(296102734,Fist,6,1,false) | |
782 | local BOOM = EXPLOSION:Clone() | |
783 | BOOM.BlastPressure = 70 | |
784 | BOOM.Position = Fist.CFrame*CF(0,-1*SIZE,0).p | |
785 | BOOM.Parent = Character | |
786 | TOUCH:Disconnect() | |
787 | end | |
788 | end) | |
789 | return TOUCH | |
790 | end | |
791 | ||
792 | --//=================================\\ | |
793 | --|| ATTACK FUNCTIONS AND STUFF | |
794 | --\\=================================// | |
795 | ||
796 | function Yeet() | |
797 | ATTACK = true | |
798 | Rooted = false | |
799 | if COMBO == 1 then | |
800 | COMBO = 2 | |
801 | for i=0, 0.1, 0.1 / Animation_Speed do | |
802 | Swait() | |
803 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(15)), 1 / Animation_Speed) | |
804 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 1 / Animation_Speed) | |
805 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
806 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
807 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
808 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
809 | end | |
810 | local FIST = PUNCH(LeftArm) | |
811 | CreateSound(1277342512, LeftArm, 10, (MRANDOM(100,300)/100)+0.15, false) | |
812 | for i=0, 0.15, 0.1 / Animation_Speed do | |
813 | Swait() | |
814 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
815 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(45)), 1 / Animation_Speed) | |
816 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
817 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1*SIZE, 0.45*SIZE, -1*SIZE) * ANGLES(RAD(110), RAD(0), RAD(25)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
818 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
819 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
820 | end | |
821 | FIST:Disconnect() | |
822 | else | |
823 | COMBO = 1 | |
824 | for i=0, 0.1, 0.1 / Animation_Speed do | |
825 | Swait() | |
826 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-15)), 1 / Animation_Speed) | |
827 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.15 / Animation_Speed) | |
828 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
829 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
830 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
831 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
832 | end | |
833 | local FIST = PUNCH(RightArm) | |
834 | CreateSound(1277342512, RightArm, 10, (MRANDOM(100,300)/100)+0.15, false) | |
835 | for i=0, 0.15, 0.1 / Animation_Speed do | |
836 | Swait() | |
837 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(45)), 1 / Animation_Speed) | |
838 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1*SIZE, 0.45*SIZE, -1*SIZE) * ANGLES(RAD(110), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
839 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
840 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
841 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
842 | end | |
843 | FIST:Disconnect() | |
844 | end | |
845 | ATTACK = false | |
846 | Rooted = false | |
847 | end | |
848 | ||
849 | function kICKS() | |
850 | ATTACK = true | |
851 | Rooted = false | |
852 | muda:Play() | |
853 | local KICK = PUNCH(LeftLeg) | |
854 | local KICK2 = PUNCH(RightLeg) | |
855 | for i=0, 9, 0.1 / Animation_Speed do | |
856 | Swait() | |
857 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(-90 + MRANDOM(-34,34)), RAD(0 + MRANDOM(-34,34)), RAD(-0 + MRANDOM(-34,34))), 1 / 4) | |
858 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0 + MRANDOM(-34,34)), RAD(0 + MRANDOM(-34,34)), RAD(0 + MRANDOM(-34,34))), 1 / Animation_Speed) | |
859 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0 + MRANDOM(-34,34)), RAD(-0 + MRANDOM(-34,34)), RAD(0 + MRANDOM(-34,34))), 1 / Animation_Speed) | |
860 | end | |
861 | KICK:Disconnect() | |
862 | KICK2:Disconnect() | |
863 | muda:Stop() | |
864 | ATTACK = false | |
865 | Rooted = false | |
866 | end | |
867 | ||
868 | function DORAH() | |
869 | ATTACK = true | |
870 | Rooted = false | |
871 | CreateSound(1529432744, Torso, 10, 1, false) | |
872 | for i=0, 1, 0.1 / Animation_Speed do | |
873 | Swait() | |
874 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(15)), 1 / Animation_Speed) | |
875 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 1 / Animation_Speed) | |
876 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
877 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
878 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
879 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
880 | end | |
881 | Effects.Wave.Create(BRICKC("Bright blue"), RootPart.CFrame * CF(0, 0, 0) * ANGLES(RAD(90),RAD(-0),RAD(0)), 25, 25, 25, 30, 30, 30, 0.05) | |
882 | local FIST = PUNCH(LeftArm) | |
883 | for _, c in pairs(Character:GetChildren()) do | |
884 | if c:FindFirstChild("face") then | |
885 | c.face.Texture = "http://www.roblox.com/asset/?id=1853734154" | |
886 | end | |
887 | end | |
888 | CreateSound(1529198207, Torso, 10, 1, false) | |
889 | CreateSound(1268140357, LeftArm, 2, 1, false) | |
890 | for i=0, 0.15, 0.1 / Animation_Speed do | |
891 | Swait() | |
892 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, -20, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
893 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(45)), 1 / Animation_Speed) | |
894 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
895 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1*SIZE, 0.45*SIZE, -1*SIZE) * ANGLES(RAD(110), RAD(0), RAD(25)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
896 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
897 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
898 | end | |
899 | FIST:Disconnect() | |
900 | for i=0, 0.2, 0.15 / Animation_Speed do | |
901 | Swait() | |
902 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, -20, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(15)), 1 / 4) | |
903 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 1 / 1) | |
904 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / 4) | |
905 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / 4) | |
906 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
907 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
908 | end | |
909 | CreateSound(1268140357, LeftArm, 2, (MRANDOM(90,130)/100)+0.15, false) | |
910 | local FIST = PUNCH(LeftArm) | |
911 | for i=0, 0.2, 0.15 / Animation_Speed do | |
912 | Swait() | |
913 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, -20, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(-45)), 1 / 4) | |
914 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(45)), 1 / 4) | |
915 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / 4) | |
916 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1*SIZE, 0.45*SIZE, -1*SIZE) * ANGLES(RAD(110), RAD(0), RAD(25)) * LEFTSHOULDERC0, 2 / 4) | |
917 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
918 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
919 | end | |
920 | FIST:Disconnect() | |
921 | COMBO = 1 | |
922 | for i=0, 0.2, 0.15 / Animation_Speed do | |
923 | Swait() | |
924 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, -20, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-15)), 1 / 4) | |
925 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.15 / 4) | |
926 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / 4) | |
927 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / 4) | |
928 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
929 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
930 | end | |
931 | local FIST = PUNCH(RightArm) | |
932 | CreateSound(1268140357, LeftArm, 2, (MRANDOM(90,130)/100)+0.15, false) | |
933 | for i=0, 0.2, 0.15 / Animation_Speed do | |
934 | Swait() | |
935 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, -20, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(45)), 1 / 4) | |
936 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-45)), 0.15 / 4) | |
937 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1*SIZE, 0.45*SIZE, -1*SIZE) * ANGLES(RAD(110), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / 4) | |
938 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / 4) | |
939 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
940 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
941 | end | |
942 | FIST:Disconnect() | |
943 | for i=0, 0.2, 0.15 / Animation_Speed do | |
944 | Swait() | |
945 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, -20, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(15)), 1 / 4) | |
946 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 1 / 1) | |
947 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / 4) | |
948 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / 4) | |
949 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
950 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
951 | end | |
952 | CreateSound(1268140357, LeftArm, 2, (MRANDOM(90,130)/100)+0.15, false) | |
953 | local FIST = PUNCH(LeftArm) | |
954 | for i=0, 0.2, 0.15 / Animation_Speed do | |
955 | Swait() | |
956 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, -20, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(-45)), 1 / 4) | |
957 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(45)), 1 / 4) | |
958 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / 4) | |
959 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1*SIZE, 0.45*SIZE, -1*SIZE) * ANGLES(RAD(110), RAD(0), RAD(25)) * LEFTSHOULDERC0, 2 / 4) | |
960 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
961 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
962 | end | |
963 | FIST:Disconnect() | |
964 | COMBO = 1 | |
965 | for i=0, 0.2, 0.15 / Animation_Speed do | |
966 | Swait() | |
967 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, -20, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-15)), 1 / 4) | |
968 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.15 / 4) | |
969 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / 4) | |
970 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / 4) | |
971 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
972 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
973 | end | |
974 | local FIST = PUNCH(RightArm) | |
975 | CreateSound(1268140357, LeftArm, 2, (MRANDOM(90,130)/100)+0.15, false) | |
976 | for i=0, 0.2, 0.15 / Animation_Speed do | |
977 | Swait() | |
978 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, -20, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(45)), 1 / 4) | |
979 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-45)), 0.15 / 4) | |
980 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1*SIZE, 0.45*SIZE, -1*SIZE) * ANGLES(RAD(110), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / 4) | |
981 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / 4) | |
982 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
983 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
984 | end | |
985 | FIST:Disconnect() | |
986 | for i=0, 0.2, 0.15 / Animation_Speed do | |
987 | Swait() | |
988 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, -20, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(15)), 1 / 4) | |
989 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 1 / 1) | |
990 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / 4) | |
991 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / 4) | |
992 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
993 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
994 | end | |
995 | CreateSound(1268140357, LeftArm, 2, (MRANDOM(90,130)/100)+0.15, false) | |
996 | local FIST = PUNCH(LeftArm) | |
997 | for i=0, 0.2, 0.15 / Animation_Speed do | |
998 | Swait() | |
999 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, -20, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(-45)), 1 / 4) | |
1000 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(45)), 1 / 4) | |
1001 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / 4) | |
1002 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1*SIZE, 0.45*SIZE, -1*SIZE) * ANGLES(RAD(110), RAD(0), RAD(25)) * LEFTSHOULDERC0, 2 / 4) | |
1003 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1004 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1005 | end | |
1006 | FIST:Disconnect() | |
1007 | COMBO = 1 | |
1008 | for i=0, 0.2, 0.15 / Animation_Speed do | |
1009 | Swait() | |
1010 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, -20, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-15)), 1 / 4) | |
1011 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.15 / 4) | |
1012 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / 4) | |
1013 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / 4) | |
1014 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1015 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1016 | end | |
1017 | local FIST = PUNCH(RightArm) | |
1018 | CreateSound(1268140357, LeftArm, 2, (MRANDOM(90,130)/100)+0.15, false) | |
1019 | for i=0, 0.2, 0.15 / Animation_Speed do | |
1020 | Swait() | |
1021 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, -20, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(45)), 1 / 4) | |
1022 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-45)), 0.15 / 4) | |
1023 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1*SIZE, 0.45*SIZE, -1*SIZE) * ANGLES(RAD(110), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / 4) | |
1024 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / 4) | |
1025 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1026 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1027 | end | |
1028 | FIST:Disconnect() | |
1029 | for _, c in pairs(Character:GetChildren()) do | |
1030 | if c:FindFirstChild("face") then | |
1031 | c.face.Texture = "http://www.roblox.com/asset/?id=145914523" | |
1032 | end | |
1033 | end | |
1034 | ATTACK = false | |
1035 | Rooted = false | |
1036 | end | |
1037 | ||
1038 | function ORAORA() | |
1039 | ATTACK = true | |
1040 | Rooted = false | |
1041 | ORA:Play() | |
1042 | sick.Volume = 0 | |
1043 | for _, c in pairs(Character:GetChildren()) do | |
1044 | if c:FindFirstChild("face") then | |
1045 | c.face.Texture = "http://www.roblox.com/asset/?id=1156642909" | |
1046 | end | |
1047 | end | |
1048 | repeat | |
1049 | if COMBO == 1 then | |
1050 | COMBO = 2 | |
1051 | for i=0, 0.03, 0.15 / Animation_Speed do | |
1052 | Swait() | |
1053 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(15)), 1 / 4) | |
1054 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 1 / 1) | |
1055 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / 4) | |
1056 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / 4) | |
1057 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1058 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1059 | end | |
1060 | local FIST = PUNCH(LeftArm) | |
1061 | for i=0, 0.03, 0.15 / Animation_Speed do | |
1062 | Swait() | |
1063 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(-45)), 1 / 4) | |
1064 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(45)), 1 / 4) | |
1065 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / 4) | |
1066 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1*SIZE, 0.45*SIZE, -1*SIZE) * ANGLES(RAD(110), RAD(0), RAD(25)) * LEFTSHOULDERC0, 2 / 4) | |
1067 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1068 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1069 | end | |
1070 | FIST:Disconnect() | |
1071 | else | |
1072 | COMBO = 1 | |
1073 | for i=0, 0.03, 0.15 / Animation_Speed do | |
1074 | Swait() | |
1075 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-15)), 1 / 4) | |
1076 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.15 / 4) | |
1077 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / 4) | |
1078 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / 4) | |
1079 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1080 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1081 | end | |
1082 | local FIST = PUNCH(RightArm) | |
1083 | for i=0, 0.03, 0.15 / Animation_Speed do | |
1084 | Swait() | |
1085 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(45)), 1 / 4) | |
1086 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-45)), 0.15 / 4) | |
1087 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1*SIZE, 0.45*SIZE, -1*SIZE) * ANGLES(RAD(110), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / 4) | |
1088 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / 4) | |
1089 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1090 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 4) | |
1091 | end | |
1092 | FIST:Disconnect() | |
1093 | end | |
1094 | until ORA.Playing == false | |
1095 | for _, c in pairs(Character:GetChildren()) do | |
1096 | if c:FindFirstChild("face") then | |
1097 | c.face.Texture = "http://www.roblox.com/asset/?id=145914523" | |
1098 | end | |
1099 | end | |
1100 | sick.Volume = 2.5 | |
1101 | ATTACK = false | |
1102 | Rooted = false | |
1103 | end | |
1104 | ||
1105 | function YesPlease() | |
1106 | ATTACK = true | |
1107 | Rooted = true | |
1108 | CreateSound(1535471840,Head,6,1.1,false) | |
1109 | for i=0, 4.01, 0.1 / Animation_Speed do | |
1110 | Swait() | |
1111 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.3*SIZE) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1112 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1113 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(2+(MRANDOM(-5,5)/100)*SIZE, (0.45+(MRANDOM(-5,5)/100))*SIZE, -0.5*SIZE) * ANGLES(RAD(75), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1114 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-2+(MRANDOM(-5,5)/100)*SIZE, (0.65+(MRANDOM(-5,5)/100))*SIZE, -0.5*SIZE) * ANGLES(RAD(65), RAD(0), RAD(65)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1115 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.85*SIZE, -0.6*SIZE) * ANGLES(RAD(25), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1116 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.85*SIZE, -0.6*SIZE) * ANGLES(RAD(25), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1117 | end | |
1118 | ATTACK = false | |
1119 | Rooted = false | |
1120 | end | |
1121 | ||
1122 | --//=================================\\ | |
1123 | --|| ASSIGN THINGS TO KEYS | |
1124 | --\\=================================// | |
1125 | ||
1126 | Mouse.Button1Down:connect(function(NEWKEY) | |
1127 | if ATTACK == false then | |
1128 | Yeet() | |
1129 | end | |
1130 | end) | |
1131 | Mouse.KeyDown:connect(function(NEWKEY) | |
1132 | if NEWKEY == "t" and ATTACK == false then | |
1133 | YesPlease() | |
1134 | elseif NEWKEY == "q" and ATTACK == false then | |
1135 | ORAORA() | |
1136 | elseif NEWKEY == "e" and ATTACK == false then | |
1137 | DORAH() | |
1138 | elseif NEWKEY == "r" and ATTACK == false then | |
1139 | kICKS() | |
1140 | end | |
1141 | end) | |
1142 | ||
1143 | --//=================================\\ | |
1144 | --\\=================================// | |
1145 | ||
1146 | function unanchor() | |
1147 | if UNANCHOR == true then | |
1148 | g = Character:GetChildren() | |
1149 | for i = 1, #g do | |
1150 | if g[i].ClassName == "Part" then | |
1151 | g[i].Anchored = false | |
1152 | end | |
1153 | end | |
1154 | end | |
1155 | end | |
1156 | ||
1157 | --//=================================\\ | |
1158 | --|| WRAP THE WHOLE SCRIPT UP | |
1159 | --\\=================================// | |
1160 | ||
1161 | Humanoid.Changed:connect(function(Jump) | |
1162 | if Jump == "Jump" and (Disable_Jump == true) then | |
1163 | Humanoid.Jump = false | |
1164 | end | |
1165 | end) | |
1166 | ||
1167 | local FF = IT("ForceField",Character) | |
1168 | FF.Visible = false | |
1169 | ||
1170 | while true do | |
1171 | Swait() | |
1172 | script.Parent = WEAPONGUI | |
1173 | ANIMATE.Parent = nil | |
1174 | for _,v in next, Humanoid:GetPlayingAnimationTracks() do | |
1175 | v:Stop(); | |
1176 | end | |
1177 | SINE = SINE + CHANGE | |
1178 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
1179 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
1180 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character) | |
1181 | local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16) | |
1182 | if ANIM == "Walk" and TORSOVELOCITY > 1 then | |
1183 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 / Animation_Speed) | |
1184 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
1185 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.5- 0.5 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
1186 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.5+ 0.5 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
1187 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then | |
1188 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1189 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1190 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1191 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1192 | end | |
1193 | if HITFLOOR == nil then | |
1194 | ANIM = "Midair" | |
1195 | if ATTACK == false then | |
1196 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1197 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1198 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(145), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1199 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.45*SIZE, 0.3*SIZE) * ANGLES(RAD(35), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1200 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.2*SIZE, -0.7*SIZE) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed) | |
1201 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed) | |
1202 | end | |
1203 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
1204 | ANIM = "Idle" | |
1205 | if ATTACK == false then | |
1206 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1207 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1208 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55*SIZE, 0.5*SIZE, 0.1*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1209 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55*SIZE, 0.5*SIZE, 0.1*SIZE) * ANGLES(RAD(15), RAD(0), RAD(12)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1210 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1211 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1212 | end | |
1213 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then | |
1214 | ANIM = "Walk" | |
1215 | if ATTACK == false then | |
1216 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1217 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1/ Animation_Speed) | |
1218 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, (0.35+0.15 * COS(SINE / WALKSPEEDVALUE))*SIZE, 0*SIZE) * ANGLES(RAD(25+70 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1219 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, (0.35-0.15 * COS(SINE / WALKSPEEDVALUE))*SIZE, 0*SIZE) * ANGLES(RAD(25-70 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1220 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed) | |
1221 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed) | |
1222 | end | |
1223 | end | |
1224 | unanchor() | |
1225 | Humanoid.MaxHealth = 5e7 | |
1226 | Humanoid.Health = 5e7 | |
1227 | Humanoid.Name = "BigJoJoFanBoie" | |
1228 | if Rooted == false then | |
1229 | Disable_Jump = false | |
1230 | Humanoid.WalkSpeed = Speed | |
1231 | elseif Rooted == true then | |
1232 | Disable_Jump = true | |
1233 | Humanoid.WalkSpeed = 0 | |
1234 | end | |
1235 | for _, c in pairs(Character:GetChildren()) do | |
1236 | if c.ClassName == "Part" then | |
1237 | c.Material = "SmoothPlastic" | |
1238 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
1239 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
1240 | end | |
1241 | if c == Torso or c.Name == "Muscle" then | |
1242 | c.BrickColor = BRICKC"Bright blue" | |
1243 | elseif c == RightLeg or c == LeftLeg then | |
1244 | c.BrickColor = BRICKC"Br. yellowish green" | |
1245 | else | |
1246 | c.BrickColor = BRICKC"Bright yellow" | |
1247 | end | |
1248 | if c == Head and ATTACK == false then | |
1249 | if c:FindFirstChild("face") then | |
1250 | c.face.Texture = "http://www.roblox.com/asset/?id=145914523" | |
1251 | end | |
1252 | end | |
1253 | elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
1254 | c:remove() | |
1255 | elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then | |
1256 | c:remove() | |
1257 | end | |
1258 | end | |
1259 | if ATTACK == false then | |
1260 | sick.SoundId = "rbxassetid://292480358" | |
1261 | sick.Looped = true | |
1262 | sick.Pitch = (MRANDOM(95,105)/100)+0.1 | |
1263 | sick.Volume = 2.5 | |
1264 | sick:Resume() | |
1265 | end | |
1266 | sick.Parent = Torso | |
1267 | ORA.SoundId = "rbxassetid://791374350" | |
1268 | ORA.Looped = false | |
1269 | ORA.Pitch = (MRANDOM(90,110)/100)+0.13 | |
1270 | ORA.Volume = 10 | |
1271 | ORA.Parent = Torso | |
1272 | muda.SoundId = "rbxassetid://904811971" | |
1273 | muda.Looped = false | |
1274 | muda.Pitch = (MRANDOM(80,140)/100)+0.13 | |
1275 | muda.Volume = 10 | |
1276 | muda.Parent = Torso | |
1277 | Humanoid.JumpPower = 150 | |
1278 | TEXT.Text = KILLCOUNT | |
1279 | if 0 < #Effects then | |
1280 | for e = 1, #Effects do | |
1281 | if Effects[e] ~= nil then | |
1282 | local Thing = Effects[e] | |
1283 | if Thing ~= nil then | |
1284 | local Part = Thing[1] | |
1285 | local Mode = Thing[2] | |
1286 | local Delay = Thing[3] | |
1287 | local IncX = Thing[4] | |
1288 | local IncY = Thing[5] | |
1289 | local IncZ = Thing[6] | |
1290 | if 1 >= Thing[1].Transparency then | |
1291 | if Thing[2] == "Block1" then | |
1292 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1293 | local Mesh = Thing[1].Mesh | |
1294 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1295 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1296 | elseif Thing[2] == "Block2" then | |
1297 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
1298 | local Mesh = Thing[7] | |
1299 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1300 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1301 | elseif Thing[2] == "Block3" then | |
1302 | 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) | |
1303 | local Mesh = Thing[7] | |
1304 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1305 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1306 | elseif Thing[2] == "Cylinder" then | |
1307 | local Mesh = Thing[1].Mesh | |
1308 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1309 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1310 | elseif Thing[2] == "Blood" then | |
1311 | local Mesh = Thing[7] | |
1312 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
1313 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1314 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1315 | elseif Thing[2] == "Elec" then local Mesh = Thing[1].Mesh | |
1316 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
1317 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1318 | elseif Thing[2] == "Disappear" then | |
1319 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1320 | elseif Thing[2] == "Shatter" then | |
1321 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1322 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
1323 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
1324 | Thing[6] = Thing[6] + Thing[5] | |
1325 | end | |
1326 | else | |
1327 | Part.Parent = nil | |
1328 | table.remove(Effects, e) | |
1329 | end | |
1330 | end | |
1331 | end | |
1332 | end | |
1333 | end | |
1334 | end | |
1335 | ||
1336 | --//=================================\\ | |
1337 | --\\=================================// | |
1338 | ||
1339 | ||
1340 | ||
1341 | ||
1342 | ||
1343 | --//====================================================\\-- | |
1344 | --|| END OF SCRIPT | |
1345 | --\\====================================================//-- |