SHOW:
|
|
- or go back to the newest paste.
| 1 | if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
| |
| 2 | do | |
| 3 | script.Parent = owner.Character | |
| 4 | local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
| |
| 5 | local function NewFakeEvent() | |
| 6 | local Bind = Instance.new("BindableEvent")
| |
| 7 | local Fake;Fake = {Connections = {},
| |
| 8 | fakeEvent=true; | |
| 9 | Connect=function(self,Func) | |
| 10 | Bind.Event:connect(Func) | |
| 11 | self.Connections[Bind] = true | |
| 12 | return setmetatable({Connected = true},{
| |
| 13 | __index = function (self,Index) | |
| 14 | if Index:lower() == "disconnect" then | |
| 15 | return function() Fake.Connections[Bind] = false;self.Connected = false end | |
| 16 | end | |
| 17 | return Fake[Index] | |
| 18 | end; | |
| 19 | __tostring = function() return "Connection" end; | |
| 20 | }) | |
| 21 | end} | |
| 22 | Fake.connect = Fake.Connect;return Fake; | |
| 23 | end | |
| 24 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
| |
| 25 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
| |
| 26 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
| |
| 27 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
| |
| 28 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
| 29 | local function TriggerEvent(self,Event,...) | |
| 30 | local Trigger = Mouse[Event] | |
| 31 | if Trigger and Trigger.fakeEvent and Trigger.Connections then | |
| 32 | for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end | |
| 33 | end | |
| 34 | end | |
| 35 | Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent | |
| 36 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
| 37 | if FiredBy.Name ~= owner.Name then return end | |
| 38 | if Input.MouseEvent then | |
| 39 | Mouse.Target = Input.Target;Mouse.Hit = Input.Hit | |
| 40 | else | |
| 41 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
| 42 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end | |
| 43 | for _,Action in pairs(ContextActionService.Actions) do | |
| 44 | for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end | |
| 45 | end | |
| 46 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
| 47 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
| 48 | end | |
| 49 | end) | |
| 50 | InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService | |
| 51 | Event.Parent = NLS([[ | |
| 52 | local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
| |
| 53 | local Input = function(Input,gameProcessedEvent) | |
| 54 | if gameProcessedEvent then return end | |
| 55 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
| |
| 56 | end | |
| 57 | UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input) | |
| 58 | local Hit,Target | |
| 59 | while wait(1/30) do | |
| 60 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
| 61 | Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
| |
| 62 | end | |
| 63 | end | |
| 64 | ]],owner.Character) | |
| 65 | end | |
| 66 | RealGame = game;game = setmetatable({},{
| |
| 67 | __index = function (self,Index) | |
| 68 | local Sandbox = function (Thing) | |
| 69 | if Thing:IsA("Player") then
| |
| 70 | local RealPlayer = Thing | |
| 71 | return setmetatable({},{
| |
| 72 | __index = function (self,Index) | |
| 73 | local Type = type(RealPlayer[Index]) | |
| 74 | if Type == "function" then | |
| 75 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
| 76 | return function (self)return InternalData["Mouse"] end | |
| 77 | end | |
| 78 | return function (self,...)return RealPlayer[Index](RealPlayer,...) end | |
| 79 | end | |
| 80 | return RealPlayer[Index] | |
| 81 | end; | |
| 82 | __tostring = function(self) return RealPlayer.Name end | |
| 83 | }) | |
| 84 | end | |
| 85 | end | |
| 86 | if RealGame[Index] then | |
| 87 | local Type = type(RealGame[Index]) | |
| 88 | if Type == "function" then | |
| 89 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
| 90 | return function (self,Service) | |
| 91 | local FakeServices = {
| |
| 92 | ["players"] = function() | |
| 93 | return setmetatable({},{
| |
| 94 | __index = function (self2,Index2) | |
| 95 | local RealService = RealGame:GetService(Service) | |
| 96 | local Type2 = type(Index2) | |
| 97 | if Type2 == "function" then | |
| 98 | return function (self,...) return RealService[Index2](RealService,...)end | |
| 99 | else | |
| 100 | if Index2:lower() == "localplayer" then return Sandbox(owner) end | |
| 101 | return RealService[Index2] | |
| 102 | end | |
| 103 | end; | |
| 104 | __tostring = function(self) return RealGame:GetService(Service).Name end | |
| 105 | }) | |
| 106 | end; | |
| 107 | ["contextactionservice"] = function() return InternalData["ContextActionService"] end; | |
| 108 | ["userinputservice"] = function() return InternalData["UserInputService"] end; | |
| 109 | ["runservice"] = function() | |
| 110 | return setmetatable({},{
| |
| 111 | __index = function(self2,Index2) | |
| 112 | local RealService = RealGame:GetService(Service) | |
| 113 | local Type2 = type(Index2) | |
| 114 | if Type2 == "function" then | |
| 115 | return function (self,...) return RealService[Index2](RealService,...) end | |
| 116 | else | |
| 117 | local RunServices = {
| |
| 118 | ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
| |
| 119 | ["renderstepped"] = function() return RealService["Stepped"] end | |
| 120 | } | |
| 121 | if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end | |
| 122 | return RealService[Index2] | |
| 123 | end | |
| 124 | end | |
| 125 | }) | |
| 126 | end | |
| 127 | } | |
| 128 | if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end | |
| 129 | return RealGame:GetService(Service) | |
| 130 | end | |
| 131 | end | |
| 132 | return function (self,...) return RealGame[Index](RealGame,...) end | |
| 133 | else | |
| 134 | if game:GetService(Index) then return game:GetService(Index) end | |
| 135 | return RealGame[Index] | |
| 136 | end | |
| 137 | end | |
| 138 | return nil | |
| 139 | end | |
| 140 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
| |
| 141 | ||
| 142 | ||
| 143 | function TakeDamage(hum, dmg) | |
| 144 | hum:TakeDamage(dmg) | |
| 145 | end | |
| 146 | plr = game.Players.LocalPlayer | |
| 147 | repeat | |
| 148 | wait(0.4) | |
| 149 | until plr.Character | |
| 150 | chr = plr.Character | |
| 151 | human = chr:FindFirstChild("Humanoid")
| |
| 152 | human.Name = "hi" | |
| 153 | human.MaxHealth = 5000 | |
| 154 | human.Health = 5000 | |
| 155 | human.JumpPower = 70 | |
| 156 | human.WalkSpeed = 20 | |
| 157 | mouse = plr:GetMouse() | |
| 158 | selected = false | |
| 159 | equipd = false | |
| 160 | tors = chr.Torso | |
| 161 | rarm = chr["Right Arm"] | |
| 162 | larm = chr["Left Arm"] | |
| 163 | rleg = chr["Right Leg"] | |
| 164 | lleg = chr["Left Leg"] | |
| 165 | hrp = chr.HumanoidRootPart | |
| 166 | hed = chr.Head | |
| 167 | anim = human.Animator | |
| 168 | activu = false | |
| 169 | appeared = false | |
| 170 | animpose = nil | |
| 171 | POSU = false | |
| 172 | local wherto = hrp | |
| 173 | local addcfr = CFrame.new(0, 0, 0) | |
| 174 | Heartbeat = Instance.new("BindableEvent")
| |
| 175 | Heartbeat.Name = "Heartbeat" | |
| 176 | Heartbeat.Parent = script | |
| 177 | frame = 0.03333333333333333 | |
| 178 | tf = 0 | |
| 179 | local BC = chr["Body Colors"] | |
| 180 | BC.HeadColor = BrickColor.new("Pastel brown")
| |
| 181 | BC.LeftArmColor = BrickColor.new("Pastel brown")
| |
| 182 | BC.LeftLegColor = BrickColor.new("Pastel brown")
| |
| 183 | BC.RightArmColor = BrickColor.new("Pastel brown")
| |
| 184 | BC.RightLegColor = BrickColor.new("Pastel brown")
| |
| 185 | BC.TorsoColor = BrickColor.new("Pastel brown")
| |
| 186 | ||
| 187 | for i,v in pairs(chr:children()) do | |
| 188 | if v:IsA("Accessory") then
| |
| 189 | v:Destroy() | |
| 190 | end | |
| 191 | end | |
| 192 | ||
| 193 | for i,v in pairs(chr:children()) do | |
| 194 | if v:IsA("Shirt") then
| |
| 195 | v:Destroy() | |
| 196 | end | |
| 197 | end | |
| 198 | ||
| 199 | for i,v in pairs(chr:children()) do | |
| 200 | if v:IsA("Pants") then
| |
| 201 | v:Destroy() | |
| 202 | end | |
| 203 | end | |
| 204 | ||
| 205 | ||
| 206 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 207 | tf = tf + s | |
| 208 | if tf >= frame then | |
| 209 | for i = 1, math.floor(tf / frame) do | |
| 210 | Heartbeat:Fire() | |
| 211 | end | |
| 212 | tf = tf - frame * math.floor(tf / frame) | |
| 213 | end | |
| 214 | end) | |
| 215 | function swait(num) | |
| 216 | if num == 0 or num == nil then | |
| 217 | Heartbeat.Event:wait() | |
| 218 | else | |
| 219 | for i = 1, num do | |
| 220 | Heartbeat.Event:wait() | |
| 221 | end | |
| 222 | end | |
| 223 | end | |
| 224 | tool = Instance.new("Tool")
| |
| 225 | tool.CanBeDropped = false | |
| 226 | tool.RequiresHandle = false | |
| 227 | tool.Name = "Za Warudo" | |
| 228 | tool.Parent = plr.Backpack | |
| 229 | modz = Instance.new("Model")
| |
| 230 | modz.Name = "efx" | |
| 231 | modz.Parent = chr | |
| 232 | ZaWarudo = Instance.new("Model")
| |
| 233 | ZaWarudo.Name = "Za Warudo" | |
| 234 | ZaWarudo.Parent = chr | |
| 235 | RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 236 | RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 237 | LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 238 | LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 239 | RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 240 | RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 241 | LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 242 | RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 243 | LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 244 | NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 245 | NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 246 | RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 247 | RS = tors:FindFirstChild("Right Shoulder")
| |
| 248 | LS = tors:FindFirstChild("Left Shoulder")
| |
| 249 | RH = tors:FindFirstChild("Right Hip")
| |
| 250 | LH = tors:FindFirstChild("Left Hip")
| |
| 251 | RJ = hrp:FindFirstChild("RootJoint")
| |
| 252 | N = tors:FindFirstChild("Neck")
| |
| 253 | cf = CFrame.new | |
| 254 | ang = CFrame.Angles | |
| 255 | rd = math.rad | |
| 256 | rd2 = math.random | |
| 257 | function nooutline(p) | |
| 258 | p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10 | |
| 259 | end | |
| 260 | function makepart(color, name, reflec, mater, parnt, cfram) | |
| 261 | local port = Instance.new("Part")
| |
| 262 | port.BrickColor = BrickColor.new(color) | |
| 263 | port.Name = name | |
| 264 | port.Transparency = 1 | |
| 265 | nooutline(port) | |
| 266 | port.Reflectance = reflec | |
| 267 | port.Material = mater | |
| 268 | port.Anchored = false | |
| 269 | port.CanCollide = false | |
| 270 | port.Locked = true | |
| 271 | port.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 272 | port.Parent = parnt | |
| 273 | return port | |
| 274 | end | |
| 275 | function makemesh(meshtype, scale, meshid, parent) | |
| 276 | local mes = Instance.new("SpecialMesh")
| |
| 277 | mes.MeshType = meshtype | |
| 278 | mes.Scale = scale | |
| 279 | if meshtype == "FileMesh" then | |
| 280 | mes.MeshId = meshid | |
| 281 | end | |
| 282 | mes.Parent = parent | |
| 283 | return mes | |
| 284 | end | |
| 285 | function makemotor(parent, p0, p1, c0, c1) | |
| 286 | swait() | |
| 287 | local wel = Instance.new("Motor6D")
| |
| 288 | wel.Part0 = p0 | |
| 289 | wel.Part1 = p1 | |
| 290 | wel.C0 = c0 | |
| 291 | if c1 ~= nil then | |
| 292 | wel.C1 = c1 | |
| 293 | end | |
| 294 | wel.Parent = parent | |
| 295 | return wel | |
| 296 | end | |
| 297 | local konodioda = Instance.new("Sound")
| |
| 298 | konodioda.SoundId = "rbxassetid://4681979771" | |
| 299 | konodioda.Volume = 3.5 | |
| 300 | konodioda.Parent = hrp | |
| 301 | local bast = Instance.new("Sound")
| |
| 302 | bast.SoundId = "rbxassetid://4801002524" | |
| 303 | bast.Volume = 3.5 | |
| 304 | bast.Parent = hrp | |
| 305 | local bastt = Instance.new("Sound")
| |
| 306 | bastt.SoundId = "rbxassetid://4876266463" | |
| 307 | bastt.Volume = 3.5 | |
| 308 | bastt.Parent = hrp | |
| 309 | local diovania = Instance.new("Sound")
| |
| 310 | diovania.SoundId = "rbxassetid://2998977755" | |
| 311 | diovania.Volume = 3.5 | |
| 312 | diovania.Parent = hrp | |
| 313 | local mudi = Instance.new("Sound")
| |
| 314 | mudi.SoundId = "rbxassetid://2553978464" | |
| 315 | mudi.Volume = 3.5 | |
| 316 | mudi.Parent = hrp | |
| 317 | local zaworld = Instance.new("Sound")
| |
| 318 | zaworld.SoundId = "rbxassetid://4729774926" | |
| 319 | zaworld.Volume = 3.8 | |
| 320 | zaworld.Parent = hrp | |
| 321 | local wry = Instance.new("Sound")
| |
| 322 | wry.SoundId = "rbxassetid://276152532" | |
| 323 | wry.Volume = 5 | |
| 324 | wry.Parent = hrp | |
| 325 | function animo(yep) | |
| 326 | if yep == true then | |
| 327 | anim.Parent = human | |
| 328 | chr.Animate.Disabled = false | |
| 329 | elseif yep == false then | |
| 330 | chr.Animate.Disabled = true | |
| 331 | anim.Parent = nil | |
| 332 | end | |
| 333 | end | |
| 334 | animo(false) | |
| 335 | function lerpz(joint, prop, cfrmz, alp) | |
| 336 | joint[prop] = joint[prop]:lerp(cfrmz, alp) | |
| 337 | end | |
| 338 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 339 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 340 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 341 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 342 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 343 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 344 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 345 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 346 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 347 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 348 | function resetlerp(whoever) | |
| 349 | if whoever == nil then | |
| 350 | RJ.C0 = RJC0 | |
| 351 | RJ.C1 = RJC1 | |
| 352 | N.C0 = NC0 | |
| 353 | N.C1 = NC1 | |
| 354 | RS.C0 = RSC0 | |
| 355 | RS.C1 = RSC1 | |
| 356 | LS.C0 = LSC0 | |
| 357 | LS.C1 = LSC1 | |
| 358 | RH.C0 = RHC0 | |
| 359 | RH.C1 = RHC1 | |
| 360 | LH.C0 = LHC0 | |
| 361 | LH.C1 = LHC1 | |
| 362 | elseif whoever ~= nil then | |
| 363 | nRJ.C0 = RJC0 | |
| 364 | nRJ.C1 = RJC1 | |
| 365 | nN.C0 = NC0 | |
| 366 | nN.C1 = NC1 | |
| 367 | nRS.C0 = RSC0 | |
| 368 | nRS.C1 = RSC1 | |
| 369 | nLS.C0 = LSC0 | |
| 370 | nLS.C1 = LSC1 | |
| 371 | nRH.C0 = RHC0 | |
| 372 | nRH.C1 = RHC1 | |
| 373 | nLH.C0 = LHC0 | |
| 374 | nLH.C1 = LHC1 | |
| 375 | end | |
| 376 | end | |
| 377 | ||
| 378 | ---- Dio Hair | |
| 379 | local pa = Instance.new("Part",chr)
| |
| 380 | pa.Name = "Hair" | |
| 381 | pa.BrickColor = BrickColor.new("Bright yellow")
| |
| 382 | pa.Material = "Marble" | |
| 383 | local me = Instance.new("SpecialMesh",pa)
| |
| 384 | me.MeshType = "FileMesh" | |
| 385 | me.MeshId = "rbxassetid://5003099305" | |
| 386 | me.Scale = Vector3.new(1,1,1) | |
| 387 | local we = Instance.new("Weld")
| |
| 388 | we.Parent = pa | |
| 389 | we.Part0 = hed | |
| 390 | we.Part1 = pa | |
| 391 | we.C1 = CFrame.new(0,0.3,-.25) | |
| 392 | we.C0 = CFrame.Angles(0,0,0) | |
| 393 | ||
| 394 | ------Dio shirt/Pants | |
| 395 | local sh = Instance.new("Shirt",chr)
| |
| 396 | sh.ShirtTemplate = "rbxassetid://3671483311" | |
| 397 | ||
| 398 | local pan = Instance.new("Pants",chr)
| |
| 399 | pan.PantsTemplate = "rbxassetid://692871482" | |
| 400 | ||
| 401 | ------ end of dio | |
| 402 | function STANDO(cfr) | |
| 403 | local rooto = Instance.new("Part")
| |
| 404 | nooutline(rooto) | |
| 405 | rooto.Name = "HumanoidRootPart" | |
| 406 | rooto.Anchored = true | |
| 407 | rooto.CFrame = cfr | |
| 408 | rooto.Size = Vector3.new(2, 2, 1) | |
| 409 | rooto.CanCollide = false | |
| 410 | rooto.Locked = true | |
| 411 | rooto.Transparency = 1 | |
| 412 | rooto.Parent = ZaWarudo | |
| 413 | local head = Instance.new("Part")
| |
| 414 | nooutline(head) | |
| 415 | head.Anchored = false | |
| 416 | head.CFrame = rooto.CFrame * CFrame.new(0, 1.5, 0) | |
| 417 | head.Size = Vector3.new(2, 1, 1) | |
| 418 | head.BrickColor = BrickColor.new("Lavender")
| |
| 419 | head.CanCollide = false | |
| 420 | head.Name = "Head" | |
| 421 | head.Locked = true | |
| 422 | head.Transparency = 1 | |
| 423 | head.Parent = ZaWarudo | |
| 424 | local headmesh = makemesh("Head", Vector3.new(1.25, 1.25, 1.25), nil, head)
| |
| 425 | local headdecal = Instance.new("Decal")
| |
| 426 | headdecal.Name = "face" | |
| 427 | headdecal.Texture = "rbxassetid://2700109225" | |
| 428 | headdecal.Face = "Front" | |
| 429 | headdecal.Transparency = 1 | |
| 430 | headdecal.Parent = head | |
| 431 | -------- Mask-ZaWarudo | |
| 432 | local mp = Instance.new("Part",ZaWarudo)
| |
| 433 | mp.Name = "Mask" | |
| 434 | mp.BrickColor = BrickColor.new("Black")
| |
| 435 | mp.Transparency = 1 | |
| 436 | mp.CanCollide = false | |
| 437 | local mask = Instance.new("SpecialMesh",mp)
| |
| 438 | mask.MeshId = "rbxassetid://4994041038" | |
| 439 | mask.MeshType = "FileMesh" | |
| 440 | mask.Scale = Vector3.new(1, 1, 1) | |
| 441 | local mw = Instance.new("Weld")
| |
| 442 | mw.Parent = mask | |
| 443 | mw.Part0 = head | |
| 444 | mw.Part1 = mp | |
| 445 | mw.C1 = CFrame.new(0,-.3,-.1) | |
| 446 | mw.C0 = CFrame.Angles(0,0,0) | |
| 447 | ||
| 448 | local me = Instance.new("Part",ZaWarudo)
| |
| 449 | me.Name = "Eyes" | |
| 450 | me.BrickColor = BrickColor.new("Black")
| |
| 451 | me.Transparency = 1 | |
| 452 | me.CanCollide = false | |
| 453 | local eyes = Instance.new("SpecialMesh",me)
| |
| 454 | eyes.MeshId = "rbxassetid://4994051573" | |
| 455 | eyes.TextureId = "rbxassetid://3103122741" | |
| 456 | eyes.MeshType = "FileMesh" | |
| 457 | eyes.Scale = Vector3.new(1, 1, 1) | |
| 458 | local mew = Instance.new("Weld")
| |
| 459 | mew.Parent = eyes | |
| 460 | mew.Part0 = head | |
| 461 | mew.Part1 = me | |
| 462 | mew.C1 = CFrame.new(0,-.1,0.3) | |
| 463 | mew.C0 = CFrame.Angles(0,0,0) | |
| 464 | ||
| 465 | ||
| 466 | local torso = Instance.new("Part")
| |
| 467 | nooutline(torso) | |
| 468 | torso.Name = "Torso" | |
| 469 | torso.Anchored = false | |
| 470 | torso.CFrame = rooto.CFrame * CFrame.new(0, 0, 0) | |
| 471 | torso.Size = Vector3.new(2, 1, 1) | |
| 472 | torso.BrickColor = BrickColor.new("Lavender")
| |
| 473 | torso.CanCollide = false | |
| 474 | torso.Transparency = 1 | |
| 475 | torso.Locked = true | |
| 476 | torso.Parent = ZaWarudo | |
| 477 | local torsomesh = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxasset://fonts/torso.mesh", torso)
| |
| 478 | ||
| 479 | local leftarm = Instance.new("Part")
| |
| 480 | nooutline(leftarm) | |
| 481 | leftarm.Anchored = false | |
| 482 | leftarm.Name = "Left Arm" | |
| 483 | leftarm.CFrame = rooto.CFrame * CFrame.new(1.5, 0, 0) | |
| 484 | leftarm.Size = Vector3.new(1, 2, 1) | |
| 485 | leftarm.BrickColor = BrickColor.new("Lavender")
| |
| 486 | leftarm.CanCollide = false | |
| 487 | leftarm.Transparency = 1 | |
| 488 | leftarm.Locked = true | |
| 489 | leftarm.Parent = ZaWarudo | |
| 490 | local leftarmmesh = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxasset://fonts/leftarm.mesh", leftarm)
| |
| 491 | ||
| 492 | local rightarm = Instance.new("Part")
| |
| 493 | nooutline(rightarm) | |
| 494 | rightarm.Anchored = false | |
| 495 | rightarm.CFrame = rooto.CFrame * CFrame.new(-1.5, 0, 0) | |
| 496 | rightarm.Name = "Right Arm" | |
| 497 | rightarm.Size = Vector3.new(1, 2, 1) | |
| 498 | rightarm.BrickColor = BrickColor.new("Lavender")
| |
| 499 | rightarm.CanCollide = false | |
| 500 | rightarm.Locked = true | |
| 501 | rightarm.Transparency = 1 | |
| 502 | rightarm.Parent = ZaWarudo | |
| 503 | local rightarmmesh = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxasset://fonts/rightarm.mesh", rightarm)
| |
| 504 | ||
| 505 | local leftleg = Instance.new("Part")
| |
| 506 | nooutline(leftleg) | |
| 507 | leftleg.Anchored = false | |
| 508 | leftleg.CFrame = rooto.CFrame * CFrame.new(1.5, -1.5, 0) | |
| 509 | leftleg.Name = "Left Leg" | |
| 510 | leftleg.Size = Vector3.new(1, 2, 1) | |
| 511 | leftleg.BrickColor = BrickColor.new("Lavender")
| |
| 512 | leftleg.CanCollide = false | |
| 513 | leftleg.Transparency = 1 | |
| 514 | leftleg.Locked = true | |
| 515 | leftleg.Parent = ZaWarudo | |
| 516 | local leftlegmesh = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxasset://fonts/leftleg.mesh", leftleg)
| |
| 517 | ||
| 518 | local rightleg = Instance.new("Part")
| |
| 519 | nooutline(rightleg) | |
| 520 | rightleg.Anchored = false | |
| 521 | rightleg.CFrame = rooto.CFrame * CFrame.new(-1.5, -1.5, 0) | |
| 522 | rightleg.Name = "Right Leg" | |
| 523 | rightleg.Size = Vector3.new(1, 2, 1) | |
| 524 | rightleg.BrickColor = BrickColor.new("Lavender")
| |
| 525 | rightleg.CanCollide = false | |
| 526 | rightleg.Locked = true | |
| 527 | rightleg.Transparency = 1 | |
| 528 | rightleg.Parent = ZaWarudo | |
| 529 | local rightlegmesh = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxasset://fonts/rightleg.mesh", rightleg)
| |
| 530 | ||
| 531 | ||
| 532 | ||
| 533 | -------------------- | |
| 534 | ||
| 535 | local rootweld = makemotor(rooto, rooto, torso, RJC0, RJC1) | |
| 536 | rootweld.Name = "RootJoint" | |
| 537 | local neckweld = makemotor(torso, torso, head, NC0, NC1) | |
| 538 | neckweld.Name = "Neck" | |
| 539 | local rshoulderweld = makemotor(torso, torso, rightarm, RSC0, RSC1) | |
| 540 | rshoulderweld.Name = "Right Shoulder" | |
| 541 | local lshoulderweld = makemotor(torso, torso, leftarm, LSC0, LSC1) | |
| 542 | lshoulderweld.Name = "Left Shoulder" | |
| 543 | local rhipweld = makemotor(torso, torso, rightleg, RHC0, RHC1) | |
| 544 | rhipweld.Name = "Right Hip" | |
| 545 | local lhipweld = makemotor(torso, torso, leftleg, LHC0, LHC1) | |
| 546 | lhipweld.Name = "Left Hip" | |
| 547 | local pa1 = Instance.new("Part")
| |
| 548 | ||
| 549 | ||
| 550 | local raemblem = Instance.new("Part")
| |
| 551 | nooutline(raemblem) | |
| 552 | raemblem.Anchored = false | |
| 553 | raemblem.CFrame = rooto.CFrame * CFrame.new(0, 2, 1) | |
| 554 | raemblem.Name = "raemblem" | |
| 555 | raemblem.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 556 | raemblem.BrickColor = BrickColor.new("Black")
| |
| 557 | raemblem.CanCollide = false | |
| 558 | raemblem.Locked = true | |
| 559 | raemblem.Material = "SmoothPlastic" | |
| 560 | raemblem.Transparency = 1 | |
| 561 | raemblem.Parent = ZaWarudo | |
| 562 | local raemblemm = makemesh("Brick", Vector3.new(0, 3, 3), nil, raemblem)
| |
| 563 | local raemblemw = makemotor(raemblem, raemblem, rightarm, ang(rd(0.5), rd(0), rd(0)) * cf(-0.5, -0.5, 0), ang(rd(0), 0, 0)) | |
| 564 | local emmes = Instance.new("Decal")
| |
| 565 | emmes.Texture = "rbxassetid://0" | |
| 566 | emmes.Transparency = 1 | |
| 567 | emmes.Face = "Right" | |
| 568 | emmes.Name = "embe" | |
| 569 | emmes.Parent = raemblem | |
| 570 | ||
| 571 | local tors1 = Instance.new("Part")
| |
| 572 | nooutline(tors1) | |
| 573 | tors1.Anchored = false | |
| 574 | tors1.CFrame = rooto.CFrame * CFrame.new(0, 2, 1) | |
| 575 | tors1.Name = "ra1" | |
| 576 | tors1.Size = Vector3.new(1,1,1) | |
| 577 | tors1.BrickColor = BrickColor.new("Black")
| |
| 578 | tors1.CanCollide = false | |
| 579 | tors1.Locked = true | |
| 580 | tors1.Transparency = 1 | |
| 581 | tors1.Parent = ZaWarudo | |
| 582 | local tors1m = makemesh("FileMesh", Vector3.new(1,1,1), "rbxassetid://4994003907", tors1)
| |
| 583 | local tors1w = makemotor(tors1, tors1, torso, ang(rd(0), rd(0), rd(0)) * cf(0, 0, -0.2), ang(rd(0), 0, 0)) | |
| 584 | ||
| 585 | local arm1 = Instance.new("Part")
| |
| 586 | nooutline(arm1) | |
| 587 | arm1.Anchored = false | |
| 588 | arm1.CFrame = rooto.CFrame * CFrame.new(0, 2, 1) | |
| 589 | arm1.Name = "arm1" | |
| 590 | arm1.Size = Vector3.new(1,1,1) | |
| 591 | arm1.BrickColor = BrickColor.new("Black")
| |
| 592 | arm1.CanCollide = false | |
| 593 | arm1.Locked = true | |
| 594 | arm1.Transparency = 1 | |
| 595 | arm1.Parent = ZaWarudo | |
| 596 | local arm1m = makemesh("FileMesh", Vector3.new(1,1,1), "rbxassetid://5000261637", arm1)
| |
| 597 | local arm1w = makemotor(arm1, arm1, leftarm, ang(rd(0), rd(0), rd(0)) * cf(0, 0, 0), ang(rd(0), 0, 0)) | |
| 598 | ||
| 599 | local arm2 = Instance.new("Part")
| |
| 600 | nooutline(arm2) | |
| 601 | arm2.Anchored = false | |
| 602 | arm2.CFrame = rooto.CFrame * CFrame.new(0, 2, 1) | |
| 603 | arm2.Name = "arm2" | |
| 604 | arm2.Size = Vector3.new(1,1,1) | |
| 605 | arm2.BrickColor = BrickColor.new("Black")
| |
| 606 | arm2.CanCollide = false | |
| 607 | arm2.Locked = true | |
| 608 | arm2.Transparency = 1 | |
| 609 | arm2.Parent = ZaWarudo | |
| 610 | local arm2m = makemesh("FileMesh", Vector3.new(1,1,1), "rbxassetid://5000268075", arm2)
| |
| 611 | local arm2w = makemotor(arm2, arm2, rightarm, ang(rd(0), rd(0), rd(0)) * cf(0, 0, 0), ang(rd(0), 0, 0)) | |
| 612 | ||
| 613 | local leg1 = Instance.new("Part")
| |
| 614 | nooutline(leg1) | |
| 615 | leg1.Anchored = false | |
| 616 | leg1.CFrame = rooto.CFrame * CFrame.new(0, 2, 1) | |
| 617 | leg1.Name = "leg1" | |
| 618 | leg1.Size = Vector3.new(1,1,1) | |
| 619 | leg1.BrickColor = BrickColor.new("Black")
| |
| 620 | leg1.CanCollide = false | |
| 621 | leg1.Locked = true | |
| 622 | leg1.Transparency = 1 | |
| 623 | leg1.Parent = ZaWarudo | |
| 624 | local leg1m = makemesh("FileMesh", Vector3.new(1,1,1), "rbxassetid://5000274561", leg1)
| |
| 625 | local leg1w = makemotor(leg1, leg1, leftleg, ang(rd(0), rd(0), rd(0)) * cf(0.1, 0, 0), ang(rd(0), 0, 0)) | |
| 626 | ||
| 627 | local leg2 = Instance.new("Part")
| |
| 628 | nooutline(leg2) | |
| 629 | leg2.Anchored = false | |
| 630 | leg2.CFrame = rooto.CFrame * CFrame.new(0, 2, 1) | |
| 631 | leg2.Name = "leg2" | |
| 632 | leg2.Size = Vector3.new(1,1,1) | |
| 633 | leg2.BrickColor = BrickColor.new("Black")
| |
| 634 | leg2.CanCollide = false | |
| 635 | leg2.Locked = true | |
| 636 | leg2.Transparency = 1 | |
| 637 | leg2.Parent = ZaWarudo | |
| 638 | local leg2m = makemesh("FileMesh", Vector3.new(1,1,1), "rbxassetid://5000294658", leg2)
| |
| 639 | local leg2w = makemotor(leg2, leg2, rightleg, ang(rd(0), rd(0), rd(0)) * cf(-.1, 0, 0), ang(rd(0), 0, 0)) | |
| 640 | ||
| 641 | return ZaWarudo | |
| 642 | end | |
| 643 | local thenoob = STANDO(hrp.CFrame * CFrame.new(0, 0, 0)) | |
| 644 | coroutine.resume(coroutine.create(function() | |
| 645 | local rot = thenoob.HumanoidRootPart | |
| 646 | repeat | |
| 647 | swait() | |
| 648 | rot.CFrame = rot.CFrame:lerp(wherto.CFrame * addcfr, 0.5) | |
| 649 | until rot == nil | |
| 650 | end)) | |
| 651 | local rot = thenoob.HumanoidRootPart | |
| 652 | local ntorso = thenoob:FindFirstChild("Torso")
| |
| 653 | local rightarm = thenoob:FindFirstChild("Right Arm")
| |
| 654 | local leftarm = thenoob:FindFirstChild("Left Arm")
| |
| 655 | local leftleg = thenoob:FindFirstChild("Left Leg")
| |
| 656 | local rightleg = thenoob:FindFirstChild("Right Leg")
| |
| 657 | local head = thenoob:FindFirstChild("Head")
| |
| 658 | local face = head:FindFirstChild("face")
| |
| 659 | local emblem = thenoob:FindFirstChild("raemblem"):FindFirstChild("embe")
| |
| 660 | local embpart = thenoob:FindFirstChild("raemblem")
| |
| 661 | local nRJ = rot:FindFirstChild("RootJoint")
| |
| 662 | local nN = ntorso:FindFirstChild("Neck")
| |
| 663 | local nRS = ntorso:FindFirstChild("Right Shoulder")
| |
| 664 | local nLS = ntorso:FindFirstChild("Left Shoulder")
| |
| 665 | local nRH = ntorso:FindFirstChild("Right Hip")
| |
| 666 | local nLH = ntorso:FindFirstChild("Left Hip")
| |
| 667 | function standappear(nbz) | |
| 668 | if selected == false or activu == true then | |
| 669 | return | |
| 670 | end | |
| 671 | if appeared == false then | |
| 672 | appeared = true | |
| 673 | wherto = hrp | |
| 674 | addcfr = cf(-2, 1, 2) | |
| 675 | local apear = Instance.new("Sound")
| |
| 676 | apear.SoundId = "rbxassetid://4930468673" | |
| 677 | apear.Parent = rot | |
| 678 | apear.Volume = 5.25 | |
| 679 | game.Debris:AddItem(apear, 1.5) | |
| 680 | apear:Play() | |
| 681 | for _, n in pairs(nbz:GetChildren()) do | |
| 682 | coroutine.resume(coroutine.create(function() | |
| 683 | for _ = 1, 5 do | |
| 684 | if n ~= rot and n ~= embpart and n.ClassName ~= "Sound" then | |
| 685 | swait() | |
| 686 | n.Transparency = n.Transparency - 0.2 | |
| 687 | face.Transparency = face.Transparency - 0.2 | |
| 688 | emblem.Transparency = emblem.Transparency - 0.2 | |
| 689 | end | |
| 690 | end | |
| 691 | if n ~= rot and n ~= embpart then | |
| 692 | n.Transparency = 0 | |
| 693 | end | |
| 694 | face.Transparency = 0 | |
| 695 | emblem.Transparency = 0 | |
| 696 | end)) | |
| 697 | end | |
| 698 | elseif appeared == true then | |
| 699 | appeared = false | |
| 700 | wherto = hrp | |
| 701 | addcfr = cf(0, 0, 0) | |
| 702 | for _, n in pairs(nbz:GetChildren()) do | |
| 703 | coroutine.resume(coroutine.create(function() | |
| 704 | for _ = 1, 5 do | |
| 705 | if n ~= rot and n ~= embpart then | |
| 706 | swait() | |
| 707 | n.Transparency = n.Transparency + 0.2 | |
| 708 | face.Transparency = face.Transparency + 0.2 | |
| 709 | emblem.Transparency = emblem.Transparency + 0.2 | |
| 710 | ||
| 711 | end | |
| 712 | end | |
| 713 | if n ~= rot and n ~= embpart then | |
| 714 | n.Transparency = 1 | |
| 715 | end | |
| 716 | face.Transparency = 1 | |
| 717 | emblem.Transparency = 1 | |
| 718 | ||
| 719 | end)) | |
| 720 | end | |
| 721 | end | |
| 722 | end | |
| 723 | --Ragdoll death for full server by Rufus14 (pure copy paste from my bow) | |
| 724 | step = game:GetService("RunService").Stepped
| |
| 725 | function ragdollkill(character) | |
| 726 | local victimshumanoid = character:findFirstChildOfClass("Humanoid")
| |
| 727 | if character:findFirstChild("Head") then
| |
| 728 | if character.Name == owner.Character.Name then | |
| 729 | local AAAAAAAAAAAAAA = Instance.new("Sound", character.Head)
| |
| 730 | AAAAAAAAAAAAAA.SoundId = "rbxassetid://1006111829" | |
| 731 | AAAAAAAAAAAAAA.Volume = 1 | |
| 732 | AAAAAAAAAAAAAA.PlayOnRemove = true | |
| 733 | AAAAAAAAAAAAAA:destroy() | |
| 734 | end | |
| 735 | local beepboop = Instance.new("Sound", character.Head)
| |
| 736 | beepboop.SoundId = "rbxassetid://1602011701" | |
| 737 | beepboop.Volume = 1 | |
| 738 | beepboop.PlayOnRemove = true | |
| 739 | beepboop:destroy() | |
| 740 | end | |
| 741 | if not character:findFirstChild("UpperTorso") then
| |
| 742 | character.Archivable = true | |
| 743 | for i,v in pairs(character:GetChildren()) do | |
| 744 | if v.ClassName == "Sound" then | |
| 745 | v:remove() | |
| 746 | end | |
| 747 | for q,w in pairs(v:GetChildren()) do | |
| 748 | if w.ClassName == "Sound" then | |
| 749 | w:remove() | |
| 750 | end | |
| 751 | end | |
| 752 | end | |
| 753 | local ragdoll = character:Clone() | |
| 754 | ragdoll:findFirstChildOfClass("Humanoid").Health = 0
| |
| 755 | if ragdoll:findFirstChild("Health") then
| |
| 756 | if ragdoll:findFirstChild("Health").ClassName == "Script" then
| |
| 757 | ragdoll:findFirstChild("Health").Disabled = true
| |
| 758 | end | |
| 759 | end | |
| 760 | for i,v in pairs(character:GetChildren()) do | |
| 761 | if v.ClassName == "Part" or v.ClassName == "ForceField" or v.ClassName == "Accessory" or v.ClassName == "Hat" then | |
| 762 | v:destroy() | |
| 763 | end | |
| 764 | end | |
| 765 | for i,v in pairs(character:GetChildren()) do | |
| 766 | if v.ClassName == "Accessory" then | |
| 767 | local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
| |
| 768 | if attachment1 then | |
| 769 | for q,w in pairs(character:GetChildren()) do | |
| 770 | if w.ClassName == "Part" then | |
| 771 | local attachment2 = w:findFirstChild(attachment1.Name) | |
| 772 | if attachment2 then | |
| 773 | local hinge = Instance.new("HingeConstraint", v.Handle)
| |
| 774 | hinge.Attachment0 = attachment1 | |
| 775 | hinge.Attachment1 = attachment2 | |
| 776 | hinge.LimitsEnabled = true | |
| 777 | hinge.LowerAngle = 0 | |
| 778 | hinge.UpperAngle = 0 | |
| 779 | end | |
| 780 | end | |
| 781 | end | |
| 782 | end | |
| 783 | end | |
| 784 | end | |
| 785 | ragdoll.Parent = workspace | |
| 786 | if ragdoll:findFirstChild("Right Arm") then
| |
| 787 | local glue = Instance.new("Glue", ragdoll.Torso)
| |
| 788 | glue.Part0 = ragdoll.Torso | |
| 789 | glue.Part1 = ragdoll:findFirstChild("Right Arm")
| |
| 790 | glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 791 | glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 792 | local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Right Arm"))
| |
| 793 | limbcollider.Size = Vector3.new(1.4,1,1) | |
| 794 | limbcollider.Shape = "Cylinder" | |
| 795 | limbcollider.Transparency = 1 | |
| 796 | limbcollider.Name = "LimbCollider" | |
| 797 | local limbcolliderweld = Instance.new("Weld", limbcollider)
| |
| 798 | limbcolliderweld.Part0 = ragdoll:findFirstChild("Right Arm")
| |
| 799 | limbcolliderweld.Part1 = limbcollider | |
| 800 | limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0) | |
| 801 | end | |
| 802 | if ragdoll:findFirstChild("Left Arm") then
| |
| 803 | local glue = Instance.new("Glue", ragdoll.Torso)
| |
| 804 | glue.Part0 = ragdoll.Torso | |
| 805 | glue.Part1 = ragdoll:findFirstChild("Left Arm")
| |
| 806 | glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 807 | glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 808 | local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Left Arm"))
| |
| 809 | limbcollider.Size = Vector3.new(1.4,1,1) | |
| 810 | limbcollider.Shape = "Cylinder" | |
| 811 | limbcollider.Name = "LimbCollider" | |
| 812 | limbcollider.Transparency = 1 | |
| 813 | local limbcolliderweld = Instance.new("Weld", limbcollider)
| |
| 814 | limbcolliderweld.Part0 = ragdoll:findFirstChild("Left Arm")
| |
| 815 | limbcolliderweld.Part1 = limbcollider | |
| 816 | limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0) | |
| 817 | end | |
| 818 | if ragdoll:findFirstChild("Left Leg") then
| |
| 819 | local glue = Instance.new("Glue", ragdoll.Torso)
| |
| 820 | glue.Part0 = ragdoll.Torso | |
| 821 | glue.Part1 = ragdoll:findFirstChild("Left Leg")
| |
| 822 | glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 823 | glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 824 | local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Left Leg"))
| |
| 825 | limbcollider.Size = Vector3.new(1.4,1,1) | |
| 826 | limbcollider.Shape = "Cylinder" | |
| 827 | limbcollider.Name = "LimbCollider" | |
| 828 | limbcollider.Transparency = 1 | |
| 829 | local limbcolliderweld = Instance.new("Weld", limbcollider)
| |
| 830 | limbcolliderweld.Part0 = ragdoll:findFirstChild("Left Leg")
| |
| 831 | limbcolliderweld.Part1 = limbcollider | |
| 832 | limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0) | |
| 833 | end | |
| 834 | if ragdoll:findFirstChild("Right Leg") then
| |
| 835 | local glue = Instance.new("Glue", ragdoll.Torso)
| |
| 836 | glue.Part0 = ragdoll.Torso | |
| 837 | glue.Part1 = ragdoll:findFirstChild("Right Leg")
| |
| 838 | glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 839 | glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 840 | local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Right Leg"))
| |
| 841 | limbcollider.Size = Vector3.new(1.4,1,1) | |
| 842 | limbcollider.Shape = "Cylinder" | |
| 843 | limbcollider.Name = "LimbCollider" | |
| 844 | limbcollider.Transparency = 1 | |
| 845 | local limbcolliderweld = Instance.new("Weld", limbcollider)
| |
| 846 | limbcolliderweld.Part0 = ragdoll:findFirstChild("Right Leg")
| |
| 847 | limbcolliderweld.Part1 = limbcollider | |
| 848 | limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0) | |
| 849 | end | |
| 850 | if ragdoll:findFirstChild("Head") and ragdoll.Torso:findFirstChild("NeckAttachment") then
| |
| 851 | local HeadAttachment = Instance.new("Attachment", ragdoll["Head"])
| |
| 852 | HeadAttachment.Position = Vector3.new(0, -0.5, 0) | |
| 853 | local connection = Instance.new('HingeConstraint', ragdoll["Head"])
| |
| 854 | connection.LimitsEnabled = true | |
| 855 | connection.Attachment0 = ragdoll.Torso.NeckAttachment | |
| 856 | connection.Attachment1 = HeadAttachment | |
| 857 | connection.UpperAngle = 60 | |
| 858 | connection.LowerAngle = -60 | |
| 859 | elseif ragdoll:findFirstChild("Head") and not ragdoll.Torso:findFirstChild("NeckAttachment") then
| |
| 860 | local hedweld = Instance.new("Weld", ragdoll.Torso)
| |
| 861 | hedweld.Part0 = ragdoll.Torso | |
| 862 | hedweld.Part1 = ragdoll.Head | |
| 863 | hedweld.C0 = CFrame.new(0,1.5,0) | |
| 864 | end | |
| 865 | game.Debris:AddItem(ragdoll, 30) | |
| 866 | local function waitforhit() | |
| 867 | while true do | |
| 868 | while ragdoll.Torso.Velocity.y >= -10 do | |
| 869 | step:wait() --wait until ragdoll will fall | |
| 870 | end | |
| 871 | while ragdoll.Torso.Velocity.y < -10 do | |
| 872 | step:wait() --wait until ragdoll will stop | |
| 873 | end | |
| 874 | local bodyhit = Instance.new("Sound", ragdoll.Torso)
| |
| 875 | bodyhit.SoundId = "rbxassetid://220025741" | |
| 876 | bodyhit.Volume = 2 | |
| 877 | bodyhit.PlayOnRemove = true | |
| 878 | bodyhit:destroy() | |
| 879 | end | |
| 880 | end | |
| 881 | spawn(waitforhit) | |
| 882 | wait(0.7) | |
| 883 | if ragdoll:findFirstChildOfClass("Humanoid") then
| |
| 884 | ragdoll:findFirstChildOfClass("Humanoid").PlatformStand = true
| |
| 885 | end | |
| 886 | if ragdoll:findFirstChild("HumanoidRootPart") then
| |
| 887 | ragdoll:findFirstChild("HumanoidRootPart"):destroy()
| |
| 888 | end | |
| 889 | elseif character:findFirstChild("UpperTorso") then
| |
| 890 | character.Archivable = true | |
| 891 | for i,v in pairs(character:GetChildren()) do | |
| 892 | if v.ClassName == "Sound" then | |
| 893 | v:remove() | |
| 894 | end | |
| 895 | for q,w in pairs(v:GetChildren()) do | |
| 896 | if w.ClassName == "Sound" then | |
| 897 | w:remove() | |
| 898 | end | |
| 899 | end | |
| 900 | end | |
| 901 | local ragdoll = character:Clone() | |
| 902 | ragdoll:findFirstChildOfClass("Humanoid").Health = 0
| |
| 903 | if ragdoll:findFirstChild("Health") then
| |
| 904 | if ragdoll:findFirstChild("Health").ClassName == "Script" then
| |
| 905 | ragdoll:findFirstChild("Health").Disabled = true
| |
| 906 | end | |
| 907 | end | |
| 908 | for i,v in pairs(character:GetChildren()) do | |
| 909 | if v.ClassName == "Part" or v.ClassName == "ForceField" or v.ClassName == "Accessory" or v.ClassName == "Hat" or v.ClassName == "MeshPart" then | |
| 910 | v:destroy() | |
| 911 | end | |
| 912 | end | |
| 913 | for i,v in pairs(character:GetChildren()) do | |
| 914 | if v.ClassName == "Accessory" then | |
| 915 | local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
| |
| 916 | if attachment1 then | |
| 917 | for q,w in pairs(character:GetChildren()) do | |
| 918 | if w.ClassName == "Part" or w.ClassName == "MeshPart" then | |
| 919 | local attachment2 = w:findFirstChild(attachment1.Name) | |
| 920 | if attachment2 then | |
| 921 | local hinge = Instance.new("HingeConstraint", v.Handle)
| |
| 922 | hinge.Attachment0 = attachment1 | |
| 923 | hinge.Attachment1 = attachment2 | |
| 924 | hinge.LimitsEnabled = true | |
| 925 | hinge.LowerAngle = 0 | |
| 926 | hinge.UpperAngle = 0 | |
| 927 | end | |
| 928 | end | |
| 929 | end | |
| 930 | end | |
| 931 | end | |
| 932 | end | |
| 933 | ragdoll.Parent = workspace | |
| 934 | local Humanoid = ragdoll:findFirstChildOfClass("Humanoid")
| |
| 935 | Humanoid.PlatformStand = true | |
| 936 | local function makeballconnections(limb, attachementone, attachmenttwo, twistlower, twistupper) | |
| 937 | local connection = Instance.new('BallSocketConstraint', limb)
| |
| 938 | connection.LimitsEnabled = true | |
| 939 | connection.Attachment0 = attachementone | |
| 940 | connection.Attachment1 = attachmenttwo | |
| 941 | connection.TwistLimitsEnabled = true | |
| 942 | connection.TwistLowerAngle = twistlower | |
| 943 | connection.TwistUpperAngle = twistupper | |
| 944 | local limbcollider = Instance.new("Part", limb)
| |
| 945 | limbcollider.Size = Vector3.new(0.1,1,1) | |
| 946 | limbcollider.Shape = "Cylinder" | |
| 947 | limbcollider.Transparency = 1 | |
| 948 | limbcollider:BreakJoints() | |
| 949 | local limbcolliderweld = Instance.new("Weld", limbcollider)
| |
| 950 | limbcolliderweld.Part0 = limb | |
| 951 | limbcolliderweld.Part1 = limbcollider | |
| 952 | limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) | |
| 953 | end | |
| 954 | local function makehingeconnections(limb, attachementone, attachmenttwo, lower, upper) | |
| 955 | local connection = Instance.new('HingeConstraint', limb)
| |
| 956 | connection.LimitsEnabled = true | |
| 957 | connection.Attachment0 = attachementone | |
| 958 | connection.Attachment1 = attachmenttwo | |
| 959 | connection.LimitsEnabled = true | |
| 960 | connection.LowerAngle = lower | |
| 961 | connection.UpperAngle = upper | |
| 962 | local limbcollider = Instance.new("Part", limb)
| |
| 963 | limbcollider.Size = Vector3.new(0.1,1,1) | |
| 964 | limbcollider.Shape = "Cylinder" | |
| 965 | limbcollider.Transparency = 1 | |
| 966 | limbcollider:BreakJoints() | |
| 967 | local limbcolliderweld = Instance.new("Weld", limbcollider)
| |
| 968 | limbcolliderweld.Part0 = limb | |
| 969 | limbcolliderweld.Part1 = limbcollider | |
| 970 | limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) | |
| 971 | end | |
| 972 | local HeadAttachment = Instance.new("Attachment", Humanoid.Parent.Head)
| |
| 973 | HeadAttachment.Position = Vector3.new(0, -0.5, 0) | |
| 974 | makehingeconnections(Humanoid.Parent.Head, HeadAttachment, ragdoll.UpperTorso.NeckAttachment, -50, 50) | |
| 975 | makehingeconnections(Humanoid.Parent.LowerTorso, Humanoid.Parent.LowerTorso.WaistRigAttachment, Humanoid.Parent.UpperTorso.WaistRigAttachment, -50, 50) | |
| 976 | makeballconnections(Humanoid.Parent.LeftUpperArm, Humanoid.Parent.LeftUpperArm.LeftShoulderRigAttachment, Humanoid.Parent.UpperTorso.LeftShoulderRigAttachment, -200, 200, 180) | |
| 977 | makehingeconnections(Humanoid.Parent.LeftLowerArm, Humanoid.Parent.LeftLowerArm.LeftElbowRigAttachment, Humanoid.Parent.LeftUpperArm.LeftElbowRigAttachment, 0, -60) | |
| 978 | makehingeconnections(Humanoid.Parent.LeftHand, Humanoid.Parent.LeftHand.LeftWristRigAttachment, Humanoid.Parent.LeftLowerArm.LeftWristRigAttachment, -20, 20) | |
| 979 | -- | |
| 980 | makeballconnections(Humanoid.Parent.RightUpperArm, Humanoid.Parent.RightUpperArm.RightShoulderRigAttachment, Humanoid.Parent.UpperTorso.RightShoulderRigAttachment, -200, 200, 180) | |
| 981 | makehingeconnections(Humanoid.Parent.RightLowerArm, Humanoid.Parent.RightLowerArm.RightElbowRigAttachment, Humanoid.Parent.RightUpperArm.RightElbowRigAttachment, 0, -60) | |
| 982 | makehingeconnections(Humanoid.Parent.RightHand, Humanoid.Parent.RightHand.RightWristRigAttachment, Humanoid.Parent.RightLowerArm.RightWristRigAttachment, -20, 20) | |
| 983 | -- | |
| 984 | makeballconnections(Humanoid.Parent.RightUpperLeg, Humanoid.Parent.RightUpperLeg.RightHipRigAttachment, Humanoid.Parent.LowerTorso.RightHipRigAttachment, -80, 80, 80) | |
| 985 | makehingeconnections(Humanoid.Parent.RightLowerLeg, Humanoid.Parent.RightLowerLeg.RightKneeRigAttachment, Humanoid.Parent.RightUpperLeg.RightKneeRigAttachment, 0, 60) | |
| 986 | makehingeconnections(Humanoid.Parent.RightFoot, Humanoid.Parent.RightFoot.RightAnkleRigAttachment, Humanoid.Parent.RightLowerLeg.RightAnkleRigAttachment, -20, 20) | |
| 987 | -- | |
| 988 | makeballconnections(Humanoid.Parent.LeftUpperLeg, Humanoid.Parent.LeftUpperLeg.LeftHipRigAttachment, Humanoid.Parent.LowerTorso.LeftHipRigAttachment, -80, 80, 80) | |
| 989 | makehingeconnections(Humanoid.Parent.LeftLowerLeg, Humanoid.Parent.LeftLowerLeg.LeftKneeRigAttachment, Humanoid.Parent.LeftUpperLeg.LeftKneeRigAttachment, 0, 60) | |
| 990 | makehingeconnections(Humanoid.Parent.LeftFoot, Humanoid.Parent.LeftFoot.LeftAnkleRigAttachment, Humanoid.Parent.LeftLowerLeg.LeftAnkleRigAttachment, -20, 20) | |
| 991 | for i,v in pairs(Humanoid.Parent:GetChildren()) do | |
| 992 | if v.ClassName == "Accessory" then | |
| 993 | local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
| |
| 994 | if attachment1 then | |
| 995 | for q,w in pairs(Humanoid.Parent:GetChildren()) do | |
| 996 | if w.ClassName == "Part" then | |
| 997 | local attachment2 = w:findFirstChild(attachment1.Name) | |
| 998 | if attachment2 then | |
| 999 | local hinge = Instance.new("HingeConstraint", v.Handle)
| |
| 1000 | hinge.Attachment0 = attachment1 | |
| 1001 | hinge.Attachment1 = attachment2 | |
| 1002 | hinge.LimitsEnabled = true | |
| 1003 | hinge.LowerAngle = 0 | |
| 1004 | hinge.UpperAngle = 0 | |
| 1005 | end | |
| 1006 | end | |
| 1007 | end | |
| 1008 | end | |
| 1009 | end | |
| 1010 | end | |
| 1011 | for i,v in pairs(ragdoll:GetChildren()) do | |
| 1012 | for q,w in pairs(v:GetChildren()) do | |
| 1013 | if w.ClassName == "Motor6D"--[[ and w.Name ~= "Neck"--]] then | |
| 1014 | w:destroy() | |
| 1015 | end | |
| 1016 | end | |
| 1017 | end | |
| 1018 | if ragdoll:findFirstChild("HumanoidRootPart") then
| |
| 1019 | ragdoll.HumanoidRootPart.Anchored = true | |
| 1020 | ragdoll.HumanoidRootPart.CanCollide = false | |
| 1021 | end | |
| 1022 | if ragdoll:findFirstChildOfClass("Humanoid") then
| |
| 1023 | ragdoll:findFirstChildOfClass("Humanoid").PlatformStand = true
| |
| 1024 | end | |
| 1025 | local function waitforhit() | |
| 1026 | while true do | |
| 1027 | while ragdoll.UpperTorso.Velocity.y >= -10 do | |
| 1028 | step:wait() --wait until ragdoll will fall | |
| 1029 | end | |
| 1030 | while ragdoll.UpperTorso.Velocity.y < -10 do | |
| 1031 | step:wait() --wait until ragdoll will stop | |
| 1032 | end | |
| 1033 | local bodyhit = Instance.new("Sound", ragdoll.UpperTorso)
| |
| 1034 | bodyhit.SoundId = "rbxassetid://220025741" | |
| 1035 | bodyhit.Volume = 2 | |
| 1036 | bodyhit.PlayOnRemove = true | |
| 1037 | bodyhit:destroy() | |
| 1038 | end | |
| 1039 | end | |
| 1040 | spawn(waitforhit) | |
| 1041 | game.Debris:AddItem(ragdoll, 30) | |
| 1042 | end | |
| 1043 | end | |
| 1044 | while wait(1) do | |
| 1045 | for i,v in pairs(workspace:GetChildren()) do | |
| 1046 | if v.ClassName == "Model" then | |
| 1047 | local thehuumanoid = v:findFirstChildOfClass("Humanoid")
| |
| 1048 | local hasragdoll = v:findFirstChild("HasRagdoll")
| |
| 1049 | if thehuumanoid and not hasragdoll then | |
| 1050 | local ragdollyes = Instance.new("BoolValue", v)
| |
| 1051 | ragdollyes.Name = "HasRagdoll" | |
| 1052 | local function ded() | |
| 1053 | ragdollkill(v) | |
| 1054 | end | |
| 1055 | thehuumanoid.Died:connect(ded) | |
| 1056 | end | |
| 1057 | end | |
| 1058 | end | |
| 1059 | end | |
| 1060 | function quickhit() | |
| 1061 | if selected == false or activu == true then | |
| 1062 | return | |
| 1063 | end | |
| 1064 | if appeared == false then | |
| 1065 | standappear(thenoob) | |
| 1066 | ||
| 1067 | wherto = hrp | |
| 1068 | addcfr = cf(2, 1, 2) | |
| 1069 | end | |
| 1070 | cancarry = false | |
| 1071 | activu = true | |
| 1072 | wherto = hrp | |
| 1073 | addcfr = cf(0, 0, -3.5) | |
| 1074 | local ZAWRU = Instance.new("Sound")
| |
| 1075 | ZAWRU.SoundId = "rbxassetid://2553983089" | |
| 1076 | ZAWRU.TimePosition = 0 | |
| 1077 | ZAWRU.Volume = 3 | |
| 1078 | ZAWRU.Parent = hrp | |
| 1079 | ZAWRU:Play() | |
| 1080 | local pooo = Instance.new("Sound")
| |
| 1081 | pooo.SoundId = "rbxassetid://0" | |
| 1082 | pooo.Pitch = 1.5 | |
| 1083 | pooo.Volume = 5 | |
| 1084 | pooo.Parent = hrp | |
| 1085 | pooo:Play() | |
| 1086 | game.Debris:AddItem(pooo, 2.5) | |
| 1087 | for _ = 1, 7 do | |
| 1088 | swait(5) | |
| 1089 | lerpz(nRJ, "C0", RJC0 * cf(0, 1.25, 0) * ang(rd(0), rd(4), rd(-85)), 0.75) | |
| 1090 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(3), rd(75)), 0.75) | |
| 1091 | lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(100)), 0.75) | |
| 1092 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1093 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.75) | |
| 1094 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1095 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.75) | |
| 1096 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1097 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.75) | |
| 1098 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1099 | end | |
| 1100 | for _ = 1, 8 do | |
| 1101 | swait() | |
| 1102 | hitoof(rightarm, 3, 20, 0.35, rot.CFrame.lookVector * 450) | |
| 1103 | lerpz(nRJ, "C0", RJC0 * cf(0, -1, 0) * ang(rd(0), rd(10), rd(75)), 0.75) | |
| 1104 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(-7), rd(-65)), 0.75) | |
| 1105 | lerpz(nRS, "C0", RSC0 * cf(0.75, 0, 0.25) * ang(rd(10), rd(-60), rd(100)), 0.75) | |
| 1106 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(50), rd(0)), 0.75) | |
| 1107 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.75) | |
| 1108 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1109 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.75) | |
| 1110 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1111 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.75) | |
| 1112 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1113 | end | |
| 1114 | swait(250) | |
| 1115 | wherto = hrp | |
| 1116 | addcfr = cf(-2, 1, 2) | |
| 1117 | activu = false | |
| 1118 | end | |
| 1119 | function THREATENING() | |
| 1120 | if selected == false and cancarry == true then | |
| 1121 | return | |
| 1122 | end | |
| 1123 | if POSU == false then | |
| 1124 | activu = true | |
| 1125 | cancarry = false | |
| 1126 | addcfr = cf(0, 0, 2) | |
| 1127 | POSU = true | |
| 1128 | human.WalkSpeed = 0 | |
| 1129 | local d = Instance.new("ParticleEmitter")
| |
| 1130 | d.Name = "MENACINGU" | |
| 1131 | d.Lifetime = NumberRange.new(1) | |
| 1132 | d.Rate = 2 | |
| 1133 | d.Texture = "rbxassetid://298768656" | |
| 1134 | d.VelocitySpread = 60 | |
| 1135 | d.Parent = tors | |
| 1136 | human:SetStateEnabled(3, false) | |
| 1137 | local randomoth = math.random(1, 2) | |
| 1138 | if randomoth == 1 then | |
| 1139 | repeat | |
| 1140 | swait() | |
| 1141 | lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.05) * ang(rd(-5), rd(0), rd(-30)), 0.3) | |
| 1142 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(30)), 0.3) | |
| 1143 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(-20), rd(-5)), 0.3) | |
| 1144 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1145 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(140), rd(-70), rd(-50)), 0.3) | |
| 1146 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1147 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(-30), rd(10)), 0.3) | |
| 1148 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1149 | lerpz(LH, "C0", LHC0 * cf(0.3, 0.1, -0.15) * ang(rd(-20), rd(50), rd(10)), 0.3) | |
| 1150 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-10)), 0.3) | |
| 1151 | ||
| 1152 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(-2), rd(150)), 0.3) | |
| 1153 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(6), rd(0), rd(50)), 0.3) | |
| 1154 | lerpz(nRS, "C0", RSC0 * cf(0, 0, -0.125) * ang(rd(-0), rd(80), rd(85)), 0.3) | |
| 1155 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1156 | lerpz(nLS, "C0", LSC0 * cf(-0.1, 0, -0.50) * ang(rd(-0.1), rd(-80), rd(-85)), 0.3) | |
| 1157 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1158 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1159 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1160 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1161 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1162 | ||
| 1163 | ||
| 1164 | until POSU == false | |
| 1165 | elseif randomoth == 2 then | |
| 1166 | repeat | |
| 1167 | swait() | |
| 1168 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(-5)), 0.4) | |
| 1169 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(15), rd(8), rd(0)), 0.3) | |
| 1170 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(10), rd(-80), rd(80)), 0.3) | |
| 1171 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1172 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(10), rd(80), rd(-70)), 0.3) | |
| 1173 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1174 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-15)), 0.3) | |
| 1175 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1176 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(15)), 0.3) | |
| 1177 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1178 | ||
| 1179 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(-5)), 0.4) | |
| 1180 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(15), rd(8), rd(0)), 0.3) | |
| 1181 | lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(10), rd(-80), rd(80)), 0.3) | |
| 1182 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1183 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(10), rd(80), rd(-70)), 0.3) | |
| 1184 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1185 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-15)), 0.3) | |
| 1186 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1187 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(15)), 0.3) | |
| 1188 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1189 | until POSU == false | |
| 1190 | end | |
| 1191 | elseif POSU == true then | |
| 1192 | POSU = false | |
| 1193 | addcfr = cf(-2, 1, 2) | |
| 1194 | human.WalkSpeed = 25 | |
| 1195 | human:SetStateEnabled(3, true) | |
| 1196 | frame = 0.03333333333333333 | |
| 1197 | tors.MENACINGU:Destroy() | |
| 1198 | activu = true | |
| 1199 | activu = false | |
| 1200 | cancarry = true | |
| 1201 | end | |
| 1202 | end | |
| 1203 | local EHMMM = 0 | |
| 1204 | function block() | |
| 1205 | if EHMMM == 50 or selected == false or activu == true then | |
| 1206 | return | |
| 1207 | end | |
| 1208 | if appeared == false then | |
| 1209 | standappear(thenoob) | |
| 1210 | end | |
| 1211 | wherto = hrp | |
| 1212 | addcfr = cf(0, 0, -3) | |
| 1213 | local bep = true | |
| 1214 | local humanshealth = human.Health | |
| 1215 | activu = true | |
| 1216 | human:SetStateEnabled(15, false) | |
| 1217 | local de = mouse.KeyUp:connect(function(key) | |
| 1218 | if key == "e" then | |
| 1219 | bep = false | |
| 1220 | end | |
| 1221 | end) | |
| 1222 | local poopes = 0 | |
| 1223 | repeat | |
| 1224 | swait() | |
| 1225 | poopes = poopes + 1 | |
| 1226 | human.Health = humanshealth | |
| 1227 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(2), rd(0), rd(0)), 0.5) | |
| 1228 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(7), rd(0), rd(0)), 0.5) | |
| 1229 | lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(110), rd(160)), 0.5) | |
| 1230 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.5) | |
| 1231 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-110), rd(-160)), 0.5) | |
| 1232 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.5) | |
| 1233 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1234 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1235 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1236 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1237 | until bep == false or poopes > 240 | |
| 1238 | de:Disconnect() | |
| 1239 | human:SetStateEnabled(15, true) | |
| 1240 | activu = false | |
| 1241 | EHMMM = 50 | |
| 1242 | coroutine.resume(coroutine.create(function() | |
| 1243 | wait(7) | |
| 1244 | EHMMM = 0 | |
| 1245 | end)) | |
| 1246 | wherto = hrp | |
| 1247 | addcfr = cf(-2, 1, 2) | |
| 1248 | end | |
| 1249 | function MUDA() | |
| 1250 | if selected == false or activu == true then | |
| 1251 | return | |
| 1252 | end | |
| 1253 | if appeared == false then | |
| 1254 | standappear(thenoob) | |
| 1255 | wherto = hrp | |
| 1256 | addcfr = cf(0, 0, -3.5) | |
| 1257 | end | |
| 1258 | wry:Stop() | |
| 1259 | local bep = true | |
| 1260 | activu = true | |
| 1261 | wherto = hrp | |
| 1262 | addcfr = cf(0, 0, -3.5) | |
| 1263 | local function blur(limb) | |
| 1264 | coroutine.resume(coroutine.create(function() | |
| 1265 | local memedon = {}
| |
| 1266 | for i = 1, 6 do | |
| 1267 | local b1 = Instance.new("Part")
| |
| 1268 | nooutline(b1) | |
| 1269 | b1.Size = Vector3.new(1, 2, 1) | |
| 1270 | b1.CFrame = limb.CFrame * CFrame.new(rd2(-5, 5) / 10, rd2(-5, 5) / 10, rd2(-5, 5) / 10) | |
| 1271 | b1.CanCollide = false | |
| 1272 | b1.BrickColor = limb.BrickColor | |
| 1273 | b1.Anchored = true | |
| 1274 | b1.Transparency = 0.7 | |
| 1275 | b1.Locked = true | |
| 1276 | b1.Parent = modz | |
| 1277 | table.insert(memedon, b1) | |
| 1278 | end | |
| 1279 | local num = 0 | |
| 1280 | repeat | |
| 1281 | swait() | |
| 1282 | num = num % 6 + 1 | |
| 1283 | memedon[num].CFrame = limb.CFrame * CFrame.new(rd2(-5, 5) / 10, rd2(-5, 5) / 10, rd2(-5, 5) / 10) | |
| 1284 | until bep == false | |
| 1285 | - | TakeDamage(humz, dmg * 4.6) |
| 1285 | + | |
| 1286 | swait() | |
| 1287 | memedon[i]:Destroy() | |
| 1288 | end | |
| 1289 | end)) | |
| 1290 | end | |
| 1291 | local de = mouse.KeyUp:connect(function(key) | |
| 1292 | if key == "r" then | |
| 1293 | bep = false | |
| 1294 | end | |
| 1295 | end) | |
| 1296 | blur(rightarm) | |
| 1297 | blur(leftarm) | |
| 1298 | local mudodo = Instance.new("Sound")
| |
| 1299 | mudodo.Volume = 7.5 | |
| 1300 | mudodo.SoundId = "rbxassetid://3392300106" | |
| 1301 | mudodo.Looped = true | |
| 1302 | mudodo.Parent = hrp | |
| 1303 | mudodo:Play() | |
| 1304 | repeat | |
| 1305 | for _ = 1, 2 do | |
| 1306 | swait() | |
| 1307 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(4), rd(4), rd(30)), 0.85) | |
| 1308 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(0), rd(-28)), 0.85) | |
| 1309 | lerpz(nRS, "C0", RSC0 * cf(0.5, 0.25, -0.1) * ang(rd(20), rd(20), rd(105)), 0.85) | |
| 1310 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1311 | lerpz(nLS, "C0", LSC0 * cf(0.25, 0.1, 0) * ang(rd(30), rd(10), rd(-70)), 0.85) | |
| 1312 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1313 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.85) | |
| 1314 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1315 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.85) | |
| 1316 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1317 | end | |
| 1318 | hito(rightarm, 3.3, 5, 0.01, rot.CFrame.lookVector * 5) | |
| 1319 | for _ = 1, 2 do | |
| 1320 | swait() | |
| 1321 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(5), rd(2), rd(-30)), 0.85) | |
| 1322 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(2), rd(0), rd(31)), 0.85) | |
| 1323 | lerpz(nRS, "C0", RSC0 * cf(-0.1, 0.05, -0.1) * ang(rd(-10), rd(-30), rd(75)), 0.85) | |
| 1324 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1325 | lerpz(nLS, "C0", LSC0 * cf(-0.5, 0.1, -0.2) * ang(rd(-30), rd(10), rd(-70)), 0.85) | |
| 1326 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1327 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.85) | |
| 1328 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1329 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.85) | |
| 1330 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1331 | end | |
| 1332 | hito(leftarm, 3.3, 5, 0.01, rot.CFrame.lookVector * 5) | |
| 1333 | for _ = 1, 2 do | |
| 1334 | swait() | |
| 1335 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(3), rd(3), rd(32)), 0.85) | |
| 1336 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(0), rd(-29)), 0.85) | |
| 1337 | lerpz(nRS, "C0", RSC0 * cf(0.35, 0.25, 0.1) * ang(rd(-10), rd(-20), rd(95)), 0.85) | |
| 1338 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1339 | lerpz(nLS, "C0", LSC0 * cf(0.25, 0.1, 0) * ang(rd(-10), rd(10), rd(-80)), 0.85) | |
| 1340 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1341 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.85) | |
| 1342 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1343 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.85) | |
| 1344 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1345 | end | |
| 1346 | hito(rightarm, 3.3, 5, 0.01, rot.CFrame.lookVector * 5) | |
| 1347 | for _ = 1, 2 do | |
| 1348 | swait() | |
| 1349 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-10), rd(3), rd(-40)), 0.85) | |
| 1350 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(-2), rd(35)), 0.85) | |
| 1351 | lerpz(nRS, "C0", RSC0 * cf(-0.1, 0.05, -0.1) * ang(rd(20), rd(-30), rd(65)), 0.85) | |
| 1352 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1353 | lerpz(nLS, "C0", LSC0 * cf(-0.5, 0.1, -0.2) * ang(rd(-30), rd(30), rd(-75)), 0.85) | |
| 1354 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1355 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.85) | |
| 1356 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1357 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.85) | |
| 1358 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1359 | end | |
| 1360 | hito(leftarm, 3.3, 5, 0.01, rot.CFrame.lookVector * 5) | |
| 1361 | until bep == false or 0 >= human.Health | |
| 1362 | de:Disconnect() | |
| 1363 | mudodo:Stop() | |
| 1364 | wry:Play() | |
| 1365 | for _ = 1, 6 do | |
| 1366 | swait() | |
| 1367 | lerpz(nRJ, "C0", RJC0 * cf(0, 1.25, 0) * ang(rd(0), rd(4), rd(-85)), 0.75) | |
| 1368 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(3), rd(75)), 0.75) | |
| 1369 | lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(100)), 0.75) | |
| 1370 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1371 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.75) | |
| 1372 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1373 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.75) | |
| 1374 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1375 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.75) | |
| 1376 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1377 | end | |
| 1378 | for _ = 1, 7 do | |
| 1379 | swait() | |
| 1380 | hito(rightarm, 3, 20, 0.35, rot.CFrame.lookVector * 50) | |
| 1381 | lerpz(nRJ, "C0", RJC0 * cf(0, -1, 0) * ang(rd(0), rd(10), rd(75)), 0.75) | |
| 1382 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(-7), rd(-65)), 0.75) | |
| 1383 | lerpz(nRS, "C0", RSC0 * cf(0.75, 0, 0.25) * ang(rd(10), rd(-60), rd(100)), 0.75) | |
| 1384 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.75) | |
| 1385 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.75) | |
| 1386 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1387 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.75) | |
| 1388 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1389 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.75) | |
| 1390 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1391 | end | |
| 1392 | swait(5) | |
| 1393 | wherto = hrp | |
| 1394 | mudodo:Destroy() | |
| 1395 | addcfr = cf(-2, 1, 2) | |
| 1396 | activu = false | |
| 1397 | end | |
| 1398 | function cability() | |
| 1399 | if selected == false or activu == true then | |
| 1400 | return | |
| 1401 | end | |
| 1402 | if appeared == false then | |
| 1403 | standappear(thenoob) | |
| 1404 | wherto = hrp | |
| 1405 | addcfr = cf(0, 0, -3.75) | |
| 1406 | end | |
| 1407 | activu = true | |
| 1408 | wherto = hrp | |
| 1409 | addcfr = cf(0, 0, -3.5) | |
| 1410 | local ZAWRUA = Instance.new("Sound")
| |
| 1411 | ZAWRUA.SoundId = "rbxassetid://4142809172" | |
| 1412 | ZAWRUA.Volume = 3 | |
| 1413 | ZAWRUA.Parent = hrp | |
| 1414 | ZAWRUA:Play() | |
| 1415 | game.Debris:AddItem(ZAWRUA, 2.5) | |
| 1416 | local wate = Instance.new("Part")
| |
| 1417 | nooutline(wate) | |
| 1418 | wate.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 1419 | wate.Material = "Neon" | |
| 1420 | wate.Transparency = 1 | |
| 1421 | wate.BrickColor = BrickColor.new("New Yeller")
| |
| 1422 | wate.CFrame = rightarm.CFrame * cf(0, -1.5, 0) | |
| 1423 | wate.Anchored = true | |
| 1424 | wate.CanCollide = false | |
| 1425 | wate.Parent = modz | |
| 1426 | local wmesh = makemesh("Sphere", Vector3.new(5, 5, 5), nil, wate)
| |
| 1427 | coroutine.resume(coroutine.create(function() | |
| 1428 | repeat | |
| 1429 | swait() | |
| 1430 | wate.CFrame = rightarm.CFrame * cf(0, -1, 0) | |
| 1431 | wmesh.Scale = wmesh.Scale:lerp(Vector3.new(10, 10, 10), 0.5) | |
| 1432 | until not wate | |
| 1433 | end)) | |
| 1434 | coroutine.resume(coroutine.create(function() | |
| 1435 | local pt = {}
| |
| 1436 | for _ = 1, 10 do | |
| 1437 | local wp = Instance.new("Part")
| |
| 1438 | nooutline(wp) | |
| 1439 | wp.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 1440 | wp.Material = "Neon" | |
| 1441 | wp.Transparency = 1 | |
| 1442 | wp.BrickColor = BrickColor.new("New Yeller")
| |
| 1443 | wp.CFrame = wate.CFrame * ang(rd2(-100, 100) / 1000, rd2(-100, 100) / 1000, rd2(-100, 100) / 1000) * cf(0, -0.25, 0) | |
| 1444 | wp.Anchored = true | |
| 1445 | wp.CanCollide = false | |
| 1446 | wp.Parent = modz | |
| 1447 | local wmz = makemesh("Sphere", Vector3.new(0.5, 2, 0.5), nil, wp)
| |
| 1448 | table.insert(pt, wp) | |
| 1449 | table.insert(pt, wmz) | |
| 1450 | end | |
| 1451 | for m = 1, 45 do | |
| 1452 | swait() | |
| 1453 | for _, hey in pairs(pt) do | |
| 1454 | if hey.ClassName == "SpecialMesh" then | |
| 1455 | hey.Scale = hey.Scale + Vector3.new(0.005, 0.04, 0.005) | |
| 1456 | elseif hey.ClassName == "Part" then | |
| 1457 | hey.CFrame = wate.CFrame * ang(rd(rd2(-360, 360)), rd(rd2(-360, 360)), rd(rd2(-360, 360))) * cf(0, -m / 25, 0) | |
| 1458 | hey.Transparency = hey.Transparency - 0.015 | |
| 1459 | end | |
| 1460 | end | |
| 1461 | end | |
| 1462 | for m = 45, 50 do | |
| 1463 | swait() | |
| 1464 | for _, hey in pairs(pt) do | |
| 1465 | if hey.ClassName == "SpecialMesh" then | |
| 1466 | hey.Scale = hey.Scale + Vector3.new(0.025, 0.08, 0.025) | |
| 1467 | elseif hey.ClassName == "Part" then | |
| 1468 | hey.CFrame = wate.CFrame * ang(rd(rd2(-360, 360)), rd(rd2(-360, 360)), rd(rd2(-360, 360))) * cf(0, -m / 25, 0) | |
| 1469 | hey.Transparency = hey.Transparency + 0.2 | |
| 1470 | end | |
| 1471 | end | |
| 1472 | end | |
| 1473 | for _, AAA in pairs(pt) do | |
| 1474 | if AAA.ClassName == "Part" then | |
| 1475 | AAA:Destroy() | |
| 1476 | end | |
| 1477 | end | |
| 1478 | end)) | |
| 1479 | for _ = 1, 50 do | |
| 1480 | swait() | |
| 1481 | wmesh.Scale = Vector3.new(9, 9, 9) | |
| 1482 | wate.Transparency = wate.Transparency - 0.008 | |
| 1483 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(4), rd(-125)), 0.2) | |
| 1484 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(3), rd(115)), 0.2) | |
| 1485 | lerpz(nRS, "C0", RSC0 * cf(rd2(-1, 1) / 10, rd2(-1, 1) / 10, rd2(-1, 1) / 10) * ang(rd(rd2(-15, -5)), rd(rd2(-25, -15)), rd(rd2(95, 105))), 0.2) | |
| 1486 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 1487 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.2) | |
| 1488 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 1489 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.2) | |
| 1490 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 1491 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.2) | |
| 1492 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 1493 | end | |
| 1494 | local pooo = Instance.new("Sound")
| |
| 1495 | pooo.SoundId = "rbxassetid://1074184175" | |
| 1496 | pooo.Volume = 3 | |
| 1497 | pooo.Parent = hrp | |
| 1498 | pooo:Play() | |
| 1499 | game.Debris:AddItem(pooo, 2.5) | |
| 1500 | for _ = 1, 1 do | |
| 1501 | swait() | |
| 1502 | wate.Transparency = wate.Transparency + 0.15 | |
| 1503 | lerpz(nRJ, "C0", RJC0 * cf(0, -2, 0) * ang(rd(0), rd(10), rd(35)), 0.5) | |
| 1504 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(-7), rd(-30)), 0.5) | |
| 1505 | lerpz(nRS, "C0", RSC0 * cf(0.75, 0, 0.25) * ang(rd(10), rd(-80), rd(100)), 0.5) | |
| 1506 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.5) | |
| 1507 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.5) | |
| 1508 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1509 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.5) | |
| 1510 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1511 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.5) | |
| 1512 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1513 | end | |
| 1514 | local swoo = Instance.new("Part")
| |
| 1515 | nooutline(swoo) | |
| 1516 | swoo.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 1517 | swoo.Material = "Neon" | |
| 1518 | swoo.Transparency = 0.2 | |
| 1519 | swoo.BrickColor = BrickColor.new("Neon orange")
| |
| 1520 | swoo.CFrame = rightarm.CFrame * ang(rd(0), rd(-15), rd(240)) * cf(1.5, -2.5, 0) | |
| 1521 | swoo.Anchored = true | |
| 1522 | swoo.CanCollide = false | |
| 1523 | swoo.Parent = modz | |
| 1524 | local wmesh = makemesh("FileMesh", Vector3.new(0.013333333333333334, 0.015384615384615385, 0.025), "rbxassetid://576041905", swoo)
| |
| 1525 | local pli = Instance.new("PointLight")
| |
| 1526 | pli.Brightness = 2 | |
| 1527 | pli.Color = Color3.new(0.45098039215686275, 1, 0) | |
| 1528 | pli.Range = 10 | |
| 1529 | pli.Shadows = true | |
| 1530 | pli.Parent = swoo | |
| 1531 | hito(swoo, 5, 40, 0.15, rot.CFrame.lookVector * 80) | |
| 1532 | for _ = 1, 10 do | |
| 1533 | swait() | |
| 1534 | wate.Transparency = wate.Transparency + 0.05 | |
| 1535 | swoo.Transparency = swoo.Transparency + 0.075 | |
| 1536 | pli.Range = pli.Range - 1 | |
| 1537 | lerpz(nRJ, "C0", RJC0 * cf(0, -3, 0) * ang(rd(0), rd(10), rd(105)), 0.5) | |
| 1538 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(-7), rd(-65)), 0.5) | |
| 1539 | lerpz(nRS, "C0", RSC0 * cf(0.75, 0, 0.25) * ang(rd(10), rd(-30), rd(100)), 0.5) | |
| 1540 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.5) | |
| 1541 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.5) | |
| 1542 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1543 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.5) | |
| 1544 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1545 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.5) | |
| 1546 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1547 | end | |
| 1548 | wate:Destroy() | |
| 1549 | swoo:Destroy() | |
| 1550 | pli:Destroy() | |
| 1551 | swait(15) | |
| 1552 | wherto = hrp | |
| 1553 | addcfr = cf(-2, 1, 2) | |
| 1554 | activu = false | |
| 1555 | end | |
| 1556 | game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=188959462")
| |
| 1557 | game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=616594208")
| |
| 1558 | game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=616576400")
| |
| 1559 | game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=291088606")
| |
| 1560 | ||
| 1561 | function hito(partoz, magn, dmg, debtim, bodyfdire) | |
| 1562 | for _, guy in pairs(workspace:GetChildren()) do | |
| 1563 | if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
| |
| 1564 | do | |
| 1565 | local humz = guy:FindFirstChild("Humanoid")
| |
| 1566 | local horp = guy:FindFirstChild("HumanoidRootPart")
| |
| 1567 | TakeDamage(humz, dmg) | |
| 1568 | local db = Instance.new("StringValue")
| |
| 1569 | db.Name = "alabo" | |
| 1570 | db.Parent = horp | |
| 1571 | delay(debtim, function() | |
| 1572 | db:Destroy() | |
| 1573 | end) | |
| 1574 | local b = Instance.new("Part")
| |
| 1575 | nooutline(b) | |
| 1576 | b.Size = Vector3.new(0.5, 0.1, 0.2) | |
| 1577 | b.Transparency = 0.25 | |
| 1578 | b.Anchored = true | |
| 1579 | b.CanCollide = false | |
| 1580 | b.BrickColor = BrickColor.new("Institutional white")
| |
| 1581 | b.Material = "ForceField" | |
| 1582 | b.Locked = true | |
| 1583 | b.CFrame = horp.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1)) | |
| 1584 | b.Parent = modz | |
| 1585 | local c = Instance.new("SpecialMesh")
| |
| 1586 | c.MeshType = "Sphere" | |
| 1587 | c.Scale = Vector3.new(1, 1, 1) | |
| 1588 | c.Parent = b | |
| 1589 | game.Debris:AddItem(b, 1) | |
| 1590 | if bodyfdire then | |
| 1591 | local boopyve = Instance.new("BodyVelocity")
| |
| 1592 | boopyve.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
| 1593 | boopyve.P = math.huge | |
| 1594 | boopyve.Velocity = bodyfdire | |
| 1595 | boopyve.Parent = horp | |
| 1596 | game.Debris:AddItem(boopyve, debtim) | |
| 1597 | end | |
| 1598 | local bet = Instance.new("Sound")
| |
| 1599 | bet.Pitch = rd2(9, 11) / 10 | |
| 1600 | bet.Volume = rd2(12, 14) / 10 | |
| 1601 | bet.SoundId = "rbxassetid://165604684" | |
| 1602 | bet.Parent = b | |
| 1603 | bet:Play() | |
| 1604 | coroutine.resume(coroutine.create(function() | |
| 1605 | for _ = 1, 5 do | |
| 1606 | swait() | |
| 1607 | b.Transparency = b.Transparency + 0.15 | |
| 1608 | c.Scale = c.Scale + Vector3.new(0.8 * dmg, 0.8 * dmg, 0.8 * dmg) | |
| 1609 | end | |
| 1610 | end)) | |
| 1611 | end | |
| 1612 | end | |
| 1613 | end | |
| 1614 | end | |
| 1615 | function hitoof(partoz, magn, dmg, debtim, bodyfdire) | |
| 1616 | for _, guy in pairs(workspace:GetChildren()) do | |
| 1617 | if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
| |
| 1618 | do | |
| 1619 | local humz = guy:FindFirstChild("Humanoid")
| |
| 1620 | local torso11 = guy:FindFirstChild("Torso") or guy:FindFirstChild("UpperTorso")
| |
| 1621 | local horp = guy:FindFirstChild("HumanoidRootPart")
| |
| 1622 | TakeDamage(humz, dmg * 6) | |
| 1623 | local db = Instance.new("StringValue")
| |
| 1624 | db.Name = "alabo" | |
| 1625 | db.Parent = horp | |
| 1626 | delay(debtim, function() | |
| 1627 | db:Destroy() | |
| 1628 | end) | |
| 1629 | local pa = Instance.new("Part",humz)
| |
| 1630 | torso11.Transparency = 1 | |
| 1631 | pa.Name = "donut" | |
| 1632 | pa.BrickColor = torso11.BrickColor | |
| 1633 | pa.Material = "Plastic" | |
| 1634 | local me = Instance.new("SpecialMesh",pa)
| |
| 1635 | me.MeshType = "FileMesh" | |
| 1636 | me.MeshId = "rbxassetid://5018497801" | |
| 1637 | me.Scale = Vector3.new(1,1,1) | |
| 1638 | local we = Instance.new("Weld")
| |
| 1639 | we.Parent = pa | |
| 1640 | we.Part0 = torso11 | |
| 1641 | we.Part1 = pa | |
| 1642 | we.C1 = CFrame.new(0,0,0) | |
| 1643 | we.C0 = CFrame.Angles(0,0,0) | |
| 1644 | local b = Instance.new("Part")
| |
| 1645 | nooutline(b) | |
| 1646 | b.Size = Vector3.new(6, 1, 2) | |
| 1647 | b.Transparency = 0.25 | |
| 1648 | b.Anchored = true | |
| 1649 | b.CanCollide = false | |
| 1650 | b.BrickColor = BrickColor.new("Crimson")
| |
| 1651 | b.Material = "ForceField" | |
| 1652 | b.Locked = true | |
| 1653 | b.CFrame = horp.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1)) | |
| 1654 | b.Parent = modz | |
| 1655 | local c = Instance.new("SpecialMesh")
| |
| 1656 | c.MeshType = "Sphere" | |
| 1657 | c.Scale = Vector3.new(3.5, 3.5, 3.5) | |
| 1658 | c.Parent = b | |
| 1659 | game.Debris:AddItem(b, 1) | |
| 1660 | if bodyfdire then | |
| 1661 | local boopyve = Instance.new("BodyVelocity")
| |
| 1662 | boopyve.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
| 1663 | boopyve.P = math.huge | |
| 1664 | boopyve.Velocity = bodyfdire | |
| 1665 | boopyve.Parent = horp | |
| 1666 | game.Debris:AddItem(boopyve, debtim) | |
| 1667 | end | |
| 1668 | local bet = Instance.new("Sound")
| |
| 1669 | bet.Pitch = rd2(9, 11) / 10 | |
| 1670 | bet.Volume = rd2(12, 14) / 10 | |
| 1671 | bet.SoundId = "rbxassetid://2553988018" | |
| 1672 | bet.Parent = b | |
| 1673 | bet:Play() | |
| 1674 | coroutine.resume(coroutine.create(function() | |
| 1675 | for _ = 1, 5 do | |
| 1676 | swait() | |
| 1677 | b.Transparency = b.Transparency + 0.15 | |
| 1678 | c.Scale = c.Scale + Vector3.new(0.8 * dmg, 0.8 * dmg, 0.8 * dmg) | |
| 1679 | end | |
| 1680 | end)) | |
| 1681 | end | |
| 1682 | end | |
| 1683 | end | |
| 1684 | end | |
| 1685 | mouse.KeyDown:connect(function(key) | |
| 1686 | if human.Health <= 0 then | |
| 1687 | return | |
| 1688 | end | |
| 1689 | if key == "f" then | |
| 1690 | standappear(thenoob) | |
| 1691 | end | |
| 1692 | if key == "r" then | |
| 1693 | MUDA() | |
| 1694 | end | |
| 1695 | if key == "q" then | |
| 1696 | quickhit() | |
| 1697 | end | |
| 1698 | if key == "e" then | |
| 1699 | block() | |
| 1700 | end | |
| 1701 | if key == "v" then | |
| 1702 | cability() | |
| 1703 | end | |
| 1704 | if key == "j" then | |
| 1705 | THREATENING() | |
| 1706 | end | |
| 1707 | if key == "k" then | |
| 1708 | konodioda:Play() | |
| 1709 | end | |
| 1710 | if key == "l" then | |
| 1711 | bast:Play() | |
| 1712 | end | |
| 1713 | if key == "n" then | |
| 1714 | bastt:Play() | |
| 1715 | end | |
| 1716 | if key == "b" then | |
| 1717 | diovania:Play() | |
| 1718 | end | |
| 1719 | if key == "m" then | |
| 1720 | mudi:Play() | |
| 1721 | end | |
| 1722 | if key == "y" then | |
| 1723 | musicc:Play() | |
| 1724 | end | |
| 1725 | if key == "p" then | |
| 1726 | zaworld:Play() | |
| 1727 | end | |
| 1728 | end) | |
| 1729 | tool.Equipped:connect(function() | |
| 1730 | selected = true | |
| 1731 | end) | |
| 1732 | tool.Unequipped:connect(function() | |
| 1733 | selected = false | |
| 1734 | end) | |
| 1735 | sine = 0 | |
| 1736 | charge = 1 | |
| 1737 | cos = math.cos | |
| 1738 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 1739 | if POSU == false then | |
| 1740 | local checkfloor = Ray.new(hrp.Position, hrp.CFrame.upVector * -4) | |
| 1741 | local checkpart = workspace:FindPartOnRayWithIgnoreList(checkfloor, {chr}, false, false)
| |
| 1742 | local checkstate = human:GetState() | |
| 1743 | if checkstate.Value == 13 then | |
| 1744 | animpose = "Sitting" | |
| 1745 | elseif hrp.Velocity.y > 1 and checkpart == nil then | |
| 1746 | animpose = "Jumping" | |
| 1747 | elseif hrp.Velocity.y < -1 and checkpart == nil then | |
| 1748 | animpose = "Falling" | |
| 1749 | elseif 1 > (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude then | |
| 1750 | animpose = "Idle" | |
| 1751 | elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 35 then | |
| 1752 | animpose = "Walking" | |
| 1753 | elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude > 35 then | |
| 1754 | animpose = "TooFast" | |
| 1755 | end | |
| 1756 | if animpose == "Idle" then | |
| 1757 | sine = sine + charge | |
| 1758 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.03 * cos(sine / 60)) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1759 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(3 - 3 * cos(sine / 60)), rd(0), rd(0)), 0.3) | |
| 1760 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(2 - 2 * cos(sine / 60)), rd(2 - 2 * cos(sine / 60)), rd(2 * cos(sine / 60))), 0.3) | |
| 1761 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1762 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(2 - 2 * cos(sine / 60)), rd(-2 - 2 * cos(sine / 60)), rd(2 * cos(sine / 60))), 0.3) | |
| 1763 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1764 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-3 - 1 * cos(sine / 60)), rd(-5 - 1 * cos(sine / 60)), rd(1 * cos(sine / 60))), 0.3) | |
| 1765 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1766 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-3 - 1 * cos(sine / 60)), rd(5 - 1 * cos(sine / 60)), rd(1 * cos(sine / 60))), 0.3) | |
| 1767 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1768 | end | |
| 1769 | if animpose == "Walking" then | |
| 1770 | sine = sine + charge | |
| 1771 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.03 * cos(sine / 60)) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1772 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(3 - 3 * cos(sine / 60)), rd(0), rd(0)), 0.3) | |
| 1773 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-2 - 2 * cos(sine / 60)), rd(2 - 2 * cos(sine / 60)), rd(30 * cos(sine / 10))), 0.3) | |
| 1774 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1775 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-2 - 2 * cos(sine / 60)), rd(-2 - 2 * cos(sine / 60)), rd(30 * cos(sine / 10))), 0.3) | |
| 1776 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1777 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(-1 - 1 * cos(sine / 60)), rd(-30 * cos(sine / 10))), 0.6) | |
| 1778 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1779 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(1 - 1 * cos(sine / 60)), rd(-30 * cos(sine / 10))), 0.6) | |
| 1780 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1781 | end | |
| 1782 | if animpose == "Jumping" then | |
| 1783 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.3) | |
| 1784 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(0)), 0.3) | |
| 1785 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(7), rd(-5), rd(2)), 0.3) | |
| 1786 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1787 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(7), rd(5), rd(-3)), 0.3) | |
| 1788 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1789 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-10)), 0.3) | |
| 1790 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1791 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(20)), 0.3) | |
| 1792 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1793 | end | |
| 1794 | if animpose == "Falling" then | |
| 1795 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(0)), 0.3) | |
| 1796 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.3) | |
| 1797 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(7), rd(-5), rd(2)), 0.3) | |
| 1798 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1799 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(7), rd(5), rd(-3)), 0.3) | |
| 1800 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1801 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(10)), 0.3) | |
| 1802 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1803 | lerpz(LH, "C0", LHC0 * cf(-0.65, 0.75, 0) * ang(rd(0), rd(0), rd(20)), 0.3) | |
| 1804 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1805 | end | |
| 1806 | if animpose == "TooFast" then | |
| 1807 | lerpz(RJ, "C0", RJC0 * cf(0, 0, -1.5) * ang(rd(20), rd(0), rd(0)), 0.3) | |
| 1808 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.3) | |
| 1809 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(-10), rd(-10)), 0.3) | |
| 1810 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1811 | lerpz(LS, "C0", LSC0 * cf(0, -0.75, 0) * ang(rd(10), rd(-80), rd(-10)), 0.3) | |
| 1812 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(30), rd(0), rd(0)), 0.3) | |
| 1813 | lerpz(RH, "C0", RHC0 * cf(0.75, 1.5, 0) * ang(rd(0), rd(0), rd(30)), 0.3) | |
| 1814 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1815 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(50)), 0.3) | |
| 1816 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1817 | end | |
| 1818 | if animpose == "Sitting" then | |
| 1819 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1820 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1821 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3) | |
| 1822 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1823 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3) | |
| 1824 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1825 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3) | |
| 1826 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1827 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3) | |
| 1828 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1829 | end | |
| 1830 | end | |
| 1831 | if appeared == false and activu == false then | |
| 1832 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1833 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1834 | lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1835 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1836 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1837 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1838 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1839 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1840 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1841 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1842 | elseif appeared == true and activu == false then | |
| 1843 | sine = sine + charge | |
| 1844 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0.05 * cos(sine / 90)) * ang(rd(1 - 1 * cos(sine / 90)), rd(0), rd(-5)), 0.3) | |
| 1845 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(2 - 2 * cos(sine / 90)), rd(0), rd(4)), 0.3) | |
| 1846 | lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(2 * cos(sine / 110)), rd(-3 - 3 * cos(sine / 100)), rd(0)), 0.3) | |
| 1847 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1848 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(2 * cos(sine / 110)), rd(3 - 3 * cos(sine / 100)), rd(0)), 0.3) | |
| 1849 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1850 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-2 - 2 * cos(sine / 100)), rd(-3 - 3 * cos(sine / 100)), rd(-2 - 2 * cos(sine / 100))), 0.3) | |
| 1851 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1852 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-2 - 2 * cos(sine / 100)), rd(3 - 3 * cos(sine / 100)), rd(2 - 2 * cos(sine / 100))), 0.3) | |
| 1853 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1854 | end | |
| 1855 | end) | |
| 1856 | function dispose() | |
| 1857 | for i, v in pairs(getfenv(0)) do | |
| 1858 | v = nil | |
| 1859 | end | |
| 1860 | error = nil | |
| 1861 | print = nil | |
| 1862 | warn = nil | |
| 1863 | end | |
| 1864 | human.Died:connect(dispose) | |
| 1865 | chr.Changed:connect(function() | |
| 1866 | if chr.Parent == nil then | |
| 1867 | dispose() | |
| 1868 | end | |
| 1869 | end) | |
| 1870 | ||
| 1871 | local me = game.Players.LocalPlayer | |
| 1872 | local mouse = me:GetMouse() | |
| 1873 | local char = me.Character | |
| 1874 | local hum = char:FindFirstChild('Humanoid')
| |
| 1875 | local hd = char:FindFirstChild('Head')
| |
| 1876 | local ts = char:FindFirstChild('Torso') or char:FindFirstChild('UpperTorso')
| |
| 1877 | local ra = char:FindFirstChild('Right Arm') or char:FindFirstChild('RightUpperArm')
| |
| 1878 | local la = char:FindFirstChild('Left Arm') or char:FindFirstChild('LeftUpperArm')
| |
| 1879 | local rl = char:FindFirstChild('Right Leg') or char:FindFirstChild('RightUpperLeg')
| |
| 1880 | local ll = char:FindFirstChild('Left Leg') or char:FindFirstChild('LeftUpperLeg')
| |
| 1881 | local root = char:FindFirstChild('HumanoidRootPart')
| |
| 1882 | local rj = root:FindFirstChild('RootJoint')
| |
| 1883 | local rs = ts:FindFirstChild('Right Shoulder')
| |
| 1884 | local ls = ts:FindFirstChild('Left Shoulder')
| |
| 1885 | local rh = ts:FindFirstChild('Right Hip')
| |
| 1886 | local lh = ts:FindFirstChild('Left Hip')
| |
| 1887 | local nk = ts:FindFirstChild('Neck')
| |
| 1888 | local anim = char:FindFirstChild('Animate')
| |
| 1889 | local base = workspace:FindFirstChild('Baseplate') or workspace:FindFirstChild('Base')
| |
| 1890 | local cantimestop = true | |
| 1891 | local cooldown = false | |
| 1892 | local cc = workspace.CurrentCamera | |
| 1893 | local cos = math.cos | |
| 1894 | local sin = math.sin | |
| 1895 | local rad = math.rad | |
| 1896 | local rand = math.random | |
| 1897 | local cfn = CFrame.new | |
| 1898 | local cfa = CFrame.Angles | |
| 1899 | local v3 = Vector3.new | |
| 1900 | local str = string | |
| 1901 | local unfreeze = {}
| |
| 1902 | local health = {}
| |
| 1903 | local connect = {}
| |
| 1904 | local sine = 0 | |
| 1905 | local effects = nil | |
| 1906 | if char:FindFirstChild('Effects') then
| |
| 1907 | effects = char:FindFirstChild('Effects')
| |
| 1908 | else | |
| 1909 | effects = Instance.new('Folder', char)
| |
| 1910 | effects.Name = 'Effects' | |
| 1911 | end | |
| 1912 | ||
| 1913 | ArtificialHB = Instance.new('BindableEvent', script)
| |
| 1914 | ArtificialHB.Name = 'Heartbeat' | |
| 1915 | script:WaitForChild('Heartbeat')
| |
| 1916 | ||
| 1917 | frame = 1 / 60 | |
| 1918 | tf = 0 | |
| 1919 | allowframeloss = false | |
| 1920 | tossremainder = false | |
| 1921 | lastframe = tick() | |
| 1922 | script.Heartbeat:Fire() | |
| 1923 | ||
| 1924 | game:GetService('RunService').Heartbeat:connect(function(s, p)
| |
| 1925 | tf = tf + s | |
| 1926 | if tf >= frame then | |
| 1927 | if allowframeloss then | |
| 1928 | script.Heartbeat:Fire() | |
| 1929 | lastframe = tick() | |
| 1930 | else | |
| 1931 | for i = 1, math.floor(tf / frame) do | |
| 1932 | script.Heartbeat:Fire() | |
| 1933 | end | |
| 1934 | lastframe = tick() | |
| 1935 | end | |
| 1936 | if tossremainder then | |
| 1937 | tf = 0 | |
| 1938 | else | |
| 1939 | tf = tf - frame * math.floor(tf / frame) | |
| 1940 | end | |
| 1941 | end | |
| 1942 | end) | |
| 1943 | ||
| 1944 | function swait(t) | |
| 1945 | if t == 0 or t == nil then | |
| 1946 | script.Heartbeat.Event:Wait() | |
| 1947 | else | |
| 1948 | for i = 0, t do | |
| 1949 | script.Heartbeat.Event:Wait() | |
| 1950 | end | |
| 1951 | end | |
| 1952 | end | |
| 1953 | ||
| 1954 | function sound(id, parent, vol, pitch, timepos) | |
| 1955 | local s = Instance.new('Sound')
| |
| 1956 | s.Parent = parent | |
| 1957 | s.SoundId = id | |
| 1958 | s.Volume = vol | |
| 1959 | s.PlaybackSpeed = pitch | |
| 1960 | s.TimePosition = timepos | |
| 1961 | s:Play() | |
| 1962 | game.Debris:AddItem(s, s.PlaybackSpeed + 5) | |
| 1963 | end | |
| 1964 | ||
| 1965 | function camshake(duration, intensity) | |
| 1966 | coroutine.wrap(function() | |
| 1967 | for i = 1, duration do | |
| 1968 | hum.CameraOffset = hum.CameraOffset:lerp(v3(rand(-1, 1), rand(-1, 1), rand(-1, 1)), 0.1 * intensity) | |
| 1969 | swait() | |
| 1970 | end | |
| 1971 | hum.CameraOffset = v3(0, 0, 0) | |
| 1972 | end)() | |
| 1973 | end | |
| 1974 | ||
| 1975 | function findascendant(obj, class) | |
| 1976 | local par = obj | |
| 1977 | local ret = nil | |
| 1978 | pcall(function() | |
| 1979 | repeat | |
| 1980 | par = par.Parent | |
| 1981 | if par:IsA(class) then | |
| 1982 | ret = par | |
| 1983 | break | |
| 1984 | end | |
| 1985 | until par == nil | |
| 1986 | end) | |
| 1987 | return ret | |
| 1988 | end | |
| 1989 | ||
| 1990 | local TimeStopSounds = {
| |
| 1991 | ||
| 1992 | TimeStop = 'rbxassetid://840567549'; | |
| 1993 | TimeResume = 'rbxassetid://864569342'; | |
| 1994 | ||
| 1995 | } | |
| 1996 | ||
| 1997 | function timestop() | |
| 1998 | cantimestop = false | |
| 1999 | coroutine.wrap(function() | |
| 2000 | local effect1 = Instance.new('Part', effects)
| |
| 2001 | effect1.Shape = 'Ball' | |
| 2002 | effect1.Material = 'ForceField' | |
| 2003 | effect1.Anchored = true | |
| 2004 | effect1.CanCollide = false | |
| 2005 | effect1.Size = v3(0, 0, 0) | |
| 2006 | effect1.Transparency = 0 | |
| 2007 | sound(TimeStopSounds.TimeStop, ts, 5, 1, 0) | |
| 2008 | for i,v in pairs(workspace:GetDescendants()) do | |
| 2009 | if v:IsA('BasePart') then
| |
| 2010 | if not v.Anchored and not findascendant(v, 'Tool') and not findascendant(v, 'HopperBin') then | |
| 2011 | if not v:IsDescendantOf(char) then | |
| 2012 | v.Anchored = true | |
| 2013 | table.insert(unfreeze, v) | |
| 2014 | end | |
| 2015 | end | |
| 2016 | end | |
| 2017 | if v:IsA('Sound') then
| |
| 2018 | if not v:IsDescendantOf(char) then | |
| 2019 | if v.IsPlaying then | |
| 2020 | v:Pause() | |
| 2021 | table.insert(unfreeze, v) | |
| 2022 | end | |
| 2023 | end | |
| 2024 | end | |
| 2025 | if v:IsA('Humanoid') then
| |
| 2026 | local last = v.Health | |
| 2027 | local always = last | |
| 2028 | local e = v.HealthChanged:connect(function(hp) | |
| 2029 | if last - hp > 0 then | |
| 2030 | table.insert(health, {humanoid = v, change = last - hp})
| |
| 2031 | end | |
| 2032 | last = hp | |
| 2033 | v.Health = always | |
| 2034 | end) | |
| 2035 | table.insert(connect, e) | |
| 2036 | end | |
| 2037 | if v:IsA('BodyVelocity') then
| |
| 2038 | local lastforce = v.MaxForce | |
| 2039 | v.MaxForce = v3(0, 0, 0) | |
| 2040 | table.insert(unfreeze, {force = v, change = lastforce})
| |
| 2041 | end | |
| 2042 | if v:IsA('BodyPosition') then
| |
| 2043 | local lastposition = v.MaxForce | |
| 2044 | local lastD = v.D | |
| 2045 | local lastP = v.P | |
| 2046 | v.MaxForce = v3(0, 0, 0) | |
| 2047 | v.D = 0 | |
| 2048 | v.P = 0 | |
| 2049 | table.insert(unfreeze, {position = v, change = lastposition, dchange = lastD, pchange = lastP})
| |
| 2050 | end | |
| 2051 | if v:IsA('BodyForce') then
| |
| 2052 | local lastforce2 = v.Force | |
| 2053 | v.Force = v3(0, 0, 0) | |
| 2054 | table.insert(unfreeze, {force2 = v, fchange = lastforce2})
| |
| 2055 | end | |
| 2056 | end | |
| 2057 | ee = workspace.DescendantAdded:Connect(function(v) | |
| 2058 | if v:IsA('BasePart') then
| |
| 2059 | if not v.Anchored and not findascendant(v, 'Tool') and not findascendant(v, 'HopperBin') then | |
| 2060 | if not v:IsDescendantOf(char) then | |
| 2061 | v.Anchored = true | |
| 2062 | table.insert(unfreeze, v) | |
| 2063 | end | |
| 2064 | end | |
| 2065 | end | |
| 2066 | if v:IsA('Sound') then
| |
| 2067 | if not v:IsDescendantOf(char) then | |
| 2068 | if v.IsPlaying then | |
| 2069 | v:Pause() | |
| 2070 | table.insert(unfreeze, v) | |
| 2071 | end | |
| 2072 | end | |
| 2073 | end | |
| 2074 | if v:IsA('Humanoid') then
| |
| 2075 | local last = v.Health | |
| 2076 | local always = last | |
| 2077 | local e = v.HealthChanged:connect(function(hp) | |
| 2078 | if last - hp > 0 then | |
| 2079 | table.insert(health, {humanoid = v, change = last - hp})
| |
| 2080 | end | |
| 2081 | last = hp | |
| 2082 | v.Health = always | |
| 2083 | end) | |
| 2084 | table.insert(connect, e) | |
| 2085 | end | |
| 2086 | end) | |
| 2087 | coroutine.wrap(function() | |
| 2088 | for i = 1, 10 do | |
| 2089 | camshake(70, 2) | |
| 2090 | swait(5) | |
| 2091 | end | |
| 2092 | end) | |
| 2093 | coroutine.wrap(function() | |
| 2094 | for i = 1, 1000 do | |
| 2095 | effect1.CFrame = ts.CFrame | |
| 2096 | effect1.Size = effect1.Size:lerp(v3(50, 50, 50), 0.015) | |
| 2097 | effect1.Transparency = effect1.Transparency + 0.010 | |
| 2098 | if effect1.Transparency >= 1 then | |
| 2099 | effect1:Destroy() | |
| 2100 | end | |
| 2101 | swait() | |
| 2102 | end | |
| 2103 | end)() | |
| 2104 | wait(0.5) | |
| 2105 | local effect2 = Instance.new('Part', effects)
| |
| 2106 | local effect3 = Instance.new('Part', effects)
| |
| 2107 | effect3.Shape = 'Ball' | |
| 2108 | effect3.Material = 'ForceField' | |
| 2109 | effect3.Anchored = true | |
| 2110 | effect3.CanCollide = false | |
| 2111 | effect3.Size = v3(0, 0, 0) | |
| 2112 | effect3.Transparency = 0 | |
| 2113 | effect2.Shape = 'Ball' | |
| 2114 | effect2.Material = 'ForceField' | |
| 2115 | effect2.Anchored = true | |
| 2116 | effect2.CanCollide = false | |
| 2117 | effect2.Size = v3(40, 40, 40) | |
| 2118 | effect2.Transparency = 1 | |
| 2119 | coroutine.wrap(function() | |
| 2120 | for i = 1, 15 do | |
| 2121 | effect2.Transparency = effect2.Transparency - 0.11 | |
| 2122 | swait() | |
| 2123 | end | |
| 2124 | end)() | |
| 2125 | coroutine.wrap(function() | |
| 2126 | for i = 1, 1000 do | |
| 2127 | effect3.CFrame = ts.CFrame | |
| 2128 | effect3.Size = effect3.Size:lerp(v3(50, 50, 50), 0.015) | |
| 2129 | effect3.Transparency = effect3.Transparency + 0.010 | |
| 2130 | if effect3.Transparency >= 1 then | |
| 2131 | effect3:Destroy() | |
| 2132 | end | |
| 2133 | swait() | |
| 2134 | end | |
| 2135 | end)() | |
| 2136 | for i = 1, 1000 do | |
| 2137 | effect2.CFrame = ts.CFrame | |
| 2138 | effect2.Size = effect2.Size:lerp(v3(0, 0, 0), 0.015) | |
| 2139 | effect2.Transparency = effect2.Transparency + 0.015 | |
| 2140 | if effect2.Transparency >= 1 then | |
| 2141 | effect2:Destroy() | |
| 2142 | end | |
| 2143 | swait() | |
| 2144 | end | |
| 2145 | end)() | |
| 2146 | wait(1.5) -- cooldown | |
| 2147 | cooldown = true | |
| 2148 | end | |
| 2149 | ||
| 2150 | function timeresume() | |
| 2151 | coroutine.wrap(function() | |
| 2152 | sound(TimeStopSounds.TimeResume, ts, 5, 1, 0.15) | |
| 2153 | coroutine.wrap(function() | |
| 2154 | for i = 1, 10 do | |
| 2155 | camshake(20, 0.3) | |
| 2156 | swait(5) | |
| 2157 | end | |
| 2158 | end) | |
| 2159 | coroutine.wrap(function() | |
| 2160 | wait(1.5) | |
| 2161 | for i,v in pairs(unfreeze) do | |
| 2162 | pcall(function() | |
| 2163 | v.Anchored = false | |
| 2164 | end) | |
| 2165 | pcall(function() | |
| 2166 | v:Resume() | |
| 2167 | end) | |
| 2168 | end | |
| 2169 | for i,v in pairs(connect) do | |
| 2170 | pcall(function() | |
| 2171 | v:Disconnect() | |
| 2172 | end) | |
| 2173 | end | |
| 2174 | for i,v in pairs(health) do | |
| 2175 | pcall(function() | |
| 2176 | local humanoid = v.humanoid | |
| 2177 | humanoid.Health = humanoid.Health - v.change | |
| 2178 | if humanoid.Parent:FindFirstChild('Health') then
| |
| 2179 | pcall(function() | |
| 2180 | humanoid.Parent.Health.Disabled = false | |
| 2181 | end) | |
| 2182 | end | |
| 2183 | end) | |
| 2184 | end | |
| 2185 | pcall(function() | |
| 2186 | ee:Disconnect() | |
| 2187 | end) | |
| 2188 | health = {}
| |
| 2189 | unfreeze = {}
| |
| 2190 | end)() | |
| 2191 | cantimestop = true | |
| 2192 | end)() | |
| 2193 | wait(1.5) -- cooldown | |
| 2194 | cooldown = false | |
| 2195 | end | |
| 2196 | ||
| 2197 | mouse.KeyDown:connect(function(key) | |
| 2198 | if str.lower(key) == 'g' and cantimestop and cooldown == false then | |
| 2199 | timestop() | |
| 2200 | elseif str.lower(key) == 'g' and cantimestop == false and cooldown then | |
| 2201 | timeresume() | |
| 2202 | end | |
| 2203 | end) |