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