SHOW:
|
|
- or go back to the newest paste.
| 1 | --https://github.com/Mokiros/roblox-FE-compatibility | |
| 2 | - | local Player,Mouse,mouse,UserInputService,ContextActionService = owner |
| 2 | + | |
| 3 | local Player,game,owner = owner,game | |
| 4 | - | print("FE Compatibility code by Mokiros")
|
| 4 | + | local RealPlayer = Player |
| 5 | - | script.Parent = Player.Character |
| 5 | + | |
| 6 | print("FE Compatibility code V2 by Mokiros")
| |
| 7 | - | --RemoteEvent for communicating |
| 7 | + | local RealPlayer = RealPlayer |
| 8 | script.Parent = RealPlayer.Character | |
| 9 | ||
| 10 | --Fake event to make stuff like Mouse.KeyDown work | |
| 11 | local Disconnect_Function = function(this) | |
| 12 | this[1].Functions[this[2]] = nil | |
| 13 | - | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
|
| 13 | + | |
| 14 | - | t.connect = t.Connect |
| 14 | + | local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
|
| 15 | - | return t |
| 15 | + | local FakeEvent_Metatable = {__index={
|
| 16 | Connect = function(this,f) | |
| 17 | local i = tostring(math.random(0,10000)) | |
| 18 | while this.Functions[i] do | |
| 19 | - | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
|
| 19 | + | i = tostring(math.random(0,10000)) |
| 20 | end | |
| 21 | this.Functions[i] = f | |
| 22 | return setmetatable({this,i},Disconnect_Metatable)
| |
| 23 | end | |
| 24 | }} | |
| 25 | FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect | |
| 26 | local function fakeEvent() | |
| 27 | return setmetatable({Functions={}},FakeEvent_Metatable)
| |
| 28 | - | local function te(self,ev,...) |
| 28 | + | |
| 29 | - | local t = m[ev] |
| 29 | + | |
| 30 | - | if t and t._fakeEvent and t.Function then |
| 30 | + | |
| 31 | - | t.Function(...) |
| 31 | + | local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
|
| 32 | FakeMouse.keyUp = FakeMouse.KeyUp | |
| 33 | FakeMouse.keyDown = FakeMouse.KeyDown | |
| 34 | - | m.TrigEvent = te |
| 34 | + | |
| 35 | - | UIS.TrigEvent = te |
| 35 | + | |
| 36 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 37 | end} | |
| 38 | - | if plr~=Player then return end |
| 38 | + | |
| 39 | - | if io.isMouse then |
| 39 | + | |
| 40 | - | m.Target = io.Target |
| 40 | + | |
| 41 | - | m.Hit = io.Hit |
| 41 | + | |
| 42 | local function TriggerEvent(self,ev,...) | |
| 43 | for _,f in pairs(self[ev].Functions) do | |
| 44 | f(...) | |
| 45 | - | return m:TrigEvent(b and "Button1Down" or "Button1Up") |
| 45 | + | |
| 46 | end | |
| 47 | FakeMouse.TriggerEvent = TriggerEvent | |
| 48 | UIS.TriggerEvent = TriggerEvent | |
| 49 | ||
| 50 | --Client communication | |
| 51 | local Event = Instance.new("RemoteEvent")
| |
| 52 | Event.Name = "UserInput_Event" | |
| 53 | Event.OnServerEvent:Connect(function(plr,io) | |
| 54 | - | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) |
| 54 | + | if plr~=RealPlayer then return end |
| 55 | - | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) |
| 55 | + | FakeMouse.Target = io.Target |
| 56 | FakeMouse.Hit = io.Hit | |
| 57 | if not io.isMouse then | |
| 58 | - | Event.Parent = NLS([==[ |
| 58 | + | |
| 59 | - | local Player = game:GetService("Players").LocalPlayer
|
| 59 | + | |
| 60 | - | local Event = script:WaitForChild("UserInput_Event")
|
| 60 | + | return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up") |
| 61 | end | |
| 62 | if io.UserInputType == Enum.UserInputType.MouseButton2 then | |
| 63 | - | local input = function(io,a) |
| 63 | + | return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up") |
| 64 | - | if a then return end |
| 64 | + | |
| 65 | for _,t in pairs(CAS.Actions) do | |
| 66 | - | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
|
| 66 | + | |
| 67 | if k==io.KeyCode then | |
| 68 | t.Function(t.Name,io.UserInputState,io) | |
| 69 | end | |
| 70 | end | |
| 71 | - | local Mouse = Player:GetMouse() |
| 71 | + | |
| 72 | FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 73 | - | --Give the server mouse data 30 times every second, but only if the values changed |
| 73 | + | UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false) |
| 74 | end | |
| 75 | - | while wait(1/30) do |
| 75 | + | |
| 76 | Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
| |
| 77 | local Mouse = owner:GetMouse() | |
| 78 | local UIS = game:GetService("UserInputService")
| |
| 79 | local input = function(io,RobloxHandled) | |
| 80 | - | end]==],Player.Character) |
| 80 | + | if RobloxHandled then return end |
| 81 | - | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS |
| 81 | + | |
| 82 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
| |
| 83 | end | |
| 84 | UIS.InputBegan:Connect(input) | |
| 85 | UIS.InputEnded:Connect(input) | |
| 86 | local h,t | |
| 87 | - | plr = owner |
| 87 | + | --Give the server mouse data every second frame, but only if the values changed |
| 88 | --If player is not moving their mouse, client won't fire events | |
| 89 | local HB = game:GetService("RunService").Heartbeat
| |
| 90 | while true do | |
| 91 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 92 | h,t=Mouse.Hit,Mouse.Target | |
| 93 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 94 | end | |
| 95 | --Wait 2 frames | |
| 96 | for i=1,2 do | |
| 97 | HB:Wait() | |
| 98 | end | |
| 99 | end]==],script) | |
| 100 | ||
| 101 | ----Sandboxed game object that allows the usage of client-side methods and services | |
| 102 | --Real game object | |
| 103 | local RealGame = game | |
| 104 | ||
| 105 | --Metatable for fake service | |
| 106 | local FakeService_Metatable = {
| |
| 107 | __index = function(self,k) | |
| 108 | local s = rawget(self,"_RealService") | |
| 109 | if s then | |
| 110 | return typeof(s[k])=="function" | |
| 111 | and function(_,...)return s[k](s,...)end or s[k] | |
| 112 | end | |
| 113 | end, | |
| 114 | __newindex = function(self,k,v) | |
| 115 | local s = rawget(self,"_RealService") | |
| 116 | if s then s[k]=v end | |
| 117 | end | |
| 118 | } | |
| 119 | local function FakeService(t,RealService) | |
| 120 | t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService | |
| 121 | return setmetatable(t,FakeService_Metatable) | |
| 122 | end | |
| 123 | ||
| 124 | --Fake game object | |
| 125 | local FakeGame = {
| |
| 126 | GetService = function(self,s) | |
| 127 | return rawget(self,s) or RealGame:GetService(s) | |
| 128 | end, | |
| 129 | Players = FakeService({
| |
| 130 | LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
| |
| 131 | },"Players"), | |
| 132 | UserInputService = FakeService(UIS,"UserInputService"), | |
| 133 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
| 134 | RunService = FakeService({
| |
| 135 | _btrs = {},
| |
| 136 | RenderStepped = RealGame:GetService("RunService").Heartbeat,
| |
| 137 | BindToRenderStep = function(self,name,_,fun) | |
| 138 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
| 139 | end, | |
| 140 | UnbindFromRenderStep = function(self,name) | |
| 141 | self._btrs[name]:Disconnect() | |
| 142 | end, | |
| 143 | },"RunService") | |
| 144 | } | |
| 145 | rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer) | |
| 146 | FakeGame.service = FakeGame.GetService | |
| 147 | FakeService(FakeGame,game) | |
| 148 | --Changing owner to fake player object to support owner:GetMouse() | |
| 149 | game,owner = FakeGame,FakeGame.Players.LocalPlayer | |
| 150 | end | |
| 151 | ||
| 152 | ||
| 153 | ||
| 154 | function TakeDamage(hum, dmg) | |
| 155 | hum:TakeDamage(dmg) | |
| 156 | end | |
| 157 | plr = game.Players.LocalPlayer | |
| 158 | repeat | |
| 159 | wait(0.4) | |
| 160 | until plr.Character | |
| 161 | chr = plr.Character | |
| 162 | human = chr:FindFirstChild("Humanoid")
| |
| 163 | human.MaxHealth, human.Health = math.huge, math.huge | |
| 164 | mouse = plr:GetMouse() | |
| 165 | cam = workspace.CurrentCamera | |
| 166 | selected = false | |
| 167 | equipd = false | |
| 168 | tors = chr.Torso | |
| 169 | rarm = chr["Right Arm"] | |
| 170 | larm = chr["Left Arm"] | |
| 171 | rleg = chr["Right Leg"] | |
| 172 | lleg = chr["Left Leg"] | |
| 173 | hrp = chr.HumanoidRootPart | |
| 174 | hed = chr.Head | |
| 175 | anim = human.Animator | |
| 176 | activu = false | |
| 177 | appeared = false | |
| 178 | animpose = nil | |
| 179 | POSU = false | |
| 180 | local wherto = hrp | |
| 181 | local addcfr = CFrame.new(0, 0, 0) | |
| 182 | Heartbeat = Instance.new("BindableEvent")
| |
| 183 | Heartbeat.Name = "Heartbeat" | |
| 184 | Heartbeat.Parent = script | |
| 185 | frame = 0.03333333333333333 | |
| 186 | tf = 0 | |
| 187 | local BC = chr["Body Colors"] | |
| 188 | BC.HeadColor = BrickColor.new("Pastel brown")
| |
| 189 | BC.LeftArmColor = BrickColor.new("Pastel brown")
| |
| 190 | BC.LeftLegColor = BrickColor.new("Pastel brown")
| |
| 191 | BC.RightArmColor = BrickColor.new("Pastel brown")
| |
| 192 | BC.RightLegColor = BrickColor.new("Pastel brown")
| |
| 193 | BC.TorsoColor = BrickColor.new("Pastel brown")
| |
| 194 | ||
| 195 | for i,v in pairs(chr:children()) do | |
| 196 | if v:IsA("Accessory") then
| |
| 197 | v:Destroy() | |
| 198 | end | |
| 199 | end | |
| 200 | ||
| 201 | for i,v in pairs(chr:children()) do | |
| 202 | if v:IsA("Shirt") then
| |
| 203 | v:Destroy() | |
| 204 | end | |
| 205 | end | |
| 206 | ||
| 207 | for i,v in pairs(chr:children()) do | |
| 208 | if v:IsA("Pants") then
| |
| 209 | v:Destroy() | |
| 210 | end | |
| 211 | end | |
| 212 | local sh = Instance.new("Shirt",chr)
| |
| 213 | sh.ShirtTemplate = "rbxassetid://2334046343" | |
| 214 | local pan = Instance.new("Pants",chr)
| |
| 215 | pan.PantsTemplate = "rbxassetid://3036450862" | |
| 216 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 217 | tf = tf + s | |
| 218 | if tf >= frame then | |
| 219 | for i = 1, math.floor(tf / frame) do | |
| 220 | Heartbeat:Fire() | |
| 221 | end | |
| 222 | tf = tf - frame * math.floor(tf / frame) | |
| 223 | end | |
| 224 | end) | |
| 225 | function swait(num) | |
| 226 | if num == 0 or num == nil then | |
| 227 | Heartbeat.Event:wait() | |
| 228 | else | |
| 229 | for i = 1, num do | |
| 230 | Heartbeat.Event:wait() | |
| 231 | end | |
| 232 | end | |
| 233 | end | |
| 234 | tool = Instance.new("Tool")
| |
| 235 | tool.CanBeDropped = false | |
| 236 | tool.RequiresHandle = false | |
| 237 | tool.TextureId = "http://www.roblox.com/asset/?id=4025191505" | |
| 238 | tool.ToolTip = "KEKKA DAKE DA" | |
| 239 | tool.Name = "King Crismon" | |
| 240 | tool.Parent = plr.Backpack | |
| 241 | modz = Instance.new("Model")
| |
| 242 | modz.Name = "efx" | |
| 243 | modz.Parent = chr | |
| 244 | ZANOOB = Instance.new("Model")
| |
| 245 | ZANOOB.Name = "King Crimson" | |
| 246 | ZANOOB.Parent = chr | |
| 247 | RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 248 | RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 249 | LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 250 | LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 251 | RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 252 | RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 253 | LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 254 | RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 255 | LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 256 | NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 257 | NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 258 | RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 259 | RS = tors:FindFirstChild("Right Shoulder")
| |
| 260 | LS = tors:FindFirstChild("Left Shoulder")
| |
| 261 | RH = tors:FindFirstChild("Right Hip")
| |
| 262 | LH = tors:FindFirstChild("Left Hip")
| |
| 263 | RJ = hrp:FindFirstChild("RootJoint")
| |
| 264 | N = tors:FindFirstChild("Neck")
| |
| 265 | cf = CFrame.new | |
| 266 | ang = CFrame.Angles | |
| 267 | rd = math.rad | |
| 268 | rd2 = math.random | |
| 269 | function nooutline(p) | |
| 270 | p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10 | |
| 271 | end | |
| 272 | function makepart(color, name, reflec, mater, parnt, cfram) | |
| 273 | local port = Instance.new("Part")
| |
| 274 | port.BrickColor = BrickColor.new(color) | |
| 275 | port.Name = name | |
| 276 | port.Transparency = 1 | |
| 277 | nooutline(port) | |
| 278 | port.Reflectance = reflec | |
| 279 | port.Material = mater | |
| 280 | port.Anchored = false | |
| 281 | port.CanCollide = false | |
| 282 | port.Locked = true | |
| 283 | port.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 284 | port.Parent = parnt | |
| 285 | return port | |
| 286 | end | |
| 287 | function makemesh(meshtype, scale, meshid, parent) | |
| 288 | local mes = Instance.new("SpecialMesh")
| |
| 289 | mes.MeshType = meshtype | |
| 290 | mes.Scale = scale | |
| 291 | if meshtype == "FileMesh" then | |
| 292 | mes.MeshId = meshid | |
| 293 | end | |
| 294 | mes.Parent = parent | |
| 295 | return mes | |
| 296 | end | |
| 297 | function makemotor(parent, p0, p1, c0, c1) | |
| 298 | swait() | |
| 299 | local wel = Instance.new("Motor6D")
| |
| 300 | wel.Part0 = p0 | |
| 301 | wel.Part1 = p1 | |
| 302 | wel.C0 = c0 | |
| 303 | if c1 ~= nil then | |
| 304 | wel.C1 = c1 | |
| 305 | end | |
| 306 | wel.Parent = parent | |
| 307 | return wel | |
| 308 | end | |
| 309 | local konodioda = Instance.new("Sound")
| |
| 310 | konodioda.SoundId = "rbxassetid://3373967354" | |
| 311 | konodioda.Volume = 0.5 | |
| 312 | konodioda.Parent = hrp | |
| 313 | local bast = Instance.new("Sound")
| |
| 314 | bast.SoundId = "rbxassetid://3289256209" | |
| 315 | bast.Volume = 0.5 | |
| 316 | bast.Parent = hrp | |
| 317 | local zaworld = Instance.new("Sound")
| |
| 318 | zaworld.SoundId = "rbxassetid://3373956700" | |
| 319 | zaworld.Volume = 1 | |
| 320 | zaworld.Parent = hrp | |
| 321 | local wry = Instance.new("Sound")
| |
| 322 | wry.SoundId = "rbxassetid://3373975760" | |
| 323 | wry.Volume = 1 | |
| 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 | ---- Dio Hair | |
| 378 | local pa = Instance.new("Part",chr)
| |
| 379 | pa.Name = "Hair" | |
| 380 | ||
| 381 | local me = Instance.new("SpecialMesh",pa)
| |
| 382 | me.MeshType = "FileMesh" | |
| 383 | me.MeshId = "rbxassetid://5027544047" | |
| 384 | me.TextureId = "rbxassetid://901580889" | |
| 385 | me.Scale = Vector3.new(0.7, 0.7, 0.65) | |
| 386 | local we = Instance.new("Weld")
| |
| 387 | we.Parent = pa | |
| 388 | we.Part0 = hed | |
| 389 | we.Part1 = pa | |
| 390 | we.C1 = CFrame.new(0,1.2,-0.5) | |
| 391 | we.C0 = CFrame.Angles(0,0,0) | |
| 392 | function STANDO(cfr) | |
| 393 | local rooto = Instance.new("Part")
| |
| 394 | nooutline(rooto) | |
| 395 | rooto.Name = "HumanoidRootPart" | |
| 396 | rooto.Anchored = true | |
| 397 | rooto.CFrame = cfr | |
| 398 | rooto.Size = Vector3.new(2, 2, 1) | |
| 399 | rooto.CanCollide = false | |
| 400 | rooto.Locked = true | |
| 401 | rooto.Transparency = 1 | |
| 402 | rooto.Parent = ZANOOB | |
| 403 | local head = Instance.new("Part")
| |
| 404 | nooutline(head) | |
| 405 | head.Anchored = false | |
| 406 | head.CFrame = rooto.CFrame * CFrame.new(0, 1.5, 0) | |
| 407 | head.Size = Vector3.new(2, 1, 1) | |
| 408 | head.BrickColor = BrickColor.new("Bright red")
| |
| 409 | head.CanCollide = false | |
| 410 | head.Name = "Head" | |
| 411 | head.Locked = true | |
| 412 | head.Transparency = 1 | |
| 413 | head.Parent = ZANOOB | |
| 414 | local headmesh = makemesh("Head", Vector3.new(1.25, 1.25, 1.25), nil, head)
| |
| 415 | local headdecal = Instance.new("Decal")
| |
| 416 | headdecal.Name = "face" | |
| 417 | headdecal.Texture = "rbxasset://textures/face.png" | |
| 418 | headdecal.Face = "Front" | |
| 419 | headdecal.Transparency = 1 | |
| 420 | headdecal.Parent = head | |
| 421 | local torso = Instance.new("Part")
| |
| 422 | nooutline(torso) | |
| 423 | torso.Name = "Torso" | |
| 424 | torso.Anchored = false | |
| 425 | torso.CFrame = rooto.CFrame * CFrame.new(0, 0, 0) | |
| 426 | torso.Size = Vector3.new(2, 1, 1) | |
| 427 | torso.BrickColor = BrickColor.new("Bright red")
| |
| 428 | torso.CanCollide = false | |
| 429 | torso.Transparency = 1 | |
| 430 | torso.Locked = true | |
| 431 | torso.Parent = ZANOOB | |
| 432 | local torsomesh = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxasset://fonts/torso.mesh", torso)
| |
| 433 | local leftarm = Instance.new("Part")
| |
| 434 | nooutline(leftarm) | |
| 435 | leftarm.Anchored = false | |
| 436 | leftarm.Name = "Left Arm" | |
| 437 | leftarm.CFrame = rooto.CFrame * CFrame.new(1.5, 0, 0) | |
| 438 | leftarm.Size = Vector3.new(1, 2, 1) | |
| 439 | leftarm.BrickColor = BrickColor.new("Bright red")
| |
| 440 | leftarm.CanCollide = false | |
| 441 | leftarm.Transparency = 1 | |
| 442 | leftarm.Locked = true | |
| 443 | leftarm.Parent = ZANOOB | |
| 444 | local leftarmmesh = makemesh("FileMesh", Vector3.new(1, 1, 1), "", leftarm)
| |
| 445 | local rightarm = Instance.new("Part")
| |
| 446 | nooutline(rightarm) | |
| 447 | rightarm.Anchored = false | |
| 448 | rightarm.CFrame = rooto.CFrame * CFrame.new(-1.5, 0, 0) | |
| 449 | rightarm.Name = "Right Arm" | |
| 450 | rightarm.Size = Vector3.new(1, 2, 1) | |
| 451 | rightarm.BrickColor = BrickColor.new("Bright red")
| |
| 452 | rightarm.CanCollide = false | |
| 453 | rightarm.Locked = true | |
| 454 | rightarm.Transparency = 1 | |
| 455 | rightarm.Parent = ZANOOB | |
| 456 | local rightarmmesh = makemesh("FileMesh", Vector3.new(0.8, 1, 1), "", rightarm)
| |
| 457 | local leftleg = Instance.new("Part")
| |
| 458 | nooutline(leftleg) | |
| 459 | leftleg.Anchored = false | |
| 460 | leftleg.CFrame = rooto.CFrame * CFrame.new(1.5, -1.5, 0) | |
| 461 | leftleg.Name = "Left Leg" | |
| 462 | leftleg.Size = Vector3.new(1, 2, 1) | |
| 463 | leftleg.BrickColor = BrickColor.new("Bright red")
| |
| 464 | leftleg.CanCollide = false | |
| 465 | leftleg.Transparency = 1 | |
| 466 | leftleg.Locked = true | |
| 467 | leftleg.Parent = ZANOOB | |
| 468 | local leftlegmesh = makemesh("FileMesh", Vector3.new(1, 1, 1), "", leftleg)
| |
| 469 | local rightleg = Instance.new("Part")
| |
| 470 | nooutline(rightleg) | |
| 471 | rightleg.Anchored = false | |
| 472 | rightleg.CFrame = rooto.CFrame * CFrame.new(-1.5, -1.5, 0) | |
| 473 | rightleg.Name = "Right Leg" | |
| 474 | rightleg.Size = Vector3.new(1, 2, 1) | |
| 475 | rightleg.BrickColor = BrickColor.new("Bright red")
| |
| 476 | rightleg.CanCollide = false | |
| 477 | rightleg.Locked = true | |
| 478 | rightleg.Transparency = 1 | |
| 479 | rightleg.Parent = ZANOOB | |
| 480 | local rightlegmesh = makemesh("FileMesh", Vector3.new(1, 1, 1), "", rightleg)
| |
| 481 | local rootweld = makemotor(rooto, rooto, torso, RJC0, RJC1) | |
| 482 | rootweld.Name = "RootJoint" | |
| 483 | local neckweld = makemotor(torso, torso, head, NC0, NC1) | |
| 484 | neckweld.Name = "Neck" | |
| 485 | local rshoulderweld = makemotor(torso, torso, rightarm, RSC0, RSC1) | |
| 486 | rshoulderweld.Name = "Right Shoulder" | |
| 487 | local lshoulderweld = makemotor(torso, torso, leftarm, LSC0, LSC1) | |
| 488 | lshoulderweld.Name = "Left Shoulder" | |
| 489 | local rhipweld = makemotor(torso, torso, rightleg, RHC0, RHC1) | |
| 490 | rhipweld.Name = "Right Hip" | |
| 491 | local lhipweld = makemotor(torso, torso, leftleg, LHC0, LHC1) | |
| 492 | lhipweld.Name = "Left Hip" | |
| 493 | local la1 = Instance.new("Part")
| |
| 494 | nooutline(la1) | |
| 495 | la1.Anchored = false | |
| 496 | la1.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 497 | la1.Name = "la1" -- Head | |
| 498 | la1.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 499 | la1.BrickColor = BrickColor.new("Institutional white")
| |
| 500 | la1.CanCollide = false | |
| 501 | la1.Locked = true | |
| 502 | la1.Transparency = 1 | |
| 503 | la1.Parent = ZANOOB | |
| 504 | local la1m = makemesh("FileMesh", Vector3.new(1., 1.03, 1),"rbxassetid://1307316259", la1)
| |
| 505 | local la1w = makemotor(la1, la1, head, ang(rd(0), rd(0), rd(0)) * cf(0, -0.01, 0), ang(rd(0), 0, 0)) | |
| 506 | local la2 = Instance.new("Part")
| |
| 507 | nooutline(la2) | |
| 508 | la2.Anchored = false | |
| 509 | la2.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 510 | la2.Name = "la2" -- Head | |
| 511 | la2.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 512 | la2.BrickColor = BrickColor.new("Ghost grey")
| |
| 513 | la2.CanCollide = false | |
| 514 | la2.Locked = true | |
| 515 | la2.Transparency = 1 | |
| 516 | la2.Parent = ZANOOB | |
| 517 | local la2m = makemesh("FileMesh", Vector3.new(0.5, 0.5, 0.5),"rbxassetid://514528170", la2)
| |
| 518 | local la2w = makemotor(la2, la2, head, ang(rd(0), rd(0), rd(0)) * cf(0, 0, 0.2), ang(rd(0), 0, 0)) | |
| 519 | local la3 = Instance.new("Part")
| |
| 520 | nooutline(la3) | |
| 521 | la3.Anchored = false | |
| 522 | la3.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 523 | la3.Name = "la3" -- Head | |
| 524 | la3.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 525 | la3.BrickColor = BrickColor.new("Smoky grey")
| |
| 526 | la3.CanCollide = false | |
| 527 | la3.Locked = true | |
| 528 | la3.Transparency = 1 | |
| 529 | la3.Parent = ZANOOB | |
| 530 | local la3m = makemesh("FileMesh", Vector3.new(0.2, 0.2, 0.2),"rbxassetid://514528170", la3)
| |
| 531 | local la3w = makemotor(la3, la3, head, ang(rd(0), rd(0), rd(0)) * cf(0, -0.4, 0.5), ang(rd(0), 0, 0)) | |
| 532 | local la4 = Instance.new("Part")
| |
| 533 | nooutline(la4) | |
| 534 | la4.Anchored = false | |
| 535 | la4.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 536 | la4.Name = "la4" -- Head | |
| 537 | la4.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 538 | la4.BrickColor = BrickColor.new("Persimmon")
| |
| 539 | la4.CanCollide = false | |
| 540 | la4.Locked = true | |
| 541 | la4.Transparency = 1 | |
| 542 | la4.Parent = ZANOOB | |
| 543 | local la4m = makemesh("FileMesh", Vector3.new(0.1, 0.1, 0.1),"rbxassetid://514528170", la4)
| |
| 544 | local la4w = makemotor(la4, la4, head, ang(rd(0), rd(0), rd(0)) * cf(0, -0.4, 0.65), ang(rd(0), 0, 0)) | |
| 545 | local la5 = Instance.new("Part")
| |
| 546 | nooutline(la5) | |
| 547 | la5.Anchored = false | |
| 548 | la5.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 549 | la5.Name = "la5" -- Torso | |
| 550 | la5.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 551 | la5.BrickColor = BrickColor.new("Institutional white")
| |
| 552 | la5.CanCollide = false | |
| 553 | la5.Locked = true | |
| 554 | la5.Transparency = 1 | |
| 555 | la5.Parent = ZANOOB | |
| 556 | local la5m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.01),"rbxassetid://1279394898", la5)
| |
| 557 | local la5w = makemotor(la5, la5, torso, ang(rd(0), rd(0), rd(0)) * cf(0, -0.5, 0), ang(rd(0), 0, 0)) | |
| 558 | local la8 = Instance.new("Part")
| |
| 559 | nooutline(la8) | |
| 560 | la8.Anchored = false | |
| 561 | la8.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 562 | la8.Name = "la8" -- Torso | |
| 563 | la8.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 564 | la8.BrickColor = BrickColor.new("Institutional white")
| |
| 565 | la8.CanCollide = false | |
| 566 | la8.Locked = true | |
| 567 | la8.Transparency = 1 | |
| 568 | la8.Parent = ZANOOB | |
| 569 | local la8m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.01),"rbxassetid://1279394898", la8)
| |
| 570 | local la8w = makemotor(la8, la8, torso, ang(rd(180), rd(0), rd(0)) * cf(0, -0.5, 0), ang(rd(0), 0, 0)) | |
| 571 | local la6 = Instance.new("Part")
| |
| 572 | nooutline(la6) | |
| 573 | la6.Anchored = false | |
| 574 | la6.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 575 | la6.Name = "la6" -- Torso | |
| 576 | la6.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 577 | la6.BrickColor = BrickColor.new("Institutional white")
| |
| 578 | la6.CanCollide = false | |
| 579 | la6.Locked = true | |
| 580 | la6.Transparency = 1 | |
| 581 | la6.Parent = ZANOOB | |
| 582 | local la6m = makemesh("FileMesh", Vector3.new(0.005, 0.012, 0.006),"rbxassetid://1279434239", la6)
| |
| 583 | local la6w = makemotor(la6, la6, torso, ang(rd(0), rd(0), rd(3)) * cf(-0.3, 0.5, 0), ang(rd(0), 0, 0)) | |
| 584 | local la6 = Instance.new("Part")
| |
| 585 | nooutline(la6) | |
| 586 | la6.Anchored = false | |
| 587 | la6.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 588 | la6.Name = "la6" -- Torso | |
| 589 | la6.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 590 | la6.BrickColor = BrickColor.new("Institutional white")
| |
| 591 | la6.CanCollide = false | |
| 592 | la6.Locked = true | |
| 593 | la6.Transparency = 1 | |
| 594 | la6.Parent = ZANOOB | |
| 595 | local la6m = makemesh("FileMesh", Vector3.new(0.005, 0.012, 0.006),"rbxassetid://1279434239", la6)
| |
| 596 | local la6w = makemotor(la6, la6, torso, ang(rd(0), rd(0), rd(-3)) * cf(0.3, 0.5, 0), ang(rd(0), 0, 0)) | |
| 597 | local la7 = Instance.new("Part")
| |
| 598 | nooutline (la7) | |
| 599 | la7.Anchored = false | |
| 600 | la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 601 | la7.Name = "la7" -- Torso | |
| 602 | la7.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 603 | la7.BrickColor = BrickColor.new("Bright red")
| |
| 604 | la7.CanCollide = false | |
| 605 | la7.Locked = true | |
| 606 | la7.Transparency = 1 | |
| 607 | la7.Parent = ZANOOB | |
| 608 | local la7m = makemesh("FileMesh", Vector3.new(1, 0.5, 1),"rbxasset://fonts/torso.mesh", la7)
| |
| 609 | local la7w = makemotor(la7, la7, torso, ang(rd(0), rd(0), rd(0)) * cf(0, -0.5, 0), ang(rd(0), 0, 0)) | |
| 610 | local la9 = Instance.new("Part")
| |
| 611 | nooutline (la9) | |
| 612 | la9.Anchored = false | |
| 613 | la9.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 614 | la9.Name = "la9" -- Torso | |
| 615 | la9.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 616 | la9.BrickColor = BrickColor.new("Bright red")
| |
| 617 | la9.CanCollide = false | |
| 618 | la9.Locked = true | |
| 619 | la9.Transparency = 1 | |
| 620 | la9.Parent = ZANOOB | |
| 621 | local la9m = makemesh("FileMesh", Vector3.new(0.5, 0.3, 1),"rbxasset://fonts/torso.mesh", la9)
| |
| 622 | local la9w = makemotor(la9, la9, torso, ang(rd(0), rd(0), rd(20)) * cf(-0.5, -0.3, 0), ang(rd(0), 0, 0)) | |
| 623 | local la10 = Instance.new("Part")
| |
| 624 | nooutline (la10) | |
| 625 | la10.Anchored = false | |
| 626 | la10.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 627 | la10.Name = "la10" -- Torso | |
| 628 | la10.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 629 | la10.BrickColor = BrickColor.new("Bright red")
| |
| 630 | la10.CanCollide = false | |
| 631 | la10.Locked = true | |
| 632 | la10.Transparency = 1 | |
| 633 | la10.Parent = ZANOOB | |
| 634 | local la10m = makemesh("FileMesh", Vector3.new(0.5, 0.3, 1),"rbxasset://fonts/torso.mesh", la10)
| |
| 635 | local la10w = makemotor(la10, la10, torso, ang(rd(0), rd(0), rd(-20)) * cf(0.5, -0.3, 0), ang(rd(0), 0, 0)) | |
| 636 | local la11 = Instance.new("Part")
| |
| 637 | nooutline (la11) | |
| 638 | la11.Anchored = false | |
| 639 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 640 | la11.Name = "la11" -- Left Arm | |
| 641 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 642 | la11.BrickColor = BrickColor.new("Institutional white")
| |
| 643 | la11.CanCollide = false | |
| 644 | la11.Locked = true | |
| 645 | la11.Transparency = 1 | |
| 646 | la11.Parent = ZANOOB | |
| 647 | local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.0075, 0.01),"rbxassetid://1279394898", la11)
| |
| 648 | local la11w = makemotor(la11, la11, leftarm, ang(rd(0), rd(0), rd(90)) * cf(-0.1, 0, 0), ang(rd(0), 0, 0)) | |
| 649 | local la11 = Instance.new("Part")
| |
| 650 | nooutline (la11) | |
| 651 | la11.Anchored = false | |
| 652 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 653 | la11.Name = "la11" -- Left Arm | |
| 654 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 655 | la11.BrickColor = BrickColor.new("Institutional white")
| |
| 656 | la11.CanCollide = false | |
| 657 | la11.Locked = true | |
| 658 | la11.Transparency = 1 | |
| 659 | la11.Parent = ZANOOB | |
| 660 | local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
| |
| 661 | local la11w = makemotor(la11, la11, leftarm, ang(rd(90), rd(0), rd(90)) * cf(-0.1, 0, 0), ang(rd(0), 0, 0)) | |
| 662 | local la11 = Instance.new("Part")
| |
| 663 | nooutline (la11) | |
| 664 | la11.Anchored = false | |
| 665 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 666 | la11.Name = "la11" -- Left Arm | |
| 667 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 668 | la11.BrickColor = BrickColor.new("Institutional white")
| |
| 669 | la11.CanCollide = false | |
| 670 | la11.Locked = true | |
| 671 | la11.Transparency = 1 | |
| 672 | la11.Parent = ZANOOB | |
| 673 | local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
| |
| 674 | local la11w = makemotor(la11, la11, leftarm, ang(rd(90), rd(0), rd(90)) * cf(-0.1, 0, 0), ang(rd(0), 0, 0)) | |
| 675 | local la11 = Instance.new("Part")
| |
| 676 | nooutline (la11) | |
| 677 | la11.Anchored = false | |
| 678 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 679 | la11.Name = "la11" -- Right Arm | |
| 680 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 681 | la11.BrickColor = BrickColor.new("Institutional white")
| |
| 682 | la11.CanCollide = false | |
| 683 | la11.Locked = true | |
| 684 | la11.Transparency = 1 | |
| 685 | la11.Parent = ZANOOB | |
| 686 | local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.0075, 0.01),"rbxassetid://1279394898", la11)
| |
| 687 | local la11w = makemotor(la11, la11, rightarm, ang(rd(0), rd(0), rd(90)) * cf(0.1, 0, 0), ang(rd(0), 0, 0)) | |
| 688 | local la11 = Instance.new("Part")
| |
| 689 | nooutline (la11) | |
| 690 | la11.Anchored = false | |
| 691 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 692 | la11.Name = "la11" -- Right Arm | |
| 693 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 694 | la11.BrickColor = BrickColor.new("Institutional white")
| |
| 695 | la11.CanCollide = false | |
| 696 | la11.Locked = true | |
| 697 | la11.Transparency = 1 | |
| 698 | la11.Parent = ZANOOB | |
| 699 | local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
| |
| 700 | local la11w = makemotor(la11, la11, rightarm, ang(rd(90), rd(0), rd(-90)) * cf(0.1, 0, 0), ang(rd(0), 0, 0)) | |
| 701 | local la11 = Instance.new("Part")
| |
| 702 | nooutline (la11) | |
| 703 | la11.Anchored = false | |
| 704 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 705 | la11.Name = "la11" -- Right Arm | |
| 706 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 707 | la11.BrickColor = BrickColor.new("Institutional white")
| |
| 708 | la11.CanCollide = false | |
| 709 | la11.Locked = true | |
| 710 | la11.Transparency = 1 | |
| 711 | la11.Parent = ZANOOB | |
| 712 | local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.0075, 0.01),"rbxassetid://1279394898", la11)
| |
| 713 | local la11w = makemotor(la11, la11, rightarm, ang(rd(0), rd(0), rd(-90)) * cf(0.1, 0, 0), ang(rd(0), 0, 0)) | |
| 714 | local la11 = Instance.new("Part")
| |
| 715 | nooutline (la11) | |
| 716 | la11.Anchored = false | |
| 717 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 718 | la11.Name = "la11" -- Right Arm | |
| 719 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 720 | la11.BrickColor = BrickColor.new("Bright red")
| |
| 721 | la11.CanCollide = false | |
| 722 | la11.Locked = true | |
| 723 | la11.Transparency = 1 | |
| 724 | la11.Parent = ZANOOB | |
| 725 | local la11m = makemesh("FileMesh", Vector3.new(0.8, 1, 1),"rbxasset://fonts/rightarm.mesh", la11)
| |
| 726 | local la11w = makemotor(la11, la11, rightarm, ang(rd(0), rd(0), rd(0)) * cf(0.1, 0, 0), ang(rd(0), 0, 0)) | |
| 727 | local la11 = Instance.new("Part")
| |
| 728 | nooutline (la11) | |
| 729 | la11.Anchored = false | |
| 730 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 731 | la11.Name = "la11" -- Right Arm | |
| 732 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 733 | la11.BrickColor = BrickColor.new("Bright red")
| |
| 734 | la11.CanCollide = false | |
| 735 | la11.Locked = true | |
| 736 | la11.Transparency = 1 | |
| 737 | la11.Parent = ZANOOB | |
| 738 | local la11m = makemesh("FileMesh", Vector3.new(0.8, 1, 1),"rbxasset://fonts/rightarm.mesh", la11)
| |
| 739 | local la11w = makemotor(la11, la11, leftarm, ang(rd(0), rd(0), rd(0)) * cf(-0.1, 0, 0), ang(rd(0), 0, 0)) | |
| 740 | local la11 = Instance.new("Part")
| |
| 741 | nooutline (la11) | |
| 742 | la11.Anchored = false | |
| 743 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 744 | la11.Name = "la11" -- Torso | |
| 745 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 746 | la11.BrickColor = BrickColor.new("Institutional white")
| |
| 747 | la11.CanCollide = false | |
| 748 | la11.Locked = true | |
| 749 | la11.Transparency = 1 | |
| 750 | la11.Parent = ZANOOB | |
| 751 | local la11m = makemesh("FileMesh", Vector3.new(0.007, 0.01, 0.01),"rbxassetid://548881795", la11)
| |
| 752 | local la11w = makemotor(la11, la11, torso, ang(rd(0), rd(180), rd(0)) * cf(0, -1.1, -0.05), ang(rd(0), 0, 0)) | |
| 753 | local la6 = Instance.new("Part")
| |
| 754 | nooutline(la6) | |
| 755 | la6.Anchored = false | |
| 756 | la6.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 757 | la6.Name = "la6" -- Torso | |
| 758 | la6.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 759 | la6.BrickColor = BrickColor.new("Smoky grey")
| |
| 760 | la6.CanCollide = false | |
| 761 | la6.Locked = true | |
| 762 | la6.Transparency = 1 | |
| 763 | la6.Parent = ZANOOB | |
| 764 | local la6m = makemesh("FileMesh", Vector3.new(1.34, 1.4, 1.4),"rbxassetid://448723209", la6)
| |
| 765 | local la6w = makemotor(la6, la6, torso, ang(rd(0), rd(0), rd(0)) * cf(0, 1.37, 0), ang(rd(0), 0, 0)) | |
| 766 | local la11 = Instance.new("Part")
| |
| 767 | nooutline (la11) | |
| 768 | la11.Anchored = false | |
| 769 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 770 | la11.Name = "la11" -- LeftLeg | |
| 771 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 772 | la11.BrickColor = BrickColor.new("Bright red")
| |
| 773 | la11.CanCollide = false | |
| 774 | la11.Locked = true | |
| 775 | la11.Transparency = 1 | |
| 776 | la11.Parent = ZANOOB | |
| 777 | local la11m = makemesh("FileMesh", Vector3.new(0.8, 1, 1),"rbxasset://fonts/leftleg.mesh", la11)
| |
| 778 | local la11w = makemotor(la11, la11, leftleg, ang(rd(0), rd(0), rd(0)) * cf(-0.1, 0.1, 0), ang(rd(0), 0, 0)) | |
| 779 | local la11 = Instance.new("Part")
| |
| 780 | nooutline (la11) | |
| 781 | la11.Anchored = false | |
| 782 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 783 | la11.Name = "la11" -- RightLeg | |
| 784 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 785 | la11.BrickColor = BrickColor.new("Bright red")
| |
| 786 | la11.CanCollide = false | |
| 787 | la11.Locked = true | |
| 788 | la11.Transparency = 1 | |
| 789 | la11.Parent = ZANOOB | |
| 790 | local la11m = makemesh("FileMesh", Vector3.new(0.8, 1, 1),"rbxasset://fonts/Rightleg.mesh", la11)
| |
| 791 | local la11w = makemotor(la11, la11, rightleg, ang(rd(0), rd(0), rd(0)) * cf(0.1, 0.1, 0), ang(rd(0), 0, 0)) | |
| 792 | local la11 = Instance.new("Part")
| |
| 793 | nooutline (la11) | |
| 794 | la11.Anchored = false | |
| 795 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 796 | la11.Name = "la11" -- Left Leg | |
| 797 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 798 | la11.BrickColor = BrickColor.new("Institutional white")
| |
| 799 | la11.CanCollide = false | |
| 800 | la11.Locked = true | |
| 801 | la11.Transparency = 1 | |
| 802 | la11.Parent = ZANOOB | |
| 803 | local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.0075, 0.01),"rbxassetid://1279394898", la11)
| |
| 804 | local la11w = makemotor(la11, la11, leftleg, ang(rd(0), rd(0), rd(90)) * cf(-0.1, 0.1, 0), ang(rd(0), 0, 0)) | |
| 805 | local la11 = Instance.new("Part")
| |
| 806 | nooutline (la11) | |
| 807 | la11.Anchored = false | |
| 808 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 809 | la11.Name = "la11" -- Left Arm | |
| 810 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 811 | la11.BrickColor = BrickColor.new("Institutional white")
| |
| 812 | la11.CanCollide = false | |
| 813 | la11.Locked = true | |
| 814 | la11.Transparency = 1 | |
| 815 | la11.Parent = ZANOOB | |
| 816 | local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
| |
| 817 | local la11w = makemotor(la11, la11, leftleg, ang(rd(90), rd(0), rd(90)) * cf(-0.1, 0.1, 0), ang(rd(0), 0, 0)) | |
| 818 | local la11 = Instance.new("Part")
| |
| 819 | nooutline (la11) | |
| 820 | la11.Anchored = false | |
| 821 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 822 | la11.Name = "la11" -- Left Arm | |
| 823 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 824 | la11.BrickColor = BrickColor.new("Institutional white")
| |
| 825 | la11.CanCollide = false | |
| 826 | la11.Locked = true | |
| 827 | la11.Transparency = 1 | |
| 828 | la11.Parent = ZANOOB | |
| 829 | local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
| |
| 830 | local la11w = makemotor(la11, la11, leftleg, ang(rd(90), rd(0), rd(90)) * cf(-0.1, 0.1, 0), ang(rd(0), 0, 0)) | |
| 831 | local la11 = Instance.new("Part")
| |
| 832 | nooutline (la11) | |
| 833 | la11.Anchored = false | |
| 834 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 835 | la11.Name = "la11" -- Left Leg | |
| 836 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 837 | la11.BrickColor = BrickColor.new("Institutional white")
| |
| 838 | la11.CanCollide = false | |
| 839 | la11.Locked = true | |
| 840 | la11.Transparency = 1 | |
| 841 | la11.Parent = ZANOOB | |
| 842 | local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.0075, 0.01),"rbxassetid://1279394898", la11)
| |
| 843 | local la11w = makemotor(la11, la11, rightleg, ang(rd(0), rd(0), rd(90)) * cf(0.1, 0.1, 0), ang(rd(0), 0, 0)) | |
| 844 | local la11 = Instance.new("Part")
| |
| 845 | nooutline (la11) | |
| 846 | la11.Anchored = false | |
| 847 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 848 | la11.Name = "la11" -- Left Arm | |
| 849 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 850 | la11.BrickColor = BrickColor.new("Institutional white")
| |
| 851 | la11.CanCollide = false | |
| 852 | la11.Locked = true | |
| 853 | la11.Transparency = 1 | |
| 854 | la11.Parent = ZANOOB | |
| 855 | local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
| |
| 856 | local la11w = makemotor(la11, la11, rightleg, ang(rd(90), rd(0), rd(90)) * cf(0.1, 0.1, 0), ang(rd(0), 0, 0)) | |
| 857 | local la11 = Instance.new("Part")
| |
| 858 | nooutline (la11) | |
| 859 | la11.Anchored = false | |
| 860 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 861 | la11.Name = "la11" -- Left Arm | |
| 862 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 863 | la11.BrickColor = BrickColor.new("Institutional white")
| |
| 864 | la11.CanCollide = false | |
| 865 | la11.Locked = true | |
| 866 | la11.Transparency = 1 | |
| 867 | la11.Parent = ZANOOB | |
| 868 | local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
| |
| 869 | local la11w = makemotor(la11, la11, rightleg, ang(rd(90), rd(0), rd(90)) * cf(0.1, 0.1, 0), ang(rd(0), 0, 0)) | |
| 870 | local la7 = Instance.new("Part")
| |
| 871 | nooutline (la7) | |
| 872 | la7.Anchored = false | |
| 873 | la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 874 | la7.Name = "la7" -- LeftArm | |
| 875 | la7.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 876 | la7.BrickColor = BrickColor.new("Institutional white")
| |
| 877 | la7.CanCollide = false | |
| 878 | la7.Locked = true | |
| 879 | la7.Transparency = 1 | |
| 880 | la7.Parent = ZANOOB | |
| 881 | local la7m = makemesh("FileMesh", Vector3.new(0.9, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
| |
| 882 | local la7w = makemotor(la7, la7, leftarm, ang(rd(0), rd(0), rd(0)) * cf(-0.1, 0.81, 0), ang(rd(0), 0, 0)) | |
| 883 | local la7 = Instance.new("Part")
| |
| 884 | nooutline (la7) | |
| 885 | la7.Anchored = false | |
| 886 | la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 887 | la7.Name = "la7" -- LeftArm | |
| 888 | la7.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 889 | la7.BrickColor = BrickColor.new("Smoky grey")
| |
| 890 | la7.CanCollide = false | |
| 891 | la7.Locked = true | |
| 892 | la7.Transparency = 1 | |
| 893 | la7.Parent = ZANOOB | |
| 894 | local la7m = makemesh("FileMesh", Vector3.new(0.007, 0.002, 0.005),"rbxassetid://430540268", la7)
| |
| 895 | local la7w = makemotor(la7, la7, leftarm, ang(rd(0), rd(0), rd(270)) * cf(0.39, 0.31, 0), ang(rd(0), 0, 0)) | |
| 896 | local la7 = Instance.new("Part")
| |
| 897 | nooutline (la7) | |
| 898 | la7.Anchored = false | |
| 899 | la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 900 | la7.Name = "la7" -- RightArm | |
| 901 | la7.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 902 | la7.BrickColor = BrickColor.new("Smoky grey")
| |
| 903 | la7.CanCollide = false | |
| 904 | la7.Locked = true | |
| 905 | la7.Transparency = 1 | |
| 906 | la7.Parent = ZANOOB | |
| 907 | local la7m = makemesh("FileMesh", Vector3.new(0.007, 0.002, 0.005),"rbxassetid://430540268", la7)
| |
| 908 | local la7w = makemotor(la7, la7, rightarm, ang(rd(0), rd(0), rd(-270)) * cf(-0.39, 0.31, 0), ang(rd(0), 0, 0)) | |
| 909 | local la7 = Instance.new("Part")
| |
| 910 | nooutline (la7) | |
| 911 | la7.Anchored = false | |
| 912 | la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 913 | la7.Name = "la7" -- LeftArm | |
| 914 | la7.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 915 | la7.BrickColor = BrickColor.new("Institutional white")
| |
| 916 | la7.CanCollide = false | |
| 917 | la7.Locked = true | |
| 918 | la7.Transparency = 1 | |
| 919 | la7.Parent = ZANOOB | |
| 920 | local la7m = makemesh("FileMesh", Vector3.new(0.9, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
| |
| 921 | local la7w = makemotor(la7, la7, rightarm, ang(rd(0), rd(0), rd(0)) * cf(0.1, 0.81, 0), ang(rd(0), 0, 0)) | |
| 922 | local la7 = Instance.new("Part")
| |
| 923 | nooutline (la7) | |
| 924 | la7.Anchored = false | |
| 925 | la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 926 | la7.Name = "la7" -- LeftArm | |
| 927 | la7.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 928 | la7.BrickColor = BrickColor.new("Institutional white")
| |
| 929 | la7.CanCollide = false | |
| 930 | la7.Locked = true | |
| 931 | la7.Transparency = 1 | |
| 932 | la7.Parent = ZANOOB | |
| 933 | local la7m = makemesh("FileMesh", Vector3.new(0.9, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
| |
| 934 | local la7w = makemotor(la7, la7, rightleg, ang(rd(0), rd(0), rd(0)) * cf(0.1, 0.92, 0), ang(rd(0), 0, 0)) | |
| 935 | local la7 = Instance.new("Part")
| |
| 936 | nooutline (la7) | |
| 937 | la7.Anchored = false | |
| 938 | la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 939 | la7.Name = "la7" -- LeftArm | |
| 940 | la7.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 941 | la7.BrickColor = BrickColor.new("Institutional white")
| |
| 942 | la7.CanCollide = false | |
| 943 | la7.Locked = true | |
| 944 | la7.Transparency = 1 | |
| 945 | la7.Parent = ZANOOB | |
| 946 | local la7m = makemesh("FileMesh", Vector3.new(0.9, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
| |
| 947 | local la7w = makemotor(la7, la7, leftleg, ang(rd(0), rd(0), rd(0)) * cf(-0.1, 0.92, 0), ang(rd(0), 0, 0)) | |
| 948 | local la7 = Instance.new("Part")
| |
| 949 | nooutline (la7) | |
| 950 | la7.Anchored = false | |
| 951 | la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 952 | la7.Name = "la7" -- LeftArm | |
| 953 | la7.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 954 | la7.BrickColor = BrickColor.new("Institutional white")
| |
| 955 | la7.CanCollide = false | |
| 956 | la7.Locked = true | |
| 957 | la7.Transparency = 1 | |
| 958 | la7.Parent = ZANOOB | |
| 959 | local la7m = makemesh("FileMesh", Vector3.new(1.1, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
| |
| 960 | local la7w = makemotor(la7, la7, leftarm, ang(rd(0), rd(0), rd(-25)) * cf(0, -0.92, 0), ang(rd(0), 0, 0)) | |
| 961 | local la7 = Instance.new("Part")
| |
| 962 | nooutline (la7) | |
| 963 | la7.Anchored = false | |
| 964 | la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 965 | la7.Name = "la7" -- LeftArm | |
| 966 | la7.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 967 | la7.BrickColor = BrickColor.new("Institutional white")
| |
| 968 | la7.CanCollide = false | |
| 969 | la7.Locked = true | |
| 970 | la7.Transparency = 1 | |
| 971 | la7.Parent = ZANOOB | |
| 972 | local la7m = makemesh("FileMesh", Vector3.new(0.5, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
| |
| 973 | local la7w = makemotor(la7, la7, leftarm, ang(rd(0), rd(0), rd(-5)) * cf(0.3, -0.70, 0), ang(rd(0), 0, 0)) | |
| 974 | local la7 = Instance.new("Part")
| |
| 975 | nooutline (la7) | |
| 976 | la7.Anchored = false | |
| 977 | la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 978 | la7.Name = "la7" -- LeftArm | |
| 979 | la7.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 980 | la7.BrickColor = BrickColor.new("Institutional white")
| |
| 981 | la7.CanCollide = false | |
| 982 | la7.Locked = true | |
| 983 | la7.Transparency = 1 | |
| 984 | la7.Parent = ZANOOB | |
| 985 | local la7m = makemesh("FileMesh", Vector3.new(1.1, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
| |
| 986 | local la7w = makemotor(la7, la7, rightarm, ang(rd(0), rd(0), rd(25)) * cf(0, -0.92, 0), ang(rd(0), 0, 0)) | |
| 987 | local la7 = Instance.new("Part")
| |
| 988 | nooutline (la7) | |
| 989 | la7.Anchored = false | |
| 990 | la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 991 | la7.Name = "la7" -- LeftArm | |
| 992 | la7.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 993 | la7.BrickColor = BrickColor.new("Institutional white")
| |
| 994 | la7.CanCollide = false | |
| 995 | la7.Locked = true | |
| 996 | la7.Transparency = 1 | |
| 997 | la7.Parent = ZANOOB | |
| 998 | local la7m = makemesh("FileMesh", Vector3.new(0.5, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
| |
| 999 | local la7w = makemotor(la7, la7, rightarm, ang(rd(0), rd(0), rd(5)) * cf(-0.3, -0.70, 0), ang(rd(0), 0, 0)) | |
| 1000 | local la7 = Instance.new("Part")
| |
| 1001 | nooutline (la7) | |
| 1002 | la7.Anchored = false | |
| 1003 | la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 1004 | la7.Name = "la7" -- LeftArm | |
| 1005 | la7.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 1006 | la7.BrickColor = BrickColor.new("Smoky grey")
| |
| 1007 | la7.CanCollide = false | |
| 1008 | la7.Locked = true | |
| 1009 | la7.Transparency = 1 | |
| 1010 | la7.Parent = ZANOOB | |
| 1011 | local la7m = makemesh("FileMesh", Vector3.new(0.007, 0.002, 0.005),"rbxassetid://430540268", la7)
| |
| 1012 | local la7w = makemotor(la7, la7, leftleg, ang(rd(90), rd(0), rd(270)) * cf(-0.09, -0.2, 0.55), ang(rd(0), 0, 0)) | |
| 1013 | local la7 = Instance.new("Part")
| |
| 1014 | nooutline (la7) | |
| 1015 | la7.Anchored = false | |
| 1016 | la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 1017 | la7.Name = "la7" -- LeftArm | |
| 1018 | la7.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 1019 | la7.BrickColor = BrickColor.new("Smoky grey")
| |
| 1020 | la7.CanCollide = false | |
| 1021 | la7.Locked = true | |
| 1022 | la7.Transparency = 1 | |
| 1023 | la7.Parent = ZANOOB | |
| 1024 | local la7m = makemesh("FileMesh", Vector3.new(0.007, 0.002, 0.005),"rbxassetid://430540268", la7)
| |
| 1025 | local la7w = makemotor(la7, la7, rightleg, ang(rd(90), rd(0), rd(270)) * cf(0.09, -0.2, 0.55), ang(rd(0), 0, 0)) | |
| 1026 | local raemblem = Instance.new("Part")
| |
| 1027 | nooutline(raemblem) | |
| 1028 | raemblem.Anchored = false | |
| 1029 | raemblem.CFrame = rooto.CFrame * CFrame.new(0, 2, 1) | |
| 1030 | raemblem.Name = "raemblem" | |
| 1031 | raemblem.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 1032 | raemblem.BrickColor = BrickColor.new("Bright yellow")
| |
| 1033 | raemblem.CanCollide = false | |
| 1034 | raemblem.Locked = true | |
| 1035 | raemblem.Material = "SmoothPlastic" | |
| 1036 | raemblem.Transparency = 1 | |
| 1037 | raemblem.Parent = ZANOOB | |
| 1038 | local raemblemm = makemesh("Brick", Vector3.new(0, 3, 3), nil, raemblem)
| |
| 1039 | 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)) | |
| 1040 | local emmes = Instance.new("Decal")
| |
| 1041 | emmes.Texture = "N/A" | |
| 1042 | emmes.Transparency = 1 | |
| 1043 | emmes.Face = "Right" | |
| 1044 | emmes.Name = "embe" | |
| 1045 | emmes.Parent = raemblem | |
| 1046 | return ZANOOB | |
| 1047 | end | |
| 1048 | local thenoob = STANDO(hrp.CFrame * CFrame.new(0, 0, 0)) | |
| 1049 | coroutine.resume(coroutine.create(function() | |
| 1050 | local rot = thenoob.HumanoidRootPart | |
| 1051 | repeat | |
| 1052 | swait() | |
| 1053 | rot.CFrame = rot.CFrame:lerp(wherto.CFrame * addcfr, 0.5) | |
| 1054 | until rot == nil | |
| 1055 | end)) | |
| 1056 | local rot = thenoob.HumanoidRootPart | |
| 1057 | local ntorso = thenoob:FindFirstChild("Torso")
| |
| 1058 | local rightarm = thenoob:FindFirstChild("Right Arm")
| |
| 1059 | local leftarm = thenoob:FindFirstChild("Left Arm")
| |
| 1060 | local leftleg = thenoob:FindFirstChild("Left Leg")
| |
| 1061 | local rightleg = thenoob:FindFirstChild("Right Leg")
| |
| 1062 | local head = thenoob:FindFirstChild("Head")
| |
| 1063 | local face = head:FindFirstChild("face")
| |
| 1064 | local emblem = thenoob:FindFirstChild("raemblem"):FindFirstChild("embe")
| |
| 1065 | local embpart = thenoob:FindFirstChild("raemblem")
| |
| 1066 | local nRJ = rot:FindFirstChild("RootJoint")
| |
| 1067 | local nN = ntorso:FindFirstChild("Neck")
| |
| 1068 | local nRS = ntorso:FindFirstChild("Right Shoulder")
| |
| 1069 | local nLS = ntorso:FindFirstChild("Left Shoulder")
| |
| 1070 | local nRH = ntorso:FindFirstChild("Right Hip")
| |
| 1071 | local nLH = ntorso:FindFirstChild("Left Hip")
| |
| 1072 | function standappear(nbz) | |
| 1073 | if selected == false or activu == true then | |
| 1074 | return | |
| 1075 | end | |
| 1076 | if appeared == false then | |
| 1077 | appeared = true | |
| 1078 | wherto = hrp | |
| 1079 | addcfr = cf(-2, 1, 2) | |
| 1080 | local apear = Instance.new("Sound")
| |
| 1081 | apear.SoundId = "rbxassetid://3373995015" | |
| 1082 | apear.Parent = rot | |
| 1083 | apear.Volume = 2 | |
| 1084 | game.Debris:AddItem(apear, 1.5) | |
| 1085 | apear:Play() | |
| 1086 | for _, n in pairs(nbz:GetChildren()) do | |
| 1087 | coroutine.resume(coroutine.create(function() | |
| 1088 | for _ = 1, 5 do | |
| 1089 | if n ~= rot and n ~= embpart and n.ClassName ~= "Sound" then | |
| 1090 | swait() | |
| 1091 | n.Transparency = n.Transparency - 0.2 | |
| 1092 | face.Transparency = face.Transparency - 0.2 | |
| 1093 | emblem.Transparency = emblem.Transparency - 0.2 | |
| 1094 | end | |
| 1095 | end | |
| 1096 | if n ~= rot and n ~= embpart then | |
| 1097 | n.Transparency = 0 | |
| 1098 | end | |
| 1099 | face.Transparency = 0 | |
| 1100 | emblem.Transparency = 0 | |
| 1101 | end)) | |
| 1102 | end | |
| 1103 | elseif appeared == true then | |
| 1104 | appeared = false | |
| 1105 | wherto = hrp | |
| 1106 | addcfr = cf(0, 0, 0) | |
| 1107 | for _, n in pairs(nbz:GetChildren()) do | |
| 1108 | coroutine.resume(coroutine.create(function() | |
| 1109 | for _ = 1, 5 do | |
| 1110 | if n ~= rot and n ~= embpart then | |
| 1111 | swait() | |
| 1112 | n.Transparency = n.Transparency + 0.2 | |
| 1113 | face.Transparency = face.Transparency + 0.2 | |
| 1114 | emblem.Transparency = emblem.Transparency + 0.2 | |
| 1115 | end | |
| 1116 | end | |
| 1117 | if n ~= rot and n ~= embpart then | |
| 1118 | n.Transparency = 1 | |
| 1119 | end | |
| 1120 | face.Transparency = 1 | |
| 1121 | emblem.Transparency = 1 | |
| 1122 | end)) | |
| 1123 | end | |
| 1124 | end | |
| 1125 | end | |
| 1126 | function THREATENING() | |
| 1127 | if selected == false or activu == true then | |
| 1128 | return | |
| 1129 | end | |
| 1130 | if POSU == false then | |
| 1131 | POSU = true | |
| 1132 | human.WalkSpeed = 0 | |
| 1133 | local d = Instance.new("ParticleEmitter")
| |
| 1134 | d.Name = "MENACINGU" | |
| 1135 | d.Lifetime = NumberRange.new(1) | |
| 1136 | d.Rate = 2 | |
| 1137 | d.Texture = "rbxassetid://298768656" | |
| 1138 | d.VelocitySpread = 60 | |
| 1139 | d.Parent = tors | |
| 1140 | human:SetStateEnabled(3, false) | |
| 1141 | local randomoth = math.random(1) | |
| 1142 | if randomoth == 1 then | |
| 1143 | repeat | |
| 1144 | swait() | |
| 1145 | lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.05) * ang(rd(-5), rd(0), rd(-30)), 0.3) | |
| 1146 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(10)), 0.3) | |
| 1147 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(40), rd(10)), 0.3) | |
| 1148 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1149 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-40), rd(-10)), 0.3) | |
| 1150 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1151 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(-25), rd(0)), 0.3) | |
| 1152 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1153 | lerpz(LH, "C0", LHC0 * cf(0.3, 0.1, -0.15) * ang(rd(-20), rd(50), rd(10)), 0.3) | |
| 1154 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-10)), 0.3) | |
| 1155 | until POSU == false | |
| 1156 | elseif randomoth == 2 then | |
| 1157 | repeat | |
| 1158 | swait() | |
| 1159 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(-2), rd(25)), 0.3) | |
| 1160 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(6), rd(0), rd(-50)), 0.3) | |
| 1161 | lerpz(RS, "C0", RSC0 * cf(-0.25, 0.3, -0.5) * ang(rd(-30), rd(-15), rd(200)), 0.3) | |
| 1162 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1163 | lerpz(LS, "C0", LSC0 * cf(0.25, 0.3, -0.5) * ang(rd(-32), rd(13), rd(-195)), 0.3) | |
| 1164 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1165 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-15), rd(-10)), 0.3) | |
| 1166 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1167 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(10), rd(-10)), 0.3) | |
| 1168 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1169 | until POSU == false | |
| 1170 | end | |
| 1171 | elseif POSU == true then | |
| 1172 | POSU = false | |
| 1173 | human.WalkSpeed = 16 | |
| 1174 | human:SetStateEnabled(3, true) | |
| 1175 | tors.MENACINGU:Destroy() | |
| 1176 | activu = true | |
| 1177 | activu = false | |
| 1178 | end | |
| 1179 | end | |
| 1180 | local EHMMM = 0 | |
| 1181 | function block() | |
| 1182 | if EHMMM == 50 or selected == false or activu == true then | |
| 1183 | return | |
| 1184 | end | |
| 1185 | if appeared == false then | |
| 1186 | standappear(thenoob) | |
| 1187 | end | |
| 1188 | wherto = hrp | |
| 1189 | addcfr = cf(0, 0, -3) | |
| 1190 | local bep = true | |
| 1191 | local humanshealth = human.Health | |
| 1192 | activu = true | |
| 1193 | human:SetStateEnabled(15, false) | |
| 1194 | local de = mouse.KeyUp:connect(function(key) | |
| 1195 | if key == "e" then | |
| 1196 | bep = false | |
| 1197 | end | |
| 1198 | end) | |
| 1199 | local poopes = 0 | |
| 1200 | repeat | |
| 1201 | swait() | |
| 1202 | poopes = poopes + 1 | |
| 1203 | human.Health = humanshealth | |
| 1204 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(2), rd(0), rd(0)), 0.5) | |
| 1205 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(7), rd(0), rd(0)), 0.5) | |
| 1206 | lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(110), rd(160)), 0.5) | |
| 1207 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.5) | |
| 1208 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-110), rd(-160)), 0.5) | |
| 1209 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.5) | |
| 1210 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1211 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1212 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1213 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1214 | until bep == false or poopes > 240 | |
| 1215 | de:Disconnect() | |
| 1216 | human:SetStateEnabled(15, true) | |
| 1217 | activu = false | |
| 1218 | EHMMM = 50 | |
| 1219 | coroutine.resume(coroutine.create(function() | |
| 1220 | wait(7) | |
| 1221 | EHMMM = 0 | |
| 1222 | end)) | |
| 1223 | wherto = hrp | |
| 1224 | addcfr = cf(-2, 1, 2) | |
| 1225 | end | |
| 1226 | function MUDA() | |
| 1227 | if selected == false or activu == true then | |
| 1228 | return | |
| 1229 | end | |
| 1230 | if appeared == false then | |
| 1231 | standappear(thenoob) | |
| 1232 | wherto = hrp | |
| 1233 | addcfr = cf(0, 0, -3.5) | |
| 1234 | end | |
| 1235 | wry:Stop() | |
| 1236 | local bep = true | |
| 1237 | activu = true | |
| 1238 | wherto = hrp | |
| 1239 | addcfr = cf(0, 0, -3.5) | |
| 1240 | local function blur(limb) | |
| 1241 | coroutine.resume(coroutine.create(function() | |
| 1242 | local memedon = {}
| |
| 1243 | for i = 1, 6 do | |
| 1244 | local b1 = Instance.new("Part")
| |
| 1245 | nooutline(b1) | |
| 1246 | b1.Size = Vector3.new(1, 2, 1) | |
| 1247 | b1.CFrame = limb.CFrame * CFrame.new(rd2(-5, 5) / 10, rd2(-5, 5) / 10, rd2(-5, 5) / 10) | |
| 1248 | b1.CanCollide = false | |
| 1249 | b1.BrickColor = limb.BrickColor | |
| 1250 | b1.Anchored = true | |
| 1251 | b1.Transparency = 0.7 | |
| 1252 | b1.Locked = true | |
| 1253 | b1.Parent = modz | |
| 1254 | table.insert(memedon, b1) | |
| 1255 | end | |
| 1256 | local num = 0 | |
| 1257 | repeat | |
| 1258 | swait() | |
| 1259 | num = num % 6 + 1 | |
| 1260 | memedon[num].CFrame = limb.CFrame * CFrame.new(rd2(-5, 5) / 10, rd2(-5, 5) / 10, rd2(-5, 5) / 10) | |
| 1261 | until bep == false | |
| 1262 | for i = 1, #memedon do | |
| 1263 | swait() | |
| 1264 | memedon[i]:Destroy() | |
| 1265 | end | |
| 1266 | end)) | |
| 1267 | end | |
| 1268 | local de = mouse.KeyUp:connect(function(key) | |
| 1269 | if key == "r" then | |
| 1270 | bep = false | |
| 1271 | end | |
| 1272 | end) | |
| 1273 | blur(rightarm) | |
| 1274 | blur(leftarm) | |
| 1275 | local mudodo = Instance.new("Sound")
| |
| 1276 | mudodo.Volume = 0.5 | |
| 1277 | mudodo.SoundId = "rbxassetid://220025689" | |
| 1278 | mudodo.Looped = true | |
| 1279 | mudodo.Parent = hrp | |
| 1280 | mudodo:Play() | |
| 1281 | repeat | |
| 1282 | for _ = 1, 2 do | |
| 1283 | swait() | |
| 1284 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(4), rd(4), rd(30)), 0.85) | |
| 1285 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(0), rd(-28)), 0.85) | |
| 1286 | lerpz(nRS, "C0", RSC0 * cf(0.5, 0.25, -0.1) * ang(rd(20), rd(20), rd(105)), 0.85) | |
| 1287 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1288 | lerpz(nLS, "C0", LSC0 * cf(0.25, 0.1, 0) * ang(rd(30), rd(10), rd(-70)), 0.85) | |
| 1289 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1290 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.85) | |
| 1291 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1292 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.85) | |
| 1293 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1294 | end | |
| 1295 | hito(rightarm, 3.3, 5, 0.01, rot.CFrame.lookVector * 5) | |
| 1296 | for _ = 1, 2 do | |
| 1297 | swait() | |
| 1298 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(5), rd(2), rd(-30)), 0.85) | |
| 1299 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(2), rd(0), rd(31)), 0.85) | |
| 1300 | lerpz(nRS, "C0", RSC0 * cf(-0.1, 0.05, -0.1) * ang(rd(-10), rd(-30), rd(75)), 0.85) | |
| 1301 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1302 | lerpz(nLS, "C0", LSC0 * cf(-0.5, 0.1, -0.2) * ang(rd(-30), rd(10), rd(-70)), 0.85) | |
| 1303 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1304 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.85) | |
| 1305 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1306 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.85) | |
| 1307 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1308 | end | |
| 1309 | hito(leftarm, 3.3, 5, 0.01, rot.CFrame.lookVector * 5) | |
| 1310 | for _ = 1, 2 do | |
| 1311 | swait() | |
| 1312 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(3), rd(3), rd(32)), 0.85) | |
| 1313 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(0), rd(-29)), 0.85) | |
| 1314 | lerpz(nRS, "C0", RSC0 * cf(0.35, 0.25, 0.1) * ang(rd(-10), rd(-20), rd(95)), 0.85) | |
| 1315 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1316 | lerpz(nLS, "C0", LSC0 * cf(0.25, 0.1, 0) * ang(rd(-10), rd(10), rd(-80)), 0.85) | |
| 1317 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1318 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.85) | |
| 1319 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1320 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.85) | |
| 1321 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1322 | end | |
| 1323 | hito(rightarm, 3.3, 5, 0.01, rot.CFrame.lookVector * 5) | |
| 1324 | for _ = 1, 2 do | |
| 1325 | swait() | |
| 1326 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-10), rd(3), rd(-40)), 0.85) | |
| 1327 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(-2), rd(35)), 0.85) | |
| 1328 | lerpz(nRS, "C0", RSC0 * cf(-0.1, 0.05, -0.1) * ang(rd(20), rd(-30), rd(65)), 0.85) | |
| 1329 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1330 | lerpz(nLS, "C0", LSC0 * cf(-0.5, 0.1, -0.2) * ang(rd(-30), rd(30), rd(-75)), 0.85) | |
| 1331 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1332 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.85) | |
| 1333 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1334 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.85) | |
| 1335 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1336 | end | |
| 1337 | hito(leftarm, 3.3, 5, 0.01, rot.CFrame.lookVector * 5) | |
| 1338 | until bep == false or 0 >= human.Health | |
| 1339 | de:Disconnect() | |
| 1340 | mudodo:Stop() | |
| 1341 | wry:Play() | |
| 1342 | for _ = 1, 6 do | |
| 1343 | swait() | |
| 1344 | lerpz(nRJ, "C0", RJC0 * cf(0, 1.25, 0) * ang(rd(0), rd(4), rd(-85)), 0.75) | |
| 1345 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(3), rd(75)), 0.75) | |
| 1346 | lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(100)), 0.75) | |
| 1347 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1348 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.75) | |
| 1349 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1350 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.75) | |
| 1351 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1352 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.75) | |
| 1353 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1354 | end | |
| 1355 | for _ = 1, 7 do | |
| 1356 | swait() | |
| 1357 | hito(rightarm, 3, 20, 0.35, rot.CFrame.lookVector * 50) | |
| 1358 | lerpz(nRJ, "C0", RJC0 * cf(0, -1, 0) * ang(rd(0), rd(10), rd(75)), 0.75) | |
| 1359 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(-7), rd(-65)), 0.75) | |
| 1360 | lerpz(nRS, "C0", RSC0 * cf(0.75, 0, 0.25) * ang(rd(10), rd(-60), rd(100)), 0.75) | |
| 1361 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.75) | |
| 1362 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.75) | |
| 1363 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1364 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.75) | |
| 1365 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1366 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.75) | |
| 1367 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1368 | end | |
| 1369 | swait(5) | |
| 1370 | wherto = hrp | |
| 1371 | mudodo:Destroy() | |
| 1372 | addcfr = cf(-2, 1, 2) | |
| 1373 | activu = false | |
| 1374 | end | |
| 1375 | function quickhit() | |
| 1376 | if selected == false or activu == true then | |
| 1377 | return | |
| 1378 | end | |
| 1379 | if appeared == false then | |
| 1380 | standappear(thenoob) | |
| 1381 | ||
| 1382 | wherto = hrp | |
| 1383 | addcfr = cf(2, 1, 2) | |
| 1384 | end | |
| 1385 | cancarry = false | |
| 1386 | activu = true | |
| 1387 | wherto = hrp | |
| 1388 | addcfr = cf(0, 0, -3.5) | |
| 1389 | local ZAWRU = Instance.new("Sound")
| |
| 1390 | ZAWRU.SoundId = "rbxassetid://4063095973" | |
| 1391 | ZAWRU.TimePosition = 0 | |
| 1392 | ZAWRU.Volume = 6 | |
| 1393 | ZAWRU.Parent = hrp | |
| 1394 | ZAWRU:Play() | |
| 1395 | local pooo = Instance.new("Sound")
| |
| 1396 | pooo.SoundId = "rbxassetid://0" | |
| 1397 | pooo.Pitch = 1.5 | |
| 1398 | pooo.Volume = 5 | |
| 1399 | pooo.Parent = hrp | |
| 1400 | pooo:Play() | |
| 1401 | game.Debris:AddItem(pooo, 2.5) | |
| 1402 | for _ = 1, 7 do | |
| 1403 | swait(80) | |
| 1404 | lerpz(nRJ, "C0", RJC0 * cf(0, 1.25, 0) * ang(rd(0), rd(4), rd(-85)), 0.75) | |
| 1405 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(3), rd(75)), 0.75) | |
| 1406 | lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(100)), 0.75) | |
| 1407 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1408 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.75) | |
| 1409 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1410 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.75) | |
| 1411 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1412 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.75) | |
| 1413 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1414 | end | |
| 1415 | for _ = 1, 8 do | |
| 1416 | swait() | |
| 1417 | hitoof(rightarm, 3, 20, 0.35, rot.CFrame.lookVector * 0) | |
| 1418 | lerpz(nRJ, "C0", RJC0 * cf(0, -1, 0) * ang(rd(0), rd(10), rd(75)), 0.75) | |
| 1419 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(-7), rd(-65)), 0.75) | |
| 1420 | lerpz(nRS, "C0", RSC0 * cf(0.75, 0, 0.25) * ang(rd(10), rd(-60), rd(100)), 0.75) | |
| 1421 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(50), rd(0)), 0.75) | |
| 1422 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.75) | |
| 1423 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1424 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.75) | |
| 1425 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1426 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.75) | |
| 1427 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1428 | end | |
| 1429 | swait(270) | |
| 1430 | wherto = hrp | |
| 1431 | addcfr = cf(-2, 1, 2) | |
| 1432 | activu = false | |
| 1433 | end | |
| 1434 | function cability() | |
| 1435 | if selected == false or activu == true then | |
| 1436 | return | |
| 1437 | end | |
| 1438 | if appeared == false then | |
| 1439 | standappear(thenoob) | |
| 1440 | wherto = hrp | |
| 1441 | addcfr = cf(0, 0, -3.75) | |
| 1442 | end | |
| 1443 | activu = true | |
| 1444 | wherto = hrp | |
| 1445 | addcfr = cf(0, 0, -3.5) | |
| 1446 | local ZAWRUA = Instance.new("Sound")
| |
| 1447 | ZAWRUA.SoundId = "rbxassetid://3373975760" | |
| 1448 | ZAWRUA.Volume = 0.5 | |
| 1449 | ZAWRUA.Parent = hrp | |
| 1450 | ZAWRUA:Play() | |
| 1451 | game.Debris:AddItem(ZAWRUA, 2.5) | |
| 1452 | local wate = Instance.new("Part")
| |
| 1453 | nooutline(wate) | |
| 1454 | wate.Size = Vector3.new(0, 0, 0) | |
| 1455 | wate.Material = "Neon" | |
| 1456 | wate.Transparency = 1 | |
| 1457 | wate.BrickColor = BrickColor.new("Institutional white")
| |
| 1458 | wate.CFrame = rightarm.CFrame * cf(0, -1.5, 0) | |
| 1459 | wate.Anchored = true | |
| 1460 | wate.CanCollide = false | |
| 1461 | wate.Parent = modz | |
| 1462 | local wmesh = makemesh("Sphere", Vector3.new(0, 0, 0), nil, wate)
| |
| 1463 | coroutine.resume(coroutine.create(function() | |
| 1464 | repeat | |
| 1465 | swait() | |
| 1466 | wate.CFrame = rightarm.CFrame * cf(0, 0, 0) | |
| 1467 | wmesh.Scale = wmesh.Scale:lerp(Vector3.new(0, 0, 0), 0.5) | |
| 1468 | until not wate | |
| 1469 | end)) | |
| 1470 | coroutine.resume(coroutine.create(function() | |
| 1471 | local pt = {}
| |
| 1472 | for _ = 1, 10 do | |
| 1473 | local wp = Instance.new("Part")
| |
| 1474 | nooutline(wp) | |
| 1475 | wp.Size = Vector3.new(0, 0, 0) | |
| 1476 | wp.Material = "Neon" | |
| 1477 | wp.Transparency = 1 | |
| 1478 | wp.BrickColor = BrickColor.new("Institutional white")
| |
| 1479 | wp.CFrame = wate.CFrame * ang(rd2(-100, 100) / 1000, rd2(-100, 100) / 1000, rd2(-100, 100) / 1000) * cf(0, -0.25, 0) | |
| 1480 | wp.Anchored = true | |
| 1481 | wp.CanCollide = false | |
| 1482 | wp.Parent = modz | |
| 1483 | local wmz = makemesh("Sphere", Vector3.new(0, 0, 0), nil, wp)
| |
| 1484 | table.insert(pt, wp) | |
| 1485 | table.insert(pt, wmz) | |
| 1486 | end | |
| 1487 | for m = 1, 45 do | |
| 1488 | for _, hey in pairs(pt) do | |
| 1489 | if hey.ClassName == "SpecialMesh" then | |
| 1490 | hey.Scale = hey.Scale + Vector3.new(0, 0, 0) | |
| 1491 | elseif hey.ClassName == "Part" then | |
| 1492 | hey.CFrame = wate.CFrame * ang(rd(rd2(-360, 360)), rd(rd2(-360, 360)), rd(rd2(-360, 360))) * cf(0, -m / 25, 0) | |
| 1493 | hey.Transparency = hey.Transparency - 0.015 | |
| 1494 | end | |
| 1495 | end | |
| 1496 | end | |
| 1497 | for m = 45, 50 do | |
| 1498 | swait() | |
| 1499 | for _, hey in pairs(pt) do | |
| 1500 | if hey.ClassName == "SpecialMesh" then | |
| 1501 | hey.Scale = hey.Scale + Vector3.new(0, 0, 0) | |
| 1502 | elseif hey.ClassName == "Part" then | |
| 1503 | hey.CFrame = wate.CFrame * ang(rd(rd2(-360, 360)), rd(rd2(-360, 360)), rd(rd2(-360, 360))) * cf(0, -m / 25, 0) | |
| 1504 | hey.Transparency = hey.Transparency + 0.2 | |
| 1505 | end | |
| 1506 | end | |
| 1507 | end | |
| 1508 | for _, AAA in pairs(pt) do | |
| 1509 | if AAA.ClassName == "Part" then | |
| 1510 | AAA:Destroy() | |
| 1511 | end | |
| 1512 | end | |
| 1513 | end)) | |
| 1514 | for _ = 1, 10 do | |
| 1515 | swait() | |
| 1516 | wmesh.Scale = Vector3.new(9, 9, 9) | |
| 1517 | wate.Transparency = wate.Transparency - 0.008 | |
| 1518 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(4), rd(-125)), 0.2) | |
| 1519 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(3), rd(115)), 0.2) | |
| 1520 | 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) | |
| 1521 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 1522 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.2) | |
| 1523 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 1524 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.2) | |
| 1525 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 1526 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.2) | |
| 1527 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 1528 | end | |
| 1529 | local pooo = Instance.new("Sound")
| |
| 1530 | pooo.SoundId = "rbxassetid://3939937734" | |
| 1531 | pooo.Volume = 0.5 | |
| 1532 | pooo.Parent = hrp | |
| 1533 | pooo:Play() | |
| 1534 | game.Debris:AddItem(pooo, 2.5) | |
| 1535 | for _ = 1, 1 do | |
| 1536 | swait() | |
| 1537 | wate.Transparency = wate.Transparency + 0.15 | |
| 1538 | lerpz(nRJ, "C0", RJC0 * cf(0, -2, 0) * ang(rd(0), rd(10), rd(35)), 0.5) | |
| 1539 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(-7), rd(-30)), 0.5) | |
| 1540 | lerpz(nRS, "C0", RSC0 * cf(0.75, 0, 0.25) * ang(rd(10), rd(-80), rd(100)), 0.5) | |
| 1541 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.5) | |
| 1542 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.5) | |
| 1543 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1544 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.5) | |
| 1545 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1546 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.5) | |
| 1547 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1548 | end | |
| 1549 | local swoo = Instance.new("Part")
| |
| 1550 | nooutline(swoo) | |
| 1551 | swoo.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 1552 | swoo.Material = "Neon" | |
| 1553 | swoo.Transparency = 0.2 | |
| 1554 | swoo.BrickColor = BrickColor.new("Institutional white")
| |
| 1555 | swoo.CFrame = rightarm.CFrame * ang(rd(0), rd(15), rd(240)) * cf(1.5, -2.5, 0) | |
| 1556 | swoo.Anchored = true | |
| 1557 | swoo.CanCollide = false | |
| 1558 | swoo.Parent = modz | |
| 1559 | local wmesh = makemesh("FileMesh", Vector3.new(0.013333333333333334, 0.015384615384615385, 0.025), "rbxassetid://576041905", swoo)
| |
| 1560 | local pli = Instance.new("PointLight")
| |
| 1561 | pli.Brightness = 0 | |
| 1562 | pli.Color = Color3.new(0.45098039215686275, 1, 0) | |
| 1563 | pli.Range = 10 | |
| 1564 | pli.Shadows = true | |
| 1565 | pli.Parent = swoo | |
| 1566 | hito(swoo, 5, 50, 0.15, rot.CFrame.lookVector * 10) | |
| 1567 | tagability(swoo, 4) | |
| 1568 | for _ = 1, 10 do | |
| 1569 | swait() | |
| 1570 | wate.Transparency = wate.Transparency + 0.05 | |
| 1571 | swoo.Transparency = swoo.Transparency + 0.075 | |
| 1572 | pli.Range = pli.Range - 1 | |
| 1573 | lerpz(nRJ, "C0", RJC0 * cf(0, -3, 0) * ang(rd(25), rd(0), rd(25)), 0.5) | |
| 1574 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(-25), rd(0), rd(-25)), 0.5) | |
| 1575 | lerpz(nRS, "C0", RSC0 * cf(0.75, 0, 0.25) * ang(rd(90), rd(-30), rd(100)), 0.5) | |
| 1576 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.5) | |
| 1577 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.5) | |
| 1578 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1579 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.5) | |
| 1580 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1581 | lerpz(nLH, "C0", LHC0 * cf(-0.3, 0.7, -0.2) * ang(rd(-10), rd(10), rd(5)), 0.5) | |
| 1582 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1583 | end | |
| 1584 | wate:Destroy() | |
| 1585 | swoo:Destroy() | |
| 1586 | pli:Destroy() | |
| 1587 | swait(0) | |
| 1588 | wherto = hrp | |
| 1589 | addcfr = cf(-2, 1, 2) | |
| 1590 | activu = false | |
| 1591 | end | |
| 1592 | game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=188959462")
| |
| 1593 | game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=616594208")
| |
| 1594 | game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=616576400")
| |
| 1595 | game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=291088606")
| |
| 1596 | function THEBEST() | |
| 1597 | if selected == false or activu == true or appeared == true or POSU == true then | |
| 1598 | return | |
| 1599 | end | |
| 1600 | local dipperhat = chr:FindFirstChild("DXD_DipperHat")
| |
| 1601 | local dipperrot | |
| 1602 | if dipperhat then | |
| 1603 | dipperrot = dipperhat.Handle.HatAttachment.Rotation | |
| 1604 | end | |
| 1605 | activu = true | |
| 1606 | POSU = true | |
| 1607 | cam.CameraType = "Scriptable" | |
| 1608 | chr.PrimaryPart = hrp | |
| 1609 | human.WalkSpeed = 0 | |
| 1610 | human:SetStateEnabled(3, false) | |
| 1611 | local actmus1 = Instance.new("Sound")
| |
| 1612 | actmus1.SoundId = "rbxassetid://188959462" | |
| 1613 | actmus1.Volume = 1.5 | |
| 1614 | actmus1.RollOffMode = 1 | |
| 1615 | actmus1.TimePosition = 0 | |
| 1616 | actmus1.Parent = cam | |
| 1617 | local actmus2 = Instance.new("Sound")
| |
| 1618 | actmus2.SoundId = "rbxassetid://188959462" | |
| 1619 | actmus2.Volume = 1.5 | |
| 1620 | actmus2.RollOffMode = 1 | |
| 1621 | actmus2.TimePosition = 0 | |
| 1622 | actmus2.Parent = hrp | |
| 1623 | actmus1:Play() | |
| 1624 | actmus2:Play() | |
| 1625 | local mus1 = Instance.new("Sound")
| |
| 1626 | mus1.SoundId = "rbxassetid://616594208" | |
| 1627 | mus1.Volume = 1.25 | |
| 1628 | mus1.TimePosition = 0.45 | |
| 1629 | mus1.Parent = cam | |
| 1630 | local mus2 = Instance.new("Sound")
| |
| 1631 | mus2.SoundId = "rbxassetid://616594208" | |
| 1632 | mus2.Volume = 1.25 | |
| 1633 | mus2.TimePosition = 0.45 | |
| 1634 | mus2.Parent = hrp | |
| 1635 | local zawarudoda = Instance.new("Sound")
| |
| 1636 | zawarudoda.SoundId = "rbxassetid://616576400" | |
| 1637 | zawarudoda.Volume = 2 | |
| 1638 | zawarudoda.TimePosition = 0.3 | |
| 1639 | zawarudoda.Parent = hrp | |
| 1640 | mus1:Play() | |
| 1641 | mus2:Play() | |
| 1642 | cam.CoordinateFrame = hrp.CFrame * ang(rd(20), rd(100), rd(0)) * cf(0, 0, 7) | |
| 1643 | local regface = hed.face.Texture | |
| 1644 | local whogothit, bodyvel | |
| 1645 | local function checkhit(partoz, magn) | |
| 1646 | for _, guy in pairs(workspace:GetChildren()) do | |
| 1647 | if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and not whogothit then
| |
| 1648 | whogothit = guy | |
| 1649 | guy:FindFirstChild("Humanoid").PlatformStand = true
| |
| 1650 | do | |
| 1651 | local derp = Instance.new("BodyPosition")
| |
| 1652 | derp.MaxForce = Vector3.new(999999999999, 999999999999, 999999999999) | |
| 1653 | derp.P = 8000 | |
| 1654 | derp.D = 500 | |
| 1655 | derp.Position = hrp.Position + hrp.CFrame.lookVector * 20 | |
| 1656 | derp.Parent = guy:FindFirstChild("HumanoidRootPart")
| |
| 1657 | bodyvel = derp | |
| 1658 | local derp2 = Instance.new("BodyAngularVelocity")
| |
| 1659 | derp2.MaxTorque = Vector3.new(999999999999, 999999999999, 999999999999) | |
| 1660 | derp2.P = 8000 | |
| 1661 | derp2.AngularVelocity = Vector3.new(rd2(2, 4), rd2(50, 100), 0) | |
| 1662 | derp2.Parent = guy:FindFirstChild("HumanoidRootPart")
| |
| 1663 | delay(0.1, function() | |
| 1664 | derp2:Destroy() | |
| 1665 | end) | |
| 1666 | bodyvel = derp | |
| 1667 | end | |
| 1668 | end | |
| 1669 | end | |
| 1670 | end | |
| 1671 | coroutine.resume(coroutine.create(function() | |
| 1672 | for _ = 1, 25 do | |
| 1673 | swait() | |
| 1674 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-10), rd(-5), rd(-20)), 0.3) | |
| 1675 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(10), rd(20)), 0.3) | |
| 1676 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(30), rd(-30)), 0.3) | |
| 1677 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1678 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(35), rd(-50), rd(-100)), 0.3) | |
| 1679 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1680 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-20), rd(-10), rd(-20)), 0.3) | |
| 1681 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1682 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.3) | |
| 1683 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1684 | end | |
| 1685 | for _ = 1, 20 do | |
| 1686 | swait() | |
| 1687 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-10), rd(-5), rd(-20)), 0.3) | |
| 1688 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(10), rd(20)), 0.3) | |
| 1689 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(30), rd(-30)), 0.3) | |
| 1690 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1691 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0.4) * ang(rd(70), rd(-60), rd(-100)), 0.3) | |
| 1692 | if dipperhat then | |
| 1693 | dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(0, -40, 0), 0.3) | |
| 1694 | end | |
| 1695 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1696 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-20), rd(-10), rd(-20)), 0.3) | |
| 1697 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1698 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.3) | |
| 1699 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1700 | end | |
| 1701 | end)) | |
| 1702 | repeat | |
| 1703 | swait() | |
| 1704 | cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(0), rd(1), rd(0)) * cf(0.15, 0, 0) | |
| 1705 | until mus1.TimePosition > 2.9 | |
| 1706 | mus1:Pause() | |
| 1707 | mus2:Pause() | |
| 1708 | zawarudoda:Play() | |
| 1709 | coroutine.resume(coroutine.create(function() | |
| 1710 | for _ = 1, 7 do | |
| 1711 | swait() | |
| 1712 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(-5)), 0.4) | |
| 1713 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(2), rd(0)), 0.3) | |
| 1714 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(10), rd(80), rd(80)), 0.3) | |
| 1715 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1716 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(10), rd(-80), rd(-70)), 0.3) | |
| 1717 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1718 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3) | |
| 1719 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1720 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.3) | |
| 1721 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1722 | end | |
| 1723 | for _ = 1, 16 do | |
| 1724 | swait() | |
| 1725 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(-5)), 0.4) | |
| 1726 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(15), rd(8), rd(0)), 0.3) | |
| 1727 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(10), rd(-80), rd(80)), 0.3) | |
| 1728 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1729 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(10), rd(80), rd(-70)), 0.3) | |
| 1730 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1731 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-15)), 0.3) | |
| 1732 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1733 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(15)), 0.3) | |
| 1734 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1735 | end | |
| 1736 | end)) | |
| 1737 | repeat | |
| 1738 | swait() | |
| 1739 | until zawarudoda.TimePosition > 1.4 | |
| 1740 | zawarudoda:Pause() | |
| 1741 | activu = false | |
| 1742 | standappear(thenoob) | |
| 1743 | wherto = hrp | |
| 1744 | addcfr = cf(3, 0.25, -1.5) | |
| 1745 | activu = true | |
| 1746 | cam.CoordinateFrame = hrp.CFrame * ang(rd(-25), rd(0), rd(0)) * cf(0, 2, 3) | |
| 1747 | for _ = 1, 10 do | |
| 1748 | swait() | |
| 1749 | cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(0), rd(0), rd(0)) * cf(0, 0, 1.5) | |
| 1750 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(4), rd(-75)), 0.5) | |
| 1751 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(3), rd(45)), 0.5) | |
| 1752 | 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.5) | |
| 1753 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1754 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.5) | |
| 1755 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1756 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.5) | |
| 1757 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1758 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.5) | |
| 1759 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1760 | end | |
| 1761 | wherto = hrp | |
| 1762 | addcfr = cf(-3, 0.25, -1.5) | |
| 1763 | for _ = 1, 25 do | |
| 1764 | swait() | |
| 1765 | checkhit(rightarm, 3) | |
| 1766 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(4), rd(105)), 0.4) | |
| 1767 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(3), rd(-45)), 0.4) | |
| 1768 | lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(100)), 0.4) | |
| 1769 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
| 1770 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.4) | |
| 1771 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
| 1772 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.4) | |
| 1773 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
| 1774 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.4) | |
| 1775 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
| 1776 | end | |
| 1777 | if whogothit then | |
| 1778 | print("derp")
| |
| 1779 | cam.CoordinateFrame = hrp.CFrame * ang(rd(15), rd(140), rd(0)) * cf(0, 1, 4) | |
| 1780 | local laugo = Instance.new("Sound")
| |
| 1781 | laugo.SoundId = "rbxassetid://291088606" | |
| 1782 | laugo.Volume = 1.5 | |
| 1783 | laugo.Parent = hrp | |
| 1784 | game.Debris:AddItem(laugo, 2.5) | |
| 1785 | laugo:Play() | |
| 1786 | local sda = 0 | |
| 1787 | local chn = 2 | |
| 1788 | local cs = math.cos | |
| 1789 | for D = 1, 60 do | |
| 1790 | swait() | |
| 1791 | cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(0), rd(0), rd(0)) * cf(0, 0, 0.15) | |
| 1792 | sda = sda + chn | |
| 1793 | lerpz(RJ, "C0", RJC0 * cf(0, 0.75, 1 * cs(sda / 2)) * ang(rd(-40), rd(0), rd(-5)), 0.8 / D) | |
| 1794 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-60 + 40 * cs(sda / 2)), rd(8), rd(0)), 0.8 / D) | |
| 1795 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(10), rd(-110 + 80 * cs(sda / 2)), rd(80)), 0.8 / D) | |
| 1796 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8 / D) | |
| 1797 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(10), rd(110 + 80 * cs(sda / 2)), rd(-70)), 0.8 / D) | |
| 1798 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8 / D) | |
| 1799 | lerpz(RH, "C0", RHC0 * cf(0, -1 * cs(sda / 2), 0) * ang(rd(-10), rd(-10), rd(-40)), 0.8 / D) | |
| 1800 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8 / D) | |
| 1801 | lerpz(LH, "C0", LHC0 * cf(0, -1 * cs(sda / 2), 0) * ang(rd(-10), rd(10), rd(40)), 0.8 / D) | |
| 1802 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8 / D) | |
| 1803 | end | |
| 1804 | hed.face.Texture = "rbxassetid://176777497" | |
| 1805 | mus1.TimePosition = 2.75 | |
| 1806 | mus1:Play() | |
| 1807 | for C = 1, 30 do | |
| 1808 | swait() | |
| 1809 | cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(0), rd(0), rd(0)) * cf(0, 0, -(0.02 + C / 60)) | |
| 1810 | sda = sda + chn | |
| 1811 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(20), rd(0), rd(-5)), 0.05 + C / 31) | |
| 1812 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(30), rd(0), rd(0)), 0.05 + C / 31) | |
| 1813 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-20)), 0.05 + C / 31) | |
| 1814 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + C / 31) | |
| 1815 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(35), rd(-50), rd(-100)), 0.05 + C / 31) | |
| 1816 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + C / 31) | |
| 1817 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(20)), 0.05 + C / 31) | |
| 1818 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + C / 31) | |
| 1819 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(20)), 0.05 + C / 31) | |
| 1820 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + C / 31) | |
| 1821 | end | |
| 1822 | for _ = 1, 5 do | |
| 1823 | swait() | |
| 1824 | cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(0), rd(0), rd(0)) * cf(0, 0, 0.02) | |
| 1825 | sda = sda + chn | |
| 1826 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(20), rd(0), rd(-5)), 0.5) | |
| 1827 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(0)), 0.5) | |
| 1828 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-20)), 0.5) | |
| 1829 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1830 | lerpz(LS, "C0", LSC0 * cf(0, 0.25, 0) * ang(rd(60), rd(-60), rd(-100)), 0.5) | |
| 1831 | if dipperhat then | |
| 1832 | dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(0, 0, 0), 0.5) | |
| 1833 | end | |
| 1834 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1835 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(20)), 0.5) | |
| 1836 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1837 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(20)), 0.5) | |
| 1838 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1839 | end | |
| 1840 | wait(2) | |
| 1841 | elseif whogothit == nil then | |
| 1842 | print("noderp")
| |
| 1843 | end | |
| 1844 | human:SetStateEnabled(3, true) | |
| 1845 | activu = false | |
| 1846 | standappear(thenoob) | |
| 1847 | activu = true | |
| 1848 | if dipperhat then | |
| 1849 | dipperhat.Handle.HatAttachment.Rotation = dipperrot | |
| 1850 | end | |
| 1851 | actmus1:Destroy() | |
| 1852 | actmus2:Destroy() | |
| 1853 | bast:Play() | |
| 1854 | if bodyvel then | |
| 1855 | bodyvel:Destroy() | |
| 1856 | end | |
| 1857 | cam.CameraType = "Custom" | |
| 1858 | hed.face.Texture = regface | |
| 1859 | chr.PrimaryPart = head | |
| 1860 | human.WalkSpeed = 16 | |
| 1861 | activu = false | |
| 1862 | POSU = false | |
| 1863 | end | |
| 1864 | function hitoof(partoz, magn, dmg, debtim, bodyfdire) | |
| 1865 | for _, guy in pairs(workspace:GetChildren()) do | |
| 1866 | 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
| |
| 1867 | do | |
| 1868 | local humz = guy:FindFirstChild("Humanoid")
| |
| 1869 | local torso11 = guy:FindFirstChild("Torso") or guy:FindFirstChild("UpperTorso")
| |
| 1870 | local horp = guy:FindFirstChild("HumanoidRootPart")
| |
| 1871 | TakeDamage(humz, dmg * 4.7) | |
| 1872 | local db = Instance.new("StringValue")
| |
| 1873 | db.Name = "alabo" | |
| 1874 | db.Parent = horp | |
| 1875 | delay(debtim, function() | |
| 1876 | db:Destroy() | |
| 1877 | end) | |
| 1878 | local pa = Instance.new("Part",humz)
| |
| 1879 | torso11.Transparency = 1 | |
| 1880 | pa.Name = "donut" | |
| 1881 | pa.BrickColor = torso11.BrickColor | |
| 1882 | pa.Material = "Plastic" | |
| 1883 | local me = Instance.new("SpecialMesh",pa)
| |
| 1884 | me.MeshType = "FileMesh" | |
| 1885 | me.MeshId = "rbxassetid://5018497801" | |
| 1886 | me.Scale = Vector3.new(1,1,1) | |
| 1887 | local we = Instance.new("Weld")
| |
| 1888 | we.Parent = pa | |
| 1889 | we.Part0 = torso11 | |
| 1890 | we.Part1 = pa | |
| 1891 | we.C1 = CFrame.new(0,0,0) | |
| 1892 | we.C0 = CFrame.Angles(0,0,0) | |
| 1893 | local b = Instance.new("Part")
| |
| 1894 | nooutline(b) | |
| 1895 | b.Size = Vector3.new(6, 1, 2) | |
| 1896 | b.Transparency = 0.25 | |
| 1897 | b.Anchored = true | |
| 1898 | b.CanCollide = false | |
| 1899 | b.BrickColor = BrickColor.new("Crimson")
| |
| 1900 | b.Material = "ForceField" | |
| 1901 | b.Locked = true | |
| 1902 | b.CFrame = horp.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1)) | |
| 1903 | b.Parent = modz | |
| 1904 | local c = Instance.new("SpecialMesh")
| |
| 1905 | c.MeshType = "Sphere" | |
| 1906 | c.Scale = Vector3.new(3.5, 3.5, 3.5) | |
| 1907 | c.Parent = b | |
| 1908 | game.Debris:AddItem(b, 1) | |
| 1909 | if bodyfdire then | |
| 1910 | local boopyve = Instance.new("BodyVelocity")
| |
| 1911 | boopyve.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
| 1912 | boopyve.P = math.huge | |
| 1913 | boopyve.Velocity = bodyfdire | |
| 1914 | boopyve.Parent = horp | |
| 1915 | game.Debris:AddItem(boopyve, debtim) | |
| 1916 | end | |
| 1917 | local bet = Instance.new("Sound")
| |
| 1918 | bet.Pitch = rd2(9, 11) / 10 | |
| 1919 | bet.Volume = rd2(12, 14) / 10 | |
| 1920 | bet.SoundId = "rbxassetid://2553988018" | |
| 1921 | bet.Parent = b | |
| 1922 | bet:Play() | |
| 1923 | coroutine.resume(coroutine.create(function() | |
| 1924 | for _ = 1, 5 do | |
| 1925 | swait() | |
| 1926 | b.Transparency = b.Transparency + 0.15 | |
| 1927 | c.Scale = c.Scale + Vector3.new(0.8 * dmg, 0.8 * dmg, 0.8 * dmg) | |
| 1928 | end | |
| 1929 | end)) | |
| 1930 | end | |
| 1931 | end | |
| 1932 | end | |
| 1933 | end | |
| 1934 | function hito(partoz, magn, dmg, debtim, bodyfdire) | |
| 1935 | for _, guy in pairs(workspace:GetChildren()) do | |
| 1936 | 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
| |
| 1937 | do | |
| 1938 | local humz = guy:FindFirstChild("Humanoid")
| |
| 1939 | local horp = guy:FindFirstChild("HumanoidRootPart")
| |
| 1940 | TakeDamage(humz, dmg) | |
| 1941 | local db = Instance.new("StringValue")
| |
| 1942 | db.Name = "alabo" | |
| 1943 | db.Parent = horp | |
| 1944 | delay(debtim, function() | |
| 1945 | db:Destroy() | |
| 1946 | end) | |
| 1947 | local b = Instance.new("Part")
| |
| 1948 | nooutline(b) | |
| 1949 | b.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 1950 | b.Transparency = 0.25 | |
| 1951 | b.Anchored = true | |
| 1952 | b.CanCollide = false | |
| 1953 | b.BrickColor = BrickColor.new("Institutional white")
| |
| 1954 | b.Locked = true | |
| 1955 | b.CFrame = horp.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1)) | |
| 1956 | b.Parent = modz | |
| 1957 | local c = Instance.new("SpecialMesh")
| |
| 1958 | c.MeshType = "Sphere" | |
| 1959 | c.Scale = Vector3.new(3.5, 3.5, 3.5) | |
| 1960 | c.Parent = b | |
| 1961 | game.Debris:AddItem(b, 1) | |
| 1962 | if bodyfdire then | |
| 1963 | local boopyve = Instance.new("BodyVelocity")
| |
| 1964 | boopyve.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
| 1965 | boopyve.P = math.huge | |
| 1966 | boopyve.Velocity = bodyfdire | |
| 1967 | boopyve.Parent = horp | |
| 1968 | game.Debris:AddItem(boopyve, debtim) | |
| 1969 | end | |
| 1970 | local bet = Instance.new("Sound")
| |
| 1971 | bet.Pitch = rd2(9, 11) / 10 | |
| 1972 | bet.Volume = rd2(12, 14) / 10 | |
| 1973 | bet.SoundId = "rbxassetid://165604684" | |
| 1974 | bet.Parent = b | |
| 1975 | bet:Play() | |
| 1976 | coroutine.resume(coroutine.create(function() | |
| 1977 | for _ = 1, 5 do | |
| 1978 | swait() | |
| 1979 | b.Transparency = b.Transparency + 0.15 | |
| 1980 | c.Scale = c.Scale + Vector3.new(0.8 * dmg, 0.8 * dmg, 0.8 * dmg) | |
| 1981 | end | |
| 1982 | end)) | |
| 1983 | end | |
| 1984 | end | |
| 1985 | end | |
| 1986 | end | |
| 1987 | function tagability(partoz, magn) | |
| 1988 | for _, guy in pairs(workspace:GetChildren()) do | |
| 1989 | 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("derbaba") == nil and guy:FindFirstChildOfClass("ForceField") == nil then
| |
| 1990 | do | |
| 1991 | local humz = guy:FindFirstChild("Humanoid")
| |
| 1992 | humz.PlatformStand = true | |
| 1993 | delay(1, function() | |
| 1994 | humz.PlatformStand = false | |
| 1995 | end) | |
| 1996 | coroutine.resume(coroutine.create(function() | |
| 1997 | if aL then | |
| 1998 | aL.Name = "Right Arm" | |
| 1999 | wait() | |
| 2000 | end | |
| 2001 | if bL then | |
| 2002 | bL.Name = "Left Leg" | |
| 2003 | wait() | |
| 2004 | end | |
| 2005 | if cL then | |
| 2006 | cL.Name = "Left Arm" | |
| 2007 | wait() | |
| 2008 | end | |
| 2009 | if dL then | |
| 2010 | dL.Name = "Right Leg" | |
| 2011 | end | |
| 2012 | end)) | |
| 2013 | end | |
| 2014 | end | |
| 2015 | end | |
| 2016 | end | |
| 2017 | mouse.KeyDown:connect(function(key) | |
| 2018 | if human.Health <= 0 then | |
| 2019 | return | |
| 2020 | end | |
| 2021 | if key == "f" then | |
| 2022 | standappear(thenoob) | |
| 2023 | end | |
| 2024 | if key == "r" then | |
| 2025 | MUDA() | |
| 2026 | end | |
| 2027 | if key == "e" then | |
| 2028 | block() | |
| 2029 | end | |
| 2030 | if key == "t" then | |
| 2031 | quickhit() | |
| 2032 | end | |
| 2033 | if key == "q" then | |
| 2034 | cability() | |
| 2035 | end | |
| 2036 | if key == "m" and plr.UserId then | |
| 2037 | THEBEST() | |
| 2038 | end | |
| 2039 | if key == "j" then | |
| 2040 | THREATENING() | |
| 2041 | end | |
| 2042 | if key == "k" then | |
| 2043 | konodioda:Play() | |
| 2044 | end | |
| 2045 | if key == "l" then | |
| 2046 | bast:Play() | |
| 2047 | end | |
| 2048 | if key == "p" then | |
| 2049 | zaworld:Play() | |
| 2050 | end | |
| 2051 | if key == "m" then | |
| 2052 | bast:Stop() | |
| 2053 | end | |
| 2054 | end) | |
| 2055 | tool.Equipped:connect(function() | |
| 2056 | selected = true | |
| 2057 | end) | |
| 2058 | tool.Unequipped:connect(function() | |
| 2059 | selected = false | |
| 2060 | end) | |
| 2061 | sine = 0 | |
| 2062 | charge = 1 | |
| 2063 | cos = math.cos | |
| 2064 | game:GetService("RunService").Stepped:connect(function()
| |
| 2065 | if POSU == false then | |
| 2066 | local checkfloor = Ray.new(hrp.Position, hrp.CFrame.upVector * -4) | |
| 2067 | local checkpart = workspace:FindPartOnRayWithIgnoreList(checkfloor, {chr}, false, false)
| |
| 2068 | local checkstate = human:GetState() | |
| 2069 | if checkstate.Value == 13 then | |
| 2070 | animpose = "Sitting" | |
| 2071 | elseif hrp.Velocity.y > 1 and checkpart == nil then | |
| 2072 | animpose = "Jumping" | |
| 2073 | elseif hrp.Velocity.y < -1 and checkpart == nil then | |
| 2074 | animpose = "Falling" | |
| 2075 | elseif 1 > (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude then | |
| 2076 | animpose = "Idle" | |
| 2077 | elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 35 then | |
| 2078 | animpose = "Walking" | |
| 2079 | elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude > 35 then | |
| 2080 | animpose = "TooFast" | |
| 2081 | end | |
| 2082 | if animpose == "Idle" then | |
| 2083 | sine = sine + charge | |
| 2084 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.03 * cos(sine / 60)) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2085 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(3 - 3 * cos(sine / 60)), rd(0), rd(0)), 0.3) | |
| 2086 | 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) | |
| 2087 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2088 | 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) | |
| 2089 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2090 | 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) | |
| 2091 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2092 | 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) | |
| 2093 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2094 | end | |
| 2095 | if animpose == "Walking" then | |
| 2096 | sine = sine + charge | |
| 2097 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.03 * cos(sine / 60)) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2098 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(3 - 3 * cos(sine / 60)), rd(0), rd(0)), 0.3) | |
| 2099 | 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) | |
| 2100 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2101 | 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) | |
| 2102 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2103 | 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) | |
| 2104 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2105 | 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) | |
| 2106 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2107 | end | |
| 2108 | if animpose == "Jumping" then | |
| 2109 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.3) | |
| 2110 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(0)), 0.3) | |
| 2111 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(7), rd(-5), rd(2)), 0.3) | |
| 2112 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2113 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(7), rd(5), rd(-3)), 0.3) | |
| 2114 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2115 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-10)), 0.3) | |
| 2116 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2117 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(20)), 0.3) | |
| 2118 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2119 | end | |
| 2120 | if animpose == "Falling" then | |
| 2121 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(0)), 0.3) | |
| 2122 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.3) | |
| 2123 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(7), rd(-5), rd(2)), 0.3) | |
| 2124 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2125 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(7), rd(5), rd(-3)), 0.3) | |
| 2126 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2127 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(10)), 0.3) | |
| 2128 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2129 | lerpz(LH, "C0", LHC0 * cf(-0.65, 0.75, 0) * ang(rd(0), rd(0), rd(20)), 0.3) | |
| 2130 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2131 | end | |
| 2132 | if animpose == "TooFast" then | |
| 2133 | lerpz(RJ, "C0", RJC0 * cf(0, 0, -1.5) * ang(rd(20), rd(0), rd(0)), 0.3) | |
| 2134 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.3) | |
| 2135 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(-10), rd(-10)), 0.3) | |
| 2136 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2137 | lerpz(LS, "C0", LSC0 * cf(0, -0.75, 0) * ang(rd(10), rd(-80), rd(-10)), 0.3) | |
| 2138 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(30), rd(0), rd(0)), 0.3) | |
| 2139 | lerpz(RH, "C0", RHC0 * cf(0.75, 1.5, 0) * ang(rd(0), rd(0), rd(30)), 0.3) | |
| 2140 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2141 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(50)), 0.3) | |
| 2142 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2143 | end | |
| 2144 | if animpose == "Sitting" then | |
| 2145 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2146 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2147 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3) | |
| 2148 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2149 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3) | |
| 2150 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2151 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3) | |
| 2152 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2153 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3) | |
| 2154 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2155 | end | |
| 2156 | end | |
| 2157 | if appeared == false and activu == false then | |
| 2158 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2159 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2160 | lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2161 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2162 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2163 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2164 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2165 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2166 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2167 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2168 | elseif appeared == true and activu == false then | |
| 2169 | sine = sine + charge | |
| 2170 | 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) | |
| 2171 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(2 - 2 * cos(sine / 90)), rd(0), rd(4)), 0.3) | |
| 2172 | lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(2 * cos(sine / 110)), rd(-3 - 3 * cos(sine / 100)), rd(0)), 0.3) | |
| 2173 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2174 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(2 * cos(sine / 110)), rd(3 - 3 * cos(sine / 100)), rd(0)), 0.3) | |
| 2175 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2176 | 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) | |
| 2177 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2178 | 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) | |
| 2179 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2180 | end | |
| 2181 | end) | |
| 2182 | function dispose() | |
| 2183 | for i, v in pairs(getfenv(0)) do | |
| 2184 | v = nil | |
| 2185 | end | |
| 2186 | error = nil | |
| 2187 | print = nil | |
| 2188 | warn = nil | |
| 2189 | end | |
| 2190 | human.Died:connect(dispose) | |
| 2191 | chr.Changed:connect(function() | |
| 2192 | if chr.Parent == nil then | |
| 2193 | dispose() | |
| 2194 | end | |
| 2195 | end) | |
| 2196 | ||
| 2197 | --- [[ Simple Time Rewind ]] --- | |
| 2198 | -- by fo43123 | |
| 2199 | ||
| 2200 | local me = game.Players.LocalPlayer | |
| 2201 | local mouse = me:GetMouse() | |
| 2202 | local char = me.Character | |
| 2203 | local hum = char:FindFirstChild('Humanoid')
| |
| 2204 | local hd = char:FindFirstChild('Head')
| |
| 2205 | local ts = char:FindFirstChild('Torso') or char:FindFirstChild('UpperTorso')
| |
| 2206 | local ra = char:FindFirstChild('Right Arm') or char:FindFirstChild('RightUpperArm')
| |
| 2207 | local la = char:FindFirstChild('Left Arm') or char:FindFirstChild('LeftUpperArm')
| |
| 2208 | local rl = char:FindFirstChild('Right Leg') or char:FindFirstChild('RightUpperLeg')
| |
| 2209 | local ll = char:FindFirstChild('Left Leg') or char:FindFirstChild('LeftUpperLeg')
| |
| 2210 | local root = char:FindFirstChild('HumanoidRootPart')
| |
| 2211 | local rj = root:FindFirstChild('RootJoint')
| |
| 2212 | local rs = ts:FindFirstChild('Right Shoulder')
| |
| 2213 | local ls = ts:FindFirstChild('Left Shoulder')
| |
| 2214 | local rh = ts:FindFirstChild('Right Hip')
| |
| 2215 | local lh = ts:FindFirstChild('Left Hip')
| |
| 2216 | local nk = ts:FindFirstChild('Neck')
| |
| 2217 | local anim = char:FindFirstChild('Animate')
| |
| 2218 | local base = workspace:FindFirstChild('Baseplate') or workspace:FindFirstChild('Base')
| |
| 2219 | local cantimerewind = true | |
| 2220 | local cooldown = false | |
| 2221 | local selfrewind = true | |
| 2222 | local cc = workspace.CurrentCamera | |
| 2223 | local cos = math.cos | |
| 2224 | local sin = math.sin | |
| 2225 | local rad = math.rad | |
| 2226 | local rand = math.random | |
| 2227 | local cfn = CFrame.new | |
| 2228 | local cfa = CFrame.Angles | |
| 2229 | local v3 = Vector3.new | |
| 2230 | local str = string | |
| 2231 | local past = {}
| |
| 2232 | local lastpast = {}
| |
| 2233 | local sine = 0 | |
| 2234 | local rewind = Instance.new('Sound', hd)
| |
| 2235 | local onrewind = Instance.new('Sound', workspace.CurrentCamera)
| |
| 2236 | onrewind.Looped = true | |
| 2237 | onrewind.Volume = 10 | |
| 2238 | onrewind.SoundId = 'rbxassetid://2061143306' | |
| 2239 | rewind.SoundId = 'rbxassetid://864569342' | |
| 2240 | rewind.Name = 'trewind' | |
| 2241 | rewind.Volume = 1 | |
| 2242 | rewind.PlaybackSpeed = 1.25 | |
| 2243 | hum.WalkSpeed = 23 | |
| 2244 | effects = Instance.new('Folder', char)
| |
| 2245 | effects.Name = 'Effects' | |
| 2246 | print([[ | |
| 2247 | -- // Moves | |
| 2248 | R - Rewind | |
| 2249 | ]]) | |
| 2250 | ||
| 2251 | ArtificialHB = Instance.new('BindableEvent', script)
| |
| 2252 | ArtificialHB.Name = 'Heartbeat' | |
| 2253 | script:WaitForChild('Heartbeat')
| |
| 2254 | ||
| 2255 | frame = 1 / 60 | |
| 2256 | tf = 0 | |
| 2257 | allowframeloss = false | |
| 2258 | tossremainder = false | |
| 2259 | lastframe = tick() | |
| 2260 | script.Heartbeat:Fire() | |
| 2261 | ||
| 2262 | game:GetService('RunService').Heartbeat:connect(function(s, p)
| |
| 2263 | tf = tf + s | |
| 2264 | if tf >= frame then | |
| 2265 | if allowframeloss then | |
| 2266 | script.Heartbeat:Fire() | |
| 2267 | lastframe = tick() | |
| 2268 | else | |
| 2269 | for i = 1, math.floor(tf / frame) do | |
| 2270 | script.Heartbeat:Fire() | |
| 2271 | end | |
| 2272 | lastframe = tick() | |
| 2273 | end | |
| 2274 | if tossremainder then | |
| 2275 | tf = 0 | |
| 2276 | else | |
| 2277 | tf = tf - frame * math.floor(tf / frame) | |
| 2278 | end | |
| 2279 | end | |
| 2280 | end) | |
| 2281 | ||
| 2282 | function swait(t) | |
| 2283 | if t == 0 or t == nil then | |
| 2284 | script.Heartbeat.Event:Wait() | |
| 2285 | else | |
| 2286 | for i = 0, t do | |
| 2287 | script.Heartbeat.Event:Wait() | |
| 2288 | end | |
| 2289 | end | |
| 2290 | end | |
| 2291 | ||
| 2292 | function sound(id, parent, vol, pitch, timepos) | |
| 2293 | local s = Instance.new('Sound')
| |
| 2294 | s.Parent = parent | |
| 2295 | s.SoundId = id | |
| 2296 | s.Volume = vol | |
| 2297 | s.PlaybackSpeed = pitch | |
| 2298 | s.TimePosition = timepos | |
| 2299 | s:Play() | |
| 2300 | game.Debris:AddItem(s, s.PlaybackSpeed + 5) | |
| 2301 | end | |
| 2302 | ||
| 2303 | function camshake(duration, intensity) | |
| 2304 | coroutine.wrap(function() | |
| 2305 | for i = 0, duration*60 do | |
| 2306 | hum.CameraOffset = v3(rand(-(intensity*10),(intensity*10))/10, rand(-(intensity*10),(intensity*10))/10, rand(-(intensity*10), (intensity*10))/10) | |
| 2307 | swait() | |
| 2308 | end | |
| 2309 | hum.CameraOffset = v3(0, 0, 0) | |
| 2310 | end)() | |
| 2311 | end | |
| 2312 | ||
| 2313 | function readyrewind() | |
| 2314 | cantimerewind = false | |
| 2315 | cooldown = true | |
| 2316 | onrewind:Play() | |
| 2317 | for i,v in pairs(workspace:GetDescendants()) do | |
| 2318 | if v:IsA('BasePart') then
| |
| 2319 | local lastpos = v.CFrame | |
| 2320 | table.insert(past, {part = v, change = lastpos})
| |
| 2321 | end | |
| 2322 | if v.Parent then | |
| 2323 | local lastparent2 = v.Parent | |
| 2324 | table.insert(lastpast, {part2 = v, change4 = lastparent2})
| |
| 2325 | end | |
| 2326 | if v:IsA('Camera') then
| |
| 2327 | local lastcam = v.CFrame | |
| 2328 | table.insert(past, {cam = v, change3 = lastcam})
| |
| 2329 | end | |
| 2330 | if v:IsA('Sound') then
| |
| 2331 | if v ~= rewind then | |
| 2332 | local lastsongpos = v.TimePosition | |
| 2333 | table.insert(past, {sound = v, pchange = lastsongpos})
| |
| 2334 | end | |
| 2335 | end | |
| 2336 | if v:IsA('Humanoid') then
| |
| 2337 | local lasthp = v.Health | |
| 2338 | local always = lasthp | |
| 2339 | table.insert(past, {health = v, hchange = lasthp})
| |
| 2340 | end | |
| 2341 | end | |
| 2342 | newpast = workspace.DescendantAdded:Connect(function(v) | |
| 2343 | if v:IsA('BasePart') then
| |
| 2344 | local lastpos = v.CFrame | |
| 2345 | local lastparent = v.Parent | |
| 2346 | table.insert(past, {part = v, change = lastpos, change4 = lastparent})
| |
| 2347 | end | |
| 2348 | if v.Parent then | |
| 2349 | local lastparent2 = v.Parent | |
| 2350 | table.insert(lastpast, {part2 = v, change4 = lastparent2})
| |
| 2351 | end | |
| 2352 | if v:IsA('Camera') then
| |
| 2353 | local lastcampos = v.CFrame | |
| 2354 | table.insert(past, {cam = v, change3 = lastcampos})
| |
| 2355 | end | |
| 2356 | if v:IsA('Sound') then
| |
| 2357 | if v ~= rewind then | |
| 2358 | local lastsongpos = v.TimePosition | |
| 2359 | table.insert(past, {sound = v, pchange = lastsongpos})
| |
| 2360 | end | |
| 2361 | end | |
| 2362 | if v:IsA('Humanoid') then
| |
| 2363 | local lasthp = v.Health | |
| 2364 | local always = lasthp | |
| 2365 | table.insert(past, {health = v, hchange = lasthp})
| |
| 2366 | end | |
| 2367 | end) | |
| 2368 | end | |
| 2369 | ||
| 2370 | function timerewind() | |
| 2371 | if cooldown then | |
| 2372 | rewind:Play() | |
| 2373 | sine = 0 | |
| 2374 | onrewind:Stop() | |
| 2375 | coroutine.wrap(function() | |
| 2376 | local blur = Instance.new('BlurEffect', game.Lighting)
| |
| 2377 | local effect2 = Instance.new('Part', effects)
| |
| 2378 | local effect3 = Instance.new('Part', effects)
| |
| 2379 | effect3.Shape = 'Ball' | |
| 2380 | effect3.Material = 'ForceField' | |
| 2381 | effect3.Anchored = true | |
| 2382 | effect3.CanCollide = false | |
| 2383 | effect3.Name = 'eff3' | |
| 2384 | effect3.BrickColor = BrickColor.new('Really red')
| |
| 2385 | effect3.Size = v3(30, 30, 30) | |
| 2386 | effect3.Transparency = 0 | |
| 2387 | effect2.CastShadow = false | |
| 2388 | effect2.Shape = 'Ball' | |
| 2389 | effect2.BrickColor = BrickColor.new('Bright red')
| |
| 2390 | effect2.Material = 'ForceField' | |
| 2391 | effect2.Name = 'eff2' | |
| 2392 | effect2.Anchored = true | |
| 2393 | effect2.CanCollide = false | |
| 2394 | effect2.Size = v3(50, 50, 50) | |
| 2395 | effect2.Transparency = 0 | |
| 2396 | cantimerewind = true | |
| 2397 | for i,v in pairs(past) do | |
| 2398 | pcall(function() | |
| 2399 | v.part.CFrame = v.change | |
| 2400 | end) | |
| 2401 | pcall(function() | |
| 2402 | v.cam.CFrame = v.change3 | |
| 2403 | end) | |
| 2404 | pcall(function() | |
| 2405 | v.sound.TimePosition = v.pchange | |
| 2406 | end) | |
| 2407 | pcall(function() | |
| 2408 | v.health.Health = v.hchange | |
| 2409 | end) | |
| 2410 | end | |
| 2411 | for i,v in pairs(lastpast) do | |
| 2412 | pcall(function() | |
| 2413 | v.part2.Parent = v.change4 | |
| 2414 | end) | |
| 2415 | end | |
| 2416 | pcall(function() | |
| 2417 | newpast:Disconnect() | |
| 2418 | end) | |
| 2419 | coroutine.wrap(function() | |
| 2420 | for i = 1, 1000 do | |
| 2421 | effect2.CFrame = ts.CFrame | |
| 2422 | effect3.CFrame = ts.CFrame | |
| 2423 | blur.Size = v3(blur.Size, 0, 0):lerp(v3(0, 0, 0), .010).X | |
| 2424 | effect2.Transparency = effect2.Transparency + 0.020 | |
| 2425 | effect3.Transparency = effect3.Transparency + 0.020 | |
| 2426 | effect2.Size = effect2.Size:lerp(v3(0, 0, 0), 0.050) | |
| 2427 | effect3.Size = effect3.Size:lerp(v3(0, 0, 0), 0.030) | |
| 2428 | if effect2.Transparency >= 1 then | |
| 2429 | effect2:Destroy() | |
| 2430 | end | |
| 2431 | if effect3.Transparency >= 1 then | |
| 2432 | effect3:Destroy() | |
| 2433 | end | |
| 2434 | swait() | |
| 2435 | end | |
| 2436 | end)() | |
| 2437 | wait(1) | |
| 2438 | blur:Destroy() | |
| 2439 | end)() | |
| 2440 | wait(1.5) -- cooldown | |
| 2441 | past = {}
| |
| 2442 | cooldown = false | |
| 2443 | end | |
| 2444 | end | |
| 2445 | ||
| 2446 | mouse.KeyDown:connect(function(key) | |
| 2447 | if str.lower(key) == 'c' and cantimerewind and cooldown == false then | |
| 2448 | readyrewind() | |
| 2449 | elseif str.lower(key) == 'c' and cantimerewind == false and cooldown then | |
| 2450 | timerewind() | |
| 2451 | end | |
| 2452 | end) |