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