SHOW:
|
|
- or go back to the newest paste.
| 1 | repeat wait() until script:WaitForChild'Owner'.Value | |
| 2 | local Player = script:WaitForChild'Owner'.Value | |
| 3 | script.Owner:destroy() | |
| 4 | local FakeMouse = script.FakeMouse:Clone(); | |
| 5 | FakeMouse.Parent = Player.Character; | |
| 6 | script.FakeMouse:Destroy() | |
| 7 | do | |
| 8 | local GUID = {}
| |
| 9 | do | |
| 10 | GUID.IDs = {};
| |
| 11 | function GUID:new(len) | |
| 12 | local id; | |
| 13 | if(not len)then | |
| 14 | id = (tostring(function() end)) | |
| 15 | id = id:gsub("function: ","")
| |
| 16 | else | |
| 17 | local function genID(len) | |
| 18 | local newID = "" | |
| 19 | for i = 1,len do | |
| 20 | newID = newID..string.char(math.random(48,90)) | |
| 21 | end | |
| 22 | return newID | |
| 23 | end | |
| 24 | repeat id = genID(len) until not GUID.IDs[id] | |
| 25 | local oid = id; | |
| 26 | id = {Trash=function() GUID.IDs[oid]=nil; end;Get=function() return oid; end}
| |
| 27 | GUID.IDs[oid]=true; | |
| 28 | end | |
| 29 | return id | |
| 30 | end | |
| 31 | end | |
| 32 | ||
| 33 | local AHB = Instance.new("BindableEvent")
| |
| 34 | ||
| 35 | local FPS = 30 | |
| 36 | ||
| 37 | local TimeFrame = 0 | |
| 38 | ||
| 39 | local LastFrame = tick() | |
| 40 | local Frame = 1/FPS | |
| 41 | ||
| 42 | game:service'RunService'.Heartbeat:connect(function(s,p) | |
| 43 | TimeFrame = TimeFrame + s | |
| 44 | if(TimeFrame >= Frame)then | |
| 45 | for i = 1,math.floor(TimeFrame/Frame) do | |
| 46 | AHB:Fire() | |
| 47 | end | |
| 48 | LastFrame=tick() | |
| 49 | TimeFrame=TimeFrame-Frame*math.floor(TimeFrame/Frame) | |
| 50 | end | |
| 51 | end) | |
| 52 | ||
| 53 | ||
| 54 | function swait(dur) | |
| 55 | if(dur == 0 or typeof(dur) ~= 'number')then | |
| 56 | AHB.Event:wait() | |
| 57 | else | |
| 58 | for i = 1, dur*FPS do | |
| 59 | AHB.Event:wait() | |
| 60 | end | |
| 61 | end | |
| 62 | end | |
| 63 | ||
| 64 | local oPlayer = Player | |
| 65 | local Player = oPlayer | |
| 66 | ||
| 67 | local loudnesses={}
| |
| 68 | script.Parent = Player.Character | |
| 69 | local CoAS = {Actions={}}
| |
| 70 | local Event = Instance.new("RemoteEvent")
| |
| 71 | Event.Name = "UserInputEvent" | |
| 72 | Event.Parent = Player.Character | |
| 73 | local Func = Instance.new("RemoteFunction")
| |
| 74 | Func.Name = "GetClientProperty" | |
| 75 | Func.Parent = Player.Character | |
| 76 | local fakeEvent = function() | |
| 77 | local t = {_fakeEvent=true,Waited={},Connected={}}
| |
| 78 | t.Connect = function(self,f) | |
| 79 | local ft={}
| |
| 80 | ft={Disconnected=false;disconnect=function(s) if(self.Function==ft)then self.Function=nil end s.Disconnected=true end}
| |
| 81 | ft.Disconnect=ft.disconnect | |
| 82 | ||
| 83 | ft.Func=function(...) | |
| 84 | for id,_ in next, t.Waited do | |
| 85 | t.Waited[id] = true | |
| 86 | end | |
| 87 | return f(...) | |
| 88 | end; | |
| 89 | ||
| 90 | table.insert(self.Connected,ft) | |
| 91 | return ft; | |
| 92 | end | |
| 93 | t.connect = t.Connect | |
| 94 | t.Wait = function() | |
| 95 | local guid = GUID:new(25) | |
| 96 | local waitingId = guid:Get() | |
| 97 | t.Waited[waitingId]=false | |
| 98 | repeat swait() until t.Waited[waitingId]==true | |
| 99 | t.Waited[waitingId]=nil; | |
| 100 | guid:Trash() | |
| 101 | end | |
| 102 | t.wait = t.Wait | |
| 103 | return t | |
| 104 | end | |
| 105 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 106 | local UsIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 107 | local Run = {RenderStepped=fakeEvent()}
| |
| 108 | ||
| 109 | function CoAS:BindAction(name,fun,touch,...) | |
| 110 | CoAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
| |
| 111 | end | |
| 112 | function CoAS:UnbindAction(name) | |
| 113 | CoAS.Actions[name] = nil | |
| 114 | end | |
| 115 | local function te(self,ev,...) | |
| 116 | local t = self[ev] | |
| 117 | if t and t._fakeEvent and t.Connected then | |
| 118 | for i,v in next, t.Connected do | |
| 119 | if(v.Func and not v.Disconnected)then | |
| 120 | v.Func(...) | |
| 121 | else | |
| 122 | t.Connected[i]=nil | |
| 123 | end | |
| 124 | end | |
| 125 | end | |
| 126 | end | |
| 127 | m.TrigEvent = te | |
| 128 | UsIS.TrigEvent = te | |
| 129 | Run.TrigEvent = te | |
| 130 | Event.OnServerEvent:Connect(function(plr,io) | |
| 131 | if plr~=Player then return end | |
| 132 | --[[table.foreach(io,print) | |
| 133 | print'---']] | |
| 134 | if io.Mouse then | |
| 135 | m.Target = io.Target | |
| 136 | m.Hit = io.Hit | |
| 137 | elseif io.KeyEvent then | |
| 138 | m:TrigEvent('Key'..io.KeyEvent,io.Key)
| |
| 139 | elseif io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 140 | if io.UserInputState == Enum.UserInputState.Begin then | |
| 141 | m:TrigEvent("Button1Down")
| |
| 142 | else | |
| 143 | m:TrigEvent("Button1Up")
| |
| 144 | end | |
| 145 | end | |
| 146 | if(not io.KeyEvent and not io.Mouse)then | |
| 147 | ||
| 148 | for n,t in pairs(CoAS.Actions) do | |
| 149 | for _,k in pairs(t.Keys) do | |
| 150 | if k==io.KeyCode then | |
| 151 | t.Function(t.Name,io.UserInputState,io) | |
| 152 | end | |
| 153 | end | |
| 154 | end | |
| 155 | if io.UserInputState == Enum.UserInputState.Begin then | |
| 156 | UsIS:TrigEvent("InputBegan",io,false)
| |
| 157 | else | |
| 158 | UsIS:TrigEvent("InputEnded",io,false)
| |
| 159 | end | |
| 160 | end | |
| 161 | end) | |
| 162 | ||
| 163 | Func.OnServerInvoke = function(plr,inst,play) | |
| 164 | if plr~=Player then return end | |
| 165 | if(inst and typeof(inst) == 'Instance' and inst:IsA'Sound')then | |
| 166 | loudnesses[inst]=play | |
| 167 | end | |
| 168 | end | |
| 169 | ||
| 170 | function GetClientProperty(inst,prop) | |
| 171 | if(prop == 'PlaybackLoudness' and loudnesses[inst])then | |
| 172 | return loudnesses[inst] | |
| 173 | elseif(prop == 'PlaybackLoudness')then | |
| 174 | return Func:InvokeClient(Player,'RegSound',inst) | |
| 175 | end | |
| 176 | return Func:InvokeClient(Player,inst,prop) | |
| 177 | end | |
| 178 | local oldGame = game; | |
| 179 | function GetFakePlayer() | |
| 180 | local oldPlayer = Player; | |
| 181 | local fakePlayer = newproxy(true) | |
| 182 | getmetatable(fakePlayer).__index = function(s,i) | |
| 183 | if(i == 'GetMouse')then | |
| 184 | return function() return m; end | |
| 185 | end | |
| 186 | return Player[i] | |
| 187 | end | |
| 188 | getmetatable(fakePlayer).__newindex = function(s,i,v) | |
| 189 | Player[i]=v | |
| 190 | end | |
| 191 | getmetatable(fakePlayer).__call=function(self,...) | |
| 192 | if(self == fakePlayer)then self = Player end | |
| 193 | local wh = {...}
| |
| 194 | local name = table.remove(wh,1) | |
| 195 | for i,v in next, wh do | |
| 196 | wh[i]=v | |
| 197 | end | |
| 198 | if(name == 'GetMouse')then | |
| 199 | return m; | |
| 200 | end | |
| 201 | return self(name,unpack(wh)) | |
| 202 | end | |
| 203 | getmetatable(fakePlayer).__namecall=function(self,...) | |
| 204 | if(self == fakePlayer)then self = Player end | |
| 205 | local tuple={...}
| |
| 206 | local name = table.remove(tuple,#tuple) | |
| 207 | ||
| 208 | if(name == 'GetMouse')then | |
| 209 | return m; | |
| 210 | else | |
| 211 | return self[name](self,unpack(tuple)) | |
| 212 | end | |
| 213 | end | |
| 214 | ||
| 215 | return fakePlayer | |
| 216 | end | |
| 217 | local oll = LoadLibrary; | |
| 218 | function LoadLibrary(libtard) | |
| 219 | local libtarddestroyed=oll(libtard) | |
| 220 | if(libtard=='RbxUtility')then | |
| 221 | local library={Create=function(obj)
| |
| 222 | local inst = Instance.new(obj) | |
| 223 | return function(props) | |
| 224 | for prop,valu in next, props do | |
| 225 | inst[prop]=valu | |
| 226 | end | |
| 227 | return inst | |
| 228 | end | |
| 229 | end} | |
| 230 | setmetatable(library,{__index=libtarddestroyed,__newindex=function(s,i,v) libtarddestroyed[i]=v end})
| |
| 231 | ||
| 232 | return library | |
| 233 | else | |
| 234 | return libtarddestroyed | |
| 235 | end | |
| 236 | end | |
| 237 | fakePlayer = GetFakePlayer() | |
| 238 | local function GetService(s,i) | |
| 239 | local service = s:GetService(i) | |
| 240 | if(i == 'Players')then | |
| 241 | local oldService = service; | |
| 242 | local fakeService = newproxy(true) | |
| 243 | getmetatable(fakeService).__index = function(s,i) | |
| 244 | if(s == fakeService)then s=oldService end | |
| 245 | if(i == 'LocalPlayer' or i == 'localPlayer')then | |
| 246 | return fakePlayer | |
| 247 | elseif(i == 'oPlayer')then | |
| 248 | return oPlayer | |
| 249 | else | |
| 250 | return s[i] | |
| 251 | end | |
| 252 | end | |
| 253 | getmetatable(fakeService).__newindex = function(s,i,v) | |
| 254 | if(s == fakeService)then s=oldService end | |
| 255 | s[i]=v | |
| 256 | end | |
| 257 | getmetatable(fakeService).__call=function(self,...) | |
| 258 | if(self == fakeService)then self = oldService end | |
| 259 | local wh = {...}
| |
| 260 | local name = table.remove(wh,1) | |
| 261 | for i,v in next, wh do | |
| 262 | wh[i]=v | |
| 263 | end | |
| 264 | return self(name,unpack(wh)) | |
| 265 | end | |
| 266 | getmetatable(fakeService).__namecall=function(self,...) | |
| 267 | if(self == fakeService)then self = oldService end | |
| 268 | local tuple={...}
| |
| 269 | local name = table.remove(tuple,#tuple) | |
| 270 | ||
| 271 | return self[name](self,unpack(tuple)) | |
| 272 | end | |
| 273 | getmetatable(fakeService).__metatable = 'gay' | |
| 274 | return fakeService | |
| 275 | elseif(i == 'RunService')then | |
| 276 | local oldService = service; | |
| 277 | local fakeService = newproxy(true) | |
| 278 | getmetatable(fakeService).__index = function(s,i) | |
| 279 | if(s == fakeService)then s=oldService end | |
| 280 | return Run[i] or s[i] | |
| 281 | end | |
| 282 | getmetatable(fakeService).__newindex = function(s,i,v) | |
| 283 | if(s == fakeService)then s=oldService end | |
| 284 | s[i]=v | |
| 285 | end | |
| 286 | getmetatable(fakeService).__call=function(self,...) | |
| 287 | if(self == fakeService)then self = oldService end | |
| 288 | local wh = {...}
| |
| 289 | local name = table.remove(wh,1) | |
| 290 | for i,v in next, wh do | |
| 291 | wh[i]=v | |
| 292 | end | |
| 293 | return self(name,unpack(wh)) | |
| 294 | end | |
| 295 | getmetatable(fakeService).__namecall=function(self,...) | |
| 296 | if(self == fakeService)then self = oldService end | |
| 297 | local tuple={...}
| |
| 298 | local name = table.remove(tuple,#tuple) | |
| 299 | ||
| 300 | return self[name](self,unpack(tuple)) | |
| 301 | end | |
| 302 | getmetatable(fakeService).__metatable = 'gay' | |
| 303 | return fakeService | |
| 304 | elseif(i == 'UserInputService')then | |
| 305 | return UsIS | |
| 306 | elseif(i == 'ContextActionService')then | |
| 307 | return CoAS; | |
| 308 | else | |
| 309 | return service | |
| 310 | end | |
| 311 | end | |
| 312 | ||
| 313 | local new = Instance.new; | |
| 314 | Instance = {}
| |
| 315 | Instance.new = function(inst,obje) | |
| 316 | local lp = GetService(oldGame,'Players').localPlayer | |
| 317 | local instance = new(inst) | |
| 318 | if(inst=='ObjectValue')then | |
| 319 | local fake = newproxy(true) | |
| 320 | getmetatable(fake).__index=function(self,index) | |
| 321 | if(self==fake)then self=instance end | |
| 322 | return self[index] | |
| 323 | end | |
| 324 | getmetatable(fake).__newindex=function(self,index,value) | |
| 325 | if(self==fake)then self=instance end | |
| 326 | if(index=='Value' and typeof(value)~='Instance' and value==fakePlayer)then | |
| 327 | self[index]=oPlayer | |
| 328 | else | |
| 329 | self[index]=value | |
| 330 | end | |
| 331 | end | |
| 332 | getmetatable(fake).__call=function(self,...) | |
| 333 | if(self == fake)then self = instance end | |
| 334 | local wh = {...}
| |
| 335 | local name = table.remove(wh,1) | |
| 336 | for i,v in next, wh do | |
| 337 | if(v == fake)then v = instance end | |
| 338 | wh[i]=v | |
| 339 | end | |
| 340 | return self(name,unpack(wh)) | |
| 341 | end | |
| 342 | getmetatable(fake). __namecall=function(self,...) | |
| 343 | if(self == fake)then self = instance end | |
| 344 | local tuple={...}
| |
| 345 | local name = table.remove(tuple,#tuple) | |
| 346 | return self[name](self,unpack(tuple)) | |
| 347 | end | |
| 348 | return fake | |
| 349 | else | |
| 350 | instance.Parent = obje | |
| 351 | return instance; | |
| 352 | end | |
| 353 | ||
| 354 | end | |
| 355 | local serviceFunctions={
| |
| 356 | service=true, | |
| 357 | GetService=true, | |
| 358 | } | |
| 359 | local fakeGame = newproxy(true) | |
| 360 | getmetatable(fakeGame).__index = function(s,i) | |
| 361 | if(s == fakeGame)then s=oldGame end | |
| 362 | local serv = GetService(oldGame,i) | |
| 363 | if serviceFunctions[i] then | |
| 364 | return GetService | |
| 365 | elseif(serv)then | |
| 366 | return serv | |
| 367 | else | |
| 368 | return s[i] | |
| 369 | end | |
| 370 | end | |
| 371 | getmetatable(fakeGame).__newindex = function(s,i,v) | |
| 372 | if(s == fakeGame)then s=oldGame end | |
| 373 | s[i]=v | |
| 374 | end | |
| 375 | getmetatable(fakeGame).__call=function(self,...) | |
| 376 | if(self == fakeGame)then self = oldGame end | |
| 377 | local wh = {...}
| |
| 378 | local name = table.remove(wh,1) | |
| 379 | for i,v in next, wh do | |
| 380 | if(v == fakeGame)then v = oldGame end | |
| 381 | wh[i]=v | |
| 382 | end | |
| 383 | if serviceFunctions[name] then | |
| 384 | return GetService(self,unpack(wh)) | |
| 385 | else | |
| 386 | return self(name,unpack(wh)) | |
| 387 | end | |
| 388 | end | |
| 389 | getmetatable(fakeGame). __namecall=function(self,...) | |
| 390 | if(self == fakeGame)then self = oldGame end | |
| 391 | local tuple={...}
| |
| 392 | local name = table.remove(tuple,#tuple) | |
| 393 | ||
| 394 | local funcToCall=self[name] | |
| 395 | ||
| 396 | if serviceFunctions[name] then | |
| 397 | return GetService(self,unpack(tuple)) | |
| 398 | else | |
| 399 | return self[name](self,unpack(tuple)) | |
| 400 | end | |
| 401 | end | |
| 402 | getmetatable(fakeGame).__metatable = 'gay' | |
| 403 | ||
| 404 | coroutine.wrap(function() | |
| 405 | while true do | |
| 406 | Run:TrigEvent('RenderStepped')
| |
| 407 | swait() | |
| 408 | end | |
| 409 | end)() | |
| 410 | game=fakeGame | |
| 411 | UserInputService,ContextActionService = UsIS,CoAS | |
| 412 | end | |
| 413 | --code below | |
| 414 | ||
| 415 | A = true | |
| 416 | if A == true then | |
| 417 | Model = Instance.new("Model")
| |
| 418 | Model.Name = "Weapon" | |
| 419 | p = Instance.new("Part", Model)
| |
| 420 | p.Name = "Part" | |
| 421 | p.TopSurface = 0 | |
| 422 | p.BottomSurface = 0 | |
| 423 | p.formFactor = "Custom" | |
| 424 | p.Size = Vector3.new(10, 12, 10) | |
| 425 | p.CFrame = CFrame.new(35.4000015, 7.0999999, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 426 | p.BrickColor = BrickColor.new("Medium stone grey")
| |
| 427 | p.Transparency = 0 | |
| 428 | p.Reflectance = .1 | |
| 429 | p.Material = Enum.Material.Concrete | |
| 430 | m = Instance.new("CylinderMesh")
| |
| 431 | m.Scale = Vector3.new(1, 1.02999997, 1) | |
| 432 | m.Parent = p | |
| 433 | p = Instance.new("Part", Model)
| |
| 434 | p.Name = "Part" | |
| 435 | p.TopSurface = 0 | |
| 436 | p.BottomSurface = 0 | |
| 437 | p.formFactor = "Custom" | |
| 438 | p.Size = Vector3.new(2, 12.8, 2) | |
| 439 | p.CFrame = CFrame.new(35.4000015, 7.19999981, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 440 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 441 | p.Transparency = 0 | |
| 442 | p.Reflectance = .1 | |
| 443 | p.Material = Enum.Material.Plastic | |
| 444 | m = Instance.new("CylinderMesh")
| |
| 445 | m.Scale = Vector3.new(1, 1, 1) | |
| 446 | m.Parent = p | |
| 447 | p = Instance.new("Part", Model)
| |
| 448 | p.Name = "Part" | |
| 449 | p.TopSurface = 0 | |
| 450 | p.BottomSurface = 0 | |
| 451 | p.formFactor = "Custom" | |
| 452 | p.Size = Vector3.new(1.79, 5, 1) | |
| 453 | p.CFrame = CFrame.new(29.7000179, 8.89999485, 63.3000221, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 454 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 455 | p.Transparency = 0 | |
| 456 | p.Reflectance = .1 | |
| 457 | p.Material = Enum.Material.Plastic | |
| 458 | p = Instance.new("Part", Model)
| |
| 459 | p.Name = "Part" | |
| 460 | p.TopSurface = 0 | |
| 461 | p.BottomSurface = 0 | |
| 462 | p.formFactor = "Custom" | |
| 463 | p.Size = Vector3.new(5, 1.40, 0.99) | |
| 464 | p.CFrame = CFrame.new(29.7000198, 10.4999943, 63.3000031, -1.49008788e-008, -2.3933373e-007, 0.999990225, 6.6675625e-009, 0.99999392, 2.39334668e-007, -0.999994516, 6.66761935e-009, 7.45059765e-008) | |
| 465 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 466 | p.Transparency = 0 | |
| 467 | p.Reflectance = .1 | |
| 468 | p.Material = Enum.Material.Plastic | |
| 469 | m = Instance.new("SpecialMesh")
| |
| 470 | m.Scale = Vector3.new(1, 1, 1) | |
| 471 | m.Parent = p | |
| 472 | m.MeshType = Enum.MeshType.Wedge | |
| 473 | p = Instance.new("Part", Model)
| |
| 474 | p.Name = "Center" | |
| 475 | p.TopSurface = 0 | |
| 476 | p.BottomSurface = 0 | |
| 477 | p.formFactor = "Custom" | |
| 478 | p.Size = Vector3.new(12.5, 5.80, 27.6) | |
| 479 | p.CFrame = CFrame.new(43.0000076, 9.30000114, 62.8999977, 1.06581131e-014, -8.74229471e-008, 1, -7.10542736e-015, 1, 8.742294e-008, -1, -7.10542736e-015, -4.37113776e-008) | |
| 480 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 481 | p.Transparency = 1 | |
| 482 | p.Reflectance = .1 | |
| 483 | p.Material = Enum.Material.Plastic | |
| 484 | p = Instance.new("Part", Model)
| |
| 485 | p.Name = "Part" | |
| 486 | p.TopSurface = 0 | |
| 487 | p.BottomSurface = 0 | |
| 488 | p.formFactor = "Custom" | |
| 489 | p.Size = Vector3.new(6.80, 1, 6.00) | |
| 490 | p.CFrame = CFrame.new(51.9999924, 9.06999207, 68.6000443, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 491 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 492 | p.Transparency = 0 | |
| 493 | p.Reflectance = .1 | |
| 494 | p.Material = Enum.Material.Plastic | |
| 495 | p = Instance.new("Part", Model)
| |
| 496 | p.Name = "Part" | |
| 497 | p.TopSurface = 0 | |
| 498 | p.BottomSurface = 0 | |
| 499 | p.formFactor = "Custom" | |
| 500 | p.Size = Vector3.new(11, 5.40, 2.79) | |
| 501 | p.CFrame = CFrame.new(56.5999718, 9.76999664, 63.0000076, 1.49011612e-008, 5.89458523e-007, -0.999990225, -3.49571337e-007, 0.99999392, 5.89460512e-007, 0.999994278, 3.49571422e-007, -4.47034836e-008) | |
| 502 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 503 | p.Transparency = 0 | |
| 504 | p.Reflectance = .1 | |
| 505 | p.Material = Enum.Material.Plastic | |
| 506 | m = Instance.new("SpecialMesh")
| |
| 507 | m.Scale = Vector3.new(1, 1, 1) | |
| 508 | m.Parent = p | |
| 509 | m.MeshType = Enum.MeshType.Wedge | |
| 510 | p = Instance.new("Part", Model)
| |
| 511 | p.Name = "Part" | |
| 512 | p.TopSurface = 0 | |
| 513 | p.BottomSurface = 0 | |
| 514 | p.formFactor = "Custom" | |
| 515 | p.Size = Vector3.new(2.60, 11, 1.99) | |
| 516 | p.CFrame = CFrame.new(39.4000015, 10.7699995, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 517 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 518 | p.Transparency = 0 | |
| 519 | p.Reflectance = .1 | |
| 520 | p.Material = Enum.Material.Plastic | |
| 521 | p = Instance.new("Part", Model)
| |
| 522 | p.Name = "Part" | |
| 523 | p.TopSurface = 0 | |
| 524 | p.BottomSurface = 0 | |
| 525 | p.formFactor = "Custom" | |
| 526 | p.Size = Vector3.new(3.20, 11.0, 5) | |
| 527 | p.CFrame = CFrame.new(35.9000092, 11.0999928, 63.0000153, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 528 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 529 | p.Transparency = 0 | |
| 530 | p.Reflectance = .1 | |
| 531 | p.Material = Enum.Material.Plastic | |
| 532 | p = Instance.new("Part", Model)
| |
| 533 | p.Name = "Part" | |
| 534 | p.TopSurface = 0 | |
| 535 | p.BottomSurface = 0 | |
| 536 | p.formFactor = "Custom" | |
| 537 | p.Size = Vector3.new(1.99, 1, 1) | |
| 538 | p.CFrame = CFrame.new(51.8999863, 16.6699886, 58.4000015, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 539 | p.BrickColor = BrickColor.new("Mid gray")
| |
| 540 | p.Transparency = 0 | |
| 541 | p.Reflectance = .1 | |
| 542 | p.Material = Enum.Material.Plastic | |
| 543 | p = Instance.new("Part", Model)
| |
| 544 | p.Name = "Part" | |
| 545 | p.TopSurface = 0 | |
| 546 | p.BottomSurface = 0 | |
| 547 | p.formFactor = "Custom" | |
| 548 | p.Size = Vector3.new(1, 1, 4.59) | |
| 549 | p.CFrame = CFrame.new(49.099987, 18.1699905, 58.4000015, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 550 | p.BrickColor = BrickColor.new("Mid gray")
| |
| 551 | p.Transparency = 0 | |
| 552 | p.Reflectance = .1 | |
| 553 | p.Material = Enum.Material.Plastic | |
| 554 | p = Instance.new("Part", Model)
| |
| 555 | p.Name = "Part" | |
| 556 | p.TopSurface = 0 | |
| 557 | p.BottomSurface = 0 | |
| 558 | p.formFactor = "Custom" | |
| 559 | p.Size = Vector3.new(1, 12.6, 9.80) | |
| 560 | p.CFrame = CFrame.new(40.2999878, 6.77000237, 63.0000038, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 561 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 562 | p.Transparency = 0 | |
| 563 | p.Reflectance = .1 | |
| 564 | p.Material = Enum.Material.Plastic | |
| 565 | p = Instance.new("Part", Model)
| |
| 566 | p.Name = "Part" | |
| 567 | p.TopSurface = 0 | |
| 568 | p.BottomSurface = 0 | |
| 569 | p.formFactor = "Custom" | |
| 570 | p.Size = Vector3.new(5.19, 1.39, 2.39) | |
| 571 | p.CFrame = CFrame.new(32.2000008, 12.5999899, 63.2999992, -1.49008788e-008, -2.3933373e-007, 0.999990225, 6.6675625e-009, 0.99999392, 2.39334668e-007, -0.999994516, 6.66761935e-009, 7.45059765e-008) | |
| 572 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 573 | p.Transparency = 0 | |
| 574 | p.Reflectance = .1 | |
| 575 | p.Material = Enum.Material.Plastic | |
| 576 | m = Instance.new("SpecialMesh")
| |
| 577 | m.Scale = Vector3.new(1, 1, 1) | |
| 578 | m.Parent = p | |
| 579 | m.MeshType = Enum.MeshType.Wedge | |
| 580 | p = Instance.new("Part", Model)
| |
| 581 | p.Name = "Part" | |
| 582 | p.TopSurface = 0 | |
| 583 | p.BottomSurface = 0 | |
| 584 | p.formFactor = "Custom" | |
| 585 | p.Size = Vector3.new(11, 0.60, 1.99) | |
| 586 | p.CFrame = CFrame.new(39.3999825, 12.3699951, 63.0000267, 1.49008779e-008, 2.39330944e-007, -0.999990225, 6.66761935e-009, 0.99999392, 2.39331769e-007, 0.999994516, -6.66753408e-009, -7.45059765e-008) | |
| 587 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 588 | p.Transparency = 0 | |
| 589 | p.Reflectance = .1 | |
| 590 | p.Material = Enum.Material.Plastic | |
| 591 | m = Instance.new("SpecialMesh")
| |
| 592 | m.Scale = Vector3.new(1, 1, 1) | |
| 593 | m.Parent = p | |
| 594 | m.MeshType = Enum.MeshType.Wedge | |
| 595 | p = Instance.new("Part", Model)
| |
| 596 | p.Name = "Part" | |
| 597 | p.TopSurface = 0 | |
| 598 | p.BottomSurface = 0 | |
| 599 | p.formFactor = "Custom" | |
| 600 | p.Size = Vector3.new(3.20, 11, 5.60) | |
| 601 | p.CFrame = CFrame.new(50.1999855, 14.0699921, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 602 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 603 | p.Transparency = 0 | |
| 604 | p.Reflectance = .1 | |
| 605 | p.Material = Enum.Material.Plastic | |
| 606 | p = Instance.new("Part", Model)
| |
| 607 | p.Name = "Part" | |
| 608 | p.TopSurface = 0 | |
| 609 | p.BottomSurface = 0 | |
| 610 | p.formFactor = "Custom" | |
| 611 | p.Size = Vector3.new(5, 13, 3.79) | |
| 612 | p.CFrame = CFrame.new(43.2999916, 9.56999779, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 613 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 614 | p.Transparency = 0 | |
| 615 | p.Reflectance = .1 | |
| 616 | p.Material = Enum.Material.Plastic | |
| 617 | p = Instance.new("Part", Model)
| |
| 618 | p.Name = "Part" | |
| 619 | p.TopSurface = 0 | |
| 620 | p.BottomSurface = 0 | |
| 621 | p.formFactor = "Custom" | |
| 622 | p.Size = Vector3.new(5.19, 1.39, 2.39) | |
| 623 | p.CFrame = CFrame.new(39.6000061, 12.599987, 63.2999992, 1.49011612e-008, 5.89458523e-007, -0.999990225, -3.49571337e-007, 0.99999392, 5.89460512e-007, 0.999994278, 3.49571422e-007, -4.47034836e-008) | |
| 624 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 625 | p.Transparency = 0 | |
| 626 | p.Reflectance = .1 | |
| 627 | p.Material = Enum.Material.Plastic | |
| 628 | m = Instance.new("SpecialMesh")
| |
| 629 | m.Scale = Vector3.new(1, 1, 1) | |
| 630 | m.Parent = p | |
| 631 | m.MeshType = Enum.MeshType.Wedge | |
| 632 | p = Instance.new("Part", Model)
| |
| 633 | p.Name = "Part" | |
| 634 | p.TopSurface = 0 | |
| 635 | p.BottomSurface = 0 | |
| 636 | p.formFactor = "Custom" | |
| 637 | p.Size = Vector3.new(5.19, 1, 1) | |
| 638 | p.CFrame = CFrame.new(46.2999878, 15.069993, 67.5999985, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 639 | p.BrickColor = BrickColor.new("Mid gray")
| |
| 640 | p.Transparency = 0 | |
| 641 | p.Reflectance = .1 | |
| 642 | p.Material = Enum.Material.Plastic | |
| 643 | p = Instance.new("Part", Model)
| |
| 644 | - | vPlayer = game.Players.LocalPlayer |
| 644 | + | |
| 645 | p.TopSurface = 0 | |
| 646 | p.BottomSurface = 0 | |
| 647 | p.formFactor = "Custom" | |
| 648 | p.Size = Vector3.new(3.20, 5, 4) | |
| 649 | p.CFrame = CFrame.new(32.200016, 9.59999657, 63.3000221, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 650 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 651 | p.Transparency = 0 | |
| 652 | p.Reflectance = .1 | |
| 653 | p.Material = Enum.Material.Plastic | |
| 654 | p = Instance.new("Part", Model)
| |
| 655 | p.Name = "Part" | |
| 656 | p.TopSurface = 0 | |
| 657 | p.BottomSurface = 0 | |
| 658 | p.formFactor = "Custom" | |
| 659 | p.Size = Vector3.new(6, 6.79, 2.79) | |
| 660 | p.CFrame = CFrame.new(51.9999924, 9.06999302, 70.5000458, -1, 0, -4.37113883e-008, 0, 1, 0, 4.37113883e-008, 0, -1) | |
| 661 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 662 | p.Transparency = 0 | |
| 663 | p.Reflectance = .1 | |
| 664 | p.Material = Enum.Material.Plastic | |
| 665 | m = Instance.new("SpecialMesh")
| |
| 666 | m.Scale = Vector3.new(1, 1, 1) | |
| 667 | m.Parent = p | |
| 668 | m.MeshType = Enum.MeshType.Wedge | |
| 669 | p = Instance.new("Part", Model)
| |
| 670 | p.Name = "Part" | |
| 671 | p.TopSurface = 0 | |
| 672 | p.BottomSurface = 0 | |
| 673 | p.formFactor = "Custom" | |
| 674 | p.Size = Vector3.new(0.60, 7.40, 3.79) | |
| 675 | p.CFrame = CFrame.new(43.2999916, 12.3699942, 63.2000008, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 676 | p.BrickColor = BrickColor.new("Black")
| |
| 677 | p.Transparency = 0 | |
| 678 | p.Reflectance = .1 | |
| 679 | p.Material = Enum.Material.Plastic | |
| 680 | p = Instance.new("Part", Model)
| |
| 681 | p.Name = "Part" | |
| 682 | p.TopSurface = 0 | |
| 683 | p.BottomSurface = 0 | |
| 684 | p.formFactor = "Custom" | |
| 685 | p.Size = Vector3.new(6.80, 1, 6.00) | |
| 686 | p.CFrame = CFrame.new(51.9999924, 9.06999588, 57.3999977, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 687 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 688 | p.Transparency = 0 | |
| 689 | p.Reflectance = .1 | |
| 690 | p.Material = Enum.Material.Plastic | |
| 691 | p = Instance.new("Part", Model)
| |
| 692 | p.Name = "Part" | |
| 693 | p.TopSurface = 0 | |
| 694 | p.BottomSurface = 0 | |
| 695 | p.formFactor = "Custom" | |
| 696 | p.Size = Vector3.new(11, 3.20, 2.19) | |
| 697 | p.CFrame = CFrame.new(54.0999756, 14.0699921, 63.0000076, 1.49011612e-008, 5.89458523e-007, -0.999990225, -3.49571337e-007, 0.99999392, 5.89460512e-007, 0.999994278, 3.49571422e-007, -4.47034836e-008) | |
| 698 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 699 | p.Transparency = 0 | |
| 700 | p.Reflectance = .1 | |
| 701 | p.Material = Enum.Material.Plastic | |
| 702 | m = Instance.new("SpecialMesh")
| |
| 703 | m.Scale = Vector3.new(1, 1, 1) | |
| 704 | m.Parent = p | |
| 705 | m.MeshType = Enum.MeshType.Wedge | |
| 706 | p = Instance.new("Part", Model)
| |
| 707 | p.Name = "Part" | |
| 708 | p.TopSurface = 0 | |
| 709 | p.BottomSurface = 0 | |
| 710 | p.formFactor = "Custom" | |
| 711 | p.Size = Vector3.new(2.60, 11, 2.39) | |
| 712 | p.CFrame = CFrame.new(32.1999741, 10.7699986, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 713 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 714 | p.Transparency = 0 | |
| 715 | p.Reflectance = .1 | |
| 716 | p.Material = Enum.Material.Plastic | |
| 717 | p = Instance.new("Part", Model)
| |
| 718 | p.Name = "Part" | |
| 719 | p.TopSurface = 0 | |
| 720 | p.BottomSurface = 0 | |
| 721 | p.formFactor = "Custom" | |
| 722 | p.Size = Vector3.new(5.19, 1, 1) | |
| 723 | p.CFrame = CFrame.new(46.2999878, 15.0699921, 58.4000015, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 724 | p.BrickColor = BrickColor.new("Mid gray")
| |
| 725 | p.Transparency = 0 | |
| 726 | p.Reflectance = .1 | |
| 727 | p.Material = Enum.Material.Plastic | |
| 728 | p = Instance.new("Part", Model)
| |
| 729 | p.Name = "Part" | |
| 730 | p.TopSurface = 0 | |
| 731 | p.BottomSurface = 0 | |
| 732 | p.formFactor = "Custom" | |
| 733 | p.Size = Vector3.new(5, 0.80, 0.79) | |
| 734 | p.CFrame = CFrame.new(30.6000195, 11.5999937, 63.3000107, -1.49008788e-008, -2.3933373e-007, 0.999990225, 6.6675625e-009, 0.99999392, 2.39334668e-007, -0.999994516, 6.66761935e-009, 7.45059765e-008) | |
| 735 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 736 | p.Transparency = 0 | |
| 737 | p.Reflectance = .1 | |
| 738 | p.Material = Enum.Material.Plastic | |
| 739 | m = Instance.new("SpecialMesh")
| |
| 740 | m.Scale = Vector3.new(1, 1, 1) | |
| 741 | m.Parent = p | |
| 742 | m.MeshType = Enum.MeshType.Wedge | |
| 743 | p = Instance.new("Part", Model)
| |
| 744 | p.Name = "Part" | |
| 745 | p.TopSurface = 0 | |
| 746 | p.BottomSurface = 0 | |
| 747 | p.formFactor = "Custom" | |
| 748 | p.Size = Vector3.new(10, 12, 10) | |
| 749 | p.CFrame = CFrame.new(51.8000298, 7.099998, 63.0000191, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 750 | p.BrickColor = BrickColor.new("Medium stone grey")
| |
| 751 | p.Transparency = 0 | |
| 752 | p.Reflectance = .1 | |
| 753 | p.Material = Enum.Material.Concrete | |
| 754 | m = Instance.new("CylinderMesh")
| |
| 755 | m.Scale = Vector3.new(1, 1.02999997, 1) | |
| 756 | m.Parent = p | |
| 757 | p = Instance.new("Part", Model)
| |
| 758 | p.Name = "Part" | |
| 759 | p.TopSurface = 0 | |
| 760 | p.BottomSurface = 0 | |
| 761 | p.formFactor = "Custom" | |
| 762 | p.Size = Vector3.new(0.60, 5.19, 5) | |
| 763 | p.CFrame = CFrame.new(35.9000015, 13, 63.2999992, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 764 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 765 | p.Transparency = 0 | |
| 766 | p.Reflectance = .1 | |
| 767 | p.Material = Enum.Material.Plastic | |
| 768 | p = Instance.new("Part", Model)
| |
| 769 | p.Name = "Part" | |
| 770 | p.TopSurface = 0 | |
| 771 | p.BottomSurface = 0 | |
| 772 | p.formFactor = "Custom" | |
| 773 | p.Size = Vector3.new(6, 6.79, 2.79) | |
| 774 | p.CFrame = CFrame.new(51.9999847, 9.06999207, 55.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 775 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 776 | p.Transparency = 0 | |
| 777 | p.Reflectance = .1 | |
| 778 | p.Material = Enum.Material.Plastic | |
| 779 | m = Instance.new("SpecialMesh")
| |
| 780 | m.Scale = Vector3.new(1, 1, 1) | |
| 781 | m.Parent = p | |
| 782 | m.MeshType = Enum.MeshType.Wedge | |
| 783 | p = Instance.new("Part", Model)
| |
| 784 | p.Name = "Part" | |
| 785 | p.TopSurface = 0 | |
| 786 | p.BottomSurface = 0 | |
| 787 | p.formFactor = "Custom" | |
| 788 | p.Size = Vector3.new(2.79, 7.40, 0.79) | |
| 789 | p.CFrame = CFrame.new(44.7999916, 14.0699921, 63.2000008, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 790 | p.BrickColor = BrickColor.new("Black")
| |
| 791 | p.Transparency = 0 | |
| 792 | p.Reflectance = .1 | |
| 793 | p.Material = Enum.Material.Plastic | |
| 794 | p = Instance.new("Part", Model)
| |
| 795 | p.Name = "Part" | |
| 796 | p.TopSurface = 0 | |
| 797 | p.BottomSurface = 0 | |
| 798 | p.formFactor = "Custom" | |
| 799 | p.Size = Vector3.new(5.40, 11, 10) | |
| 800 | p.CFrame = CFrame.new(50.1999893, 9.76999474, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 801 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 802 | p.Transparency = 0 | |
| 803 | p.Reflectance = .1 | |
| 804 | p.Material = Enum.Material.Plastic | |
| 805 | p = Instance.new("Part", Model)
| |
| 806 | p.Name = "Part" | |
| 807 | p.TopSurface = 0 | |
| 808 | p.BottomSurface = 0 | |
| 809 | p.formFactor = "Custom" | |
| 810 | p.Size = Vector3.new(11, 0.60, 2.39) | |
| 811 | p.CFrame = CFrame.new(32.1999855, 12.3699961, 62.9999733, -1.49008788e-008, -2.3933373e-007, 0.999990225, 6.6675625e-009, 0.99999392, 2.39334668e-007, -0.999994516, 6.66761935e-009, 7.45059765e-008) | |
| 812 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 813 | p.Transparency = 0 | |
| 814 | p.Reflectance = .1 | |
| 815 | p.Material = Enum.Material.Plastic | |
| 816 | m = Instance.new("SpecialMesh")
| |
| 817 | m.Scale = Vector3.new(1, 1, 1) | |
| 818 | m.Parent = p | |
| 819 | m.MeshType = Enum.MeshType.Wedge | |
| 820 | p = Instance.new("Part", Model)
| |
| 821 | p.Name = "Part" | |
| 822 | p.TopSurface = 0 | |
| 823 | p.BottomSurface = 0 | |
| 824 | p.formFactor = "Custom" | |
| 825 | p.Size = Vector3.new(4, 13, 1) | |
| 826 | p.CFrame = CFrame.new(40.8999939, 10.0700006, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 827 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 828 | p.Transparency = 0 | |
| 829 | p.Reflectance = .1 | |
| 830 | p.Material = Enum.Material.Plastic | |
| 831 | p = Instance.new("Part", Model)
| |
| 832 | p.Name = "Part" | |
| 833 | p.TopSurface = 0 | |
| 834 | p.BottomSurface = 0 | |
| 835 | p.formFactor = "Custom" | |
| 836 | p.Size = Vector3.new(10.1, 1, 0.99) | |
| 837 | p.CFrame = CFrame.new(51.8999825, 18.1699867, 62.9999733, 1.49008796e-008, 2.39336913e-007, -0.999990225, 6.66744882e-009, 0.99999392, 2.39337737e-007, 0.999994516, -6.66736355e-009, -7.45059765e-008) | |
| 838 | p.BrickColor = BrickColor.new("Mid gray")
| |
| 839 | p.Transparency = 0 | |
| 840 | p.Reflectance = .1 | |
| 841 | p.Material = Enum.Material.Plastic | |
| 842 | m = Instance.new("SpecialMesh")
| |
| 843 | m.Scale = Vector3.new(1, 1, 1) | |
| 844 | m.Parent = p | |
| 845 | m.MeshType = Enum.MeshType.Wedge | |
| 846 | p = Instance.new("Part", Model)
| |
| 847 | p.Name = "Part" | |
| 848 | p.TopSurface = 0 | |
| 849 | p.BottomSurface = 0 | |
| 850 | p.formFactor = "Custom" | |
| 851 | p.Size = Vector3.new(1, 1, 4.59) | |
| 852 | p.CFrame = CFrame.new(49.099987, 18.1699944, 67.5999985, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 853 | p.BrickColor = BrickColor.new("Mid gray")
| |
| 854 | p.Transparency = 0 | |
| 855 | p.Reflectance = .1 | |
| 856 | p.Material = Enum.Material.Plastic | |
| 857 | p = Instance.new("Part", Model)
| |
| 858 | p.Name = "Part" | |
| 859 | p.TopSurface = 0 | |
| 860 | p.BottomSurface = 0 | |
| 861 | p.formFactor = "Custom" | |
| 862 | p.Size = Vector3.new(1.99, 1, 1) | |
| 863 | p.CFrame = CFrame.new(51.8999863, 16.6699886, 67.5999908, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 864 | p.BrickColor = BrickColor.new("Mid gray")
| |
| 865 | p.Transparency = 0 | |
| 866 | p.Reflectance = .1 | |
| 867 | p.Material = Enum.Material.Plastic | |
| 868 | p = Instance.new("Part", Model)
| |
| 869 | p.Name = "Part" | |
| 870 | p.TopSurface = 0 | |
| 871 | p.BottomSurface = 0 | |
| 872 | p.formFactor = "Custom" | |
| 873 | p.Size = Vector3.new(1, 1, 4.59) | |
| 874 | p.CFrame = CFrame.new(49.099987, 18.1699867, 63.0000153, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
| 875 | p.BrickColor = BrickColor.new("Mid gray")
| |
| 876 | p.Transparency = 0 | |
| 877 | p.Reflectance = .1 | |
| 878 | p.Material = Enum.Material.Plastic | |
| 879 | p = Instance.new("Part", Model)
| |
| 880 | p.Name = "Part" | |
| 881 | p.TopSurface = 0 | |
| 882 | p.BottomSurface = 0 | |
| 883 | p.formFactor = "Custom" | |
| 884 | p.Size = Vector3.new(10.1, 1, 0.99) | |
| 885 | p.CFrame = CFrame.new(46.2999916, 18.1699886, 63.0000229, -1.49008823e-008, -2.39345496e-007, 0.999990225, 6.66727829e-009, 0.99999392, 2.39346434e-007, -0.999994516, 6.66733513e-009, 7.45059765e-008) | |
| 886 | p.BrickColor = BrickColor.new("Mid gray")
| |
| 887 | p.Transparency = 0 | |
| 888 | p.Reflectance = .1 | |
| 889 | p.Material = Enum.Material.Plastic | |
| 890 | m = Instance.new("SpecialMesh")
| |
| 891 | m.Scale = Vector3.new(1, 1, 1) | |
| 892 | m.Parent = p | |
| 893 | m.MeshType = Enum.MeshType.Wedge | |
| 894 | ||
| 895 | Spawn = function() | |
| 896 | Modelc = Model:clone() | |
| 897 | for _, v in pairs(Modelc:children()) do | |
| 898 | if v.className == "Part" then | |
| 899 | if v.Name ~= "Center" then | |
| 900 | w = Instance.new("Weld")
| |
| 901 | w.Part0 = Modelc.Center | |
| 902 | w.Part1 = v | |
| 903 | w.C1 = v.CFrame:inverse() * CFrame.new(v.Position) | |
| 904 | w.C0 = Modelc.Center.CFrame:inverse() * CFrame.new(v.Position) | |
| 905 | w.Parent = w.Part0 | |
| 906 | end | |
| 907 | end | |
| 908 | end | |
| 909 | return Modelc | |
| 910 | end | |
| 911 | ||
| 912 | CameraRadius = 66 | |
| 913 | TimeStopRadius = 66 | |
| 914 | ||
| 915 | RightShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 916 | RightShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 917 | LeftShoulderC0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 918 | LeftShoulderC1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 919 | RightHipC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 920 | RightHipC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 921 | LeftHipC0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 922 | LeftHipC1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 923 | NeckC0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 924 | NeckC1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 925 | RootJointC0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 926 | RootJointC1 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 927 | ||
| 928 | getWelds = function(c) --designate weld variables | |
| 929 | local t = c.Torso | |
| 930 | local hrp = c.HumanoidRootPart.RootJoint | |
| 931 | RightShoulder = t:FindFirstChild("Right Shoulder")
| |
| 932 | LeftShoulder = t:FindFirstChild("Left Shoulder")
| |
| 933 | RightHip = t:FindFirstChild("Right Hip")
| |
| 934 | LeftHip = t:FindFirstChild("Left Hip")
| |
| 935 | RootJoint = hrp | |
| 936 | Neck = t:FindFirstChild("Neck")
| |
| 937 | end | |
| 938 | resetWelds = function(ext, occ) --extent 1-3; occlusion | |
| 939 | --1 == reset desiredangle/currentangle | |
| 940 | --2 == reset C0/C1 | |
| 941 | --3 == reset both des/cur/c0/c1 | |
| 942 | local r = {
| |
| 943 | RightShoulder, | |
| 944 | LeftShoulder, | |
| 945 | RightHip, | |
| 946 | LeftHip, | |
| 947 | RootJoint, | |
| 948 | Neck, | |
| 949 | Grip | |
| 950 | } | |
| 951 | for _, v in pairs(r) do | |
| 952 | for i = 1, #occ do | |
| 953 | if occ[i] == v then | |
| 954 | table.remove(r, _) | |
| 955 | end | |
| 956 | end | |
| 957 | end | |
| 958 | for _, v in pairs(r) do | |
| 959 | if v.Name == "Right Shoulder" then | |
| 960 | if ext == 1 then | |
| 961 | v.DesiredAngle = 0 | |
| 962 | v.CurrentAngle = 0 | |
| 963 | elseif ext == 2 then | |
| 964 | v.C0 = RightShoulderC0 | |
| 965 | v.C1 = RightShoulderC1 | |
| 966 | elseif ext == 3 then | |
| 967 | v.DesiredAngle = 0 | |
| 968 | v.CurrentAngle = 0 | |
| 969 | v.C0 = RightShoulderC0 | |
| 970 | v.C1 = RightShoulderC1 | |
| 971 | end | |
| 972 | elseif v.Name == "Left Shoulder" then | |
| 973 | if ext == 1 then | |
| 974 | v.DesiredAngle = 0 | |
| 975 | v.CurrentAngle = 0 | |
| 976 | elseif ext == 2 then | |
| 977 | v.C0 = LeftShoulderC0 | |
| 978 | v.C1 = LeftShoulderC1 | |
| 979 | elseif ext == 3 then | |
| 980 | v.DesiredAngle = 0 | |
| 981 | v.CurrentAngle = 0 | |
| 982 | v.C0 = LeftShoulderC0 | |
| 983 | v.C1 = LeftShoulderC1 | |
| 984 | end | |
| 985 | elseif v.Name == "Right Hip" then | |
| 986 | if ext == 1 then | |
| 987 | v.DesiredAngle = 0 | |
| 988 | v.CurrentAngle = 0 | |
| 989 | elseif ext == 2 then | |
| 990 | v.C0 = RightHipC0 | |
| 991 | v.C1 = RightHipC1 | |
| 992 | elseif ext == 3 then | |
| 993 | v.DesiredAngle = 0 | |
| 994 | v.CurrentAngle = 0 | |
| 995 | v.C0 = RightHipC0 | |
| 996 | v.C1 = RightHipC1 | |
| 997 | end | |
| 998 | elseif v.Name == "Left Hip" then | |
| 999 | if ext == 1 then | |
| 1000 | v.DesiredAngle = 0 | |
| 1001 | v.CurrentAngle = 0 | |
| 1002 | elseif ext == 2 then | |
| 1003 | v.C0 = LeftHipC0 | |
| 1004 | v.C1 = LeftHipC1 | |
| 1005 | elseif ext == 3 then | |
| 1006 | v.DesiredAngle = 0 | |
| 1007 | v.CurrentAngle = 0 | |
| 1008 | v.C0 = LeftHipC0 | |
| 1009 | v.C1 = LeftHipC1 | |
| 1010 | end | |
| 1011 | elseif v.Name == "Neck" then | |
| 1012 | if ext == 1 then | |
| 1013 | v.DesiredAngle = 0 | |
| 1014 | v.CurrentAngle = 0 | |
| 1015 | elseif ext == 2 then | |
| 1016 | v.C0 = NeckC0 | |
| 1017 | v.C1 = NeckC1 | |
| 1018 | elseif ext == 3 then | |
| 1019 | v.DesiredAngle = 0 | |
| 1020 | v.CurrentAngle = 0 | |
| 1021 | v.C0 = NeckC0 | |
| 1022 | v.C1 = NeckC1 | |
| 1023 | end | |
| 1024 | elseif v.Name == "RootJoint" then | |
| 1025 | if ext == 1 then | |
| 1026 | v.DesiredAngle = 0 | |
| 1027 | v.CurrentAngle = 0 | |
| 1028 | elseif ext == 2 then | |
| 1029 | v.C0 = RootJointC0 | |
| 1030 | v.C1 = RootJointC1 | |
| 1031 | elseif ext == 3 then | |
| 1032 | v.DesiredAngle = 0 | |
| 1033 | v.CurrentAngle = 0 | |
| 1034 | v.C0 = RootJointC0 | |
| 1035 | v.C1 = RootJointC1 | |
| 1036 | end | |
| 1037 | elseif v.Name == "RightGrip" then | |
| 1038 | if ext == 1 then | |
| 1039 | elseif ext == 2 then | |
| 1040 | Grip.C0 = nGrip.C0 | |
| 1041 | Grip.C1 = nGrip.C1 | |
| 1042 | elseif ext == 3 then | |
| 1043 | Grip.C0 = nGrip.C0 | |
| 1044 | Grip.C1 = nGrip.C1 | |
| 1045 | end | |
| 1046 | end | |
| 1047 | end | |
| 1048 | end | |
| 1049 | ||
| 1050 | ||
| 1051 | doitdocdoit = function() | |
| 1052 | if deb == false then | |
| 1053 | return | |
| 1054 | end | |
| 1055 | deb = false | |
| 1056 | ||
| 1057 | vPlayer = LaWleSs_ReAliTy | |
| 1058 | cPlayer = vPlayer.Character | |
| 1059 | Anim = cPlayer.Animate | |
| 1060 | Anim.Disabled = true | |
| 1061 | Hum = cPlayer.Humanoid | |
| 1062 | Hum.Name = "NOPE" | |
| 1063 | Hum.WalkSpeed = 0 | |
| 1064 | getWelds(cPlayer) | |
| 1065 | resetWelds(3, {})
| |
| 1066 | ||
| 1067 | bodypos = Instance.new("BodyPosition")
| |
| 1068 | bodypos.P = 4000 | |
| 1069 | bodypos.maxForce = Vector3.new(5000000, 50000000, 5000000) * 5000 | |
| 1070 | bodypos.position = cPlayer.Torso.Position + Vector3.new(0, .5, 0) | |
| 1071 | bodypos.Parent = cPlayer.Torso | |
| 1072 | ||
| 1073 | dir = cPlayer.HumanoidRootPart.CFrame.lookVector | |
| 1074 | CPlayer = cPlayer | |
| 1075 | partpos = Instance.new("Part", workspace)
| |
| 1076 | partpos.Transparency = 1 | |
| 1077 | partpos.CanCollide = false | |
| 1078 | partpos.Anchored = true | |
| 1079 | partpos.CFrame = cPlayer.Torso.CFrame | |
| 1080 | ||
| 1081 | sound = Instance.new("Sound")
| |
| 1082 | sound.Parent = partpos | |
| 1083 | sound.Volume = 1 | |
| 1084 | sound.SoundId = "http://www.roblox.com/asset/?id=468760371" | |
| 1085 | -- sound.SoundId="http://www.roblox.com/asset/?id=168009623" | |
| 1086 | sound2 = Instance.new("Sound")
| |
| 1087 | sound2.Parent = workspace.CurrentCamera | |
| 1088 | sound2.Volume = 1 | |
| 1089 | sound2.SoundId = "http://www.roblox.com/asset/?id=468760371" | |
| 1090 | -- sound2.SoundId="http://www.roblox.com/asset/?id=168009623" | |
| 1091 | sound:Play() | |
| 1092 | sound2:Play() | |
| 1093 | expected = 10 | |
| 1094 | did = false | |
| 1095 | pooted = 0 | |
| 1096 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 1097 | pooted = pooted + 1 | |
| 1098 | if pooted >= expected + 1 then | |
| 1099 | sos:disconnect() | |
| 1100 | did = true | |
| 1101 | return | |
| 1102 | end | |
| 1103 | resetWelds(3, {})
| |
| 1104 | RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(0), math.rad(0)) | |
| 1105 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(0), math.rad(0)) | |
| 1106 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(0), math.rad(0)) | |
| 1107 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(0), math.rad(0)) | |
| 1108 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
| 1109 | RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
| 1110 | end) | |
| 1111 | --[[sound=Instance.new("Sound")
| |
| 1112 | sound.Parent=cPlayer.Torso | |
| 1113 | sound.Volume=1 | |
| 1114 | sound.SoundId="http://www.roblox.com/asset/?id=316900066" | |
| 1115 | sound:Play()]]-- | |
| 1116 | while did == false do | |
| 1117 | wait() | |
| 1118 | end | |
| 1119 | ||
| 1120 | expected = 10 | |
| 1121 | did = false | |
| 1122 | pooted = 0 | |
| 1123 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 1124 | pooted = pooted + 1 | |
| 1125 | if pooted >= expected + 1 then | |
| 1126 | sos:disconnect() | |
| 1127 | did = true | |
| 1128 | return | |
| 1129 | end | |
| 1130 | resetWelds(3, {})
| |
| 1131 | RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12 - pooted * 8), math.rad(0), math.rad(pooted)) | |
| 1132 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, pooted * .1) * CFrame.fromEulerAnglesXYZ(math.rad(-12 - pooted * 9), math.rad(pooted * 9), math.rad(0)) | |
| 1133 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12), math.rad(0), math.rad(0)) | |
| 1134 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12), math.rad(0), math.rad(0)) | |
| 1135 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(pooted / 2), math.rad(0), math.rad(-pooted * 9)) | |
| 1136 | RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(pooted / 3), math.rad(pooted * 10)) | |
| 1137 | end) | |
| 1138 | while did == false do | |
| 1139 | wait() | |
| 1140 | end | |
| 1141 | wait(.2) | |
| 1142 | expected = 5 | |
| 1143 | did = false | |
| 1144 | pooted = 0 | |
| 1145 | nubhit = nil | |
| 1146 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 1147 | pooted = pooted + 1 | |
| 1148 | if pooted >= expected + 1 then | |
| 1149 | sos:disconnect() | |
| 1150 | did = true | |
| 1151 | return | |
| 1152 | end | |
| 1153 | resetWelds(3, {})
| |
| 1154 | RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12 - pooted * 8), math.rad(0), math.rad(pooted)) | |
| 1155 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, pooted * .1) * CFrame.fromEulerAnglesXYZ(math.rad(-12 - pooted * 9), math.rad(pooted * 9), math.rad(0)) | |
| 1156 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12), math.rad(0), math.rad(0)) | |
| 1157 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12), math.rad(0), math.rad(0)) | |
| 1158 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(5), math.rad(0), math.rad(-90 + pooted * 40)) | |
| 1159 | RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-10 + pooted * 4), math.rad(3.3), math.rad(90 - pooted * 34)) | |
| 1160 | if nubhit == nil then | |
| 1161 | bodypos.position = bodypos.position + dir * 4 | |
| 1162 | cPlayer.Torso.CFrame = CFrame.new(bodypos.position + dir * 4, bodypos.position + dir * 20) | |
| 1163 | --bodypos.position=bodypos.position + dir*9 | |
| 1164 | --cPlayer.Torso.CFrame=CFrame.new(bodypos.position+dir*9,bodypos.position+dir*20) | |
| 1165 | end | |
| 1166 | if nubhit == nil and pooted >= 2 then | |
| 1167 | pos = bodypos.position + dir * 2 | |
| 1168 | radi = 6 | |
| 1169 | for _, v in pairs(workspace:children()) do | |
| 1170 | h = v:FindFirstChild("Humanoid")
| |
| 1171 | t = v:FindFirstChild("Torso")
| |
| 1172 | if h ~= nil and t ~= nil and v ~= cPlayer then | |
| 1173 | if (t.Position - pos).magnitude <= radi then | |
| 1174 | print(":>")
| |
| 1175 | nubhit = v | |
| 1176 | break | |
| 1177 | end | |
| 1178 | end | |
| 1179 | end | |
| 1180 | end | |
| 1181 | if nubhit ~= nil then | |
| 1182 | if nubhit.Torso:FindFirstChild("PART1") == nil then
| |
| 1183 | v = Instance.new("BodyVelocity")
| |
| 1184 | v.P = 4000 | |
| 1185 | v.maxForce = Vector3.new(500000000000, 500000000000, 500000000000) | |
| 1186 | v.velocity = dir * 4 + Vector3.new(0, 4, 0) | |
| 1187 | v.Name = "PART1" | |
| 1188 | v.Parent = nubhit.Torso | |
| 1189 | game:GetService("Debris"):AddItem(v, 5)
| |
| 1190 | coroutine.resume(coroutine.create(function(v) | |
| 1191 | for i = 1, 100 do | |
| 1192 | v.velocity = v.velocity - Vector3.new(0, .07, 0) | |
| 1193 | wait() | |
| 1194 | end | |
| 1195 | end), v) | |
| 1196 | v = Instance.new("BodyGyro")
| |
| 1197 | v.P = 20 | |
| 1198 | v.D = 30 | |
| 1199 | v.maxTorque = Vector3.new(5000000, 5000000, 5000000) | |
| 1200 | v.cframe = CPlayer.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.pi / 2, math.pi, 0) | |
| 1201 | v.Name = "PART1" | |
| 1202 | v.Parent = nubhit.Torso | |
| 1203 | game:GetService("Debris"):AddItem(v, 5)
| |
| 1204 | end | |
| 1205 | end | |
| 1206 | end) | |
| 1207 | while did == false do | |
| 1208 | wait() | |
| 1209 | end | |
| 1210 | if nubhit == nil then | |
| 1211 | sound:Stop() | |
| 1212 | wait(.5) | |
| 1213 | sound2:Stop() | |
| 1214 | else | |
| 1215 | expected = 32 | |
| 1216 | did = false | |
| 1217 | pooted = 0 | |
| 1218 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 1219 | pooted = pooted + 1 | |
| 1220 | if pooted >= expected + 1 then | |
| 1221 | sos:disconnect() | |
| 1222 | did = true | |
| 1223 | return | |
| 1224 | end | |
| 1225 | RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-.03), math.rad(0), math.rad(.03)) | |
| 1226 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, .02) * CFrame.fromEulerAnglesXYZ(math.rad(-.05), math.rad(.08), math.rad(0)) | |
| 1227 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-.04), math.rad(0), math.rad(0)) | |
| 1228 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-.04), math.rad(0), math.rad(0)) | |
| 1229 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(.05), math.rad(0), math.rad(.1)) | |
| 1230 | RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(.2), math.rad(0.05), math.rad(-.05)) | |
| 1231 | bodypos.position = bodypos.position + dir * .05 | |
| 1232 | cPlayer.Torso.CFrame = CFrame.new(bodypos.position + dir * .05, bodypos.position + dir * 20) | |
| 1233 | end) | |
| 1234 | while did == false do | |
| 1235 | wait() | |
| 1236 | end | |
| 1237 | bodypos.Parent = nil | |
| 1238 | expected = 12 | |
| 1239 | did = false | |
| 1240 | pooted = 0 | |
| 1241 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 1242 | pooted = pooted + 1 | |
| 1243 | if pooted >= expected + 1 then | |
| 1244 | sos:disconnect() | |
| 1245 | did = true | |
| 1246 | return | |
| 1247 | end | |
| 1248 | RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(4.5), math.rad(0), math.rad(-.15)) | |
| 1249 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, -.07) * CFrame.fromEulerAnglesXYZ(math.rad(5.6), math.rad(-4.5), math.rad(1.25)) | |
| 1250 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1.24), math.rad(0), math.rad(0)) | |
| 1251 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1.24), math.rad(0), math.rad(0)) | |
| 1252 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(-2.5), math.rad(-8)) | |
| 1253 | RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-.5), math.rad(-.5), math.rad(7)) | |
| 1254 | end) | |
| 1255 | ||
| 1256 | while did == false do | |
| 1257 | wait() | |
| 1258 | end | |
| 1259 | expected = 6 | |
| 1260 | did = false | |
| 1261 | pooted = 0 | |
| 1262 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 1263 | pooted = pooted + 1 | |
| 1264 | if pooted >= expected + 1 then | |
| 1265 | sos:disconnect() | |
| 1266 | did = true | |
| 1267 | return | |
| 1268 | end | |
| 1269 | resetWelds(3, {})
| |
| 1270 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 5), math.rad(0), math.rad(pooted * 18)) | |
| 1271 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 5), math.rad(0), math.rad(-pooted * 18)) | |
| 1272 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(pooted * 6)) | |
| 1273 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(-pooted * 6)) | |
| 1274 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20 + pooted * 5), math.rad(0), math.rad(0)) | |
| 1275 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, pooted * .03, -pooted * .1) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 6), math.rad(0), math.rad(pooted * 1)) | |
| 1276 | print(":(")
| |
| 1277 | end) | |
| 1278 | wait(.3) | |
| 1279 | while did == false do | |
| 1280 | wait() | |
| 1281 | end | |
| 1282 | resetWelds(3, {
| |
| 1283 | "Neck" | |
| 1284 | }) | |
| 1285 | expected = 5 | |
| 1286 | did = false | |
| 1287 | pooted = 0 | |
| 1288 | p = Instance.new("Part", workspace)
| |
| 1289 | p.Name = "ORB" | |
| 1290 | p.TopSurface = 0 | |
| 1291 | p.BottomSurface = 0 | |
| 1292 | p.formFactor = "Custom" | |
| 1293 | p.CFrame = cPlayer.Torso.CFrame | |
| 1294 | m = Instance.new("SpecialMesh", p)
| |
| 1295 | m.MeshType = "Sphere" | |
| 1296 | p.BrickColor = BrickColor:White() | |
| 1297 | p.Size = Vector3.new(1, 1, 1) | |
| 1298 | p.CanCollide = false | |
| 1299 | p.Anchored = true | |
| 1300 | game:GetService("Debris"):AddItem(p, 5)
| |
| 1301 | coroutine.resume(coroutine.create(function(p) | |
| 1302 | nubhit.Torso.Anchored = true | |
| 1303 | for i = 1, 10 do | |
| 1304 | p.Mesh.Scale = p.Mesh.Scale + Vector3.new(5, 5, 5) | |
| 1305 | p.Transparency = .5 + i / 20 | |
| 1306 | wait() | |
| 1307 | end | |
| 1308 | p:Remove() | |
| 1309 | end), p) | |
| 1310 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 1311 | pooted = pooted + 1 | |
| 1312 | if pooted >= expected + 1 then | |
| 1313 | sos:disconnect() | |
| 1314 | did = true | |
| 1315 | return | |
| 1316 | end | |
| 1317 | resetWelds(3, {})
| |
| 1318 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 10), math.rad(-pooted * 12), math.rad(pooted * 10)) | |
| 1319 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 10), math.rad(pooted * 12), math.rad(-pooted * 10)) | |
| 1320 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(-pooted * 10)) | |
| 1321 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(pooted * 9)) | |
| 1322 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20 - pooted * 6), math.rad(0), math.rad(0)) | |
| 1323 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, pooted * .03, -pooted * .1) * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 9.5), math.rad(0), math.rad(pooted * .2)) | |
| 1324 | print(":(")
| |
| 1325 | end) | |
| 1326 | ||
| 1327 | while did == false do | |
| 1328 | wait() | |
| 1329 | end | |
| 1330 | wait(1) | |
| 1331 | expected = 5 | |
| 1332 | did = false | |
| 1333 | pooted = 0 | |
| 1334 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 1335 | pooted = pooted + 1 | |
| 1336 | if pooted >= expected + 1 then | |
| 1337 | sos:disconnect() | |
| 1338 | did = true | |
| 1339 | return | |
| 1340 | end | |
| 1341 | resetWelds(3, {})
| |
| 1342 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0.05 * pooted, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 2), math.rad(0), math.rad(pooted * 6)) | |
| 1343 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 2), math.rad(0), math.rad(-pooted * 6)) | |
| 1344 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(-57 + pooted * 20)) | |
| 1345 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(57 - pooted * 20)) | |
| 1346 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 4), math.rad(0), math.rad(0)) | |
| 1347 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, -.1 * pooted) * CFrame.fromEulerAnglesXYZ(math.rad(-57 + pooted * 20), math.rad(0), math.rad(0)) | |
| 1348 | print(":(")
| |
| 1349 | end) | |
| 1350 | while did == false do | |
| 1351 | wait() | |
| 1352 | end | |
| 1353 | wait(.8) | |
| 1354 | expected = 5 | |
| 1355 | did = false | |
| 1356 | pooted = 0 | |
| 1357 | bodypos.Parent = cPlayer.Torso | |
| 1358 | workspace.CurrentCamera.CameraType = "Follow" | |
| 1359 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 1360 | pooted = pooted + 1 | |
| 1361 | if pooted >= expected + 1 then | |
| 1362 | sos:disconnect() | |
| 1363 | did = true | |
| 1364 | return | |
| 1365 | end | |
| 1366 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-2), math.rad(0), math.rad(-3)) | |
| 1367 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(2), math.rad(0), math.rad(3)) | |
| 1368 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(-8)) | |
| 1369 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(8)) | |
| 1370 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-14), math.rad(0), math.rad(0)) | |
| 1371 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, .05) * CFrame.fromEulerAnglesXYZ(math.rad(-7), math.rad(0), math.rad(0)) | |
| 1372 | - | Tool.Parent = game.Players.LocalPlayer.Backpack |
| 1372 | + | |
| 1373 | bodypos.position = bodypos.position + Vector3.new(0, 240, 0) | |
| 1374 | - | mouse.Button1Down:connect(function() |
| 1374 | + | |
| 1375 | ||
| 1376 | print(":(")
| |
| 1377 | end) | |
| 1378 | local DIOPLS = Instance.new("Sound", cPlayer.Torso)
| |
| 1379 | DIOPLS.SoundId = "rbxassetid://316900066" | |
| 1380 | DIOPLS.Volume = 1 | |
| 1381 | DIOPLS:Play() | |
| 1382 | Instance.new("DistortionSoundEffect", DIOPLS).Level = 1
| |
| 1383 | game:GetService("Debris"):AddItem(DIOPLS, 19)
| |
| 1384 | while did == false do | |
| 1385 | wait() | |
| 1386 | end | |
| 1387 | wait(.8) | |
| 1388 | LOL = Spawn() | |
| 1389 | LOL.Parent = workspace | |
| 1390 | LOL:MakeJoints() | |
| 1391 | LOL:MoveTo(cPlayer.Torso.CFrame.p) | |
| 1392 | C = LOL.Center | |
| 1393 | C.CFrame = CFrame.new(nubhit.Torso.Position + Vector3.new(0, 1200, 0)) * CFrame.new(8, 0, 0) | |
| 1394 | ||
| 1395 | bb = Instance.new("BodyPosition")
| |
| 1396 | bb.Parent = C | |
| 1397 | bb.maxForce = Vector3.new(50000000000000000, 50000000000000000, 50000000000000000) | |
| 1398 | bb.position = bb.Parent.Position | |
| 1399 | C.CFrame = CFrame.new(bb.position) | |
| 1400 | orig = bb.position | |
| 1401 | ||
| 1402 | gg = Instance.new("BodyGyro")
| |
| 1403 | gg.P = 15000 | |
| 1404 | gg.D = 100 | |
| 1405 | gg.maxTorque = Vector3.new(500000000, 500000000, 500000000) | |
| 1406 | gg.cframe = CFrame.new(C.Position, Vector3.new(nubhit.Torso.Position.x, C.Position.y, nubhit.Torso.Position.z)) * CFrame.fromEulerAnglesXYZ(-math.rad(10), math.rad(10), 0) | |
| 1407 | gg.Parent = C | |
| 1408 | ||
| 1409 | expected = 80 | |
| 1410 | did = false | |
| 1411 | pooted = 0 | |
| 1412 | ||
| 1413 | resetWelds(3, {})
| |
| 1414 | ||
| 1415 | Hum.PlatformStand = true | |
| 1416 | ||
| 1417 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, .4, 0) * CFrame.fromEulerAnglesXYZ(math.rad(30), math.rad(0), math.rad(180)) | |
| 1418 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, .4, 0) * CFrame.fromEulerAnglesXYZ(math.rad(30), math.rad(0), math.rad(-180)) | |
| 1419 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-8), math.rad(0), math.rad(-8)) | |
| 1420 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-8), math.rad(0), math.rad(8)) | |
| 1421 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-45), math.rad(0), math.rad(0)) | |
| 1422 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
| 1423 | ||
| 1424 | bodypos.Parent = nil | |
| 1425 | w = Instance.new("Weld")
| |
| 1426 | w.Part0 = C | |
| 1427 | w.Part1 = cPlayer.Torso | |
| 1428 | w.C0 = CFrame.new(.3, 5.6, -7) * CFrame.fromEulerAnglesXYZ(math.pi / .9, math.pi / 10, 0) | |
| 1429 | w.C0 = w.C0 * CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 1430 | w.Parent = w.Part0 | |
| 1431 | ||
| 1432 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 1433 | pooted = pooted + 1 | |
| 1434 | if pooted >= expected + 1 then | |
| 1435 | sos:disconnect() | |
| 1436 | did = true | |
| 1437 | return | |
| 1438 | end | |
| 1439 | ||
| 1440 | bb.position = orig - Vector3.new(0, 1202 / 80 * pooted, 0) | |
| 1441 | C.CFrame = C.CFrame - Vector3.new(0, 1202 / 80, 0) | |
| 1442 | print(":(")
| |
| 1443 | end) | |
| 1444 | ||
| 1445 | while did == false do | |
| 1446 | wait() | |
| 1447 | end | |
| 1448 | C.CFrame = CFrame.new(nubhit.Torso.Position + Vector3.new(0, 4, 0), Vector3.new(nubhit.Torso.Position.x, C.Position.y, nubhit.Torso.Position.z)) * CFrame.fromEulerAnglesXYZ(-math.rad(5), math.rad(5), 0) | |
| 1449 | C.CFrame = C.CFrame * CFrame.new(8, 0, 0) | |
| 1450 | bl2 = Instance.new("Part")
| |
| 1451 | bl2.TopSurface = 0 | |
| 1452 | bl2.BottomSurface = 0 | |
| 1453 | bl2.CanCollide = false | |
| 1454 | bl2.formFactor = "Symmetric" | |
| 1455 | local ShockWaveSound = Instance.new("Sound", bl2)
| |
| 1456 | ShockWaveSound.SoundId = "rbxassetid://138186576" | |
| 1457 | ShockWaveSound.Pitch = 0.8 | |
| 1458 | ShockWaveSound.Volume = 1 | |
| 1459 | ShockWaveSound:Play() | |
| 1460 | Instance.new("DistortionSoundEffect", ShockWaveSound).Level = 1
| |
| 1461 | m = Instance.new("SpecialMesh")
| |
| 1462 | m.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 1463 | m.Scale = Vector3.new(1, 4, 1) | |
| 1464 | m.Parent = bl2 | |
| 1465 | bl2.Size = Vector3.new(1, 1, 1) | |
| 1466 | bl2.Anchored = false | |
| 1467 | bl2.Name = "c" | |
| 1468 | bl2.CFrame = CFrame.new(C.Position) - Vector3.new(0, 2, 0) | |
| 1469 | bl2.BrickColor = BrickColor.new("White")
| |
| 1470 | bl2.Parent = CPlayer | |
| 1471 | coroutine.resume(coroutine.create(function(p) | |
| 1472 | for i = 1, 10 do | |
| 1473 | p.Mesh.Scale = p.Mesh.Scale + Vector3.new(8, 0, 8) | |
| 1474 | p.Transparency = .25 + i * .075 | |
| 1475 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(5), 0) | |
| 1476 | wait() | |
| 1477 | end | |
| 1478 | p:Remove() | |
| 1479 | end), bl2) | |
| 1480 | bl2.Anchored = true | |
| 1481 | ||
| 1482 | bl2 = Instance.new("Part")
| |
| 1483 | bl2.TopSurface = 0 | |
| 1484 | bl2.BottomSurface = 0 | |
| 1485 | bl2.CanCollide = false | |
| 1486 | bl2.formFactor = "Symmetric" | |
| 1487 | m = Instance.new("SpecialMesh")
| |
| 1488 | m.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 1489 | m.Scale = Vector3.new(1, 6, 1) | |
| 1490 | m.Parent = bl2 | |
| 1491 | bl2.Size = Vector3.new(1, 1, 1) | |
| 1492 | bl2.Anchored = false | |
| 1493 | bl2.Name = "c" | |
| 1494 | bl2.CFrame = CFrame.new(C.Position) - Vector3.new(0, 2, 0) | |
| 1495 | bl2.BrickColor = BrickColor.new("White")
| |
| 1496 | bl2.Parent = CPlayer | |
| 1497 | coroutine.resume(coroutine.create(function(p) | |
| 1498 | for i = 1, 20 do | |
| 1499 | p.Mesh.Scale = p.Mesh.Scale + Vector3.new(6, 0, 6) | |
| 1500 | p.Transparency = i / 20 | |
| 1501 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(3), 0) | |
| 1502 | wait() | |
| 1503 | end | |
| 1504 | p:Remove() | |
| 1505 | end), bl2) | |
| 1506 | bl2.Anchored = true | |
| 1507 | ||
| 1508 | gg.cframe = gg.cframe * CFrame.fromEulerAnglesXYZ(math.rad(10), -math.rad(10), 0) | |
| 1509 | expected = 3 | |
| 1510 | did = false | |
| 1511 | pooted = 0 | |
| 1512 | workspace.CurrentCamera.CameraType = "Follow" | |
| 1513 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 1514 | pooted = pooted + 1 | |
| 1515 | if pooted >= expected + 1 then | |
| 1516 | sos:disconnect() | |
| 1517 | did = true | |
| 1518 | return | |
| 1519 | end | |
| 1520 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
| 1521 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
| 1522 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-4), math.rad(0), math.rad(0)) | |
| 1523 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(4), math.rad(0), math.rad(0)) | |
| 1524 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
| 1525 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(5), math.rad(0), math.rad(0)) | |
| 1526 | ||
| 1527 | w.C0 = w.C0 * CFrame.fromEulerAnglesXYZ(math.rad(15), 0, 0) | |
| 1528 | ||
| 1529 | print(":(")
| |
| 1530 | end) | |
| 1531 | while did == false do | |
| 1532 | wait() | |
| 1533 | end | |
| 1534 | wait(.3) | |
| 1535 | expected = 5 | |
| 1536 | did = false | |
| 1537 | pooted = 0 | |
| 1538 | workspace.CurrentCamera.CameraType = "Follow" | |
| 1539 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 1540 | pooted = pooted + 1 | |
| 1541 | if pooted >= expected + 1 then | |
| 1542 | sos:disconnect() | |
| 1543 | did = true | |
| 1544 | return | |
| 1545 | end | |
| 1546 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
| 1547 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
| 1548 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(-8)) | |
| 1549 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(8)) | |
| 1550 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(5), math.rad(0), math.rad(0)) | |
| 1551 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(14), math.rad(0), math.rad(0)) | |
| 1552 | ||
| 1553 | w.C0 = w.C0 * CFrame.new(0, 0, -.04) * CFrame.fromEulerAnglesXYZ(math.rad(15), 0, 0) | |
| 1554 | ||
| 1555 | print(":(")
| |
| 1556 | end) | |
| 1557 | while did == false do | |
| 1558 | wait() | |
| 1559 | end | |
| 1560 | expected = 203 | |
| 1561 | did = false | |
| 1562 | pooted = 0 | |
| 1563 | workspace.CurrentCamera.CameraType = "Follow" | |
| 1564 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 1565 | pooted = pooted + 1 | |
| 1566 | if pooted >= expected + 1 then | |
| 1567 | sos:disconnect() | |
| 1568 | did = true | |
| 1569 | return | |
| 1570 | end | |
| 1571 | resetWelds(3, {
| |
| 1572 | RightHip, | |
| 1573 | LeftHip, | |
| 1574 | RootJoint, | |
| 1575 | Neck | |
| 1576 | }) | |
| 1577 | RightShoulder.C0 = RightShoulderC0 * CFrame.new(math.random(-20, 20) / 200, math.cos(time() * 30), math.random(-20, 20) / 200) * CFrame.fromEulerAnglesXYZ(math.sin(time() * 20) / 3, math.sin(time() * 20) / 5, math.rad(60) - math.cos(time() * 70) * 2) | |
| 1578 | LeftShoulder.C0 = LeftShoulderC0 * CFrame.new(math.random(-20, 20) / 200, math.cos(time() * 30), math.random(-20, 20) / 200) * CFrame.fromEulerAnglesXYZ(math.sin(time() * 20) / 3, math.sin(time() * 20) / 5, math.rad(-60) + math.sin(time() * 60) * 2) | |
| 1579 | RightHip.C0 = RightHipC0 * CFrame.fromEulerAnglesXYZ(math.rad(-18), math.rad(0), math.rad(-30)) | |
| 1580 | LeftHip.C0 = LeftHipC0 * CFrame.fromEulerAnglesXYZ(math.rad(-18), math.rad(0), math.rad(30)) | |
| 1581 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20), math.rad(0), math.rad(0)) | |
| 1582 | RootJoint.C0 = RootJointC0 * CFrame.new(math.random(-20, 20) / 200, math.random(-20, 20) / 200, math.random(-20, 20) / 200) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(0), math.rad(0)) | |
| 1583 | w.C0 = w.C0 * CFrame.new(math.random(-20, 20) / 2000, math.random(-20, 20) / 2000, math.random(-20, 20) / 2000) * CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 1584 | C.CFrame = C.CFrame + Vector3.new(math.random(-20, 20) / 200, math.random(-20, 20) / 200, math.random(-20, 20) / 200) | |
| 1585 | ||
| 1586 | if pooted / 2 == math.floor(pooted / 2) then | |
| 1587 | p = cPlayer["Right Arm"]:clone() | |
| 1588 | p.Anchored = true | |
| 1589 | p.CanCollide = false | |
| 1590 | p.Parent = workspace | |
| 1591 | p.Transparency = .5 | |
| 1592 | game:GetService("Debris"):AddItem(p, .2)
| |
| 1593 | p = cPlayer["Left Arm"]:clone() | |
| 1594 | p.Anchored = true | |
| 1595 | p.CanCollide = false | |
| 1596 | p.Parent = workspace | |
| 1597 | p.Transparency = .5 | |
| 1598 | game:GetService("Debris"):AddItem(p, .2)
| |
| 1599 | ||
| 1600 | p = Instance.new("Part", workspace)
| |
| 1601 | p.Name = "ORB" | |
| 1602 | p.TopSurface = 0 | |
| 1603 | p.BottomSurface = 0 | |
| 1604 | p.formFactor = "Custom" | |
| 1605 | p.CFrame = cPlayer.Torso.CFrame + cPlayer.Torso.CFrame.lookVector * 3 + Vector3.new(math.random(-20, 20) / 15, math.random(-20, 20) / 15 - .8, math.random(-20, 20) / 15) | |
| 1606 | m = Instance.new("SpecialMesh", p)
| |
| 1607 | m.MeshType = "Sphere" | |
| 1608 | p.BrickColor = BrickColor:White() | |
| 1609 | p.Size = Vector3.new(.4, .4, .4) | |
| 1610 | p.CanCollide = false | |
| 1611 | p.Anchored = true | |
| 1612 | game:GetService("Debris"):AddItem(p, 5)
| |
| 1613 | coroutine.resume(coroutine.create(function(p) | |
| 1614 | for i = 1, 8 do | |
| 1615 | p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1, 1, 1) | |
| 1616 | p.Transparency = i / 8 | |
| 1617 | wait() | |
| 1618 | end | |
| 1619 | p:Remove() | |
| 1620 | end), p) | |
| 1621 | ||
| 1622 | end | |
| 1623 | ||
| 1624 | print(":)")
| |
| 1625 | end) | |
| 1626 | while did == false do | |
| 1627 | wait() | |
| 1628 | end | |
| 1629 | wait(.5) | |
| 1630 | expected = 20 | |
| 1631 | did = false | |
| 1632 | pooted = 0 | |
| 1633 | workspace.CurrentCamera.CameraType = "Follow" | |
| 1634 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 1635 | pooted = pooted + 1 | |
| 1636 | if pooted >= expected + 1 then | |
| 1637 | sos:disconnect() | |
| 1638 | did = true | |
| 1639 | return | |
| 1640 | end | |
| 1641 | resetWelds(3, {
| |
| 1642 | Neck, | |
| 1643 | RootJoint, | |
| 1644 | RightHip, | |
| 1645 | LeftHip | |
| 1646 | }) | |
| 1647 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(2 * pooted), math.rad(0), math.rad(5 * pooted)) | |
| 1648 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(-9 * pooted)) | |
| 1649 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(-2)) | |
| 1650 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(4 * pooted)) | |
| 1651 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(2), math.rad(0), math.rad(2)) | |
| 1652 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
| 1653 | w.C0 = w.C0 * CFrame.new(0, 0.03, .03) * CFrame.fromEulerAnglesXYZ(math.rad(2), math.rad(2), math.rad(0)) | |
| 1654 | print(":)")
| |
| 1655 | end) | |
| 1656 | while did == false do | |
| 1657 | wait() | |
| 1658 | end | |
| 1659 | wait(2) | |
| 1660 | expected = 5 | |
| 1661 | did = false | |
| 1662 | pooted = 0 | |
| 1663 | workspace.CurrentCamera.CameraType = "Follow" | |
| 1664 | w.Parent = nil | |
| 1665 | bodypos.position = cPlayer.Torso.Position - Vector3.new(0, 1, 0) | |
| 1666 | poo = cPlayer.Torso.CFrame.lookVector | |
| 1667 | cPlayer.Torso.CFrame = CFrame.new(cPlayer.Torso.Position, cPlayer.Torso.Position + C.CFrame.lookVector * 50) | |
| 1668 | bodypos.Parent = cPlayer.Torso | |
| 1669 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 1670 | pooted = pooted + 1 | |
| 1671 | if pooted >= expected + 1 then | |
| 1672 | sos:disconnect() | |
| 1673 | did = true | |
| 1674 | return | |
| 1675 | end | |
| 1676 | resetWelds(3, {})
| |
| 1677 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(80 - pooted * 35)) | |
| 1678 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(10), math.rad(0), math.rad(-190 + pooted * 28)) | |
| 1679 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(6), math.rad(0), math.rad(-80 + pooted * 4)) | |
| 1680 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(8), math.rad(0), math.rad(84 - pooted * 4)) | |
| 1681 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20 + pooted * 10), math.rad(0), math.rad(0)) | |
| 1682 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, -pooted * .25) * CFrame.fromEulerAnglesXYZ(math.rad(-20 + pooted * 9), math.rad(0), math.rad(0)) | |
| 1683 | print(":)")
| |
| 1684 | end) | |
| 1685 | while did == false do | |
| 1686 | wait() | |
| 1687 | end | |
| 1688 | wait(.7) | |
| 1689 | expected = 5 | |
| 1690 | did = false | |
| 1691 | pooted = 0 | |
| 1692 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 1693 | pooted = pooted + 1 | |
| 1694 | if pooted >= expected + 1 then | |
| 1695 | sos:disconnect() | |
| 1696 | did = true | |
| 1697 | return | |
| 1698 | end | |
| 1699 | resetWelds(3, {})
| |
| 1700 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0.05 * pooted, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 2), math.rad(0), math.rad(pooted * 6)) | |
| 1701 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 2), math.rad(0), math.rad(-pooted * 6)) | |
| 1702 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(-57 + pooted * 20)) | |
| 1703 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(57 - pooted * 20)) | |
| 1704 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 4), math.rad(0), math.rad(0)) | |
| 1705 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, -.1 * pooted) * CFrame.fromEulerAnglesXYZ(math.rad(-57 + pooted * 20), math.rad(0), math.rad(0)) | |
| 1706 | print(":(")
| |
| 1707 | end) | |
| 1708 | while did == false do | |
| 1709 | wait() | |
| 1710 | end | |
| 1711 | wait(.2) | |
| 1712 | expected = 10 | |
| 1713 | did = false | |
| 1714 | pooted = 0 | |
| 1715 | workspace.CurrentCamera.CameraType = "Follow" | |
| 1716 | g = Instance.new("BodyGyro")
| |
| 1717 | g.Parent = cPlayer.Torso | |
| 1718 | sos = game:GetService("RunService").Stepped:connect(function()
| |
| 1719 | pooted = pooted + 1 | |
| 1720 | if pooted >= expected + 1 then | |
| 1721 | sos:disconnect() | |
| 1722 | did = true | |
| 1723 | return | |
| 1724 | end | |
| 1725 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-2), math.rad(0), math.rad(-2)) | |
| 1726 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(2)) | |
| 1727 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(-4)) | |
| 1728 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(4)) | |
| 1729 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-7), math.rad(0), math.rad(0)) | |
| 1730 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, .05) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
| 1731 | if pooted >= 2 then | |
| 1732 | bodypos.position = bodypos.position + Vector3.new(0, 12, 0) - dir * 5 | |
| 1733 | cPlayer.Torso.CFrame = cPlayer.Torso.CFrame + Vector3.new(0, 12, 0) - dir * 5 | |
| 1734 | end | |
| 1735 | print(":(")
| |
| 1736 | end) | |
| 1737 | while did == false do | |
| 1738 | wait() | |
| 1739 | end | |
| 1740 | wait(.2) | |
| 1741 | bodypos:Remove() | |
| 1742 | wait(.5) | |
| 1743 | ||
| 1744 | e = Instance.new("Explosion")
| |
| 1745 | e.BlastRadius = 30 | |
| 1746 | e.Position = C.Position | |
| 1747 | e.BlastPressure = e.BlastPressure * 2.5 | |
| 1748 | e.Parent = workspace | |
| 1749 | s = Instance.new("Sound", C)
| |
| 1750 | s.SoundId = "rbxassetid://258057783" | |
| 1751 | s.Volume = 1 | |
| 1752 | s:Play() | |
| 1753 | Instance.new("DistortionSoundEffect", s).Level = 1
| |
| 1754 | g:Remove() | |
| 1755 | --dun | |
| 1756 | nubhit.Torso.Anchored = false | |
| 1757 | Hum.PlatformStand = false | |
| 1758 | C.Anchored = true | |
| 1759 | ||
| 1760 | coroutine.resume(coroutine.create(function(t) | |
| 1761 | wait(3) | |
| 1762 | p = Instance.new("Sound")
| |
| 1763 | p.SoundId = "http://www.roblox.com/asset/?id=154677261" | |
| 1764 | p.Parent = t | |
| 1765 | p.Volume = 1 | |
| 1766 | p:Play() | |
| 1767 | end), C) | |
| 1768 | game:GetService("Debris"):AddItem(LOL, 5)
| |
| 1769 | end | |
| 1770 | resetWelds(3, {})
| |
| 1771 | workspace.CurrentCamera.CameraType = "Custom" | |
| 1772 | Hum.WalkSpeed = 16 | |
| 1773 | Hum.Name = "Humanoid" | |
| 1774 | bodypos:Remove() | |
| 1775 | partpos:Remove() | |
| 1776 | Anim.Parent = nil | |
| 1777 | wait(.1) | |
| 1778 | Anim.Disabled = false | |
| 1779 | Anim.Parent = cPlayer | |
| 1780 | deb = true | |
| 1781 | end | |
| 1782 | ||
| 1783 | Tool = Instance.new("HopperBin")
| |
| 1784 | Tool.Name = "ROAD ROLLER DA" | |
| 1785 | Tool.Parent = LaWleSs_ReAliTy.Backpack | |
| 1786 | Tool.Selected:connect(function(mouse) | |
| 1787 | mouse.Button1Down:connect(function() | |
| 1788 | doitdocdoit() | |
| 1789 | end) | |
| 1790 | end) | |
| 1791 | ||
| 1792 | end |