SHOW:
|
|
- or go back to the newest paste.
| 1 | - | -- Created by Nebula_Zorua -- |
| 1 | + | -- edited by Tabby_Cxt -- |
| 2 | - | -- InSaNiTy -- |
| 2 | + | -- InSaNe bYe -- |
| 3 | -- The weight of the air is torture -- | |
| 4 | -- Discord: Nebula the Zorua#6969 | |
| 5 | -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA | |
| 6 | ||
| 7 | ||
| 8 | --// Initializing \\-- | |
| 9 | local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
| |
| 10 | local Plrs = S.Players | |
| 11 | local Plr = Plrs.LocalPlayer | |
| 12 | local Char = Plr.Character | |
| 13 | local Hum = Char:FindFirstChildOfClass'Humanoid' | |
| 14 | local RArm = Char["Right Arm"] | |
| 15 | local LArm = Char["Left Arm"] | |
| 16 | local RLeg = Char["Right Leg"] | |
| 17 | local LLeg = Char["Left Leg"] | |
| 18 | local Root = Char:FindFirstChild'HumanoidRootPart' | |
| 19 | local Torso = Char.Torso | |
| 20 | Player = game:GetService("Players").LocalPlayer
| |
| 21 | Character = Player.Character | |
| 22 | Head = Character["Head"] | |
| 23 | local Head = Char.Head | |
| 24 | local NeutralAnims = true | |
| 25 | local Attack = false | |
| 26 | local BloodPuddles = {}
| |
| 27 | local Effects = {}
| |
| 28 | local Debounces = {Debounces={}}
| |
| 29 | local Mouse = Plr:GetMouse() | |
| 30 | local Hit = {}
| |
| 31 | local Sine = 0 | |
| 32 | local Change = 1 | |
| 33 | local Twitch = false | |
| 34 | local LastTwitch = 0; | |
| 35 | local Victim = nil; | |
| 36 | VT = Vector3.new | |
| 37 | BRICKC = BrickColor.new | |
| 38 | --// Debounce System \\-- | |
| 39 | ||
| 40 | ||
| 41 | function Debounces:New(name,cooldown) | |
| 42 | local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
| |
| 43 | setmetatable(aaaaa,{__index = Debounces})
| |
| 44 | Debounces.Debounces[name] = aaaaa | |
| 45 | return aaaaa | |
| 46 | end | |
| 47 | ||
| 48 | function Debounces:Use(overrideUsable) | |
| 49 | assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use") | |
| 50 | if(self.Usable or overrideUsable)then | |
| 51 | self.Usable = false | |
| 52 | self.CoolingDown = true | |
| 53 | local LastUse = time() | |
| 54 | self.LastUse = LastUse | |
| 55 | delay(self.Cooldown or 2,function() | |
| 56 | if(self.LastUse == LastUse)then | |
| 57 | self.CoolingDown = false | |
| 58 | self.Usable = true | |
| 59 | end | |
| 60 | end) | |
| 61 | end | |
| 62 | end | |
| 63 | ||
| 64 | function Debounces:Get(name) | |
| 65 | assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
| |
| 66 | for i,v in next, Debounces.Debounces do | |
| 67 | if(i == name)then | |
| 68 | return v; | |
| 69 | end | |
| 70 | end | |
| 71 | end | |
| 72 | ||
| 73 | function Debounces:GetProgressPercentage() | |
| 74 | assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use") | |
| 75 | if(self.CoolingDown and not self.Usable)then | |
| 76 | return math.max( | |
| 77 | math.floor( | |
| 78 | ( | |
| 79 | (time()-self.LastUse)/self.Cooldown or 2 | |
| 80 | )*100 | |
| 81 | ) | |
| 82 | ) | |
| 83 | else | |
| 84 | return 100 | |
| 85 | end | |
| 86 | end | |
| 87 | ||
| 88 | --// Shortcut Variables \\-- | |
| 89 | C4 = Color3.new | |
| 90 | ANGLES = CFrame.Angles | |
| 91 | RAD = math.rad | |
| 92 | CD = CFrame.new | |
| 93 | local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
| |
| 94 | local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
| |
| 95 | local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
| |
| 96 | local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
| |
| 97 | local R3 = {N=Region3.new}
| |
| 98 | local De = S.Debris | |
| 99 | local WS = workspace | |
| 100 | local Lght = S.Lighting | |
| 101 | local RepS = S.ReplicatedStorage | |
| 102 | local IN = Instance.new | |
| 103 | --// Instance Creation Functions \\-- | |
| 104 | ||
| 105 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
| 106 | local NEWMESH = IN(MESH) | |
| 107 | if MESH == "SpecialMesh" then | |
| 108 | NEWMESH.MeshType = MESHTYPE | |
| 109 | if MESHID ~= "nil" and MESHID ~= "" then | |
| 110 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
| 111 | end | |
| 112 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
| 113 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
| 114 | end | |
| 115 | end | |
| 116 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
| 117 | NEWMESH.Scale = SCALE | |
| 118 | NEWMESH.Parent = PARENT | |
| 119 | return NEWMESH | |
| 120 | end | |
| 121 | ||
| 122 | function MakeForm(PART,TYPE) | |
| 123 | if TYPE == "Cyl" then | |
| 124 | local MSH = IN("CylinderMesh",PART)
| |
| 125 | elseif TYPE == "Ball" then | |
| 126 | local MSH = IN("SpecialMesh",PART)
| |
| 127 | MSH.MeshType = "Sphere" | |
| 128 | elseif TYPE == "Wedge" then | |
| 129 | local MSH = IN("SpecialMesh",PART)
| |
| 130 | MSH.MeshType = "Wedge" | |
| 131 | end | |
| 132 | end | |
| 133 | ||
| 134 | ||
| 135 | ||
| 136 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
| 137 | local NEWWELD = IN(TYPE) | |
| 138 | NEWWELD.Part0 = PART0 | |
| 139 | NEWWELD.Part1 = PART1 | |
| 140 | NEWWELD.C0 = C0 | |
| 141 | NEWWELD.C1 = C1 | |
| 142 | NEWWELD.Parent = PARENT | |
| 143 | return NEWWELD | |
| 144 | end | |
| 145 | ||
| 146 | ||
| 147 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
| 148 | local NEWPART = IN("Part")
| |
| 149 | NEWPART.formFactor = FORMFACTOR | |
| 150 | NEWPART.Reflectance = REFLECTANCE | |
| 151 | NEWPART.Transparency = TRANSPARENCY | |
| 152 | NEWPART.CanCollide = false | |
| 153 | NEWPART.Locked = true | |
| 154 | NEWPART.Anchored = true | |
| 155 | if ANCHOR == false then | |
| 156 | NEWPART.Anchored = false | |
| 157 | end | |
| 158 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
| 159 | NEWPART.Name = NAME | |
| 160 | NEWPART.Size = SIZE | |
| 161 | NEWPART.Position = Torso.Position | |
| 162 | NEWPART.Material = MATERIAL | |
| 163 | - | local MusicID = 623662713 |
| 163 | + | NEWPART:BreakJoints() |
| 164 | NEWPART.Parent = PARENT | |
| 165 | return NEWPART | |
| 166 | end | |
| 167 | - | local Target1Id = "rbxassetid://1490455495" |
| 167 | + | local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(.1,.1,.1),false) |
| 168 | - | local Target2Id = "rbxassetid://133820006" |
| 168 | + | PRT.Color = C4(0,0,0) |
| 169 | local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CD(0,0.2,0), CD(0, 0, 0))
| |
| 170 | - | [{33104243,"Salvo_Starly"}] = {"Sorry, my Blazey..","OwO?","Ah, I'm sorry.. I thought you were an enemy.","Why did I even think of doing that.."},
|
| 170 | + | CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(.1,.1,.1)*1.05, VT(0,0,0))
|
| 171 | local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(.1,.1,.1),false) | |
| 172 | PRT.Color = C4(0,0,0) | |
| 173 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CD(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CD(0, 0, 0))
| |
| 174 | CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
| |
| 175 | for i = 1, 16 do | |
| 176 | local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false) | |
| 177 | FACE.Color = C4(0,0,0) | |
| 178 | Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
| |
| 179 | CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CD(0,0.45-(i-1)/25,0), CD(0, 0, 0))
| |
| 180 | end | |
| 181 | local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eyeball", VT(0.15,0.15,0.15),false) | |
| 182 | MakeForm(EYE,"Ball") | |
| 183 | CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CD(0.15,0.26,-0.55), CD(0, 0, 0))
| |
| 184 | local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eyeball", VT(0.15,0.15,0.15),false) | |
| 185 | MakeForm(EYE2,"Ball") | |
| 186 | CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CD(-0.15,0.26,-0.55), CD(0, 0, 0))
| |
| 187 | local LASTPART = Head | |
| 188 | for i = 1, 20 do | |
| 189 | local MATH = (1-(i/25)) | |
| 190 | if LASTPART == Head then | |
| 191 | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
| 192 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CD(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CD(0, 0, 0))
| |
| 193 | LASTPART = Horn | |
| 194 | Horn.Color = C4((i*3-3)/255,0,0) | |
| 195 | else | |
| 196 | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
| 197 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CD(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CD(0, 0, 0))
| |
| 198 | LASTPART = Horn | |
| 199 | Horn.Color = C4((i*3-3)/255,0,0) | |
| 200 | end | |
| 201 | end | |
| 202 | local LASTPART = Head | |
| 203 | for i = 1, 20 do | |
| 204 | local MATH = (1-(i/25)) | |
| 205 | if LASTPART == Head then | |
| 206 | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
| 207 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CD(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CD(0, 0, 0))
| |
| 208 | - | TargetImg2.ImageColor3 = C3.RGB(165,0,0) |
| 208 | + | LASTPART = Horn |
| 209 | Horn.Color = C4((i*3-3)/255,0,0) | |
| 210 | else | |
| 211 | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
| 212 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CD(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CD(0, 0, 0))
| |
| 213 | LASTPART = Horn | |
| 214 | Horn.Color = C4((i*3-3)/255,0,0) | |
| 215 | end | |
| 216 | end | |
| 217 | ||
| 218 | function Sound(parent,id,pitch,volume,looped,effect,autoPlay) | |
| 219 | local Sound = IN("Sound")
| |
| 220 | Sound.SoundId = "rbxassetid://".. tostring(id or 0) | |
| 221 | Sound.Pitch = pitch or 1 | |
| 222 | Sound.Volume = volume or 1 | |
| 223 | Sound.Looped = looped or false | |
| 224 | if(autoPlay)then | |
| 225 | coroutine.wrap(function() | |
| 226 | repeat wait() until Sound.IsLoaded | |
| 227 | Sound.Playing = autoPlay or false | |
| 228 | end)() | |
| 229 | end | |
| 230 | if(not looped and effect)then | |
| 231 | Sound.Stopped:connect(function() | |
| 232 | Sound.Volume = 0 | |
| 233 | Sound:destroy() | |
| 234 | end) | |
| 235 | elseif(effect)then | |
| 236 | warn("Sound can't be looped and a sound effect!")
| |
| 237 | end | |
| 238 | Sound.Parent =parent or Torso | |
| 239 | return Sound | |
| 240 | end | |
| 241 | function Part(parent,color,material,size,cframe,anchored,cancollide) | |
| 242 | local part = IN("Part")
| |
| 243 | part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0) | |
| 244 | part.Material = material or Enum.Material.SmoothPlastic | |
| 245 | part.TopSurface,part.BottomSurface=10,10 | |
| 246 | part.Size = size or V3.N(1,1,1) | |
| 247 | part.CFrame = cframe or CF.N(0,0,0) | |
| 248 | part.Anchored = anchored or true | |
| 249 | part.CanCollide = cancollide or false | |
| 250 | part.Parent = parent or Char | |
| 251 | return part | |
| 252 | end | |
| 253 | function Mesh(parent,meshtype,meshid,textid,scale,offset) | |
| 254 | local part = IN("SpecialMesh")
| |
| 255 | part.MeshId = meshid or "" | |
| 256 | part.TextureId = textid or "" | |
| 257 | part.Scale = scale or V3.N(1,1,1) | |
| 258 | part.Offset = offset or V3.N(0,0,0) | |
| 259 | part.MeshType = meshtype or Enum.MeshType.Sphere | |
| 260 | part.Parent = parent | |
| 261 | return part | |
| 262 | end | |
| 263 | ||
| 264 | NewInstance = function(instance,parent,properties) | |
| 265 | local inst = Instance.new(instance,parent) | |
| 266 | if(properties)then | |
| 267 | for i,v in next, properties do | |
| 268 | pcall(function() inst[i] = v end) | |
| 269 | end | |
| 270 | end | |
| 271 | return inst; | |
| 272 | end | |
| 273 | ||
| 274 | ||
| 275 | ||
| 276 | --// Extended ROBLOX tables \\-- | |
| 277 | local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
| |
| 278 | --// Customization \\-- | |
| 279 | ||
| 280 | local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this | |
| 281 | local Remove_Hats = false | |
| 282 | local Remove_Clothing = false | |
| 283 | local PlayerSize = 1 | |
| 284 | local DamageColor = BrickColor.new'Really red' | |
| 285 | local MusicID = 885591406 | |
| 286 | local TwitchMinTime = 2 | |
| 287 | local BloodColor = BrickColor.new'Maroon' | |
| 288 | local BloodMaterial = Enum.Material.Glass | |
| 289 | local Target1Id = "rbxassetid://359972767" | |
| 290 | local Target2Id = "rbxassetid://14561581" | |
| 291 | local Whitelist = {
| |
| 292 | [{32467146,"Tabby_Cxt"}] = {"Sorry, my Blazey..","OwO?","Ah, I'm sorry.. I thought you were an enemy.","Why did I even think of doing that.."},
| |
| 293 | [{19081129,"CKbackup"}] = {"S-sugarie! My bad!", "Ah, I'm sorry, my furry friend.","Why did I even think of doing that.."},
| |
| 294 | [{5719877,"Nebula_Zorua"}] = {"My creator!","N-nebula!?","I'm sorry, my creator!","F-father..?","Daddy..?","Sorry, Nebby..!"},
| |
| 295 | [{19909695,"makhail07"}] = {"Cretty!~","Yeef me dadi~","Marshdaddy~","Makhail, the edge master","Hello there, friend..~"},
| |
| 296 | [{44083134,"Fifkee"}] = {(function() return Plr.UserId == 5719877 and "Uh.. Who're you again?" or "You're Nebula's friend.. Right?" end)(),"Uuhh.. hi?","I nearly killed ya.","Oh. It's you."},
| |
| 297 | } | |
| 298 | ||
| 299 | --// Whitelist System \\-- | |
| 300 | ||
| 301 | function IsWhitelisted(id,who) | |
| 302 | for i,v in next, Whitelist do | |
| 303 | if(i[1] == id or i[2] == who)then | |
| 304 | return v | |
| 305 | end | |
| 306 | end | |
| 307 | return nil | |
| 308 | end | |
| 309 | ||
| 310 | --// Weapon and GUI creation, and Character Customization \\-- | |
| 311 | ||
| 312 | if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end | |
| 313 | if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end | |
| 314 | local Effects = IN("Folder",Char)
| |
| 315 | Effects.Name = "Effects" | |
| 316 | ||
| 317 | local FT,RA,LA,RL,LL = Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh")
| |
| 318 | FT.MeshId,FT.Scale = "rbxasset://fonts/torso.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize) | |
| 319 | RA.MeshId,RA.Scale = "rbxasset://fonts/rightarm.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize) | |
| 320 | LA.MeshId,LA.Scale = "rbxasset://fonts/leftarm.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize) | |
| 321 | RL.MeshId,RL.Scale = "rbxasset://fonts/rightleg.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize) | |
| 322 | LL.MeshId,LL.Scale = "rbxasset://fonts/leftleg.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize) | |
| 323 | ||
| 324 | local Target = NewInstance("BillboardGui",Char,{Name='Target',Adornee=nil,LightInfluence=0,AlwaysOnTop=true,Size = UDim2.new(10,0,10,0)})
| |
| 325 | local TargetImg1 = NewInstance("ImageLabel",Target,{BackgroundTransparency=1,Position = UDim2.new(.5,0,.5,0),Size = UDim2.new(1,0,1,0),AnchorPoint = Vector2.new(.5,.5),Image=Target1Id,ImageColor = C3.N(0,0,0),ImageTransparency=1})
| |
| 326 | local TargetImg2 = TargetImg1:Clone(); | |
| 327 | TargetImg2.Size = UDim2.new(1.4,0,1.4,0); | |
| 328 | TargetImg2.Image = Target2Id | |
| 329 | TargetImg2.Parent = Target | |
| 330 | if(PlayerSize ~= 1)then | |
| 331 | for _,v in next, Char:GetDescendats() do | |
| 332 | if(v:IsA'BasePart')then | |
| 333 | v.Size = v.Size * PlayerSize | |
| 334 | end | |
| 335 | end | |
| 336 | end | |
| 337 | ||
| 338 | local Music = Sound(Char,MusicID,1,3,true,false,true) | |
| 339 | Music.Name = 'Music' | |
| 340 | ||
| 341 | --// Stop animations \\-- | |
| 342 | for _,v in next, Hum:GetPlayingAnimationTracks() do | |
| 343 | v:Stop(); | |
| 344 | end | |
| 345 | ||
| 346 | pcall(game.Destroy,Char:FindFirstChild'Animate') | |
| 347 | pcall(game.Destroy,Hum:FindFirstChild'Animator') | |
| 348 | ||
| 349 | --// Joints \\-- | |
| 350 | ||
| 351 | local LS = NewInstance('Motor',Char,{Part0=Torso,Part1=LArm,C0 = CF.N(-1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
| |
| 352 | local RS = NewInstance('Motor',Char,{Part0=Torso,Part1=RArm,C0 = CF.N(1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
| |
| 353 | local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
| |
| 354 | local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
| |
| 355 | local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
| |
| 356 | local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
| |
| 357 | ||
| 358 | local LSC0 = LS.C0 | |
| 359 | local RSC0 = RS.C0 | |
| 360 | local NKC0 = NK.C0 | |
| 361 | local LHC0 = LH.C0 | |
| 362 | local RHC0 = RH.C0 | |
| 363 | local RJC0 = RJ.C0 | |
| 364 | ||
| 365 | --// Artificial HB \\-- | |
| 366 | ||
| 367 | local ArtificialHB = IN("BindableEvent", script)
| |
| 368 | ArtificialHB.Name = "Heartbeat" | |
| 369 | ||
| 370 | script:WaitForChild("Heartbeat")
| |
| 371 | ||
| 372 | local tf = 0 | |
| 373 | local allowframeloss = false | |
| 374 | local tossremainder = false | |
| 375 | local lastframe = tick() | |
| 376 | local frame = 1/Frame_Speed | |
| 377 | ArtificialHB:Fire() | |
| 378 | ||
| 379 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 380 | tf = tf + s | |
| 381 | if tf >= frame then | |
| 382 | if allowframeloss then | |
| 383 | script.Heartbeat:Fire() | |
| 384 | lastframe = tick() | |
| 385 | else | |
| 386 | for i = 1, math.floor(tf / frame) do | |
| 387 | ArtificialHB:Fire() | |
| 388 | end | |
| 389 | lastframe = tick() | |
| 390 | end | |
| 391 | if tossremainder then | |
| 392 | tf = 0 | |
| 393 | else | |
| 394 | tf = tf - frame * math.floor(tf / frame) | |
| 395 | end | |
| 396 | end | |
| 397 | end) | |
| 398 | ||
| 399 | function swait(num) | |
| 400 | if num == 0 or num == nil then | |
| 401 | ArtificialHB.Event:wait() | |
| 402 | else | |
| 403 | for i = 0, num do | |
| 404 | ArtificialHB.Event:wait() | |
| 405 | end | |
| 406 | end | |
| 407 | end | |
| 408 | ||
| 409 | ||
| 410 | --// Effect Function(s) \\-- | |
| 411 | ||
| 412 | local blood = NewInstance("ParticleEmitter",nil,{
| |
| 413 | Color = ColorSequence.new(C3.N(.8,0,0)), | |
| 414 | LightEmission=.1, | |
| 415 | LightInfluence=1, | |
| 416 | ZOffset=.9, | |
| 417 | Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,3,0)},
| |
| 418 | Texture="rbxassetid://284205403", | |
| 419 | Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)},
| |
| 420 | Acceleration = V3.N(0,-15,0), | |
| 421 | Lifetime = NumberRange.new(1,2), | |
| 422 | Rate=50, | |
| 423 | Speed = NumberRange.new(5,15), | |
| 424 | SpreadAngle = Vector2.new(15,15), | |
| 425 | Enabled = false, | |
| 426 | EmissionDirection = 'Back', | |
| 427 | }) | |
| 428 | ||
| 429 | function Blood(prt,amount) | |
| 430 | local part = Instance.new("Part",Effects)
| |
| 431 | part.Transparency = 1 | |
| 432 | part.Size = prt.Size | |
| 433 | part.Anchored = true | |
| 434 | part.CanCollide = false | |
| 435 | part.CFrame = CF.N(prt.Position,Torso.Position) | |
| 436 | S.Debris:AddItem(part,5) | |
| 437 | local prtcl = blood:Clone() | |
| 438 | prtcl.Parent = part | |
| 439 | prtcl:Emit(amount) | |
| 440 | end | |
| 441 | ||
| 442 | function BloodDrop(pos,dir,maxsize) | |
| 443 | local owo = NewInstance("Part",Char,{Material=BloodMaterial,BrickColor=BloodColor,Shape=Enum.PartType.Ball,Size=V3.N(.25,.25,.25), CanCollide = false})
| |
| 444 | owo.CFrame=CF.N(pos,dir) | |
| 445 | local bv = Instance.new("BodyVelocity",owo)
| |
| 446 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 447 | bv.velocity = CF.N(pos,dir+V3.N(M.RNG(-3,3)/30,M.RNG(-3,3)/30,M.RNG(-3,3)/30)).lookVector*15 | |
| 448 | bv.Name = "MOVE" | |
| 449 | game:service'Debris':AddItem(bv,0.05) | |
| 450 | local touch | |
| 451 | touch = owo.Touched:connect(function(hit) | |
| 452 | if(hit.Anchored==true and hit.CanCollide and not hit.Parent:FindFirstChildOfClass'Humanoid' and not hit.Parent.Parent:FindFirstChildOfClass'Humanoid')then | |
| 453 | touch:disconnect() | |
| 454 | BloodPuddle(owo.Position+V3.N(0,1,0),3,maxsize,owo) | |
| 455 | owo:destroy() | |
| 456 | end | |
| 457 | end) | |
| 458 | end | |
| 459 | function BloodPuddle(position,range,maxSize,where) | |
| 460 | local hit, pos, norm = workspace:FindPartOnRayWithIgnoreList(Ray.new( | |
| 461 | position,CF.N(position,position+V3.N(0,-1,0)).lookVector * range | |
| 462 | ),{where,Char},false,true)
| |
| 463 | if(hit)then | |
| 464 | if(BloodPuddles[hit])then | |
| 465 | BloodPuddles[hit].Frame = 0 | |
| 466 | if(hit:FindFirstChild'CylinderMesh' and hit.CylinderMesh.Scale.Z < BloodPuddles[hit].MaxSize)then | |
| 467 | hit.CylinderMesh.Scale = hit.CylinderMesh.Scale + V3.N(.1,0,.1) | |
| 468 | end | |
| 469 | else | |
| 470 | local Puddle = NewInstance('Part',hit,{Material=BloodMaterial,BrickColor=BloodColor,Size=V3.N(1,.1,1),CFrame=CF.N(pos,pos+norm)*CF.A(90*M.P/180,0,0),Anchored=true,CanCollide=false,Archivable=false,Locked=true,Name='BloodPuddle'})
| |
| 471 | local Cyl = NewInstance('CylinderMesh',Puddle,{Name='CylinderMesh'})
| |
| 472 | BloodPuddles[Puddle] = {MaxSize=maxSize or 7,Frame=0}
| |
| 473 | end | |
| 474 | end | |
| 475 | end | |
| 476 | ||
| 477 | function Tween(obj,props,time,easing,direction,repeats,backwards) | |
| 478 | local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false) | |
| 479 | local tween = S.TweenService:Create(obj, info, props) | |
| 480 | ||
| 481 | tween:Play() | |
| 482 | end | |
| 483 | ||
| 484 | function Bezier(startpos, pos2, pos3, endpos, t) | |
| 485 | local A = startpos:lerp(pos2, t) | |
| 486 | local B = pos2:lerp(pos3, t) | |
| 487 | local C = pos3:lerp(endpos, t) | |
| 488 | local lerp1 = A:lerp(B, t) | |
| 489 | local lerp2 = B:lerp(C, t) | |
| 490 | local cubic = lerp1:lerp(lerp2, t) | |
| 491 | return cubic | |
| 492 | end | |
| 493 | ||
| 494 | function Effect(data) | |
| 495 | local FX = data.Effect or 'Resize-AndFade' | |
| 496 | local Parent = data.Parent or Effects | |
| 497 | local Color = data.Color or C3.N(0,0,0) | |
| 498 | local Size = data.Size or V3.N(1,1,1) | |
| 499 | local MoveDir = data.MoveDirection or nil | |
| 500 | local MeshData = data.Mesh or nil | |
| 501 | local SndData = data.Sound or nil | |
| 502 | local Frames = data.Frames or 45 | |
| 503 | local Manual = data.Manual or nil | |
| 504 | local Material = data.Material or nil | |
| 505 | local CFra = data.CFrame or Torso.CFrame | |
| 506 | local Settings = data.FXSettings or {}
| |
| 507 | local Snd,Prt,Msh; | |
| 508 | if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then | |
| 509 | Prt = Manual | |
| 510 | else | |
| 511 | Prt = Part(Parent,Color,Material,Size,CFra,true,false) | |
| 512 | end | |
| 513 | if(typeof(MeshData) == 'table')then | |
| 514 | Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset) | |
| 515 | elseif(typeof(MeshData) == 'Instance')then | |
| 516 | Msh = MeshData:Clone() | |
| 517 | Msh.Parent = Prt | |
| 518 | end | |
| 519 | if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then | |
| 520 | Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true) | |
| 521 | end | |
| 522 | if(Snd)then | |
| 523 | repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0 | |
| 524 | Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch | |
| 525 | end | |
| 526 | local MoveSpeed = nil; | |
| 527 | if(MoveDir)then | |
| 528 | MoveSpeed = (CFra.p - MoveDir).magnitude/Frames | |
| 529 | end | |
| 530 | local Inc = M.RNG()-M.RNG() | |
| 531 | local Thingie = 0 | |
| 532 | local Thingie2 = M.RNG(50,100)/100 | |
| 533 | ||
| 534 | coroutine.wrap(function() | |
| 535 | if(FX ~= 'Arc')then | |
| 536 | for i = 1, Frames do | |
| 537 | if(FX == 'Resize-AndFade')then | |
| 538 | if(not Settings.EndSize)then | |
| 539 | Settings.EndSize = V3.N(0,0,0) | |
| 540 | end | |
| 541 | local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize-Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize)) | |
| 542 | if(Settings.EndIsIncrement)then | |
| 543 | Prt.Size = Prt.Size - Settings.EndSize | |
| 544 | else | |
| 545 | Prt.Size = Prt.Size - grow/Frames | |
| 546 | end | |
| 547 | Prt.Transparency = (i/Frames) | |
| 548 | elseif(FX == 'Resize+AndFade')then | |
| 549 | if(not Settings.EndSize)then | |
| 550 | Settings.EndSize = Size*2 | |
| 551 | end | |
| 552 | local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize-Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize)) | |
| 553 | if(Settings.EndIsIncrement)then | |
| 554 | Prt.Size = Prt.Size + Settings.EndSize | |
| 555 | else | |
| 556 | Prt.Size = Prt.Size + grow/Frames | |
| 557 | end | |
| 558 | Prt.Transparency = (i/Frames) | |
| 559 | elseif(FX == 'Fade')then | |
| 560 | Prt.Transparency = (i/Frames) | |
| 561 | end | |
| 562 | if(Settings.RandomizeCFrame)then | |
| 563 | Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)) | |
| 564 | end | |
| 565 | if(MoveDir and MoveSpeed)then | |
| 566 | local Orientation = Prt.Orientation | |
| 567 | Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed) | |
| 568 | Prt.Orientation = Orientation | |
| 569 | end | |
| 570 | if(swait and typeof(swait) == 'function')then | |
| 571 | swait() | |
| 572 | else | |
| 573 | wait() | |
| 574 | end | |
| 575 | end | |
| 576 | Prt:destroy() | |
| 577 | else | |
| 578 | local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End | |
| 579 | if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end | |
| 580 | local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25)) | |
| 581 | local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25)) | |
| 582 | assert(start ~= nil,"You need to specify a start point!") | |
| 583 | assert(endP ~= nil,"You need to specify an end point!") | |
| 584 | for i = 0, 1, Settings.Speed or 0.01 do | |
| 585 | if(Settings.Home)then | |
| 586 | endP = Settings.Home.CFrame | |
| 587 | end | |
| 588 | Prt.CFrame = Bezier(start, quarter, threequarter, endP, i) | |
| 589 | if(swait and typeof(swait) == 'function')then | |
| 590 | swait() | |
| 591 | else | |
| 592 | wait() | |
| 593 | end | |
| 594 | end | |
| 595 | if(Settings.RemoveOnGoal)then | |
| 596 | Prt:destroy() | |
| 597 | end | |
| 598 | end | |
| 599 | end)() | |
| 600 | return Prt,Msh,Snd | |
| 601 | end | |
| 602 | ||
| 603 | ||
| 604 | function SoulSteal(whom) | |
| 605 | local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart') | |
| 606 | print(torso) | |
| 607 | if(torso and torso:IsA'BasePart')then | |
| 608 | local Model = Instance.new("Model",Effects)
| |
| 609 | Model.Name = whom.Name.."'s Soul" | |
| 610 | whom:BreakJoints() | |
| 611 | local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false) | |
| 612 | Soul.Name = 'Head' | |
| 613 | NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
| |
| 614 | Effect{
| |
| 615 | Effect="Arc", | |
| 616 | Manual = Soul, | |
| 617 | FXSettings={
| |
| 618 | Start=torso.CFrame, | |
| 619 | Home = Torso, | |
| 620 | RemoveOnGoal = true, | |
| 621 | } | |
| 622 | } | |
| 623 | local lastPoint = Soul.CFrame.p | |
| 624 | ||
| 625 | for i = 0, 1, 0.01 do | |
| 626 | local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0) | |
| 627 | local mag = (lastPoint - Soul.Position).magnitude | |
| 628 | Effect{
| |
| 629 | Effect = "Fade", | |
| 630 | CFrame = point * CF.N(0, mag/2, 0), | |
| 631 | Size = V3.N(.5,mag+.5,.5), | |
| 632 | Color = Soul.BrickColor | |
| 633 | } | |
| 634 | lastPoint = Soul.CFrame.p | |
| 635 | swait() | |
| 636 | end | |
| 637 | for i = 1, 5 do | |
| 638 | Effect{
| |
| 639 | Effect="Fade", | |
| 640 | Color = BrickColor.new'Really red', | |
| 641 | MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p | |
| 642 | } | |
| 643 | end | |
| 644 | end | |
| 645 | end | |
| 646 | ||
| 647 | --// Other Functions \\ -- | |
| 648 | ||
| 649 | function Ragdoll(who,half,glitching) | |
| 650 | who:breakJoints() | |
| 651 | pcall(function() | |
| 652 | who.HumanoidRootPart:destroy() | |
| 653 | end) | |
| 654 | local who = who | |
| 655 | local hhh = who:FindFirstChildOfClass'Humanoid' | |
| 656 | local t = GetTorso(who) | |
| 657 | if(hhh.RigType == Enum.HumanoidRigType.R6)then | |
| 658 | local RA,LA,RL,LL,HD = who:FindFirstChild'Right Arm',who:FindFirstChild'Left Arm',who:FindFirstChild'Right Leg',who:FindFirstChild'Left Leg',who:FindFirstChild'Head' | |
| 659 | local RAJ = NewInstance("Attachment",t,{Position=V3.N(1.5,.5,0),Orientation=V3.N()})
| |
| 660 | local RAJ2 = NewInstance("Attachment",RA,{Position=V3.N(0,.5,0),Orientation=V3.N()})
| |
| 661 | local LAJ = NewInstance("Attachment",t,{Position=V3.N(-1.5,.5,0),Orientation=V3.N()})
| |
| 662 | local LAJ2 = NewInstance("Attachment",LA,{Position=V3.N(0,.5,0),Orientation=V3.N()})
| |
| 663 | local NJ = NewInstance('Attachment',t,{Position=V3.N(0,1,0),Orientation=V3.N()})
| |
| 664 | local NJ2 = NewInstance('Attachment',HD,{Position=V3.N(0,-.5,0),Orientation=V3.N()})
| |
| 665 | local NJ3 = NewInstance('Attachment',HD,{Position=V3.N(0,.5,0),Orientation=V3.N()})
| |
| 666 | ||
| 667 | local RAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RAJ,Attachment1=RAJ2})
| |
| 668 | local LAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LAJ,Attachment1=LAJ2})
| |
| 669 | local HC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=45,Attachment0=NJ,Attachment1=NJ2})
| |
| 670 | ||
| 671 | local CollideRA = NewInstance('Part',who,{Size=RArm.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
| |
| 672 | local CollideLA = NewInstance('Part',who,{Size=LArm.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
| |
| 673 | local CollideHD = NewInstance('Part',who,{Size=HD.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
| |
| 674 | NewInstance('Weld',CollideRA,{Part0=RA,Part1=CollideRA})
| |
| 675 | NewInstance('Weld',CollideLA,{Part0=LA,Part1=CollideLA})
| |
| 676 | NewInstance('Weld',CollideHD,{Part0=HD,Part1=CollideHD})
| |
| 677 | ||
| 678 | if(not half)then | |
| 679 | local RLJ = NewInstance("Attachment",t,{Position=V3.N(.5,-1,0),Orientation=V3.N()})
| |
| 680 | local RLJ2 = NewInstance("Attachment",RL,{Position=V3.N(0,1,0),Orientation=V3.N()})
| |
| 681 | local LLJ = NewInstance("Attachment",t,{Position=V3.N(-.5,-1,0),Orientation=V3.N()})
| |
| 682 | local LLJ2 = NewInstance("Attachment",LL,{Position=V3.N(0,1,0),Orientation=V3.N()})
| |
| 683 | local RLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RLJ,Attachment1=RLJ2})
| |
| 684 | local LLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LLJ,Attachment1=LLJ2})
| |
| 685 | end | |
| 686 | if(glitching)then | |
| 687 | swait(120) | |
| 688 | local pow = 75 | |
| 689 | local FT,RA,LA,RL,LL = Instance.new("SpecialMesh",t),Instance.new("SpecialMesh",RA),Instance.new("SpecialMesh",LA),Instance.new("SpecialMesh",RL),Instance.new("SpecialMesh",LL)
| |
| 690 | FT.MeshId,FT.Scale = "rbxasset://fonts/torso.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize) | |
| 691 | RA.MeshId,RA.Scale = "rbxasset://fonts/rightarm.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize) | |
| 692 | LA.MeshId,LA.Scale = "rbxasset://fonts/leftarm.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize) | |
| 693 | RL.MeshId,RL.Scale = "rbxasset://fonts/rightleg.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize) | |
| 694 | LL.MeshId,LL.Scale = "rbxasset://fonts/leftleg.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize) | |
| 695 | for i = 0, 1, .1 do | |
| 696 | for _,v in next, who:GetDescendants() do | |
| 697 | if(v:IsA'DataModelMesh')then | |
| 698 | v.Offset = V3.N(M.RNG(-pow,pow)/100,M.RNG(-pow,pow)/100,M.RNG(-pow,pow)/100) | |
| 699 | elseif(v:IsA'BasePart')then | |
| 700 | v.Transparency = i | |
| 701 | end | |
| 702 | end | |
| 703 | swait() | |
| 704 | end | |
| 705 | who:destroy() | |
| 706 | end | |
| 707 | else | |
| 708 | if(glitching)then | |
| 709 | swait(120) | |
| 710 | for i = 0, 1, .1 do | |
| 711 | for _,v in next, hhh:children() do | |
| 712 | if(v:IsA'NumberValue')then | |
| 713 | v.Value = M.RNG(0,10) | |
| 714 | end | |
| 715 | end | |
| 716 | local pow = 75 | |
| 717 | for _,v in next, who:GetDescendants() do | |
| 718 | if(v:IsA'DataModelMesh')then | |
| 719 | v.Offset = V3.N(M.RNG(-pow,pow)/100,M.RNG(-pow,pow)/100,M.RNG(-pow,pow)/100) | |
| 720 | elseif(v:IsA'BasePart')then | |
| 721 | v.Transparency = i | |
| 722 | end | |
| 723 | end | |
| 724 | swait() | |
| 725 | end | |
| 726 | who:destroy() | |
| 727 | end | |
| 728 | -- TODO: R15 Ragdoll | |
| 729 | end | |
| 730 | end | |
| 731 | ||
| 732 | ||
| 733 | function getRegion(point,range,ignore) | |
| 734 | return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100) | |
| 735 | end | |
| 736 | ||
| 737 | function RandomChoice(table) | |
| 738 | return table[M.RNG(1,#table)] | |
| 739 | end | |
| 740 | ||
| 741 | function Chat(text) | |
| 742 | coroutine.wrap(function() | |
| 743 | if Char:FindFirstChild("TalkingBillBoard")~= nil then
| |
| 744 | Char:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 745 | end | |
| 746 | local oText = text; | |
| 747 | text = "" | |
| 748 | for i = 1, #oText do | |
| 749 | if(i%2 == 1)then | |
| 750 | text = text..oText:sub(i,i):upper() | |
| 751 | else | |
| 752 | text = text..oText:sub(i,i):lower() | |
| 753 | end | |
| 754 | end | |
| 755 | local Bill = Instance.new("BillboardGui",Char)
| |
| 756 | Bill.Size = UDim2.new(0,100,0,40) | |
| 757 | Bill.StudsOffset = Vector3.new(0,3,0) | |
| 758 | Bill.Adornee = Char.Head | |
| 759 | Bill.Name = "TalkingBillBoard" | |
| 760 | local Hehe = Instance.new("TextLabel",Bill)
| |
| 761 | - | ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "INSTANT", 1.5, C3.N(1,0,0)) |
| 761 | + | |
| 762 | Hehe.BorderSizePixel = 0 | |
| 763 | Hehe.Text = "" | |
| 764 | Hehe.Font = "Bodoni" | |
| 765 | Hehe.TextSize = 40 | |
| 766 | Hehe.TextStrokeTransparency = 0 | |
| 767 | Hehe.Size = UDim2.new(1,0,0.5,0) | |
| 768 | coroutine.resume(coroutine.create(function() | |
| 769 | while Hehe ~= nil do | |
| 770 | swait() | |
| 771 | Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
| 772 | Hehe.Rotation = M.RNG(-M.RNG(5,15),M.RNG(5,15)) | |
| 773 | local aa = math.random(0, 255)/255 | |
| 774 | local bb = math.random(0, 255)/255 | |
| 775 | Hehe.TextColor3 = C3.N(aa,aa,aa) | |
| 776 | Hehe.TextStrokeColor3 = C3.N(bb,bb,bb) | |
| 777 | end | |
| 778 | end)) | |
| 779 | for i = 1,string.len(text),1 do | |
| 780 | swait(5) | |
| 781 | Hehe.Text = string.sub(text,1,i) | |
| 782 | end | |
| 783 | swait(90) | |
| 784 | for i = 0, 1, .025 do | |
| 785 | swait() | |
| 786 | Hehe.TextStrokeTransparency = i | |
| 787 | Hehe.TextTransparency = i | |
| 788 | Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i)) | |
| 789 | end | |
| 790 | Bill:Destroy() | |
| 791 | end)() | |
| 792 | end | |
| 793 | ||
| 794 | ||
| 795 | function clerp(startCF,endCF,alpha) | |
| 796 | return startCF:lerp(endCF, alpha) | |
| 797 | end | |
| 798 | ||
| 799 | function GetTorso(char) | |
| 800 | return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart' | |
| 801 | end | |
| 802 | ||
| 803 | ||
| 804 | function ShowDamage(Pos, Text, Time, Color) | |
| 805 | coroutine.wrap(function() | |
| 806 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
| 807 | local Text = (Text or "") | |
| 808 | local Time = (Time or 2) | |
| 809 | local Color = (Color or Color3.new(1, 0, 1)) | |
| 810 | local EffectPart = NewInstance("Part",Effects,{
| |
| 811 | Material=Enum.Material.SmoothPlastic, | |
| 812 | Reflectance = 0, | |
| 813 | Transparency = 1, | |
| 814 | BrickColor = BrickColor.new(Color), | |
| 815 | Name = "Effect", | |
| 816 | Size = Vector3.new(0,0,0), | |
| 817 | Anchored = true | |
| 818 | }) | |
| 819 | local BillboardGui = NewInstance("BillboardGui",EffectPart,{
| |
| 820 | Size = UDim2.new(2, 0, 2, 0), | |
| 821 | Adornee = EffectPart, | |
| 822 | }) | |
| 823 | local TextLabel = NewInstance("TextLabel",BillboardGui,{
| |
| 824 | BackgroundTransparency = 1, | |
| 825 | Size = UDim2.new(1, 0, 1, 0), | |
| 826 | Text = Text, | |
| 827 | Font = "Arial", | |
| 828 | TextColor3 = Color, | |
| 829 | TextStrokeColor3 = Color3.new(0,0,0), | |
| 830 | TextStrokeTransparency=0, | |
| 831 | TextScaled = true, | |
| 832 | }) | |
| 833 | EffectPart.Parent = game:GetService("Workspace")
| |
| 834 | delay(0, function() | |
| 835 | local Frames = (Time / (1/Frame_Speed)) | |
| 836 | for Frame = 1, Frames do | |
| 837 | swait() | |
| 838 | local Percent = (Frame / Frames) | |
| 839 | EffectPart.CFrame = CF.N(Pos+ V3.N(0, Percent, 0)) * CF.A(0,0,M.RRNG(-90,90)) | |
| 840 | TextLabel.Rotation = M.RNG(-6,6) | |
| 841 | TextLabel.Position = UDim2.new(M.RNG(-1,1)/10,M.RNG(-1,1)/10,.05,M.RNG(-1,1)/10) | |
| 842 | end | |
| 843 | for i = 0, 1, .025 do | |
| 844 | swait() | |
| 845 | TextLabel.TextStrokeTransparency = i | |
| 846 | TextLabel.TextTransparency = i | |
| 847 | TextLabel.Position = UDim2.new(M.RNG(-15,15)/10,M.RNG(-15,15)/10,M.RNG(-15,15)/10,M.RNG(-15,15)/10) | |
| 848 | end | |
| 849 | if EffectPart and EffectPart.Parent then | |
| 850 | EffectPart:Destroy() | |
| 851 | end | |
| 852 | end) end)() | |
| 853 | end | |
| 854 | ||
| 855 | --[[if(not Plr:IsFriendsWith(5719877))then | |
| 856 | Char:BreakJoints() | |
| 857 | error("Not whitelisted. You have to be friends with Nebula.")
| |
| 858 | else | |
| 859 | warn("You're friends with Nebula, the creator of this script")
| |
| 860 | warn("Enjoy!")
| |
| 861 | end]] | |
| 862 | ||
| 863 | function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult) | |
| 864 | if(who)then | |
| 865 | local hum = who:FindFirstChildOfClass'Humanoid' | |
| 866 | local Damage = M.RNG(minDam,maxDam) | |
| 867 | local canHit = true | |
| 868 | if(hum)then | |
| 869 | for _, p in pairs(Hit) do | |
| 870 | if p[1] == hum then | |
| 871 | if(time() - p[2] < 0.1) then | |
| 872 | canHit = false | |
| 873 | else | |
| 874 | Hit[_] = nil | |
| 875 | end | |
| 876 | end | |
| 877 | end | |
| 878 | if(canHit)then | |
| 879 | if(hum.Health >= math.huge)then | |
| 880 | who:BreakJoints() | |
| 881 | if(who:FindFirstChild'Head' and hum.Health > 0)then | |
| 882 | ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "sadness..", 1.5, C3.N(0,0,1)) | |
| 883 | end | |
| 884 | else | |
| 885 | local player = S.Players:GetPlayerFromCharacter(who) | |
| 886 | if(Type == "Fire")then | |
| 887 | --idk.. | |
| 888 | else | |
| 889 | local c = Instance.new("ObjectValue",hum)
| |
| 890 | c.Name = "creator" | |
| 891 | c.Value = Plr | |
| 892 | game:service'Debris':AddItem(c,0.35) | |
| 893 | if(M.RNG(1,100) <= (critChance or 0))then | |
| 894 | if(who:FindFirstChild'Head' and hum.Health > 0)then | |
| 895 | ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "[CRIT] "..Damage*(critMult or 2), 1.5, BrickColor.new'New Yeller'.Color) | |
| 896 | end | |
| 897 | hum.Health = hum.Health - Damage*(critMult or 2) | |
| 898 | else | |
| 899 | if(who:FindFirstChild'Head' and hum.Health > 0)then | |
| 900 | ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), Damage, 1.5, DamageColor.Color) | |
| 901 | end | |
| 902 | hum.Health = hum.Health - Damage | |
| 903 | end | |
| 904 | if(Type == 'Knockback' and GetTorso(who))then | |
| 905 | local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit | |
| 906 | local body = NewInstance('BodyVelocity',GetTorso(who),{
| |
| 907 | P = 500, | |
| 908 | maxForce = V3.N(math.huge,0,math.huge), | |
| 909 | velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05 | |
| 910 | }) | |
| 911 | game:service'Debris':AddItem(body,.5) | |
| 912 | elseif(Type == 'Knockdown' and GetTorso(who))then | |
| 913 | local rek = GetTorso(who) | |
| 914 | print(rek) | |
| 915 | hum.PlatformStand = true | |
| 916 | delay(1,function() | |
| 917 | hum.PlatformStand = false | |
| 918 | end) | |
| 919 | local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit | |
| 920 | local bodvol = NewInstance("BodyVelocity",rek,{
| |
| 921 | velocity = angle * Knock, | |
| 922 | P = 5000, | |
| 923 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 924 | }) | |
| 925 | local rl = NewInstance("BodyAngularVelocity",rek,{
| |
| 926 | P = 3000, | |
| 927 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 928 | - | ShowDamage((V.Head.CFrame * CF.N(0, 0, (V.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "INSTANT", 1.5, C3.N(1,0,0)) |
| 928 | + | |
| 929 | }) | |
| 930 | game:GetService("Debris"):AddItem(bodvol, .5)
| |
| 931 | game:GetService("Debris"):AddItem(rl, .5)
| |
| 932 | end | |
| 933 | end | |
| 934 | end | |
| 935 | end | |
| 936 | table.insert(Hit,{hum,time()})
| |
| 937 | end | |
| 938 | end | |
| 939 | end | |
| 940 | ||
| 941 | function AOEDamage(where,range,minDam,maxDam,Knock,Type) | |
| 942 | for _,v in next, getRegion(where,range,{Char}) do
| |
| 943 | if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then | |
| 944 | DealDamage(v.Parent,minDam,maxDam,Knock,Type) | |
| 945 | end | |
| 946 | end | |
| 947 | end | |
| 948 | function AOEHeal(where,range,amount) | |
| 949 | local healed = {}
| |
| 950 | for _,v in next, getRegion(where,range,{Char}) do
| |
| 951 | local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil) | |
| 952 | if(hum and not healed[hum])then | |
| 953 | hum.Health = hum.Health + amount | |
| 954 | if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then | |
| 955 | ShowDamage((v.Parent.Head.CFrame * CF.N(0, 0, (v.Parent.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "+"..amount, 1.5, BrickColor.new'Lime green'.Color) | |
| 956 | end | |
| 957 | end | |
| 958 | end | |
| 959 | end | |
| 960 | ||
| 961 | --// Attack Functions \\-- | |
| 962 | ||
| 963 | function You_Cant_Hide() | |
| 964 | local target = Mouse.Target | |
| 965 | if(target and target.Parent and not Char:IsAncestorOf(target) and target.Parent:FindFirstChildOfClass'Humanoid')then | |
| 966 | if(Victim ~= target.Parent)then | |
| 967 | Victim = target.Parent; | |
| 968 | Target.Enabled = true | |
| 969 | Target.Adornee = GetTorso(Victim) | |
| 970 | TargetImg1.ImageTransparency = 1 | |
| 971 | TargetImg2.ImageTransparency = 1 | |
| 972 | TargetImg1.Size = UDim2.new(6,0,6,0) | |
| 973 | TargetImg2.Size = UDim2.new(6.4,0,6.4,0) | |
| 974 | Tween(TargetImg1,{ImageTransparency=0,Size=UDim2.new(1,0,1,0)},.5,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)
| |
| 975 | Tween(TargetImg2,{ImageTransparency=0,Size=UDim2.new(1.4,0,1.4,0)},.5,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)
| |
| 976 | end | |
| 977 | end | |
| 978 | end | |
| 979 | ||
| 980 | function Brutal_Overlord() | |
| 981 | if(Victim)then | |
| 982 | Attack = true | |
| 983 | NeutralAnims = false | |
| 984 | local hum = Victim:FindFirstChildOfClass'Humanoid' | |
| 985 | if(hum)then | |
| 986 | Hum.JumpPower = 0 | |
| 987 | hum.WalkSpeed = 0 | |
| 988 | hum.JumpPower = 0 | |
| 989 | hum.AutoRotate = false | |
| 990 | local tor,root = GetTorso(Victim),Victim:FindFirstChild'HumanoidRootPart' | |
| 991 | if(tor)then | |
| 992 | Root.CFrame = tor.CFrame * CF.N(0,0,2) | |
| 993 | local V = Victim | |
| 994 | V.Parent = Char | |
| 995 | for i = 0, 2, 0.1 do | |
| 996 | swait() | |
| 997 | local Alpha = .3 | |
| 998 | RJ.C0 = clerp(RJ.C0,CFrame.new(0.00184797007, 0.00629393011, 0.00175395911, 0.916352093, -0.00251661055, -0.400364727, 0, 0.99998033, -0.00628567068, 0.400372595, 0.0057598874, 0.916333973),Alpha) | |
| 999 | LH.C0 = clerp(LH.C0,CFrame.new(-0.565588713, -0.991164684, -0.032800708, 0.909990132, 0, 0.414630055, -0.00260622799, 0.99998033, 0.00571989827, -0.41462189, -0.00628567068, 0.909972131),Alpha) | |
| 1000 | RH.C0 = clerp(RH.C0,CFrame.new(0.562351584, -0.990811467, 0.0429569148, 0.909990132, 0, 0.414630055, -0.00260622799, 0.99998033, 0.00571989827, -0.41462189, -0.00628567068, 0.909972131),Alpha) | |
| 1001 | LS.C0 = clerp(LS.C0,CFrame.new(-1.479936, 0.442725629, -0.241928637, 0.997844577, 0.0469278991, -0.0458690971, -0.0638397709, 0.532425106, -0.844066501, -0.015188396, 0.845175505, 0.534273386),Alpha) | |
| 1002 | RS.C0 = clerp(RS.C0,CFrame.new(1.32794857, 0.365926802, 0.17400004, 0.584510565, -0.811339498, 0.00870320201, 0.447906405, 0.331590444, 0.830317855, -0.676555634, -0.481431335, 0.557222128),Alpha) | |
| 1003 | NK.C0 = clerp(NK.C0,CFrame.new(-0.00438193232, 1.49895084, -0.014841184, 0.916352212, -0.0230187047, 0.399710178, -0.00251696701, 0.997995079, 0.0632432774, -0.400364548, -0.0589591675, 0.914456904),Alpha) | |
| 1004 | end | |
| 1005 | for i = 0, 1, 0.1 do | |
| 1006 | swait() | |
| 1007 | local Alpha = .2 | |
| 1008 | RJ.C0 = clerp(RJ.C0,CFrame.new(0.0928741172, 0.00629402744, 0.0566893518, 0.948310614, 0.00199300773, 0.317336231, 0, 0.99998033, -0.00628030393, -0.31734252, 0.00595567934, 0.948291838),Alpha) | |
| 1009 | LH.C0 = clerp(LH.C0,CFrame.new(-0.645890057, -0.990359426, 0.0953748077, 0.953149736, 0, -0.302498937, 0.00189978536, 0.99998033, 0.00598607073, 0.302492946, -0.00628030393, 0.953130901),Alpha) | |
| 1010 | RH.C0 = clerp(RH.C0,CFrame.new(0.44459179, -0.991404057, -0.0513649136, 0.953149736, 0, -0.302498937, 0.00189978536, 0.99998033, 0.00598607073, 0.302492946, -0.00628030393, 0.953130901),Alpha) | |
| 1011 | LS.C0 = clerp(LS.C0,CFrame.new(-1.47928679, 0.367728233, 0.116084039, 0.997845054, 0.0248440802, 0.0607300103, -0.0638346076, 0.581721425, 0.810879469, -0.0151824057, -0.813008547, 0.582053781),Alpha) | |
| 1012 | RS.C0 = clerp(RS.C0,CFrame.new(1.48636484, 0.465858519, -0.373306572, -0.95769608, 0.284951091, -0.0402629375, -0.130770594, -0.306276649, 0.942917705, 0.256353855, 0.908293724, 0.330583185),Alpha) | |
| 1013 | NK.C0 = clerp(NK.C0,CFrame.new(-0.068510659, 1.4984324, -0.0973624364, 0.948310554, 0.0182456542, -0.316817731, 0.00199265103, 0.997983873, 0.0634387434, 0.31733641, -0.0607909337, 0.946362138),Alpha) | |
| 1014 | end | |
| 1015 | if(root)then root.Parent = nil end | |
| 1016 | local gWeld = NewInstance("Weld",Char,{Part0=RArm,Part1=tor,C0=CF.N(0,-1.15,0)*CF.A(M.R(90),0,M.R(180))})
| |
| 1017 | swait(60) | |
| 1018 | local plr = S.Players:GetPlayerFromCharacter(V) | |
| 1019 | local Dialogues = IsWhitelisted((plr and plr.UserId or 0),V.Name) | |
| 1020 | for i = 0, 1, 0.1 do | |
| 1021 | swait() | |
| 1022 | local Alpha = .3 | |
| 1023 | RJ.C0 = clerp(RJ.C0,CFrame.new(3.20394752e-13, 0.00629078969, 1.39809708e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha) | |
| 1024 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819752, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha) | |
| 1025 | RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990984261, 0.0154614868, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha) | |
| 1026 | LS.C0 = clerp(LS.C0,CFrame.new(-1.29056597, 0.680865526, -0.0074476786, -0.953151584, -0.302089065, 0.0156119959, 0.302213609, -0.953219652, 0.0062854127, 0.0129829049, 0.0107091125, 0.999858022),Alpha) | |
| 1027 | RS.C0 = clerp(RS.C0,CFrame.new(1.26373434, 0.722399652, 0.00951428805, -0.951173186, 0.308261454, 0.0156119959, -0.308199704, -0.951300979, 0.0062854127, 0.0167892575, 0.0011669076, 0.999858022),Alpha) | |
| 1028 | NK.C0 = clerp(NK.C0,CFrame.new(-1.17865966e-07, 1.4989531, -0.0143954754, 0.999999642, 2.11689621e-05, 1.13360584e-05, -1.50896085e-07, 0.477647185, -0.878551781, -2.40113586e-05, 0.878551543, 0.477646947),Alpha) | |
| 1029 | end | |
| 1030 | gWeld:destroy() | |
| 1031 | local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=tor,C0=CF.N(0,2.35,0)*CF.A(M.R(90),0,M.R(90))})
| |
| 1032 | for i = 0, 6, 0.1 do | |
| 1033 | swait() | |
| 1034 | local Alpha = .3 | |
| 1035 | RJ.C0 = clerp(RJ.C0,CFrame.new(3.20394752e-13, 0.00629078969, 1.39809708e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha) | |
| 1036 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819752, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha) | |
| 1037 | RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990984261, 0.0154614868, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha) | |
| 1038 | LS.C0 = clerp(LS.C0,CFrame.new(-1.29056597, 0.680865526, -0.0074476786, -0.953151584, -0.302089065, 0.0156119959, 0.302213609, -0.953219652, 0.0062854127, 0.0129829049, 0.0107091125, 0.999858022),Alpha) | |
| 1039 | RS.C0 = clerp(RS.C0,CFrame.new(1.26373434, 0.722399652, 0.00951428805, -0.951173186, 0.308261454, 0.0156119959, -0.308199704, -0.951300979, 0.0062854127, 0.0167892575, 0.0011669076, 0.999858022),Alpha) | |
| 1040 | NK.C0 = clerp(NK.C0,CFrame.new(-1.17865966e-07, 1.4989531, -0.0143954754, 0.999999642, 2.11689621e-05, 1.13360584e-05, -1.50896085e-07, 0.477647185, -0.878551781, -2.40113586e-05, 0.878551543, 0.477646947),Alpha) | |
| 1041 | end | |
| 1042 | if(not Dialogues)then | |
| 1043 | Blood(tor,250) | |
| 1044 | for i = 1, 25 do | |
| 1045 | BloodDrop(tor.Position,(tor.CFrame * CF.N(0,0,25)).p + V3.N(M.RNG(-5,5),M.RNG(-5,5),M.RNG(-5,5)),15) | |
| 1046 | end | |
| 1047 | Ragdoll(V,true) | |
| 1048 | if(V:FindFirstChild'Head')then | |
| 1049 | ShowDamage((V.Head.CFrame * CF.N(0, 0, (V.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "depression..", 1.5, C3.N(0,0,1)) | |
| 1050 | end | |
| 1051 | coroutine.wrap(function() | |
| 1052 | repeat swait() hum.Health = hum.Health - .5 until not hum or not hum.Parent or not hum.Parent.Parent or hum.Health == 0 | |
| 1053 | end)() | |
| 1054 | gWeld:destroy() | |
| 1055 | local s = Sound(tor,429400881,1,1,false,false,false) | |
| 1056 | s:Play() | |
| 1057 | s.Ended:connect(function() s:Destroy() end) | |
| 1058 | for i = 0, 1, 0.1 do | |
| 1059 | swait() | |
| 1060 | local Alpha = .3 | |
| 1061 | RJ.C0 = clerp(RJ.C0,CFrame.new(3.20394752e-13, 0.00629078969, 1.39809708e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha) | |
| 1062 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819752, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha) | |
| 1063 | RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990984261, 0.0154614868, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha) | |
| 1064 | LS.C0 = clerp(LS.C0,CFrame.new(-1.19203663, 0.569933176, 0.0160028264, -0.81626749, 0.577462554, 0.0156119959, -0.577441692, -0.816407859, 0.0062854127, 0.016375348, -0.0038844361, 0.999858022),Alpha) | |
| 1065 | RS.C0 = clerp(RS.C0,CFrame.new(1.22609437, 0.679628015, 0.010370885, -0.77247268, -0.634855568, 0.0156119959, 0.634996474, -0.772489607, 0.0062854127, 0.00806977227, 0.0147688743, 0.999858022),Alpha) | |
| 1066 | NK.C0 = clerp(NK.C0,CFrame.new(-1.17865966e-07, 1.4989531, -0.0143954754, 0.999999642, 2.11689621e-05, 1.13360584e-05, -1.50896085e-07, 0.477647185, -0.878551781, -2.40113586e-05, 0.878551543, 0.477646947),Alpha) | |
| 1067 | end | |
| 1068 | - | ShowDamage((V.Head.CFrame * CF.N(0, 0, (V.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "INSTANT", 1.5, C3.N(1,0,0)) |
| 1068 | + | |
| 1069 | swait() | |
| 1070 | local Alpha = .3 | |
| 1071 | RJ.C0 = clerp(RJ.C0,CFrame.new(3.20394752e-13, 0.00629078969, 1.39809708e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1072 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819752, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1073 | RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990984261, 0.0154614868, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1074 | LS.C0 = clerp(LS.C0,CFrame.new(-1.19203663, 0.569933176, 0.0160028264, -0.81626749, 0.577462554, 0.0156119959, -0.577441692, -0.816407859, 0.0062854127, 0.016375348, -0.0038844361, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1075 | RS.C0 = clerp(RS.C0,CFrame.new(1.22609437, 0.679628015, 0.010370885, -0.77247268, -0.634855568, 0.0156119959, 0.634996474, -0.772489607, 0.0062854127, 0.00806977227, 0.0147688743, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1076 | NK.C0 = clerp(NK.C0,CFrame.new(-1.17865966e-07, 1.4989531, -0.0143954754, 0.999999642, 2.11689621e-05, 1.13360584e-05, -1.50896085e-07, 0.477647185, -0.878551781, -2.40113586e-05, 0.878551543, 0.477646947)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1077 | end | |
| 1078 | V.Parent = workspace | |
| 1079 | else | |
| 1080 | V.Parent = workspace | |
| 1081 | hum.WalkSpeed = 16 | |
| 1082 | hum.JumpPower = 50 | |
| 1083 | hum.AutoRotate = true | |
| 1084 | if(root)then root.Parent = V end | |
| 1085 | Chat(RandomChoice(Dialogues)) | |
| 1086 | gWeld:destroy() | |
| 1087 | end | |
| 1088 | end | |
| 1089 | end | |
| 1090 | Attack = false | |
| 1091 | NeutralAnims = true | |
| 1092 | Hum.JumpPower = 50 | |
| 1093 | end | |
| 1094 | end | |
| 1095 | ||
| 1096 | function F_Is_For_Friends() | |
| 1097 | if(Victim)then | |
| 1098 | Attack = true | |
| 1099 | NeutralAnims = false | |
| 1100 | Root.Anchored = true | |
| 1101 | Hum.WalkSpeed = 0 | |
| 1102 | Hum.JumpPower = 0 | |
| 1103 | Hum.AutoRotate = false | |
| 1104 | local hum = Victim:FindFirstChildOfClass'Humanoid' | |
| 1105 | if(hum)then | |
| 1106 | hum.WalkSpeed = 0 | |
| 1107 | hum.JumpPower = 0 | |
| 1108 | hum.AutoRotate = false | |
| 1109 | local tor,root = GetTorso(Victim),Victim:FindFirstChild'HumanoidRootPart' | |
| 1110 | if(tor)then | |
| 1111 | local plr = S.Players:GetPlayerFromCharacter(Victim) | |
| 1112 | Victim.Parent = Char | |
| 1113 | local V = Victim | |
| 1114 | Root.CFrame = tor.CFrame * CF.N(0,0,2) | |
| 1115 | for i = 0, 2, 0.1 do | |
| 1116 | swait() | |
| 1117 | local Alpha = .3 | |
| 1118 | RJ.C0 = clerp(RJ.C0,CFrame.new(0.00184797007, 0.00629393011, 0.00175395911, 0.916352093, -0.00251661055, -0.400364727, 0, 0.99998033, -0.00628567068, 0.400372595, 0.0057598874, 0.916333973),Alpha) | |
| 1119 | LH.C0 = clerp(LH.C0,CFrame.new(-0.565588713, -0.991164684, -0.032800708, 0.909990132, 0, 0.414630055, -0.00260622799, 0.99998033, 0.00571989827, -0.41462189, -0.00628567068, 0.909972131),Alpha) | |
| 1120 | RH.C0 = clerp(RH.C0,CFrame.new(0.562351584, -0.990811467, 0.0429569148, 0.909990132, 0, 0.414630055, -0.00260622799, 0.99998033, 0.00571989827, -0.41462189, -0.00628567068, 0.909972131),Alpha) | |
| 1121 | LS.C0 = clerp(LS.C0,CFrame.new(-1.479936, 0.442725629, -0.241928637, 0.997844577, 0.0469278991, -0.0458690971, -0.0638397709, 0.532425106, -0.844066501, -0.015188396, 0.845175505, 0.534273386),Alpha) | |
| 1122 | RS.C0 = clerp(RS.C0,CFrame.new(1.32794857, 0.365926802, 0.17400004, 0.584510565, -0.811339498, 0.00870320201, 0.447906405, 0.331590444, 0.830317855, -0.676555634, -0.481431335, 0.557222128),Alpha) | |
| 1123 | NK.C0 = clerp(NK.C0,CFrame.new(-0.00438193232, 1.49895084, -0.014841184, 0.916352212, -0.0230187047, 0.399710178, -0.00251696701, 0.997995079, 0.0632432774, -0.400364548, -0.0589591675, 0.914456904),Alpha) | |
| 1124 | end | |
| 1125 | if(not IsWhitelisted((plr and plr.UserId or 0),Victim.Name))then | |
| 1126 | for i = 0, 1, 0.1 do | |
| 1127 | swait() | |
| 1128 | local Alpha = .2 | |
| 1129 | RJ.C0 = clerp(RJ.C0,CFrame.new(0.0928741172, 0.00629402744, 0.0566893518, 0.948310614, 0.00199300773, 0.317336231, 0, 0.99998033, -0.00628030393, -0.31734252, 0.00595567934, 0.948291838),Alpha) | |
| 1130 | LH.C0 = clerp(LH.C0,CFrame.new(-0.645890057, -0.990359426, 0.0953748077, 0.953149736, 0, -0.302498937, 0.00189978536, 0.99998033, 0.00598607073, 0.302492946, -0.00628030393, 0.953130901),Alpha) | |
| 1131 | RH.C0 = clerp(RH.C0,CFrame.new(0.44459179, -0.991404057, -0.0513649136, 0.953149736, 0, -0.302498937, 0.00189978536, 0.99998033, 0.00598607073, 0.302492946, -0.00628030393, 0.953130901),Alpha) | |
| 1132 | LS.C0 = clerp(LS.C0,CFrame.new(-1.47928679, 0.367728233, 0.116084039, 0.997845054, 0.0248440802, 0.0607300103, -0.0638346076, 0.581721425, 0.810879469, -0.0151824057, -0.813008547, 0.582053781),Alpha) | |
| 1133 | RS.C0 = clerp(RS.C0,CFrame.new(1.48636484, 0.465858519, -0.373306572, -0.95769608, 0.284951091, -0.0402629375, -0.130770594, -0.306276649, 0.942917705, 0.256353855, 0.908293724, 0.330583185),Alpha) | |
| 1134 | NK.C0 = clerp(NK.C0,CFrame.new(-0.068510659, 1.4984324, -0.0973624364, 0.948310554, 0.0182456542, -0.316817731, 0.00199265103, 0.997983873, 0.0634387434, 0.31733641, -0.0607909337, 0.946362138),Alpha) | |
| 1135 | end | |
| 1136 | if(root)then root:destroy() end | |
| 1137 | local gWeld = NewInstance("Weld",Char,{Part0=RArm,Part1=tor,C0=CF.N(0,-1.15,0)*CF.A(M.R(90),0,M.R(180))})
| |
| 1138 | for i = 0, 1.5, 0.1 do | |
| 1139 | swait() | |
| 1140 | local Alpha = .2 | |
| 1141 | RJ.C0 = clerp(RJ.C0,CFrame.new(0.0928741172, 0.00629402744, 0.0566893518, 0.948310614, 0.00199300773, 0.317336231, 0, 0.99998033, -0.00628030393, -0.31734252, 0.00595567934, 0.948291838),Alpha) | |
| 1142 | LH.C0 = clerp(LH.C0,CFrame.new(-0.645890057, -0.990359426, 0.0953748077, 0.953149736, 0, -0.302498937, 0.00189978536, 0.99998033, 0.00598607073, 0.302492946, -0.00628030393, 0.953130901),Alpha) | |
| 1143 | RH.C0 = clerp(RH.C0,CFrame.new(0.44459179, -0.991404057, -0.0513649136, 0.953149736, 0, -0.302498937, 0.00189978536, 0.99998033, 0.00598607073, 0.302492946, -0.00628030393, 0.953130901),Alpha) | |
| 1144 | LS.C0 = clerp(LS.C0,CFrame.new(-1.47928679, 0.367728233, 0.116084039, 0.997845054, 0.0248440802, 0.0607300103, -0.0638346076, 0.581721425, 0.810879469, -0.0151824057, -0.813008547, 0.582053781),Alpha) | |
| 1145 | RS.C0 = clerp(RS.C0,CFrame.new(1.48636484, 0.465858519, -0.373306572, -0.95769608, 0.284951091, -0.0402629375, -0.130770594, -0.306276649, 0.942917705, 0.256353855, 0.908293724, 0.330583185),Alpha) | |
| 1146 | NK.C0 = clerp(NK.C0,CFrame.new(-0.068510659, 1.4984324, -0.0973624364, 0.948310554, 0.0182456542, -0.316817731, 0.00199265103, 0.997983873, 0.0634387434, 0.31733641, -0.0607909337, 0.946362138),Alpha) | |
| 1147 | end | |
| 1148 | for i = 0, 1.5, 0.1 do | |
| 1149 | swait() | |
| 1150 | local Alpha = .2 | |
| 1151 | RJ.C0 = clerp(RJ.C0,CFrame.new(0.00625591865, 0.0813473165, 0.400900364, 0.999966562, 0.00783777051, -0.00216883142, -0.00785200112, 0.86111331, -0.508352578, -0.00211674068, 0.508352578, 0.861145973),Alpha) | |
| 1152 | LH.C0 = clerp(LH.C0,CFrame.new(-0.493550777, -1.11785793, 0.210999548, 0.999878109, -0.00785200112, 0.0134950019, -9.95867158e-05, 0.86111331, 0.508413196, -0.0156127857, -0.508352578, 0.861007512),Alpha) | |
| 1153 | RH.C0 = clerp(RH.C0,CFrame.new(0.501458287, -1.11329269, 0.203607619, 0.999878109, -0.00785200112, 0.0134950019, -9.95867158e-05, 0.86111331, 0.508413196, -0.0156127857, -0.508352578, 0.861007512),Alpha) | |
| 1154 | LS.C0 = clerp(LS.C0,CFrame.new(-1.42722964, 0.501024425, -0.00418075919, 0.987981081, 0.153783977, 0.0156133743, -0.15389666, 0.988066971, 0.00628429651, -0.0144606289, -0.008611653, 0.999858499),Alpha) | |
| 1155 | RS.C0 = clerp(RS.C0,CFrame.new(1.49951315, 0.533271909, 0.122298151, 0.999878109, -0.0090814922, -0.0127002187, -9.95867158e-05, -0.817126393, 0.576458812, -0.0156127857, -0.576387286, -0.817027688),Alpha) | |
| 1156 | NK.C0 = clerp(NK.C0,CFrame.new(7.63008302e-06, 1.49894154, -0.0144001842, 1, 6.98491931e-10, 9.31322575e-10, -3.63797881e-10, 0.973997772, -0.226557806, 0, 0.226557702, 0.973997891),Alpha) | |
| 1157 | end | |
| 1158 | for i = 0, 1, 0.1 do | |
| 1159 | swait() | |
| 1160 | local Alpha = .3 | |
| 1161 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0187514834, -0.79457438, -1.20069253, 0.999795973, -0.0154833021, -0.0129478984, 0.0153970039, 0.17028904, 0.985273898, -0.0130504072, -0.985272229, 0.170492694),Alpha) | |
| 1162 | LH.C0 = clerp(LH.C0,CFrame.new(-0.501449645, -0.610708058, -0.298194289, 0.999878228, 0.0124785267, 0.0093758991, -9.93862486e-05, 0.605774939, -0.795636177, -0.0156080509, 0.795538306, 0.6057024),Alpha) | |
| 1163 | RH.C0 = clerp(RH.C0,CFrame.new(0.493200511, -0.598516285, -0.328632295, 0.999878228, 0.012479268, 0.00937492307, -9.9343175e-05, 0.605710208, -0.79568541, -0.0156080583, 0.79558748, 0.60563767),Alpha) | |
| 1164 | LS.C0 = clerp(LS.C0,CFrame.new(-1.45762277, 0.217138797, 0.937710166, 0.987961769, -0.0680040792, -0.13894996, -0.154015318, -0.516705632, -0.842196465, -0.0145234168, 0.853458226, -0.52095896),Alpha) | |
| 1165 | RS.C0 = clerp(RS.C0,CFrame.new(1.17450583, 0.446741909, -0.635936022, 0.971768141, 0.23593688, 0.000732728047, -0.0119010834, 0.0521189161, -0.998570144, -0.235637665, 0.970369816, 0.0534554198),Alpha) | |
| 1166 | NK.C0 = clerp(NK.C0,CFrame.new(7.62972468e-06, 1.49894738, -0.0143931806, 1.00000012, 0, -9.31322575e-10, 6.54836185e-11, 0.973998249, -0.226556346, -9.31322575e-10, 0.226556271, 0.973998129),Alpha) | |
| 1167 | end | |
| 1168 | gWeld:destroy() | |
| 1169 | tor.CFrame = Root.CFrame*CF.A(M.R(90),0,M.R(180))*CF.N(0,1.5,2.5) | |
| 1170 | tor.Anchored = true | |
| 1171 | for i = 0, 1.5, 0.1 do | |
| 1172 | swait() | |
| 1173 | local Alpha = .3 | |
| 1174 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0187514834, -0.79457438, -1.20069253, 0.999795973, -0.0154833021, -0.0129478984, 0.0153970039, 0.17028904, 0.985273898, -0.0130504072, -0.985272229, 0.170492694),Alpha) | |
| 1175 | LH.C0 = clerp(LH.C0,CFrame.new(-0.501449645, -0.610708058, -0.298194289, 0.999878228, 0.0124785267, 0.0093758991, -9.93862486e-05, 0.605774939, -0.795636177, -0.0156080509, 0.795538306, 0.6057024),Alpha) | |
| 1176 | RH.C0 = clerp(RH.C0,CFrame.new(0.493200511, -0.598516285, -0.328632295, 0.999878228, 0.012479268, 0.00937492307, -9.9343175e-05, 0.605710208, -0.79568541, -0.0156080583, 0.79558748, 0.60563767),Alpha) | |
| 1177 | LS.C0 = clerp(LS.C0,CFrame.new(-1.45762277, 0.217138797, 0.937710166, 0.987961769, -0.0680040792, -0.13894996, -0.154015318, -0.516705632, -0.842196465, -0.0145234168, 0.853458226, -0.52095896),Alpha) | |
| 1178 | RS.C0 = clerp(RS.C0,CFrame.new(1.17450583, 0.446741909, -0.635936022, 0.971768141, 0.23593688, 0.000732728047, -0.0119010834, 0.0521189161, -0.998570144, -0.235637665, 0.970369816, 0.0534554198),Alpha) | |
| 1179 | NK.C0 = clerp(NK.C0,CFrame.new(7.62972468e-06, 1.49894738, -0.0143931806, 1.00000012, 0, -9.31322575e-10, 6.54836185e-11, 0.973998249, -0.226556346, -9.31322575e-10, 0.226556271, 0.973998129),Alpha) | |
| 1180 | end | |
| 1181 | Ragdoll(V) | |
| 1182 | if(V:FindFirstChild'Head')then | |
| 1183 | local s = Sound(tor,429400881,1,1,false,false,false) | |
| 1184 | s:Play() | |
| 1185 | s.Ended:connect(function() s:Destroy() end) | |
| 1186 | for i = 1, 15 do | |
| 1187 | BloodPuddle(V.Head.Position + V3.N(0,1,0) + V3.N(M.RNG(-75,75)/100,M.RNG(-75,75)/100,M.RNG(-75,75)/100),5,15,V) | |
| 1188 | end | |
| 1189 | ShowDamage((V.Head.CFrame * CF.N(0, 0, (V.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "sad...", 1.5, C3.N(0,0,1)) | |
| 1190 | V.Head:destroy() | |
| 1191 | end | |
| 1192 | V.Parent = workspace | |
| 1193 | for i = 0, 1, 0.1 do | |
| 1194 | swait() | |
| 1195 | local Alpha = .5 | |
| 1196 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0187514834, -0.79457438, -1.20069253, 0.999795973, -0.0154833021, -0.0129478984, 0.0153970039, 0.17028904, 0.985273898, -0.0130504072, -0.985272229, 0.170492694),Alpha) | |
| 1197 | LH.C0 = clerp(LH.C0,CFrame.new(-0.501449645, -0.610708058, -0.298194289, 0.999878228, 0.0124785267, 0.0093758991, -9.93862486e-05, 0.605774939, -0.795636177, -0.0156080509, 0.795538306, 0.6057024),Alpha) | |
| 1198 | RH.C0 = clerp(RH.C0,CFrame.new(0.493200511, -0.598516285, -0.328632295, 0.999878228, 0.012479268, 0.00937492307, -9.9343175e-05, 0.605710208, -0.79568541, -0.0156080583, 0.79558748, 0.60563767),Alpha) | |
| 1199 | LS.C0 = clerp(LS.C0,CFrame.new(-0.891352475, 1.30320811, -0.969099402, 0.885748208, -0.442882746, -0.138943374, -0.340959162, -0.417689204, -0.842189372, 0.31495595, 0.793341637, -0.520972252),Alpha) | |
| 1200 | RS.C0 = clerp(RS.C0,CFrame.new(1.17450583, 0.446741909, -0.635936022, 0.971768141, 0.23593688, 0.000732728047, -0.0119010834, 0.0521189161, -0.998570144, -0.235637665, 0.970369816, 0.0534554198),Alpha) | |
| 1201 | NK.C0 = clerp(NK.C0,CFrame.new(7.62972468e-06, 1.49894738, -0.0143931806, 1.00000012, 0, -9.31322575e-10, 6.54836185e-11, 0.973998249, -0.226556346, -9.31322575e-10, 0.226556271, 0.973998129),Alpha) | |
| 1202 | end | |
| 1203 | tor.Anchored = false | |
| 1204 | else | |
| 1205 | swait(30) | |
| 1206 | V.Parent = workspace | |
| 1207 | hum.WalkSpeed = 16 | |
| 1208 | hum.JumpPower = 50 | |
| 1209 | hum.AutoRotate = true | |
| 1210 | local dialogue = IsWhitelisted((plr and plr.UserId or 0),V.Name) | |
| 1211 | Chat(dialogue[M.RNG(1,#dialogue)]) | |
| 1212 | end | |
| 1213 | end | |
| 1214 | end | |
| 1215 | Hum.WalkSpeed = 8 | |
| 1216 | Hum.JumpPower = 50 | |
| 1217 | Hum.AutoRotate = true | |
| 1218 | Root.Anchored = false | |
| 1219 | Attack = false | |
| 1220 | NeutralAnims = true | |
| 1221 | end | |
| 1222 | end | |
| 1223 | ||
| 1224 | function Tear_My_Life_Into_Taunts() | |
| 1225 | Attack = true | |
| 1226 | NeutralAnims = false | |
| 1227 | for i = 0, 8, 0.1 do | |
| 1228 | swait() | |
| 1229 | local Alpha = .3 | |
| 1230 | RJ.C0 = clerp(RJ.C0,CFrame.new(3.20698329e-13, 0.00629675016, 1.43556463e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1231 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990822613, 0.0216114447, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1232 | RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990987241, 0.0154613862, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1233 | LS.C0 = clerp(LS.C0,CFrame.new(-1.4130398, 0.471796542, 0.436438888, 0.849095166, -0.528082132, -0.0128858006, -0.440307319, -0.694065511, -0.569563627, 0.291832745, 0.489287376, -0.821846128)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1234 | RS.C0 = clerp(RS.C0,CFrame.new(1.40943193, 0.493523985, 0.387199104, 0.835501969, 0.547668338, -0.0446685776, 0.420134097, -0.689098537, -0.590449631, -0.354151636, 0.474555045, -0.805837154)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1235 | NK.C0 = clerp(NK.C0,CFrame.new(5.36867731e-07, 1.49895, -0.0144043043, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1236 | end | |
| 1237 | for i = 0, 6, 0.1 do | |
| 1238 | swait() | |
| 1239 | local Alpha = .3 | |
| 1240 | RJ.C0 = clerp(RJ.C0,CFrame.new(3.20698329e-13, 0.00629675016, 1.43556463e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1241 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990822613, 0.0216114447, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1242 | RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990987241, 0.0154613862, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1243 | LS.C0 = clerp(LS.C0,CFrame.new(-1.23893571, 1.10698521, -0.259219378, 0.91258198, -0.374027461, 0.165217906, -0.313840568, -0.899720669, -0.303326517, 0.262102395, 0.224958256, -0.938453794)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1244 | RS.C0 = clerp(RS.C0,CFrame.new(1.34101844, 0.980774999, 0.079483822, 0.969134748, 0.232594684, 0.0817119107, 0.245576948, -0.939937592, -0.237085104, 0.0216593593, 0.249834001, -0.968046069)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1245 | NK.C0 = clerp(NK.C0,CFrame.new(8.18966896e-07, 2.2650795, -0.0633551627, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1246 | end | |
| 1247 | for i = 0, 8, 0.1 do | |
| 1248 | swait() | |
| 1249 | local Alpha = .3 | |
| 1250 | RJ.C0 = clerp(RJ.C0,CFrame.new(3.20698329e-13, 0.00629675016, 1.43556463e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1251 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990822613, 0.0216114447, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1252 | RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990987241, 0.0154613862, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1253 | LS.C0 = clerp(LS.C0,CFrame.new(-1.4130398, 0.471796542, 0.436438888, 0.849095166, -0.528082132, -0.0128858006, -0.440307319, -0.694065511, -0.569563627, 0.291832745, 0.489287376, -0.821846128)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1254 | RS.C0 = clerp(RS.C0,CFrame.new(1.40943193, 0.493523985, 0.387199104, 0.835501969, 0.547668338, -0.0446685776, 0.420134097, -0.689098537, -0.590449631, -0.354151636, 0.474555045, -0.805837154)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1255 | NK.C0 = clerp(NK.C0,CFrame.new(5.36867731e-07, 1.49895, -0.0144043043, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1256 | end | |
| 1257 | Attack = false | |
| 1258 | NeutralAnims = true | |
| 1259 | end | |
| 1260 | ||
| 1261 | ||
| 1262 | function Tear_My_Life_Into_Pieces() | |
| 1263 | Attack = true | |
| 1264 | NeutralAnims = false | |
| 1265 | for i = 0, 8, 0.1 do | |
| 1266 | swait() | |
| 1267 | local Alpha = .3 | |
| 1268 | RJ.C0 = clerp(RJ.C0,CFrame.new(3.20698329e-13, 0.00629675016, 1.43556463e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1269 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990822613, 0.0216114447, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1270 | RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990987241, 0.0154613862, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1271 | LS.C0 = clerp(LS.C0,CFrame.new(-1.4130398, 0.471796542, 0.436438888, 0.849095166, -0.528082132, -0.0128858006, -0.440307319, -0.694065511, -0.569563627, 0.291832745, 0.489287376, -0.821846128)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1272 | RS.C0 = clerp(RS.C0,CFrame.new(1.40943193, 0.493523985, 0.387199104, 0.835501969, 0.547668338, -0.0446685776, 0.420134097, -0.689098537, -0.590449631, -0.354151636, 0.474555045, -0.805837154)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1273 | NK.C0 = clerp(NK.C0,CFrame.new(5.36867731e-07, 1.49895, -0.0144043043, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1274 | end | |
| 1275 | for i = 0, 8, 0.1 do | |
| 1276 | swait() | |
| 1277 | local Alpha = .3 | |
| 1278 | RJ.C0 = clerp(RJ.C0,CFrame.new(3.20698329e-13, 0.00629675016, 1.43556463e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1279 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990822613, 0.0216114447, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1280 | RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990987241, 0.0154613862, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1281 | LS.C0 = clerp(LS.C0,CFrame.new(-1.23893571, 1.10698521, -0.259219378, 0.91258198, -0.374027461, 0.165217906, -0.313840568, -0.899720669, -0.303326517, 0.262102395, 0.224958256, -0.938453794)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1282 | RS.C0 = clerp(RS.C0,CFrame.new(1.34101844, 0.980774999, 0.079483822, 0.969134748, 0.232594684, 0.0817119107, 0.245576948, -0.939937592, -0.237085104, 0.0216593593, 0.249834001, -0.968046069)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1283 | NK.C0 = clerp(NK.C0,CFrame.new(8.18966896e-07, 2.2650795, -0.0633551627, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1284 | end | |
| 1285 | for i = 0, 3, 0.1 do | |
| 1286 | swait() | |
| 1287 | local Alpha = .3 | |
| 1288 | RJ.C0 = clerp(RJ.C0,CFrame.new(3.20698329e-13, 0.00629675016, 1.43556463e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1289 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990822613, 0.0216114447, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1290 | RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990987241, 0.0154613862, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1291 | LS.C0 = clerp(LS.C0,CFrame.new(-1.50119066, 0.635437846, 0.183586091, 0.999877751, -0.00959497504, -0.0123154735, -9.81397825e-05, -0.792694271, 0.609619617, -0.0156116877, -0.60954386, -0.792598248)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1292 | RS.C0 = clerp(RS.C0,CFrame.new(1.42464852, 0.494964302, 0.0084314663, 0.989141941, -0.146129116, 0.0156119959, 0.146047026, 0.989257753, 0.0062854127, -0.0163627695, -0.00393708423, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1293 | NK.C0 = clerp(NK.C0,CFrame.new(-1.52624333, 1.82071006, 1.26504755, 0.999999642, -4.94066626e-06, -7.65314326e-07, 3.14830686e-08, 0.159286067, -0.987232625, 4.99933958e-06, 0.987232208, 0.159286022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1294 | end | |
| 1295 | for i = 0, .8, 0.1 do | |
| 1296 | swait() | |
| 1297 | local Alpha = .3 | |
| 1298 | RJ.C0 = clerp(RJ.C0,CFrame.new(3.20698329e-13, 0.00629675016, 1.43556463e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1299 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990822613, 0.0216114447, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1300 | RH.C0 = clerp(RH.C0,CFrame.new(0.498533875, -0.990987241, 0.0154613862, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1301 | LS.C0 = clerp(LS.C0,CFrame.new(-1.5084902, 0.727420211, -0.284505814, 0.999877751, 0.0138456346, -0.00721337926, -9.81397825e-05, -0.456457406, -0.889745295, -0.0156116877, 0.889637291, -0.456400275)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1302 | RS.C0 = clerp(RS.C0,CFrame.new(1.42464852, 0.494964302, 0.0084314663, 0.989141941, -0.146129116, 0.0156119959, 0.146047026, 0.989257753, 0.0062854127, -0.0163627695, -0.00393708423, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1303 | NK.C0 = clerp(NK.C0,CFrame.new(-1.5716989, 1.57655525, -1.64465189, 0.999711812, -0.0205687769, 0.0123552298, 0.0152448276, 0.94212538, 0.33491385, -0.0185289457, -0.334628969, 0.942167461)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
| 1304 | end | |
| 1305 | Head.Transparency = 1 | |
| 1306 | for _,v in next, Char:children() do | |
| 1307 | if(v:IsA'Accessory')then v.Handle.Transparency = 1 end | |
| 1308 | end | |
| 1309 | local projectile = Head:Clone() | |
| 1310 | projectile.Transparency = 0 | |
| 1311 | projectile.Parent = workspace | |
| 1312 | - | Music.Volume = 5 |
| 1312 | + | |
| 1313 | delay(.2, function() | |
| 1314 | bv:destroy() | |
| 1315 | end) | |
| 1316 | projectile.Touched:connect(function(t) | |
| 1317 | if(not Char:IsAncestorOf(t))then | |
| 1318 | local hum = (t and t.Parent and t.Parent:FindFirstChildOfClass'Humanoid') | |
| 1319 | local hed = (t and t.Parent and t.Parent:FindFirstChild'Head') | |
| 1320 | if(hum and hed and hum.Health > 0)then | |
| 1321 | local plr = S.Players:GetPlayerFromCharacter(t.Parent) | |
| 1322 | if(not IsWhitelisted((plr and plr.UserId or 0),t.Parent.Name))then | |
| 1323 | t.Parent:breakJoints() | |
| 1324 | Ragdoll(t.Parent) | |
| 1325 | end | |
| 1326 | end | |
| 1327 | end | |
| 1328 | end) | |
| 1329 | coroutine.wrap(function() | |
| 1330 | for i = 1, 0, -.05 do | |
| 1331 | Head.Transparency = i | |
| 1332 | for _,v in next, Char:children() do | |
| 1333 | if(v:IsA'Accessory')then v.Handle.Transparency = i end | |
| 1334 | - | local twitch = M.RNG(1,250) |
| 1334 | + | |
| 1335 | - | if(twitch == 1 and not Twitch and time()-LastTwitch > TwitchMinTime)then |
| 1335 | + | |
| 1336 | - | Twitch = true |
| 1336 | + | |
| 1337 | - | LastTwitch = time() |
| 1337 | + | |
| 1338 | for _,v in next, Char:children() do | |
| 1339 | - | if(time()-LastTwitch > M.RNG(75,150)/100)then |
| 1339 | + | |
| 1340 | - | Twitch = false |
| 1340 | + | |
| 1341 | end)() | |
| 1342 | delay(2, function() | |
| 1343 | - | local pow = 75 |
| 1343 | + | |
| 1344 | - | NK.C1 = NK.C1:lerp(CF.A(-M.R(15)-M.RRNG(15,45),-(M.R(25)+M.RRNG(-100,100)/100),0),.3) |
| 1344 | + | |
| 1345 | - | Music.Pitch = .8 |
| 1345 | + | |
| 1346 | - | --[[FT.Parent = Torso |
| 1346 | + | |
| 1347 | - | RA.Parent = RArm |
| 1347 | + | |
| 1348 | - | LA.Parent = LArm |
| 1348 | + | |
| 1349 | - | RL.Parent = RLeg |
| 1349 | + | |
| 1350 | - | LL.Parent = LLeg |
| 1350 | + | |
| 1351 | Attack = false | |
| 1352 | end | |
| 1353 | - | v.Offset = V3.N(M.RNG(-pow,pow)/100,M.RNG(-pow,pow)/100,M.RNG(-pow,pow)/100) |
| 1353 | + | |
| 1354 | function An_Error_Has_Occureedddddddddd() | |
| 1355 | Attack = true | |
| 1356 | coroutine.wrap(function() | |
| 1357 | while true do | |
| 1358 | swait() | |
| 1359 | local pow = 75 | |
| 1360 | FT.Parent = Torso | |
| 1361 | RA.Parent = RArm | |
| 1362 | LA.Parent = LArm | |
| 1363 | RL.Parent = RLeg | |
| 1364 | LL.Parent = LLeg | |
| 1365 | for _,v in next, Char:GetDescendants() do | |
| 1366 | if(v:IsA'DataModelMesh')then | |
| 1367 | v.Offset = V3.N(M.RNG(-pow,pow)/100,M.RNG(-pow,pow)/100,M.RNG(-pow,pow)/100) | |
| 1368 | end | |
| 1369 | end | |
| 1370 | end | |
| 1371 | end)() | |
| 1372 | Chat("An error has "..string.rep("ocu",25))
| |
| 1373 | swait(30) | |
| 1374 | coroutine.wrap(function() | |
| 1375 | local tp = Music.TimePosition | |
| 1376 | while true do | |
| 1377 | swait(30) | |
| 1378 | Music.TimePosition = tp | |
| 1379 | end | |
| 1380 | end)() | |
| 1381 | swait(60) | |
| 1382 | for _,v in next, workspace:GetDescendants() do | |
| 1383 | if(v:FindFirstChildOfClass'Humanoid')then | |
| 1384 | coroutine.wrap(function() Ragdoll(v,false,true) end)() | |
| 1385 | end | |
| 1386 | end | |
| 1387 | end | |
| 1388 | ||
| 1389 | Mouse.KeyDown:connect(function(k) | |
| 1390 | if(Attack)then return end | |
| 1391 | if(k == 'q')then You_Cant_Hide() end | |
| 1392 | if(k == 'z')then F_Is_For_Friends() end | |
| 1393 | if(k == 'x')then Brutal_Overlord() end | |
| 1394 | if(k == 'c')then Tear_My_Life_Into_Pieces() end | |
| 1395 | if(k == 't')then Tear_My_Life_Into_Taunts() end | |
| 1396 | if(k == 'v')then An_Error_Has_Occureedddddddddd() end | |
| 1397 | end) | |
| 1398 | ||
| 1399 | --// Wrap it all up \\-- | |
| 1400 | ||
| 1401 | ||
| 1402 | coroutine.wrap(function() | |
| 1403 | while true do | |
| 1404 | swait() | |
| 1405 | for puddle,data in next, BloodPuddles do | |
| 1406 | if(puddle.Transparency > 0.9)then | |
| 1407 | BloodPuddles[puddle] = nil | |
| 1408 | puddle:destroy() | |
| 1409 | end | |
| 1410 | data.Frame = data.Frame + 1 | |
| 1411 | if(data.Frame > Frame_Speed*4)then | |
| 1412 | local trans = (data.Frame-Frame_Speed*4)/Frame_Speed*2 | |
| 1413 | puddle.Transparency = trans | |
| 1414 | if(puddle:FindFirstChild'CylinderMesh' and puddle.CylinderMesh.Scale.Z > 0)then | |
| 1415 | puddle.CylinderMesh.Scale = puddle.CylinderMesh.Scale-V3.N(.1,0,.1) | |
| 1416 | end | |
| 1417 | else | |
| 1418 | puddle.Transparency = 0 | |
| 1419 | end | |
| 1420 | end | |
| 1421 | end | |
| 1422 | end)() | |
| 1423 | ||
| 1424 | Hum.WalkSpeed = 8 | |
| 1425 | while true do | |
| 1426 | swait() | |
| 1427 | if(not Music or not Music.Parent)then | |
| 1428 | local a = Music.TimePosition | |
| 1429 | Music = Sound(Char,MusicID,1,3,true,false,true) | |
| 1430 | Music.Name = 'Music' | |
| 1431 | Music.TimePosition = a | |
| 1432 | end | |
| 1433 | Music.Volume = 1 | |
| 1434 | Sine = Sine + Change | |
| 1435 | local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * 4), Char) | |
| 1436 | local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1) | |
| 1437 | local State = (not hitfloor and Root.Velocity.y < -1 and "Fall" or not hitfloor and Root.Velocity.y > 1 and "Jump" or hitfloor and Walking and "Walk" or hitfloor and "Idle") | |
| 1438 | if(State == 'Walk')then | |
| 1439 | local Alpha = math.min(.2*(Hum.WalkSpeed/16),1) | |
| 1440 | if(Hum.WalkSpeed < 14)then | |
| 1441 | local wsVal = 14 / (Hum.WalkSpeed/5) | |
| 1442 | Change = 1 | |
| 1443 | RH.C1 = RH.C1:lerp(CF.N(0,.985-.15*M.S(Sine/wsVal),0+.2*-M.C(Sine/wsVal))*CF.A(M.R(0+20*M.C(Sine/wsVal)),0,0),Alpha) | |
| 1444 | LH.C1 = LH.C1:lerp(CF.N(0,.985-.15*-M.S(Sine/wsVal),0+.2*M.C(Sine/wsVal))*CF.A(M.R(0-20*M.C(Sine/wsVal)),0,0),Alpha) | |
| 1445 | elseif(Hum.WalkSpeed >= 14)then | |
| 1446 | local wsVal = 7 / (Hum.WalkSpeed/16) | |
| 1447 | Change = 2/3 | |
| 1448 | RH.C1 = RH.C1:lerp(CF.N(0,1-.25*M.S(Sine/wsVal),0+.2*-M.C(Sine/wsVal))*CF.A(M.R(15+25*M.C(Sine/wsVal)),0,0),Alpha) | |
| 1449 | LH.C1 = LH.C1:lerp(CF.N(0,1-.25*-M.S(Sine/wsVal),0+.2*M.C(Sine/wsVal))*CF.A(M.R(15-25*M.C(Sine/wsVal)),0,0),Alpha) | |
| 1450 | end | |
| 1451 | else | |
| 1452 | RH.C1 = RH.C1:lerp(CF.N(0,1,0),.3) | |
| 1453 | LH.C1 = LH.C1:lerp(CF.N(0,1,0),.3) | |
| 1454 | end | |
| 1455 | if(Twitch)then | |
| 1456 | else | |
| 1457 | NK.C1 = NK.C1:lerp(CF.N(),.3) | |
| 1458 | Music.Pitch = 1 | |
| 1459 | --[[FT.Parent = nil | |
| 1460 | RA.Parent = nil | |
| 1461 | LA.Parent = nil | |
| 1462 | RL.Parent = nil | |
| 1463 | LL.Parent = nil | |
| 1464 | for _,v in next, Char:GetDescendants() do | |
| 1465 | if(v:IsA'DataModelMesh')then | |
| 1466 | v.Offset = V3.N() | |
| 1467 | end | |
| 1468 | end]] | |
| 1469 | end | |
| 1470 | if(Victim and (not Victim:FindFirstChildOfClass'Humanoid' or not Victim.Parent or not GetTorso(Victim)))then | |
| 1471 | Victim = nil | |
| 1472 | end | |
| 1473 | if(not Victim)then | |
| 1474 | Target.Adornee = nil | |
| 1475 | Target.Enabled = false | |
| 1476 | elseif(GetTorso(Victim))then | |
| 1477 | Target.Adornee = GetTorso(Victim) | |
| 1478 | Target.Enabled = true | |
| 1479 | end | |
| 1480 | TargetImg1.Rotation = TargetImg1.Rotation + 2 | |
| 1481 | TargetImg2.Rotation = TargetImg2.Rotation - 2 | |
| 1482 | ||
| 1483 | if(NeutralAnims)then | |
| 1484 | if(State == 'Idle')then | |
| 1485 | local Alpha = .2 | |
| 1486 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00314458925, 0.0451914072+.15*M.C(time()), -0.20140326, 0.999990046, -0.00435535889, -0.000589565374, 0.00435100077, 0.96206224, 0.272795409, -0.000620923936, -0.27279523, 0.962071478),Alpha) | |
| 1487 | LH.C0 = clerp(LH.C0,CFrame.new(-0.497960001, -1.04775584-.15*M.C(time()), -0.0720805228, 0.999878228, 0.00435100077, 0.014991004, -9.5948657e-05, 0.96206224, -0.272830069, -0.0156093612, 0.272795409, 0.961945415),Alpha) | |
| 1488 | RH.C0 = clerp(RH.C0,CFrame.new(0.49705413, -1.05053294-.15*M.C(time()), -0.0786191523, 0.999878228, 0.00435100077, 0.014991004, -9.5948657e-05, 0.96206224, -0.272830069, -0.0156093612, 0.272795409, 0.961945415),Alpha) | |
| 1489 | LS.C0 = clerp(LS.C0,CFrame.new(-1.47194386, 0.51491183+.15*M.C(time()), -0.0806432366, 0.997356772, 0.0710981488, 0.014991004, -0.0643278062, 0.95990926, -0.272830069, -0.0337877162, 0.271144569, 0.961945415),Alpha) | |
| 1490 | RS.C0 = clerp(RS.C0,CFrame.new(1.46653831, 0.491472602+.15*M.C(time()), -0.0686791688, 0.998338819, -0.0556335486, 0.014991004, 0.057612583, 0.960335672, -0.272830069, 0.00078211166, 0.273240507, 0.961945415),Alpha) | |
| 1491 | NK.C0 = clerp(NK.C0,CFrame.new(1.2824883e-05, 1.52978039, -0.358495057, 1.00000012, 2.7930364e-06, 1.10529363e-05, -9.7640368e-06, 0.710427284, 0.703770578, -5.88688999e-06, -0.703770638, 0.710427284),Alpha) | |
| 1492 | elseif(State == 'Walk')then | |
| 1493 | local Alpha = .3 | |
| 1494 | if(Hum.WalkSpeed < 14)then | |
| 1495 | local wsVal = 14 / (Hum.WalkSpeed/5) | |
| 1496 | NK.C0 = clerp(NK.C0,CFrame.new(1.2824883e-05, 1.52978039, -0.358495057, 1.00000012, 2.7930364e-06, 1.10529363e-05, -9.7640368e-06, 0.710427284, 0.703770578, -5.88688999e-06, -0.703770638, 0.710427284),Alpha) | |
| 1497 | LH.C0 = clerp(LH.C0,LHC0*CF.N(0,0+.1*-M.C(Sine/(wsVal/2)),0),Alpha) | |
| 1498 | RH.C0 = clerp(RH.C0,RHC0*CF.N(0,0+.1*-M.C(Sine/(wsVal/2)),0),Alpha) | |
| 1499 | RJ.C0 = clerp(RJ.C0,RJC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0),Alpha) | |
| 1500 | RS.C0 = clerp(RS.C0,RSC0*CF.A(M.R(0+20*M.C(Sine/wsVal)),0,M.R(5)),Alpha) | |
| 1501 | LS.C0 = clerp(LS.C0,LSC0*CF.A(M.R(0+20*-M.C(Sine/wsVal)),0,M.R(-5)),Alpha) | |
| 1502 | elseif(Hum.WalkSpeed >= 14)then | |
| 1503 | local wsVal = 7 / (Hum.WalkSpeed/16) | |
| 1504 | NK.C0 = clerp(NK.C0,CFrame.new(1.2824883e-05, 1.52978039, -0.358495057, 1.00000012, 2.7930364e-06, 1.10529363e-05, -9.7640368e-06, 0.710427284, 0.703770578, -5.88688999e-06, -0.703770638, 0.710427284),Alpha) | |
| 1505 | LH.C0 = clerp(LH.C0,LHC0*CF.N(0,0+.1*-M.C(Sine/(wsVal/2)),0),Alpha) | |
| 1506 | RH.C0 = clerp(RH.C0,RHC0*CF.N(0,0+.1*-M.C(Sine/(wsVal/2)),0),Alpha) | |
| 1507 | RJ.C0 = clerp(RJ.C0,RJC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0),Alpha) | |
| 1508 | RS.C0 = clerp(RS.C0,RSC0*CF.A(M.R(0+25*M.C(Sine/wsVal)),0,M.R(5)),Alpha) | |
| 1509 | LS.C0 = clerp(LS.C0,LSC0*CF.A(M.R(0+25*-M.C(Sine/wsVal)),0,M.R(-5)),Alpha) | |
| 1510 | end | |
| 1511 | elseif(State == 'Jump' or State == 'Fall')then | |
| 1512 | IdleCounter = 0 | |
| 1513 | if(Walking)then | |
| 1514 | local Alpha = .2 | |
| 1515 | RJ.C0 = clerp(RJ.C0,RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(65)),M.R(65)),0,0),Alpha) | |
| 1516 | LH.C0 = clerp(LH.C0,CFrame.new(-0.497912645, -1.0987643, -0.0683324337, 0.999878228, 0.00860835519, 0.0130246133, -0.00010142161, 0.837816596, -0.545952022, -0.015611981, 0.545884132, 0.837715328),Alpha) | |
| 1517 | RH.C0 = clerp(RH.C0,CFrame.new(0.499978393, -1.16382337, 0.109293163, 0.999878228, -0.0120433727, 0.00993486121, -0.00010142161, 0.631323814, 0.775519371, -0.015611981, -0.775425911, 0.631245613),Alpha) | |
| 1518 | LS.C0 = clerp(LS.C0,CFrame.new(-1.55211556, 0.576563478, -0.00269976072, 0.976067662, 0.216906726, 0.0156116467, -0.217024669, 0.976145923, 0.00628317893, -0.0138763804, -0.00952091813, 0.999858499),Alpha) | |
| 1519 | RS.C0 = clerp(RS.C0,CFrame.new(1.50182188, 0.636661649, 0.00632623257, 0.977592707, -0.209926367, 0.0156121543, 0.209851891, 0.977713108, 0.00628198683, -0.016582964, -0.00286500831, 0.999858439),Alpha) | |
| 1520 | NK.C0 = clerp(NK.C0,CFrame.new(1.14440072e-05, 1.49924362, -0.0143961608, 1.00000024, -5.82076609e-11, 0, 1.23691279e-10, 0.997964919, 0.0637660474, 0, -0.0637660623, 0.997965038),Alpha) | |
| 1521 | else | |
| 1522 | local Alpha = .2 | |
| 1523 | RJ.C0 = clerp(RJ.C0,RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(65)),M.R(65)),0,0),Alpha) | |
| 1524 | LH.C0 = clerp(LH.C0,CFrame.new(-0.504374504, -0.291219354, -0.487436086, 0.999878228, -0.00438931212, 0.0149825988, -0.00010142161, 0.957819223, 0.287371844, -0.015611981, -0.287338346, 0.957701981),Alpha) | |
| 1525 | RH.C0 = clerp(RH.C0,CFrame.new(0.453094482, -0.871358454, 0.0898642987, 0.985589385, -0.168456957, 0.0153662469, 0.162863791, 0.969548643, 0.182895929, -0.0457084104, -0.177757636, 0.983012319),Alpha) | |
| 1526 | LS.C0 = clerp(LS.C0,CFrame.new(-1.55211556, 0.576563478, -0.00269976072, 0.976067662, 0.216906726, 0.0156116467, -0.217024669, 0.976145923, 0.00628317893, -0.0138763804, -0.00952091813, 0.999858499),Alpha) | |
| 1527 | RS.C0 = clerp(RS.C0,CFrame.new(1.50182188, 0.636661649, 0.00632623257, 0.977592707, -0.209926367, 0.0156121543, 0.209851891, 0.977713108, 0.00628198683, -0.016582964, -0.00286500831, 0.999858439),Alpha) | |
| 1528 | NK.C0 = clerp(NK.C0,CFrame.new(1.14440072e-05, 1.49924362, -0.0143961608, 1.00000024, -5.82076609e-11, 0, 1.23691279e-10, 0.997964919, 0.0637660474, 0, -0.0637660623, 0.997965038),Alpha) | |
| 1529 | end | |
| 1530 | end | |
| 1531 | end | |
| 1532 | end |