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://276263776" |
| 298 | + | konodioda.SoundId = "rbxassetid://4681979771" |
| 299 | konodioda.Volume = 3.5 | |
| 300 | konodioda.Parent = hrp | |
| 301 | local bast = Instance.new("Sound")
| |
| 302 | - | bast.SoundId = "rbxassetid://616576465" |
| 302 | + | bast.SoundId = "rbxassetid://4801002524" |
| 303 | - | bast.Volume = 0.5 |
| 303 | + | bast.Volume = 3.5 |
| 304 | bast.Parent = hrp | |
| 305 | local bastt = Instance.new("Sound")
| |
| 306 | - | zaworld.SoundId = "rbxassetid://616576400" |
| 306 | + | bastt.SoundId = "rbxassetid://4876266463" |
| 307 | - | zaworld.Volume = 0.8 |
| 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 | - | me.MeshId = "rbxassetid://886288384" |
| 372 | + | |
| 373 | - | me.TextureId = "rbxassetid://886289004" |
| 373 | + | |
| 374 | - | me.Scale = Vector3.new(0.11,0.1,0.08) |
| 374 | + | |
| 375 | end | |
| 376 | end | |
| 377 | ||
| 378 | ---- Dio Hair | |
| 379 | - | we.C1 = CFrame.new(-.1,0,-.2) |
| 379 | + | |
| 380 | pa.Name = "Hair" | |
| 381 | pa.BrickColor = BrickColor.new("Bright yellow")
| |
| 382 | pa.Material = "Marble" | |
| 383 | local me = Instance.new("SpecialMesh",pa)
| |
| 384 | - | sh.ShirtTemplate = "rbxassetid://692869619" |
| 384 | + | |
| 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 | - | head.BrickColor = BrickColor.new("Sand blue")
|
| 406 | + | |
| 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 | - | mp.BrickColor = BrickColor.new("Daisy orange")
|
| 422 | + | |
| 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 | - | me.BrickColor = BrickColor.new("Daisy orange")
|
| 438 | + | |
| 439 | mask.MeshType = "FileMesh" | |
| 440 | mask.Scale = Vector3.new(1, 1, 1) | |
| 441 | local mw = Instance.new("Weld")
| |
| 442 | mw.Parent = mask | |
| 443 | - | eyes.TextureId = "rbxassetid://4994051623" |
| 443 | + | |
| 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 | - | torso.BrickColor = BrickColor.new("Sand blue")
|
| 460 | + | |
| 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 | - | leftarm.BrickColor = BrickColor.new("Sand blue")
|
| 473 | + | |
| 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 | - | rightarm.BrickColor = BrickColor.new("Sand blue")
|
| 486 | + | |
| 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 | - | leftleg.BrickColor = BrickColor.new("Sand blue")
|
| 499 | + | |
| 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 | - | rightleg.BrickColor = BrickColor.new("Sand blue")
|
| 512 | + | |
| 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 | - | raemblem.BrickColor = BrickColor.new("Daisy orange")
|
| 544 | + | |
| 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 | - | tors1.BrickColor = BrickColor.new("Daisy orange")
|
| 565 | + | |
| 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 | - | arm1.BrickColor = BrickColor.new("Daisy orange")
|
| 579 | + | |
| 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 | - | arm2.BrickColor = BrickColor.new("Daisy orange")
|
| 593 | + | |
| 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 | - | leg1.BrickColor = BrickColor.new("Daisy orange")
|
| 607 | + | |
| 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 | - | leg2.BrickColor = BrickColor.new("Daisy orange")
|
| 621 | + | |
| 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 | - | apear.SoundId = "rbxassetid://463010917" |
| 664 | + | |
| 665 | local nRH = ntorso:FindFirstChild("Right Hip")
| |
| 666 | - | apear.Volume = 1.25 |
| 666 | + | |
| 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 | function quickhit() | |
| 724 | if selected == false or activu == true then | |
| 725 | return | |
| 726 | - | ZAWRU.SoundId = "rbxassetid://1277342512" |
| 726 | + | |
| 727 | if appeared == false then | |
| 728 | standappear(thenoob) | |
| 729 | ||
| 730 | wherto = hrp | |
| 731 | addcfr = cf(2, 1, 2) | |
| 732 | end | |
| 733 | - | pooo.Pitch = 1 |
| 733 | + | |
| 734 | activu = true | |
| 735 | wherto = hrp | |
| 736 | addcfr = cf(0, 0, -3.5) | |
| 737 | local ZAWRU = Instance.new("Sound")
| |
| 738 | ZAWRU.SoundId = "rbxassetid://2553983089" | |
| 739 | ZAWRU.TimePosition = 0 | |
| 740 | ZAWRU.Volume = 3 | |
| 741 | ZAWRU.Parent = hrp | |
| 742 | ZAWRU:Play() | |
| 743 | local pooo = Instance.new("Sound")
| |
| 744 | pooo.SoundId = "rbxassetid://0" | |
| 745 | pooo.Pitch = 1.5 | |
| 746 | pooo.Volume = 5 | |
| 747 | pooo.Parent = hrp | |
| 748 | pooo:Play() | |
| 749 | game.Debris:AddItem(pooo, 2.5) | |
| 750 | for _ = 1, 7 do | |
| 751 | swait(5) | |
| 752 | lerpz(nRJ, "C0", RJC0 * cf(0, 1.25, 0) * ang(rd(0), rd(4), rd(-85)), 0.75) | |
| 753 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(3), rd(75)), 0.75) | |
| 754 | lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(100)), 0.75) | |
| 755 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 756 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.75) | |
| 757 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 758 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.75) | |
| 759 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 760 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.75) | |
| 761 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 762 | end | |
| 763 | for _ = 1, 8 do | |
| 764 | swait() | |
| 765 | - | swait(200) |
| 765 | + | |
| 766 | lerpz(nRJ, "C0", RJC0 * cf(0, -1, 0) * ang(rd(0), rd(10), rd(75)), 0.75) | |
| 767 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(-7), rd(-65)), 0.75) | |
| 768 | lerpz(nRS, "C0", RSC0 * cf(0.75, 0, 0.25) * ang(rd(10), rd(-60), rd(100)), 0.75) | |
| 769 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(50), rd(0)), 0.75) | |
| 770 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.75) | |
| 771 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 772 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.75) | |
| 773 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 774 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.75) | |
| 775 | - | POSU = true |
| 775 | + | |
| 776 | end | |
| 777 | swait(250) | |
| 778 | wherto = hrp | |
| 779 | addcfr = cf(-2, 1, 2) | |
| 780 | activu = false | |
| 781 | end | |
| 782 | function THREATENING() | |
| 783 | if selected == false and cancarry == true then | |
| 784 | return | |
| 785 | end | |
| 786 | if POSU == false then | |
| 787 | activu = true | |
| 788 | cancarry = false | |
| 789 | addcfr = cf(0, 0, 2) | |
| 790 | POSU = true | |
| 791 | human.WalkSpeed = 0 | |
| 792 | local d = Instance.new("ParticleEmitter")
| |
| 793 | d.Name = "MENACINGU" | |
| 794 | d.Lifetime = NumberRange.new(1) | |
| 795 | d.Rate = 2 | |
| 796 | d.Texture = "rbxassetid://298768656" | |
| 797 | d.VelocitySpread = 60 | |
| 798 | d.Parent = tors | |
| 799 | human:SetStateEnabled(3, false) | |
| 800 | local randomoth = math.random(1, 2) | |
| 801 | if randomoth == 1 then | |
| 802 | repeat | |
| 803 | - | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(-2), rd(25)), 0.3) |
| 803 | + | |
| 804 | - | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(6), rd(0), rd(-50)), 0.3) |
| 804 | + | |
| 805 | - | lerpz(RS, "C0", RSC0 * cf(-0.25, 0.3, -0.5) * ang(rd(-30), rd(-15), rd(200)), 0.3) |
| 805 | + | |
| 806 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(-20), rd(-5)), 0.3) | |
| 807 | - | lerpz(LS, "C0", LSC0 * cf(0.25, 0.3, -0.5) * ang(rd(-32), rd(13), rd(-195)), 0.3) |
| 807 | + | |
| 808 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(140), rd(-70), rd(-50)), 0.3) | |
| 809 | - | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-15), rd(-10)), 0.3) |
| 809 | + | |
| 810 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(-30), rd(10)), 0.3) | |
| 811 | - | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(10), rd(-10)), 0.3) |
| 811 | + | |
| 812 | - | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) |
| 812 | + | |
| 813 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-10)), 0.3) | |
| 814 | ||
| 815 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(-2), rd(150)), 0.3) | |
| 816 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(6), rd(0), rd(50)), 0.3) | |
| 817 | - | human.WalkSpeed = 16 |
| 817 | + | lerpz(nRS, "C0", RSC0 * cf(0, 0, -0.125) * ang(rd(-0), rd(80), rd(85)), 0.3) |
| 818 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 819 | lerpz(nLS, "C0", LSC0 * cf(-0.1, 0, -0.50) * ang(rd(-0.1), rd(-80), rd(-85)), 0.3) | |
| 820 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 821 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 822 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 823 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 824 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 825 | ||
| 826 | ||
| 827 | until POSU == false | |
| 828 | elseif randomoth == 2 then | |
| 829 | repeat | |
| 830 | swait() | |
| 831 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(-5)), 0.4) | |
| 832 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(15), rd(8), rd(0)), 0.3) | |
| 833 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(10), rd(-80), rd(80)), 0.3) | |
| 834 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 835 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(10), rd(80), rd(-70)), 0.3) | |
| 836 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 837 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-15)), 0.3) | |
| 838 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 839 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(15)), 0.3) | |
| 840 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 841 | ||
| 842 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(-5)), 0.4) | |
| 843 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(15), rd(8), rd(0)), 0.3) | |
| 844 | lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(10), rd(-80), rd(80)), 0.3) | |
| 845 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 846 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(10), rd(80), rd(-70)), 0.3) | |
| 847 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 848 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-15)), 0.3) | |
| 849 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 850 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(15)), 0.3) | |
| 851 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 852 | until POSU == false | |
| 853 | end | |
| 854 | elseif POSU == true then | |
| 855 | POSU = false | |
| 856 | addcfr = cf(-2, 1, 2) | |
| 857 | human.WalkSpeed = 25 | |
| 858 | human:SetStateEnabled(3, true) | |
| 859 | frame = 0.03333333333333333 | |
| 860 | tors.MENACINGU:Destroy() | |
| 861 | activu = true | |
| 862 | activu = false | |
| 863 | cancarry = true | |
| 864 | end | |
| 865 | end | |
| 866 | local EHMMM = 0 | |
| 867 | function block() | |
| 868 | if EHMMM == 50 or selected == false or activu == true then | |
| 869 | return | |
| 870 | end | |
| 871 | if appeared == false then | |
| 872 | standappear(thenoob) | |
| 873 | end | |
| 874 | wherto = hrp | |
| 875 | addcfr = cf(0, 0, -3) | |
| 876 | local bep = true | |
| 877 | local humanshealth = human.Health | |
| 878 | activu = true | |
| 879 | human:SetStateEnabled(15, false) | |
| 880 | local de = mouse.KeyUp:connect(function(key) | |
| 881 | if key == "e" then | |
| 882 | bep = false | |
| 883 | end | |
| 884 | end) | |
| 885 | local poopes = 0 | |
| 886 | repeat | |
| 887 | swait() | |
| 888 | poopes = poopes + 1 | |
| 889 | human.Health = humanshealth | |
| 890 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(2), rd(0), rd(0)), 0.5) | |
| 891 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(7), rd(0), rd(0)), 0.5) | |
| 892 | lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(110), rd(160)), 0.5) | |
| 893 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.5) | |
| 894 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-110), rd(-160)), 0.5) | |
| 895 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.5) | |
| 896 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 897 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 898 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 899 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 900 | until bep == false or poopes > 240 | |
| 901 | de:Disconnect() | |
| 902 | human:SetStateEnabled(15, true) | |
| 903 | activu = false | |
| 904 | EHMMM = 50 | |
| 905 | coroutine.resume(coroutine.create(function() | |
| 906 | wait(7) | |
| 907 | EHMMM = 0 | |
| 908 | end)) | |
| 909 | wherto = hrp | |
| 910 | addcfr = cf(-2, 1, 2) | |
| 911 | end | |
| 912 | function MUDA() | |
| 913 | if selected == false or activu == true then | |
| 914 | return | |
| 915 | end | |
| 916 | if appeared == false then | |
| 917 | standappear(thenoob) | |
| 918 | wherto = hrp | |
| 919 | addcfr = cf(0, 0, -3.5) | |
| 920 | end | |
| 921 | - | mudodo.SoundId = "rbxassetid://616593932" |
| 921 | + | |
| 922 | local bep = true | |
| 923 | activu = true | |
| 924 | wherto = hrp | |
| 925 | addcfr = cf(0, 0, -3.5) | |
| 926 | local function blur(limb) | |
| 927 | coroutine.resume(coroutine.create(function() | |
| 928 | local memedon = {}
| |
| 929 | for i = 1, 6 do | |
| 930 | local b1 = Instance.new("Part")
| |
| 931 | nooutline(b1) | |
| 932 | b1.Size = Vector3.new(1, 2, 1) | |
| 933 | b1.CFrame = limb.CFrame * CFrame.new(rd2(-5, 5) / 10, rd2(-5, 5) / 10, rd2(-5, 5) / 10) | |
| 934 | b1.CanCollide = false | |
| 935 | b1.BrickColor = limb.BrickColor | |
| 936 | b1.Anchored = true | |
| 937 | b1.Transparency = 0.7 | |
| 938 | b1.Locked = true | |
| 939 | b1.Parent = modz | |
| 940 | table.insert(memedon, b1) | |
| 941 | end | |
| 942 | local num = 0 | |
| 943 | repeat | |
| 944 | swait() | |
| 945 | num = num % 6 + 1 | |
| 946 | memedon[num].CFrame = limb.CFrame * CFrame.new(rd2(-5, 5) / 10, rd2(-5, 5) / 10, rd2(-5, 5) / 10) | |
| 947 | until bep == false | |
| 948 | for i = 1, #memedon do | |
| 949 | swait() | |
| 950 | memedon[i]:Destroy() | |
| 951 | end | |
| 952 | end)) | |
| 953 | end | |
| 954 | local de = mouse.KeyUp:connect(function(key) | |
| 955 | if key == "r" then | |
| 956 | bep = false | |
| 957 | end | |
| 958 | end) | |
| 959 | blur(rightarm) | |
| 960 | blur(leftarm) | |
| 961 | local mudodo = Instance.new("Sound")
| |
| 962 | mudodo.Volume = 7.5 | |
| 963 | mudodo.SoundId = "rbxassetid://3392300106" | |
| 964 | mudodo.Looped = true | |
| 965 | mudodo.Parent = hrp | |
| 966 | mudodo:Play() | |
| 967 | repeat | |
| 968 | for _ = 1, 2 do | |
| 969 | swait() | |
| 970 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(4), rd(4), rd(30)), 0.85) | |
| 971 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(0), rd(-28)), 0.85) | |
| 972 | lerpz(nRS, "C0", RSC0 * cf(0.5, 0.25, -0.1) * ang(rd(20), rd(20), rd(105)), 0.85) | |
| 973 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 974 | lerpz(nLS, "C0", LSC0 * cf(0.25, 0.1, 0) * ang(rd(30), rd(10), rd(-70)), 0.85) | |
| 975 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 976 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.85) | |
| 977 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 978 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.85) | |
| 979 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 980 | end | |
| 981 | hito(rightarm, 3.3, 5, 0.01, rot.CFrame.lookVector * 5) | |
| 982 | for _ = 1, 2 do | |
| 983 | swait() | |
| 984 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(5), rd(2), rd(-30)), 0.85) | |
| 985 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(2), rd(0), rd(31)), 0.85) | |
| 986 | lerpz(nRS, "C0", RSC0 * cf(-0.1, 0.05, -0.1) * ang(rd(-10), rd(-30), rd(75)), 0.85) | |
| 987 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 988 | lerpz(nLS, "C0", LSC0 * cf(-0.5, 0.1, -0.2) * ang(rd(-30), rd(10), rd(-70)), 0.85) | |
| 989 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 990 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.85) | |
| 991 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 992 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.85) | |
| 993 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 994 | end | |
| 995 | hito(leftarm, 3.3, 5, 0.01, rot.CFrame.lookVector * 5) | |
| 996 | for _ = 1, 2 do | |
| 997 | swait() | |
| 998 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(3), rd(3), rd(32)), 0.85) | |
| 999 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(0), rd(-29)), 0.85) | |
| 1000 | lerpz(nRS, "C0", RSC0 * cf(0.35, 0.25, 0.1) * ang(rd(-10), rd(-20), rd(95)), 0.85) | |
| 1001 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1002 | lerpz(nLS, "C0", LSC0 * cf(0.25, 0.1, 0) * ang(rd(-10), rd(10), rd(-80)), 0.85) | |
| 1003 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1004 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.85) | |
| 1005 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1006 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.85) | |
| 1007 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1008 | end | |
| 1009 | hito(rightarm, 3.3, 5, 0.01, rot.CFrame.lookVector * 5) | |
| 1010 | for _ = 1, 2 do | |
| 1011 | swait() | |
| 1012 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-10), rd(3), rd(-40)), 0.85) | |
| 1013 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(-2), rd(35)), 0.85) | |
| 1014 | lerpz(nRS, "C0", RSC0 * cf(-0.1, 0.05, -0.1) * ang(rd(20), rd(-30), rd(65)), 0.85) | |
| 1015 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1016 | lerpz(nLS, "C0", LSC0 * cf(-0.5, 0.1, -0.2) * ang(rd(-30), rd(30), rd(-75)), 0.85) | |
| 1017 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1018 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.85) | |
| 1019 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1020 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.85) | |
| 1021 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1022 | end | |
| 1023 | hito(leftarm, 3.3, 5, 0.01, rot.CFrame.lookVector * 5) | |
| 1024 | until bep == false or 0 >= human.Health | |
| 1025 | de:Disconnect() | |
| 1026 | mudodo:Stop() | |
| 1027 | wry:Play() | |
| 1028 | for _ = 1, 6 do | |
| 1029 | swait() | |
| 1030 | lerpz(nRJ, "C0", RJC0 * cf(0, 1.25, 0) * ang(rd(0), rd(4), rd(-85)), 0.75) | |
| 1031 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(3), rd(75)), 0.75) | |
| 1032 | lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(100)), 0.75) | |
| 1033 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1034 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.75) | |
| 1035 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1036 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.75) | |
| 1037 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1038 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.75) | |
| 1039 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1040 | end | |
| 1041 | for _ = 1, 7 do | |
| 1042 | swait() | |
| 1043 | hito(rightarm, 3, 20, 0.35, rot.CFrame.lookVector * 50) | |
| 1044 | lerpz(nRJ, "C0", RJC0 * cf(0, -1, 0) * ang(rd(0), rd(10), rd(75)), 0.75) | |
| 1045 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(-7), rd(-65)), 0.75) | |
| 1046 | lerpz(nRS, "C0", RSC0 * cf(0.75, 0, 0.25) * ang(rd(10), rd(-60), rd(100)), 0.75) | |
| 1047 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.75) | |
| 1048 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.75) | |
| 1049 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1050 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.75) | |
| 1051 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1052 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.75) | |
| 1053 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1054 | end | |
| 1055 | swait(5) | |
| 1056 | wherto = hrp | |
| 1057 | mudodo:Destroy() | |
| 1058 | addcfr = cf(-2, 1, 2) | |
| 1059 | activu = false | |
| 1060 | end | |
| 1061 | function cability() | |
| 1062 | if selected == false or activu == true then | |
| 1063 | return | |
| 1064 | end | |
| 1065 | if appeared == false then | |
| 1066 | standappear(thenoob) | |
| 1067 | wherto = hrp | |
| 1068 | addcfr = cf(0, 0, -3.75) | |
| 1069 | end | |
| 1070 | activu = true | |
| 1071 | wherto = hrp | |
| 1072 | addcfr = cf(0, 0, -3.5) | |
| 1073 | local ZAWRUA = Instance.new("Sound")
| |
| 1074 | ZAWRUA.SoundId = "rbxassetid://4142809172" | |
| 1075 | ZAWRUA.Volume = 3 | |
| 1076 | ZAWRUA.Parent = hrp | |
| 1077 | ZAWRUA:Play() | |
| 1078 | game.Debris:AddItem(ZAWRUA, 2.5) | |
| 1079 | local wate = Instance.new("Part")
| |
| 1080 | nooutline(wate) | |
| 1081 | wate.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 1082 | wate.Material = "Neon" | |
| 1083 | wate.Transparency = 1 | |
| 1084 | wate.BrickColor = BrickColor.new("New Yeller")
| |
| 1085 | wate.CFrame = rightarm.CFrame * cf(0, -1.5, 0) | |
| 1086 | wate.Anchored = true | |
| 1087 | wate.CanCollide = false | |
| 1088 | wate.Parent = modz | |
| 1089 | local wmesh = makemesh("Sphere", Vector3.new(5, 5, 5), nil, wate)
| |
| 1090 | coroutine.resume(coroutine.create(function() | |
| 1091 | repeat | |
| 1092 | swait() | |
| 1093 | wate.CFrame = rightarm.CFrame * cf(0, -1, 0) | |
| 1094 | wmesh.Scale = wmesh.Scale:lerp(Vector3.new(10, 10, 10), 0.5) | |
| 1095 | until not wate | |
| 1096 | end)) | |
| 1097 | coroutine.resume(coroutine.create(function() | |
| 1098 | local pt = {}
| |
| 1099 | for _ = 1, 10 do | |
| 1100 | local wp = Instance.new("Part")
| |
| 1101 | nooutline(wp) | |
| 1102 | wp.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 1103 | wp.Material = "Neon" | |
| 1104 | wp.Transparency = 1 | |
| 1105 | wp.BrickColor = BrickColor.new("New Yeller")
| |
| 1106 | wp.CFrame = wate.CFrame * ang(rd2(-100, 100) / 1000, rd2(-100, 100) / 1000, rd2(-100, 100) / 1000) * cf(0, -0.25, 0) | |
| 1107 | wp.Anchored = true | |
| 1108 | wp.CanCollide = false | |
| 1109 | wp.Parent = modz | |
| 1110 | local wmz = makemesh("Sphere", Vector3.new(0.5, 2, 0.5), nil, wp)
| |
| 1111 | table.insert(pt, wp) | |
| 1112 | table.insert(pt, wmz) | |
| 1113 | end | |
| 1114 | for m = 1, 45 do | |
| 1115 | swait() | |
| 1116 | for _, hey in pairs(pt) do | |
| 1117 | if hey.ClassName == "SpecialMesh" then | |
| 1118 | hey.Scale = hey.Scale + Vector3.new(0.005, 0.04, 0.005) | |
| 1119 | elseif hey.ClassName == "Part" then | |
| 1120 | hey.CFrame = wate.CFrame * ang(rd(rd2(-360, 360)), rd(rd2(-360, 360)), rd(rd2(-360, 360))) * cf(0, -m / 25, 0) | |
| 1121 | hey.Transparency = hey.Transparency - 0.015 | |
| 1122 | end | |
| 1123 | end | |
| 1124 | end | |
| 1125 | for m = 45, 50 do | |
| 1126 | swait() | |
| 1127 | for _, hey in pairs(pt) do | |
| 1128 | if hey.ClassName == "SpecialMesh" then | |
| 1129 | hey.Scale = hey.Scale + Vector3.new(0.025, 0.08, 0.025) | |
| 1130 | elseif hey.ClassName == "Part" then | |
| 1131 | hey.CFrame = wate.CFrame * ang(rd(rd2(-360, 360)), rd(rd2(-360, 360)), rd(rd2(-360, 360))) * cf(0, -m / 25, 0) | |
| 1132 | hey.Transparency = hey.Transparency + 0.2 | |
| 1133 | end | |
| 1134 | end | |
| 1135 | end | |
| 1136 | for _, AAA in pairs(pt) do | |
| 1137 | if AAA.ClassName == "Part" then | |
| 1138 | AAA:Destroy() | |
| 1139 | end | |
| 1140 | end | |
| 1141 | end)) | |
| 1142 | for _ = 1, 50 do | |
| 1143 | swait() | |
| 1144 | wmesh.Scale = Vector3.new(9, 9, 9) | |
| 1145 | wate.Transparency = wate.Transparency - 0.008 | |
| 1146 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(4), rd(-125)), 0.2) | |
| 1147 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(3), rd(115)), 0.2) | |
| 1148 | 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) | |
| 1149 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 1150 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.2) | |
| 1151 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 1152 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.2) | |
| 1153 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 1154 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.2) | |
| 1155 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 1156 | end | |
| 1157 | local pooo = Instance.new("Sound")
| |
| 1158 | pooo.SoundId = "rbxassetid://1074184175" | |
| 1159 | pooo.Volume = 3 | |
| 1160 | pooo.Parent = hrp | |
| 1161 | pooo:Play() | |
| 1162 | game.Debris:AddItem(pooo, 2.5) | |
| 1163 | for _ = 1, 1 do | |
| 1164 | swait() | |
| 1165 | wate.Transparency = wate.Transparency + 0.15 | |
| 1166 | lerpz(nRJ, "C0", RJC0 * cf(0, -2, 0) * ang(rd(0), rd(10), rd(35)), 0.5) | |
| 1167 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(-7), rd(-30)), 0.5) | |
| 1168 | lerpz(nRS, "C0", RSC0 * cf(0.75, 0, 0.25) * ang(rd(10), rd(-80), rd(100)), 0.5) | |
| 1169 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.5) | |
| 1170 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.5) | |
| 1171 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1172 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.5) | |
| 1173 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1174 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.5) | |
| 1175 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1176 | end | |
| 1177 | local swoo = Instance.new("Part")
| |
| 1178 | nooutline(swoo) | |
| 1179 | swoo.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 1180 | swoo.Material = "Neon" | |
| 1181 | swoo.Transparency = 0.2 | |
| 1182 | swoo.BrickColor = BrickColor.new("Neon orange")
| |
| 1183 | swoo.CFrame = rightarm.CFrame * ang(rd(0), rd(-15), rd(240)) * cf(1.5, -2.5, 0) | |
| 1184 | swoo.Anchored = true | |
| 1185 | swoo.CanCollide = false | |
| 1186 | swoo.Parent = modz | |
| 1187 | local wmesh = makemesh("FileMesh", Vector3.new(0.013333333333333334, 0.015384615384615385, 0.025), "rbxassetid://576041905", swoo)
| |
| 1188 | local pli = Instance.new("PointLight")
| |
| 1189 | pli.Brightness = 2 | |
| 1190 | pli.Color = Color3.new(0.45098039215686275, 1, 0) | |
| 1191 | pli.Range = 10 | |
| 1192 | pli.Shadows = true | |
| 1193 | pli.Parent = swoo | |
| 1194 | hito(swoo, 5, 40, 0.15, rot.CFrame.lookVector * 80) | |
| 1195 | for _ = 1, 10 do | |
| 1196 | swait() | |
| 1197 | wate.Transparency = wate.Transparency + 0.05 | |
| 1198 | swoo.Transparency = swoo.Transparency + 0.075 | |
| 1199 | pli.Range = pli.Range - 1 | |
| 1200 | lerpz(nRJ, "C0", RJC0 * cf(0, -3, 0) * ang(rd(0), rd(10), rd(105)), 0.5) | |
| 1201 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(-7), rd(-65)), 0.5) | |
| 1202 | lerpz(nRS, "C0", RSC0 * cf(0.75, 0, 0.25) * ang(rd(10), rd(-30), rd(100)), 0.5) | |
| 1203 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.5) | |
| 1204 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.5) | |
| 1205 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1206 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.5) | |
| 1207 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1208 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.5) | |
| 1209 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1210 | end | |
| 1211 | wate:Destroy() | |
| 1212 | swoo:Destroy() | |
| 1213 | pli:Destroy() | |
| 1214 | swait(15) | |
| 1215 | wherto = hrp | |
| 1216 | addcfr = cf(-2, 1, 2) | |
| 1217 | activu = false | |
| 1218 | end | |
| 1219 | game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=188959462")
| |
| 1220 | game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=616594208")
| |
| 1221 | game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=616576400")
| |
| 1222 | game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=291088606")
| |
| 1223 | ||
| 1224 | function hito(partoz, magn, dmg, debtim, bodyfdire) | |
| 1225 | for _, guy in pairs(workspace:GetChildren()) do | |
| 1226 | 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
| |
| 1227 | do | |
| 1228 | local humz = guy:FindFirstChild("Humanoid")
| |
| 1229 | local horp = guy:FindFirstChild("HumanoidRootPart")
| |
| 1230 | TakeDamage(humz, dmg) | |
| 1231 | local db = Instance.new("StringValue")
| |
| 1232 | db.Name = "alabo" | |
| 1233 | db.Parent = horp | |
| 1234 | delay(debtim, function() | |
| 1235 | db:Destroy() | |
| 1236 | end) | |
| 1237 | local b = Instance.new("Part")
| |
| 1238 | nooutline(b) | |
| 1239 | b.Size = Vector3.new(0.5, 0.1, 0.2) | |
| 1240 | b.Transparency = 0.25 | |
| 1241 | b.Anchored = true | |
| 1242 | - | TakeDamage(humz, dmg * 4.7) |
| 1242 | + | |
| 1243 | b.BrickColor = BrickColor.new("Institutional white")
| |
| 1244 | b.Material = "ForceField" | |
| 1245 | b.Locked = true | |
| 1246 | b.CFrame = horp.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1)) | |
| 1247 | b.Parent = modz | |
| 1248 | local c = Instance.new("SpecialMesh")
| |
| 1249 | c.MeshType = "Sphere" | |
| 1250 | c.Scale = Vector3.new(1, 1, 1) | |
| 1251 | c.Parent = b | |
| 1252 | game.Debris:AddItem(b, 1) | |
| 1253 | if bodyfdire then | |
| 1254 | local boopyve = Instance.new("BodyVelocity")
| |
| 1255 | boopyve.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
| 1256 | boopyve.P = math.huge | |
| 1257 | boopyve.Velocity = bodyfdire | |
| 1258 | boopyve.Parent = horp | |
| 1259 | game.Debris:AddItem(boopyve, debtim) | |
| 1260 | end | |
| 1261 | local bet = Instance.new("Sound")
| |
| 1262 | bet.Pitch = rd2(9, 11) / 10 | |
| 1263 | bet.Volume = rd2(12, 14) / 10 | |
| 1264 | bet.SoundId = "rbxassetid://165604684" | |
| 1265 | bet.Parent = b | |
| 1266 | bet:Play() | |
| 1267 | coroutine.resume(coroutine.create(function() | |
| 1268 | for _ = 1, 5 do | |
| 1269 | swait() | |
| 1270 | b.Transparency = b.Transparency + 0.15 | |
| 1271 | c.Scale = c.Scale + Vector3.new(0.8 * dmg, 0.8 * dmg, 0.8 * dmg) | |
| 1272 | end | |
| 1273 | end)) | |
| 1274 | end | |
| 1275 | end | |
| 1276 | - | bet.SoundId = "rbxassetid://851453784" |
| 1276 | + | |
| 1277 | end | |
| 1278 | function hitoof(partoz, magn, dmg, debtim, bodyfdire) | |
| 1279 | for _, guy in pairs(workspace:GetChildren()) do | |
| 1280 | 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
| |
| 1281 | do | |
| 1282 | local humz = guy:FindFirstChild("Humanoid")
| |
| 1283 | local torso11 = guy:FindFirstChild("Torso") or guy:FindFirstChild("UpperTorso")
| |
| 1284 | local horp = guy:FindFirstChild("HumanoidRootPart")
| |
| 1285 | TakeDamage(humz, dmg * 4.6) | |
| 1286 | local db = Instance.new("StringValue")
| |
| 1287 | db.Name = "alabo" | |
| 1288 | db.Parent = horp | |
| 1289 | delay(debtim, function() | |
| 1290 | db:Destroy() | |
| 1291 | end) | |
| 1292 | local pa = Instance.new("Part",humz)
| |
| 1293 | torso11.Transparency = 1 | |
| 1294 | pa.Name = "donut" | |
| 1295 | pa.BrickColor = torso11.BrickColor | |
| 1296 | pa.Material = "Plastic" | |
| 1297 | local me = Instance.new("SpecialMesh",pa)
| |
| 1298 | me.MeshType = "FileMesh" | |
| 1299 | me.MeshId = "rbxassetid://5018497801" | |
| 1300 | me.Scale = Vector3.new(1,1,1) | |
| 1301 | local we = Instance.new("Weld")
| |
| 1302 | we.Parent = pa | |
| 1303 | we.Part0 = torso11 | |
| 1304 | we.Part1 = pa | |
| 1305 | we.C1 = CFrame.new(0,0,0) | |
| 1306 | we.C0 = CFrame.Angles(0,0,0) | |
| 1307 | local b = Instance.new("Part")
| |
| 1308 | nooutline(b) | |
| 1309 | b.Size = Vector3.new(6, 1, 2) | |
| 1310 | b.Transparency = 0.25 | |
| 1311 | b.Anchored = true | |
| 1312 | b.CanCollide = false | |
| 1313 | b.BrickColor = BrickColor.new("Crimson")
| |
| 1314 | b.Material = "ForceField" | |
| 1315 | b.Locked = true | |
| 1316 | b.CFrame = horp.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1)) | |
| 1317 | b.Parent = modz | |
| 1318 | local c = Instance.new("SpecialMesh")
| |
| 1319 | c.MeshType = "Sphere" | |
| 1320 | c.Scale = Vector3.new(3.5, 3.5, 3.5) | |
| 1321 | c.Parent = b | |
| 1322 | game.Debris:AddItem(b, 1) | |
| 1323 | if bodyfdire then | |
| 1324 | local boopyve = Instance.new("BodyVelocity")
| |
| 1325 | boopyve.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
| 1326 | boopyve.P = math.huge | |
| 1327 | boopyve.Velocity = bodyfdire | |
| 1328 | boopyve.Parent = horp | |
| 1329 | game.Debris:AddItem(boopyve, debtim) | |
| 1330 | end | |
| 1331 | local bet = Instance.new("Sound")
| |
| 1332 | bet.Pitch = rd2(9, 11) / 10 | |
| 1333 | bet.Volume = rd2(12, 14) / 10 | |
| 1334 | bet.SoundId = "rbxassetid://2553988018" | |
| 1335 | bet.Parent = b | |
| 1336 | bet:Play() | |
| 1337 | coroutine.resume(coroutine.create(function() | |
| 1338 | for _ = 1, 5 do | |
| 1339 | swait() | |
| 1340 | b.Transparency = b.Transparency + 0.15 | |
| 1341 | c.Scale = c.Scale + Vector3.new(0.8 * dmg, 0.8 * dmg, 0.8 * dmg) | |
| 1342 | end | |
| 1343 | end)) | |
| 1344 | end | |
| 1345 | end | |
| 1346 | end | |
| 1347 | end | |
| 1348 | mouse.KeyDown:connect(function(key) | |
| 1349 | if human.Health <= 0 then | |
| 1350 | return | |
| 1351 | end | |
| 1352 | if key == "f" then | |
| 1353 | standappear(thenoob) | |
| 1354 | end | |
| 1355 | if key == "r" then | |
| 1356 | MUDA() | |
| 1357 | end | |
| 1358 | if key == "q" then | |
| 1359 | quickhit() | |
| 1360 | end | |
| 1361 | if key == "e" then | |
| 1362 | block() | |
| 1363 | end | |
| 1364 | if key == "v" then | |
| 1365 | cability() | |
| 1366 | end | |
| 1367 | if key == "j" then | |
| 1368 | THREATENING() | |
| 1369 | end | |
| 1370 | if key == "k" then | |
| 1371 | konodioda:Play() | |
| 1372 | end | |
| 1373 | if key == "l" then | |
| 1374 | bast:Play() | |
| 1375 | end | |
| 1376 | if key == "n" then | |
| 1377 | bastt:Play() | |
| 1378 | end | |
| 1379 | if key == "b" then | |
| 1380 | diovania:Play() | |
| 1381 | end | |
| 1382 | if key == "m" then | |
| 1383 | mudi:Play() | |
| 1384 | end | |
| 1385 | if key == "y" then | |
| 1386 | musicc:Play() | |
| 1387 | end | |
| 1388 | if key == "p" then | |
| 1389 | zaworld:Play() | |
| 1390 | end | |
| 1391 | end) | |
| 1392 | tool.Equipped:connect(function() | |
| 1393 | selected = true | |
| 1394 | end) | |
| 1395 | tool.Unequipped:connect(function() | |
| 1396 | selected = false | |
| 1397 | end) | |
| 1398 | sine = 0 | |
| 1399 | charge = 1 | |
| 1400 | cos = math.cos | |
| 1401 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 1402 | if POSU == false then | |
| 1403 | local checkfloor = Ray.new(hrp.Position, hrp.CFrame.upVector * -4) | |
| 1404 | local checkpart = workspace:FindPartOnRayWithIgnoreList(checkfloor, {chr}, false, false)
| |
| 1405 | local checkstate = human:GetState() | |
| 1406 | if checkstate.Value == 13 then | |
| 1407 | animpose = "Sitting" | |
| 1408 | elseif hrp.Velocity.y > 1 and checkpart == nil then | |
| 1409 | animpose = "Jumping" | |
| 1410 | elseif hrp.Velocity.y < -1 and checkpart == nil then | |
| 1411 | animpose = "Falling" | |
| 1412 | elseif 1 > (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude then | |
| 1413 | animpose = "Idle" | |
| 1414 | elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 35 then | |
| 1415 | animpose = "Walking" | |
| 1416 | elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude > 35 then | |
| 1417 | animpose = "TooFast" | |
| 1418 | end | |
| 1419 | if animpose == "Idle" then | |
| 1420 | sine = sine + charge | |
| 1421 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.03 * cos(sine / 60)) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1422 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(3 - 3 * cos(sine / 60)), rd(0), rd(0)), 0.3) | |
| 1423 | 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) | |
| 1424 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1425 | 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) | |
| 1426 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1427 | 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) | |
| 1428 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1429 | 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) | |
| 1430 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1431 | end | |
| 1432 | if animpose == "Walking" then | |
| 1433 | sine = sine + charge | |
| 1434 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.03 * cos(sine / 60)) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1435 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(3 - 3 * cos(sine / 60)), rd(0), rd(0)), 0.3) | |
| 1436 | 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) | |
| 1437 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1438 | 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) | |
| 1439 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1440 | 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) | |
| 1441 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1442 | 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) | |
| 1443 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1444 | end | |
| 1445 | if animpose == "Jumping" then | |
| 1446 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.3) | |
| 1447 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(0)), 0.3) | |
| 1448 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(7), rd(-5), rd(2)), 0.3) | |
| 1449 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1450 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(7), rd(5), rd(-3)), 0.3) | |
| 1451 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1452 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-10)), 0.3) | |
| 1453 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1454 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(20)), 0.3) | |
| 1455 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1456 | end | |
| 1457 | if animpose == "Falling" then | |
| 1458 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(0)), 0.3) | |
| 1459 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.3) | |
| 1460 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(7), rd(-5), rd(2)), 0.3) | |
| 1461 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1462 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(7), rd(5), rd(-3)), 0.3) | |
| 1463 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1464 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(10)), 0.3) | |
| 1465 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1466 | lerpz(LH, "C0", LHC0 * cf(-0.65, 0.75, 0) * ang(rd(0), rd(0), rd(20)), 0.3) | |
| 1467 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1468 | end | |
| 1469 | if animpose == "TooFast" then | |
| 1470 | lerpz(RJ, "C0", RJC0 * cf(0, 0, -1.5) * ang(rd(20), rd(0), rd(0)), 0.3) | |
| 1471 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.3) | |
| 1472 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(-10), rd(-10)), 0.3) | |
| 1473 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1474 | lerpz(LS, "C0", LSC0 * cf(0, -0.75, 0) * ang(rd(10), rd(-80), rd(-10)), 0.3) | |
| 1475 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(30), rd(0), rd(0)), 0.3) | |
| 1476 | lerpz(RH, "C0", RHC0 * cf(0.75, 1.5, 0) * ang(rd(0), rd(0), rd(30)), 0.3) | |
| 1477 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1478 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(50)), 0.3) | |
| 1479 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1480 | end | |
| 1481 | if animpose == "Sitting" then | |
| 1482 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1483 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1484 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3) | |
| 1485 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1486 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3) | |
| 1487 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1488 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3) | |
| 1489 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1490 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3) | |
| 1491 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1492 | end | |
| 1493 | end | |
| 1494 | if appeared == false and activu == false then | |
| 1495 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1496 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1497 | lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1498 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1499 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1500 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1501 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1502 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1503 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1504 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1505 | elseif appeared == true and activu == false then | |
| 1506 | sine = sine + charge | |
| 1507 | 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) | |
| 1508 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(2 - 2 * cos(sine / 90)), rd(0), rd(4)), 0.3) | |
| 1509 | lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(2 * cos(sine / 110)), rd(-3 - 3 * cos(sine / 100)), rd(0)), 0.3) | |
| 1510 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1511 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(2 * cos(sine / 110)), rd(3 - 3 * cos(sine / 100)), rd(0)), 0.3) | |
| 1512 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1513 | 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) | |
| 1514 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1515 | 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) | |
| 1516 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1517 | end | |
| 1518 | end) | |
| 1519 | function dispose() | |
| 1520 | for i, v in pairs(getfenv(0)) do | |
| 1521 | v = nil | |
| 1522 | end | |
| 1523 | error = nil | |
| 1524 | print = nil | |
| 1525 | warn = nil | |
| 1526 | end | |
| 1527 | human.Died:connect(dispose) | |
| 1528 | chr.Changed:connect(function() | |
| 1529 | if chr.Parent == nil then | |
| 1530 | dispose() | |
| 1531 | end | |
| 1532 | end) | |
| 1533 | ||
| 1534 | local me = game.Players.LocalPlayer | |
| 1535 | local mouse = me:GetMouse() | |
| 1536 | local char = me.Character | |
| 1537 | local hum = char:FindFirstChild('Humanoid')
| |
| 1538 | local hd = char:FindFirstChild('Head')
| |
| 1539 | local ts = char:FindFirstChild('Torso') or char:FindFirstChild('UpperTorso')
| |
| 1540 | local ra = char:FindFirstChild('Right Arm') or char:FindFirstChild('RightUpperArm')
| |
| 1541 | local la = char:FindFirstChild('Left Arm') or char:FindFirstChild('LeftUpperArm')
| |
| 1542 | local rl = char:FindFirstChild('Right Leg') or char:FindFirstChild('RightUpperLeg')
| |
| 1543 | local ll = char:FindFirstChild('Left Leg') or char:FindFirstChild('LeftUpperLeg')
| |
| 1544 | local root = char:FindFirstChild('HumanoidRootPart')
| |
| 1545 | local rj = root:FindFirstChild('RootJoint')
| |
| 1546 | local rs = ts:FindFirstChild('Right Shoulder')
| |
| 1547 | local ls = ts:FindFirstChild('Left Shoulder')
| |
| 1548 | local rh = ts:FindFirstChild('Right Hip')
| |
| 1549 | local lh = ts:FindFirstChild('Left Hip')
| |
| 1550 | local nk = ts:FindFirstChild('Neck')
| |
| 1551 | local anim = char:FindFirstChild('Animate')
| |
| 1552 | local base = workspace:FindFirstChild('Baseplate') or workspace:FindFirstChild('Base')
| |
| 1553 | local cantimestop = true | |
| 1554 | local cooldown = false | |
| 1555 | local cc = workspace.CurrentCamera | |
| 1556 | local cos = math.cos | |
| 1557 | local sin = math.sin | |
| 1558 | local rad = math.rad | |
| 1559 | local rand = math.random | |
| 1560 | local cfn = CFrame.new | |
| 1561 | local cfa = CFrame.Angles | |
| 1562 | local v3 = Vector3.new | |
| 1563 | local str = string | |
| 1564 | local unfreeze = {}
| |
| 1565 | local health = {}
| |
| 1566 | local connect = {}
| |
| 1567 | local sine = 0 | |
| 1568 | local effects = nil | |
| 1569 | if char:FindFirstChild('Effects') then
| |
| 1570 | effects = char:FindFirstChild('Effects')
| |
| 1571 | else | |
| 1572 | effects = Instance.new('Folder', char)
| |
| 1573 | effects.Name = 'Effects' | |
| 1574 | end | |
| 1575 | ||
| 1576 | ArtificialHB = Instance.new('BindableEvent', script)
| |
| 1577 | ArtificialHB.Name = 'Heartbeat' | |
| 1578 | script:WaitForChild('Heartbeat')
| |
| 1579 | ||
| 1580 | frame = 1 / 60 | |
| 1581 | tf = 0 | |
| 1582 | allowframeloss = false | |
| 1583 | tossremainder = false | |
| 1584 | lastframe = tick() | |
| 1585 | - | TimeStop = 'rbxassetid://2152227673'; |
| 1585 | + | |
| 1586 | ||
| 1587 | game:GetService('RunService').Heartbeat:connect(function(s, p)
| |
| 1588 | tf = tf + s | |
| 1589 | if tf >= frame then | |
| 1590 | if allowframeloss then | |
| 1591 | script.Heartbeat:Fire() | |
| 1592 | lastframe = tick() | |
| 1593 | else | |
| 1594 | for i = 1, math.floor(tf / frame) do | |
| 1595 | script.Heartbeat:Fire() | |
| 1596 | end | |
| 1597 | lastframe = tick() | |
| 1598 | end | |
| 1599 | if tossremainder then | |
| 1600 | tf = 0 | |
| 1601 | else | |
| 1602 | tf = tf - frame * math.floor(tf / frame) | |
| 1603 | end | |
| 1604 | end | |
| 1605 | end) | |
| 1606 | ||
| 1607 | function swait(t) | |
| 1608 | if t == 0 or t == nil then | |
| 1609 | script.Heartbeat.Event:Wait() | |
| 1610 | else | |
| 1611 | for i = 0, t do | |
| 1612 | script.Heartbeat.Event:Wait() | |
| 1613 | end | |
| 1614 | end | |
| 1615 | end | |
| 1616 | ||
| 1617 | function sound(id, parent, vol, pitch, timepos) | |
| 1618 | local s = Instance.new('Sound')
| |
| 1619 | s.Parent = parent | |
| 1620 | s.SoundId = id | |
| 1621 | s.Volume = vol | |
| 1622 | s.PlaybackSpeed = pitch | |
| 1623 | s.TimePosition = timepos | |
| 1624 | s:Play() | |
| 1625 | game.Debris:AddItem(s, s.PlaybackSpeed + 5) | |
| 1626 | end | |
| 1627 | ||
| 1628 | function camshake(duration, intensity) | |
| 1629 | coroutine.wrap(function() | |
| 1630 | for i = 1, duration do | |
| 1631 | hum.CameraOffset = hum.CameraOffset:lerp(v3(rand(-1, 1), rand(-1, 1), rand(-1, 1)), 0.1 * intensity) | |
| 1632 | swait() | |
| 1633 | end | |
| 1634 | hum.CameraOffset = v3(0, 0, 0) | |
| 1635 | end)() | |
| 1636 | end | |
| 1637 | ||
| 1638 | function findascendant(obj, class) | |
| 1639 | local par = obj | |
| 1640 | local ret = nil | |
| 1641 | pcall(function() | |
| 1642 | repeat | |
| 1643 | par = par.Parent | |
| 1644 | if par:IsA(class) then | |
| 1645 | ret = par | |
| 1646 | break | |
| 1647 | end | |
| 1648 | until par == nil | |
| 1649 | end) | |
| 1650 | return ret | |
| 1651 | end | |
| 1652 | ||
| 1653 | local TimeStopSounds = {
| |
| 1654 | ||
| 1655 | TimeStop = 'rbxassetid://840567549'; | |
| 1656 | TimeResume = 'rbxassetid://864569342'; | |
| 1657 | ||
| 1658 | } | |
| 1659 | ||
| 1660 | function timestop() | |
| 1661 | cantimestop = false | |
| 1662 | coroutine.wrap(function() | |
| 1663 | local effect1 = Instance.new('Part', effects)
| |
| 1664 | effect1.Shape = 'Ball' | |
| 1665 | effect1.Material = 'ForceField' | |
| 1666 | effect1.Anchored = true | |
| 1667 | effect1.CanCollide = false | |
| 1668 | effect1.Size = v3(0, 0, 0) | |
| 1669 | effect1.Transparency = 0 | |
| 1670 | sound(TimeStopSounds.TimeStop, ts, 5, 1, 0) | |
| 1671 | for i,v in pairs(workspace:GetDescendants()) do | |
| 1672 | if v:IsA('BasePart') then
| |
| 1673 | if not v.Anchored and not findascendant(v, 'Tool') and not findascendant(v, 'HopperBin') then | |
| 1674 | if not v:IsDescendantOf(char) then | |
| 1675 | v.Anchored = true | |
| 1676 | table.insert(unfreeze, v) | |
| 1677 | end | |
| 1678 | end | |
| 1679 | end | |
| 1680 | if v:IsA('Sound') then
| |
| 1681 | if not v:IsDescendantOf(char) then | |
| 1682 | if v.IsPlaying then | |
| 1683 | v:Pause() | |
| 1684 | table.insert(unfreeze, v) | |
| 1685 | end | |
| 1686 | end | |
| 1687 | end | |
| 1688 | if v:IsA('Humanoid') then
| |
| 1689 | local last = v.Health | |
| 1690 | local always = last | |
| 1691 | local e = v.HealthChanged:connect(function(hp) | |
| 1692 | if last - hp > 0 then | |
| 1693 | table.insert(health, {humanoid = v, change = last - hp})
| |
| 1694 | end | |
| 1695 | last = hp | |
| 1696 | v.Health = always | |
| 1697 | end) | |
| 1698 | table.insert(connect, e) | |
| 1699 | end | |
| 1700 | if v:IsA('BodyVelocity') then
| |
| 1701 | local lastforce = v.MaxForce | |
| 1702 | v.MaxForce = v3(0, 0, 0) | |
| 1703 | table.insert(unfreeze, {force = v, change = lastforce})
| |
| 1704 | end | |
| 1705 | if v:IsA('BodyPosition') then
| |
| 1706 | local lastposition = v.MaxForce | |
| 1707 | local lastD = v.D | |
| 1708 | local lastP = v.P | |
| 1709 | v.MaxForce = v3(0, 0, 0) | |
| 1710 | v.D = 0 | |
| 1711 | v.P = 0 | |
| 1712 | table.insert(unfreeze, {position = v, change = lastposition, dchange = lastD, pchange = lastP})
| |
| 1713 | end | |
| 1714 | if v:IsA('BodyForce') then
| |
| 1715 | local lastforce2 = v.Force | |
| 1716 | v.Force = v3(0, 0, 0) | |
| 1717 | table.insert(unfreeze, {force2 = v, fchange = lastforce2})
| |
| 1718 | end | |
| 1719 | end | |
| 1720 | ee = workspace.DescendantAdded:Connect(function(v) | |
| 1721 | if v:IsA('BasePart') then
| |
| 1722 | if not v.Anchored and not findascendant(v, 'Tool') and not findascendant(v, 'HopperBin') then | |
| 1723 | if not v:IsDescendantOf(char) then | |
| 1724 | v.Anchored = true | |
| 1725 | table.insert(unfreeze, v) | |
| 1726 | end | |
| 1727 | end | |
| 1728 | end | |
| 1729 | if v:IsA('Sound') then
| |
| 1730 | if not v:IsDescendantOf(char) then | |
| 1731 | if v.IsPlaying then | |
| 1732 | v:Pause() | |
| 1733 | table.insert(unfreeze, v) | |
| 1734 | end | |
| 1735 | end | |
| 1736 | end | |
| 1737 | if v:IsA('Humanoid') then
| |
| 1738 | local last = v.Health | |
| 1739 | local always = last | |
| 1740 | local e = v.HealthChanged:connect(function(hp) | |
| 1741 | if last - hp > 0 then | |
| 1742 | table.insert(health, {humanoid = v, change = last - hp})
| |
| 1743 | end | |
| 1744 | last = hp | |
| 1745 | v.Health = always | |
| 1746 | end) | |
| 1747 | table.insert(connect, e) | |
| 1748 | end | |
| 1749 | end) | |
| 1750 | coroutine.wrap(function() | |
| 1751 | for i = 1, 10 do | |
| 1752 | camshake(70, 2) | |
| 1753 | swait(5) | |
| 1754 | end | |
| 1755 | end) | |
| 1756 | coroutine.wrap(function() | |
| 1757 | for i = 1, 1000 do | |
| 1758 | effect1.CFrame = ts.CFrame | |
| 1759 | effect1.Size = effect1.Size:lerp(v3(50, 50, 50), 0.015) | |
| 1760 | effect1.Transparency = effect1.Transparency + 0.010 | |
| 1761 | if effect1.Transparency >= 1 then | |
| 1762 | effect1:Destroy() | |
| 1763 | end | |
| 1764 | swait() | |
| 1765 | end | |
| 1766 | end)() | |
| 1767 | wait(0.5) | |
| 1768 | local effect2 = Instance.new('Part', effects)
| |
| 1769 | local effect3 = Instance.new('Part', effects)
| |
| 1770 | effect3.Shape = 'Ball' | |
| 1771 | effect3.Material = 'ForceField' | |
| 1772 | effect3.Anchored = true | |
| 1773 | effect3.CanCollide = false | |
| 1774 | effect3.Size = v3(0, 0, 0) | |
| 1775 | effect3.Transparency = 0 | |
| 1776 | effect2.Shape = 'Ball' | |
| 1777 | effect2.Material = 'ForceField' | |
| 1778 | effect2.Anchored = true | |
| 1779 | effect2.CanCollide = false | |
| 1780 | effect2.Size = v3(40, 40, 40) | |
| 1781 | effect2.Transparency = 1 | |
| 1782 | coroutine.wrap(function() | |
| 1783 | for i = 1, 15 do | |
| 1784 | effect2.Transparency = effect2.Transparency - 0.11 | |
| 1785 | swait() | |
| 1786 | end | |
| 1787 | end)() | |
| 1788 | coroutine.wrap(function() | |
| 1789 | for i = 1, 1000 do | |
| 1790 | effect3.CFrame = ts.CFrame | |
| 1791 | effect3.Size = effect3.Size:lerp(v3(50, 50, 50), 0.015) | |
| 1792 | effect3.Transparency = effect3.Transparency + 0.010 | |
| 1793 | if effect3.Transparency >= 1 then | |
| 1794 | effect3:Destroy() | |
| 1795 | end | |
| 1796 | swait() | |
| 1797 | end | |
| 1798 | end)() | |
| 1799 | for i = 1, 1000 do | |
| 1800 | effect2.CFrame = ts.CFrame | |
| 1801 | effect2.Size = effect2.Size:lerp(v3(0, 0, 0), 0.015) | |
| 1802 | effect2.Transparency = effect2.Transparency + 0.015 | |
| 1803 | if effect2.Transparency >= 1 then | |
| 1804 | effect2:Destroy() | |
| 1805 | end | |
| 1806 | swait() | |
| 1807 | end | |
| 1808 | end)() | |
| 1809 | wait(1.5) -- cooldown | |
| 1810 | cooldown = true | |
| 1811 | end | |
| 1812 | ||
| 1813 | function timeresume() | |
| 1814 | coroutine.wrap(function() | |
| 1815 | sound(TimeStopSounds.TimeResume, ts, 5, 1, 0.15) | |
| 1816 | coroutine.wrap(function() | |
| 1817 | for i = 1, 10 do | |
| 1818 | camshake(20, 0.3) | |
| 1819 | swait(5) | |
| 1820 | end | |
| 1821 | end) | |
| 1822 | coroutine.wrap(function() | |
| 1823 | wait(1.5) | |
| 1824 | for i,v in pairs(unfreeze) do | |
| 1825 | pcall(function() | |
| 1826 | v.Anchored = false | |
| 1827 | end) | |
| 1828 | pcall(function() | |
| 1829 | v:Resume() | |
| 1830 | end) | |
| 1831 | end | |
| 1832 | for i,v in pairs(connect) do | |
| 1833 | pcall(function() | |
| 1834 | v:Disconnect() | |
| 1835 | end) | |
| 1836 | end | |
| 1837 | for i,v in pairs(health) do | |
| 1838 | pcall(function() | |
| 1839 | local humanoid = v.humanoid | |
| 1840 | humanoid.Health = humanoid.Health - v.change | |
| 1841 | if humanoid.Parent:FindFirstChild('Health') then
| |
| 1842 | pcall(function() | |
| 1843 | humanoid.Parent.Health.Disabled = false | |
| 1844 | end) | |
| 1845 | end | |
| 1846 | end) | |
| 1847 | end | |
| 1848 | pcall(function() | |
| 1849 | ee:Disconnect() | |
| 1850 | end) | |
| 1851 | health = {}
| |
| 1852 | unfreeze = {}
| |
| 1853 | end)() | |
| 1854 | cantimestop = true | |
| 1855 | end)() | |
| 1856 | wait(1.5) -- cooldown | |
| 1857 | cooldown = false | |
| 1858 | end | |
| 1859 | ||
| 1860 | mouse.KeyDown:connect(function(key) | |
| 1861 | if str.lower(key) == 'g' and cantimestop and cooldown == false then | |
| 1862 | timestop() | |
| 1863 | elseif str.lower(key) == 'g' and cantimestop == false and cooldown then | |
| 1864 | timeresume() | |
| 1865 | end | |
| 1866 | end) |