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 | Translated to FE by iPxter")
| |
| 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 | Services = setmetatable({},{__index=function(s,r) return game:service(r) end})
| |
| 84 | Player = Services.Players.LocalPlayer | |
| 85 | wait()script.Parent=nil | |
| 86 | BodyParts={}
| |
| 87 | abs = function(int) | |
| 88 | if int < 0 then return -int else return int end | |
| 89 | end | |
| 90 | rad = function(deg) | |
| 91 | return deg * math.pi / 180 | |
| 92 | end | |
| 93 | deg = function(rad) | |
| 94 | return rad * 180 / math.pi | |
| 95 | end | |
| 96 | dist = function(p1,p2) | |
| 97 | r,e = ypcall(function() | |
| 98 | p1 = p1.Position | |
| 99 | end) | |
| 100 | if not r then p1 = p1 end | |
| 101 | r,e = ypcall(function() | |
| 102 | p2 = p2.Position | |
| 103 | end) | |
| 104 | if not r then p1 = p1 end | |
| 105 | return math.sqrt( (p2.X-p1.X)^2 + (p2.Y-p1.Y)^2 + (p2.Z-p1.Z)^2 ) | |
| 106 | end | |
| 107 | ||
| 108 | function GetChar() | |
| 109 | return Player.Character | |
| 110 | end | |
| 111 | function GetHum() | |
| 112 | for i,v in pairs(GetChar():children'') do | |
| 113 | if v.ClassName == 'Humanoid' then | |
| 114 | return v | |
| 115 | end | |
| 116 | end | |
| 117 | end | |
| 118 | ||
| 119 | function Died() | |
| 120 | for i,v in pairs(GetChar():children'') do | |
| 121 | if v.ClassName == 'Part' then | |
| 122 | table.insert(BodyParts,{v.CFrame,v})
| |
| 123 | elseif v.ClassName == 'Hat' then | |
| 124 | v.Parent=workspace | |
| 125 | table.insert(BodyParts,{v.Handle.CFrame,v.Handle,1})
| |
| 126 | end | |
| 127 | end | |
| 128 | ||
| 129 | wait(3) | |
| 130 | for i,v in pairs(BodyParts) do | |
| 131 | v[2].Anchored=true | |
| 132 | if v[2].Name == 'Torso' then pos = v[1] end | |
| 133 | end | |
| 134 | ||
| 135 | for i,v in pairs(BodyParts) do | |
| 136 | coroutine.resume(coroutine.create(function() | |
| 137 | repeat Services.RunService.Heartbeat:wait() | |
| 138 | v[2].CFrame = v[2].CFrame:lerp(v[1],.1) | |
| 139 | until dist(v[2],v[1]) < .05 | |
| 140 | v[2].CFrame=v[1] | |
| 141 | end)) | |
| 142 | end | |
| 143 | end | |
| 144 | ||
| 145 | Player.CharacterAdded:connect(function(char) | |
| 146 | char:WaitForChild('Torso')
| |
| 147 | for i,v in pairs(BodyParts) do | |
| 148 | if v[3] then | |
| 149 | v[2]:Remove() | |
| 150 | end | |
| 151 | end | |
| 152 | BodyParts={}
| |
| 153 | char.Torso.CFrame=pos or CFrame.new(0,12,0) | |
| 154 | GetHum().Died:connect(Died) | |
| 155 | end) | |
| 156 | GetHum().Died:connect(Died) | |
| 157 | print'rannering' | |
| 158 | ||
| 159 | --[[ | |
| 160 | Stand: The World | |
| 161 | User: DIO | |
| 162 | ]] | |
| 163 | ||
| 164 | ---Declarations | |
| 165 | local Cn=CFrame.new | |
| 166 | local CA=CFrame.Angles | |
| 167 | local mr=math.rad | |
| 168 | local rn=math.random | |
| 169 | local mc=math.cos | |
| 170 | local Vn=Vector3.new | |
| 171 | local NR=NumberRange.new | |
| 172 | local NSeq=NumberSequence.new | |
| 173 | local plrs=game:service"Players" | |
| 174 | local wrk=game:service"Workspace" | |
| 175 | local deb=game:service"Debris" | |
| 176 | local IS=game:GetService("InsertService")
| |
| 177 | local p=plrs.LocalPlayer | |
| 178 | local cam=wrk.CurrentCamera | |
| 179 | local char=p.Character | |
| 180 | local mouse=p:GetMouse() | |
| 181 | local lam=char["Left Arm"] | |
| 182 | local ram=char["Right Arm"] | |
| 183 | local llg=char["Left Leg"] | |
| 184 | local rlg=char["Right Leg"] | |
| 185 | local hed=char.Head | |
| 186 | local tor=char.Torso | |
| 187 | local larm = lam | |
| 188 | local rarm = ram | |
| 189 | local lleg = llg | |
| 190 | local rleg = rlg | |
| 191 | local torso = tor | |
| 192 | local hrp=char.HumanoidRootPart | |
| 193 | local PlayerSpeed = char.Humanoid.WalkSpeed | |
| 194 | local on=false | |
| 195 | local noRig=false | |
| 196 | local curws=16 | |
| 197 | local sine=0 | |
| 198 | local ift={}
| |
| 199 | local ifxd=false | |
| 200 | local run=false | |
| 201 | local stance="Cane" | |
| 202 | local Speed = 16 | |
| 203 | local Health = 9000 | |
| 204 | ||
| 205 | PlayerSpeed = 16 | |
| 206 | ||
| 207 | ypcall(function() | |
| 208 | char.Shirt:Destroy() | |
| 209 | char.Pants:Destroy() | |
| 210 | shirt = Instance.new("Shirt", char)
| |
| 211 | shirt.Name = "Shirt" | |
| 212 | pants = Instance.new("Pants", char)
| |
| 213 | pants.Name = "Pants" | |
| 214 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=298260655" | |
| 215 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=298260668" | |
| 216 | end) | |
| 217 | ||
| 218 | Debounces = {
| |
| 219 | CanAttack = true; | |
| 220 | NoIdl = false; | |
| 221 | Slashing = false; | |
| 222 | Slashed = false; | |
| 223 | RPunch = false; | |
| 224 | RPunched = false; | |
| 225 | LPunch = false; | |
| 226 | LPunched = false; | |
| 227 | } | |
| 228 | ||
| 229 | local trappedTorsos = {}
| |
| 230 | ||
| 231 | ---Functions | |
| 232 | ||
| 233 | function FndHm(flnm) | |
| 234 | for i,v in pairs(flnm:GetChildren()) do | |
| 235 | if v:IsA("Humanoid") then
| |
| 236 | return v | |
| 237 | end | |
| 238 | end | |
| 239 | end | |
| 240 | local hum=FndHm(char) | |
| 241 | --hum.Name="" | |
| 242 | ||
| 243 | ||
| 244 | function chrDes(inst) | |
| 245 | local ret=nil | |
| 246 | for _,v in pairs(game.Players:GetChildren()) do | |
| 247 | if inst:IsDescendantOf(v) then | |
| 248 | ret=v | |
| 249 | break | |
| 250 | end | |
| 251 | end | |
| 252 | return ret | |
| 253 | end | |
| 254 | ||
| 255 | -- | |
| 256 | function get(a) | |
| 257 | local cont={}
| |
| 258 | for i,v in pairs(a:GetChildren()) do | |
| 259 | if v==char then | |
| 260 | else | |
| 261 | table.insert(cont,v) | |
| 262 | pcall(function() | |
| 263 | for _,b in pairs(get(v)) do | |
| 264 | table.insert(cont,b) | |
| 265 | end | |
| 266 | end) | |
| 267 | end | |
| 268 | end | |
| 269 | return cont | |
| 270 | end | |
| 271 | for _,v in pairs(get(game.Workspace)) do | |
| 272 | if v:IsA("Sparkles") or v:IsA("Fire") then
| |
| 273 | v:Destroy() | |
| 274 | end | |
| 275 | end | |
| 276 | ||
| 277 | -- | |
| 278 | function inT(qur,tbl) | |
| 279 | local a=false | |
| 280 | for i,v in pairs(tbl) do | |
| 281 | if v==qur then | |
| 282 | a=true | |
| 283 | break | |
| 284 | else | |
| 285 | a=false | |
| 286 | end | |
| 287 | end | |
| 288 | return a | |
| 289 | end | |
| 290 | ||
| 291 | -- | |
| 292 | function Tween(a,b,c) | |
| 293 | return a+(b-a)*c | |
| 294 | end | |
| 295 | ||
| 296 | -- | |
| 297 | function Avg(a,b) | |
| 298 | return CFrame.new((a.X+b.X)/2,(a.Y+b.Y)/2,(a.Z+b.Z)/2) | |
| 299 | end | |
| 300 | ||
| 301 | -- | |
| 302 | function Lerp(c1,c2,tim) | |
| 303 | local com1={c1.C0.X,c1.C0.Y,c1.C0.Z,c1.C0:toEulerAnglesXYZ()}
| |
| 304 | local com2={c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
| |
| 305 | for i,v in pairs(com1) do | |
| 306 | com1[i]=v+(com2[i]-v)*tim | |
| 307 | end | |
| 308 | return Cn(com1[1],com1[2],com1[3])*CA(select(4,unpack(com1))) | |
| 309 | end | |
| 310 | ||
| 311 | function RLerp(c1,c2,tim) | |
| 312 | return c1:lerp(c2,tim) | |
| 313 | end | |
| 314 | ||
| 315 | -- | |
| 316 | function ALerp(c1,c2,tim) | |
| 317 | local com1={c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
| |
| 318 | local com2={c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
| |
| 319 | for i,v in pairs(com1) do | |
| 320 | com1[i]=v+(com2[i]-v)*tim | |
| 321 | end | |
| 322 | return Cn(com1[1],com1[2],com1[3])*CA(select(4,unpack(com1))) | |
| 323 | end | |
| 324 | ||
| 325 | -- | |
| 326 | function Lerprs(ud,ud2,al) | |
| 327 | local a,b,c,d=ud.X.Scale,ud.X.Offset,ud.Y.Scale,ud.Y.Offset | |
| 328 | local a2,b2,c2,d2=ud2.X.Scale,ud2.X.Offset,ud2.Y.Scale,ud2.Y.Offset | |
| 329 | local x,y,z,w=(a+(a2-a)*al),(b+(b2-b)*al),(c+(c2-c)*al),(d+(d2-d)*al) | |
| 330 | return UDim2.new(x,y,z,w) | |
| 331 | end | |
| 332 | ||
| 333 | -- | |
| 334 | function newAnim(wld) | |
| 335 | local asd={["Weld"]=wld;["Int"]=0;["Frame"]=1;}
| |
| 336 | asd.getFrames=function() | |
| 337 | local num=0 | |
| 338 | for _,v in pairs(asd) do | |
| 339 | pcall(function() | |
| 340 | num=num+v.Length | |
| 341 | end) | |
| 342 | end | |
| 343 | return num | |
| 344 | end | |
| 345 | return asd | |
| 346 | end | |
| 347 | ||
| 348 | -- | |
| 349 | function newKF(tab,c0,lng,off) | |
| 350 | off=off or 1 | |
| 351 | table.insert(tab,{["C0"]=c0,["Length"]=lng,["Offset"]=off})
| |
| 352 | end | |
| 353 | ||
| 354 | -- | |
| 355 | function runKF(tab) | |
| 356 | tab.Int=tab.Int+1 | |
| 357 | if tab.Int>=tab[tab.Frame].Length then | |
| 358 | tab.Frame=tab.Frame+1 | |
| 359 | tab.Int=0 | |
| 360 | if tab.Frame>#tab then | |
| 361 | tab.Frame=1 | |
| 362 | end | |
| 363 | end | |
| 364 | tab.Weld.C0=RLerp(tab.Weld.C0,tab[tab.Frame].C0,(tab[tab.Frame].Offset/tab[tab.Frame].Length)*tab.Int) | |
| 365 | end | |
| 366 | ||
| 367 | -- | |
| 368 | function nwPrt(prnt,siz,cf,col) | |
| 369 | local prt=Instance.new("Part")
| |
| 370 | prt.Parent=prnt | |
| 371 | prt.FormFactor=3 | |
| 372 | prt.Name="Part" | |
| 373 | prt.Size=siz | |
| 374 | prt.CanCollide=false | |
| 375 | prt.Anchored=true | |
| 376 | prt.Locked=true | |
| 377 | prt.TopSurface=10 | |
| 378 | prt.BottomSurface=10 | |
| 379 | prt.FrontSurface=10 | |
| 380 | prt.BackSurface=10 | |
| 381 | prt.LeftSurface=10 | |
| 382 | prt.RightSurface=10 | |
| 383 | prt:BreakJoints() | |
| 384 | prt.CFrame=cf or CFrame.new(30,10,30) | |
| 385 | prt.Material="SmoothPlastic" | |
| 386 | prt.BrickColor=BrickColor.new(col) | |
| 387 | m=Instance.new("SpecialMesh",prt)
| |
| 388 | m.MeshType=6 | |
| 389 | return prt | |
| 390 | end | |
| 391 | ||
| 392 | -- | |
| 393 | function nwWdg(prnt,siz,cf,col) | |
| 394 | local prt=Instance.new("WedgePart")
| |
| 395 | prt.Parent=prnt | |
| 396 | prt.FormFactor=3 | |
| 397 | prt.Name="Part" | |
| 398 | prt.Size=siz | |
| 399 | prt.CanCollide=false | |
| 400 | prt.Anchored=false | |
| 401 | prt.Locked=true | |
| 402 | prt.TopSurface=0 | |
| 403 | prt.BottomSurface=0 | |
| 404 | prt:BreakJoints() | |
| 405 | prt.CFrame=cf or CFrame.new(30,10,30) | |
| 406 | prt.Material="SmoothPlastic" | |
| 407 | prt.BrickColor=BrickColor.new(col) | |
| 408 | return prt | |
| 409 | end | |
| 410 | ||
| 411 | -- | |
| 412 | function newGui(prnt,clsnm,siz,pos,bsp,bc,bt) | |
| 413 | local gui=Instance.new(clsnm,prnt) | |
| 414 | gui.Size=siz or UDim2.new(0,100,0,100) | |
| 415 | gui.Position=pos or UDim2.new(0,0,0,0) | |
| 416 | gui.BorderSizePixel=bsp or 0 | |
| 417 | gui.BackgroundColor3=bc or Color3.new(0,0,0) | |
| 418 | gui.BackgroundTransparency=bt or 1 | |
| 419 | return gui | |
| 420 | end | |
| 421 | ||
| 422 | -- | |
| 423 | function nwWld(wp0,wp1,wc0) | |
| 424 | wld = Instance.new("Weld",wp1)
| |
| 425 | wld.Part0=wp0 | |
| 426 | wld.Part1=wp1 | |
| 427 | wld.C0=wc0 or Cn(0,0,0) | |
| 428 | return wld | |
| 429 | end | |
| 430 | ||
| 431 | -- | |
| 432 | function nwSnd(prnt,pch,vol,id) | |
| 433 | local s=Instance.new("Sound",prnt)
| |
| 434 | s.Pitch=pch | |
| 435 | s.Volume=vol | |
| 436 | s.SoundId="rbxassetid://"..id | |
| 437 | s.PlayOnRemove=true | |
| 438 | return s | |
| 439 | end | |
| 440 | ||
| 441 | -- | |
| 442 | function newRay(start,face,range,wat) | |
| 443 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
| 444 | hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
| 445 | return rey,hit,pos | |
| 446 | end | |
| 447 | ||
| 448 | function nooutline(part) | |
| 449 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
| 450 | end | |
| 451 | ||
| 452 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
| 453 | local fp=it("Part")
| |
| 454 | fp.formFactor=formfactor | |
| 455 | fp.Parent=parent | |
| 456 | fp.Reflectance=reflectance | |
| 457 | fp.Transparency=transparency | |
| 458 | fp.CanCollide=false | |
| 459 | fp.Locked=true | |
| 460 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
| 461 | fp.Name=name | |
| 462 | fp.Size=size | |
| 463 | fp.Position=Character.Torso.Position | |
| 464 | nooutline(fp) | |
| 465 | fp.Material=material | |
| 466 | fp:BreakJoints() | |
| 467 | return fp | |
| 468 | end | |
| 469 | ||
| 470 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 471 | local mesh=it(Mesh) | |
| 472 | mesh.Parent=part | |
| 473 | if Mesh=="SpecialMesh" then | |
| 474 | mesh.MeshType=meshtype | |
| 475 | mesh.MeshId=meshid | |
| 476 | end | |
| 477 | mesh.Offset=offset | |
| 478 | mesh.Scale=scale | |
| 479 | return mesh | |
| 480 | end | |
| 481 | ||
| 482 | function weld(parent,part0,part1,c0,c1) | |
| 483 | local weld=it("Weld")
| |
| 484 | weld.Parent=parent | |
| 485 | weld.Part0=part0 | |
| 486 | weld.Part1=part1 | |
| 487 | weld.C0=c0 | |
| 488 | weld.C1=c1 | |
| 489 | return weld | |
| 490 | end | |
| 491 | TfwTimeStopped = false | |
| 492 | function Damagefunc(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
| 493 | if hit.Parent==nil then | |
| 494 | return | |
| 495 | end | |
| 496 | h=hit.Parent:FindFirstChild("Humanoid")
| |
| 497 | for _,v in pairs(hit.Parent:children()) do | |
| 498 | if v:IsA("Humanoid") then
| |
| 499 | h=v | |
| 500 | end | |
| 501 | end | |
| 502 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
| |
| 503 | h=hit.Parent.Parent:FindFirstChild("Humanoid")
| |
| 504 | end | |
| 505 | if hit.Parent.className=="Hat" then | |
| 506 | hit=hit.Parent.Parent:findFirstChild("Head")
| |
| 507 | end | |
| 508 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
| |
| 509 | if hit.Parent:findFirstChild("DebounceHit")~=nil then
| |
| 510 | if hit.Parent.DebounceHit.Value==true then | |
| 511 | return | |
| 512 | end | |
| 513 | end | |
| 514 | --[[if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
| 515 | return | |
| 516 | end]] | |
| 517 | --hs(hit,1.2) | |
| 518 | c=Instance.new("ObjectValue")
| |
| 519 | c.Name="creator" | |
| 520 | c.Value=game:service("Players").LocalPlayer
| |
| 521 | c.Parent=h | |
| 522 | game:GetService("Debris"):AddItem(c,.5)
| |
| 523 | Damage=math.random(minim,maxim) | |
| 524 | --h:TakeDamage(Damage) | |
| 525 | blocked=false | |
| 526 | block=hit.Parent:findFirstChild("Block")
| |
| 527 | if block~=nil then | |
| 528 | print(block.className) | |
| 529 | if block.className=="NumberValue" then | |
| 530 | if block.Value>0 then | |
| 531 | blocked=true | |
| 532 | if decreaseblock==nil then | |
| 533 | block.Value=block.Value-1 | |
| 534 | end | |
| 535 | end | |
| 536 | end | |
| 537 | if block.className=="IntValue" then | |
| 538 | if block.Value>0 then | |
| 539 | blocked=true | |
| 540 | if decreaseblock~=nil then | |
| 541 | block.Value=block.Value-1 | |
| 542 | end | |
| 543 | end | |
| 544 | end | |
| 545 | end | |
| 546 | if blocked==false then | |
| 547 | --h:TakeDamage(Damage) | |
| 548 | if TfwTimeStopped == false then | |
| 549 | h.Health=h.Health-Damage | |
| 550 | ShowDamage((hit.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color) | |
| 551 | elseif TfwTimeStopped == true then | |
| 552 | repeat wait() until TfwTimeStopped == false | |
| 553 | h.Health=h.Health-0.1 | |
| 554 | ShowDamage((hit.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color) | |
| 555 | end | |
| 556 | else | |
| 557 | h.Health=h.Health-(Damage/2) | |
| 558 | ShowDamage((hit.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color)
| |
| 559 | end | |
| 560 | if Type=="Knockdown" then | |
| 561 | hum=hit.Parent.Humanoid | |
| 562 | hum.PlatformStand=true | |
| 563 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 564 | swait(1) | |
| 565 | HHumanoid.PlatformStand=false | |
| 566 | end),hum) | |
| 567 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
| 568 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
| 569 | local bodvol=Instance.new("BodyVelocity")
| |
| 570 | bodvol.velocity=angle*knockback | |
| 571 | bodvol.P=500 | |
| 572 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
| 573 | bodvol.Parent=hit | |
| 574 | game:GetService("Debris"):AddItem(bodvol,.5)
| |
| 575 | game:GetService("Debris"):AddItem(rl,.5)
| |
| 576 | elseif Type == "Killer Queen" then | |
| 577 | hum=hit.Parent.Humanoid | |
| 578 | hum.PlatformStand=true | |
| 579 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 580 | swait(1) | |
| 581 | HHumanoid.PlatformStand=false | |
| 582 | end),hum) | |
| 583 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
| 584 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
| 585 | local bodvol=Instance.new("BodyVelocity")
| |
| 586 | bodvol.velocity=angle*knockback | |
| 587 | bodvol.P=500 | |
| 588 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
| 589 | bodvol.Parent=hit | |
| 590 | game:GetService("Debris"):AddItem(bodvol,.5)
| |
| 591 | game:GetService("Debris"):AddItem(rl,.5)
| |
| 592 | wait(3) | |
| 593 | ||
| 594 | elseif Type=="Normal" then | |
| 595 | vp=Instance.new("BodyVelocity")
| |
| 596 | vp.P=500 | |
| 597 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
| 598 | --vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
| 599 | if KnockbackType==1 then | |
| 600 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
| 601 | elseif KnockbackType==2 then | |
| 602 | vp.velocity=Property.CFrame.lookVector*knockback | |
| 603 | end | |
| 604 | if knockback>0 then | |
| 605 | vp.Parent=hit.Parent.Torso | |
| 606 | end | |
| 607 | game:GetService("Debris"):AddItem(vp,.5)
| |
| 608 | elseif Type=="Up" then | |
| 609 | local bodyVelocity=Instance.new("BodyVelocity")
| |
| 610 | bodyVelocity.velocity=vt(0,60,0) | |
| 611 | bodyVelocity.P=5000 | |
| 612 | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
| 613 | bodyVelocity.Parent=hit | |
| 614 | game:GetService("Debris"):AddItem(bodyVelocity,1)
| |
| 615 | rl=Instance.new("BodyAngularVelocity")
| |
| 616 | rl.P=3000 | |
| 617 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
| 618 | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
| 619 | rl.Parent=hit | |
| 620 | game:GetService("Debris"):AddItem(rl,.5)
| |
| 621 | elseif Type=="Snare" then | |
| 622 | bp=Instance.new("BodyPosition")
| |
| 623 | bp.P=2000 | |
| 624 | bp.D=100 | |
| 625 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
| 626 | bp.position=hit.Parent.Torso.Position | |
| 627 | bp.Parent=hit.Parent.Torso | |
| 628 | game:GetService("Debris"):AddItem(bp,1)
| |
| 629 | elseif Type=="Target" then | |
| 630 | local Targetting = false | |
| 631 | if Targetting==false then | |
| 632 | ZTarget=hit.Parent.Torso | |
| 633 | coroutine.resume(coroutine.create(function(Part) | |
| 634 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
| |
| 635 | swait(5) | |
| 636 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
| |
| 637 | end),ZTarget) | |
| 638 | local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
| |
| 639 | local targetgui=Instance.new("BillboardGui")
| |
| 640 | targetgui.Parent=ZTarget | |
| 641 | targetgui.Size=UDim2.new(10,100,10,100) | |
| 642 | local targ=Instance.new("ImageLabel")
| |
| 643 | targ.Parent=targetgui | |
| 644 | targ.BackgroundTransparency=1 | |
| 645 | targ.Image="rbxassetid://4834067" | |
| 646 | targ.Size=UDim2.new(1,0,1,0) | |
| 647 | cam.CameraType="Scriptable" | |
| 648 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 649 | local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
| 650 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 651 | Targetting=true | |
| 652 | RocketTarget=ZTarget | |
| 653 | for i=1,Property do | |
| 654 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
| 655 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
| 656 | swait() | |
| 657 | end | |
| 658 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
| 659 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 660 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
| 661 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
| 662 | end | |
| 663 | Targetting=false | |
| 664 | RocketTarget=nil | |
| 665 | targetgui.Parent=nil | |
| 666 | cam.CameraType="Custom" | |
| 667 | end | |
| 668 | end | |
| 669 | local debounce=Instance.new("BoolValue")
| |
| 670 | debounce.Name="DebounceHit" | |
| 671 | debounce.Parent=hit.Parent | |
| 672 | debounce.Value=true | |
| 673 | game:GetService("Debris"):AddItem(debounce,Delay)
| |
| 674 | c=Instance.new("ObjectValue")
| |
| 675 | c.Name="creator" | |
| 676 | c.Value=Player | |
| 677 | c.Parent=h | |
| 678 | game:GetService("Debris"):AddItem(c,.5)
| |
| 679 | end | |
| 680 | end | |
| 681 | ||
| 682 | function ShowDamage(Pos, Text, Time, Color) | |
| 683 | local Rate = (1 / 30) | |
| 684 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
| 685 | local Text = (Text or "") | |
| 686 | local Time = (Time or 2) | |
| 687 | local Color = (Color or Color3.new(1, 0, 0)) | |
| 688 | local EffectPart = part("Custom",workspace,"Neon",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
| |
| 689 | EffectPart.Anchored = true | |
| 690 | local BillboardGui = Instance.new("BillboardGui")
| |
| 691 | BillboardGui.Size = UDim2.new(3, 3, 3, 3) | |
| 692 | BillboardGui.Adornee = EffectPart | |
| 693 | local TextLabel = Instance.new("TextLabel")
| |
| 694 | TextLabel.BackgroundTransparency = 1 | |
| 695 | TextLabel.Size = UDim2.new(3, 3, 3, 3) | |
| 696 | TextLabel.Text = Text | |
| 697 | TextLabel.TextColor3 = Color | |
| 698 | TextLabel.TextStrokeColor3 = BrickColor.new("Really black").Color
| |
| 699 | TextLabel.TextScaled = true | |
| 700 | TextLabel.TextStrokeTransparency = 0 | |
| 701 | TextLabel.Font = Enum.Font.SourceSansBold | |
| 702 | TextLabel.Parent = BillboardGui | |
| 703 | BillboardGui.Parent = EffectPart | |
| 704 | game.Debris:AddItem(EffectPart, (Time + 0.1)) | |
| 705 | EffectPart.Parent = game:GetService("Workspace")
| |
| 706 | Delay(0, function() | |
| 707 | local Frames = (Time / Rate) | |
| 708 | for Frame = 1, Frames do | |
| 709 | wait(Rate) | |
| 710 | local Percent = (Frame / Frames) | |
| 711 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 712 | TextLabel.TextTransparency = Percent | |
| 713 | TextLabel.TextStrokeTransparency = Percent | |
| 714 | end | |
| 715 | if EffectPart and EffectPart.Parent then | |
| 716 | EffectPart:Destroy() | |
| 717 | end | |
| 718 | end) | |
| 719 | end | |
| 720 | ||
| 721 | --[[local Player = game:service("Players").LocalPlayer
| |
| 722 | repeat wait() until Player.Character ~= nil | |
| 723 | ||
| 724 | local Char = Player.Character | |
| 725 | local mouse = Player:GetMouse() | |
| 726 | local Backpack = Player.Backpack | |
| 727 | local PlayerGui = Player.PlayerGui | |
| 728 | local Camera = workspace.CurrentCamera | |
| 729 | local Humanoid = Char:findFirstChild("Humanoid")
| |
| 730 | local Torso = Char:findFirstChild("Torso")
| |
| 731 | local Head = Char:findFirstChild("Head")
| |
| 732 | local ra = Char:findFirstChild("Right Arm")
| |
| 733 | local la = Char:findFirstChild("Left Arm")
| |
| 734 | local rl = Char:findFirstChild("Right Leg")
| |
| 735 | local ll = Char:findFirstChild("Left Leg")
| |
| 736 | local rs = Torso:findFirstChild("Right Shoulder")
| |
| 737 | local ls = Torso:findFirstChild("Left Shoulder")
| |
| 738 | local rh = Torso:findFirstChild("Right Hip")
| |
| 739 | local lh = Torso:findFirstChild("Left Hip")
| |
| 740 | local neck = Torso:findFirstChild("Neck")
| |
| 741 | local rootpart = Char:findFirstChild("HumanoidRootPart")
| |
| 742 | local rj = rootpart:findFirstChild("RootJoint")
| |
| 743 | local anim = Char:findFirstChild("Animate")
| |
| 744 | local RunService = game:GetService("RunService")
| |
| 745 | local UIA = game:GetService("UserInputService")
| |
| 746 | local CF = CFrame.new | |
| 747 | local CA = CFrame.Angles | |
| 748 | local FEA = CFrame.fromEulerAnglesXYZ | |
| 749 | local FAA = CFrame.fromAxisAngle | |
| 750 | local V3 = Vector3.new | |
| 751 | local CN = Color3.new | |
| 752 | local Ice = Instance.new | |
| 753 | local BC = BrickColor.new | |
| 754 | local UD2 = UDim2.new | |
| 755 | local C3 = Color3.new | |
| 756 | local MR = math.rad | |
| 757 | local MP = math.pi | |
| 758 | local MD = math.deg | |
| 759 | local MH = math.huge | |
| 760 | local MS = math.sin | |
| 761 | local MC = math.cos | |
| 762 | local MT = math.tan | |
| 763 | local MAS = math.asin | |
| 764 | local MAC = math.acos | |
| 765 | local MAT = math.atan | |
| 766 | local components = CF().components | |
| 767 | ||
| 768 | local State = {}
| |
| 769 | State["Calm"] = "Active" | |
| 770 | ||
| 771 | function Tweenz(a,b,i) | |
| 772 | return a:lerp(b,i) | |
| 773 | end | |
| 774 | ||
| 775 | function Create(Instanc,prop) | |
| 776 | local p=Instance.new(Instanc) | |
| 777 | for i,v in pairs(prop) do | |
| 778 | p[i]=v | |
| 779 | end | |
| 780 | return p | |
| 781 | end | |
| 782 | ||
| 783 | local c0 = {
| |
| 784 | RightArm = CF(1.5,0.5,0), | |
| 785 | LeftArm = CF(-1.5,0.5,0), | |
| 786 | RightLeg = CF(0.5,-1,0), | |
| 787 | LeftLeg = CF(-0.5,-1,0), | |
| 788 | RootJoint = CF(0,0,0), | |
| 789 | Neck = CF(0,1,0) | |
| 790 | } | |
| 791 | local c1 = {
| |
| 792 | RightArm = CF(0,0.5,0), | |
| 793 | LeftArm = CF(0,0.5,0), | |
| 794 | RightLeg = CF(0,1,0), | |
| 795 | LeftLeg = CF(0,1,0), | |
| 796 | RootJoint = CF(0,0,0), | |
| 797 | Neck = CF(0,-0.5,0) | |
| 798 | } | |
| 799 | ||
| 800 | ||
| 801 | --RightArm = Create("Snap",{Parent=Torso,C0=c0.RightArm,C1=c1.RightArm,Part0=Torso,Part1=ra})
| |
| 802 | --LeftArm = Create("Snap",{Parent=Torso,C0=c0.LeftArm,C1=c1.LeftArm,Part0=Torso,Part1=la})
| |
| 803 | RightLeg = Create("Snap",{Parent=Torso,C0=c0.RightLeg,C1=c1.RightLeg,Part0=Torso,Part1=rl})
| |
| 804 | LeftLeg = Create("Snap",{Parent=Torso,C0=c0.LeftLeg,C1=c1.LeftLeg,Part0=Torso,Part1=ll})
| |
| 805 | ||
| 806 | neck.C0 = c0.Neck | |
| 807 | neck.C1 = c1.Neck | |
| 808 | ||
| 809 | local Spread = 12 | |
| 810 | local Smooth = 1 | |
| 811 | ||
| 812 | local angle = tick() | |
| 813 | game:GetService("RunService").Stepped:connect(function()
| |
| 814 | local lefth = (Torso.CFrame*c0.LeftLeg) | |
| 815 | local righth = (Torso.CFrame*c0.RightLeg) | |
| 816 | angle = angle+0.2*Smooth | |
| 817 | local speed = V3(Torso.Velocity.X,0,Torso.Velocity.Z) | |
| 818 | local TiltOnAxis = (rootpart.CFrame-rootpart.CFrame.p):inverse()*speed/100 | |
| 819 | rj.C0 = Tweenz(rj.C0,CFrame.Angles(MR(-90)+TiltOnAxis.Z,TiltOnAxis.X,MR(180)+-TiltOnAxis.X),.1) | |
| 820 | --[[local offset = CFrame.new(0,5,0) | |
| 821 | rj.C0 = CF(V3(),(mouse.hit.p-rootpart.CFrame.p).unit*100)*CFrame.Angles(MR(-90),0,MR(180)) | |
| 822 | local h = (rootpart.CFrame*offset).p | |
| 823 | local d = CFrame.new(h,mouse.Hit.p) | |
| 824 | local e = rootpart.CFrame*CFrame.new(h) | |
| 825 | neck.C0 = ((d-d.p):inverse()*(e-e.p)):inverse()*CFrame.new(0,1,0)]] | |
| 826 | --[[local AnglePR = (righth-righth.p):inverse()*speed/100 | |
| 827 | local AnglePL = (lefth-lefth.p):inverse()*speed/100 | |
| 828 | if speed.magnitude < 2 then | |
| 829 | --RightArm.C0 = Tweenz(RightArm.C0,c0.RightArm*CFrame.Angles(0,0,0),.1) | |
| 830 | --LeftArm.C0 = Tweenz(LeftArm.C0,c0.LeftArm*CFrame.Angles(0,0,0),.1) | |
| 831 | elseif speed.magnitude > 2 then | |
| 832 | RightLeg.C0 = Tweenz(RightLeg.C0,CF(0.5,-1+math.cos(angle)*.5,-0.2+-math.sin(angle)*.1)*CFrame.Angles(math.sin(angle)*Spread*-AnglePR.Z,AnglePR.X,math.sin(angle)*Spread*AnglePR.X),.1) | |
| 833 | LeftLeg.C0 = Tweenz(LeftLeg.C0,CF(-0.5,-1+-math.cos(angle)*.5,-0.2+math.sin(angle)*.1)*CFrame.Angles(math.sin(angle)*Spread*AnglePL.Z,AnglePL.X,math.sin(angle)*Spread*-AnglePL.X),.1) | |
| 834 | --RightArm.C0 = Tweenz(RightArm.C0,c0.RightArm*CFrame.Angles(math.sin(angle)*Spread*AnglePL.Z,0,0),.1) | |
| 835 | --LeftArm.C0 = Tweenz(LeftArm.C0,c0.LeftArm*CFrame.Angles(-math.sin(angle)*Spread*AnglePL.Z,0,0),.1) | |
| 836 | end | |
| 837 | end) | |
| 838 | ]]-- | |
| 839 | Player = p | |
| 840 | workspace[Player.Name].Archivable=true | |
| 841 | pchar = workspace[Player.Name]:Clone() --Create("Model",{Parent=workspace})
| |
| 842 | pchar.Parent=workspace[Player.Name] | |
| 843 | torso=pchar.Torso | |
| 844 | humane=pchar.Humanoid | |
| 845 | pchar.Name= "Za Warudo" | |
| 846 | pl=pchar | |
| 847 | humane.MaxHealth=Health | |
| 848 | wait() | |
| 849 | humane.Health=Health | |
| 850 | humane.WalkSpeed=Speed | |
| 851 | ||
| 852 | ---Weld | |
| 853 | ||
| 854 | local law=nwWld(tor,lam,Cn(-1.5,0.5,0)) | |
| 855 | law.C1=CFrame.new(0,0.5,0) | |
| 856 | local raw=nwWld(tor,ram,Cn(1.5,0.5,0)) | |
| 857 | raw.C1=CFrame.new(0,0.5,0) | |
| 858 | local hew=nwWld(tor,hed,Cn(0,1.5,0)) | |
| 859 | local llw=nwWld(tor,llg,Cn(-0.5,-1,0)) | |
| 860 | llw.C1=CFrame.new(0,1,0) | |
| 861 | local rlw=nwWld(tor,rlg,Cn(0.5,-1,0)) | |
| 862 | rlw.C1=CFrame.new(0,1,0) | |
| 863 | local tow=nwWld(hrp,tor,Cn(0,-1,0)) | |
| 864 | tow.C1=CFrame.new(0,-1,0) | |
| 865 | ||
| 866 | local hrp2 = pchar.HumanoidRootPart | |
| 867 | local tor2 = torso | |
| 868 | local hed2 = pchar.Head | |
| 869 | local lam2=pchar["Left Arm"] | |
| 870 | local ram2=pchar["Right Arm"] | |
| 871 | local llg2=pchar["Left Leg"] | |
| 872 | local rlg2=pchar["Right Leg"] | |
| 873 | ||
| 874 | local law2=nwWld(tor2,lam2,Cn(-1.5,0.5,0)) | |
| 875 | law2.C1=CFrame.new(0,0.5,0) | |
| 876 | local raw2=nwWld(tor2,ram2,Cn(1.5,0.5,0)) | |
| 877 | raw2.C1=CFrame.new(0,0.5,0) | |
| 878 | local hew2=nwWld(torso,hed2,Cn(0,1.5,0)) | |
| 879 | local llw2=nwWld(torso,llg2,Cn(-0.5,-1,0)) | |
| 880 | llw2.C1=CFrame.new(0,1,0) | |
| 881 | local rlw2=nwWld(tor2,rlg2,Cn(0.5,-1,0)) | |
| 882 | rlw2.C1=CFrame.new(0,1,0) | |
| 883 | local tow2=nwWld(hrp2,tor2,Cn(0,-1,0)) | |
| 884 | tow2.C1=CFrame.new(0,-1,0) | |
| 885 | ||
| 886 | ||
| 887 | local laD=CFrame.new(-1.5,0.5,0) | |
| 888 | local raD=CFrame.new(1.5,0.5,0) | |
| 889 | local hD=CFrame.new(0,1.5,0) | |
| 890 | local tD=CFrame.new(0,-1,0) | |
| 891 | local llD=CFrame.new(-0.5,-1,0) | |
| 892 | local rlD=CFrame.new(0.5,-1,0) | |
| 893 | ||
| 894 | ---Build | |
| 895 | ||
| 896 | ---Animations | |
| 897 | ||
| 898 | --Idle | |
| 899 | local heid=newAnim(hew) | |
| 900 | newKF(heid,hD*CA(mr(-15.5),0,0),50,0.3) | |
| 901 | newKF(heid,hD*CA(mr(-14),0,0),40,0.3) | |
| 902 | local toid=newAnim(tow) | |
| 903 | newKF(toid,tD*Cn(0,-0.0125,0)*CA(mr(16),0,0),50,0.3) | |
| 904 | newKF(toid,tD*Cn(0,0.0125,0)*CA(mr(15),0,0),40,0.3) | |
| 905 | local laid=newAnim(law) | |
| 906 | newKF(laid,laD*Cn(1,0.0125,-0.764)*CA(mr(80),0,mr(85)),50,0.3) | |
| 907 | newKF(laid,laD*Cn(1,-0.0125,-0.764)*CA(mr(70),0,mr(85)),40,0.3) | |
| 908 | local raid=newAnim(raw) | |
| 909 | newKF(raid,raD*Cn(-1,-0.0125,-0.764)*CA(mr(80),0,mr(-85)),50,0.3) | |
| 910 | newKF(raid,raD*Cn(-1,0.0125,-0.764)*CA(mr(70),0,mr(-85)),40,0.3) | |
| 911 | local llid=newAnim(llw) | |
| 912 | newKF(llid,llD*Cn(0,0.0125,0)*CA(mr(-16),0,0),50,0.3) | |
| 913 | newKF(llid,llD*Cn(0,-0.0125,0)*CA(mr(-15),0,mr(0)),40,0.3) | |
| 914 | local rlid=newAnim(rlw) | |
| 915 | newKF(rlid,rlD*Cn(0,0.0125,0)*CA(mr(-16),0,0),50,0.3) | |
| 916 | newKF(rlid,rlD*Cn(0,-0.0125,0)*CA(mr(-15),0,mr(0)),40,0.3) | |
| 917 | ||
| 918 | local heid2=newAnim(hew2) | |
| 919 | newKF(heid2,hD*CA(mr(16),0,0),40,0.3) | |
| 920 | newKF(heid2,hD*CA(mr(14),0,0),40,0.3) | |
| 921 | local toid2=newAnim(tow2) | |
| 922 | newKF(toid2,tD*Cn(0,0.5,3)*CA(mr(0),0,0),50,1) | |
| 923 | newKF(toid2,tD*Cn(0,1,3)*CA(mr(0),0,0),40,1) | |
| 924 | local laid2=newAnim(law2) | |
| 925 | newKF(laid2,laD*Cn(0.5,0.0125,-1)*CA(mr(20),mr(50),mr(20)),50,0.3) | |
| 926 | newKF(laid2,laD*Cn(0.5,-0.0125,-1)*CA(mr(20),mr(50),mr(20)),40,0.3) | |
| 927 | local raid2=newAnim(raw2) | |
| 928 | newKF(raid2,raD*Cn(-0.5,-0.0125,-1)*CA(mr(20),mr(-50),mr(-20)),50,0.3) | |
| 929 | newKF(raid2,raD*Cn(-0.5,0.0125,-1)*CA(mr(20),mr(-50),mr(-20)),40,0.3) | |
| 930 | local llid2=newAnim(llw2) | |
| 931 | newKF(llid2,llD*Cn(0,0.0125,0)*CA(mr(0),0,0),50,0.3) | |
| 932 | newKF(llid2,llD*Cn(0,-0.0125,0)*CA(mr(0),0,mr(0)),40,0.3) | |
| 933 | local rlid2=newAnim(rlw2) | |
| 934 | newKF(rlid2,rlD*Cn(0,0.0125,0)*CA(mr(0),0,0),50,0.3) | |
| 935 | newKF(rlid2,rlD*Cn(0,-0.0125,0)*CA(mr(0),0,mr(0)),40,0.3) | |
| 936 | ||
| 937 | --Walk | |
| 938 | local hewk=newAnim(hew) | |
| 939 | newKF(hewk,hD*CA(mr(-5.5),0,0),12,0.4) | |
| 940 | newKF(hewk,hD*CA(mr(-5),mr(-3),0),13,0.4) | |
| 941 | newKF(hewk,hD*CA(mr(-5.5),0,0),12,0.4) | |
| 942 | newKF(hewk,hD*CA(mr(-5),mr(3),0),13,0.4) | |
| 943 | local towk=newAnim(tow) | |
| 944 | newKF(towk,tD*Cn(0,0.1,0)*CA(mr(15),0,0),12,0.2) | |
| 945 | newKF(towk,tD*CA(mr(15),mr(5),0),13,0.4) | |
| 946 | newKF(towk,tD*Cn(0,0.1,0)*CA(mr(15),0,0),12,0.2) | |
| 947 | newKF(towk,tD*CA(mr(15),mr(-5),0),13,0.4) | |
| 948 | local lawk=newAnim(law) | |
| 949 | newKF(lawk,laD*CA(mr(30),0,0),25,0.4) | |
| 950 | newKF(lawk,laD*CA(mr(-30),0,0),25,0.4) | |
| 951 | local rawk=newAnim(raw) | |
| 952 | newKF(rawk,raD*CA(mr(-30),0,0),25,0.4) | |
| 953 | newKF(rawk,raD*CA(mr(30),0,0),25,0.4) | |
| 954 | local llwk=newAnim(llw) | |
| 955 | newKF(llwk,llD*CA(mr(-40),mr(-10),mr(-2)),25,0.4) | |
| 956 | newKF(llwk,llD*Cn(0,0.3,0)*CA(mr(-5),0,mr(-3)),12,0.4) | |
| 957 | newKF(llwk,llD*Cn(0,-0.2,-0.25)*CA(mr(40),mr(10),mr(-3)),13,0.4) | |
| 958 | local rlwk=newAnim(rlw) | |
| 959 | newKF(rlwk,rlD*Cn(0,0.3,0)*CA(mr(-5),0,mr(3)),12,0.4) | |
| 960 | newKF(rlwk,rlD*Cn(0,-0.2,-0.25)*CA(mr(40),mr(-10),mr(3)),13,0.4) | |
| 961 | newKF(rlwk,rlD*CA(mr(-40),mr(10),mr(2)),25,0.4) | |
| 962 | ||
| 963 | --Sprint | |
| 964 | local hesp=newAnim(hew) | |
| 965 | newKF(hesp,hD*CA(mr(5),mr(-10),0),10,0.2) | |
| 966 | newKF(hesp,hD*CA(mr(10),0,0),10,0.2) | |
| 967 | newKF(hesp,hD*CA(mr(5),mr(10),0),10,0.2) | |
| 968 | newKF(hesp,hD*CA(mr(10),0,0),10,0.2) | |
| 969 | local tosp=newAnim(tow) | |
| 970 | newKF(tosp,tD*Cn(0,0.1,0)*CA(mr(-5),mr(10),0),10,0.4) | |
| 971 | newKF(tosp,tD*CA(mr(-10),0,0),10,0.4) | |
| 972 | newKF(tosp,tD*Cn(0,0.1,0)*CA(mr(-5),mr(-10),0),10,0.4) | |
| 973 | newKF(tosp,tD*CA(mr(-10),0,0),10,0.4) | |
| 974 | local lasp=newAnim(law) | |
| 975 | newKF(lasp,laD*Cn(0,-0.1,-0.2)*CA(mr(60),0,0),20,0.4) | |
| 976 | newKF(lasp,laD*CA(mr(-40),0,0),20,0.4) | |
| 977 | local rasp=newAnim(raw) | |
| 978 | newKF(rasp,raD*CA(mr(-40),0,0),20,0.4) | |
| 979 | newKF(rasp,raD*Cn(0,-0.1,-0.2)*CA(mr(60),0,0),20,0.4) | |
| 980 | local llsp=newAnim(llw) | |
| 981 | newKF(llsp,llD*CA(mr(-50),mr(-10),mr(-2)),20,0.4) | |
| 982 | newKF(llsp,llD*Cn(0,0.5,0)*CA(mr(15),0,mr(-3)),10,0.4) | |
| 983 | newKF(llsp,llD*Cn(0,-0.4,-0.25)*CA(mr(70),mr(10),mr(-3)),10,0.4) | |
| 984 | local rlsp=newAnim(rlw) | |
| 985 | newKF(rlsp,rlD*Cn(0,0.3,0)*CA(mr(15),0,mr(3)),10,0.4) | |
| 986 | newKF(rlsp,rlD*Cn(0,-0.4,-0.25)*CA(mr(70),mr(-10),mr(3)),10,0.4) | |
| 987 | newKF(rlsp,rlD*CA(mr(-50),mr(10),mr(2)),20,0.4) | |
| 988 | ||
| 989 | --Freefall | |
| 990 | local heff=newAnim(hew) | |
| 991 | newKF(heff,hD*CA(mr(-5),0,0),8,0.6) | |
| 992 | newKF(heff,hD*CA(mr(-5),0,0),8,0.6) | |
| 993 | local toff=newAnim(tow) | |
| 994 | newKF(toff,tD*CA(mr(10),0,0),8,0.6) | |
| 995 | newKF(toff,tD*CA(mr(10),0,0),8,0.6) | |
| 996 | local laff=newAnim(law) | |
| 997 | newKF(laff,laD*CA(mr(140),0,0),16,0.4) | |
| 998 | newKF(laff,laD*CA(mr(140),0,0),16,0.4) | |
| 999 | local raff=newAnim(raw) | |
| 1000 | newKF(raff,raD*CA(mr(140),0,0),16,0.4) | |
| 1001 | newKF(raff,raD*CA(mr(140),0,0),16,0.4) | |
| 1002 | local llff=newAnim(llw) | |
| 1003 | newKF(llff,llD*CA(0,0,mr(-5)),16,0.4) | |
| 1004 | newKF(llff,llD*CA(0,0,mr(-5)),16,0.4) | |
| 1005 | local rlff=newAnim(rlw) | |
| 1006 | newKF(rlff,rlD*CA(0,0,mr(5)),16,0.4) | |
| 1007 | newKF(rlff,rlD*CA(0,0,mr(5)),16,0.4) | |
| 1008 | ||
| 1009 | --Time Has Stopped | |
| 1010 | local hesp2=newAnim(hew) | |
| 1011 | newKF(hesp2,hD*CA(mr(-30),mr(0),mr(0)),10,0.5) | |
| 1012 | local tosp2=newAnim(tow) | |
| 1013 | newKF(tosp2,tD*Cn(0,0,0)*CA(mr(30),mr(0),mr(0)),10,0.5) | |
| 1014 | local lasp2=newAnim(law) | |
| 1015 | newKF(lasp2,laD*CA(mr(90),mr(0),mr(-60)),20,1.5) | |
| 1016 | local rasp2=newAnim(raw) | |
| 1017 | newKF(rasp2,raD*CA(mr(90),mr(0),mr(60)),20,1.5) | |
| 1018 | local llsp2=newAnim(llw) | |
| 1019 | newKF(llsp2,llD*Cn(0,0,0)*CA(mr(-30),mr(0),mr(0)),20,0.5) | |
| 1020 | local rlsp2=newAnim(rlw) | |
| 1021 | newKF(rlsp2,rlD*Cn(0,0,0)*CA(mr(-30),0,mr(0)),10,0.5) | |
| 1022 | ||
| 1023 | local hesp3=newAnim(hew2) | |
| 1024 | newKF(hesp3,hD*CA(mr(-15),mr(0),mr(0)),50,0.2) | |
| 1025 | local tosp3=newAnim(tow2) | |
| 1026 | newKF(tosp3,tD*Cn(0,1,3)*CA(mr(0),mr(0),mr(0)),50,0.4) | |
| 1027 | local lasp3=newAnim(law2) | |
| 1028 | newKF(lasp3,laD*CA(mr(80),mr(0),mr(65)),30,0.4) | |
| 1029 | newKF(lasp3,laD*CA(mr(120),mr(0),mr(-60)),50,0.4) | |
| 1030 | local rasp3=newAnim(raw2) | |
| 1031 | newKF(rasp3,raD*CA(mr(80),mr(0),mr(-65)),30,0.4) | |
| 1032 | newKF(rasp3,raD*CA(mr(120),mr(0),mr(60)),50,0.4) | |
| 1033 | local llsp3=newAnim(llw2) | |
| 1034 | newKF(llsp3,llD*CA(mr(0),mr(0),mr(1.5)),50,0.4) | |
| 1035 | local rlsp3=newAnim(rlw2) | |
| 1036 | newKF(rlsp3,rlD*CA(mr(0),mr(0),mr(-1.5)),50,0.4) | |
| 1037 | ||
| 1038 | local hesp4=newAnim(hew2) | |
| 1039 | newKF(hesp4,hD*CA(mr(-10),mr(0),mr(0)),10,0.2) | |
| 1040 | local tosp4=newAnim(tow2) | |
| 1041 | newKF(tosp4,tD*Cn(0,1,3)*CA(mr(0),mr(0),mr(0)),10,0.4) | |
| 1042 | local lasp4=newAnim(law2) | |
| 1043 | newKF(lasp4,laD*CA(mr(120),mr(0),mr(-60)),20,0.4) | |
| 1044 | local rasp4=newAnim(raw2) | |
| 1045 | newKF(rasp4,raD*CA(mr(120),mr(0),mr(60)),20,0.4) | |
| 1046 | local llsp4=newAnim(llw2) | |
| 1047 | newKF(llsp4,llD*CA(mr(0),mr(0),mr(1.5)),20,0.4) | |
| 1048 | local rlsp4=newAnim(rlw2) | |
| 1049 | newKF(rlsp4,rlD*CA(mr(0),mr(0),mr(-1.5)),10,0.4) | |
| 1050 | ||
| 1051 | --Let time flow again | |
| 1052 | local hetoki=newAnim(hew) | |
| 1053 | newKF(hetoki,hD*CA(mr(0),mr(0),mr(0)),10,0.2) | |
| 1054 | local totoki=newAnim(tow) | |
| 1055 | newKF(totoki,tD*Cn(0,0,0)*CA(mr(0),mr(0),mr(0)),10,0.4) | |
| 1056 | local latoki=newAnim(law) | |
| 1057 | newKF(latoki,laD*Cn(0,-0.1,-0.2)*CA(mr(0),mr(0),mr(0)),20,0.4) | |
| 1058 | local ratoki=newAnim(raw) | |
| 1059 | newKF(ratoki,raD*CA(mr(0),mr(0),mr(0)),20,0.4) | |
| 1060 | local lltoki=newAnim(llw) | |
| 1061 | newKF(lltoki,llD*CA(mr(0),mr(0),mr(0)),20,0.4) | |
| 1062 | local rltoki=newAnim(rlw) | |
| 1063 | newKF(rltoki,rlD*Cn(0,0,0)*CA(mr(0),mr(0),mr(0)),10,0.4) | |
| 1064 | --//Example of Keyframe | |
| 1065 | --[[ | |
| 1066 | local hesp2=newAnim(hew) | |
| 1067 | newKF(hesp2,hD*CA(mr(0),mr(0),mr(0)),10,0.2) | |
| 1068 | local tosp2=newAnim(tow) | |
| 1069 | newKF(tosp2,tD*CA(mr(0),mr(0),mr(0)),10,0.4) | |
| 1070 | local lasp2=newAnim(law) | |
| 1071 | newKF(lasp2,laD*CA(mr(0),mr(0),mr(0)),20,0.4) | |
| 1072 | local rasp2=newAnim(raw) | |
| 1073 | newKF(rasp2,raD*CA(mr(0),mr(0),mr(0)),20,0.4) | |
| 1074 | local llsp2=newAnim(llw) | |
| 1075 | newKF(llsp2,llD*CA(mr(0),mr(0),mr(0)),20,0.4) | |
| 1076 | local rlsp2=newAnim(rlw) | |
| 1077 | newKF(rlsp2,rlD*CA(mr(0),mr(0),mr(0)),10,0.4) | |
| 1078 | ]] | |
| 1079 | function onDamage(Part) | |
| 1080 | if Part:findFirstChild("Humanoid") == nil and Part:findFirstChild("BodyVelocity") ~= nil or Part:findFirstChild("Humanoid") == nil and Part:findFirstChild("RocketPropulsion") ~= nil then
| |
| 1081 | Part.Anchored = true | |
| 1082 | if Part:findFirstChild("Mesh") ~= nil then
| |
| 1083 | z = Part:findFirstChild("Mesh")
| |
| 1084 | for i = 1,5 do | |
| 1085 | z.Scale = z.Scale + Vector3.new(1,1,1) | |
| 1086 | wait(0.05) | |
| 1087 | end | |
| 1088 | end | |
| 1089 | end | |
| 1090 | end | |
| 1091 | ||
| 1092 | function trappedTorsos:isTrapped(t) | |
| 1093 | for nildata, index in next,self do | |
| 1094 | if index==t then | |
| 1095 | return true | |
| 1096 | end | |
| 1097 | end | |
| 1098 | return false | |
| 1099 | end | |
| 1100 | ||
| 1101 | function trappedTorsos:Capture(hit) | |
| 1102 | if hit:isA'BasePart' then | |
| 1103 | if not trappedTorsos:isTrapped(hit) and not hit:IsDescendantOf(char) then | |
| 1104 | table.insert(trappedTorsos, hit) | |
| 1105 | hit.Anchored = true --trapped! | |
| 1106 | --print'trapped!' | |
| 1107 | end | |
| 1108 | end | |
| 1109 | end | |
| 1110 | ||
| 1111 | function trappedTorsos:Release() | |
| 1112 | for i,v in next, self do | |
| 1113 | if type(v)=='userdata' then | |
| 1114 | if v:isA('BasePart') then
| |
| 1115 | v.Anchored = false | |
| 1116 | self[i] = nil | |
| 1117 | end | |
| 1118 | end | |
| 1119 | end | |
| 1120 | end | |
| 1121 | ||
| 1122 | --Za Warudo | |
| 1123 | Attacking = false | |
| 1124 | WasOn = true | |
| 1125 | function TheWorld(Mode) | |
| 1126 | if Mode == "Time Stop" then | |
| 1127 | noRig = true | |
| 1128 | Attacking = true | |
| 1129 | if WasOn == true and StandOn == false then | |
| 1130 | StandOn = true | |
| 1131 | WasOn = false | |
| 1132 | end | |
| 1133 | hum.WalkSpeed = 0 | |
| 1134 | for i = 1,30 do | |
| 1135 | runKF(hesp2) | |
| 1136 | runKF(tosp2) | |
| 1137 | runKF(lasp2) | |
| 1138 | runKF(rasp2) | |
| 1139 | runKF(llsp2) | |
| 1140 | runKF(rlsp2) | |
| 1141 | runKF(hesp3) | |
| 1142 | runKF(tosp3) | |
| 1143 | runKF(lasp3) | |
| 1144 | runKF(rasp3) | |
| 1145 | runKF(llsp3) | |
| 1146 | runKF(rlsp3) | |
| 1147 | wait() | |
| 1148 | end | |
| 1149 | wait() | |
| 1150 | local ZAWARUDO = Instance.new("Sound",tor)
| |
| 1151 | ZAWARUDO.SoundId = "rbxassetid://290807377" | |
| 1152 | ZAWARUDO.Volume = 1 | |
| 1153 | ZAWARUDO.Looped = false | |
| 1154 | ZAWARUDO:Play() | |
| 1155 | local TimeStop = Instance.new("Sound",tor)
| |
| 1156 | TimeStop.SoundId = "rbxassetid://290807425" | |
| 1157 | TimeStop.Looped = false | |
| 1158 | TimeStop.Volume = 1 | |
| 1159 | local AreaOfEffect = Instance.new("Part",char)
| |
| 1160 | AreaOfEffect.Position = tor.Position | |
| 1161 | AreaOfEffect.Size = Vector3.new(0.01,0.01,0.01) | |
| 1162 | AreaOfEffect.Anchored = true | |
| 1163 | AreaOfEffect.CanCollide = false | |
| 1164 | AreaOfEffect.BrickColor = BrickColor.new("Institutional white")
| |
| 1165 | AreaOfEffect.Transparency = 0.9 | |
| 1166 | AreaOfEffect.Shape = "Ball" | |
| 1167 | AreaOfEffect.Material = "Neon" | |
| 1168 | ||
| 1169 | for i = 1,10 do | |
| 1170 | runKF(hesp4) | |
| 1171 | runKF(tosp4) | |
| 1172 | runKF(lasp4) | |
| 1173 | runKF(rasp4) | |
| 1174 | runKF(llsp4) | |
| 1175 | runKF(rlsp4) | |
| 1176 | wait() | |
| 1177 | end | |
| 1178 | TimeStop:Play() | |
| 1179 | for i = 1,10 do | |
| 1180 | AreaOfEffect.Size = AreaOfEffect.Size + Vector3.new(4.1,4.1,4.1) | |
| 1181 | AreaOfEffect.CFrame = char.Torso.CFrame | |
| 1182 | wait() | |
| 1183 | end | |
| 1184 | coroutine.wrap(function() | |
| 1185 | do local me={}
| |
| 1186 | ||
| 1187 | me.plrs = game:service'Workspace':children'' | |
| 1188 | ||
| 1189 | function me:getNear(mag) | |
| 1190 | local rtn = {}
| |
| 1191 | ||
| 1192 | for k,v in next,me.plrs do | |
| 1193 | local chxr = v | |
| 1194 | ||
| 1195 | if chxr then | |
| 1196 | if chxr:findFirstChild'Torso' then | |
| 1197 | local pos = (chxr.Torso.Position-tor.Position).magnitude | |
| 1198 | ||
| 1199 | if pos<=mag then | |
| 1200 | for a,b in pairs(chxr:children()) do | |
| 1201 | if b:IsA("BasePart") then
| |
| 1202 | table.insert(rtn, b) | |
| 1203 | end | |
| 1204 | end | |
| 1205 | end | |
| 1206 | end | |
| 1207 | end | |
| 1208 | end | |
| 1209 | return rtn | |
| 1210 | end | |
| 1211 | ||
| 1212 | for no, torso in ipairs(me:getNear(25)) do | |
| 1213 | --print(torso:GetFullName()) | |
| 1214 | --print(torso:GetFullName()) | |
| 1215 | trappedTorsos:Capture(torso) | |
| 1216 | end | |
| 1217 | ||
| 1218 | ||
| 1219 | end | |
| 1220 | end)() | |
| 1221 | AreaOfEffect:Destroy() | |
| 1222 | local TimeHasStopped = Instance.new("Sound",tor)
| |
| 1223 | TimeHasStopped.SoundId = "rbxassetid://290807397" | |
| 1224 | TimeHasStopped.Looped = false | |
| 1225 | TimeHasStopped.Volume = 1 | |
| 1226 | wait(1.3) | |
| 1227 | TimeHasStopped:Play() | |
| 1228 | workspace.Gravity = 70 | |
| 1229 | for i,v in pairs(char:children()) do | |
| 1230 | if v:IsA("Part") then
| |
| 1231 | v.Anchored = false | |
| 1232 | end | |
| 1233 | if v:IsA("Hat") then
| |
| 1234 | v.Handle.Anchored = false | |
| 1235 | end | |
| 1236 | end | |
| 1237 | for i,v in pairs(pchar:children()) do | |
| 1238 | if v:IsA("Part") then
| |
| 1239 | v.Anchored = false | |
| 1240 | end | |
| 1241 | if v:IsA("Hat") then
| |
| 1242 | v.Handle.Anchored = false | |
| 1243 | end | |
| 1244 | end | |
| 1245 | if WasOn == false then | |
| 1246 | StandOn = false | |
| 1247 | WasOn = true | |
| 1248 | end | |
| 1249 | hum.WalkSpeed = 16 | |
| 1250 | noRig = false | |
| 1251 | Attacking = false | |
| 1252 | end | |
| 1253 | if Mode == "World Time Stop" then | |
| 1254 | noRig = true | |
| 1255 | Attacking = true | |
| 1256 | if WasOn == true and StandOn == false then | |
| 1257 | StandOn = true | |
| 1258 | WasOn = false | |
| 1259 | end | |
| 1260 | hum.WalkSpeed = 0 | |
| 1261 | for i = 1,30 do | |
| 1262 | runKF(hesp2) | |
| 1263 | runKF(tosp2) | |
| 1264 | runKF(lasp2) | |
| 1265 | runKF(rasp2) | |
| 1266 | runKF(llsp2) | |
| 1267 | runKF(rlsp2) | |
| 1268 | runKF(hesp3) | |
| 1269 | runKF(tosp3) | |
| 1270 | runKF(lasp3) | |
| 1271 | runKF(rasp3) | |
| 1272 | runKF(llsp3) | |
| 1273 | runKF(rlsp3) | |
| 1274 | wait() | |
| 1275 | end | |
| 1276 | wait() | |
| 1277 | local ZAWARUDO = Instance.new("Sound",tor)
| |
| 1278 | ZAWARUDO.SoundId = "rbxassetid://290807377" | |
| 1279 | ZAWARUDO.Volume = 1 | |
| 1280 | ZAWARUDO.Looped = false | |
| 1281 | ZAWARUDO:Play() | |
| 1282 | local TimeStop = Instance.new("Sound",tor)
| |
| 1283 | TimeStop.SoundId = "rbxassetid://290807425" | |
| 1284 | TimeStop.Looped = false | |
| 1285 | TimeStop.Volume = 1 | |
| 1286 | local AreaOfEffect = Instance.new("Part",char)
| |
| 1287 | AreaOfEffect.Position = tor.Position | |
| 1288 | AreaOfEffect.Size = Vector3.new(0.01,0.01,0.01) | |
| 1289 | AreaOfEffect.Anchored = true | |
| 1290 | AreaOfEffect.CanCollide = false | |
| 1291 | AreaOfEffect.BrickColor = BrickColor.new("Institutional white")
| |
| 1292 | AreaOfEffect.Transparency = 0.9 | |
| 1293 | AreaOfEffect.Shape = "Ball" | |
| 1294 | AreaOfEffect.Material = "Neon" | |
| 1295 | ||
| 1296 | for i = 1,10 do | |
| 1297 | runKF(hesp4) | |
| 1298 | runKF(tosp4) | |
| 1299 | runKF(lasp4) | |
| 1300 | runKF(rasp4) | |
| 1301 | runKF(llsp4) | |
| 1302 | runKF(rlsp4) | |
| 1303 | wait() | |
| 1304 | end | |
| 1305 | TimeStop:Play() | |
| 1306 | for i = 1,10 do | |
| 1307 | AreaOfEffect.Size = AreaOfEffect.Size + Vector3.new(4.1,4.1,4.1) | |
| 1308 | AreaOfEffect.CFrame = char.Torso.CFrame | |
| 1309 | wait() | |
| 1310 | end | |
| 1311 | coroutine.wrap(function() | |
| 1312 | do local me={}
| |
| 1313 | ||
| 1314 | me.plrs = game:service'Workspace':children'' | |
| 1315 | ||
| 1316 | function me:getNear(mag) | |
| 1317 | local rtn = {}
| |
| 1318 | ||
| 1319 | for k,v in next,me.plrs do | |
| 1320 | local chxr = v | |
| 1321 | ||
| 1322 | if chxr then | |
| 1323 | if chxr:findFirstChild'Torso' then | |
| 1324 | local pos = (chxr.Torso.Position-tor.Position).magnitude | |
| 1325 | ||
| 1326 | if pos<=mag then | |
| 1327 | for a,b in pairs(chxr:children()) do | |
| 1328 | if b:IsA("BasePart") then
| |
| 1329 | table.insert(rtn, b) | |
| 1330 | end | |
| 1331 | end | |
| 1332 | end | |
| 1333 | end | |
| 1334 | end | |
| 1335 | end | |
| 1336 | return rtn | |
| 1337 | end | |
| 1338 | ||
| 1339 | for no, torso in ipairs(me:getNear(5555)) do | |
| 1340 | --print(torso:GetFullName()) | |
| 1341 | --print(torso:GetFullName()) | |
| 1342 | trappedTorsos:Capture(torso) | |
| 1343 | end | |
| 1344 | ||
| 1345 | ||
| 1346 | end | |
| 1347 | end)() | |
| 1348 | AreaOfEffect:Destroy() | |
| 1349 | local TimeHasStopped = Instance.new("Sound",tor)
| |
| 1350 | TimeHasStopped.SoundId = "rbxassetid://290807397" | |
| 1351 | TimeHasStopped.Looped = false | |
| 1352 | TimeHasStopped.Volume = 1 | |
| 1353 | wait(1.3) | |
| 1354 | TimeHasStopped:Play() | |
| 1355 | workspace.Gravity = 70 | |
| 1356 | for i,v in pairs(char:children()) do | |
| 1357 | if v:IsA("Part") then
| |
| 1358 | v.Anchored = false | |
| 1359 | end | |
| 1360 | if v:IsA("Hat") then
| |
| 1361 | v.Handle.Anchored = false | |
| 1362 | end | |
| 1363 | end | |
| 1364 | for i,v in pairs(pchar:children()) do | |
| 1365 | if v:IsA("Part") then
| |
| 1366 | v.Anchored = false | |
| 1367 | end | |
| 1368 | if v:IsA("Hat") then
| |
| 1369 | v.Handle.Anchored = false | |
| 1370 | end | |
| 1371 | end | |
| 1372 | if WasOn == false then | |
| 1373 | StandOn = false | |
| 1374 | WasOn = true | |
| 1375 | end | |
| 1376 | hum.WalkSpeed = 16 | |
| 1377 | noRig = false | |
| 1378 | Attacking = false | |
| 1379 | end | |
| 1380 | if Mode == "Time Start" then | |
| 1381 | local Toki = Instance.new("Sound",tor)
| |
| 1382 | Toki.SoundId = "rbxassetid://290810519" | |
| 1383 | Toki.Volume = 1 | |
| 1384 | Toki.Looped = false | |
| 1385 | Toki:Play() | |
| 1386 | local AreaOfEffect2 = Instance.new("Part",tor)
| |
| 1387 | AreaOfEffect2.Position = tor.Position | |
| 1388 | AreaOfEffect2.Size = Vector3.new(0.01,0.01,0.01) | |
| 1389 | AreaOfEffect2.Anchored = true | |
| 1390 | AreaOfEffect2.CanCollide = false | |
| 1391 | AreaOfEffect2.Transparency = 1 | |
| 1392 | AreaOfEffect2.BrickColor = BrickColor.new("Institutional white")
| |
| 1393 | AreaOfEffect2.Transparency = 0.99 | |
| 1394 | AreaOfEffect2.Shape = "Ball" | |
| 1395 | AreaOfEffect2.Material = "Neon" | |
| 1396 | AreaOfEffect2.Touched:connect(function(hit) | |
| 1397 | if hit ~= "Base" then | |
| 1398 | --hit.Anchored = false | |
| 1399 | end | |
| 1400 | end) | |
| 1401 | for i = 1,10 do | |
| 1402 | AreaOfEffect2.Size = AreaOfEffect2.Size + Vector3.new(4.1,4.1,4.1) | |
| 1403 | AreaOfEffect2.CFrame = char.Torso.CFrame | |
| 1404 | wait() | |
| 1405 | end | |
| 1406 | trappedTorsos:Release() | |
| 1407 | AreaOfEffect2:Destroy() | |
| 1408 | TfwTimeStopped = false | |
| 1409 | workspace.Gravity = 196.2 | |
| 1410 | end | |
| 1411 | if Mode == "Wry" then | |
| 1412 | local WWRRRYYYYY = Instance.new("Sound",tor)
| |
| 1413 | WWRRRYYYYY.SoundId = "rbxassetid://499932933" | |
| 1414 | WWRRRYYYYY.Volume = 1 | |
| 1415 | WWRRRYYYYY.Looped = false | |
| 1416 | WWRRRYYYYY:Play() | |
| 1417 | end | |
| 1418 | end | |
| 1419 | ||
| 1420 | Rapid = false | |
| 1421 | TimeStopped = false | |
| 1422 | OneSecond = false | |
| 1423 | Cha = char | |
| 1424 | Character = char | |
| 1425 | it=Instance.new | |
| 1426 | vt=Vector3.new | |
| 1427 | cn=CFrame.new | |
| 1428 | euler=CFrame.fromEulerAnglesXYZ | |
| 1429 | angles=CFrame.Angles | |
| 1430 | RootPart = hrp | |
| 1431 | mouse.KeyDown:connect(function(key) | |
| 1432 | if key == "q" then | |
| 1433 | if TimeStopped == false and Attacking == false then | |
| 1434 | TheWorld("Time Stop")
| |
| 1435 | TimeStopped = true | |
| 1436 | TfwTimeStopped = true | |
| 1437 | --[[wait(10) | |
| 1438 | if TimeStopped == true then | |
| 1439 | TheWorld("Time Start")
| |
| 1440 | TimeStopped = false | |
| 1441 | end]] | |
| 1442 | elseif TimeStopped == true and Attacking == false then | |
| 1443 | TheWorld("Time Start")
| |
| 1444 | TimeStopped = false | |
| 1445 | end | |
| 1446 | end | |
| 1447 | if key == "p" and TimeStopped == false and Attacking == false then | |
| 1448 | TheWorld("World Time Stop")
| |
| 1449 | TimeStopped = true | |
| 1450 | TfwTimeStopped = true | |
| 1451 | end | |
| 1452 | if key == "f" then | |
| 1453 | if StandOn then | |
| 1454 | StandOn = false | |
| 1455 | else | |
| 1456 | StandOn = true | |
| 1457 | TheWorld("Wry")
| |
| 1458 | end | |
| 1459 | end | |
| 1460 | if key == "t" and OneSecond == false then | |
| 1461 | OneSecond = true | |
| 1462 | for i, v in pairs(Cha:GetChildren()) do | |
| 1463 | if v:IsA('Hat') then
| |
| 1464 | v.Handle.Transparency=1 | |
| 1465 | end | |
| 1466 | end | |
| 1467 | Cha.Head.Transparency = 0.2 | |
| 1468 | Cha.Torso.Transparency = 0.2 | |
| 1469 | Cha["Right Arm"].Transparency = 0.2 | |
| 1470 | Cha["Left Arm"].Transparency = 0.2 | |
| 1471 | Cha["Right Leg"].Transparency = 0.2 | |
| 1472 | Cha["Left Leg"].Transparency = 0.2 | |
| 1473 | wait() | |
| 1474 | Cha.Head.Transparency = 0.4 | |
| 1475 | Cha.Torso.Transparency = 0.4 | |
| 1476 | Cha["Right Arm"].Transparency = 0.4 | |
| 1477 | Cha["Left Arm"].Transparency = 0.4 | |
| 1478 | Cha["Right Leg"].Transparency = 0.4 | |
| 1479 | Cha["Left Leg"].Transparency = 0.4 | |
| 1480 | wait() | |
| 1481 | Cha.Head.Transparency = 0.6 | |
| 1482 | Cha.Torso.Transparency = 0.6 | |
| 1483 | Cha["Right Arm"].Transparency = 0.6 | |
| 1484 | Cha["Left Arm"].Transparency = 0.6 | |
| 1485 | Cha["Right Leg"].Transparency = 0.6 | |
| 1486 | Cha["Left Leg"].Transparency = 0.6 | |
| 1487 | wait() | |
| 1488 | Cha.Head.Transparency = 0.8 | |
| 1489 | Cha.Torso.Transparency = 0.8 | |
| 1490 | Cha["Right Arm"].Transparency = 0.8 | |
| 1491 | Cha["Left Arm"].Transparency = 0.8 | |
| 1492 | Cha["Right Leg"].Transparency = 0.8 | |
| 1493 | Cha["Left Leg"].Transparency = 0.8 | |
| 1494 | wait() | |
| 1495 | Cha.Head.Transparency = 1 | |
| 1496 | Cha.Torso.Transparency = 1 | |
| 1497 | Cha["Right Arm"].Transparency = 1 | |
| 1498 | Cha["Left Arm"].Transparency = 1 | |
| 1499 | Cha["Right Leg"].Transparency = 1 | |
| 1500 | Cha["Left Leg"].Transparency = 1 | |
| 1501 | ||
| 1502 | Targ = CFrame.new(Vector3.new(mouse.Hit.x, mouse.Hit.y + 5, mouse.Hit.z)) | |
| 1503 | print("ZA WARUDO!")
| |
| 1504 | ||
| 1505 | Player.Character.Torso.CFrame = Targ | |
| 1506 | ||
| 1507 | wait() | |
| 1508 | for i, v in pairs(Cha:GetChildren()) do | |
| 1509 | if v:IsA('Hat') then
| |
| 1510 | v.Handle.Transparency=0 | |
| 1511 | end | |
| 1512 | end | |
| 1513 | Cha.Head.Transparency = 0.8 | |
| 1514 | Cha.Torso.Transparency = 0.8 | |
| 1515 | Cha["Right Arm"].Transparency = 0.8 | |
| 1516 | Cha["Left Arm"].Transparency = 0.8 | |
| 1517 | Cha["Right Leg"].Transparency = 0.8 | |
| 1518 | Cha["Left Leg"].Transparency = 0.8 | |
| 1519 | wait() | |
| 1520 | Cha.Head.Transparency = 0.6 | |
| 1521 | Cha.Torso.Transparency = 0.6 | |
| 1522 | Cha["Right Arm"].Transparency = 0.6 | |
| 1523 | Cha["Left Arm"].Transparency = 0.6 | |
| 1524 | Cha["Right Leg"].Transparency = 0.6 | |
| 1525 | Cha["Left Leg"].Transparency = 0.6 | |
| 1526 | wait() | |
| 1527 | Cha.Head.Transparency = 0.4 | |
| 1528 | Cha.Torso.Transparency = 0.4 | |
| 1529 | Cha["Right Arm"].Transparency = 0.4 | |
| 1530 | Cha["Left Arm"].Transparency = 0.4 | |
| 1531 | Cha["Right Leg"].Transparency = 0.4 | |
| 1532 | Cha["Left Leg"].Transparency = 0.4 | |
| 1533 | wait() | |
| 1534 | Cha.Head.Transparency = 0.2 | |
| 1535 | Cha.Torso.Transparency = 0.2 | |
| 1536 | Cha["Right Arm"].Transparency = 0.2 | |
| 1537 | Cha["Left Arm"].Transparency = 0.2 | |
| 1538 | Cha["Right Leg"].Transparency = 0.2 | |
| 1539 | Cha["Left Leg"].Transparency = 0.2 | |
| 1540 | wait() | |
| 1541 | Cha.Head.Transparency = 0 | |
| 1542 | Cha.Torso.Transparency = 0 | |
| 1543 | Cha["Right Arm"].Transparency = 0 | |
| 1544 | Cha["Left Arm"].Transparency = 0 | |
| 1545 | Cha["Right Leg"].Transparency = 0 | |
| 1546 | Cha["Left Leg"].Transparency = 0 | |
| 1547 | ||
| 1548 | wait() | |
| 1549 | OneSecond = false | |
| 1550 | end | |
| 1551 | if key == "v" then | |
| 1552 | Rapid = true | |
| 1553 | local ORA = Instance.new("Sound",char)
| |
| 1554 | ORA.SoundId = "rbxassetid://291088692" | |
| 1555 | ORA.Volume = 1 | |
| 1556 | ORA.Looped = false | |
| 1557 | ORA:Play() | |
| 1558 | Attacking = true | |
| 1559 | con1 = ram2.Touched:connect(function(hit) Damagefunc(torso,hit,1,4,math.random(0,0),"Killer Queen",RootPart,.2,1) end) | |
| 1560 | con2 = lam2.Touched:connect(function(hit) Damagefunc(torso,hit,4,2,math.random(0,0),"Killer Queen",RootPart,.2,1) end) | |
| 1561 | while Rapid == true do | |
| 1562 | for i = 1, 3 do | |
| 1563 | raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7) | |
| 1564 | law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 1.7) | |
| 1565 | hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3) | |
| 1566 | tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3) | |
| 1567 | llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3) | |
| 1568 | rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3) | |
| 1569 | wait() | |
| 1570 | end | |
| 1571 | for i = 1, 3 do | |
| 1572 | raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(0),math.rad(-50)), 1.7) | |
| 1573 | law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(math.random(-20,20)),math.rad(-20)), 1.7) | |
| 1574 | hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3) | |
| 1575 | tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3) | |
| 1576 | llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3) | |
| 1577 | rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3) | |
| 1578 | wait() | |
| 1579 | end | |
| 1580 | for i = 1, 3 do | |
| 1581 | raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7) | |
| 1582 | law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 1.7) | |
| 1583 | hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3) | |
| 1584 | tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3) | |
| 1585 | llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3) | |
| 1586 | rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3) | |
| 1587 | wait() | |
| 1588 | end | |
| 1589 | for i = 1, 3 do | |
| 1590 | raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(0),math.rad(-50)), 1.7) | |
| 1591 | law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(math.random(-20,20)),math.rad(-20)), 1.7) | |
| 1592 | hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3) | |
| 1593 | tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3) | |
| 1594 | llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3) | |
| 1595 | rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3) | |
| 1596 | wait() | |
| 1597 | end | |
| 1598 | end | |
| 1599 | con1:disconnect() | |
| 1600 | con2:disconnect() | |
| 1601 | local MIDORA = Instance.new("Sound",char)
| |
| 1602 | MIDORA.SoundId = "rbxassetid://291088797" | |
| 1603 | MIDORA.Looped = false | |
| 1604 | MIDORA:Play() | |
| 1605 | ORA:Stop() | |
| 1606 | Attacking = false | |
| 1607 | end | |
| 1608 | if key == "e" then | |
| 1609 | if StandOn == true then | |
| 1610 | Rapid = true | |
| 1611 | local ORA = Instance.new("Sound",char)
| |
| 1612 | ORA.SoundId = "rbxassetid://291088692" | |
| 1613 | ORA.Volume = 1 | |
| 1614 | ORA.Looped = false | |
| 1615 | ORA:Play() | |
| 1616 | Attacking = true | |
| 1617 | con1 = ram2.Touched:connect(function(hit) Damagefunc(torso,hit,3,1,math.random(0,0),"Normal",RootPart,.2,1) end) | |
| 1618 | con2 = lam2.Touched:connect(function(hit) Damagefunc(torso,hit,1,3,math.random(0,0),"Normal",RootPart,.2,1) end) | |
| 1619 | while Rapid == true do | |
| 1620 | for i = 1, 3 do | |
| 1621 | raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7) | |
| 1622 | law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 1.7) | |
| 1623 | hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3) | |
| 1624 | tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3) | |
| 1625 | llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3) | |
| 1626 | rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3) | |
| 1627 | wait() | |
| 1628 | end | |
| 1629 | for i = 1, 3 do | |
| 1630 | raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(0),math.rad(-50)), 1.7) | |
| 1631 | law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(math.random(-20,20)),math.rad(-20)), 1.7) | |
| 1632 | hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3) | |
| 1633 | tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3) | |
| 1634 | llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3) | |
| 1635 | rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3) | |
| 1636 | wait() | |
| 1637 | end | |
| 1638 | for i = 1, 3 do | |
| 1639 | raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7) | |
| 1640 | law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 1.7) | |
| 1641 | hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3) | |
| 1642 | tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3) | |
| 1643 | llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3) | |
| 1644 | rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3) | |
| 1645 | wait() | |
| 1646 | end | |
| 1647 | for i = 1, 3 do | |
| 1648 | raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(0),math.rad(-50)), 1.7) | |
| 1649 | law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(math.random(-20,20)),math.rad(-20)), 1.7) | |
| 1650 | hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3) | |
| 1651 | tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3) | |
| 1652 | llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3) | |
| 1653 | rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3) | |
| 1654 | wait() | |
| 1655 | end | |
| 1656 | end | |
| 1657 | con1:disconnect() | |
| 1658 | con2:disconnect() | |
| 1659 | local MIDORA = Instance.new("Sound",char)
| |
| 1660 | MIDORA.SoundId = "rbxassetid://291088797" | |
| 1661 | MIDORA.Looped = false | |
| 1662 | MIDORA:Play() | |
| 1663 | ORA:Stop() | |
| 1664 | Attacking = false | |
| 1665 | elseif StandOn == false then | |
| 1666 | Rapid = true | |
| 1667 | local ORA = Instance.new("Sound",char)
| |
| 1668 | ORA.SoundId = "rbxassetid://291088692" | |
| 1669 | ORA.Volume = 1 | |
| 1670 | ORA.Looped = false | |
| 1671 | ORA:Play() | |
| 1672 | con1 = ram.Touched:connect(function(hit) Damagefunc(torso,hit,4,1,math.random(0,0),"Normal",RootPart,.2,1) end) | |
| 1673 | con2 = lam.Touched:connect(function(hit) Damagefunc(torso,hit,1,5,math.random(0,0),"Normal",RootPart,.2,1) end) | |
| 1674 | while Rapid == true do | |
| 1675 | for i = 1, 3 do | |
| 1676 | raw.C0 = RLerp(raw.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7) | |
| 1677 | law.C0 = RLerp(law.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 1.7) | |
| 1678 | hew.C0 = RLerp(hew.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3) | |
| 1679 | tow.C0 = RLerp(tow.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3) | |
| 1680 | llw.C0 = RLerp(llw.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3) | |
| 1681 | rlw.C0 = RLerp(rlw.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3) | |
| 1682 | wait() | |
| 1683 | end | |
| 1684 | for i = 1, 3 do | |
| 1685 | raw.C0 = RLerp(raw.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(0),math.rad(-50)), 1.7) | |
| 1686 | law.C0 = RLerp(law.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(math.random(-20,20)),math.rad(-20)), 1.7) | |
| 1687 | hew.C0 = RLerp(hew.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3) | |
| 1688 | tow.C0 = RLerp(tow.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3) | |
| 1689 | llw.C0 = RLerp(llw.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3) | |
| 1690 | rlw.C0 = RLerp(rlw.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3) | |
| 1691 | wait() | |
| 1692 | end | |
| 1693 | for i = 1, 3 do | |
| 1694 | raw.C0 = RLerp(raw.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7) | |
| 1695 | law.C0 = RLerp(law.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 1.7) | |
| 1696 | hew.C0 = RLerp(hew.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3) | |
| 1697 | tow.C0 = RLerp(tow.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3) | |
| 1698 | llw.C0 = RLerp(llw.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3) | |
| 1699 | rlw.C0 = RLerp(rlw.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3) | |
| 1700 | wait() | |
| 1701 | end | |
| 1702 | for i = 1, 3 do | |
| 1703 | raw.C0 = RLerp(raw.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(0),math.rad(-50)), 1.7) | |
| 1704 | law.C0 = RLerp(law.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(math.random(-20,20)),math.rad(-20)), 1.7) | |
| 1705 | hew.C0 = RLerp(hew.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3) | |
| 1706 | tow.C0 = RLerp(tow.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3) | |
| 1707 | llw.C0 = RLerp(llw.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3) | |
| 1708 | rlw.C0 = RLerp(rlw.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3) | |
| 1709 | wait() | |
| 1710 | end | |
| 1711 | end | |
| 1712 | con1:disconnect() | |
| 1713 | con2:disconnect() | |
| 1714 | local MIDORA = Instance.new("Sound",char)
| |
| 1715 | MIDORA.SoundId = "rbxassetid://291088797" | |
| 1716 | MIDORA.Looped = false | |
| 1717 | MIDORA:Play() | |
| 1718 | ORA:Stop() | |
| 1719 | end | |
| 1720 | end | |
| 1721 | if key == "r" and Attacking == false then | |
| 1722 | con1 = ram2.Touched:connect(function(hit) Damagefunc(torso,hit,4,2,math.random(100,100),"Knockdown",RootPart,.2,1) end) | |
| 1723 | Attacking = true | |
| 1724 | for i = 1, 3 do | |
| 1725 | raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7) | |
| 1726 | law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 1.7) | |
| 1727 | hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3) | |
| 1728 | tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3) | |
| 1729 | llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3) | |
| 1730 | rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3) | |
| 1731 | wait() | |
| 1732 | end | |
| 1733 | local MIDORA = Instance.new("Sound",char)
| |
| 1734 | MIDORA.SoundId = "rbxassetid://291088797" | |
| 1735 | MIDORA.Looped = false | |
| 1736 | MIDORA:Play() | |
| 1737 | wait(1) | |
| 1738 | con1:disconnect() | |
| 1739 | Attacking = false | |
| 1740 | end | |
| 1741 | if key == "g" and Attacking == false then | |
| 1742 | con1 = ram2.Touched:connect(function(hit) | |
| 1743 | Damagefunc(torso,hit,5,15,math.random(100,100),"Killer Queen",RootPart,.2,1) | |
| 1744 | end) | |
| 1745 | Attacking = true | |
| 1746 | for i = 1, 3 do | |
| 1747 | raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7) | |
| 1748 | law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 1.7) | |
| 1749 | hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3) | |
| 1750 | tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3) | |
| 1751 | llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3) | |
| 1752 | rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3) | |
| 1753 | wait() | |
| 1754 | end | |
| 1755 | local MIDORA = Instance.new("Sound",char)
| |
| 1756 | MIDORA.SoundId = "rbxassetid://291088797" | |
| 1757 | MIDORA.Looped = false | |
| 1758 | MIDORA:Play() | |
| 1759 | wait(1) | |
| 1760 | con1:disconnect() | |
| 1761 | Attacking = false | |
| 1762 | end | |
| 1763 | end) | |
| 1764 | ||
| 1765 | mouse.KeyUp:connect(function(key) | |
| 1766 | if key == "e" and Rapid == true or key == "v" and Rapid == true then | |
| 1767 | Rapid = false | |
| 1768 | end | |
| 1769 | end) | |
| 1770 | ||
| 1771 | for i, v in pairs(pchar:GetChildren()) do | |
| 1772 | if v:IsA('Hat') then
| |
| 1773 | v.Handle.Transparency=1 | |
| 1774 | end | |
| 1775 | if v:IsA("Part") then
| |
| 1776 | v.BrickColor = BrickColor.new("Really black")
| |
| 1777 | end | |
| 1778 | end | |
| 1779 | ||
| 1780 | -------------------------------Sprint | |
| 1781 | mouse.KeyDown:connect(function(key) | |
| 1782 | if string.byte(key) == 48 then | |
| 1783 | hum.WalkSpeed = 48 | |
| 1784 | end | |
| 1785 | end) | |
| 1786 | mouse.KeyUp:connect(function(key) | |
| 1787 | if string.byte(key) == 48 then | |
| 1788 | hum.WalkSpeed=16 | |
| 1789 | end | |
| 1790 | end) | |
| 1791 | ------------------------------------- | |
| 1792 | hum.FreeFalling:connect(function(f) | |
| 1793 | if f then | |
| 1794 | ffing=true | |
| 1795 | else | |
| 1796 | ffing=false | |
| 1797 | end | |
| 1798 | end) | |
| 1799 | StandOn = true | |
| 1800 | local hrprv=0 | |
| 1801 | angle = 0 | |
| 1802 | angle2 = 0 | |
| 1803 | angle3 = 0 | |
| 1804 | anglespeed = 2 | |
| 1805 | anglespeed2 = 1 | |
| 1806 | anglespeed3 = .4 | |
| 1807 | MyHealth = hum.Health | |
| 1808 | MyMaxHealth = hum.MaxHealth | |
| 1809 | MyMaxHealth = humane.Health | |
| 1810 | MyHealth = humane.Health | |
| 1811 | humane.Name = "The Worldo" | |
| 1812 | game:GetService("RunService").Stepped:connect(function()
| |
| 1813 | angle = ((angle % 100) + anglespeed/10) | |
| 1814 | angle2 = ((angle2 % 100) + anglespeed2/10) | |
| 1815 | angle3 = ((angle3 % 100) + anglespeed3/10) | |
| 1816 | hrprv=Tween(hrprv,hrp.RotVelocity.Y,0.4) | |
| 1817 | sine=sine+1 | |
| 1818 | if StandOn == false then | |
| 1819 | for i,v in pairs(pchar:children()) do | |
| 1820 | if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
| |
| 1821 | v.Transparency = 1 | |
| 1822 | end | |
| 1823 | end | |
| 1824 | elseif StandOn == true then | |
| 1825 | for i,v in pairs(pchar:children()) do | |
| 1826 | if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
| |
| 1827 | v.Transparency = 0 | |
| 1828 | end | |
| 1829 | end | |
| 1830 | end | |
| 1831 | MyHealth = humane.Health | |
| 1832 | humane.Health = MyHealth | |
| 1833 | if hum.Sit==true then | |
| 1834 | animpose="Sitting" | |
| 1835 | elseif ffing==true then | |
| 1836 | animpose="Freefalling" | |
| 1837 | elseif (hrp.Velocity*Vn(1,0,1)).magnitude<2 then | |
| 1838 | animpose="Idle" | |
| 1839 | elseif (hrp.Velocity*Vn(1,0,1)).magnitude<20 then | |
| 1840 | animpose="Walking" | |
| 1841 | elseif (hrp.Velocity*Vn(1,0,1)).magnitude>20 then | |
| 1842 | animpose="Sprinting" | |
| 1843 | end | |
| 1844 | if Attacking == false then | |
| 1845 | torso.CFrame = hrp.CFrame*CFrame.new(0,0,2) | |
| 1846 | runKF(heid2) | |
| 1847 | runKF(toid2) | |
| 1848 | runKF(laid2) | |
| 1849 | runKF(raid2) | |
| 1850 | runKF(llid2) | |
| 1851 | runKF(rlid2) | |
| 1852 | end | |
| 1853 | if noRig==false then | |
| 1854 | if animpose=="Idle" then | |
| 1855 | runKF(heid) | |
| 1856 | runKF(toid) | |
| 1857 | runKF(laid) | |
| 1858 | runKF(raid) | |
| 1859 | runKF(llid) | |
| 1860 | runKF(rlid) | |
| 1861 | elseif animpose=="Walking" then | |
| 1862 | runKF(hewk) | |
| 1863 | runKF(towk) | |
| 1864 | runKF(lawk) | |
| 1865 | runKF(rawk) | |
| 1866 | runKF(llwk) | |
| 1867 | runKF(rlwk) | |
| 1868 | --tow.C0=tow.C0:lerp(tow.C0*CA(0,0,hrprv/25),0.4) | |
| 1869 | --rlw.C0=rlw.C0:lerp(rlw.C0*CA(0,0,-hrprv/25),0.4) | |
| 1870 | ---llw.C0=llw.C0:lerp(llw.C0*CA(0,0,-hrprv/25),0.4) | |
| 1871 | elseif animpose=="Sprinting" then | |
| 1872 | runKF(hesp) | |
| 1873 | runKF(tosp) | |
| 1874 | runKF(lasp) | |
| 1875 | runKF(rasp) | |
| 1876 | runKF(llsp) | |
| 1877 | runKF(rlsp) | |
| 1878 | --tow.C0=tow.C0:lerp(tow.C0*CA(0,0,hrprv/10),0.4) | |
| 1879 | --rlw.C0=rlw.C0:lerp(rlw.C0*CA(0,0,-hrprv/10),0.4) | |
| 1880 | --llw.C0=llw.C0:lerp(llw.C0*CA(0,0,-hrprv/10),0.4) | |
| 1881 | elseif animpose=="Freefalling" then | |
| 1882 | runKF(heff) | |
| 1883 | runKF(toff) | |
| 1884 | runKF(laff) | |
| 1885 | runKF(raff) | |
| 1886 | runKF(llff) | |
| 1887 | runKF(rlff) | |
| 1888 | --tow.C0=tow.C0:lerp(tow.C0*CA(0,0,hrprv/10),0.4) | |
| 1889 | end | |
| 1890 | end | |
| 1891 | end) | |
| 1892 | ||
| 1893 | ||
| 1894 | A = true | |
| 1895 | if A == true then | |
| 1896 | Model = Instance.new("Model")
| |
| 1897 | Model.Name = "Weapon" | |
| 1898 | p = Instance.new("Part", Model)
| |
| 1899 | p.Name = "Part" | |
| 1900 | p.TopSurface = 0 | |
| 1901 | p.BottomSurface = 0 | |
| 1902 | p.formFactor = "Custom" | |
| 1903 | p.Size = Vector3.new(10, 12, 10) | |
| 1904 | p.CFrame = CFrame.new(35.4000015, 7.0999999, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 1905 | p.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1906 | p.Transparency = 0 | |
| 1907 | p.Reflectance = .1 | |
| 1908 | p.Material = Enum.Material.Concrete | |
| 1909 | m = Instance.new("CylinderMesh")
| |
| 1910 | m.Scale = Vector3.new(1, 1.02999997, 1) | |
| 1911 | m.Parent = p | |
| 1912 | p = Instance.new("Part", Model)
| |
| 1913 | p.Name = "Part" | |
| 1914 | p.TopSurface = 0 | |
| 1915 | p.BottomSurface = 0 | |
| 1916 | p.formFactor = "Custom" | |
| 1917 | p.Size = Vector3.new(2, 12.8, 2) | |
| 1918 | p.CFrame = CFrame.new(35.4000015, 7.19999981, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 1919 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 1920 | p.Transparency = 0 | |
| 1921 | p.Reflectance = .1 | |
| 1922 | p.Material = Enum.Material.Plastic | |
| 1923 | m = Instance.new("CylinderMesh")
| |
| 1924 | m.Scale = Vector3.new(1, 1, 1) | |
| 1925 | m.Parent = p | |
| 1926 | p = Instance.new("Part", Model)
| |
| 1927 | p.Name = "Part" | |
| 1928 | p.TopSurface = 0 | |
| 1929 | p.BottomSurface = 0 | |
| 1930 | p.formFactor = "Custom" | |
| 1931 | p.Size = Vector3.new(1.79, 5, 1) | |
| 1932 | p.CFrame = CFrame.new(29.7000179, 8.89999485, 63.3000221, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 1933 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 1934 | p.Transparency = 0 | |
| 1935 | p.Reflectance = .1 | |
| 1936 | p.Material = Enum.Material.Plastic | |
| 1937 | p = Instance.new("Part", Model)
| |
| 1938 | p.Name = "Part" | |
| 1939 | p.TopSurface = 0 | |
| 1940 | p.BottomSurface = 0 | |
| 1941 | p.formFactor = "Custom" | |
| 1942 | p.Size = Vector3.new(5, 1.40, 0.99) | |
| 1943 | p.CFrame = CFrame.new(29.7000198, 10.4999943, 63.3000031, -1.49008788e-008, -2.3933373e-007, 0.999990225, 6.6675625e-009, 0.99999392, 2.39334668e-007, -0.999994516, 6.66761935e-009, 7.45059765e-008) | |
| 1944 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 1945 | p.Transparency = 0 | |
| 1946 | p.Reflectance = .1 | |
| 1947 | p.Material = Enum.Material.Plastic | |
| 1948 | m = Instance.new("SpecialMesh")
| |
| 1949 | m.Scale = Vector3.new(1, 1, 1) | |
| 1950 | m.Parent = p | |
| 1951 | m.MeshType = Enum.MeshType.Wedge | |
| 1952 | p = Instance.new("Part", Model)
| |
| 1953 | p.Name = "Center" | |
| 1954 | p.TopSurface = 0 | |
| 1955 | p.BottomSurface = 0 | |
| 1956 | p.formFactor = "Custom" | |
| 1957 | p.Size = Vector3.new(12.5, 5.80, 27.6) | |
| 1958 | p.CFrame = CFrame.new(43.0000076, 9.30000114, 62.8999977, 1.06581131e-014, -8.74229471e-008, 1, -7.10542736e-015, 1, 8.742294e-008, -1, -7.10542736e-015, -4.37113776e-008) | |
| 1959 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 1960 | p.Transparency = 1 | |
| 1961 | p.Reflectance = .1 | |
| 1962 | p.Material = Enum.Material.Plastic | |
| 1963 | p = Instance.new("Part", Model)
| |
| 1964 | p.Name = "Part" | |
| 1965 | p.TopSurface = 0 | |
| 1966 | p.BottomSurface = 0 | |
| 1967 | p.formFactor = "Custom" | |
| 1968 | p.Size = Vector3.new(6.80, 1, 6.00) | |
| 1969 | p.CFrame = CFrame.new(51.9999924, 9.06999207, 68.6000443, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 1970 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 1971 | p.Transparency = 0 | |
| 1972 | p.Reflectance = .1 | |
| 1973 | p.Material = Enum.Material.Plastic | |
| 1974 | p = Instance.new("Part", Model)
| |
| 1975 | p.Name = "Part" | |
| 1976 | p.TopSurface = 0 | |
| 1977 | p.BottomSurface = 0 | |
| 1978 | p.formFactor = "Custom" | |
| 1979 | p.Size = Vector3.new(11, 5.40, 2.79) | |
| 1980 | p.CFrame = CFrame.new(56.5999718, 9.76999664, 63.0000076, 1.49011612e-008, 5.89458523e-007, -0.999990225, -3.49571337e-007, 0.99999392, 5.89460512e-007, 0.999994278, 3.49571422e-007, -4.47034836e-008) | |
| 1981 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 1982 | p.Transparency = 0 | |
| 1983 | p.Reflectance = .1 | |
| 1984 | p.Material = Enum.Material.Plastic | |
| 1985 | m = Instance.new("SpecialMesh")
| |
| 1986 | m.Scale = Vector3.new(1, 1, 1) | |
| 1987 | m.Parent = p | |
| 1988 | m.MeshType = Enum.MeshType.Wedge | |
| 1989 | p = Instance.new("Part", Model)
| |
| 1990 | p.Name = "Part" | |
| 1991 | p.TopSurface = 0 | |
| 1992 | p.BottomSurface = 0 | |
| 1993 | p.formFactor = "Custom" | |
| 1994 | p.Size = Vector3.new(2.60, 11, 1.99) | |
| 1995 | p.CFrame = CFrame.new(39.4000015, 10.7699995, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 1996 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 1997 | p.Transparency = 0 | |
| 1998 | p.Reflectance = .1 | |
| 1999 | p.Material = Enum.Material.Plastic | |
| 2000 | p = Instance.new("Part", Model)
| |
| 2001 | p.Name = "Part" | |
| 2002 | p.TopSurface = 0 | |
| 2003 | p.BottomSurface = 0 | |
| 2004 | p.formFactor = "Custom" | |
| 2005 | p.Size = Vector3.new(3.20, 11.0, 5) | |
| 2006 | p.CFrame = CFrame.new(35.9000092, 11.0999928, 63.0000153, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 2007 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 2008 | p.Transparency = 0 | |
| 2009 | p.Reflectance = .1 | |
| 2010 | p.Material = Enum.Material.Plastic | |
| 2011 | p = Instance.new("Part", Model)
| |
| 2012 | p.Name = "Part" | |
| 2013 | p.TopSurface = 0 | |
| 2014 | p.BottomSurface = 0 | |
| 2015 | p.formFactor = "Custom" | |
| 2016 | p.Size = Vector3.new(1.99, 1, 1) | |
| 2017 | p.CFrame = CFrame.new(51.8999863, 16.6699886, 58.4000015, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 2018 | p.BrickColor = BrickColor.new("Mid gray")
| |
| 2019 | p.Transparency = 0 | |
| 2020 | p.Reflectance = .1 | |
| 2021 | p.Material = Enum.Material.Plastic | |
| 2022 | p = Instance.new("Part", Model)
| |
| 2023 | p.Name = "Part" | |
| 2024 | p.TopSurface = 0 | |
| 2025 | p.BottomSurface = 0 | |
| 2026 | p.formFactor = "Custom" | |
| 2027 | p.Size = Vector3.new(1, 1, 4.59) | |
| 2028 | p.CFrame = CFrame.new(49.099987, 18.1699905, 58.4000015, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 2029 | p.BrickColor = BrickColor.new("Mid gray")
| |
| 2030 | p.Transparency = 0 | |
| 2031 | p.Reflectance = .1 | |
| 2032 | p.Material = Enum.Material.Plastic | |
| 2033 | p = Instance.new("Part", Model)
| |
| 2034 | p.Name = "Part" | |
| 2035 | p.TopSurface = 0 | |
| 2036 | p.BottomSurface = 0 | |
| 2037 | p.formFactor = "Custom" | |
| 2038 | p.Size = Vector3.new(1, 12.6, 9.80) | |
| 2039 | p.CFrame = CFrame.new(40.2999878, 6.77000237, 63.0000038, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 2040 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 2041 | p.Transparency = 0 | |
| 2042 | p.Reflectance = .1 | |
| 2043 | p.Material = Enum.Material.Plastic | |
| 2044 | p = Instance.new("Part", Model)
| |
| 2045 | p.Name = "Part" | |
| 2046 | p.TopSurface = 0 | |
| 2047 | p.BottomSurface = 0 | |
| 2048 | p.formFactor = "Custom" | |
| 2049 | p.Size = Vector3.new(5.19, 1.39, 2.39) | |
| 2050 | p.CFrame = CFrame.new(32.2000008, 12.5999899, 63.2999992, -1.49008788e-008, -2.3933373e-007, 0.999990225, 6.6675625e-009, 0.99999392, 2.39334668e-007, -0.999994516, 6.66761935e-009, 7.45059765e-008) | |
| 2051 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 2052 | p.Transparency = 0 | |
| 2053 | p.Reflectance = .1 | |
| 2054 | p.Material = Enum.Material.Plastic | |
| 2055 | m = Instance.new("SpecialMesh")
| |
| 2056 | m.Scale = Vector3.new(1, 1, 1) | |
| 2057 | m.Parent = p | |
| 2058 | m.MeshType = Enum.MeshType.Wedge | |
| 2059 | p = Instance.new("Part", Model)
| |
| 2060 | p.Name = "Part" | |
| 2061 | p.TopSurface = 0 | |
| 2062 | p.BottomSurface = 0 | |
| 2063 | p.formFactor = "Custom" | |
| 2064 | p.Size = Vector3.new(11, 0.60, 1.99) | |
| 2065 | p.CFrame = CFrame.new(39.3999825, 12.3699951, 63.0000267, 1.49008779e-008, 2.39330944e-007, -0.999990225, 6.66761935e-009, 0.99999392, 2.39331769e-007, 0.999994516, -6.66753408e-009, -7.45059765e-008) | |
| 2066 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 2067 | p.Transparency = 0 | |
| 2068 | p.Reflectance = .1 | |
| 2069 | p.Material = Enum.Material.Plastic | |
| 2070 | m = Instance.new("SpecialMesh")
| |
| 2071 | m.Scale = Vector3.new(1, 1, 1) | |
| 2072 | m.Parent = p | |
| 2073 | m.MeshType = Enum.MeshType.Wedge | |
| 2074 | p = Instance.new("Part", Model)
| |
| 2075 | p.Name = "Part" | |
| 2076 | p.TopSurface = 0 | |
| 2077 | p.BottomSurface = 0 | |
| 2078 | p.formFactor = "Custom" | |
| 2079 | p.Size = Vector3.new(3.20, 11, 5.60) | |
| 2080 | p.CFrame = CFrame.new(50.1999855, 14.0699921, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 2081 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 2082 | p.Transparency = 0 | |
| 2083 | p.Reflectance = .1 | |
| 2084 | p.Material = Enum.Material.Plastic | |
| 2085 | p = Instance.new("Part", Model)
| |
| 2086 | p.Name = "Part" | |
| 2087 | p.TopSurface = 0 | |
| 2088 | p.BottomSurface = 0 | |
| 2089 | p.formFactor = "Custom" | |
| 2090 | p.Size = Vector3.new(5, 13, 3.79) | |
| 2091 | p.CFrame = CFrame.new(43.2999916, 9.56999779, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 2092 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 2093 | p.Transparency = 0 | |
| 2094 | p.Reflectance = .1 | |
| 2095 | p.Material = Enum.Material.Plastic | |
| 2096 | p = Instance.new("Part", Model)
| |
| 2097 | p.Name = "Part" | |
| 2098 | p.TopSurface = 0 | |
| 2099 | p.BottomSurface = 0 | |
| 2100 | p.formFactor = "Custom" | |
| 2101 | p.Size = Vector3.new(5.19, 1.39, 2.39) | |
| 2102 | p.CFrame = CFrame.new(39.6000061, 12.599987, 63.2999992, 1.49011612e-008, 5.89458523e-007, -0.999990225, -3.49571337e-007, 0.99999392, 5.89460512e-007, 0.999994278, 3.49571422e-007, -4.47034836e-008) | |
| 2103 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 2104 | p.Transparency = 0 | |
| 2105 | p.Reflectance = .1 | |
| 2106 | p.Material = Enum.Material.Plastic | |
| 2107 | m = Instance.new("SpecialMesh")
| |
| 2108 | m.Scale = Vector3.new(1, 1, 1) | |
| 2109 | m.Parent = p | |
| 2110 | m.MeshType = Enum.MeshType.Wedge | |
| 2111 | p = Instance.new("Part", Model)
| |
| 2112 | p.Name = "Part" | |
| 2113 | p.TopSurface = 0 | |
| 2114 | p.BottomSurface = 0 | |
| 2115 | p.formFactor = "Custom" | |
| 2116 | p.Size = Vector3.new(5.19, 1, 1) | |
| 2117 | p.CFrame = CFrame.new(46.2999878, 15.069993, 67.5999985, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 2118 | p.BrickColor = BrickColor.new("Mid gray")
| |
| 2119 | p.Transparency = 0 | |
| 2120 | p.Reflectance = .1 | |
| 2121 | p.Material = Enum.Material.Plastic | |
| 2122 | p = Instance.new("Part", Model)
| |
| 2123 | p.Name = "Part" | |
| 2124 | p.TopSurface = 0 | |
| 2125 | p.BottomSurface = 0 | |
| 2126 | p.formFactor = "Custom" | |
| 2127 | p.Size = Vector3.new(3.20, 5, 4) | |
| 2128 | p.CFrame = CFrame.new(32.200016, 9.59999657, 63.3000221, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 2129 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 2130 | p.Transparency = 0 | |
| 2131 | p.Reflectance = .1 | |
| 2132 | p.Material = Enum.Material.Plastic | |
| 2133 | p = Instance.new("Part", Model)
| |
| 2134 | p.Name = "Part" | |
| 2135 | p.TopSurface = 0 | |
| 2136 | p.BottomSurface = 0 | |
| 2137 | p.formFactor = "Custom" | |
| 2138 | p.Size = Vector3.new(6, 6.79, 2.79) | |
| 2139 | p.CFrame = CFrame.new(51.9999924, 9.06999302, 70.5000458, -1, 0, -4.37113883e-008, 0, 1, 0, 4.37113883e-008, 0, -1) | |
| 2140 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 2141 | p.Transparency = 0 | |
| 2142 | p.Reflectance = .1 | |
| 2143 | p.Material = Enum.Material.Plastic | |
| 2144 | m = Instance.new("SpecialMesh")
| |
| 2145 | m.Scale = Vector3.new(1, 1, 1) | |
| 2146 | m.Parent = p | |
| 2147 | m.MeshType = Enum.MeshType.Wedge | |
| 2148 | p = Instance.new("Part", Model)
| |
| 2149 | p.Name = "Part" | |
| 2150 | p.TopSurface = 0 | |
| 2151 | p.BottomSurface = 0 | |
| 2152 | p.formFactor = "Custom" | |
| 2153 | p.Size = Vector3.new(0.60, 7.40, 3.79) | |
| 2154 | p.CFrame = CFrame.new(43.2999916, 12.3699942, 63.2000008, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 2155 | p.BrickColor = BrickColor.new("Black")
| |
| 2156 | p.Transparency = 0 | |
| 2157 | p.Reflectance = .1 | |
| 2158 | p.Material = Enum.Material.Plastic | |
| 2159 | p = Instance.new("Part", Model)
| |
| 2160 | p.Name = "Part" | |
| 2161 | p.TopSurface = 0 | |
| 2162 | p.BottomSurface = 0 | |
| 2163 | p.formFactor = "Custom" | |
| 2164 | p.Size = Vector3.new(6.80, 1, 6.00) | |
| 2165 | p.CFrame = CFrame.new(51.9999924, 9.06999588, 57.3999977, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 2166 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 2167 | p.Transparency = 0 | |
| 2168 | p.Reflectance = .1 | |
| 2169 | p.Material = Enum.Material.Plastic | |
| 2170 | p = Instance.new("Part", Model)
| |
| 2171 | p.Name = "Part" | |
| 2172 | p.TopSurface = 0 | |
| 2173 | p.BottomSurface = 0 | |
| 2174 | p.formFactor = "Custom" | |
| 2175 | p.Size = Vector3.new(11, 3.20, 2.19) | |
| 2176 | p.CFrame = CFrame.new(54.0999756, 14.0699921, 63.0000076, 1.49011612e-008, 5.89458523e-007, -0.999990225, -3.49571337e-007, 0.99999392, 5.89460512e-007, 0.999994278, 3.49571422e-007, -4.47034836e-008) | |
| 2177 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 2178 | p.Transparency = 0 | |
| 2179 | p.Reflectance = .1 | |
| 2180 | p.Material = Enum.Material.Plastic | |
| 2181 | m = Instance.new("SpecialMesh")
| |
| 2182 | m.Scale = Vector3.new(1, 1, 1) | |
| 2183 | m.Parent = p | |
| 2184 | m.MeshType = Enum.MeshType.Wedge | |
| 2185 | p = Instance.new("Part", Model)
| |
| 2186 | p.Name = "Part" | |
| 2187 | p.TopSurface = 0 | |
| 2188 | p.BottomSurface = 0 | |
| 2189 | p.formFactor = "Custom" | |
| 2190 | p.Size = Vector3.new(2.60, 11, 2.39) | |
| 2191 | p.CFrame = CFrame.new(32.1999741, 10.7699986, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 2192 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 2193 | p.Transparency = 0 | |
| 2194 | p.Reflectance = .1 | |
| 2195 | p.Material = Enum.Material.Plastic | |
| 2196 | p = Instance.new("Part", Model)
| |
| 2197 | p.Name = "Part" | |
| 2198 | p.TopSurface = 0 | |
| 2199 | p.BottomSurface = 0 | |
| 2200 | p.formFactor = "Custom" | |
| 2201 | p.Size = Vector3.new(5.19, 1, 1) | |
| 2202 | p.CFrame = CFrame.new(46.2999878, 15.0699921, 58.4000015, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 2203 | p.BrickColor = BrickColor.new("Mid gray")
| |
| 2204 | p.Transparency = 0 | |
| 2205 | p.Reflectance = .1 | |
| 2206 | p.Material = Enum.Material.Plastic | |
| 2207 | p = Instance.new("Part", Model)
| |
| 2208 | p.Name = "Part" | |
| 2209 | p.TopSurface = 0 | |
| 2210 | p.BottomSurface = 0 | |
| 2211 | p.formFactor = "Custom" | |
| 2212 | p.Size = Vector3.new(5, 0.80, 0.79) | |
| 2213 | p.CFrame = CFrame.new(30.6000195, 11.5999937, 63.3000107, -1.49008788e-008, -2.3933373e-007, 0.999990225, 6.6675625e-009, 0.99999392, 2.39334668e-007, -0.999994516, 6.66761935e-009, 7.45059765e-008) | |
| 2214 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 2215 | p.Transparency = 0 | |
| 2216 | p.Reflectance = .1 | |
| 2217 | p.Material = Enum.Material.Plastic | |
| 2218 | m = Instance.new("SpecialMesh")
| |
| 2219 | m.Scale = Vector3.new(1, 1, 1) | |
| 2220 | m.Parent = p | |
| 2221 | m.MeshType = Enum.MeshType.Wedge | |
| 2222 | p = Instance.new("Part", Model)
| |
| 2223 | p.Name = "Part" | |
| 2224 | p.TopSurface = 0 | |
| 2225 | p.BottomSurface = 0 | |
| 2226 | p.formFactor = "Custom" | |
| 2227 | p.Size = Vector3.new(10, 12, 10) | |
| 2228 | p.CFrame = CFrame.new(51.8000298, 7.099998, 63.0000191, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 2229 | p.BrickColor = BrickColor.new("Medium stone grey")
| |
| 2230 | p.Transparency = 0 | |
| 2231 | p.Reflectance = .1 | |
| 2232 | p.Material = Enum.Material.Concrete | |
| 2233 | m = Instance.new("CylinderMesh")
| |
| 2234 | m.Scale = Vector3.new(1, 1.02999997, 1) | |
| 2235 | m.Parent = p | |
| 2236 | p = Instance.new("Part", Model)
| |
| 2237 | p.Name = "Part" | |
| 2238 | p.TopSurface = 0 | |
| 2239 | p.BottomSurface = 0 | |
| 2240 | p.formFactor = "Custom" | |
| 2241 | p.Size = Vector3.new(0.60, 5.19, 5) | |
| 2242 | p.CFrame = CFrame.new(35.9000015, 13, 63.2999992, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 2243 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 2244 | p.Transparency = 0 | |
| 2245 | p.Reflectance = .1 | |
| 2246 | p.Material = Enum.Material.Plastic | |
| 2247 | p = Instance.new("Part", Model)
| |
| 2248 | p.Name = "Part" | |
| 2249 | p.TopSurface = 0 | |
| 2250 | p.BottomSurface = 0 | |
| 2251 | p.formFactor = "Custom" | |
| 2252 | p.Size = Vector3.new(6, 6.79, 2.79) | |
| 2253 | p.CFrame = CFrame.new(51.9999847, 9.06999207, 55.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2254 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 2255 | p.Transparency = 0 | |
| 2256 | p.Reflectance = .1 | |
| 2257 | p.Material = Enum.Material.Plastic | |
| 2258 | m = Instance.new("SpecialMesh")
| |
| 2259 | m.Scale = Vector3.new(1, 1, 1) | |
| 2260 | m.Parent = p | |
| 2261 | m.MeshType = Enum.MeshType.Wedge | |
| 2262 | p = Instance.new("Part", Model)
| |
| 2263 | p.Name = "Part" | |
| 2264 | p.TopSurface = 0 | |
| 2265 | p.BottomSurface = 0 | |
| 2266 | p.formFactor = "Custom" | |
| 2267 | p.Size = Vector3.new(2.79, 7.40, 0.79) | |
| 2268 | p.CFrame = CFrame.new(44.7999916, 14.0699921, 63.2000008, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 2269 | p.BrickColor = BrickColor.new("Black")
| |
| 2270 | p.Transparency = 0 | |
| 2271 | p.Reflectance = .1 | |
| 2272 | p.Material = Enum.Material.Plastic | |
| 2273 | p = Instance.new("Part", Model)
| |
| 2274 | p.Name = "Part" | |
| 2275 | p.TopSurface = 0 | |
| 2276 | p.BottomSurface = 0 | |
| 2277 | p.formFactor = "Custom" | |
| 2278 | p.Size = Vector3.new(5.40, 11, 10) | |
| 2279 | p.CFrame = CFrame.new(50.1999893, 9.76999474, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 2280 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 2281 | p.Transparency = 0 | |
| 2282 | p.Reflectance = .1 | |
| 2283 | p.Material = Enum.Material.Plastic | |
| 2284 | p = Instance.new("Part", Model)
| |
| 2285 | p.Name = "Part" | |
| 2286 | p.TopSurface = 0 | |
| 2287 | p.BottomSurface = 0 | |
| 2288 | p.formFactor = "Custom" | |
| 2289 | p.Size = Vector3.new(11, 0.60, 2.39) | |
| 2290 | p.CFrame = CFrame.new(32.1999855, 12.3699961, 62.9999733, -1.49008788e-008, -2.3933373e-007, 0.999990225, 6.6675625e-009, 0.99999392, 2.39334668e-007, -0.999994516, 6.66761935e-009, 7.45059765e-008) | |
| 2291 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 2292 | p.Transparency = 0 | |
| 2293 | p.Reflectance = .1 | |
| 2294 | p.Material = Enum.Material.Plastic | |
| 2295 | m = Instance.new("SpecialMesh")
| |
| 2296 | m.Scale = Vector3.new(1, 1, 1) | |
| 2297 | m.Parent = p | |
| 2298 | m.MeshType = Enum.MeshType.Wedge | |
| 2299 | p = Instance.new("Part", Model)
| |
| 2300 | p.Name = "Part" | |
| 2301 | p.TopSurface = 0 | |
| 2302 | p.BottomSurface = 0 | |
| 2303 | p.formFactor = "Custom" | |
| 2304 | p.Size = Vector3.new(4, 13, 1) | |
| 2305 | p.CFrame = CFrame.new(40.8999939, 10.0700006, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 2306 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 2307 | p.Transparency = 0 | |
| 2308 | p.Reflectance = .1 | |
| 2309 | p.Material = Enum.Material.Plastic | |
| 2310 | p = Instance.new("Part", Model)
| |
| 2311 | p.Name = "Part" | |
| 2312 | p.TopSurface = 0 | |
| 2313 | p.BottomSurface = 0 | |
| 2314 | p.formFactor = "Custom" | |
| 2315 | p.Size = Vector3.new(10.1, 1, 0.99) | |
| 2316 | p.CFrame = CFrame.new(51.8999825, 18.1699867, 62.9999733, 1.49008796e-008, 2.39336913e-007, -0.999990225, 6.66744882e-009, 0.99999392, 2.39337737e-007, 0.999994516, -6.66736355e-009, -7.45059765e-008) | |
| 2317 | p.BrickColor = BrickColor.new("Mid gray")
| |
| 2318 | p.Transparency = 0 | |
| 2319 | p.Reflectance = .1 | |
| 2320 | p.Material = Enum.Material.Plastic | |
| 2321 | m = Instance.new("SpecialMesh")
| |
| 2322 | m.Scale = Vector3.new(1, 1, 1) | |
| 2323 | m.Parent = p | |
| 2324 | m.MeshType = Enum.MeshType.Wedge | |
| 2325 | p = Instance.new("Part", Model)
| |
| 2326 | p.Name = "Part" | |
| 2327 | p.TopSurface = 0 | |
| 2328 | p.BottomSurface = 0 | |
| 2329 | p.formFactor = "Custom" | |
| 2330 | p.Size = Vector3.new(1, 1, 4.59) | |
| 2331 | p.CFrame = CFrame.new(49.099987, 18.1699944, 67.5999985, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 2332 | p.BrickColor = BrickColor.new("Mid gray")
| |
| 2333 | p.Transparency = 0 | |
| 2334 | p.Reflectance = .1 | |
| 2335 | p.Material = Enum.Material.Plastic | |
| 2336 | p = Instance.new("Part", Model)
| |
| 2337 | p.Name = "Part" | |
| 2338 | p.TopSurface = 0 | |
| 2339 | p.BottomSurface = 0 | |
| 2340 | p.formFactor = "Custom" | |
| 2341 | p.Size = Vector3.new(1.99, 1, 1) | |
| 2342 | p.CFrame = CFrame.new(51.8999863, 16.6699886, 67.5999908, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 2343 | p.BrickColor = BrickColor.new("Mid gray")
| |
| 2344 | p.Transparency = 0 | |
| 2345 | p.Reflectance = .1 | |
| 2346 | p.Material = Enum.Material.Plastic | |
| 2347 | p = Instance.new("Part", Model)
| |
| 2348 | p.Name = "Part" | |
| 2349 | p.TopSurface = 0 | |
| 2350 | p.BottomSurface = 0 | |
| 2351 | p.formFactor = "Custom" | |
| 2352 | p.Size = Vector3.new(1, 1, 4.59) | |
| 2353 | p.CFrame = CFrame.new(49.099987, 18.1699867, 63.0000153, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 2354 | p.BrickColor = BrickColor.new("Mid gray")
| |
| 2355 | p.Transparency = 0 | |
| 2356 | p.Reflectance = .1 | |
| 2357 | p.Material = Enum.Material.Plastic | |
| 2358 | p = Instance.new("Part", Model)
| |
| 2359 | p.Name = "Part" | |
| 2360 | p.TopSurface = 0 | |
| 2361 | p.BottomSurface = 0 | |
| 2362 | p.formFactor = "Custom" | |
| 2363 | p.Size = Vector3.new(10.1, 1, 0.99) | |
| 2364 | p.CFrame = CFrame.new(46.2999916, 18.1699886, 63.0000229, -1.49008823e-008, -2.39345496e-007, 0.999990225, 6.66727829e-009, 0.99999392, 2.39346434e-007, -0.999994516, 6.66733513e-009, 7.45059765e-008) | |
| 2365 | p.BrickColor = BrickColor.new("Mid gray")
| |
| 2366 | p.Transparency = 0 | |
| 2367 | p.Reflectance = .1 | |
| 2368 | p.Material = Enum.Material.Plastic | |
| 2369 | m = Instance.new("SpecialMesh")
| |
| 2370 | m.Scale = Vector3.new(1, 1, 1) | |
| 2371 | m.Parent = p | |
| 2372 | m.MeshType = Enum.MeshType.Wedge | |
| 2373 | ||
| 2374 | Spawn = function() | |
| 2375 | Modelc = Model:clone() | |
| 2376 | for _, v in pairs(Modelc:children()) do | |
| 2377 | if v.className == "Part" then | |
| 2378 | if v.Name ~= "Center" then | |
| 2379 | w = Instance.new("Weld")
| |
| 2380 | w.Part0 = Modelc.Center | |
| 2381 | w.Part1 = v | |
| 2382 | w.C1 = v.CFrame:inverse() * CFrame.new(v.Position) | |
| 2383 | w.C0 = Modelc.Center.CFrame:inverse() * CFrame.new(v.Position) | |
| 2384 | w.Parent = w.Part0 | |
| 2385 | end | |
| 2386 | end | |
| 2387 | end | |
| 2388 | return Modelc | |
| 2389 | end | |
| 2390 | ||
| 2391 | CameraRadius = 66 | |
| 2392 | TimeStopRadius = 66 | |
| 2393 | ||
| 2394 | RightShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 2395 | RightShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 2396 | LeftShoulderC0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 2397 | LeftShoulderC1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 2398 | RightHipC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 2399 | RightHipC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 2400 | LeftHipC0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 2401 | LeftHipC1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 2402 | NeckC0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 2403 | NeckC1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 2404 | RootJointC0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 2405 | RootJointC1 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 2406 | ||
| 2407 | getWelds = function(c) --designate weld variables | |
| 2408 | local t = c.Torso | |
| 2409 | local hrp = c.HumanoidRootPart.RootJoint | |
| 2410 | RightShoulder = t:FindFirstChild("Right Shoulder")
| |
| 2411 | LeftShoulder = t:FindFirstChild("Left Shoulder")
| |
| 2412 | RightHip = t:FindFirstChild("Right Hip")
| |
| 2413 | LeftHip = t:FindFirstChild("Left Hip")
| |
| 2414 | RootJoint = hrp | |
| 2415 | Neck = t:FindFirstChild("Neck")
| |
| 2416 | end | |
| 2417 | resetWelds = function(ext, occ) --extent 1-3; occlusion | |
| 2418 | --1 == reset desiredangle/currentangle | |
| 2419 | --2 == reset C0/C1 | |
| 2420 | --3 == reset both des/cur/c0/c1 | |
| 2421 | local r = {
| |
| 2422 | RightShoulder, | |
| 2423 | LeftShoulder, | |
| 2424 | RightHip, | |
| 2425 | LeftHip, | |
| 2426 | RootJoint, | |
| 2427 | Neck, | |
| 2428 | Grip | |
| 2429 | } | |
| 2430 | for _, v in pairs(r) do | |
| 2431 | for i = 1, #occ do | |
| 2432 | if occ[i] == v then | |
| 2433 | table.remove(r, _) | |
| 2434 | end | |
| 2435 | end | |
| 2436 | end | |
| 2437 | for _, v in pairs(r) do | |
| 2438 | if v.Name == "Right Shoulder" then | |
| 2439 | if ext == 1 then | |
| 2440 | v.DesiredAngle = 0 | |
| 2441 | v.CurrentAngle = 0 | |
| 2442 | elseif ext == 2 then | |
| 2443 | v.C0 = RightShoulderC0 | |
| 2444 | v.C1 = RightShoulderC1 | |
| 2445 | elseif ext == 3 then | |
| 2446 | v.DesiredAngle = 0 | |
| 2447 | v.CurrentAngle = 0 | |
| 2448 | v.C0 = RightShoulderC0 | |
| 2449 | v.C1 = RightShoulderC1 | |
| 2450 | end | |
| 2451 | elseif v.Name == "Left Shoulder" then | |
| 2452 | if ext == 1 then | |
| 2453 | v.DesiredAngle = 0 | |
| 2454 | v.CurrentAngle = 0 | |
| 2455 | elseif ext == 2 then | |
| 2456 | v.C0 = LeftShoulderC0 | |
| 2457 | v.C1 = LeftShoulderC1 | |
| 2458 | elseif ext == 3 then | |
| 2459 | v.DesiredAngle = 0 | |
| 2460 | v.CurrentAngle = 0 | |
| 2461 | v.C0 = LeftShoulderC0 | |
| 2462 | v.C1 = LeftShoulderC1 | |
| 2463 | end | |
| 2464 | elseif v.Name == "Right Hip" then | |
| 2465 | if ext == 1 then | |
| 2466 | v.DesiredAngle = 0 | |
| 2467 | v.CurrentAngle = 0 | |
| 2468 | elseif ext == 2 then | |
| 2469 | v.C0 = RightHipC0 | |
| 2470 | v.C1 = RightHipC1 | |
| 2471 | elseif ext == 3 then | |
| 2472 | v.DesiredAngle = 0 | |
| 2473 | v.CurrentAngle = 0 | |
| 2474 | v.C0 = RightHipC0 | |
| 2475 | v.C1 = RightHipC1 | |
| 2476 | end | |
| 2477 | elseif v.Name == "Left Hip" then | |
| 2478 | if ext == 1 then | |
| 2479 | v.DesiredAngle = 0 | |
| 2480 | v.CurrentAngle = 0 | |
| 2481 | elseif ext == 2 then | |
| 2482 | v.C0 = LeftHipC0 | |
| 2483 | v.C1 = LeftHipC1 | |
| 2484 | elseif ext == 3 then | |
| 2485 | v.DesiredAngle = 0 | |
| 2486 | v.CurrentAngle = 0 | |
| 2487 | v.C0 = LeftHipC0 | |
| 2488 | v.C1 = LeftHipC1 | |
| 2489 | end | |
| 2490 | elseif v.Name == "Neck" then | |
| 2491 | if ext == 1 then | |
| 2492 | v.DesiredAngle = 0 | |
| 2493 | v.CurrentAngle = 0 | |
| 2494 | elseif ext == 2 then | |
| 2495 | v.C0 = NeckC0 | |
| 2496 | v.C1 = NeckC1 | |
| 2497 | elseif ext == 3 then | |
| 2498 | v.DesiredAngle = 0 | |
| 2499 | v.CurrentAngle = 0 | |
| 2500 | v.C0 = NeckC0 | |
| 2501 | v.C1 = NeckC1 | |
| 2502 | end | |
| 2503 | elseif v.Name == "RootJoint" then | |
| 2504 | if ext == 1 then | |
| 2505 | v.DesiredAngle = 0 | |
| 2506 | v.CurrentAngle = 0 | |
| 2507 | elseif ext == 2 then | |
| 2508 | v.C0 = RootJointC0 | |
| 2509 | v.C1 = RootJointC1 | |
| 2510 | elseif ext == 3 then | |
| 2511 | v.DesiredAngle = 0 | |
| 2512 | v.CurrentAngle = 0 | |
| 2513 | v.C0 = RootJointC0 | |
| 2514 | v.C1 = RootJointC1 | |
| 2515 | end | |
| 2516 | elseif v.Name == "RightGrip" then | |
| 2517 | if ext == 1 then | |
| 2518 | elseif ext == 2 then | |
| 2519 | Grip.C0 = nGrip.C0 | |
| 2520 | Grip.C1 = nGrip.C1 | |
| 2521 | elseif ext == 3 then | |
| 2522 | Grip.C0 = nGrip.C0 | |
| 2523 | Grip.C1 = nGrip.C1 | |
| 2524 | end | |
| 2525 | end | |
| 2526 | end | |
| 2527 | end | |
| 2528 | ||
| 2529 | ||
| 2530 | doitdocdoit = function() | |
| 2531 | if deb == false then | |
| 2532 | return | |
| 2533 | end | |
| 2534 | deb = false | |
| 2535 | ||
| 2536 | vPlayer = game.Players.LocalPlayer | |
| 2537 | cPlayer = vPlayer.Character | |
| 2538 | Anim = cPlayer.Animate | |
| 2539 | Anim.Disabled = true | |
| 2540 | Hum = cPlayer.Humanoid | |
| 2541 | Hum.Name = "NOPE" | |
| 2542 | Hum.WalkSpeed = 0 | |
| 2543 | getWelds(cPlayer) | |
| 2544 | resetWelds(3, {})
| |
| 2545 | ||
| 2546 | bodypos = Instance.new("BodyPosition")
| |
| 2547 | bodypos.P = 4000 | |
| 2548 | bodypos.maxForce = Vector3.new(5000000, 50000000, 5000000) * 5000 | |
| 2549 | bodypos.position = cPlayer.Torso.Position + Vector3.new(0, .5, 0) | |
| 2550 | bodypos.Parent = cPlayer.Torso | |
| 2551 | ||
| 2552 | dir = cPlayer.HumanoidRootPart.CFrame.lookVector | |
| 2553 | CPlayer = cPlayer | |
| 2554 | partpos = Instance.new("Part", workspace)
| |
| 2555 | partpos.Transparency = 1 | |
| 2556 | partpos.CanCollide = false | |
| 2557 | partpos.Anchored = true | |
| 2558 | partpos.CFrame = cPlayer.Torso.CFrame | |
| 2559 | ||
| 2560 | sound = Instance.new("Sound")
| |
| 2561 | sound.Parent = partpos | |
| 2562 | sound.Volume = 1 | |
| 2563 | sound.SoundId = "http://www.roblox.com/asset/?id=468760371" | |
| 2564 | -- sound.SoundId="http://www.roblox.com/asset/?id=168009623" | |
| 2565 | sound2 = Instance.new("Sound")
| |
| 2566 | sound2.Parent = workspace.CurrentCamera | |
| 2567 | sound2.Volume = 1 | |
| 2568 | sound2.SoundId = "http://www.roblox.com/asset/?id=468760371" | |
| 2569 | -- sound2.SoundId="http://www.roblox.com/asset/?id=168009623" | |
| 2570 | sound:Play() | |
| 2571 | sound2:Play() | |
| 2572 | expected = 10 | |
| 2573 | did = false | |
| 2574 | pooted = 0 | |
| 2575 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 2576 | pooted = pooted + 1 | |
| 2577 | if pooted >= expected + 1 then | |
| 2578 | sos:disconnect() | |
| 2579 | did = true | |
| 2580 | return | |
| 2581 | end | |
| 2582 | resetWelds(3, {})
| |
| 2583 | RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(0), math.rad(0)) | |
| 2584 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(0), math.rad(0)) | |
| 2585 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(0), math.rad(0)) | |
| 2586 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(0), math.rad(0)) | |
| 2587 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
| 2588 | RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
| 2589 | end) | |
| 2590 | --[[sound=Instance.new("Sound")
| |
| 2591 | sound.Parent=cPlayer.Torso | |
| 2592 | sound.Volume=1 | |
| 2593 | sound.SoundId="http://www.roblox.com/asset/?id=316900066" | |
| 2594 | sound:Play()]]-- | |
| 2595 | while did == false do | |
| 2596 | wait() | |
| 2597 | end | |
| 2598 | ||
| 2599 | expected = 10 | |
| 2600 | did = false | |
| 2601 | pooted = 0 | |
| 2602 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 2603 | pooted = pooted + 1 | |
| 2604 | if pooted >= expected + 1 then | |
| 2605 | sos:disconnect() | |
| 2606 | did = true | |
| 2607 | return | |
| 2608 | end | |
| 2609 | resetWelds(3, {})
| |
| 2610 | RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12 - pooted * 8), math.rad(0), math.rad(pooted)) | |
| 2611 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, pooted * .1) * CFrame.fromEulerAnglesXYZ(math.rad(-12 - pooted * 9), math.rad(pooted * 9), math.rad(0)) | |
| 2612 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12), math.rad(0), math.rad(0)) | |
| 2613 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12), math.rad(0), math.rad(0)) | |
| 2614 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(pooted / 2), math.rad(0), math.rad(-pooted * 9)) | |
| 2615 | RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(pooted / 3), math.rad(pooted * 10)) | |
| 2616 | end) | |
| 2617 | while did == false do | |
| 2618 | wait() | |
| 2619 | end | |
| 2620 | wait(.2) | |
| 2621 | expected = 5 | |
| 2622 | did = false | |
| 2623 | pooted = 0 | |
| 2624 | nubhit = nil | |
| 2625 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 2626 | pooted = pooted + 1 | |
| 2627 | if pooted >= expected + 1 then | |
| 2628 | sos:disconnect() | |
| 2629 | did = true | |
| 2630 | return | |
| 2631 | end | |
| 2632 | resetWelds(3, {})
| |
| 2633 | RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12 - pooted * 8), math.rad(0), math.rad(pooted)) | |
| 2634 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, pooted * .1) * CFrame.fromEulerAnglesXYZ(math.rad(-12 - pooted * 9), math.rad(pooted * 9), math.rad(0)) | |
| 2635 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12), math.rad(0), math.rad(0)) | |
| 2636 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12), math.rad(0), math.rad(0)) | |
| 2637 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(5), math.rad(0), math.rad(-90 + pooted * 40)) | |
| 2638 | RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-10 + pooted * 4), math.rad(3.3), math.rad(90 - pooted * 34)) | |
| 2639 | if nubhit == nil then | |
| 2640 | bodypos.position = bodypos.position + dir * 4 | |
| 2641 | cPlayer.Torso.CFrame = CFrame.new(bodypos.position + dir * 4, bodypos.position + dir * 20) | |
| 2642 | --bodypos.position=bodypos.position + dir*9 | |
| 2643 | --cPlayer.Torso.CFrame=CFrame.new(bodypos.position+dir*9,bodypos.position+dir*20) | |
| 2644 | end | |
| 2645 | if nubhit == nil and pooted >= 2 then | |
| 2646 | pos = bodypos.position + dir * 2 | |
| 2647 | radi = 6 | |
| 2648 | for _, v in pairs(workspace:children()) do | |
| 2649 | h = v:FindFirstChild("Humanoid")
| |
| 2650 | t = v:FindFirstChild("Torso")
| |
| 2651 | if h ~= nil and t ~= nil and v ~= cPlayer then | |
| 2652 | if (t.Position - pos).magnitude <= radi then | |
| 2653 | print(":>")
| |
| 2654 | nubhit = v | |
| 2655 | break | |
| 2656 | end | |
| 2657 | end | |
| 2658 | end | |
| 2659 | end | |
| 2660 | if nubhit ~= nil then | |
| 2661 | if nubhit.Torso:FindFirstChild("PART1") == nil then
| |
| 2662 | v = Instance.new("BodyVelocity")
| |
| 2663 | v.P = 4000 | |
| 2664 | v.maxForce = Vector3.new(500000000000, 500000000000, 500000000000) | |
| 2665 | v.velocity = dir * 4 + Vector3.new(0, 4, 0) | |
| 2666 | v.Name = "PART1" | |
| 2667 | v.Parent = nubhit.Torso | |
| 2668 | game:GetService("Debris"):AddItem(v, 5)
| |
| 2669 | coroutine.resume(coroutine.create(function(v) | |
| 2670 | for i = 1, 100 do | |
| 2671 | v.velocity = v.velocity - Vector3.new(0, .07, 0) | |
| 2672 | wait() | |
| 2673 | end | |
| 2674 | end), v) | |
| 2675 | v = Instance.new("BodyGyro")
| |
| 2676 | v.P = 20 | |
| 2677 | v.D = 30 | |
| 2678 | v.maxTorque = Vector3.new(5000000, 5000000, 5000000) | |
| 2679 | v.cframe = CPlayer.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.pi / 2, math.pi, 0) | |
| 2680 | v.Name = "PART1" | |
| 2681 | v.Parent = nubhit.Torso | |
| 2682 | game:GetService("Debris"):AddItem(v, 5)
| |
| 2683 | end | |
| 2684 | end | |
| 2685 | end) | |
| 2686 | while did == false do | |
| 2687 | wait() | |
| 2688 | end | |
| 2689 | if nubhit == nil then | |
| 2690 | sound:Stop() | |
| 2691 | wait(.5) | |
| 2692 | sound2:Stop() | |
| 2693 | else | |
| 2694 | expected = 32 | |
| 2695 | did = false | |
| 2696 | pooted = 0 | |
| 2697 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 2698 | pooted = pooted + 1 | |
| 2699 | if pooted >= expected + 1 then | |
| 2700 | sos:disconnect() | |
| 2701 | did = true | |
| 2702 | return | |
| 2703 | end | |
| 2704 | RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-.03), math.rad(0), math.rad(.03)) | |
| 2705 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, .02) * CFrame.fromEulerAnglesXYZ(math.rad(-.05), math.rad(.08), math.rad(0)) | |
| 2706 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-.04), math.rad(0), math.rad(0)) | |
| 2707 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-.04), math.rad(0), math.rad(0)) | |
| 2708 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(.05), math.rad(0), math.rad(.1)) | |
| 2709 | RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(.2), math.rad(0.05), math.rad(-.05)) | |
| 2710 | bodypos.position = bodypos.position + dir * .05 | |
| 2711 | cPlayer.Torso.CFrame = CFrame.new(bodypos.position + dir * .05, bodypos.position + dir * 20) | |
| 2712 | end) | |
| 2713 | while did == false do | |
| 2714 | wait() | |
| 2715 | end | |
| 2716 | bodypos.Parent = nil | |
| 2717 | expected = 12 | |
| 2718 | did = false | |
| 2719 | pooted = 0 | |
| 2720 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 2721 | pooted = pooted + 1 | |
| 2722 | if pooted >= expected + 1 then | |
| 2723 | sos:disconnect() | |
| 2724 | did = true | |
| 2725 | return | |
| 2726 | end | |
| 2727 | RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(4.5), math.rad(0), math.rad(-.15)) | |
| 2728 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, -.07) * CFrame.fromEulerAnglesXYZ(math.rad(5.6), math.rad(-4.5), math.rad(1.25)) | |
| 2729 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1.24), math.rad(0), math.rad(0)) | |
| 2730 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1.24), math.rad(0), math.rad(0)) | |
| 2731 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(-2.5), math.rad(-8)) | |
| 2732 | RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-.5), math.rad(-.5), math.rad(7)) | |
| 2733 | end) | |
| 2734 | ||
| 2735 | while did == false do | |
| 2736 | wait() | |
| 2737 | end | |
| 2738 | expected = 6 | |
| 2739 | did = false | |
| 2740 | pooted = 0 | |
| 2741 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 2742 | pooted = pooted + 1 | |
| 2743 | if pooted >= expected + 1 then | |
| 2744 | sos:disconnect() | |
| 2745 | did = true | |
| 2746 | return | |
| 2747 | end | |
| 2748 | resetWelds(3, {})
| |
| 2749 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 5), math.rad(0), math.rad(pooted * 18)) | |
| 2750 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 5), math.rad(0), math.rad(-pooted * 18)) | |
| 2751 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(pooted * 6)) | |
| 2752 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(-pooted * 6)) | |
| 2753 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20 + pooted * 5), math.rad(0), math.rad(0)) | |
| 2754 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, pooted * .03, -pooted * .1) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 6), math.rad(0), math.rad(pooted * 1)) | |
| 2755 | print(":(")
| |
| 2756 | end) | |
| 2757 | wait(.3) | |
| 2758 | while did == false do | |
| 2759 | wait() | |
| 2760 | end | |
| 2761 | resetWelds(3, {
| |
| 2762 | "Neck" | |
| 2763 | }) | |
| 2764 | expected = 5 | |
| 2765 | did = false | |
| 2766 | pooted = 0 | |
| 2767 | p = Instance.new("Part", workspace)
| |
| 2768 | p.Name = "ORB" | |
| 2769 | p.TopSurface = 0 | |
| 2770 | p.BottomSurface = 0 | |
| 2771 | p.formFactor = "Custom" | |
| 2772 | p.CFrame = cPlayer.Torso.CFrame | |
| 2773 | m = Instance.new("SpecialMesh", p)
| |
| 2774 | m.MeshType = "Sphere" | |
| 2775 | p.BrickColor = BrickColor:White() | |
| 2776 | p.Size = Vector3.new(1, 1, 1) | |
| 2777 | p.CanCollide = false | |
| 2778 | p.Anchored = true | |
| 2779 | game:GetService("Debris"):AddItem(p, 5)
| |
| 2780 | coroutine.resume(coroutine.create(function(p) | |
| 2781 | nubhit.Torso.Anchored = true | |
| 2782 | for i = 1, 10 do | |
| 2783 | p.Mesh.Scale = p.Mesh.Scale + Vector3.new(5, 5, 5) | |
| 2784 | p.Transparency = .5 + i / 20 | |
| 2785 | wait() | |
| 2786 | end | |
| 2787 | p:Remove() | |
| 2788 | end), p) | |
| 2789 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 2790 | pooted = pooted + 1 | |
| 2791 | if pooted >= expected + 1 then | |
| 2792 | sos:disconnect() | |
| 2793 | did = true | |
| 2794 | return | |
| 2795 | end | |
| 2796 | resetWelds(3, {})
| |
| 2797 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 10), math.rad(-pooted * 12), math.rad(pooted * 10)) | |
| 2798 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 10), math.rad(pooted * 12), math.rad(-pooted * 10)) | |
| 2799 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(-pooted * 10)) | |
| 2800 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(pooted * 9)) | |
| 2801 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20 - pooted * 6), math.rad(0), math.rad(0)) | |
| 2802 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, pooted * .03, -pooted * .1) * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 9.5), math.rad(0), math.rad(pooted * .2)) | |
| 2803 | print(":(")
| |
| 2804 | end) | |
| 2805 | ||
| 2806 | while did == false do | |
| 2807 | wait() | |
| 2808 | end | |
| 2809 | wait(1) | |
| 2810 | expected = 5 | |
| 2811 | did = false | |
| 2812 | pooted = 0 | |
| 2813 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 2814 | pooted = pooted + 1 | |
| 2815 | if pooted >= expected + 1 then | |
| 2816 | sos:disconnect() | |
| 2817 | did = true | |
| 2818 | return | |
| 2819 | end | |
| 2820 | resetWelds(3, {})
| |
| 2821 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0.05 * pooted, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 2), math.rad(0), math.rad(pooted * 6)) | |
| 2822 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 2), math.rad(0), math.rad(-pooted * 6)) | |
| 2823 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(-57 + pooted * 20)) | |
| 2824 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(57 - pooted * 20)) | |
| 2825 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 4), math.rad(0), math.rad(0)) | |
| 2826 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, -.1 * pooted) * CFrame.fromEulerAnglesXYZ(math.rad(-57 + pooted * 20), math.rad(0), math.rad(0)) | |
| 2827 | print(":(")
| |
| 2828 | end) | |
| 2829 | while did == false do | |
| 2830 | wait() | |
| 2831 | end | |
| 2832 | wait(.8) | |
| 2833 | expected = 5 | |
| 2834 | did = false | |
| 2835 | pooted = 0 | |
| 2836 | bodypos.Parent = cPlayer.Torso | |
| 2837 | workspace.CurrentCamera.CameraType = "Follow" | |
| 2838 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 2839 | pooted = pooted + 1 | |
| 2840 | if pooted >= expected + 1 then | |
| 2841 | sos:disconnect() | |
| 2842 | did = true | |
| 2843 | return | |
| 2844 | end | |
| 2845 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-2), math.rad(0), math.rad(-3)) | |
| 2846 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(2), math.rad(0), math.rad(3)) | |
| 2847 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(-8)) | |
| 2848 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(8)) | |
| 2849 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-14), math.rad(0), math.rad(0)) | |
| 2850 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, .05) * CFrame.fromEulerAnglesXYZ(math.rad(-7), math.rad(0), math.rad(0)) | |
| 2851 | ||
| 2852 | bodypos.position = bodypos.position + Vector3.new(0, 240, 0) | |
| 2853 | cPlayer.Torso.CFrame = cPlayer.Torso.CFrame + Vector3.new(0, 240, 0) | |
| 2854 | ||
| 2855 | print(":(")
| |
| 2856 | end) | |
| 2857 | local DIOPLS = Instance.new("Sound", cPlayer.Torso)
| |
| 2858 | DIOPLS.SoundId = "rbxassetid://316900066" | |
| 2859 | DIOPLS.Volume = 1 | |
| 2860 | DIOPLS:Play() | |
| 2861 | Instance.new("DistortionSoundEffect", DIOPLS).Level = 1
| |
| 2862 | game:GetService("Debris"):AddItem(DIOPLS, 19)
| |
| 2863 | while did == false do | |
| 2864 | wait() | |
| 2865 | end | |
| 2866 | wait(.8) | |
| 2867 | LOL = Spawn() | |
| 2868 | LOL.Parent = workspace | |
| 2869 | LOL:MakeJoints() | |
| 2870 | LOL:MoveTo(cPlayer.Torso.CFrame.p) | |
| 2871 | C = LOL.Center | |
| 2872 | C.CFrame = CFrame.new(nubhit.Torso.Position + Vector3.new(0, 1200, 0)) * CFrame.new(8, 0, 0) | |
| 2873 | ||
| 2874 | bb = Instance.new("BodyPosition")
| |
| 2875 | bb.Parent = C | |
| 2876 | bb.maxForce = Vector3.new(50000000000000000, 50000000000000000, 50000000000000000) | |
| 2877 | bb.position = bb.Parent.Position | |
| 2878 | C.CFrame = CFrame.new(bb.position) | |
| 2879 | orig = bb.position | |
| 2880 | ||
| 2881 | gg = Instance.new("BodyGyro")
| |
| 2882 | gg.P = 15000 | |
| 2883 | gg.D = 100 | |
| 2884 | gg.maxTorque = Vector3.new(500000000, 500000000, 500000000) | |
| 2885 | gg.cframe = CFrame.new(C.Position, Vector3.new(nubhit.Torso.Position.x, C.Position.y, nubhit.Torso.Position.z)) * CFrame.fromEulerAnglesXYZ(-math.rad(10), math.rad(10), 0) | |
| 2886 | gg.Parent = C | |
| 2887 | ||
| 2888 | expected = 80 | |
| 2889 | did = false | |
| 2890 | pooted = 0 | |
| 2891 | ||
| 2892 | resetWelds(3, {})
| |
| 2893 | ||
| 2894 | Hum.PlatformStand = true | |
| 2895 | ||
| 2896 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, .4, 0) * CFrame.fromEulerAnglesXYZ(math.rad(30), math.rad(0), math.rad(180)) | |
| 2897 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, .4, 0) * CFrame.fromEulerAnglesXYZ(math.rad(30), math.rad(0), math.rad(-180)) | |
| 2898 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-8), math.rad(0), math.rad(-8)) | |
| 2899 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-8), math.rad(0), math.rad(8)) | |
| 2900 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-45), math.rad(0), math.rad(0)) | |
| 2901 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
| 2902 | ||
| 2903 | bodypos.Parent = nil | |
| 2904 | w = Instance.new("Weld")
| |
| 2905 | w.Part0 = C | |
| 2906 | w.Part1 = cPlayer.Torso | |
| 2907 | w.C0 = CFrame.new(.3, 5.6, -7) * CFrame.fromEulerAnglesXYZ(math.pi / .9, math.pi / 10, 0) | |
| 2908 | w.C0 = w.C0 * CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 2909 | w.Parent = w.Part0 | |
| 2910 | ||
| 2911 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 2912 | pooted = pooted + 1 | |
| 2913 | if pooted >= expected + 1 then | |
| 2914 | sos:disconnect() | |
| 2915 | did = true | |
| 2916 | return | |
| 2917 | end | |
| 2918 | ||
| 2919 | bb.position = orig - Vector3.new(0, 1202 / 80 * pooted, 0) | |
| 2920 | C.CFrame = C.CFrame - Vector3.new(0, 1202 / 80, 0) | |
| 2921 | print(":(")
| |
| 2922 | end) | |
| 2923 | ||
| 2924 | while did == false do | |
| 2925 | wait() | |
| 2926 | end | |
| 2927 | C.CFrame = CFrame.new(nubhit.Torso.Position + Vector3.new(0, 4, 0), Vector3.new(nubhit.Torso.Position.x, C.Position.y, nubhit.Torso.Position.z)) * CFrame.fromEulerAnglesXYZ(-math.rad(5), math.rad(5), 0) | |
| 2928 | C.CFrame = C.CFrame * CFrame.new(8, 0, 0) | |
| 2929 | bl2 = Instance.new("Part")
| |
| 2930 | bl2.TopSurface = 0 | |
| 2931 | bl2.BottomSurface = 0 | |
| 2932 | bl2.CanCollide = false | |
| 2933 | bl2.formFactor = "Symmetric" | |
| 2934 | local ShockWaveSound = Instance.new("Sound", bl2)
| |
| 2935 | ShockWaveSound.SoundId = "rbxassetid://138186576" | |
| 2936 | ShockWaveSound.Pitch = 0.8 | |
| 2937 | ShockWaveSound.Volume = 1 | |
| 2938 | ShockWaveSound:Play() | |
| 2939 | Instance.new("DistortionSoundEffect", ShockWaveSound).Level = 1
| |
| 2940 | m = Instance.new("SpecialMesh")
| |
| 2941 | m.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 2942 | m.Scale = Vector3.new(1, 4, 1) | |
| 2943 | m.Parent = bl2 | |
| 2944 | bl2.Size = Vector3.new(1, 1, 1) | |
| 2945 | bl2.Anchored = false | |
| 2946 | bl2.Name = "c" | |
| 2947 | bl2.CFrame = CFrame.new(C.Position) - Vector3.new(0, 2, 0) | |
| 2948 | bl2.BrickColor = BrickColor.new("White")
| |
| 2949 | bl2.Parent = CPlayer | |
| 2950 | coroutine.resume(coroutine.create(function(p) | |
| 2951 | for i = 1, 10 do | |
| 2952 | p.Mesh.Scale = p.Mesh.Scale + Vector3.new(8, 0, 8) | |
| 2953 | p.Transparency = .25 + i * .075 | |
| 2954 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(5), 0) | |
| 2955 | wait() | |
| 2956 | end | |
| 2957 | p:Remove() | |
| 2958 | end), bl2) | |
| 2959 | bl2.Anchored = true | |
| 2960 | ||
| 2961 | bl2 = Instance.new("Part")
| |
| 2962 | bl2.TopSurface = 0 | |
| 2963 | bl2.BottomSurface = 0 | |
| 2964 | bl2.CanCollide = false | |
| 2965 | bl2.formFactor = "Symmetric" | |
| 2966 | m = Instance.new("SpecialMesh")
| |
| 2967 | m.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 2968 | m.Scale = Vector3.new(1, 6, 1) | |
| 2969 | m.Parent = bl2 | |
| 2970 | bl2.Size = Vector3.new(1, 1, 1) | |
| 2971 | bl2.Anchored = false | |
| 2972 | bl2.Name = "c" | |
| 2973 | bl2.CFrame = CFrame.new(C.Position) - Vector3.new(0, 2, 0) | |
| 2974 | bl2.BrickColor = BrickColor.new("White")
| |
| 2975 | bl2.Parent = CPlayer | |
| 2976 | coroutine.resume(coroutine.create(function(p) | |
| 2977 | for i = 1, 20 do | |
| 2978 | p.Mesh.Scale = p.Mesh.Scale + Vector3.new(6, 0, 6) | |
| 2979 | p.Transparency = i / 20 | |
| 2980 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(3), 0) | |
| 2981 | wait() | |
| 2982 | end | |
| 2983 | p:Remove() | |
| 2984 | end), bl2) | |
| 2985 | bl2.Anchored = true | |
| 2986 | ||
| 2987 | gg.cframe = gg.cframe * CFrame.fromEulerAnglesXYZ(math.rad(10), -math.rad(10), 0) | |
| 2988 | expected = 3 | |
| 2989 | did = false | |
| 2990 | pooted = 0 | |
| 2991 | workspace.CurrentCamera.CameraType = "Follow" | |
| 2992 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 2993 | pooted = pooted + 1 | |
| 2994 | if pooted >= expected + 1 then | |
| 2995 | sos:disconnect() | |
| 2996 | did = true | |
| 2997 | return | |
| 2998 | end | |
| 2999 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
| 3000 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
| 3001 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-4), math.rad(0), math.rad(0)) | |
| 3002 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(4), math.rad(0), math.rad(0)) | |
| 3003 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
| 3004 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(5), math.rad(0), math.rad(0)) | |
| 3005 | ||
| 3006 | w.C0 = w.C0 * CFrame.fromEulerAnglesXYZ(math.rad(15), 0, 0) | |
| 3007 | ||
| 3008 | print(":(")
| |
| 3009 | end) | |
| 3010 | while did == false do | |
| 3011 | wait() | |
| 3012 | end | |
| 3013 | wait(.3) | |
| 3014 | expected = 5 | |
| 3015 | did = false | |
| 3016 | pooted = 0 | |
| 3017 | workspace.CurrentCamera.CameraType = "Follow" | |
| 3018 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 3019 | pooted = pooted + 1 | |
| 3020 | if pooted >= expected + 1 then | |
| 3021 | sos:disconnect() | |
| 3022 | did = true | |
| 3023 | return | |
| 3024 | end | |
| 3025 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
| 3026 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
| 3027 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(-8)) | |
| 3028 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(8)) | |
| 3029 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(5), math.rad(0), math.rad(0)) | |
| 3030 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(14), math.rad(0), math.rad(0)) | |
| 3031 | ||
| 3032 | w.C0 = w.C0 * CFrame.new(0, 0, -.04) * CFrame.fromEulerAnglesXYZ(math.rad(15), 0, 0) | |
| 3033 | ||
| 3034 | print(":(")
| |
| 3035 | end) | |
| 3036 | while did == false do | |
| 3037 | wait() | |
| 3038 | end | |
| 3039 | expected = 203 | |
| 3040 | did = false | |
| 3041 | pooted = 0 | |
| 3042 | workspace.CurrentCamera.CameraType = "Follow" | |
| 3043 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 3044 | pooted = pooted + 1 | |
| 3045 | if pooted >= expected + 1 then | |
| 3046 | sos:disconnect() | |
| 3047 | did = true | |
| 3048 | return | |
| 3049 | end | |
| 3050 | resetWelds(3, {
| |
| 3051 | RightHip, | |
| 3052 | LeftHip, | |
| 3053 | RootJoint, | |
| 3054 | Neck | |
| 3055 | }) | |
| 3056 | RightShoulder.C0 = RightShoulderC0 * CFrame.new(math.random(-20, 20) / 200, math.cos(time() * 30), math.random(-20, 20) / 200) * CFrame.fromEulerAnglesXYZ(math.sin(time() * 20) / 3, math.sin(time() * 20) / 5, math.rad(60) - math.cos(time() * 70) * 2) | |
| 3057 | LeftShoulder.C0 = LeftShoulderC0 * CFrame.new(math.random(-20, 20) / 200, math.cos(time() * 30), math.random(-20, 20) / 200) * CFrame.fromEulerAnglesXYZ(math.sin(time() * 20) / 3, math.sin(time() * 20) / 5, math.rad(-60) + math.sin(time() * 60) * 2) | |
| 3058 | RightHip.C0 = RightHipC0 * CFrame.fromEulerAnglesXYZ(math.rad(-18), math.rad(0), math.rad(-30)) | |
| 3059 | LeftHip.C0 = LeftHipC0 * CFrame.fromEulerAnglesXYZ(math.rad(-18), math.rad(0), math.rad(30)) | |
| 3060 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20), math.rad(0), math.rad(0)) | |
| 3061 | RootJoint.C0 = RootJointC0 * CFrame.new(math.random(-20, 20) / 200, math.random(-20, 20) / 200, math.random(-20, 20) / 200) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(0), math.rad(0)) | |
| 3062 | w.C0 = w.C0 * CFrame.new(math.random(-20, 20) / 2000, math.random(-20, 20) / 2000, math.random(-20, 20) / 2000) * CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 3063 | C.CFrame = C.CFrame + Vector3.new(math.random(-20, 20) / 200, math.random(-20, 20) / 200, math.random(-20, 20) / 200) | |
| 3064 | ||
| 3065 | if pooted / 2 == math.floor(pooted / 2) then | |
| 3066 | p = cPlayer["Right Arm"]:clone() | |
| 3067 | p.Anchored = true | |
| 3068 | p.CanCollide = false | |
| 3069 | p.Parent = workspace | |
| 3070 | p.Transparency = .5 | |
| 3071 | game:GetService("Debris"):AddItem(p, .2)
| |
| 3072 | p = cPlayer["Left Arm"]:clone() | |
| 3073 | p.Anchored = true | |
| 3074 | p.CanCollide = false | |
| 3075 | p.Parent = workspace | |
| 3076 | p.Transparency = .5 | |
| 3077 | game:GetService("Debris"):AddItem(p, .2)
| |
| 3078 | ||
| 3079 | p = Instance.new("Part", workspace)
| |
| 3080 | p.Name = "ORB" | |
| 3081 | p.TopSurface = 0 | |
| 3082 | p.BottomSurface = 0 | |
| 3083 | p.formFactor = "Custom" | |
| 3084 | p.CFrame = cPlayer.Torso.CFrame + cPlayer.Torso.CFrame.lookVector * 3 + Vector3.new(math.random(-20, 20) / 15, math.random(-20, 20) / 15 - .8, math.random(-20, 20) / 15) | |
| 3085 | m = Instance.new("SpecialMesh", p)
| |
| 3086 | m.MeshType = "Sphere" | |
| 3087 | p.BrickColor = BrickColor:White() | |
| 3088 | p.Size = Vector3.new(.4, .4, .4) | |
| 3089 | p.CanCollide = false | |
| 3090 | p.Anchored = true | |
| 3091 | game:GetService("Debris"):AddItem(p, 5)
| |
| 3092 | coroutine.resume(coroutine.create(function(p) | |
| 3093 | for i = 1, 8 do | |
| 3094 | p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1, 1, 1) | |
| 3095 | p.Transparency = i / 8 | |
| 3096 | wait() | |
| 3097 | end | |
| 3098 | p:Remove() | |
| 3099 | end), p) | |
| 3100 | ||
| 3101 | end | |
| 3102 | ||
| 3103 | print(":)")
| |
| 3104 | end) | |
| 3105 | while did == false do | |
| 3106 | wait() | |
| 3107 | end | |
| 3108 | wait(.5) | |
| 3109 | expected = 20 | |
| 3110 | did = false | |
| 3111 | pooted = 0 | |
| 3112 | workspace.CurrentCamera.CameraType = "Follow" | |
| 3113 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 3114 | pooted = pooted + 1 | |
| 3115 | if pooted >= expected + 1 then | |
| 3116 | sos:disconnect() | |
| 3117 | did = true | |
| 3118 | return | |
| 3119 | end | |
| 3120 | resetWelds(3, {
| |
| 3121 | Neck, | |
| 3122 | RootJoint, | |
| 3123 | RightHip, | |
| 3124 | LeftHip | |
| 3125 | }) | |
| 3126 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(2 * pooted), math.rad(0), math.rad(5 * pooted)) | |
| 3127 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(-9 * pooted)) | |
| 3128 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(-2)) | |
| 3129 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(4 * pooted)) | |
| 3130 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(2), math.rad(0), math.rad(2)) | |
| 3131 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
| 3132 | w.C0 = w.C0 * CFrame.new(0, 0.03, .03) * CFrame.fromEulerAnglesXYZ(math.rad(2), math.rad(2), math.rad(0)) | |
| 3133 | print(":)")
| |
| 3134 | end) | |
| 3135 | while did == false do | |
| 3136 | wait() | |
| 3137 | end | |
| 3138 | wait(2) | |
| 3139 | expected = 5 | |
| 3140 | did = false | |
| 3141 | pooted = 0 | |
| 3142 | workspace.CurrentCamera.CameraType = "Follow" | |
| 3143 | w.Parent = nil | |
| 3144 | bodypos.position = cPlayer.Torso.Position - Vector3.new(0, 1, 0) | |
| 3145 | poo = cPlayer.Torso.CFrame.lookVector | |
| 3146 | cPlayer.Torso.CFrame = CFrame.new(cPlayer.Torso.Position, cPlayer.Torso.Position + C.CFrame.lookVector * 50) | |
| 3147 | bodypos.Parent = cPlayer.Torso | |
| 3148 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 3149 | pooted = pooted + 1 | |
| 3150 | if pooted >= expected + 1 then | |
| 3151 | sos:disconnect() | |
| 3152 | did = true | |
| 3153 | return | |
| 3154 | end | |
| 3155 | resetWelds(3, {})
| |
| 3156 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(80 - pooted * 35)) | |
| 3157 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(10), math.rad(0), math.rad(-190 + pooted * 28)) | |
| 3158 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(6), math.rad(0), math.rad(-80 + pooted * 4)) | |
| 3159 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(8), math.rad(0), math.rad(84 - pooted * 4)) | |
| 3160 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20 + pooted * 10), math.rad(0), math.rad(0)) | |
| 3161 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, -pooted * .25) * CFrame.fromEulerAnglesXYZ(math.rad(-20 + pooted * 9), math.rad(0), math.rad(0)) | |
| 3162 | print(":)")
| |
| 3163 | end) | |
| 3164 | while did == false do | |
| 3165 | wait() | |
| 3166 | end | |
| 3167 | wait(.7) | |
| 3168 | expected = 5 | |
| 3169 | did = false | |
| 3170 | pooted = 0 | |
| 3171 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 3172 | pooted = pooted + 1 | |
| 3173 | if pooted >= expected + 1 then | |
| 3174 | sos:disconnect() | |
| 3175 | did = true | |
| 3176 | return | |
| 3177 | end | |
| 3178 | resetWelds(3, {})
| |
| 3179 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0.05 * pooted, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 2), math.rad(0), math.rad(pooted * 6)) | |
| 3180 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 2), math.rad(0), math.rad(-pooted * 6)) | |
| 3181 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(-57 + pooted * 20)) | |
| 3182 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(57 - pooted * 20)) | |
| 3183 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 4), math.rad(0), math.rad(0)) | |
| 3184 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, -.1 * pooted) * CFrame.fromEulerAnglesXYZ(math.rad(-57 + pooted * 20), math.rad(0), math.rad(0)) | |
| 3185 | print(":(")
| |
| 3186 | end) | |
| 3187 | while did == false do | |
| 3188 | wait() | |
| 3189 | end | |
| 3190 | wait(.2) | |
| 3191 | expected = 10 | |
| 3192 | did = false | |
| 3193 | pooted = 0 | |
| 3194 | workspace.CurrentCamera.CameraType = "Follow" | |
| 3195 | g = Instance.new("BodyGyro")
| |
| 3196 | g.Parent = cPlayer.Torso | |
| 3197 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 3198 | pooted = pooted + 1 | |
| 3199 | if pooted >= expected + 1 then | |
| 3200 | sos:disconnect() | |
| 3201 | did = true | |
| 3202 | return | |
| 3203 | end | |
| 3204 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-2), math.rad(0), math.rad(-2)) | |
| 3205 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(2)) | |
| 3206 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(-4)) | |
| 3207 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(4)) | |
| 3208 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-7), math.rad(0), math.rad(0)) | |
| 3209 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, .05) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
| 3210 | if pooted >= 2 then | |
| 3211 | bodypos.position = bodypos.position + Vector3.new(0, 12, 0) - dir * 5 | |
| 3212 | cPlayer.Torso.CFrame = cPlayer.Torso.CFrame + Vector3.new(0, 12, 0) - dir * 5 | |
| 3213 | end | |
| 3214 | print(":(")
| |
| 3215 | end) | |
| 3216 | while did == false do | |
| 3217 | wait() | |
| 3218 | end | |
| 3219 | wait(.2) | |
| 3220 | bodypos:Remove() | |
| 3221 | wait(.5) | |
| 3222 | ||
| 3223 | e = Instance.new("Explosion")
| |
| 3224 | e.BlastRadius = 30 | |
| 3225 | e.Position = C.Position | |
| 3226 | e.BlastPressure = e.BlastPressure * 2.5 | |
| 3227 | e.Parent = workspace | |
| 3228 | s = Instance.new("Sound", C)
| |
| 3229 | s.SoundId = "rbxassetid://258057783" | |
| 3230 | s.Volume = 1 | |
| 3231 | s:Play() | |
| 3232 | Instance.new("DistortionSoundEffect", s).Level = 1
| |
| 3233 | g:Remove() | |
| 3234 | --dun | |
| 3235 | nubhit.Torso.Anchored = false | |
| 3236 | Hum.PlatformStand = false | |
| 3237 | C.Anchored = true | |
| 3238 | ||
| 3239 | coroutine.resume(coroutine.create(function(t) | |
| 3240 | wait(3) | |
| 3241 | p = Instance.new("Sound")
| |
| 3242 | p.SoundId = "http://www.roblox.com/asset/?id=154677261" | |
| 3243 | p.Parent = t | |
| 3244 | p.Volume = 1 | |
| 3245 | p:Play() | |
| 3246 | end), C) | |
| 3247 | game:GetService("Debris"):AddItem(LOL, 5)
| |
| 3248 | end | |
| 3249 | resetWelds(3, {})
| |
| 3250 | workspace.CurrentCamera.CameraType = "Custom" | |
| 3251 | Hum.WalkSpeed = 16 | |
| 3252 | Hum.Name = "Humanoid" | |
| 3253 | bodypos:Remove() | |
| 3254 | partpos:Remove() | |
| 3255 | Anim.Parent = nil | |
| 3256 | wait(.1) | |
| 3257 | Anim.Disabled = false | |
| 3258 | Anim.Parent = cPlayer | |
| 3259 | deb = true | |
| 3260 | end | |
| 3261 | ||
| 3262 | Tool = Instance.new("HopperBin")
| |
| 3263 | Tool.Name = "ROAD ROLLER DA" | |
| 3264 | Tool.Parent = game.Players.LocalPlayer.Backpack | |
| 3265 | Tool.Selected:connect(function(mouse) | |
| 3266 | mouse.Button1Down:connect(function() | |
| 3267 | doitdocdoit() | |
| 3268 | end) | |
| 3269 | end) | |
| 3270 | ||
| 3271 | end |