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