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