SHOW:
|
|
- or go back to the newest paste.
| 1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 2 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 3 | do | |
| 4 | print("FE Compatibility code by Mokiros")
| |
| 5 | script.Parent = Player.Character | |
| 6 | ||
| 7 | --RemoteEvent for communicating | |
| 8 | local Event = Instance.new("RemoteEvent")
| |
| 9 | Event.Name = "UserInput_Event" | |
| 10 | ||
| 11 | --Fake event to make stuff like Mouse.KeyDown work | |
| 12 | local function fakeEvent() | |
| 13 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
| |
| 14 | t.connect = t.Connect | |
| 15 | return t | |
| 16 | end | |
| 17 | ||
| 18 | --Creating fake input objects with fake variables | |
| 19 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 20 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 21 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 22 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 23 | end} | |
| 24 | --Merged 2 functions into one by checking amount of arguments | |
| 25 | CAS.UnbindAction = CAS.BindAction | |
| 26 | ||
| 27 | --This function will trigger the events that have been :Connect()'ed | |
| 28 | local function te(self,ev,...) | |
| 29 | local t = m[ev] | |
| 30 | if t and t._fakeEvent and t.Function then | |
| 31 | t.Function(...) | |
| 32 | end | |
| 33 | end | |
| 34 | m.TrigEvent = te | |
| 35 | UIS.TrigEvent = te | |
| 36 | ||
| 37 | Event.OnServerEvent:Connect(function(plr,io) | |
| 38 | if plr~=Player then return end | |
| 39 | if io.isMouse then | |
| 40 | m.Target = io.Target | |
| 41 | m.Hit = io.Hit | |
| 42 | else | |
| 43 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 44 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 45 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 46 | end | |
| 47 | for _,t in pairs(CAS.Actions) do | |
| 48 | for _,k in pairs(t.Keys) do | |
| 49 | if k==io.KeyCode then | |
| 50 | t.Function(t.Name,io.UserInputState,io) | |
| 51 | end | |
| 52 | end | |
| 53 | end | |
| 54 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 55 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 56 | end | |
| 57 | end) | |
| 58 | Event.Parent = NLS([==[ | |
| 59 | local Player = game:GetService("Players").LocalPlayer
| |
| 60 | local Event = script:WaitForChild("UserInput_Event")
| |
| 61 | ||
| 62 | local UIS = game:GetService("UserInputService")
| |
| 63 | local input = function(io,a) | |
| 64 | if a then return end | |
| 65 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 66 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
| |
| 67 | end | |
| 68 | UIS.InputBegan:Connect(input) | |
| 69 | UIS.InputEnded:Connect(input) | |
| 70 | ||
| 71 | local Mouse = Player:GetMouse() | |
| 72 | local h,t | |
| 73 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 74 | --If player is not moving their mouse, client won't fire events | |
| 75 | while wait(1/30) do | |
| 76 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 77 | h,t=Mouse.Hit,Mouse.Target | |
| 78 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 79 | end | |
| 80 | end]==],Player.Character) | |
| 81 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
| 82 | end | |
| 83 | ||
| 84 | function TakeDamage(hum, dmg) | |
| 85 | hum:TakeDamage(dmg) | |
| 86 | end | |
| 87 | plr = owner | |
| 88 | repeat | |
| 89 | wait(0.4) | |
| 90 | until plr.Character | |
| 91 | chr = plr.Character | |
| 92 | human = chr:FindFirstChild("Humanoid")
| |
| 93 | human.MaxHealth, human.Health = math.huge, math.huge | |
| 94 | cam = workspace.CurrentCamera | |
| 95 | selected = false | |
| 96 | equipd = false | |
| 97 | tors = chr.Torso | |
| 98 | rarm = chr["Right Arm"] | |
| 99 | larm = chr["Left Arm"] | |
| 100 | rleg = chr["Right Leg"] | |
| 101 | lleg = chr["Left Leg"] | |
| 102 | hrp = chr.HumanoidRootPart | |
| 103 | hed = chr.Head | |
| 104 | anim = human.Animator | |
| 105 | activu = false | |
| 106 | appeared = false | |
| 107 | animpose = nil | |
| 108 | POSU = false | |
| 109 | local wherto = hrp | |
| 110 | local addcfr = CFrame.new(0, 0, 0) | |
| 111 | Heartbeat = Instance.new("BindableEvent")
| |
| 112 | Heartbeat.Name = "Heartbeat" | |
| 113 | Heartbeat.Parent = script | |
| 114 | frame = 0.03333333333333333 | |
| 115 | tf = 0 | |
| 116 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 117 | tf = tf + s | |
| 118 | if tf >= frame then | |
| 119 | for i = 1, math.floor(tf / frame) do | |
| 120 | Heartbeat:Fire() | |
| 121 | end | |
| 122 | tf = tf - frame * math.floor(tf / frame) | |
| 123 | end | |
| 124 | end) | |
| 125 | function swait(num) | |
| 126 | if num == 0 or num == nil then | |
| 127 | Heartbeat.Event:wait() | |
| 128 | else | |
| 129 | for i = 1, num do | |
| 130 | Heartbeat.Event:wait() | |
| 131 | end | |
| 132 | end | |
| 133 | end | |
| 134 | tool = Instance.new("Tool")
| |
| 135 | tool.CanBeDropped = false | |
| 136 | tool.RequiresHandle = false | |
| 137 | tool.TextureId = "http://www.roblox.com/asset/?id=4025191505" | |
| 138 | tool.ToolTip = "KEKKA DAKE DA" | |
| 139 | tool.Name = "King Crismon" | |
| 140 | tool.Parent = plr.Backpack | |
| 141 | modz = Instance.new("Model")
| |
| 142 | modz.Name = "efx" | |
| 143 | modz.Parent = chr | |
| 144 | ZANOOB = Instance.new("Model")
| |
| 145 | ZANOOB.Name = "King Crimson" | |
| 146 | ZANOOB.Parent = chr | |
| 147 | RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 148 | RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 149 | LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 150 | LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 151 | RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 152 | RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 153 | LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 154 | RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 155 | LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 156 | NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 157 | NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 158 | RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 159 | RS = tors:FindFirstChild("Right Shoulder")
| |
| 160 | LS = tors:FindFirstChild("Left Shoulder")
| |
| 161 | RH = tors:FindFirstChild("Right Hip")
| |
| 162 | LH = tors:FindFirstChild("Left Hip")
| |
| 163 | RJ = hrp:FindFirstChild("RootJoint")
| |
| 164 | N = tors:FindFirstChild("Neck")
| |
| 165 | cf = CFrame.new | |
| 166 | ang = CFrame.Angles | |
| 167 | rd = math.rad | |
| 168 | rd2 = math.random | |
| 169 | function nooutline(p) | |
| 170 | p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10 | |
| 171 | end | |
| 172 | function makepart(color, name, reflec, mater, parnt, cfram) | |
| 173 | local port = Instance.new("Part")
| |
| 174 | port.BrickColor = BrickColor.new(color) | |
| 175 | port.Name = name | |
| 176 | port.Transparency = 1 | |
| 177 | nooutline(port) | |
| 178 | port.Reflectance = reflec | |
| 179 | port.Material = mater | |
| 180 | port.Anchored = false | |
| 181 | port.CanCollide = false | |
| 182 | port.Locked = true | |
| 183 | port.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 184 | port.Parent = parnt | |
| 185 | return port | |
| 186 | end | |
| 187 | function makemesh(meshtype, scale, meshid, parent) | |
| 188 | local mes = Instance.new("SpecialMesh")
| |
| 189 | mes.MeshType = meshtype | |
| 190 | mes.Scale = scale | |
| 191 | if meshtype == "FileMesh" then | |
| 192 | mes.MeshId = meshid | |
| 193 | end | |
| 194 | mes.Parent = parent | |
| 195 | return mes | |
| 196 | end | |
| 197 | function makemotor(parent, p0, p1, c0, c1) | |
| 198 | swait() | |
| 199 | local wel = Instance.new("Motor6D")
| |
| 200 | wel.Part0 = p0 | |
| 201 | wel.Part1 = p1 | |
| 202 | wel.C0 = c0 | |
| 203 | if c1 ~= nil then | |
| 204 | wel.C1 = c1 | |
| 205 | end | |
| 206 | wel.Parent = parent | |
| 207 | return wel | |
| 208 | end | |
| 209 | local konodioda = Instance.new("Sound")
| |
| 210 | konodioda.SoundId = "rbxassetid://3373967354" | |
| 211 | konodioda.Volume = 0.5 | |
| 212 | konodioda.Parent = hrp | |
| 213 | local bast = Instance.new("Sound")
| |
| 214 | bast.SoundId = "rbxassetid://3289256209" | |
| 215 | bast.Volume = 0.5 | |
| 216 | bast.Parent = hrp | |
| 217 | local zaworld = Instance.new("Sound")
| |
| 218 | zaworld.SoundId = "rbxassetid://3373956700" | |
| 219 | zaworld.Volume = 1 | |
| 220 | zaworld.Parent = hrp | |
| 221 | local wry = Instance.new("Sound")
| |
| 222 | wry.SoundId = "rbxassetid://3373975760" | |
| 223 | wry.Volume = 1 | |
| 224 | wry.Parent = hrp | |
| 225 | function animo(yep) | |
| 226 | if yep == true then | |
| 227 | anim.Parent = human | |
| 228 | chr.Animate.Disabled = false | |
| 229 | elseif yep == false then | |
| 230 | chr.Animate.Disabled = true | |
| 231 | anim.Parent = nil | |
| 232 | end | |
| 233 | end | |
| 234 | animo(false) | |
| 235 | function lerpz(joint, prop, cfrmz, alp) | |
| 236 | joint[prop] = joint[prop]:lerp(cfrmz, alp) | |
| 237 | end | |
| 238 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 239 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 240 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 241 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 242 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 243 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 244 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 245 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 246 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 247 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 248 | function resetlerp(whoever) | |
| 249 | if whoever == nil then | |
| 250 | RJ.C0 = RJC0 | |
| 251 | RJ.C1 = RJC1 | |
| 252 | N.C0 = NC0 | |
| 253 | N.C1 = NC1 | |
| 254 | RS.C0 = RSC0 | |
| 255 | RS.C1 = RSC1 | |
| 256 | LS.C0 = LSC0 | |
| 257 | LS.C1 = LSC1 | |
| 258 | RH.C0 = RHC0 | |
| 259 | RH.C1 = RHC1 | |
| 260 | LH.C0 = LHC0 | |
| 261 | LH.C1 = LHC1 | |
| 262 | elseif whoever ~= nil then | |
| 263 | nRJ.C0 = RJC0 | |
| 264 | nRJ.C1 = RJC1 | |
| 265 | nN.C0 = NC0 | |
| 266 | nN.C1 = NC1 | |
| 267 | nRS.C0 = RSC0 | |
| 268 | nRS.C1 = RSC1 | |
| 269 | nLS.C0 = LSC0 | |
| 270 | nLS.C1 = LSC1 | |
| 271 | nRH.C0 = RHC0 | |
| 272 | nRH.C1 = RHC1 | |
| 273 | nLH.C0 = LHC0 | |
| 274 | nLH.C1 = LHC1 | |
| 275 | end | |
| 276 | end | |
| 277 | function STANDO(cfr) | |
| 278 | local rooto = Instance.new("Part")
| |
| 279 | nooutline(rooto) | |
| 280 | rooto.Name = "HumanoidRootPart" | |
| 281 | rooto.Anchored = true | |
| 282 | rooto.CFrame = cfr | |
| 283 | rooto.Size = Vector3.new(2, 2, 1) | |
| 284 | rooto.CanCollide = false | |
| 285 | rooto.Locked = true | |
| 286 | rooto.Transparency = 1 | |
| 287 | rooto.Parent = ZANOOB | |
| 288 | local head = Instance.new("Part")
| |
| 289 | nooutline(head) | |
| 290 | head.Anchored = false | |
| 291 | head.CFrame = rooto.CFrame * CFrame.new(0, 1.5, 0) | |
| 292 | head.Size = Vector3.new(2, 1, 1) | |
| 293 | head.BrickColor = BrickColor.new("Bright red")
| |
| 294 | head.CanCollide = false | |
| 295 | head.Name = "Head" | |
| 296 | head.Locked = true | |
| 297 | head.Transparency = 1 | |
| 298 | head.Parent = ZANOOB | |
| 299 | local headmesh = makemesh("Head", Vector3.new(1.25, 1.25, 1.25), nil, head)
| |
| 300 | local headdecal = Instance.new("Decal")
| |
| 301 | headdecal.Name = "face" | |
| 302 | headdecal.Texture = "rbxasset://textures/face.png" | |
| 303 | headdecal.Face = "Front" | |
| 304 | headdecal.Transparency = 1 | |
| 305 | headdecal.Parent = head | |
| 306 | local torso = Instance.new("Part")
| |
| 307 | nooutline(torso) | |
| 308 | torso.Name = "Torso" | |
| 309 | torso.Anchored = false | |
| 310 | torso.CFrame = rooto.CFrame * CFrame.new(0, 0, 0) | |
| 311 | torso.Size = Vector3.new(2, 1, 1) | |
| 312 | torso.BrickColor = BrickColor.new("Bright red")
| |
| 313 | torso.CanCollide = false | |
| 314 | torso.Transparency = 1 | |
| 315 | torso.Locked = true | |
| 316 | torso.Parent = ZANOOB | |
| 317 | local torsomesh = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxasset://fonts/torso.mesh", torso)
| |
| 318 | local leftarm = Instance.new("Part")
| |
| 319 | nooutline(leftarm) | |
| 320 | leftarm.Anchored = false | |
| 321 | leftarm.Name = "Left Arm" | |
| 322 | leftarm.CFrame = rooto.CFrame * CFrame.new(1.5, 0, 0) | |
| 323 | leftarm.Size = Vector3.new(1, 2, 1) | |
| 324 | leftarm.BrickColor = BrickColor.new("Bright red")
| |
| 325 | leftarm.CanCollide = false | |
| 326 | leftarm.Transparency = 1 | |
| 327 | leftarm.Locked = true | |
| 328 | leftarm.Parent = ZANOOB | |
| 329 | local leftarmmesh = makemesh("FileMesh", Vector3.new(1, 1, 1), "", leftarm)
| |
| 330 | local rightarm = Instance.new("Part")
| |
| 331 | nooutline(rightarm) | |
| 332 | rightarm.Anchored = false | |
| 333 | rightarm.CFrame = rooto.CFrame * CFrame.new(-1.5, 0, 0) | |
| 334 | rightarm.Name = "Right Arm" | |
| 335 | rightarm.Size = Vector3.new(1, 2, 1) | |
| 336 | rightarm.BrickColor = BrickColor.new("Bright red")
| |
| 337 | rightarm.CanCollide = false | |
| 338 | rightarm.Locked = true | |
| 339 | rightarm.Transparency = 1 | |
| 340 | rightarm.Parent = ZANOOB | |
| 341 | local rightarmmesh = makemesh("FileMesh", Vector3.new(0.8, 1, 1), "", rightarm)
| |
| 342 | local leftleg = Instance.new("Part")
| |
| 343 | nooutline(leftleg) | |
| 344 | leftleg.Anchored = false | |
| 345 | leftleg.CFrame = rooto.CFrame * CFrame.new(1.5, -1.5, 0) | |
| 346 | leftleg.Name = "Left Leg" | |
| 347 | leftleg.Size = Vector3.new(1, 2, 1) | |
| 348 | leftleg.BrickColor = BrickColor.new("Bright red")
| |
| 349 | leftleg.CanCollide = false | |
| 350 | leftleg.Transparency = 1 | |
| 351 | leftleg.Locked = true | |
| 352 | leftleg.Parent = ZANOOB | |
| 353 | local leftlegmesh = makemesh("FileMesh", Vector3.new(1, 1, 1), "", leftleg)
| |
| 354 | local rightleg = Instance.new("Part")
| |
| 355 | nooutline(rightleg) | |
| 356 | rightleg.Anchored = false | |
| 357 | rightleg.CFrame = rooto.CFrame * CFrame.new(-1.5, -1.5, 0) | |
| 358 | rightleg.Name = "Right Leg" | |
| 359 | rightleg.Size = Vector3.new(1, 2, 1) | |
| 360 | rightleg.BrickColor = BrickColor.new("Bright red")
| |
| 361 | rightleg.CanCollide = false | |
| 362 | rightleg.Locked = true | |
| 363 | rightleg.Transparency = 1 | |
| 364 | rightleg.Parent = ZANOOB | |
| 365 | local rightlegmesh = makemesh("FileMesh", Vector3.new(1, 1, 1), "", rightleg)
| |
| 366 | local rootweld = makemotor(rooto, rooto, torso, RJC0, RJC1) | |
| 367 | rootweld.Name = "RootJoint" | |
| 368 | local neckweld = makemotor(torso, torso, head, NC0, NC1) | |
| 369 | neckweld.Name = "Neck" | |
| 370 | local rshoulderweld = makemotor(torso, torso, rightarm, RSC0, RSC1) | |
| 371 | rshoulderweld.Name = "Right Shoulder" | |
| 372 | local lshoulderweld = makemotor(torso, torso, leftarm, LSC0, LSC1) | |
| 373 | lshoulderweld.Name = "Left Shoulder" | |
| 374 | local rhipweld = makemotor(torso, torso, rightleg, RHC0, RHC1) | |
| 375 | rhipweld.Name = "Right Hip" | |
| 376 | local lhipweld = makemotor(torso, torso, leftleg, LHC0, LHC1) | |
| 377 | lhipweld.Name = "Left Hip" | |
| 378 | local la1 = Instance.new("Part")
| |
| 379 | nooutline(la1) | |
| 380 | la1.Anchored = false | |
| 381 | la1.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 382 | la1.Name = "la1" -- Head | |
| 383 | la1.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 384 | la1.BrickColor = BrickColor.new("Institutional white")
| |
| 385 | la1.CanCollide = false | |
| 386 | la1.Locked = true | |
| 387 | la1.Transparency = 1 | |
| 388 | la1.Parent = ZANOOB | |
| 389 | local la1m = makemesh("FileMesh", Vector3.new(1., 1.03, 1),"rbxassetid://1307316259", la1)
| |
| 390 | local la1w = makemotor(la1, la1, head, ang(rd(0), rd(0), rd(0)) * cf(0, -0.01, 0), ang(rd(0), 0, 0)) | |
| 391 | local la2 = Instance.new("Part")
| |
| 392 | nooutline(la2) | |
| 393 | la2.Anchored = false | |
| 394 | la2.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 395 | la2.Name = "la2" -- Head | |
| 396 | la2.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 397 | la2.BrickColor = BrickColor.new("Ghost grey")
| |
| 398 | la2.CanCollide = false | |
| 399 | la2.Locked = true | |
| 400 | la2.Transparency = 1 | |
| 401 | la2.Parent = ZANOOB | |
| 402 | local la2m = makemesh("FileMesh", Vector3.new(0.5, 0.5, 0.5),"rbxassetid://514528170", la2)
| |
| 403 | local la2w = makemotor(la2, la2, head, ang(rd(0), rd(0), rd(0)) * cf(0, 0, 0.2), ang(rd(0), 0, 0)) | |
| 404 | local la3 = Instance.new("Part")
| |
| 405 | nooutline(la3) | |
| 406 | la3.Anchored = false | |
| 407 | la3.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 408 | la3.Name = "la3" -- Head | |
| 409 | la3.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 410 | la3.BrickColor = BrickColor.new("Smoky grey")
| |
| 411 | la3.CanCollide = false | |
| 412 | la3.Locked = true | |
| 413 | la3.Transparency = 1 | |
| 414 | la3.Parent = ZANOOB | |
| 415 | local la3m = makemesh("FileMesh", Vector3.new(0.2, 0.2, 0.2),"rbxassetid://514528170", la3)
| |
| 416 | local la3w = makemotor(la3, la3, head, ang(rd(0), rd(0), rd(0)) * cf(0, -0.4, 0.5), ang(rd(0), 0, 0)) | |
| 417 | local la4 = Instance.new("Part")
| |
| 418 | nooutline(la4) | |
| 419 | la4.Anchored = false | |
| 420 | la4.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 421 | la4.Name = "la4" -- Head | |
| 422 | la4.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 423 | la4.BrickColor = BrickColor.new("Persimmon")
| |
| 424 | la4.CanCollide = false | |
| 425 | la4.Locked = true | |
| 426 | la4.Transparency = 1 | |
| 427 | la4.Parent = ZANOOB | |
| 428 | local la4m = makemesh("FileMesh", Vector3.new(0.1, 0.1, 0.1),"rbxassetid://514528170", la4)
| |
| 429 | local la4w = makemotor(la4, la4, head, ang(rd(0), rd(0), rd(0)) * cf(0, -0.4, 0.65), ang(rd(0), 0, 0)) | |
| 430 | local la5 = Instance.new("Part")
| |
| 431 | nooutline(la5) | |
| 432 | la5.Anchored = false | |
| 433 | la5.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 434 | la5.Name = "la5" -- Torso | |
| 435 | la5.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 436 | la5.BrickColor = BrickColor.new("Institutional white")
| |
| 437 | la5.CanCollide = false | |
| 438 | la5.Locked = true | |
| 439 | la5.Transparency = 1 | |
| 440 | la5.Parent = ZANOOB | |
| 441 | local la5m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.01),"rbxassetid://1279394898", la5)
| |
| 442 | local la5w = makemotor(la5, la5, torso, ang(rd(0), rd(0), rd(0)) * cf(0, -0.5, 0), ang(rd(0), 0, 0)) | |
| 443 | local la8 = Instance.new("Part")
| |
| 444 | nooutline(la8) | |
| 445 | la8.Anchored = false | |
| 446 | la8.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 447 | la8.Name = "la8" -- Torso | |
| 448 | la8.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 449 | la8.BrickColor = BrickColor.new("Institutional white")
| |
| 450 | la8.CanCollide = false | |
| 451 | la8.Locked = true | |
| 452 | la8.Transparency = 1 | |
| 453 | la8.Parent = ZANOOB | |
| 454 | local la8m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.01),"rbxassetid://1279394898", la8)
| |
| 455 | local la8w = makemotor(la8, la8, torso, ang(rd(180), rd(0), rd(0)) * cf(0, -0.5, 0), ang(rd(0), 0, 0)) | |
| 456 | local la6 = Instance.new("Part")
| |
| 457 | nooutline(la6) | |
| 458 | la6.Anchored = false | |
| 459 | la6.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 460 | la6.Name = "la6" -- Torso | |
| 461 | la6.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 462 | la6.BrickColor = BrickColor.new("Institutional white")
| |
| 463 | la6.CanCollide = false | |
| 464 | la6.Locked = true | |
| 465 | la6.Transparency = 1 | |
| 466 | la6.Parent = ZANOOB | |
| 467 | local la6m = makemesh("FileMesh", Vector3.new(0.005, 0.012, 0.006),"rbxassetid://1279434239", la6)
| |
| 468 | local la6w = makemotor(la6, la6, torso, ang(rd(0), rd(0), rd(3)) * cf(-0.3, 0.5, 0), ang(rd(0), 0, 0)) | |
| 469 | local la6 = Instance.new("Part")
| |
| 470 | nooutline(la6) | |
| 471 | la6.Anchored = false | |
| 472 | la6.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 473 | la6.Name = "la6" -- Torso | |
| 474 | la6.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 475 | la6.BrickColor = BrickColor.new("Institutional white")
| |
| 476 | la6.CanCollide = false | |
| 477 | la6.Locked = true | |
| 478 | la6.Transparency = 1 | |
| 479 | la6.Parent = ZANOOB | |
| 480 | local la6m = makemesh("FileMesh", Vector3.new(0.005, 0.012, 0.006),"rbxassetid://1279434239", la6)
| |
| 481 | local la6w = makemotor(la6, la6, torso, ang(rd(0), rd(0), rd(-3)) * cf(0.3, 0.5, 0), ang(rd(0), 0, 0)) | |
| 482 | local la7 = Instance.new("Part")
| |
| 483 | nooutline (la7) | |
| 484 | la7.Anchored = false | |
| 485 | la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 486 | la7.Name = "la7" -- Torso | |
| 487 | la7.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 488 | la7.BrickColor = BrickColor.new("Bright red")
| |
| 489 | la7.CanCollide = false | |
| 490 | la7.Locked = true | |
| 491 | la7.Transparency = 1 | |
| 492 | la7.Parent = ZANOOB | |
| 493 | local la7m = makemesh("FileMesh", Vector3.new(1, 0.5, 1),"rbxasset://fonts/torso.mesh", la7)
| |
| 494 | local la7w = makemotor(la7, la7, torso, ang(rd(0), rd(0), rd(0)) * cf(0, -0.5, 0), ang(rd(0), 0, 0)) | |
| 495 | local la9 = Instance.new("Part")
| |
| 496 | nooutline (la9) | |
| 497 | la9.Anchored = false | |
| 498 | la9.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 499 | la9.Name = "la9" -- Torso | |
| 500 | la9.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 501 | la9.BrickColor = BrickColor.new("Bright red")
| |
| 502 | la9.CanCollide = false | |
| 503 | la9.Locked = true | |
| 504 | la9.Transparency = 1 | |
| 505 | la9.Parent = ZANOOB | |
| 506 | local la9m = makemesh("FileMesh", Vector3.new(0.5, 0.3, 1),"rbxasset://fonts/torso.mesh", la9)
| |
| 507 | local la9w = makemotor(la9, la9, torso, ang(rd(0), rd(0), rd(20)) * cf(-0.5, -0.3, 0), ang(rd(0), 0, 0)) | |
| 508 | local la10 = Instance.new("Part")
| |
| 509 | nooutline (la10) | |
| 510 | la10.Anchored = false | |
| 511 | la10.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 512 | la10.Name = "la10" -- Torso | |
| 513 | la10.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 514 | la10.BrickColor = BrickColor.new("Bright red")
| |
| 515 | la10.CanCollide = false | |
| 516 | la10.Locked = true | |
| 517 | la10.Transparency = 1 | |
| 518 | la10.Parent = ZANOOB | |
| 519 | local la10m = makemesh("FileMesh", Vector3.new(0.5, 0.3, 1),"rbxasset://fonts/torso.mesh", la10)
| |
| 520 | local la10w = makemotor(la10, la10, torso, ang(rd(0), rd(0), rd(-20)) * cf(0.5, -0.3, 0), ang(rd(0), 0, 0)) | |
| 521 | local la11 = Instance.new("Part")
| |
| 522 | nooutline (la11) | |
| 523 | la11.Anchored = false | |
| 524 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 525 | la11.Name = "la11" -- Left Arm | |
| 526 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 527 | la11.BrickColor = BrickColor.new("Institutional white")
| |
| 528 | la11.CanCollide = false | |
| 529 | la11.Locked = true | |
| 530 | la11.Transparency = 1 | |
| 531 | la11.Parent = ZANOOB | |
| 532 | local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.0075, 0.01),"rbxassetid://1279394898", la11)
| |
| 533 | local la11w = makemotor(la11, la11, leftarm, ang(rd(0), rd(0), rd(90)) * cf(-0.1, 0, 0), ang(rd(0), 0, 0)) | |
| 534 | local la11 = Instance.new("Part")
| |
| 535 | nooutline (la11) | |
| 536 | la11.Anchored = false | |
| 537 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 538 | la11.Name = "la11" -- Left Arm | |
| 539 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 540 | la11.BrickColor = BrickColor.new("Institutional white")
| |
| 541 | la11.CanCollide = false | |
| 542 | la11.Locked = true | |
| 543 | la11.Transparency = 1 | |
| 544 | la11.Parent = ZANOOB | |
| 545 | local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
| |
| 546 | local la11w = makemotor(la11, la11, leftarm, ang(rd(90), rd(0), rd(90)) * cf(-0.1, 0, 0), ang(rd(0), 0, 0)) | |
| 547 | local la11 = Instance.new("Part")
| |
| 548 | nooutline (la11) | |
| 549 | la11.Anchored = false | |
| 550 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 551 | la11.Name = "la11" -- Left Arm | |
| 552 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 553 | la11.BrickColor = BrickColor.new("Institutional white")
| |
| 554 | la11.CanCollide = false | |
| 555 | la11.Locked = true | |
| 556 | la11.Transparency = 1 | |
| 557 | la11.Parent = ZANOOB | |
| 558 | local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
| |
| 559 | local la11w = makemotor(la11, la11, leftarm, ang(rd(90), rd(0), rd(90)) * cf(-0.1, 0, 0), ang(rd(0), 0, 0)) | |
| 560 | local la11 = Instance.new("Part")
| |
| 561 | nooutline (la11) | |
| 562 | la11.Anchored = false | |
| 563 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 564 | la11.Name = "la11" -- Right Arm | |
| 565 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 566 | la11.BrickColor = BrickColor.new("Institutional white")
| |
| 567 | la11.CanCollide = false | |
| 568 | la11.Locked = true | |
| 569 | la11.Transparency = 1 | |
| 570 | la11.Parent = ZANOOB | |
| 571 | local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.0075, 0.01),"rbxassetid://1279394898", la11)
| |
| 572 | local la11w = makemotor(la11, la11, rightarm, ang(rd(0), rd(0), rd(90)) * cf(0.1, 0, 0), ang(rd(0), 0, 0)) | |
| 573 | local la11 = Instance.new("Part")
| |
| 574 | nooutline (la11) | |
| 575 | la11.Anchored = false | |
| 576 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 577 | la11.Name = "la11" -- Right Arm | |
| 578 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 579 | la11.BrickColor = BrickColor.new("Institutional white")
| |
| 580 | la11.CanCollide = false | |
| 581 | la11.Locked = true | |
| 582 | la11.Transparency = 1 | |
| 583 | la11.Parent = ZANOOB | |
| 584 | local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
| |
| 585 | local la11w = makemotor(la11, la11, rightarm, ang(rd(90), rd(0), rd(-90)) * cf(0.1, 0, 0), ang(rd(0), 0, 0)) | |
| 586 | local la11 = Instance.new("Part")
| |
| 587 | nooutline (la11) | |
| 588 | la11.Anchored = false | |
| 589 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 590 | la11.Name = "la11" -- Right Arm | |
| 591 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 592 | la11.BrickColor = BrickColor.new("Institutional white")
| |
| 593 | la11.CanCollide = false | |
| 594 | la11.Locked = true | |
| 595 | la11.Transparency = 1 | |
| 596 | la11.Parent = ZANOOB | |
| 597 | local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.0075, 0.01),"rbxassetid://1279394898", la11)
| |
| 598 | local la11w = makemotor(la11, la11, rightarm, ang(rd(0), rd(0), rd(-90)) * cf(0.1, 0, 0), ang(rd(0), 0, 0)) | |
| 599 | local la11 = Instance.new("Part")
| |
| 600 | nooutline (la11) | |
| 601 | la11.Anchored = false | |
| 602 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 603 | la11.Name = "la11" -- Right Arm | |
| 604 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 605 | la11.BrickColor = BrickColor.new("Bright red")
| |
| 606 | la11.CanCollide = false | |
| 607 | la11.Locked = true | |
| 608 | la11.Transparency = 1 | |
| 609 | la11.Parent = ZANOOB | |
| 610 | local la11m = makemesh("FileMesh", Vector3.new(0.8, 1, 1),"rbxasset://fonts/rightarm.mesh", la11)
| |
| 611 | local la11w = makemotor(la11, la11, rightarm, ang(rd(0), rd(0), rd(0)) * cf(0.1, 0, 0), ang(rd(0), 0, 0)) | |
| 612 | local la11 = Instance.new("Part")
| |
| 613 | nooutline (la11) | |
| 614 | la11.Anchored = false | |
| 615 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 616 | la11.Name = "la11" -- Right Arm | |
| 617 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 618 | la11.BrickColor = BrickColor.new("Bright red")
| |
| 619 | la11.CanCollide = false | |
| 620 | la11.Locked = true | |
| 621 | la11.Transparency = 1 | |
| 622 | la11.Parent = ZANOOB | |
| 623 | local la11m = makemesh("FileMesh", Vector3.new(0.8, 1, 1),"rbxasset://fonts/rightarm.mesh", la11)
| |
| 624 | local la11w = makemotor(la11, la11, leftarm, ang(rd(0), rd(0), rd(0)) * cf(-0.1, 0, 0), ang(rd(0), 0, 0)) | |
| 625 | local la11 = Instance.new("Part")
| |
| 626 | nooutline (la11) | |
| 627 | la11.Anchored = false | |
| 628 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 629 | la11.Name = "la11" -- Torso | |
| 630 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 631 | la11.BrickColor = BrickColor.new("Institutional white")
| |
| 632 | la11.CanCollide = false | |
| 633 | la11.Locked = true | |
| 634 | la11.Transparency = 1 | |
| 635 | la11.Parent = ZANOOB | |
| 636 | local la11m = makemesh("FileMesh", Vector3.new(0.007, 0.01, 0.01),"rbxassetid://548881795", la11)
| |
| 637 | local la11w = makemotor(la11, la11, torso, ang(rd(0), rd(180), rd(0)) * cf(0, -1.1, -0.05), ang(rd(0), 0, 0)) | |
| 638 | local la6 = Instance.new("Part")
| |
| 639 | nooutline(la6) | |
| 640 | la6.Anchored = false | |
| 641 | la6.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 642 | la6.Name = "la6" -- Torso | |
| 643 | la6.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 644 | la6.BrickColor = BrickColor.new("Smoky grey")
| |
| 645 | la6.CanCollide = false | |
| 646 | la6.Locked = true | |
| 647 | la6.Transparency = 1 | |
| 648 | la6.Parent = ZANOOB | |
| 649 | local la6m = makemesh("FileMesh", Vector3.new(1.34, 1.4, 1.4),"rbxassetid://448723209", la6)
| |
| 650 | local la6w = makemotor(la6, la6, torso, ang(rd(0), rd(0), rd(0)) * cf(0, 1.37, 0), ang(rd(0), 0, 0)) | |
| 651 | local la11 = Instance.new("Part")
| |
| 652 | nooutline (la11) | |
| 653 | la11.Anchored = false | |
| 654 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 655 | la11.Name = "la11" -- LeftLeg | |
| 656 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 657 | la11.BrickColor = BrickColor.new("Bright red")
| |
| 658 | la11.CanCollide = false | |
| 659 | la11.Locked = true | |
| 660 | la11.Transparency = 1 | |
| 661 | la11.Parent = ZANOOB | |
| 662 | local la11m = makemesh("FileMesh", Vector3.new(0.8, 1, 1),"rbxasset://fonts/leftleg.mesh", la11)
| |
| 663 | local la11w = makemotor(la11, la11, leftleg, ang(rd(0), rd(0), rd(0)) * cf(-0.1, 0.1, 0), ang(rd(0), 0, 0)) | |
| 664 | local la11 = Instance.new("Part")
| |
| 665 | nooutline (la11) | |
| 666 | la11.Anchored = false | |
| 667 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 668 | la11.Name = "la11" -- RightLeg | |
| 669 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 670 | la11.BrickColor = BrickColor.new("Bright red")
| |
| 671 | la11.CanCollide = false | |
| 672 | la11.Locked = true | |
| 673 | la11.Transparency = 1 | |
| 674 | la11.Parent = ZANOOB | |
| 675 | local la11m = makemesh("FileMesh", Vector3.new(0.8, 1, 1),"rbxasset://fonts/Rightleg.mesh", la11)
| |
| 676 | local la11w = makemotor(la11, la11, rightleg, ang(rd(0), rd(0), rd(0)) * cf(0.1, 0.1, 0), ang(rd(0), 0, 0)) | |
| 677 | local la11 = Instance.new("Part")
| |
| 678 | nooutline (la11) | |
| 679 | la11.Anchored = false | |
| 680 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 681 | la11.Name = "la11" -- Left Leg | |
| 682 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 683 | la11.BrickColor = BrickColor.new("Institutional white")
| |
| 684 | la11.CanCollide = false | |
| 685 | la11.Locked = true | |
| 686 | la11.Transparency = 1 | |
| 687 | la11.Parent = ZANOOB | |
| 688 | local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.0075, 0.01),"rbxassetid://1279394898", la11)
| |
| 689 | local la11w = makemotor(la11, la11, leftleg, ang(rd(0), rd(0), rd(90)) * cf(-0.1, 0.1, 0), ang(rd(0), 0, 0)) | |
| 690 | local la11 = Instance.new("Part")
| |
| 691 | nooutline (la11) | |
| 692 | la11.Anchored = false | |
| 693 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 694 | la11.Name = "la11" -- Left Arm | |
| 695 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 696 | la11.BrickColor = BrickColor.new("Institutional white")
| |
| 697 | la11.CanCollide = false | |
| 698 | la11.Locked = true | |
| 699 | la11.Transparency = 1 | |
| 700 | la11.Parent = ZANOOB | |
| 701 | local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
| |
| 702 | local la11w = makemotor(la11, la11, leftleg, ang(rd(90), rd(0), rd(90)) * cf(-0.1, 0.1, 0), ang(rd(0), 0, 0)) | |
| 703 | local la11 = Instance.new("Part")
| |
| 704 | nooutline (la11) | |
| 705 | la11.Anchored = false | |
| 706 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 707 | la11.Name = "la11" -- Left Arm | |
| 708 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 709 | la11.BrickColor = BrickColor.new("Institutional white")
| |
| 710 | la11.CanCollide = false | |
| 711 | la11.Locked = true | |
| 712 | la11.Transparency = 1 | |
| 713 | la11.Parent = ZANOOB | |
| 714 | local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
| |
| 715 | local la11w = makemotor(la11, la11, leftleg, ang(rd(90), rd(0), rd(90)) * cf(-0.1, 0.1, 0), ang(rd(0), 0, 0)) | |
| 716 | local la11 = Instance.new("Part")
| |
| 717 | nooutline (la11) | |
| 718 | la11.Anchored = false | |
| 719 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 720 | la11.Name = "la11" -- Left Leg | |
| 721 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 722 | la11.BrickColor = BrickColor.new("Institutional white")
| |
| 723 | la11.CanCollide = false | |
| 724 | la11.Locked = true | |
| 725 | la11.Transparency = 1 | |
| 726 | la11.Parent = ZANOOB | |
| 727 | local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.0075, 0.01),"rbxassetid://1279394898", la11)
| |
| 728 | local la11w = makemotor(la11, la11, rightleg, ang(rd(0), rd(0), rd(90)) * cf(0.1, 0.1, 0), ang(rd(0), 0, 0)) | |
| 729 | local la11 = Instance.new("Part")
| |
| 730 | nooutline (la11) | |
| 731 | la11.Anchored = false | |
| 732 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 733 | la11.Name = "la11" -- Left Arm | |
| 734 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 735 | la11.BrickColor = BrickColor.new("Institutional white")
| |
| 736 | la11.CanCollide = false | |
| 737 | la11.Locked = true | |
| 738 | la11.Transparency = 1 | |
| 739 | la11.Parent = ZANOOB | |
| 740 | local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
| |
| 741 | local la11w = makemotor(la11, la11, rightleg, ang(rd(90), rd(0), rd(90)) * cf(0.1, 0.1, 0), ang(rd(0), 0, 0)) | |
| 742 | local la11 = Instance.new("Part")
| |
| 743 | nooutline (la11) | |
| 744 | la11.Anchored = false | |
| 745 | la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 746 | la11.Name = "la11" -- Left Arm | |
| 747 | la11.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 748 | la11.BrickColor = BrickColor.new("Institutional white")
| |
| 749 | la11.CanCollide = false | |
| 750 | la11.Locked = true | |
| 751 | la11.Transparency = 1 | |
| 752 | la11.Parent = ZANOOB | |
| 753 | local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
| |
| 754 | local la11w = makemotor(la11, la11, rightleg, ang(rd(90), rd(0), rd(90)) * cf(0.1, 0.1, 0), ang(rd(0), 0, 0)) | |
| 755 | local la7 = Instance.new("Part")
| |
| 756 | nooutline (la7) | |
| 757 | la7.Anchored = false | |
| 758 | la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 759 | la7.Name = "la7" -- LeftArm | |
| 760 | la7.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 761 | la7.BrickColor = BrickColor.new("Institutional white")
| |
| 762 | la7.CanCollide = false | |
| 763 | la7.Locked = true | |
| 764 | la7.Transparency = 1 | |
| 765 | la7.Parent = ZANOOB | |
| 766 | local la7m = makemesh("FileMesh", Vector3.new(0.9, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
| |
| 767 | local la7w = makemotor(la7, la7, leftarm, ang(rd(0), rd(0), rd(0)) * cf(-0.1, 0.81, 0), ang(rd(0), 0, 0)) | |
| 768 | local la7 = Instance.new("Part")
| |
| 769 | nooutline (la7) | |
| 770 | la7.Anchored = false | |
| 771 | la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 772 | la7.Name = "la7" -- LeftArm | |
| 773 | la7.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 774 | la7.BrickColor = BrickColor.new("Smoky grey")
| |
| 775 | la7.CanCollide = false | |
| 776 | la7.Locked = true | |
| 777 | la7.Transparency = 1 | |
| 778 | la7.Parent = ZANOOB | |
| 779 | local la7m = makemesh("FileMesh", Vector3.new(0.007, 0.002, 0.005),"rbxassetid://430540268", la7)
| |
| 780 | local la7w = makemotor(la7, la7, leftarm, ang(rd(0), rd(0), rd(270)) * cf(0.39, 0.31, 0), ang(rd(0), 0, 0)) | |
| 781 | local la7 = Instance.new("Part")
| |
| 782 | nooutline (la7) | |
| 783 | la7.Anchored = false | |
| 784 | la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 785 | la7.Name = "la7" -- RightArm | |
| 786 | la7.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 787 | la7.BrickColor = BrickColor.new("Smoky grey")
| |
| 788 | la7.CanCollide = false | |
| 789 | la7.Locked = true | |
| 790 | la7.Transparency = 1 | |
| 791 | la7.Parent = ZANOOB | |
| 792 | local la7m = makemesh("FileMesh", Vector3.new(0.007, 0.002, 0.005),"rbxassetid://430540268", la7)
| |
| 793 | local la7w = makemotor(la7, la7, rightarm, ang(rd(0), rd(0), rd(-270)) * cf(-0.39, 0.31, 0), ang(rd(0), 0, 0)) | |
| 794 | local la7 = Instance.new("Part")
| |
| 795 | nooutline (la7) | |
| 796 | la7.Anchored = false | |
| 797 | la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 798 | la7.Name = "la7" -- LeftArm | |
| 799 | la7.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 800 | la7.BrickColor = BrickColor.new("Institutional white")
| |
| 801 | la7.CanCollide = false | |
| 802 | la7.Locked = true | |
| 803 | la7.Transparency = 1 | |
| 804 | la7.Parent = ZANOOB | |
| 805 | local la7m = makemesh("FileMesh", Vector3.new(0.9, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
| |
| 806 | local la7w = makemotor(la7, la7, rightarm, ang(rd(0), rd(0), rd(0)) * cf(0.1, 0.81, 0), ang(rd(0), 0, 0)) | |
| 807 | local la7 = Instance.new("Part")
| |
| 808 | nooutline (la7) | |
| 809 | la7.Anchored = false | |
| 810 | la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 811 | la7.Name = "la7" -- LeftArm | |
| 812 | la7.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 813 | la7.BrickColor = BrickColor.new("Institutional white")
| |
| 814 | la7.CanCollide = false | |
| 815 | la7.Locked = true | |
| 816 | la7.Transparency = 1 | |
| 817 | la7.Parent = ZANOOB | |
| 818 | local la7m = makemesh("FileMesh", Vector3.new(0.9, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
| |
| 819 | local la7w = makemotor(la7, la7, rightleg, ang(rd(0), rd(0), rd(0)) * cf(0.1, 0.92, 0), ang(rd(0), 0, 0)) | |
| 820 | local la7 = Instance.new("Part")
| |
| 821 | nooutline (la7) | |
| 822 | la7.Anchored = false | |
| 823 | la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 824 | la7.Name = "la7" -- LeftArm | |
| 825 | la7.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 826 | la7.BrickColor = BrickColor.new("Institutional white")
| |
| 827 | la7.CanCollide = false | |
| 828 | la7.Locked = true | |
| 829 | la7.Transparency = 1 | |
| 830 | la7.Parent = ZANOOB | |
| 831 | local la7m = makemesh("FileMesh", Vector3.new(0.9, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
| |
| 832 | local la7w = makemotor(la7, la7, leftleg, ang(rd(0), rd(0), rd(0)) * cf(-0.1, 0.92, 0), ang(rd(0), 0, 0)) | |
| 833 | local la7 = Instance.new("Part")
| |
| 834 | nooutline (la7) | |
| 835 | la7.Anchored = false | |
| 836 | la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 837 | la7.Name = "la7" -- LeftArm | |
| 838 | la7.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 839 | la7.BrickColor = BrickColor.new("Institutional white")
| |
| 840 | la7.CanCollide = false | |
| 841 | la7.Locked = true | |
| 842 | la7.Transparency = 1 | |
| 843 | la7.Parent = ZANOOB | |
| 844 | local la7m = makemesh("FileMesh", Vector3.new(1.1, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
| |
| 845 | local la7w = makemotor(la7, la7, leftarm, ang(rd(0), rd(0), rd(-25)) * cf(0, -0.92, 0), ang(rd(0), 0, 0)) | |
| 846 | local la7 = Instance.new("Part")
| |
| 847 | nooutline (la7) | |
| 848 | la7.Anchored = false | |
| 849 | la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 850 | la7.Name = "la7" -- LeftArm | |
| 851 | la7.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 852 | la7.BrickColor = BrickColor.new("Institutional white")
| |
| 853 | la7.CanCollide = false | |
| 854 | la7.Locked = true | |
| 855 | la7.Transparency = 1 | |
| 856 | la7.Parent = ZANOOB | |
| 857 | local la7m = makemesh("FileMesh", Vector3.new(0.5, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
| |
| 858 | local la7w = makemotor(la7, la7, leftarm, ang(rd(0), rd(0), rd(-5)) * cf(0.3, -0.70, 0), ang(rd(0), 0, 0)) | |
| 859 | local la7 = Instance.new("Part")
| |
| 860 | nooutline (la7) | |
| 861 | la7.Anchored = false | |
| 862 | la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 863 | la7.Name = "la7" -- LeftArm | |
| 864 | la7.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 865 | la7.BrickColor = BrickColor.new("Institutional white")
| |
| 866 | la7.CanCollide = false | |
| 867 | la7.Locked = true | |
| 868 | la7.Transparency = 1 | |
| 869 | la7.Parent = ZANOOB | |
| 870 | local la7m = makemesh("FileMesh", Vector3.new(1.1, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
| |
| 871 | local la7w = makemotor(la7, la7, rightarm, ang(rd(0), rd(0), rd(25)) * cf(0, -0.92, 0), ang(rd(0), 0, 0)) | |
| 872 | local la7 = Instance.new("Part")
| |
| 873 | nooutline (la7) | |
| 874 | la7.Anchored = false | |
| 875 | la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 876 | la7.Name = "la7" -- LeftArm | |
| 877 | la7.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 878 | la7.BrickColor = BrickColor.new("Institutional white")
| |
| 879 | la7.CanCollide = false | |
| 880 | la7.Locked = true | |
| 881 | la7.Transparency = 1 | |
| 882 | la7.Parent = ZANOOB | |
| 883 | local la7m = makemesh("FileMesh", Vector3.new(0.5, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
| |
| 884 | local la7w = makemotor(la7, la7, rightarm, ang(rd(0), rd(0), rd(5)) * cf(-0.3, -0.70, 0), ang(rd(0), 0, 0)) | |
| 885 | local la7 = Instance.new("Part")
| |
| 886 | nooutline (la7) | |
| 887 | la7.Anchored = false | |
| 888 | la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 889 | la7.Name = "la7" -- LeftArm | |
| 890 | la7.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 891 | la7.BrickColor = BrickColor.new("Smoky grey")
| |
| 892 | la7.CanCollide = false | |
| 893 | la7.Locked = true | |
| 894 | la7.Transparency = 1 | |
| 895 | la7.Parent = ZANOOB | |
| 896 | local la7m = makemesh("FileMesh", Vector3.new(0.007, 0.002, 0.005),"rbxassetid://430540268", la7)
| |
| 897 | 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)) | |
| 898 | local la7 = Instance.new("Part")
| |
| 899 | nooutline (la7) | |
| 900 | la7.Anchored = false | |
| 901 | la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1) | |
| 902 | la7.Name = "la7" -- LeftArm | |
| 903 | la7.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 904 | la7.BrickColor = BrickColor.new("Smoky grey")
| |
| 905 | la7.CanCollide = false | |
| 906 | la7.Locked = true | |
| 907 | la7.Transparency = 1 | |
| 908 | la7.Parent = ZANOOB | |
| 909 | local la7m = makemesh("FileMesh", Vector3.new(0.007, 0.002, 0.005),"rbxassetid://430540268", la7)
| |
| 910 | 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)) | |
| 911 | local raemblem = Instance.new("Part")
| |
| 912 | nooutline(raemblem) | |
| 913 | raemblem.Anchored = false | |
| 914 | raemblem.CFrame = rooto.CFrame * CFrame.new(0, 2, 1) | |
| 915 | raemblem.Name = "raemblem" | |
| 916 | raemblem.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 917 | raemblem.BrickColor = BrickColor.new("Bright yellow")
| |
| 918 | raemblem.CanCollide = false | |
| 919 | raemblem.Locked = true | |
| 920 | raemblem.Material = "SmoothPlastic" | |
| 921 | raemblem.Transparency = 1 | |
| 922 | raemblem.Parent = ZANOOB | |
| 923 | local raemblemm = makemesh("Brick", Vector3.new(0, 3, 3), nil, raemblem)
| |
| 924 | 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)) | |
| 925 | local emmes = Instance.new("Decal")
| |
| 926 | emmes.Texture = "N/A" | |
| 927 | emmes.Transparency = 1 | |
| 928 | emmes.Face = "Right" | |
| 929 | emmes.Name = "embe" | |
| 930 | emmes.Parent = raemblem | |
| 931 | return ZANOOB | |
| 932 | end | |
| 933 | local thenoob = STANDO(hrp.CFrame * CFrame.new(0, 0, 0)) | |
| 934 | coroutine.resume(coroutine.create(function() | |
| 935 | local rot = thenoob.HumanoidRootPart | |
| 936 | repeat | |
| 937 | swait() | |
| 938 | rot.CFrame = rot.CFrame:lerp(wherto.CFrame * addcfr, 0.5) | |
| 939 | until rot == nil | |
| 940 | end)) | |
| 941 | local rot = thenoob.HumanoidRootPart | |
| 942 | local ntorso = thenoob:FindFirstChild("Torso")
| |
| 943 | local rightarm = thenoob:FindFirstChild("Right Arm")
| |
| 944 | local leftarm = thenoob:FindFirstChild("Left Arm")
| |
| 945 | local leftleg = thenoob:FindFirstChild("Left Leg")
| |
| 946 | local rightleg = thenoob:FindFirstChild("Right Leg")
| |
| 947 | local head = thenoob:FindFirstChild("Head")
| |
| 948 | local face = head:FindFirstChild("face")
| |
| 949 | local emblem = thenoob:FindFirstChild("raemblem"):FindFirstChild("embe")
| |
| 950 | local embpart = thenoob:FindFirstChild("raemblem")
| |
| 951 | local nRJ = rot:FindFirstChild("RootJoint")
| |
| 952 | local nN = ntorso:FindFirstChild("Neck")
| |
| 953 | local nRS = ntorso:FindFirstChild("Right Shoulder")
| |
| 954 | local nLS = ntorso:FindFirstChild("Left Shoulder")
| |
| 955 | local nRH = ntorso:FindFirstChild("Right Hip")
| |
| 956 | local nLH = ntorso:FindFirstChild("Left Hip")
| |
| 957 | function standappear(nbz) | |
| 958 | if selected == false or activu == true then | |
| 959 | return | |
| 960 | end | |
| 961 | if appeared == false then | |
| 962 | appeared = true | |
| 963 | wherto = hrp | |
| 964 | addcfr = cf(-2, 1, 2) | |
| 965 | local apear = Instance.new("Sound")
| |
| 966 | apear.SoundId = "rbxassetid://3373995015" | |
| 967 | apear.Parent = rot | |
| 968 | apear.Volume = 2 | |
| 969 | game.Debris:AddItem(apear, 1.5) | |
| 970 | apear:Play() | |
| 971 | for _, n in pairs(nbz:GetChildren()) do | |
| 972 | coroutine.resume(coroutine.create(function() | |
| 973 | for _ = 1, 5 do | |
| 974 | if n ~= rot and n ~= embpart and n.ClassName ~= "Sound" then | |
| 975 | swait() | |
| 976 | n.Transparency = n.Transparency - 0.2 | |
| 977 | face.Transparency = face.Transparency - 0.2 | |
| 978 | emblem.Transparency = emblem.Transparency - 0.2 | |
| 979 | end | |
| 980 | end | |
| 981 | if n ~= rot and n ~= embpart then | |
| 982 | n.Transparency = 0 | |
| 983 | end | |
| 984 | face.Transparency = 0 | |
| 985 | emblem.Transparency = 0 | |
| 986 | end)) | |
| 987 | end | |
| 988 | elseif appeared == true then | |
| 989 | appeared = false | |
| 990 | wherto = hrp | |
| 991 | addcfr = cf(0, 0, 0) | |
| 992 | for _, n in pairs(nbz:GetChildren()) do | |
| 993 | coroutine.resume(coroutine.create(function() | |
| 994 | for _ = 1, 5 do | |
| 995 | if n ~= rot and n ~= embpart then | |
| 996 | swait() | |
| 997 | n.Transparency = n.Transparency + 0.2 | |
| 998 | face.Transparency = face.Transparency + 0.2 | |
| 999 | emblem.Transparency = emblem.Transparency + 0.2 | |
| 1000 | end | |
| 1001 | end | |
| 1002 | if n ~= rot and n ~= embpart then | |
| 1003 | n.Transparency = 1 | |
| 1004 | end | |
| 1005 | face.Transparency = 1 | |
| 1006 | emblem.Transparency = 1 | |
| 1007 | end)) | |
| 1008 | end | |
| 1009 | end | |
| 1010 | end | |
| 1011 | function THREATENING() | |
| 1012 | if selected == false or activu == true then | |
| 1013 | return | |
| 1014 | end | |
| 1015 | if POSU == false then | |
| 1016 | POSU = true | |
| 1017 | human.WalkSpeed = 0 | |
| 1018 | local d = Instance.new("ParticleEmitter")
| |
| 1019 | d.Name = "MENACINGU" | |
| 1020 | d.Lifetime = NumberRange.new(1) | |
| 1021 | d.Rate = 2 | |
| 1022 | d.Texture = "rbxassetid://298768656" | |
| 1023 | d.VelocitySpread = 60 | |
| 1024 | d.Parent = tors | |
| 1025 | human:SetStateEnabled(3, false) | |
| 1026 | local randomoth = math.random(1) | |
| 1027 | if randomoth == 1 then | |
| 1028 | repeat | |
| 1029 | swait() | |
| 1030 | lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.05) * ang(rd(-5), rd(0), rd(-30)), 0.3) | |
| 1031 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(10)), 0.3) | |
| 1032 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(40), rd(10)), 0.3) | |
| 1033 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1034 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-40), rd(-10)), 0.3) | |
| 1035 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1036 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(-25), rd(0)), 0.3) | |
| 1037 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1038 | lerpz(LH, "C0", LHC0 * cf(0.3, 0.1, -0.15) * ang(rd(-20), rd(50), rd(10)), 0.3) | |
| 1039 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-10)), 0.3) | |
| 1040 | until POSU == false | |
| 1041 | elseif randomoth == 2 then | |
| 1042 | repeat | |
| 1043 | swait() | |
| 1044 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(-2), rd(25)), 0.3) | |
| 1045 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(6), rd(0), rd(-50)), 0.3) | |
| 1046 | lerpz(RS, "C0", RSC0 * cf(-0.25, 0.3, -0.5) * ang(rd(-30), rd(-15), rd(200)), 0.3) | |
| 1047 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1048 | lerpz(LS, "C0", LSC0 * cf(0.25, 0.3, -0.5) * ang(rd(-32), rd(13), rd(-195)), 0.3) | |
| 1049 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1050 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-15), rd(-10)), 0.3) | |
| 1051 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1052 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(10), rd(-10)), 0.3) | |
| 1053 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1054 | until POSU == false | |
| 1055 | end | |
| 1056 | elseif POSU == true then | |
| 1057 | POSU = false | |
| 1058 | human.WalkSpeed = 16 | |
| 1059 | human:SetStateEnabled(3, true) | |
| 1060 | tors.MENACINGU:Destroy() | |
| 1061 | activu = true | |
| 1062 | activu = false | |
| 1063 | end | |
| 1064 | end | |
| 1065 | local EHMMM = 0 | |
| 1066 | function block() | |
| 1067 | if EHMMM == 50 or selected == false or activu == true then | |
| 1068 | return | |
| 1069 | end | |
| 1070 | if appeared == false then | |
| 1071 | standappear(thenoob) | |
| 1072 | end | |
| 1073 | wherto = hrp | |
| 1074 | addcfr = cf(0, 0, -3) | |
| 1075 | local bep = true | |
| 1076 | local humanshealth = human.Health | |
| 1077 | activu = true | |
| 1078 | human:SetStateEnabled(15, false) | |
| 1079 | local de = mouse.KeyUp:connect(function(key) | |
| 1080 | if key == "e" then | |
| 1081 | bep = false | |
| 1082 | end | |
| 1083 | end) | |
| 1084 | local poopes = 0 | |
| 1085 | repeat | |
| 1086 | swait() | |
| 1087 | poopes = poopes + 1 | |
| 1088 | human.Health = humanshealth | |
| 1089 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(2), rd(0), rd(0)), 0.5) | |
| 1090 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(7), rd(0), rd(0)), 0.5) | |
| 1091 | lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(110), rd(160)), 0.5) | |
| 1092 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.5) | |
| 1093 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-110), rd(-160)), 0.5) | |
| 1094 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.5) | |
| 1095 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1096 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1097 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1098 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1099 | until bep == false or poopes > 240 | |
| 1100 | de:Disconnect() | |
| 1101 | human:SetStateEnabled(15, true) | |
| 1102 | activu = false | |
| 1103 | EHMMM = 50 | |
| 1104 | coroutine.resume(coroutine.create(function() | |
| 1105 | wait(7) | |
| 1106 | EHMMM = 0 | |
| 1107 | end)) | |
| 1108 | wherto = hrp | |
| 1109 | addcfr = cf(-2, 1, 2) | |
| 1110 | end | |
| 1111 | function MUDA() | |
| 1112 | if selected == false or activu == true then | |
| 1113 | return | |
| 1114 | end | |
| 1115 | if appeared == false then | |
| 1116 | standappear(thenoob) | |
| 1117 | wherto = hrp | |
| 1118 | addcfr = cf(0, 0, -3.5) | |
| 1119 | end | |
| 1120 | wry:Stop() | |
| 1121 | local bep = true | |
| 1122 | activu = true | |
| 1123 | wherto = hrp | |
| 1124 | addcfr = cf(0, 0, -3.5) | |
| 1125 | local function blur(limb) | |
| 1126 | coroutine.resume(coroutine.create(function() | |
| 1127 | local memedon = {}
| |
| 1128 | for i = 1, 6 do | |
| 1129 | local b1 = Instance.new("Part")
| |
| 1130 | nooutline(b1) | |
| 1131 | b1.Size = Vector3.new(1, 2, 1) | |
| 1132 | b1.CFrame = limb.CFrame * CFrame.new(rd2(-5, 5) / 10, rd2(-5, 5) / 10, rd2(-5, 5) / 10) | |
| 1133 | b1.CanCollide = false | |
| 1134 | b1.BrickColor = limb.BrickColor | |
| 1135 | b1.Anchored = true | |
| 1136 | b1.Transparency = 0.7 | |
| 1137 | b1.Locked = true | |
| 1138 | b1.Parent = modz | |
| 1139 | table.insert(memedon, b1) | |
| 1140 | end | |
| 1141 | local num = 0 | |
| 1142 | repeat | |
| 1143 | swait() | |
| 1144 | num = num % 6 + 1 | |
| 1145 | memedon[num].CFrame = limb.CFrame * CFrame.new(rd2(-5, 5) / 10, rd2(-5, 5) / 10, rd2(-5, 5) / 10) | |
| 1146 | until bep == false | |
| 1147 | for i = 1, #memedon do | |
| 1148 | swait() | |
| 1149 | memedon[i]:Destroy() | |
| 1150 | end | |
| 1151 | end)) | |
| 1152 | end | |
| 1153 | local de = mouse.KeyUp:connect(function(key) | |
| 1154 | if key == "r" then | |
| 1155 | bep = false | |
| 1156 | end | |
| 1157 | end) | |
| 1158 | blur(rightarm) | |
| 1159 | blur(leftarm) | |
| 1160 | local mudodo = Instance.new("Sound")
| |
| 1161 | mudodo.Volume = 0.5 | |
| 1162 | mudodo.SoundId = "rbxassetid://220025689" | |
| 1163 | mudodo.Looped = true | |
| 1164 | mudodo.Parent = hrp | |
| 1165 | mudodo:Play() | |
| 1166 | repeat | |
| 1167 | for _ = 1, 2 do | |
| 1168 | swait() | |
| 1169 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(4), rd(4), rd(30)), 0.85) | |
| 1170 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(0), rd(-28)), 0.85) | |
| 1171 | lerpz(nRS, "C0", RSC0 * cf(0.5, 0.25, -0.1) * ang(rd(20), rd(20), rd(105)), 0.85) | |
| 1172 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1173 | lerpz(nLS, "C0", LSC0 * cf(0.25, 0.1, 0) * ang(rd(30), rd(10), rd(-70)), 0.85) | |
| 1174 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1175 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.85) | |
| 1176 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1177 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.85) | |
| 1178 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1179 | end | |
| 1180 | hito(rightarm, 3.3, 5, 0.01, rot.CFrame.lookVector * 5) | |
| 1181 | for _ = 1, 2 do | |
| 1182 | swait() | |
| 1183 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(5), rd(2), rd(-30)), 0.85) | |
| 1184 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(2), rd(0), rd(31)), 0.85) | |
| 1185 | lerpz(nRS, "C0", RSC0 * cf(-0.1, 0.05, -0.1) * ang(rd(-10), rd(-30), rd(75)), 0.85) | |
| 1186 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1187 | lerpz(nLS, "C0", LSC0 * cf(-0.5, 0.1, -0.2) * ang(rd(-30), rd(10), rd(-70)), 0.85) | |
| 1188 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1189 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.85) | |
| 1190 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1191 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.85) | |
| 1192 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1193 | end | |
| 1194 | hito(leftarm, 3.3, 5, 0.01, rot.CFrame.lookVector * 5) | |
| 1195 | for _ = 1, 2 do | |
| 1196 | swait() | |
| 1197 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(3), rd(3), rd(32)), 0.85) | |
| 1198 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(0), rd(-29)), 0.85) | |
| 1199 | lerpz(nRS, "C0", RSC0 * cf(0.35, 0.25, 0.1) * ang(rd(-10), rd(-20), rd(95)), 0.85) | |
| 1200 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1201 | lerpz(nLS, "C0", LSC0 * cf(0.25, 0.1, 0) * ang(rd(-10), rd(10), rd(-80)), 0.85) | |
| 1202 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1203 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.85) | |
| 1204 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1205 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.85) | |
| 1206 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1207 | end | |
| 1208 | hito(rightarm, 3.3, 5, 0.01, rot.CFrame.lookVector * 5) | |
| 1209 | for _ = 1, 2 do | |
| 1210 | swait() | |
| 1211 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-10), rd(3), rd(-40)), 0.85) | |
| 1212 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(-2), rd(35)), 0.85) | |
| 1213 | lerpz(nRS, "C0", RSC0 * cf(-0.1, 0.05, -0.1) * ang(rd(20), rd(-30), rd(65)), 0.85) | |
| 1214 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1215 | lerpz(nLS, "C0", LSC0 * cf(-0.5, 0.1, -0.2) * ang(rd(-30), rd(30), rd(-75)), 0.85) | |
| 1216 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1217 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.85) | |
| 1218 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1219 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.85) | |
| 1220 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85) | |
| 1221 | end | |
| 1222 | hito(leftarm, 3.3, 5, 0.01, rot.CFrame.lookVector * 5) | |
| 1223 | until bep == false or 0 >= human.Health | |
| 1224 | de:Disconnect() | |
| 1225 | mudodo:Stop() | |
| 1226 | wry:Play() | |
| 1227 | for _ = 1, 6 do | |
| 1228 | swait() | |
| 1229 | lerpz(nRJ, "C0", RJC0 * cf(0, 1.25, 0) * ang(rd(0), rd(4), rd(-85)), 0.75) | |
| 1230 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(3), rd(75)), 0.75) | |
| 1231 | lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(100)), 0.75) | |
| 1232 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1233 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.75) | |
| 1234 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1235 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.75) | |
| 1236 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1237 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.75) | |
| 1238 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1239 | end | |
| 1240 | for _ = 1, 7 do | |
| 1241 | swait() | |
| 1242 | hito(rightarm, 3, 20, 0.35, rot.CFrame.lookVector * 50) | |
| 1243 | lerpz(nRJ, "C0", RJC0 * cf(0, -1, 0) * ang(rd(0), rd(10), rd(75)), 0.75) | |
| 1244 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(-7), rd(-65)), 0.75) | |
| 1245 | lerpz(nRS, "C0", RSC0 * cf(0.75, 0, 0.25) * ang(rd(10), rd(-60), rd(100)), 0.75) | |
| 1246 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.75) | |
| 1247 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.75) | |
| 1248 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1249 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.75) | |
| 1250 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1251 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.75) | |
| 1252 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75) | |
| 1253 | end | |
| 1254 | swait(5) | |
| 1255 | wherto = hrp | |
| 1256 | mudodo:Destroy() | |
| 1257 | addcfr = cf(-2, 1, 2) | |
| 1258 | activu = false | |
| 1259 | end | |
| 1260 | function cability() | |
| 1261 | if selected == false or activu == true then | |
| 1262 | return | |
| 1263 | end | |
| 1264 | if appeared == false then | |
| 1265 | standappear(thenoob) | |
| 1266 | wherto = hrp | |
| 1267 | addcfr = cf(0, 0, -3.75) | |
| 1268 | end | |
| 1269 | activu = true | |
| 1270 | wherto = hrp | |
| 1271 | addcfr = cf(0, 0, -3.5) | |
| 1272 | local ZAWRUA = Instance.new("Sound")
| |
| 1273 | ZAWRUA.SoundId = "rbxassetid://3373975760" | |
| 1274 | ZAWRUA.Volume = 0.5 | |
| 1275 | ZAWRUA.Parent = hrp | |
| 1276 | ZAWRUA:Play() | |
| 1277 | game.Debris:AddItem(ZAWRUA, 2.5) | |
| 1278 | local wate = Instance.new("Part")
| |
| 1279 | nooutline(wate) | |
| 1280 | wate.Size = Vector3.new(0, 0, 0) | |
| 1281 | wate.Material = "Neon" | |
| 1282 | wate.Transparency = 1 | |
| 1283 | wate.BrickColor = BrickColor.new("Institutional white")
| |
| 1284 | wate.CFrame = rightarm.CFrame * cf(0, -1.5, 0) | |
| 1285 | wate.Anchored = true | |
| 1286 | wate.CanCollide = false | |
| 1287 | wate.Parent = modz | |
| 1288 | local wmesh = makemesh("Sphere", Vector3.new(0, 0, 0), nil, wate)
| |
| 1289 | coroutine.resume(coroutine.create(function() | |
| 1290 | repeat | |
| 1291 | swait() | |
| 1292 | wate.CFrame = rightarm.CFrame * cf(0, 0, 0) | |
| 1293 | wmesh.Scale = wmesh.Scale:lerp(Vector3.new(0, 0, 0), 0.5) | |
| 1294 | until not wate | |
| 1295 | end)) | |
| 1296 | coroutine.resume(coroutine.create(function() | |
| 1297 | local pt = {}
| |
| 1298 | for _ = 1, 10 do | |
| 1299 | local wp = Instance.new("Part")
| |
| 1300 | nooutline(wp) | |
| 1301 | wp.Size = Vector3.new(0, 0, 0) | |
| 1302 | wp.Material = "Neon" | |
| 1303 | wp.Transparency = 1 | |
| 1304 | wp.BrickColor = BrickColor.new("Institutional white")
| |
| 1305 | wp.CFrame = wate.CFrame * ang(rd2(-100, 100) / 1000, rd2(-100, 100) / 1000, rd2(-100, 100) / 1000) * cf(0, -0.25, 0) | |
| 1306 | wp.Anchored = true | |
| 1307 | wp.CanCollide = false | |
| 1308 | wp.Parent = modz | |
| 1309 | local wmz = makemesh("Sphere", Vector3.new(0, 0, 0), nil, wp)
| |
| 1310 | table.insert(pt, wp) | |
| 1311 | table.insert(pt, wmz) | |
| 1312 | end | |
| 1313 | for m = 1, 45 do | |
| 1314 | for _, hey in pairs(pt) do | |
| 1315 | if hey.ClassName == "SpecialMesh" then | |
| 1316 | hey.Scale = hey.Scale + Vector3.new(0, 0, 0) | |
| 1317 | elseif hey.ClassName == "Part" then | |
| 1318 | hey.CFrame = wate.CFrame * ang(rd(rd2(-360, 360)), rd(rd2(-360, 360)), rd(rd2(-360, 360))) * cf(0, -m / 25, 0) | |
| 1319 | hey.Transparency = hey.Transparency - 0.015 | |
| 1320 | end | |
| 1321 | end | |
| 1322 | end | |
| 1323 | for m = 45, 50 do | |
| 1324 | swait() | |
| 1325 | for _, hey in pairs(pt) do | |
| 1326 | if hey.ClassName == "SpecialMesh" then | |
| 1327 | hey.Scale = hey.Scale + Vector3.new(0, 0, 0) | |
| 1328 | elseif hey.ClassName == "Part" then | |
| 1329 | hey.CFrame = wate.CFrame * ang(rd(rd2(-360, 360)), rd(rd2(-360, 360)), rd(rd2(-360, 360))) * cf(0, -m / 25, 0) | |
| 1330 | hey.Transparency = hey.Transparency + 0.2 | |
| 1331 | end | |
| 1332 | end | |
| 1333 | end | |
| 1334 | for _, AAA in pairs(pt) do | |
| 1335 | if AAA.ClassName == "Part" then | |
| 1336 | AAA:Destroy() | |
| 1337 | end | |
| 1338 | end | |
| 1339 | end)) | |
| 1340 | for _ = 1, 10 do | |
| 1341 | swait() | |
| 1342 | wmesh.Scale = Vector3.new(9, 9, 9) | |
| 1343 | wate.Transparency = wate.Transparency - 0.008 | |
| 1344 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(4), rd(-125)), 0.2) | |
| 1345 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(3), rd(115)), 0.2) | |
| 1346 | 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) | |
| 1347 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 1348 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.2) | |
| 1349 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 1350 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.2) | |
| 1351 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 1352 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.2) | |
| 1353 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 1354 | end | |
| 1355 | local pooo = Instance.new("Sound")
| |
| 1356 | pooo.SoundId = "rbxassetid://3939937734" | |
| 1357 | pooo.Volume = 0.5 | |
| 1358 | pooo.Parent = hrp | |
| 1359 | pooo:Play() | |
| 1360 | game.Debris:AddItem(pooo, 2.5) | |
| 1361 | for _ = 1, 1 do | |
| 1362 | swait() | |
| 1363 | wate.Transparency = wate.Transparency + 0.15 | |
| 1364 | lerpz(nRJ, "C0", RJC0 * cf(0, -2, 0) * ang(rd(0), rd(10), rd(35)), 0.5) | |
| 1365 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(-7), rd(-30)), 0.5) | |
| 1366 | lerpz(nRS, "C0", RSC0 * cf(0.75, 0, 0.25) * ang(rd(10), rd(-80), rd(100)), 0.5) | |
| 1367 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.5) | |
| 1368 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.5) | |
| 1369 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1370 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.5) | |
| 1371 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1372 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.5) | |
| 1373 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1374 | end | |
| 1375 | local swoo = Instance.new("Part")
| |
| 1376 | nooutline(swoo) | |
| 1377 | swoo.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 1378 | swoo.Material = "Neon" | |
| 1379 | swoo.Transparency = 0.2 | |
| 1380 | swoo.BrickColor = BrickColor.new("Institutional white")
| |
| 1381 | swoo.CFrame = rightarm.CFrame * ang(rd(0), rd(15), rd(240)) * cf(1.5, -2.5, 0) | |
| 1382 | swoo.Anchored = true | |
| 1383 | swoo.CanCollide = false | |
| 1384 | swoo.Parent = modz | |
| 1385 | local wmesh = makemesh("FileMesh", Vector3.new(0.013333333333333334, 0.015384615384615385, 0.025), "rbxassetid://576041905", swoo)
| |
| 1386 | local pli = Instance.new("PointLight")
| |
| 1387 | pli.Brightness = 0 | |
| 1388 | pli.Color = Color3.new(0.45098039215686275, 1, 0) | |
| 1389 | pli.Range = 10 | |
| 1390 | pli.Shadows = true | |
| 1391 | pli.Parent = swoo | |
| 1392 | hito(swoo, 5, 50, 0.15, rot.CFrame.lookVector * 10) | |
| 1393 | tagability(swoo, 4) | |
| 1394 | for _ = 1, 10 do | |
| 1395 | swait() | |
| 1396 | wate.Transparency = wate.Transparency + 0.05 | |
| 1397 | swoo.Transparency = swoo.Transparency + 0.075 | |
| 1398 | pli.Range = pli.Range - 1 | |
| 1399 | lerpz(nRJ, "C0", RJC0 * cf(0, -3, 0) * ang(rd(25), rd(0), rd(25)), 0.5) | |
| 1400 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(-25), rd(0), rd(-25)), 0.5) | |
| 1401 | lerpz(nRS, "C0", RSC0 * cf(0.75, 0, 0.25) * ang(rd(90), rd(-30), rd(100)), 0.5) | |
| 1402 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.5) | |
| 1403 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.5) | |
| 1404 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1405 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.5) | |
| 1406 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1407 | lerpz(nLH, "C0", LHC0 * cf(-0.3, 0.7, -0.2) * ang(rd(-10), rd(10), rd(5)), 0.5) | |
| 1408 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1409 | end | |
| 1410 | wate:Destroy() | |
| 1411 | swoo:Destroy() | |
| 1412 | pli:Destroy() | |
| 1413 | swait(0) | |
| 1414 | wherto = hrp | |
| 1415 | addcfr = cf(-2, 1, 2) | |
| 1416 | activu = false | |
| 1417 | end | |
| 1418 | game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=188959462")
| |
| 1419 | game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=616594208")
| |
| 1420 | game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=616576400")
| |
| 1421 | game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=291088606")
| |
| 1422 | function THEBEST() | |
| 1423 | if selected == false or activu == true or appeared == true or POSU == true then | |
| 1424 | return | |
| 1425 | end | |
| 1426 | local dipperhat = chr:FindFirstChild("DXD_DipperHat")
| |
| 1427 | local dipperrot | |
| 1428 | if dipperhat then | |
| 1429 | dipperrot = dipperhat.Handle.HatAttachment.Rotation | |
| 1430 | end | |
| 1431 | activu = true | |
| 1432 | POSU = true | |
| 1433 | cam.CameraType = "Scriptable" | |
| 1434 | chr.PrimaryPart = hrp | |
| 1435 | human.WalkSpeed = 0 | |
| 1436 | human:SetStateEnabled(3, false) | |
| 1437 | local actmus1 = Instance.new("Sound")
| |
| 1438 | actmus1.SoundId = "rbxassetid://188959462" | |
| 1439 | actmus1.Volume = 1.5 | |
| 1440 | actmus1.RollOffMode = 1 | |
| 1441 | actmus1.TimePosition = 0 | |
| 1442 | actmus1.Parent = cam | |
| 1443 | local actmus2 = Instance.new("Sound")
| |
| 1444 | actmus2.SoundId = "rbxassetid://188959462" | |
| 1445 | actmus2.Volume = 1.5 | |
| 1446 | actmus2.RollOffMode = 1 | |
| 1447 | actmus2.TimePosition = 0 | |
| 1448 | actmus2.Parent = hrp | |
| 1449 | actmus1:Play() | |
| 1450 | actmus2:Play() | |
| 1451 | local mus1 = Instance.new("Sound")
| |
| 1452 | mus1.SoundId = "rbxassetid://616594208" | |
| 1453 | mus1.Volume = 1.25 | |
| 1454 | mus1.TimePosition = 0.45 | |
| 1455 | mus1.Parent = cam | |
| 1456 | local mus2 = Instance.new("Sound")
| |
| 1457 | mus2.SoundId = "rbxassetid://616594208" | |
| 1458 | mus2.Volume = 1.25 | |
| 1459 | mus2.TimePosition = 0.45 | |
| 1460 | mus2.Parent = hrp | |
| 1461 | local zawarudoda = Instance.new("Sound")
| |
| 1462 | zawarudoda.SoundId = "rbxassetid://616576400" | |
| 1463 | zawarudoda.Volume = 2 | |
| 1464 | zawarudoda.TimePosition = 0.3 | |
| 1465 | zawarudoda.Parent = hrp | |
| 1466 | mus1:Play() | |
| 1467 | mus2:Play() | |
| 1468 | cam.CoordinateFrame = hrp.CFrame * ang(rd(20), rd(100), rd(0)) * cf(0, 0, 7) | |
| 1469 | local regface = hed.face.Texture | |
| 1470 | local whogothit, bodyvel | |
| 1471 | local function checkhit(partoz, magn) | |
| 1472 | for _, guy in pairs(workspace:GetChildren()) do | |
| 1473 | if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and not whogothit then
| |
| 1474 | whogothit = guy | |
| 1475 | guy:FindFirstChild("Humanoid").PlatformStand = true
| |
| 1476 | do | |
| 1477 | local derp = Instance.new("BodyPosition")
| |
| 1478 | derp.MaxForce = Vector3.new(999999999999, 999999999999, 999999999999) | |
| 1479 | derp.P = 8000 | |
| 1480 | derp.D = 500 | |
| 1481 | derp.Position = hrp.Position + hrp.CFrame.lookVector * 20 | |
| 1482 | derp.Parent = guy:FindFirstChild("HumanoidRootPart")
| |
| 1483 | bodyvel = derp | |
| 1484 | local derp2 = Instance.new("BodyAngularVelocity")
| |
| 1485 | derp2.MaxTorque = Vector3.new(999999999999, 999999999999, 999999999999) | |
| 1486 | derp2.P = 8000 | |
| 1487 | derp2.AngularVelocity = Vector3.new(rd2(2, 4), rd2(50, 100), 0) | |
| 1488 | derp2.Parent = guy:FindFirstChild("HumanoidRootPart")
| |
| 1489 | delay(0.1, function() | |
| 1490 | derp2:Destroy() | |
| 1491 | end) | |
| 1492 | bodyvel = derp | |
| 1493 | end | |
| 1494 | end | |
| 1495 | end | |
| 1496 | end | |
| 1497 | coroutine.resume(coroutine.create(function() | |
| 1498 | for _ = 1, 25 do | |
| 1499 | swait() | |
| 1500 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-10), rd(-5), rd(-20)), 0.3) | |
| 1501 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(10), rd(20)), 0.3) | |
| 1502 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(30), rd(-30)), 0.3) | |
| 1503 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1504 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(35), rd(-50), rd(-100)), 0.3) | |
| 1505 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1506 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-20), rd(-10), rd(-20)), 0.3) | |
| 1507 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1508 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.3) | |
| 1509 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1510 | end | |
| 1511 | for _ = 1, 20 do | |
| 1512 | swait() | |
| 1513 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-10), rd(-5), rd(-20)), 0.3) | |
| 1514 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(10), rd(20)), 0.3) | |
| 1515 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(30), rd(-30)), 0.3) | |
| 1516 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1517 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0.4) * ang(rd(70), rd(-60), rd(-100)), 0.3) | |
| 1518 | if dipperhat then | |
| 1519 | dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(0, -40, 0), 0.3) | |
| 1520 | end | |
| 1521 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1522 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-20), rd(-10), rd(-20)), 0.3) | |
| 1523 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1524 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.3) | |
| 1525 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1526 | end | |
| 1527 | end)) | |
| 1528 | repeat | |
| 1529 | swait() | |
| 1530 | cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(0), rd(1), rd(0)) * cf(0.15, 0, 0) | |
| 1531 | until mus1.TimePosition > 2.9 | |
| 1532 | mus1:Pause() | |
| 1533 | mus2:Pause() | |
| 1534 | zawarudoda:Play() | |
| 1535 | coroutine.resume(coroutine.create(function() | |
| 1536 | for _ = 1, 7 do | |
| 1537 | swait() | |
| 1538 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(-5)), 0.4) | |
| 1539 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(2), rd(0)), 0.3) | |
| 1540 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(10), rd(80), rd(80)), 0.3) | |
| 1541 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1542 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(10), rd(-80), rd(-70)), 0.3) | |
| 1543 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1544 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3) | |
| 1545 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1546 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.3) | |
| 1547 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1548 | end | |
| 1549 | for _ = 1, 16 do | |
| 1550 | swait() | |
| 1551 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(-5)), 0.4) | |
| 1552 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(15), rd(8), rd(0)), 0.3) | |
| 1553 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(10), rd(-80), rd(80)), 0.3) | |
| 1554 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1555 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(10), rd(80), rd(-70)), 0.3) | |
| 1556 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1557 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-15)), 0.3) | |
| 1558 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1559 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(15)), 0.3) | |
| 1560 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1561 | end | |
| 1562 | end)) | |
| 1563 | repeat | |
| 1564 | swait() | |
| 1565 | until zawarudoda.TimePosition > 1.4 | |
| 1566 | zawarudoda:Pause() | |
| 1567 | activu = false | |
| 1568 | standappear(thenoob) | |
| 1569 | wherto = hrp | |
| 1570 | addcfr = cf(3, 0.25, -1.5) | |
| 1571 | activu = true | |
| 1572 | cam.CoordinateFrame = hrp.CFrame * ang(rd(-25), rd(0), rd(0)) * cf(0, 2, 3) | |
| 1573 | for _ = 1, 10 do | |
| 1574 | swait() | |
| 1575 | cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(0), rd(0), rd(0)) * cf(0, 0, 1.5) | |
| 1576 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(4), rd(-75)), 0.5) | |
| 1577 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(3), rd(45)), 0.5) | |
| 1578 | 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) | |
| 1579 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1580 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.5) | |
| 1581 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1582 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.5) | |
| 1583 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1584 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.5) | |
| 1585 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1586 | end | |
| 1587 | wherto = hrp | |
| 1588 | addcfr = cf(-3, 0.25, -1.5) | |
| 1589 | for _ = 1, 25 do | |
| 1590 | swait() | |
| 1591 | checkhit(rightarm, 3) | |
| 1592 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(4), rd(105)), 0.4) | |
| 1593 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(3), rd(-45)), 0.4) | |
| 1594 | lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(100)), 0.4) | |
| 1595 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
| 1596 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.4) | |
| 1597 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
| 1598 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.4) | |
| 1599 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
| 1600 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.4) | |
| 1601 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
| 1602 | end | |
| 1603 | if whogothit then | |
| 1604 | print("derp")
| |
| 1605 | cam.CoordinateFrame = hrp.CFrame * ang(rd(15), rd(140), rd(0)) * cf(0, 1, 4) | |
| 1606 | local laugo = Instance.new("Sound")
| |
| 1607 | laugo.SoundId = "rbxassetid://291088606" | |
| 1608 | laugo.Volume = 1.5 | |
| 1609 | laugo.Parent = hrp | |
| 1610 | game.Debris:AddItem(laugo, 2.5) | |
| 1611 | laugo:Play() | |
| 1612 | local sda = 0 | |
| 1613 | local chn = 2 | |
| 1614 | local cs = math.cos | |
| 1615 | for D = 1, 60 do | |
| 1616 | swait() | |
| 1617 | cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(0), rd(0), rd(0)) * cf(0, 0, 0.15) | |
| 1618 | sda = sda + chn | |
| 1619 | lerpz(RJ, "C0", RJC0 * cf(0, 0.75, 1 * cs(sda / 2)) * ang(rd(-40), rd(0), rd(-5)), 0.8 / D) | |
| 1620 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-60 + 40 * cs(sda / 2)), rd(8), rd(0)), 0.8 / D) | |
| 1621 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(10), rd(-110 + 80 * cs(sda / 2)), rd(80)), 0.8 / D) | |
| 1622 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8 / D) | |
| 1623 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(10), rd(110 + 80 * cs(sda / 2)), rd(-70)), 0.8 / D) | |
| 1624 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8 / D) | |
| 1625 | lerpz(RH, "C0", RHC0 * cf(0, -1 * cs(sda / 2), 0) * ang(rd(-10), rd(-10), rd(-40)), 0.8 / D) | |
| 1626 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8 / D) | |
| 1627 | lerpz(LH, "C0", LHC0 * cf(0, -1 * cs(sda / 2), 0) * ang(rd(-10), rd(10), rd(40)), 0.8 / D) | |
| 1628 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8 / D) | |
| 1629 | end | |
| 1630 | hed.face.Texture = "rbxassetid://176777497" | |
| 1631 | mus1.TimePosition = 2.75 | |
| 1632 | mus1:Play() | |
| 1633 | for C = 1, 30 do | |
| 1634 | swait() | |
| 1635 | cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(0), rd(0), rd(0)) * cf(0, 0, -(0.02 + C / 60)) | |
| 1636 | sda = sda + chn | |
| 1637 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(20), rd(0), rd(-5)), 0.05 + C / 31) | |
| 1638 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(30), rd(0), rd(0)), 0.05 + C / 31) | |
| 1639 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-20)), 0.05 + C / 31) | |
| 1640 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + C / 31) | |
| 1641 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(35), rd(-50), rd(-100)), 0.05 + C / 31) | |
| 1642 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + C / 31) | |
| 1643 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(20)), 0.05 + C / 31) | |
| 1644 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + C / 31) | |
| 1645 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(20)), 0.05 + C / 31) | |
| 1646 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + C / 31) | |
| 1647 | end | |
| 1648 | for _ = 1, 5 do | |
| 1649 | swait() | |
| 1650 | cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(0), rd(0), rd(0)) * cf(0, 0, 0.02) | |
| 1651 | sda = sda + chn | |
| 1652 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(20), rd(0), rd(-5)), 0.5) | |
| 1653 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(0)), 0.5) | |
| 1654 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-20)), 0.5) | |
| 1655 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1656 | lerpz(LS, "C0", LSC0 * cf(0, 0.25, 0) * ang(rd(60), rd(-60), rd(-100)), 0.5) | |
| 1657 | if dipperhat then | |
| 1658 | dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(0, 0, 0), 0.5) | |
| 1659 | end | |
| 1660 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1661 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(20)), 0.5) | |
| 1662 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1663 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(20)), 0.5) | |
| 1664 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1665 | end | |
| 1666 | wait(2) | |
| 1667 | elseif whogothit == nil then | |
| 1668 | print("noderp")
| |
| 1669 | end | |
| 1670 | human:SetStateEnabled(3, true) | |
| 1671 | activu = false | |
| 1672 | standappear(thenoob) | |
| 1673 | activu = true | |
| 1674 | if dipperhat then | |
| 1675 | dipperhat.Handle.HatAttachment.Rotation = dipperrot | |
| 1676 | end | |
| 1677 | actmus1:Destroy() | |
| 1678 | actmus2:Destroy() | |
| 1679 | bast:Play() | |
| 1680 | if bodyvel then | |
| 1681 | bodyvel:Destroy() | |
| 1682 | end | |
| 1683 | cam.CameraType = "Custom" | |
| 1684 | hed.face.Texture = regface | |
| 1685 | chr.PrimaryPart = head | |
| 1686 | human.WalkSpeed = 16 | |
| 1687 | activu = false | |
| 1688 | POSU = false | |
| 1689 | end | |
| 1690 | function hito(partoz, magn, dmg, debtim, bodyfdire) | |
| 1691 | for _, guy in pairs(workspace:GetChildren()) do | |
| 1692 | 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
| |
| 1693 | do | |
| 1694 | local humz = guy:FindFirstChild("Humanoid")
| |
| 1695 | local horp = guy:FindFirstChild("HumanoidRootPart")
| |
| 1696 | TakeDamage(humz, dmg) | |
| 1697 | local db = Instance.new("StringValue")
| |
| 1698 | db.Name = "alabo" | |
| 1699 | db.Parent = horp | |
| 1700 | delay(debtim, function() | |
| 1701 | db:Destroy() | |
| 1702 | end) | |
| 1703 | local b = Instance.new("Part")
| |
| 1704 | nooutline(b) | |
| 1705 | b.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 1706 | b.Transparency = 0.25 | |
| 1707 | b.Anchored = true | |
| 1708 | b.CanCollide = false | |
| 1709 | b.BrickColor = BrickColor.new("Institutional white")
| |
| 1710 | b.Locked = true | |
| 1711 | b.CFrame = horp.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1)) | |
| 1712 | b.Parent = modz | |
| 1713 | local c = Instance.new("SpecialMesh")
| |
| 1714 | c.MeshType = "Sphere" | |
| 1715 | c.Scale = Vector3.new(3.5, 3.5, 3.5) | |
| 1716 | c.Parent = b | |
| 1717 | game.Debris:AddItem(b, 1) | |
| 1718 | if bodyfdire then | |
| 1719 | local boopyve = Instance.new("BodyVelocity")
| |
| 1720 | boopyve.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
| 1721 | boopyve.P = math.huge | |
| 1722 | boopyve.Velocity = bodyfdire | |
| 1723 | boopyve.Parent = horp | |
| 1724 | game.Debris:AddItem(boopyve, debtim) | |
| 1725 | end | |
| 1726 | local bet = Instance.new("Sound")
| |
| 1727 | bet.Pitch = rd2(9, 11) / 10 | |
| 1728 | bet.Volume = rd2(12, 14) / 10 | |
| 1729 | bet.SoundId = "rbxassetid://165604684" | |
| 1730 | bet.Parent = b | |
| 1731 | bet:Play() | |
| 1732 | coroutine.resume(coroutine.create(function() | |
| 1733 | for _ = 1, 5 do | |
| 1734 | swait() | |
| 1735 | b.Transparency = b.Transparency + 0.15 | |
| 1736 | c.Scale = c.Scale + Vector3.new(0.8 * dmg, 0.8 * dmg, 0.8 * dmg) | |
| 1737 | end | |
| 1738 | end)) | |
| 1739 | end | |
| 1740 | end | |
| 1741 | end | |
| 1742 | end | |
| 1743 | function tagability(partoz, magn) | |
| 1744 | for _, guy in pairs(workspace:GetChildren()) do | |
| 1745 | 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
| |
| 1746 | do | |
| 1747 | local humz = guy:FindFirstChild("Humanoid")
| |
| 1748 | humz.PlatformStand = true | |
| 1749 | delay(1, function() | |
| 1750 | humz.PlatformStand = false | |
| 1751 | end) | |
| 1752 | coroutine.resume(coroutine.create(function() | |
| 1753 | if aL then | |
| 1754 | aL.Name = "Right Arm" | |
| 1755 | wait() | |
| 1756 | end | |
| 1757 | if bL then | |
| 1758 | bL.Name = "Left Leg" | |
| 1759 | wait() | |
| 1760 | end | |
| 1761 | if cL then | |
| 1762 | cL.Name = "Left Arm" | |
| 1763 | wait() | |
| 1764 | end | |
| 1765 | if dL then | |
| 1766 | dL.Name = "Right Leg" | |
| 1767 | end | |
| 1768 | end)) | |
| 1769 | end | |
| 1770 | end | |
| 1771 | end | |
| 1772 | end | |
| 1773 | mouse.KeyDown:connect(function(key) | |
| 1774 | if human.Health <= 0 then | |
| 1775 | return | |
| 1776 | end | |
| 1777 | if key == "f" then | |
| 1778 | standappear(thenoob) | |
| 1779 | end | |
| 1780 | if key == "r" then | |
| 1781 | MUDA() | |
| 1782 | end | |
| 1783 | if key == "e" then | |
| 1784 | block() | |
| 1785 | end | |
| 1786 | if key == "q" then | |
| 1787 | cability() | |
| 1788 | end | |
| 1789 | if key == "m" and plr.UserId then | |
| 1790 | THEBEST() | |
| 1791 | end | |
| 1792 | if key == "j" then | |
| 1793 | THREATENING() | |
| 1794 | end | |
| 1795 | if key == "k" then | |
| 1796 | konodioda:Play() | |
| 1797 | end | |
| 1798 | if key == "l" then | |
| 1799 | bast:Play() | |
| 1800 | end | |
| 1801 | if key == "p" then | |
| 1802 | zaworld:Play() | |
| 1803 | end | |
| 1804 | if key == "m" then | |
| 1805 | bast:Stop() | |
| 1806 | end | |
| 1807 | end) | |
| 1808 | tool.Equipped:connect(function() | |
| 1809 | selected = true | |
| 1810 | end) | |
| 1811 | tool.Unequipped:connect(function() | |
| 1812 | selected = false | |
| 1813 | end) | |
| 1814 | sine = 0 | |
| 1815 | charge = 1 | |
| 1816 | cos = math.cos | |
| 1817 | game:GetService("RunService").Stepped:connect(function()
| |
| 1818 | if POSU == false then | |
| 1819 | local checkfloor = Ray.new(hrp.Position, hrp.CFrame.upVector * -4) | |
| 1820 | local checkpart = workspace:FindPartOnRayWithIgnoreList(checkfloor, {chr}, false, false)
| |
| 1821 | local checkstate = human:GetState() | |
| 1822 | if checkstate.Value == 13 then | |
| 1823 | animpose = "Sitting" | |
| 1824 | elseif hrp.Velocity.y > 1 and checkpart == nil then | |
| 1825 | animpose = "Jumping" | |
| 1826 | elseif hrp.Velocity.y < -1 and checkpart == nil then | |
| 1827 | animpose = "Falling" | |
| 1828 | elseif 1 > (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude then | |
| 1829 | animpose = "Idle" | |
| 1830 | elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 35 then | |
| 1831 | animpose = "Walking" | |
| 1832 | elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude > 35 then | |
| 1833 | animpose = "TooFast" | |
| 1834 | end | |
| 1835 | if animpose == "Idle" then | |
| 1836 | sine = sine + charge | |
| 1837 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.03 * cos(sine / 60)) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1838 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(3 - 3 * cos(sine / 60)), rd(0), rd(0)), 0.3) | |
| 1839 | 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) | |
| 1840 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1841 | 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) | |
| 1842 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1843 | 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) | |
| 1844 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1845 | 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) | |
| 1846 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1847 | end | |
| 1848 | if animpose == "Walking" then | |
| 1849 | sine = sine + charge | |
| 1850 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.03 * cos(sine / 60)) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1851 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(3 - 3 * cos(sine / 60)), rd(0), rd(0)), 0.3) | |
| 1852 | 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) | |
| 1853 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1854 | 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) | |
| 1855 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1856 | 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) | |
| 1857 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1858 | 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) | |
| 1859 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1860 | end | |
| 1861 | if animpose == "Jumping" then | |
| 1862 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.3) | |
| 1863 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(0)), 0.3) | |
| 1864 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(7), rd(-5), rd(2)), 0.3) | |
| 1865 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1866 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(7), rd(5), rd(-3)), 0.3) | |
| 1867 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1868 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-10)), 0.3) | |
| 1869 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1870 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(20)), 0.3) | |
| 1871 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1872 | end | |
| 1873 | if animpose == "Falling" then | |
| 1874 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(0)), 0.3) | |
| 1875 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.3) | |
| 1876 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(7), rd(-5), rd(2)), 0.3) | |
| 1877 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1878 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(7), rd(5), rd(-3)), 0.3) | |
| 1879 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1880 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(10)), 0.3) | |
| 1881 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1882 | lerpz(LH, "C0", LHC0 * cf(-0.65, 0.75, 0) * ang(rd(0), rd(0), rd(20)), 0.3) | |
| 1883 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1884 | end | |
| 1885 | if animpose == "TooFast" then | |
| 1886 | lerpz(RJ, "C0", RJC0 * cf(0, 0, -1.5) * ang(rd(20), rd(0), rd(0)), 0.3) | |
| 1887 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.3) | |
| 1888 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(-10), rd(-10)), 0.3) | |
| 1889 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1890 | lerpz(LS, "C0", LSC0 * cf(0, -0.75, 0) * ang(rd(10), rd(-80), rd(-10)), 0.3) | |
| 1891 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(30), rd(0), rd(0)), 0.3) | |
| 1892 | lerpz(RH, "C0", RHC0 * cf(0.75, 1.5, 0) * ang(rd(0), rd(0), rd(30)), 0.3) | |
| 1893 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1894 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(50)), 0.3) | |
| 1895 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1896 | end | |
| 1897 | if animpose == "Sitting" then | |
| 1898 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1899 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1900 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3) | |
| 1901 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1902 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3) | |
| 1903 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1904 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3) | |
| 1905 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1906 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3) | |
| 1907 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1908 | end | |
| 1909 | end | |
| 1910 | if appeared == false and activu == false then | |
| 1911 | lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1912 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1913 | lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1914 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1915 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1916 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1917 | lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1918 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1919 | lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1920 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1921 | elseif appeared == true and activu == false then | |
| 1922 | sine = sine + charge | |
| 1923 | 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) | |
| 1924 | lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(2 - 2 * cos(sine / 90)), rd(0), rd(4)), 0.3) | |
| 1925 | lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(2 * cos(sine / 110)), rd(-3 - 3 * cos(sine / 100)), rd(0)), 0.3) | |
| 1926 | lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1927 | lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(2 * cos(sine / 110)), rd(3 - 3 * cos(sine / 100)), rd(0)), 0.3) | |
| 1928 | lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1929 | 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) | |
| 1930 | lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1931 | 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) | |
| 1932 | lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1933 | end | |
| 1934 | end) | |
| 1935 | function dispose() | |
| 1936 | for i, v in pairs(getfenv(0)) do | |
| 1937 | v = nil | |
| 1938 | end | |
| 1939 | error = nil | |
| 1940 | print = nil | |
| 1941 | warn = nil | |
| 1942 | end | |
| 1943 | human.Died:connect(dispose) | |
| 1944 | chr.Changed:connect(function() | |
| 1945 | if chr.Parent == nil then | |
| 1946 | dispose() | |
| 1947 | end | |
| 1948 | end) | |
| 1949 | ||
| 1950 | ------------------ | |
| 1951 | --Basic Fighting-- | |
| 1952 | ------------------ | |
| 1953 | --By CKbackup-- | |
| 1954 | --------------- | |
| 1955 | ||
| 1956 | player = game.Players.LocalPlayer | |
| 1957 | mouse = player:GetMouse() | |
| 1958 | chara = player.Character | |
| 1959 | equipped = false | |
| 1960 | del = false | |
| 1961 | attacking = false | |
| 1962 | atkd = false | |
| 1963 | hum = chara:FindFirstChildOfClass("Humanoid")
| |
| 1964 | debby = game.Debris | |
| 1965 | ws = 16 | |
| 1966 | if hum.WalkSpeed > 16 then | |
| 1967 | ws = hum.WalkSpeed | |
| 1968 | end | |
| 1969 | ||
| 1970 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 1971 | ArtificialHB.Name = "Heartbeat" | |
| 1972 | script:WaitForChild("Heartbeat")
| |
| 1973 | frame = 0.03333333333333 | |
| 1974 | tf = 0 | |
| 1975 | allowframeloss = false | |
| 1976 | tossremainder = false | |
| 1977 | lastframe = tick() | |
| 1978 | script.Heartbeat:Fire() | |
| 1979 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 1980 | tf = tf + s | |
| 1981 | if tf >= frame then | |
| 1982 | if allowframeloss then | |
| 1983 | script.Heartbeat:Fire() | |
| 1984 | lastframe = tick() | |
| 1985 | else | |
| 1986 | for i = 1, math.floor(tf / frame) do | |
| 1987 | script.Heartbeat:Fire() | |
| 1988 | end | |
| 1989 | lastframe = tick() | |
| 1990 | end | |
| 1991 | if tossremainder then | |
| 1992 | tf = 0 | |
| 1993 | else | |
| 1994 | tf = tf - frame * math.floor(tf / frame) | |
| 1995 | end | |
| 1996 | end | |
| 1997 | end) | |
| 1998 | function swait(num) | |
| 1999 | if num == 0 or num == nil then | |
| 2000 | ArtificialHB.Event:wait() | |
| 2001 | else | |
| 2002 | for i = 0, num*30 do | |
| 2003 | ArtificialHB.Event:wait() | |
| 2004 | end | |
| 2005 | end | |
| 2006 | end | |
| 2007 | ||
| 2008 | New = function(Object, Parent, Name, Data) | |
| 2009 | local Object = Instance.new(Object) | |
| 2010 | for Index, Value in pairs(Data or {}) do
| |
| 2011 | Object[Index] = Value | |
| 2012 | end | |
| 2013 | Object.Parent = Parent | |
| 2014 | Object.Name = Name | |
| 2015 | return Object | |
| 2016 | end | |
| 2017 | ||
| 2018 | RightArm = New("Model",chara,"RightArm",{})
| |
| 2019 | MainPart = New("Part",RightArm,"MainPart",{Transparency = 1,Transparency = 1,Size = Vector3.new(1, 2, 1),CFrame = CFrame.new(0.5, 3.00000787, -3.50019717, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 2020 | Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara["Right Arm"],C1 = CFrame.new(0, -1.00135803e-005, -0.000197172165, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 2021 | Emit2Part = New("Part",RightArm,"Emit2Part",{BrickColor = BrickColor.new("New Yeller"),Material = Enum.Material.Neon,Transparency = 1,Transparency = 1,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(0.5, 2.10001373, -3.5001967, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0.74902),})
| |
| 2022 | Mesh = New("SpecialMesh",Emit2Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
| |
| 2023 | Weld = New("ManualWeld",Emit2Part,"Weld",{Part0 = Emit2Part,Part1 = MainPart,C1 = CFrame.new(0, -0.899994135, 4.76837158e-007, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 2024 | LeftArm = New("Model",chara,"LeftArm",{})
| |
| 2025 | MainPart = New("Part",LeftArm,"MainPart",{Transparency = 1,Transparency = 1,Size = Vector3.new(1, 2, 1),CFrame = CFrame.new(-2.50000024, 3.00000787, -3.50019717, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 2026 | Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara["Left Arm"],C1 = CFrame.new(-2.38418579e-007, -1.00135803e-005, -0.000197172165, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 2027 | EmitPart = New("Part",LeftArm,"EmitPart",{BrickColor = BrickColor.new("New Yeller"),Material = Enum.Material.Neon,Transparency = 1,Transparency = 1,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-2.5, 2.10001373, -3.5001967, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0.74902),})
| |
| 2028 | Mesh = New("SpecialMesh",EmitPart,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
| |
| 2029 | Weld = New("ManualWeld",EmitPart,"Weld",{Part0 = EmitPart,Part1 = MainPart,C1 = CFrame.new(2.38418579e-007, -0.899994135, 4.76837158e-007, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 2030 | ||
| 2031 | lach = LeftArm:GetChildren() | |
| 2032 | rach = RightArm:GetChildren() | |
| 2033 | ||
| 2034 | local pemit = Instance.new("ParticleEmitter")
| |
| 2035 | pemit.Enabled = false | |
| 2036 | pemit.Color = ColorSequence.new(Color3.new(255,255,0)) | |
| 2037 | pemit.LightEmission = 1 | |
| 2038 | pemit.Size = NumberSequence.new(1.5,0) | |
| 2039 | pemit.Texture = "http://www.roblox.com/asset/?id=243098098" | |
| 2040 | pemit.Lifetime = NumberRange.new(.2) | |
| 2041 | pemit.Rate = 100 | |
| 2042 | pemit.Rotation = NumberRange.new(0,360) | |
| 2043 | pemit.Speed = NumberRange.new(0) | |
| 2044 | ||
| 2045 | local p1 = pemit:Clone() | |
| 2046 | p1.Parent = EmitPart | |
| 2047 | local p2 = pemit:Clone() | |
| 2048 | p2.Parent = Emit2Part | |
| 2049 | local p3 = pemit:Clone() | |
| 2050 | p3.Parent = chara["Right Leg"] | |
| 2051 | p3.Rate = 10000 | |
| 2052 | local p4 = pemit:Clone() | |
| 2053 | p4.Parent = chara["Left Leg"] | |
| 2054 | p4.Rate = 10000 | |
| 2055 | ||
| 2056 | --Sounds-- | |
| 2057 | function LoadSnd(id,loop,vol,pit) | |
| 2058 | local snd = New("Sound",chara.Head,"Sound",{SoundId = "rbxassetid://"..id,Looped = loop,Volume = vol,Pitch = pit})
| |
| 2059 | return snd | |
| 2060 | end | |
| 2061 | Swing2Snd = LoadSnd(536642316,false,1,1) | |
| 2062 | HitPunchSnd = LoadSnd(153092227,false,1,1) | |
| 2063 | HitHamonSnd = LoadSnd(260433624,false,1,1) | |
| 2064 | HamonSnd = LoadSnd(876570589,false,1,1) | |
| 2065 | SHamonSnd = LoadSnd(379557765,true,.5,1) | |
| 2066 | ||
| 2067 | --Play Sound in Part-- | |
| 2068 | function PlaySnd(snd,part) | |
| 2069 | local sound = snd:Clone() | |
| 2070 | sound.PlayOnRemove = true | |
| 2071 | sound.Parent = part | |
| 2072 | sound:Destroy() | |
| 2073 | end | |
| 2074 | ||
| 2075 | maincol = "White" | |
| 2076 | ||
| 2077 | function CreateTrailObj(parent,color1,color2,ofsx,ofsz) | |
| 2078 | local Att1 = New("Attachment",parent,"Att1",{Position = Vector3.new(ofsx,parent.Size.Y/2,ofsz)})
| |
| 2079 | local Att2 = New("Attachment",parent,"Att2",{Position = Vector3.new(ofsx,-(parent.Size.Y/2),ofsz)})
| |
| 2080 | local TEff = New("Trail",parent,"TrailEff",{Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new(color1).Color),ColorSequenceKeypoint.new(1,BrickColor.new(color2).Color)}),Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.5),NumberSequenceKeypoint.new(1,1)}),Attachment0 = Att1,Attachment1 = Att2,Enabled = false,Lifetime = .5,MinLength = .001})
| |
| 2081 | return TEff | |
| 2082 | end | |
| 2083 | ||
| 2084 | RPunchT = CreateTrailObj(chara["Right Arm"],"White","White",0,0) | |
| 2085 | LPunchT = CreateTrailObj(chara["Left Arm"],"White","White",0,0) | |
| 2086 | RKickT = CreateTrailObj(chara["Right Leg"],"White","White",0,0) | |
| 2087 | LKickT = CreateTrailObj(chara["Left Leg"],"White","White",0,0) | |
| 2088 | ||
| 2089 | --Punch Hit Effect-- | |
| 2090 | function PunchEff(pos) | |
| 2091 | local p = Instance.new("Part",game.Workspace)
| |
| 2092 | p.Size = Vector3.new(1,1,1) | |
| 2093 | p.BrickColor = BrickColor.new(maincol) | |
| 2094 | p.Material = "Neon" | |
| 2095 | p.Anchored = true | |
| 2096 | p.CanCollide = false | |
| 2097 | p.CFrame = pos | |
| 2098 | local pm = Instance.new("SpecialMesh",p)
| |
| 2099 | pm.MeshType = "Sphere" | |
| 2100 | coroutine.resume(coroutine.create(function() | |
| 2101 | for i = 0,1,.05 do | |
| 2102 | swait() | |
| 2103 | p.Transparency = i | |
| 2104 | pm.Scale = Vector3.new(2*i,2*i,2*i) | |
| 2105 | end | |
| 2106 | swait() | |
| 2107 | p:Destroy() | |
| 2108 | end)) | |
| 2109 | end | |
| 2110 | ||
| 2111 | --Damage Function-- | |
| 2112 | function dealdmg(dude,damage,env,toim,kby,kbx) | |
| 2113 | coroutine.resume(coroutine.create(function() | |
| 2114 | if dude ~= chara and dude:FindFirstChild("IsHit") == nil then
| |
| 2115 | finaldmg = damage + math.random(-env,env) | |
| 2116 | dudehum = dude:FindFirstChildOfClass("Humanoid")
| |
| 2117 | dudehum.MaxHealth = 100 | |
| 2118 | dudehum.Health = dudehum.Health - finaldmg | |
| 2119 | local vall = Instance.new("ObjectValue",dude)
| |
| 2120 | vall.Name = "IsHit" | |
| 2121 | game.Debris:AddItem(vall,toim) | |
| 2122 | local bfos = Instance.new("BodyVelocity",dude.Head)
| |
| 2123 | bfos.P = 20000 | |
| 2124 | bfos.MaxForce = Vector3.new(bfos.P,bfos.P,bfos.P) | |
| 2125 | bfos.Velocity = Vector3.new(0,kby,0) + chara.HumanoidRootPart.CFrame.lookVector * kbx | |
| 2126 | game.Debris:AddItem(bfos,.1) | |
| 2127 | local naeeym2 = Instance.new("BillboardGui",dude)
| |
| 2128 | naeeym2.Size = UDim2.new(0,100,0,40) | |
| 2129 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
| 2130 | naeeym2.Adornee = dude.Head | |
| 2131 | naeeym2.Name = "TalkingBillBoard" | |
| 2132 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 2133 | tecks2.BackgroundTransparency = 1 | |
| 2134 | tecks2.BorderSizePixel = 0 | |
| 2135 | tecks2.Text = "-"..finaldmg | |
| 2136 | tecks2.Font = "Fantasy" | |
| 2137 | tecks2.FontSize = "Size24" | |
| 2138 | tecks2.TextStrokeTransparency = 0 | |
| 2139 | tecks2.TextColor3 = Color3.new(1,0.6,0) | |
| 2140 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
| 2141 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 2142 | for i = 1, 5 do | |
| 2143 | wait(.1) | |
| 2144 | tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0) | |
| 2145 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2 | |
| 2146 | tecks2.TextTransparency = tecks2.TextTransparency + .2 | |
| 2147 | end | |
| 2148 | naeeym2:Destroy() | |
| 2149 | end | |
| 2150 | end)) | |
| 2151 | end | |
| 2152 | ||
| 2153 | --Explode Hitbox-- | |
| 2154 | function ExHitbox(rad,pos,damage,env,toim,kby,kbx) | |
| 2155 | local E = Instance.new("Explosion")
| |
| 2156 | E.Position = pos | |
| 2157 | E.Parent = game.Workspace | |
| 2158 | E.BlastRadius = rad | |
| 2159 | E.BlastPressure = 0 | |
| 2160 | E.Visible = false | |
| 2161 | E.Hit:connect(function(hit) | |
| 2162 | if hit.Parent:FindFirstChildOfClass("Humanoid")~=nil then
| |
| 2163 | dealdmg(hit.Parent,damage,env,toim,kby,kbx) | |
| 2164 | end | |
| 2165 | end) | |
| 2166 | end | |
| 2167 | ||
| 2168 | --Punch Touch-- | |
| 2169 | dela = .5 | |
| 2170 | punchactive = false | |
| 2171 | function punchhit(hit) | |
| 2172 | if punchactive == true then | |
| 2173 | if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
| |
| 2174 | dealdmg(hit.Parent,15,2,dela,0,5) | |
| 2175 | PlaySnd(HitPunchSnd,hit.Parent.Head) | |
| 2176 | if maincol == "New Yeller" then | |
| 2177 | PlaySnd(HitHamonSnd,hit.Parent.Head) | |
| 2178 | end | |
| 2179 | PunchEff(hit.CFrame) | |
| 2180 | end | |
| 2181 | end | |
| 2182 | end | |
| 2183 | Emit2Part.Touched:connect(punchhit) | |
| 2184 | EmitPart.Touched:connect(punchhit) | |
| 2185 | ||
| 2186 | --Kick Touch-- | |
| 2187 | kickactive = false | |
| 2188 | function kickhit(hit) | |
| 2189 | if kickactive == true then | |
| 2190 | if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
| |
| 2191 | PlaySnd(HitPunchSnd,hit.Parent.Head) | |
| 2192 | PunchEff(hit.CFrame) | |
| 2193 | if maincol == "New Yeller" then | |
| 2194 | PlaySnd(HitHamonSnd,hit.Parent.Head) | |
| 2195 | end | |
| 2196 | dealdmg(hit.Parent,20,2,dela,0,20) | |
| 2197 | end | |
| 2198 | end | |
| 2199 | end | |
| 2200 | chara["Right Leg"].Touched:connect(kickhit) | |
| 2201 | chara["Left Leg"].Touched:connect(kickhit) | |
| 2202 | ||
| 2203 | --Chat Function-- | |
| 2204 | function chatfunc(text) | |
| 2205 | coroutine.resume(coroutine.create(function() | |
| 2206 | if chara:FindFirstChild("TalkingBillBoard")~= nil then
| |
| 2207 | chara:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 2208 | end | |
| 2209 | local naeeym2 = Instance.new("BillboardGui",chara)
| |
| 2210 | naeeym2.Size = UDim2.new(0,100,0,40) | |
| 2211 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
| 2212 | naeeym2.Adornee = chara.Head | |
| 2213 | naeeym2.Name = "TalkingBillBoard" | |
| 2214 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 2215 | tecks2.BackgroundTransparency = 1 | |
| 2216 | tecks2.BorderSizePixel = 0 | |
| 2217 | tecks2.Text = "" | |
| 2218 | tecks2.Font = "Fantasy" | |
| 2219 | tecks2.FontSize = "Size24" | |
| 2220 | tecks2.TextStrokeTransparency = 0 | |
| 2221 | tecks2.TextColor3 = Color3.new(1,1,1) | |
| 2222 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
| 2223 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 2224 | coroutine.resume(coroutine.create(function() | |
| 2225 | for i = 1,string.len(text),1 do | |
| 2226 | tecks2.Text = string.sub(text,1,i) | |
| 2227 | swait(0.01) | |
| 2228 | end | |
| 2229 | swait(1) | |
| 2230 | for i = 1, 5 do | |
| 2231 | swait(.01) | |
| 2232 | tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0) | |
| 2233 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2 | |
| 2234 | tecks2.TextTransparency = tecks2.TextTransparency + .2 | |
| 2235 | end | |
| 2236 | naeeym2:Destroy() | |
| 2237 | end)) | |
| 2238 | end)) | |
| 2239 | end | |
| 2240 | ||
| 2241 | function onChatted(msg) | |
| 2242 | --chatfunc(msg) | |
| 2243 | if msg == "Hamon!" then | |
| 2244 | HamonSnd:Play() | |
| 2245 | maincol = "New Yeller" | |
| 2246 | for i = 0,.1,.01 do | |
| 2247 | swait() | |
| 2248 | EmitPart.Transparency = 1-i | |
| 2249 | Emit2Part.Transparency = 1-i | |
| 2250 | end | |
| 2251 | p1.Enabled = true | |
| 2252 | p2.Enabled = true | |
| 2253 | RPunchT.Color = ColorSequence.new(Color3.new(1,1,0)) | |
| 2254 | LPunchT.Color = ColorSequence.new(Color3.new(1,1,0)) | |
| 2255 | RKickT.Color = ColorSequence.new(Color3.new(1,1,0)) | |
| 2256 | LKickT.Color = ColorSequence.new(Color3.new(1,1,0)) | |
| 2257 | elseif msg == "Hamon off." then | |
| 2258 | maincol = "White" | |
| 2259 | p1.Enabled = false | |
| 2260 | p2.Enabled = false | |
| 2261 | for i = .9,1,.01 do | |
| 2262 | swait() | |
| 2263 | EmitPart.Transparency = i | |
| 2264 | Emit2Part.Transparency = i | |
| 2265 | end | |
| 2266 | RPunchT.Color = ColorSequence.new(BrickColor.new("White").Color)
| |
| 2267 | LPunchT.Color = ColorSequence.new(BrickColor.new("White").Color)
| |
| 2268 | RKickT.Color = ColorSequence.new(BrickColor.new("White").Color)
| |
| 2269 | LKickT.Color = ColorSequence.new(BrickColor.new("White").Color)
| |
| 2270 | end | |
| 2271 | end | |
| 2272 | player.Chatted:connect(onChatted) | |
| 2273 | ||
| 2274 | --Clerp Animations-- | |
| 2275 | TC = chara.HumanoidRootPart.RootJoint | |
| 2276 | HC = chara.Torso.Neck | |
| 2277 | RAC = chara.Torso["Right Shoulder"] | |
| 2278 | LAC = chara.Torso["Left Shoulder"] | |
| 2279 | RLC = chara.Torso["Right Hip"] | |
| 2280 | LLC = chara.Torso["Left Hip"] | |
| 2281 | TCF = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
| 2282 | HCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
| 2283 | RACF = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
| 2284 | LACF = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2285 | RLCF = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
| 2286 | LLCF = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2287 | RWF = CFrame.new(-1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 2288 | LWF = CFrame.new(1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 2289 | RLWF = CFrame.new(-.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 2290 | LLWF = CFrame.new(.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 2291 | RW = Instance.new("Weld",HC.Parent)
| |
| 2292 | RW.Part1 = HC.Parent | |
| 2293 | RW.Part0 = chara["Right Arm"] | |
| 2294 | RW.C0 = RWF | |
| 2295 | LW = Instance.new("Weld",HC.Parent)
| |
| 2296 | LW.Part1 = HC.Parent | |
| 2297 | LW.Part0 = chara["Left Arm"] | |
| 2298 | LW.C0 = LWF | |
| 2299 | RLW = nil | |
| 2300 | LLW = nil | |
| 2301 | grp = Instance.new("Model",chara)
| |
| 2302 | ||
| 2303 | function AddLegWelds() | |
| 2304 | RLW = Instance.new("Weld",chara["Right Leg"])
| |
| 2305 | RLW.Part1 = HC.Parent | |
| 2306 | RLW.Part0 = chara["Right Leg"] | |
| 2307 | RLW.C0 = RLWF | |
| 2308 | LLW = Instance.new("Weld",chara["Left Leg"])
| |
| 2309 | LLW.Part1 = HC.Parent | |
| 2310 | LLW.Part0 = chara["Left Leg"] | |
| 2311 | LLW.C0 = LLWF | |
| 2312 | end | |
| 2313 | ||
| 2314 | function DestroyLegWelds() | |
| 2315 | RLC = New("Motor6D",chara.Torso,"Right Hip",{Part0 = chara.Torso,Part1 = chara["Right Leg"],C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),})
| |
| 2316 | LLC = New("Motor6D",chara.Torso,"Left Hip",{Part0 = chara.Torso,Part1 = chara["Left Leg"],C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),})
| |
| 2317 | RLW:Destroy() | |
| 2318 | LLW:Destroy() | |
| 2319 | end | |
| 2320 | ||
| 2321 | function clerp(a,b,c) | |
| 2322 | return a:lerp(b,c) | |
| 2323 | end | |
| 2324 | ||
| 2325 | ITCF = TCF | |
| 2326 | IHCF = HCF | |
| 2327 | IRWF = RWF | |
| 2328 | ILWF = LWF | |
| 2329 | ||
| 2330 | function res() | |
| 2331 | TC.C0 = ITCF | |
| 2332 | HC.C0 = IHCF | |
| 2333 | RW.C0 = IRWF | |
| 2334 | LW.C0 = ILWF | |
| 2335 | end | |
| 2336 | res() | |
| 2337 | ||
| 2338 | --Flip-- | |
| 2339 | function Flip() | |
| 2340 | del = true | |
| 2341 | res() | |
| 2342 | hum.WalkSpeed = 0 | |
| 2343 | AddLegWelds() | |
| 2344 | Swing2Snd:Play() | |
| 2345 | for i = 0,.6,.2 do | |
| 2346 | swait() | |
| 2347 | TC.C0 = clerp(ITCF,TCF - Vector3.new(0,1,0),.4+i) | |
| 2348 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),.4+i) | |
| 2349 | RW.C0 = clerp(IRWF,RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.4+i) | |
| 2350 | LW.C0 = clerp(ILWF,LWF,.4+i) | |
| 2351 | RLW.C0 = clerp(RLWF,RLWF - Vector3.new(0,1,-.5),.4+i) | |
| 2352 | LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),.4+i) | |
| 2353 | end | |
| 2354 | local bf = Instance.new("BodyVelocity",chara.Torso)
| |
| 2355 | bf.P = 100000 | |
| 2356 | bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P) | |
| 2357 | bf.Velocity = Vector3.new(0,60,0) + chara.HumanoidRootPart.CFrame.lookVector*30 | |
| 2358 | debby:AddItem(bf,.5) | |
| 2359 | for i = 0,1,.25 do | |
| 2360 | swait() | |
| 2361 | TC.C0 = clerp(TCF - Vector3.new(0,1,0),TCF * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),i) | |
| 2362 | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),i) | |
| 2363 | RW.C0 = clerp(RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),i) | |
| 2364 | LW.C0 = clerp(LWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),i) | |
| 2365 | LLW.C0 = clerp((LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),LLWF,i) | |
| 2366 | end | |
| 2367 | bf.MaxForce = Vector3.new(bf.P,0,bf.P) | |
| 2368 | for i = 0,1,.25 do | |
| 2369 | swait() | |
| 2370 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),TCF * CFrame.fromEulerAnglesXYZ(math.rad(-360),0,0),i) | |
| 2371 | end | |
| 2372 | swait(.5) | |
| 2373 | bf:Destroy() | |
| 2374 | for i = 0,1,.25 do | |
| 2375 | swait() | |
| 2376 | TC.C0 = clerp(TCF,TCF - Vector3.new(0,1,0),i) | |
| 2377 | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),i) | |
| 2378 | RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),i) | |
| 2379 | LW.C0 = clerp((LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),LWF,i) | |
| 2380 | LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),i) | |
| 2381 | end | |
| 2382 | for i = 0,.6,.2 do | |
| 2383 | swait() | |
| 2384 | TC.C0 = clerp(ITCF,TCF - Vector3.new(0,1,0),.6-i) | |
| 2385 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),.6-i) | |
| 2386 | RW.C0 = clerp(IRWF,RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.6-i) | |
| 2387 | LW.C0 = clerp(ILWF,LWF,.6-i) | |
| 2388 | RLW.C0 = clerp(RLWF,RLWF - Vector3.new(0,1,-.5),.6-i) | |
| 2389 | LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),.6-i) | |
| 2390 | end | |
| 2391 | DestroyLegWelds() | |
| 2392 | res() | |
| 2393 | hum.WalkSpeed = ws | |
| 2394 | walking = false | |
| 2395 | del = false | |
| 2396 | end | |
| 2397 | function BackFlip() | |
| 2398 | del = true | |
| 2399 | res() | |
| 2400 | hum.WalkSpeed = 0 | |
| 2401 | AddLegWelds() | |
| 2402 | Swing2Snd:Play() | |
| 2403 | for i = 0,.6,.2 do | |
| 2404 | swait() | |
| 2405 | TC.C0 = clerp(ITCF,TCF - Vector3.new(0,1,0),.4+i) | |
| 2406 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),.4+i) | |
| 2407 | RW.C0 = clerp(IRWF,RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.4+i) | |
| 2408 | LW.C0 = clerp(ILWF,LWF,.4+i) | |
| 2409 | RLW.C0 = clerp(RLWF,RLWF - Vector3.new(0,1,-.5),.4+i) | |
| 2410 | LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),.4+i) | |
| 2411 | end | |
| 2412 | local bf = Instance.new("BodyVelocity",chara.Torso)
| |
| 2413 | bf.P = 100000 | |
| 2414 | bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P) | |
| 2415 | bf.Velocity = Vector3.new(0,60,0) + chara.HumanoidRootPart.CFrame.lookVector*-30 | |
| 2416 | for i = 0,1,.25 do | |
| 2417 | swait() | |
| 2418 | TC.C0 = clerp(TCF - Vector3.new(0,1,0),TCF * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),i) | |
| 2419 | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),i) | |
| 2420 | RW.C0 = clerp(RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),i) | |
| 2421 | LW.C0 = clerp(LWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),i) | |
| 2422 | LLW.C0 = clerp((LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),LLWF,i) | |
| 2423 | end | |
| 2424 | bf.MaxForce = Vector3.new(bf.P,0,bf.P) | |
| 2425 | for i = 0,1,.25 do | |
| 2426 | swait() | |
| 2427 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),TCF * CFrame.fromEulerAnglesXYZ(math.rad(360),0,0),i) | |
| 2428 | end | |
| 2429 | swait(.5) | |
| 2430 | bf:Destroy() | |
| 2431 | for i = 0,1,.25 do | |
| 2432 | swait() | |
| 2433 | TC.C0 = clerp(TCF,TCF - Vector3.new(0,1,0),i) | |
| 2434 | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),i) | |
| 2435 | RW.C0 = clerp((RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),i) | |
| 2436 | LW.C0 = clerp((LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),LWF,i) | |
| 2437 | LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),i) | |
| 2438 | end | |
| 2439 | for i = 0,.6,.2 do | |
| 2440 | swait() | |
| 2441 | TC.C0 = clerp(ITCF,TCF - Vector3.new(0,1,0),.6-i) | |
| 2442 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(30),0,0),.6-i) | |
| 2443 | RW.C0 = clerp(IRWF,RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)),.6-i) | |
| 2444 | LW.C0 = clerp(ILWF,LWF,.6-i) | |
| 2445 | RLW.C0 = clerp(RLWF,RLWF - Vector3.new(0,1,-.5),.6-i) | |
| 2446 | LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),.6-i) | |
| 2447 | end | |
| 2448 | DestroyLegWelds() | |
| 2449 | res() | |
| 2450 | hum.WalkSpeed = ws | |
| 2451 | walking = false | |
| 2452 | del = false | |
| 2453 | end | |
| 2454 | ||
| 2455 | --Keys-- | |
| 2456 | combo = 0 | |
| 2457 | function onKeyDown(key) | |
| 2458 | if del == false then | |
| 2459 | if key == "r" then | |
| 2460 | BackFlip() | |
| 2461 | elseif key == "t" then | |
| 2462 | Flip() | |
| 2463 | end | |
| 2464 | end | |
| 2465 | end | |
| 2466 | function onButton1Down() | |
| 2467 | if del == false then | |
| 2468 | del = true | |
| 2469 | torvel = (chara.HumanoidRootPart.Velocity*Vector3.new(0,1,0)).magnitude | |
| 2470 | res() | |
| 2471 | if torvel > 3 then | |
| 2472 | Swing2Snd:Play() | |
| 2473 | kickactive = true | |
| 2474 | RKickT.Enabled = true | |
| 2475 | if maincol == "New Yeller" then | |
| 2476 | SHamonSnd:Play() | |
| 2477 | p3.Enabled = true | |
| 2478 | end | |
| 2479 | AddLegWelds() | |
| 2480 | for i = 0,1,.2 do | |
| 2481 | swait() | |
| 2482 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),i) | |
| 2483 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0),i) | |
| 2484 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),i) | |
| 2485 | LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),i) | |
| 2486 | LLW.C0 = clerp(LLWF,(LLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),i) | |
| 2487 | end | |
| 2488 | for i = 0,1,.2 do | |
| 2489 | swait() | |
| 2490 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(-180),0,0),TCF * CFrame.fromEulerAnglesXYZ(math.rad(-360),0,0),i) | |
| 2491 | end | |
| 2492 | DestroyLegWelds() | |
| 2493 | kickactive = false | |
| 2494 | RKickT.Enabled = false | |
| 2495 | p3.Enabled = false | |
| 2496 | SHamonSnd:Stop() | |
| 2497 | elseif torvel < 3 then | |
| 2498 | if combo == 0 then | |
| 2499 | for i = 0,.6,.2 do | |
| 2500 | swait() | |
| 2501 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
| 2502 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
| 2503 | LW.C0 = clerp(ILWF,(LWF + Vector3.new(-.5,-.5,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(70),0),.4+i) | |
| 2504 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
| 2505 | end | |
| 2506 | swait(.1) | |
| 2507 | Swing2Snd:Play() | |
| 2508 | punchactive = true | |
| 2509 | LPunchT.Enabled = true | |
| 2510 | if maincol == "New Yeller" then | |
| 2511 | SHamonSnd:Play() | |
| 2512 | end | |
| 2513 | for i = 0,.6,.3 do | |
| 2514 | swait() | |
| 2515 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(80)),TCF,.4+i) | |
| 2516 | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-80)),HCF,.4+i) | |
| 2517 | LW.C0 = clerp((LWF + Vector3.new(-.5,-.5,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(70),0),(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
| 2518 | RW.C0 = clerp((RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),(RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0),.4+i) | |
| 2519 | end | |
| 2520 | LW.C0 = (LWF - Vector3.new(.5,-1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) | |
| 2521 | for i = 0,.6,.2 do | |
| 2522 | swait() | |
| 2523 | TC.C0 = clerp(TCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
| 2524 | HC.C0 = clerp(HCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
| 2525 | end | |
| 2526 | TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) | |
| 2527 | HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) | |
| 2528 | swait(.1) | |
| 2529 | for i = 0,.6,.2 do | |
| 2530 | swait() | |
| 2531 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
| 2532 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i) | |
| 2533 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,.5)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i) | |
| 2534 | RW.C0 = clerp(IRWF,(RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0),.6-i) | |
| 2535 | end | |
| 2536 | punchactive = false | |
| 2537 | LPunchT.Enabled = false | |
| 2538 | SHamonSnd:Stop() | |
| 2539 | combo = 1 | |
| 2540 | elseif combo == 1 then | |
| 2541 | hum.WalkSpeed = 0 | |
| 2542 | AddLegWelds() | |
| 2543 | for i = 0,.6,.2 do | |
| 2544 | swait() | |
| 2545 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(45),0,0),.4+i) | |
| 2546 | HC.C0 = clerp(IHCF,HCF,.4+i) | |
| 2547 | LLW.C0 = clerp(LLWF,LLWF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),.4+i) | |
| 2548 | RLW.C0 = clerp(RLWF,(RLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(45),0,0),.4+i) | |
| 2549 | end | |
| 2550 | swait(.1) | |
| 2551 | Swing2Snd:Play() | |
| 2552 | kickactive = true | |
| 2553 | RKickT.Enabled = true | |
| 2554 | if maincol == "New Yeller" then | |
| 2555 | SHamonSnd:Play() | |
| 2556 | p3.Enabled = true | |
| 2557 | end | |
| 2558 | local bfos = Instance.new("BodyVelocity",chara.HumanoidRootPart)
| |
| 2559 | bfos.P = 10000 | |
| 2560 | bfos.MaxForce = Vector3.new(bfos.P,0,bfos.P) | |
| 2561 | bfos.Velocity = chara.HumanoidRootPart.CFrame.lookVector * 200 | |
| 2562 | debby:AddItem(bfos,.1) | |
| 2563 | for i = 0,.6,.2 do | |
| 2564 | swait() | |
| 2565 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(45),0,0),TCF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),.4+i) | |
| 2566 | LLW.C0 = clerp(LLWF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),LLWF * CFrame.fromEulerAnglesXYZ(math.rad(45),0,0),.4+i) | |
| 2567 | RLW.C0 = clerp((RLWF - Vector3.new(0,1,-1))*CFrame.fromEulerAnglesXYZ(math.rad(45),0,0),(RLWF - Vector3.new(0,1,1))*CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),.4+i) | |
| 2568 | end | |
| 2569 | swait(.3) | |
| 2570 | for i = 0,.6,.2 do | |
| 2571 | swait() | |
| 2572 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),ITCF,.4+i) | |
| 2573 | HC.C0 = clerp(HCF,IHCF,.4+i) | |
| 2574 | LLW.C0 = clerp(LLWF * CFrame.fromEulerAnglesXYZ(math.rad(45),0,0),LLWF,.4+i) | |
| 2575 | RLW.C0 = clerp((RLWF - Vector3.new(0,1,1))*CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0),RLWF,.4+i) | |
| 2576 | end | |
| 2577 | DestroyLegWelds() | |
| 2578 | kickactive = false | |
| 2579 | RKickT.Enabled = false | |
| 2580 | p3.Enabled = false | |
| 2581 | SHamonSnd:Stop() | |
| 2582 | combo = 2 | |
| 2583 | elseif combo == 2 then | |
| 2584 | for i = 0,.6,.2 do | |
| 2585 | swait() | |
| 2586 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
| 2587 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
| 2588 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
| 2589 | RW.C0 = clerp(IRWF,(RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0),.4+i) | |
| 2590 | end | |
| 2591 | swait(.1) | |
| 2592 | Swing2Snd:Play() | |
| 2593 | punchactive = true | |
| 2594 | RPunchT.Enabled = true | |
| 2595 | if maincol == "New Yeller" then | |
| 2596 | SHamonSnd:Play() | |
| 2597 | end | |
| 2598 | for i = 0,.6,.3 do | |
| 2599 | swait() | |
| 2600 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-80)),TCF,.4+i) | |
| 2601 | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(80)),HCF,.4+i) | |
| 2602 | LW.C0 = clerp((LWF - Vector3.new(.5,-1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),(LWF + Vector3.new(-.5,-.5,.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(70),0),.4+i) | |
| 2603 | RW.C0 = clerp((RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0),(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
| 2604 | end | |
| 2605 | RW.C0 = (RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) | |
| 2606 | for i = 0,.6,.2 do | |
| 2607 | swait() | |
| 2608 | TC.C0 = clerp(TCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
| 2609 | HC.C0 = clerp(HCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
| 2610 | end | |
| 2611 | TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) | |
| 2612 | HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) | |
| 2613 | swait(.1) | |
| 2614 | for i = 0,.6,.2 do | |
| 2615 | swait() | |
| 2616 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i) | |
| 2617 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
| 2618 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i) | |
| 2619 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
| 2620 | end | |
| 2621 | punchactive = false | |
| 2622 | RPunchT.Enabled = false | |
| 2623 | SHamonSnd:Stop() | |
| 2624 | combo = 3 | |
| 2625 | elseif combo == 3 then | |
| 2626 | hum.WalkSpeed = 0 | |
| 2627 | AddLegWelds() | |
| 2628 | for i = 0,.6,.2 do | |
| 2629 | swait() | |
| 2630 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
| 2631 | HC.C0 = clerp(IHCF,HCF,.4+i) | |
| 2632 | LLW.C0 = clerp(LLWF,LLWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-60)),.4+i) | |
| 2633 | RLW.C0 = clerp(RLWF,RLWF*CFrame.fromEulerAnglesXYZ(0,0,math.rad(60)),.4+i) | |
| 2634 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
| 2635 | RW.C0 = clerp(IRWF,(RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0),.4+i) | |
| 2636 | end | |
| 2637 | Swing2Snd:Play() | |
| 2638 | kickactive = true | |
| 2639 | LKickT.Enabled = true | |
| 2640 | if maincol == "New Yeller" then | |
| 2641 | SHamonSnd:Play() | |
| 2642 | p4.Enabled = true | |
| 2643 | end | |
| 2644 | local bfos = Instance.new("BodyVelocity",chara.HumanoidRootPart)
| |
| 2645 | bfos.P = 10000 | |
| 2646 | bfos.MaxForce = Vector3.new(bfos.P,0,bfos.P) | |
| 2647 | bfos.Velocity = chara.HumanoidRootPart.CFrame.lookVector * 200 | |
| 2648 | debby:AddItem(bfos,.1) | |
| 2649 | for i = 0,.6,.1 do | |
| 2650 | swait() | |
| 2651 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-100)),TCF * CFrame.fromEulerAnglesXYZ(math.rad(-60),0,math.rad(90)),.4+i) | |
| 2652 | end | |
| 2653 | TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(math.rad(-60),0,math.rad(90)) | |
| 2654 | swait(.2) | |
| 2655 | for i = 0,.6,.1 do | |
| 2656 | swait() | |
| 2657 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-60),0,math.rad(90)),.6-i) | |
| 2658 | HC.C0 = clerp(IHCF,HCF,.6-i) | |
| 2659 | LLW.C0 = clerp(LLWF,LLWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-60)),.6-i) | |
| 2660 | RLW.C0 = clerp(RLWF,RLWF*CFrame.fromEulerAnglesXYZ(0,0,math.rad(60)),.6-i) | |
| 2661 | LW.C0 = clerp(ILWF,(LWF - Vector3.new(.5,-1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i) | |
| 2662 | RW.C0 = clerp(IRWF,(RWF - Vector3.new(-.5,.5,-.5)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-70),0),.6-i) | |
| 2663 | end | |
| 2664 | DestroyLegWelds() | |
| 2665 | kickactive = false | |
| 2666 | LKickT.Enabled = false | |
| 2667 | p4.Enabled = false | |
| 2668 | SHamonSnd:Stop() | |
| 2669 | combo = 0 | |
| 2670 | end | |
| 2671 | end | |
| 2672 | res() | |
| 2673 | hum.WalkSpeed = ws | |
| 2674 | walking = false | |
| 2675 | del = false | |
| 2676 | end | |
| 2677 | end | |
| 2678 | if mouse then | |
| 2679 | mouse.Button1Down:connect(onButton1Down) | |
| 2680 | mouse.KeyDown:connect(onKeyDown) | |
| 2681 | end | |
| 2682 | ||
| 2683 | --Loop Function-- | |
| 2684 | walking = false | |
| 2685 | toim = 0 | |
| 2686 | while true do | |
| 2687 | swait() | |
| 2688 | toim = toim + .1 | |
| 2689 | if del == false then attacking = false elseif del == true then attacking = true end | |
| 2690 | if atkd == true then | |
| 2691 | TC.C0 = TCF | |
| 2692 | HC.C0 = HCF | |
| 2693 | RW.C0 = RWF | |
| 2694 | LW.C0 = LWF | |
| 2695 | atkd = false | |
| 2696 | end | |
| 2697 | if atkdd == true then | |
| 2698 | TC.C0 = ITCF | |
| 2699 | HC.C0 = IHCF | |
| 2700 | RW.C0 = IRWF | |
| 2701 | LW.C0 = ILWF | |
| 2702 | atkdd = false | |
| 2703 | end | |
| 2704 | torvel = (chara.HumanoidRootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
| 2705 | if torvel < 1 and walking == true and del == false and atkd == false and attacking == false then | |
| 2706 | for i = 0,1,.25 do | |
| 2707 | swait(.001) | |
| 2708 | if del == false and attacking == false then | |
| 2709 | TC.C0 = clerp(TCF,ITCF,i) | |
| 2710 | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),IHCF,i) | |
| 2711 | RW.C0 = clerp((RWF - Vector3.new(-1,0,.7)) * CFrame.fromEulerAnglesXYZ(math.rad(45),0,math.rad(45)),IRWF,i) | |
| 2712 | LW.C0 = clerp((LWF - Vector3.new(1,0,.7)) * CFrame.fromEulerAnglesXYZ(math.rad(45),0,math.rad(-45)),ILWF,i) | |
| 2713 | end | |
| 2714 | end | |
| 2715 | walking = false | |
| 2716 | elseif torvel > 1 and walking == false and del == false and atkd == false and attacking == false then | |
| 2717 | for i = 0,1,.25 do | |
| 2718 | swait(.001) | |
| 2719 | if del == false and attacking == false then | |
| 2720 | TC.C0 = clerp(ITCF,TCF,i) | |
| 2721 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),i) | |
| 2722 | RW.C0 = clerp((RWF - Vector3.new(-1,0,.7)) * CFrame.fromEulerAnglesXYZ(math.rad(45),0,math.rad(45)),IRWF,1-i) | |
| 2723 | LW.C0 = clerp((LWF - Vector3.new(1,0,.7)) * CFrame.fromEulerAnglesXYZ(math.rad(45),0,math.rad(-45)),ILWF,1-i) | |
| 2724 | end | |
| 2725 | end | |
| 2726 | walking = true | |
| 2727 | else | |
| 2728 | end | |
| 2729 | end |