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