The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
BuildHub script pastebin roblox
By BuildHub on 2024-11-25 08:00 am | Syntax: LUA | Views: 13



New Script | Raw | Show/Hide line no. | Copy text to clipboard
  1. --[[
  2. FOR UPDATES AND NEW MODELS JOIN https://discord.gg/fMPEUPdUUA
  3.  
  4. Works in:
  5. https://www.roblox.com/games/383793228/Adopt-and-Raise-a-Baby
  6. https://www.roblox.com/games/1662219031/Life-in-Paradise
  7. ]]
  8.  
  9.  
  10. local SpecialCode = ""
  11. local ScriptSettings =
  12.  {
  13.   {"Can Collide",false},
  14.   {"Anchored",true} ,
  15.   {"Spawn With Mesh",false},
  16.   {"Lower Part Spawn Speed (stops server lagging, but lowers generation speed)",false},
  17.   {"Show BuildHub Messages",true}
  18.  }
  19.  
  20. local Models =
  21.  {
  22.   {{'Single Block'},{0, 0, 0}},
  23.   {{'3*3 Block'},{0, 1.0000120401382, 0},{0, 0, 0},{0, 2.0000219345093, 0},{0, 1.0000120401382, 0.99933433532715},{0, 2.0000219345093, 0.99933433532715},{0, 0, 0.99933433532715},{0, 0, -0.99902153015137},{0, 1.0000120401382, -0.99902153015137},{0, 2.0000219345093, -0.99902153015137},{0.99904251098633, 1.0000120401382, 0},{0.99904251098633, 2.0000219345093, 0},{0.99904251098633, 1.0000120401382, 0.99933433532715},{0.99904251098633, 2.0000219345093, 0.99933433532715},{0.99904251098633, 0, 0.99933433532715},{0.99904251098633, 1.0000120401382, -0.99902153015137},{0.99904251098633, 0, -0.99902153015137},{0.99904251098633, 2.0000219345093, -0.99902153015137},{0.99904251098633, 0, 0},{-0.99905395507813, 1.0000120401382, 0},{-0.99905395507813, 2.0000219345093, 0},{-0.99905395507813, 1.0000120401382, 0.99933433532715},{-0.99905395507813, 2.0000219345093, 0.99933433532715},{-0.99905395507813, 0, 0.99933433532715},{-0.99905395507813, 1.0000120401382, -0.99902153015137},{-0.99905395507813, 0, -0.99902153015137},{-0.99905395507813, 2.0000219345093, -0.99902153015137},{-0.99905395507813, 0, 0}},  
  24.   {{'Wall'},{7.62939453125e-06, 3.9935111999512e-06, 0},{0.99936676025391, 3.9935111999512e-06, 0},{-0.99922943115234, 3.9935111999512e-06, 0},{-0.99922943115234, 1.0000159740448, 0},{0.99936676025391, 1.0000159740448, 0},{7.62939453125e-06, 1.0000159740448, 0},{-0.99922943115234, 2.0000259876251, 0},{0.99936676025391, 2.0000259876251, 0},{7.62939453125e-06, 2.0000259876251, 0}},
  25.   {{'Big Wall'},{7.62939453125e-06, 3.9935111999512e-06, 0},{0.99936676025391, 3.9935111999512e-06, 0},{-0.99922943115234, 3.9935111999512e-06, 0},{-0.99922943115234, 1.0000159740448, 0},{0.99936676025391, 1.0000159740448, 0},{7.62939453125e-06, 1.0000159740448, 0},{-0.99922943115234, 2.0000259876251, 0},{0.99936676025391, 2.0000259876251, 0},{7.62939453125e-06, 2.0000259876251, 0},{7.62939453125e-06, 3.0000400543213, 0},{7.62939453125e-06, 4.0000500679016, 0},{7.62939453125e-06, 5.0000610351563, 0},{0.99936676025391, 4.0000500679016, 0},{-0.99922943115234, 4.0000500679016, 0},{-0.99922943115234, 5.0000610351563, 0},{0.99936676025391, 3.0000400543213, 0},{-0.99922943115234, 3.0000400543213, 0},{0.99936676025391, 5.0000610351563, 0},{-2.9978866577148, 1.0000159740448, 0},{-2.9978866577148, 2.0000259876251, 0},{-1.9985275268555, 1.0000159740448, 0},{-3.9971237182617, 1.0000159740448, 0},{-3.9971237182617, 2.0000259876251, 0},{-1.9985275268555, 3.9935111999512e-06, 0},{-3.9971237182617, 3.9935111999512e-06, 0},{-1.9985275268555, 2.0000259876251, 0},{-3.9971237182617, 4.0000500679016, 0},{-3.9971237182617, 5.0000610351563, 0},{-2.9978866577148, 4.0000500679016, 0},{-1.9985275268555, 5.0000610351563, 0},{-1.9985275268555, 4.0000500679016, 0},{-3.9971237182617, 3.0000400543213, 0},{-2.9978866577148, 3.0000400543213, 0},{-1.9985275268555, 3.0000400543213, 0},{-2.9978866577148, 5.0000610351563, 0},{-2.9978866577148, 3.9935111999512e-06, 0},{2.9976348876953, 1.0000159740448, 0},{2.9976348876953, 2.0000259876251, 0},{3.9969940185547, 1.0000159740448, 0},{1.9983978271484, 1.0000159740448, 0},{1.9983978271484, 2.0000259876251, 0},{3.9969940185547, 3.9935111999512e-06, 0},{1.9983978271484, 3.9935111999512e-06, 0},{3.9969940185547, 2.0000259876251, 0},{1.9983978271484, 4.0000500679016, 0},{1.9983978271484, 5.0000610351563, 0},{2.9976348876953, 4.0000500679016, 0},{3.9969940185547, 5.0000610351563, 0},{3.9969940185547, 4.0000500679016, 0},{1.9983978271484, 3.0000400543213, 0},{2.9976348876953, 3.0000400543213, 0},{3.9969940185547, 3.0000400543213, 0},{2.9976348876953, 5.0000610351563, 0},{2.9976348876953, 3.9935111999512e-06, 0}},
  26.   {{'Bridge'},{0, 0, 0},{0.99908447265625, 0, 0},{-0.99904632568359, 0, 0},{0.99908447265625, 0, -0.99909591674805},{-0.99904632568359, 0, -0.99909591674805},{0, 0, -0.99909591674805},{3.9962158203125, 0, 0},{1.9980850219727, 0, 0},{1.9980850219727, 0, -0.99909591674805},{2.9971313476563, 0, -0.99909591674805},{3.9962158203125, 0, -0.99909591674805},{2.9971313476563, 0, 0},{0.99908447265625, 0, -1.9982624053955},{-0.99904632568359, 0, -1.9982624053955},{-0.99904632568359, 0, -2.9973583221436},{0, 0, -2.9973583221436},{0.99908447265625, 0, -2.9973583221436},{1.9980850219727, 0, -1.9982624053955},{3.9962158203125, 0, -1.9982624053955},{1.9980850219727, 0, -2.9973583221436},{2.9971313476563, 0, -2.9973583221436},{2.9971313476563, 0, -1.9982624053955},{3.9962158203125, 0, -2.9973583221436},{0, 0, -1.9982624053955},{0.99908447265625, 0, -3.9964084625244},{-0.99904632568359, 0, -3.9964084625244},{-0.99904632568359, 0, -4.9955043792725},{0, 0, -4.9955043792725},{0.99908447265625, 0, -4.9955043792725},{1.9980850219727, 0, -3.9964084625244},{3.9962158203125, 0, -3.9964084625244},{1.9980850219727, 0, -4.9955043792725},{2.9971313476563, 0, -4.9955043792725},{2.9971313476563, 0, -3.9964084625244},{3.9962158203125, 0, -4.9955043792725},{2.9971313476563, 0, -5.9946708679199},{2.9971313476563, 0, -6.993766784668},{3.9962158203125, 0, -6.993766784668},{0, 0, -5.9946708679199},{1.9980850219727, 0, -6.993766784668},{0.99908447265625, 0, -6.993766784668},{0, 0, -6.993766784668},{-0.99904632568359, 0, -5.9946708679199},{0.99908447265625, 0, -5.9946708679199},{-0.99904632568359, 0, -6.993766784668},{1.9980850219727, 0, -5.9946708679199},{3.9962158203125, 0, -5.9946708679199},{0, 0, -3.9964084625244},{0.99908447265625, 0, -7.993088722229},{-0.99904632568359, 0, -7.993088722229},{-0.99904632568359, 0, -8.9921846389771},{0, 0, -8.9921846389771},{0.99908447265625, 0, -8.9921846389771},{1.9980850219727, 0, -7.993088722229},{3.9962158203125, 0, -7.993088722229},{1.9980850219727, 0, -8.9921846389771},{2.9971313476563, 0, -8.9921846389771},{2.9971313476563, 0, -7.993088722229},{3.9962158203125, 0, -8.9921846389771},{2.9971313476563, 0, -9.9913511276245},{2.9971313476563, 0, -10.990447044373},{3.9962158203125, 0, -10.990447044373},{0, 0, -9.9913511276245},{1.9980850219727, 0, -10.990447044373},{0.99908447265625, 0, -10.990447044373},{0, 0, -10.990447044373},{-0.99904632568359, 0, -9.9913511276245},{0.99908447265625, 0, -9.9913511276245},{-0.99904632568359, 0, -10.990447044373},{1.9980850219727, 0, -9.9913511276245},{3.9962158203125, 0, -9.9913511276245},{-0.99904632568359, 0, -12.988593101501},{-0.99904632568359, 0, -11.989497184753},{0.99908447265625, 0, -11.989497184753},{0, 0, -12.988593101501},{0.99908447265625, 0, -12.988593101501},{2.9971313476563, 0, -14.986855506897},{3.9962158203125, 0, -14.986855506897},{2.9971313476563, 0, -11.989497184753},{3.9962158203125, 0, -11.989497184753},{3.9962158203125, 0, -12.988593101501},{2.9971313476563, 0, -12.988593101501},{1.9980850219727, 0, -11.989497184753},{1.9980850219727, 0, -12.988593101501},{2.9971313476563, 0, -13.987759590149},{-0.99904632568359, 0, -14.986855506897},{0.99908447265625, 0, -14.986855506897},{1.9980850219727, 0, -14.986855506897},{0, 0, -13.987759590149},{1.9980850219727, 0, -13.987759590149},{3.9962158203125, 0, -13.987759590149},{0, 0, -11.989497184753},{-0.99904632568359, 0, -13.987759590149},{0.99908447265625, 0, -13.987759590149},{0, 0, -14.986855506897},{0, 0, -7.993088722229}},
  27.   {{'HUGE Bridge'},{0, 0, 0},{0.99908447265625, 0, 0},{-0.99904632568359, 0, 0},{0.99908447265625, 0, -0.99909591674805},{-0.99904632568359, 0, -0.99909591674805},{0, 0, -0.99909591674805},{3.9962158203125, 0, 0},{1.9980850219727, 0, 0},{1.9980850219727, 0, -0.99909591674805},{2.9971313476563, 0, -0.99909591674805},{3.9962158203125, 0, -0.99909591674805},{2.9971313476563, 0, 0},{0.99908447265625, 0, -1.9982624053955},{-0.99904632568359, 0, -1.9982624053955},{-0.99904632568359, 0, -2.9973583221436},{0, 0, -2.9973583221436},{0.99908447265625, 0, -2.9973583221436},{1.9980850219727, 0, -1.9982624053955},{3.9962158203125, 0, -1.9982624053955},{1.9980850219727, 0, -2.9973583221436},{2.9971313476563, 0, -2.9973583221436},{2.9971313476563, 0, -1.9982624053955},{3.9962158203125, 0, -2.9973583221436},{0, 0, -1.9982624053955},{0.99908447265625, 0, -3.9964084625244},{-0.99904632568359, 0, -3.9964084625244},{-0.99904632568359, 0, -4.9955043792725},{0, 0, -4.9955043792725},{0.99908447265625, 0, -4.9955043792725},{1.9980850219727, 0, -3.9964084625244},{3.9962158203125, 0, -3.9964084625244},{1.9980850219727, 0, -4.9955043792725},{2.9971313476563, 0, -4.9955043792725},{2.9971313476563, 0, -3.9964084625244},{3.9962158203125, 0, -4.9955043792725},{2.9971313476563, 0, -5.9946708679199},{2.9971313476563, 0, -6.993766784668},{3.9962158203125, 0, -6.993766784668},{0, 0, -5.9946708679199},{1.9980850219727, 0, -6.993766784668},{0.99908447265625, 0, -6.993766784668},{0, 0, -6.993766784668},{-0.99904632568359, 0, -5.9946708679199},{0.99908447265625, 0, -5.9946708679199},{-0.99904632568359, 0, -6.993766784668},{1.9980850219727, 0, -5.9946708679199},{3.9962158203125, 0, -5.9946708679199},{0, 0, -3.9964084625244},{0.99908447265625, 0, -7.993088722229},{-0.99904632568359, 0, -7.993088722229},{-0.99904632568359, 0, -8.9921846389771},{0, 0, -8.9921846389771},{0.99908447265625, 0, -8.9921846389771},{1.9980850219727, 0, -7.993088722229},{3.9962158203125, 0, -7.993088722229},{1.9980850219727, 0, -8.9921846389771},{2.9971313476563, 0, -8.9921846389771},{2.9971313476563, 0, -7.993088722229},{3.9962158203125, 0, -8.9921846389771},{2.9971313476563, 0, -9.9913511276245},{2.9971313476563, 0, -10.990447044373},{3.9962158203125, 0, -10.990447044373},{0, 0, -9.9913511276245},{1.9980850219727, 0, -10.990447044373},{0.99908447265625, 0, -10.990447044373},{0, 0, -10.990447044373},{-0.99904632568359, 0, -9.9913511276245},{0.99908447265625, 0, -9.9913511276245},{-0.99904632568359, 0, -10.990447044373},{1.9980850219727, 0, -9.9913511276245},{3.9962158203125, 0, -9.9913511276245},{-0.99904632568359, 0, -12.988593101501},{-0.99904632568359, 0, -11.989497184753},{0.99908447265625, 0, -11.989497184753},{0, 0, -12.988593101501},{0.99908447265625, 0, -12.988593101501},{2.9971313476563, 0, -14.986855506897},{3.9962158203125, 0, -14.986855506897},{2.9971313476563, 0, -11.989497184753},{3.9962158203125, 0, -11.989497184753},{3.9962158203125, 0, -12.988593101501},{2.9971313476563, 0, -12.988593101501},{1.9980850219727, 0, -11.989497184753},{1.9980850219727, 0, -12.988593101501},{2.9971313476563, 0, -13.987759590149},{-0.99904632568359, 0, -14.986855506897},{0.99908447265625, 0, -14.986855506897},{1.9980850219727, 0, -14.986855506897},{0, 0, -13.987759590149},{1.9980850219727, 0, -13.987759590149},{3.9962158203125, 0, -13.987759590149},{0, 0, -11.989497184753},{-0.99904632568359, 0, -13.987759590149},{0.99908447265625, 0, -13.987759590149},{0, 0, -14.986855506897},{0, 0, -7.993088722229},{0, 0, -15.985891342163},{0.99908447265625, 0, -15.985891342163},{-0.99904632568359, 0, -15.985891342163},{-0.99904632568359, 0, -16.984987258911},{0, 0, -16.984987258911},{0.99908447265625, 0, -16.984987258911},{1.9980850219727, 0, -15.985891342163},{3.9962158203125, 0, -15.985891342163},{1.9980850219727, 0, -16.984987258911},{2.9971313476563, 0, -16.984987258911},{2.9971313476563, 0, -15.985891342163},{3.9962158203125, 0, -16.984987258911},{2.9971313476563, 0, -17.984153747559},{2.9971313476563, 0, -18.983249664307},{3.9962158203125, 0, -18.983249664307},{0, 0, -17.984153747559},{1.9980850219727, 0, -18.983249664307},{0.99908447265625, 0, -18.983249664307},{0, 0, -18.983249664307},{-0.99904632568359, 0, -17.984153747559},{0.99908447265625, 0, -17.984153747559},{-0.99904632568359, 0, -18.983249664307},{1.9980850219727, 0, -17.984153747559},{3.9962158203125, 0, -17.984153747559},{-0.99904632568359, 0, -20.981395721436},{-0.99904632568359, 0, -19.982299804688},{0.99908447265625, 0, -19.982299804688},{0, 0, -20.981395721436},{0.99908447265625, 0, -20.981395721436},{2.9971313476563, 0, -22.979658126831},{3.9962158203125, 0, -22.979658126831},{2.9971313476563, 0, -19.982299804688},{3.9962158203125, 0, -19.982299804688},{3.9962158203125, 0, -20.981395721436},{2.9971313476563, 0, -20.981395721436},{1.9980850219727, 0, -19.982299804688},{1.9980850219727, 0, -20.981395721436},{2.9971313476563, 0, -21.980562210083},{-0.99904632568359, 0, -22.979658126831},{0.99908447265625, 0, -22.979658126831},{1.9980850219727, 0, -22.979658126831},{0, 0, -21.980562210083},{1.9980850219727, 0, -21.980562210083},{3.9962158203125, 0, -21.980562210083},{0, 0, -19.982299804688},{-0.99904632568359, 0, -21.980562210083},{0.99908447265625, 0, -21.980562210083},{0, 0, -22.979658126831},{0.99908447265625, 0, -23.978981018066},{0, 0, -24.978076934814},{-0.99904632568359, 0, -24.978076934814},{-0.99904632568359, 0, -23.978981018066},{0.99908447265625, 0, -24.978076934814},{0, 0, -26.97633934021},{-0.99904632568359, 0, -25.977243423462},{0.99908447265625, 0, -25.977243423462},{-0.99904632568359, 0, -26.97633934021},{2.9971313476563, 0, -23.978981018066},{2.9971313476563, 0, -25.977243423462},{2.9971313476563, 0, -26.97633934021},{3.9962158203125, 0, -24.978076934814},{3.9962158203125, 0, -23.978981018066},{2.9971313476563, 0, -24.978076934814},{1.9980850219727, 0, -23.978981018066},{1.9980850219727, 0, -24.978076934814},{1.9980850219727, 0, -25.977243423462},{-0.99904632568359, 0, -28.974485397339},{0.99908447265625, 0, -28.974485397339},{0, 0, -28.974485397339},{3.9962158203125, 0, -25.977243423462},{-0.99904632568359, 0, -27.975389480591},{2.9971313476563, 0, -30.972747802734},{0.99908447265625, 0, -27.975389480591},{3.9962158203125, 0, -30.972747802734},{2.9971313476563, 0, -28.974485397339},{1.9980850219727, 0, -27.975389480591},{1.9980850219727, 0, -28.974485397339},{2.9971313476563, 0, -27.975389480591},{3.9962158203125, 0, -28.974485397339},{2.9971313476563, 0, -29.973651885986},{3.9962158203125, 0, -27.975389480591},{-0.99904632568359, 0, -30.972747802734},{0.99908447265625, 0, -30.972747802734},{1.9980850219727, 0, -29.973651885986},{0, 0, -27.975389480591},{-0.99904632568359, 0, -29.973651885986},{0.99908447265625, 0, -29.973651885986},{0, 0, -30.972747802734},{0, 0, -29.973651885986},{0, 0, -23.978981018066},{3.9962158203125, 0, -29.973651885986},{1.9980850219727, 0, -30.972747802734},{0.99908447265625, 0, -26.97633934021},{0, 0, -25.977243423462},{1.9980850219727, 0, -26.97633934021},{3.9962158203125, 0, -26.97633934021}},  
  28.   {{'Stairs'},{7.62939453125e-06, 3.9935111999512e-06, 0},{0, 1, -1},{0, 3, -2.9990005493164},{0, 2.0000050067902, -1.9990005493164},{-0.99913787841797, 3.9935111999512e-06, 0},{-0.9991455078125, 1, -1},{-0.9991455078125, 3, -2.9990005493164},{-0.9991455078125, 2.0000050067902, -1.9990005493164},{0.99916076660156, 3.9935111999512e-06, 0},{0.99915313720703, 1, -1},{0.99915313720703, 3, -2.9990005493164},{0.99915313720703, 2.0000050067902, -1.9990005493164}},
  29.   {{'Happy Face'},{0, 2, 0},{0.99903869628906, 2, 0},{-0.99909973144531, 2, 0},{-1.9989929199219, 3, 0},{1.9990005493164, 3, 0},{0.99900054931641, 5, 0},{0.99900054931641, 6.0000100135803, 0},{-1.0009994506836, 6, 0},{-1.0009994506836, 5, 0}},
  30.   {{'= amount
  31.  S:Disconnect()
  32.  return "done~"
  33. end
  34.  
  35. local MakeBuild = function(BuildTable)
  36.  if Building == false then
  37.   Building = true
  38.   local BuildPart = Instance.new("Part",Player.Character)
  39.   BuildPart.CanCollide = false
  40.   BuildPart.Size = Vector3.new(1,1,1)
  41.   BuildPart.Anchored = true
  42.   BuildPart.Transparency = 1
  43.   for i=1,#BuildTable-1 do
  44.    local Part = Instance.new("Part",BuildPart)
  45.    Part.CanCollide = false
  46.    Part.Transparency = 0.5
  47.    Part.Anchored = true
  48.    Part.Size = Vector3.new(1,1,1)
  49.    spawn(function()
  50.     while Building == true do
  51.      wait()
  52.      Part.CFrame = BuildPart.CFrame * CFrame.new(Vector3.new(BuildTable[i+1][1],BuildTable[i+1][2],BuildTable[i+1][3]))
  53.     end
  54.    end)
  55.   end
  56.   while Building == true do
  57.    game:GetService("RunService").Stepped:wait()
  58.    BuildPart.Position = roundVector(Mouse.Hit.Position,0.5) +Vector3.new(0,0.5,0) + VEC
  59.    BuildPart.Orientation = ROT
  60.   end
  61.   if CancelledBuild == true then
  62.    BuildPart:Destroy()
  63.    CancelledBuild = false
  64.   else
  65.    ActualBuilding = true
  66.    local CharDescendants = Player.Character:GetDescendants()
  67.    for i=1,#CharDescendants do
  68.     if CharDescendants[i]:IsA("Accessory") then
  69.      CharDescendants[i].Name = "NotAllowed"
  70.     end
  71.    end
  72.    local Parts = BuildPart:GetDescendants()
  73.    if GenerateHats(#Parts) == "done~" then
  74.     wait()
  75.    end
  76.    wait()
  77.    local Hats = {}
  78.    local CharDescendants = Player.Character:GetDescendants()
  79.    for i=1,#CharDescendants do
  80.     if CharDescendants[i]:IsA("Accessory") then
  81.      if CharDescendants[i].Name == "NotAllowed" then
  82.  
  83.      else
  84.       table.insert(Hats,#Hats+1,CharDescendants[i])
  85.      end
  86.     end
  87.    end
  88.    Msgreq("Build Hub","Converting Hats",2)
  89.    for i=1,#Hats do
  90.     if Hats[i].Handle:FindFirstChildWhichIsA("SpecialMesh") ~= nil and ScriptSettings[3][2] == false then
  91.      Hats[i].Handle:FindFirstChildWhichIsA("SpecialMesh"):Destroy()
  92.     end
  93.    end
  94.    Msgreq("Build Hub","Building Model",2)
  95.    for i=1,#Parts do
  96.     local HPart = Hats[1].Handle
  97.     Hats[1].Handle:FindFirstChildWhichIsA("Weld"):Destroy()
  98.     Parts[i].Transparency = 1
  99.     Parts[i].CanCollide = true
  100.     StickParts(Hats[1].Handle,Parts[i])
  101.     Hats[1].Handle.Parent = workspace
  102.     table.remove(Hats,1)
  103.     HPart.CFrame = Parts[i].CFrame
  104.     spawn(function()
  105.      local s = game:GetService("RunService").Heartbeat:connect(function()
  106.       HPart.Velocity = Vector3.new(0,35,0)
  107. Parts[i].CanCollide = ScriptSettings[1][2]
  108.       Parts[i].Anchored = ScriptSettings[2][2]
  109.       wait(0.3)
  110.      end)
  111.      game.Players.LocalPlayer.CharacterAdded:wait()
  112.      s:Disconnect()
  113.      HPart:Destroy()
  114.     end)
  115.    end
  116.    local CharDescendants = Player.Character:GetDescendants()
  117.    for i=1,#CharDescendants do
  118.     if CharDescendants[i]:IsA("Accessory") then
  119.      if CharDescendants[i].Name ~= "NotAllowed" then
  120.       CharDescendants[i]:Destroy()
  121.      else
  122.       table.insert(Hats,#Hats+1,CharDescendants[i])
  123.      end
  124.     end
  125.    end
  126.    Msgreq("Build Hub","Done Building!!!",2)
  127.    Building = false
  128.    ActualBuilding = false
  129.    CancelledBuild = false
  130.   end
  131.  end
  132. end
  133. local NSFWMODELS =
  134.  {
  135.   {{'PP'},{-0.50023651123047, 0.0011001825332642, -0.19999694824219},{0.49976348876953, 0.0011001825332642, -0.19999694824219},{0, 0.99919891357422, 0.0038986206054688},{0, 1.9985427856445, 0.0077896118164063},{0, 2.9975738525391, 0.011688232421875},{0, 3.9966354370117, 0.015579223632813},{0, 4.9957580566406, 0.019477844238281}},  
  136.   {{'Tits'},{7.3767719268799, 0, -1.3123868703842},{4.6673431396484, 0, -4.7686166763306},{5.4701633453369, 0, -4.0424127578735},{6.1941928863525, 0, -3.2385568618774},{6.7777500152588, 0, -2.2717528343201},{7.2940826416016, 0, -1.0096138715744},{7.6463031768799, 0, -0.29584580659866},{7.677095413208, 0, 0.52851319313049},{7.4085521697998, 0, 1.7460272312164},{6.6814136505127, 0, 2.2925860881805},{5.5162220001221, 0, 2.6909892559052},{4.4135894775391, 0, 3.0075211524963},{3.2670822143555, 0, 2.8333652019501},{2.2809658050537, 0, 2.4857771396637},{1.4983654022217, 0, 1.8042891025543},{0.99946594238281, 0, 0.90901017189026},{0.82826328277588, 0, -0.45464482903481},{1.6063032150269, 0, -1.7756208181381},{4.8458919525146, 0, 1.2740921974182},{1.1693496704102, 0, -1.0195138454437},{0.76259136199951, 0, 0.36128115653992},{1.2966594696045, 0, 1.2172150611877},{1.65065574646, 0, 1.7396912574768},{2.012393951416, 0, 1.9387080669403},{7.6466827392578, 0, 1.1335241794586},{6.9845867156982, 0, 1.8327970504761},{6.4092578887939, 0, 2.2076630592346},{5.1625442504883, 0, 2.6324722766876},{3.6855621337891, 0, 2.9240400791168},{5.4692420959473, 0, -4.3536577224731},{6.2189807891846, 0, -2.9587948322296},{6.5107288360596, 0, -2.5439276695251},{6.8511981964111, 0, -1.9273688793182},{7.0896129608154, 0, -1.7207388877869},{-6.8098864555359, 0.054486632347107, -1.7207388877869},{-4.8828401565552, 0.04496705532074, 2.6324722766876},{-6.1295390129089, 0.051125764846802, 2.2076630592346},{-6.2310099601746, 0.051627039909363, -2.5439276695251},{-5.1895341873169, 0.046482145786285, -4.3536577224731},{-5.9392657279968, 0.050185799598694, -2.9587948322296},{-3.4058771133423, 0.037670910358429, 2.9240400791168},{-6.5714755058289, 0.05330890417099, -1.9273688793182},{-5.9144778251648, 0.050063371658325, -3.2385568618774},{-5.1904554367065, 0.046486735343933, -4.0424127578735},{-7.3665709495544, 0.057236671447754, -0.29584580659866},{-7.3973612785339, 0.057388782501221, 0.52851319313049},{-6.4980273246765, 0.052946090698242, -2.2717528343201},{-7.0143542289734, 0.055496692657471, -1.0096138715744},{-4.3876466751099, 0.042520821094513, -4.7686166763306},{-1.7327280044556, 0.02940559387207, 1.9387080669403},{-6.7048621177673, 0.053967833518982, 1.8327970504761},{-7.3669505119324, 0.057238578796387, 1.1335241794586},{-0.8896951675415, 0.025241017341614, -1.0195138454437},{-0.48294162750244, 0.023231685161591, 0.36128115653992},{-4.5661916732788, 0.043402850627899, 1.2740921974182},{-1.0170030593872, 0.025869905948639, 1.2172150611877},{-1.3709955215454, 0.027618646621704, 1.7396912574768},{-1.326642036438, 0.02739953994751, -1.7756208181381},{-7.128821849823, 0.0560622215271, 1.7460272312164},{-2.9874029159546, 0.035603642463684, 2.8333652019501},{-1.2187070846558, 0.026866316795349, 1.8042891025543},{-6.4016928672791, 0.052470207214355, 2.2925860881805},{-0.71981334686279, 0.024401783943176, 0.90901017189026},{-0.54861164093018, 0.023556053638458, -0.45464482903481},{-5.2365140914917, 0.046714186668396, 2.6909892559052},{-4.1338949203491, 0.041267275810242, 3.0075211524963},{-2.0012979507446, 0.030732333660126, 2.4857771396637},{-7.0970416069031, 0.055905222892761, -1.3123868703842}},
  137.   {{'Sexy figure'},{4.1068954467773, 0, -14.978549957275},{20.317848205566, -0.20000004768372, -22.511642456055},{19.113479614258, -0.20000004768372, -21.754596710205},{13.767791748047, -0.20000004768372, -17.176956176758},{14.171447753906, -0.20000004768372, -17.775291442871},{1.1562271118164, -0.20000004768372, 11.117179870605},{2.3064346313477, -0.20000004768372, 10.296831130981},{2.828369140625, -0.20000004768372, 8.0015554428101},{2.932487487793, -0.20000004768372, 8.5835914611816},{21.33585357666, -0.20000004768372, -23.290687561035},{8.6797409057617, -0.20000004768372, -19.97428894043},{18.507881164551, -0.20000004768372, -21.236003875732},{11.805854797363, -0.20000004768372, -16.221578598022},{12.698860168457, -0.20000004768372, -23.832458496094},{11.687370300293, -0.20000004768372, -23.1640625},{8.8593902587891, -0.20000004768372, -20.449813842773},{12.535354614258, -0.20000004768372, -16.369995117188},{10.942367553711, -0.20000004768372, -15.745072364807},{2.5738754272461, -0.20000004768372, 9.7174291610718},{17.554718017578, -0.20000004768372, -26.218063354492},{16.606941223145, -0.20000004768372, -25.514896392822},{15.557220458984, -0.20000004768372, -25.262126922607},{14.37467956543, -0.20000004768372, -24.820411682129},{1.2072448730469, -0.20000004768372, 7.1106853485107},{10.5703125, -0.20000004768372, -22.416095733643},{18.050285339355, -0.20000004768372, -20.621078491211},{17.54598236084, -0.20000004768372, -20.273086547852},{2.8805465698242, -0.20000004768372, 8.9937038421631},{10.301727294922, 1, -14.822516441345},{9.8226165771484, -0.20000004768372, -21.511604309082},{17.021270751953, -0.20000004768372, -19.71312713623},{16.286605834961, -0.20000004768372, -18.960536956787},{15.492012023926, -0.20000004768372, -17.924819946289},{12.912673950195, -0.20000004768372, -16.645626068115},{14.69775390625, -0.20000004768372, -17.320192337036},{1.8022308349609, -0.20000004768372, 10.595359802246},{13.737922668457, -0.20000004768372, -24.608520507813},{11.041854858398, -0.20000004768372, -22.855602264404},{-10.966773986816, -0.20000004768372, -16.892152786255},{-8.3752212524414, -0.20000004768372, -21.162731170654},{-14.716583251953, -0.20000004768372, -20.101806640625},{-12.603523254395, -0.20000004768372, -23.722747802734},{-13.008224487305, -0.20000004768372, -18.128004074097},{-14.29369354248, -0.20000004768372, -19.731243133545},{-13.368103027344, -0.20000004768372, -24.475185394287},{-11.885917663574, -0.20000004768372, -17.643239974976},{-12.016632080078, -0.20000004768372, -23.106826782227},{-14.082916259766, -0.20000004768372, -24.908378601074},{-8.1435012817383, -0.20000004768372, -20.818244934082},{-9.3867034912109, -0.20000004768372, -22.048667907715},{-15.47777557373, -0.20000004768372, -21.537990570068},{-15.422737121582, -0.20000004768372, -21.225345611572},{-13.241821289063, -0.20000004768372, -18.590492248535},{-16.21647644043, -0.20000004768372, -22.474937438965},{-13.583610534668, -0.20000004768372, -18.717994689941},{10.052177429199, -0.20000004768372, -21.166164398193},{-11.024810791016, -0.20000004768372, -17.259902954102},{-14.363143920898, -0.20000004768372, -19.623561859131},{-14.518707275391, -0.20000004768372, -20.168811798096},{-12.955955505371, -0.20000004768372, -18.181987762451},{-10.313766479492, -0.20000004768372, -16.66374206543},{-9.6367492675781, -0.20000004768372, -22.296142578125},{-10.716758728027, -0.20000004768372, -22.786045074463},{-14.904159545898, -0.20000004768372, -20.835971832275},{-10.743011474609, -0.20000004768372, -16.854705810547},{-14.041442871094, -0.20000004768372, -19.448619842529},{-12.31706237793, -0.20000004768372, -17.835174560547},{-14.041442871094, -0.20000004768372, -19.448619842529},{0.055320739746094, -0.20000004768372, 9.9659795761108},{11.073997497559, -0.20000004768372, 18.669578552246},{7.2906723022461, -0.20000004768372, 15.82928943634},{2.6012725830078, -0.20000004768372, 7.4398078918457},{2.4099349975586, -0.20000004768372, 6.729175567627},{1.2535858154297, -0.20000004768372, 5.6526012420654},{-0.74506378173828, -0.20000004768372, 8.1884031295776},{9.3242721557617, -0.20000004768372, 17.565097808838},{0.54933929443359, -0.20000004768372, 6.0044717788696},{8.2115859985352, -0.20000004768372, 16.623542785645},{-0.52752685546875, -0.20000004768372, 7.0524454116821},{-0.28865051269531, -0.20000004768372, 9.5055255889893},{-0.72197723388672, -0.20000004768372, 8.9254674911499},{10.503639221191, -0.20000004768372, 18.393169403076},{-0.81642913818359, -0.20000004768372, 7.5223999023438},{1.9091567993164, -0.20000004768372, 5.7278156280518},{2.203254699707, -0.20000004768372, 6.2904653549194},{0.10685729980469, -0.20000004768372, 6.3717651367188},{4.6396789550781, -0.20000004768372, 14.536873817444},{6.4238357543945, -0.20000004768372, 15.493550300598},{-0.31227874755859, -0.20000004768372, 11.915809631348},{-3.1124496459961, -0.20000004768372, 17.853946685791},{-3.5863723754883, -0.20000004768372, 19.795124053955},{-1.9159774780273, -0.20000004768372, 13.544184684753},{-3.0313949584961, -0.20000004768372, 17.275146484375},{-2.9580764770508, -0.20000004768372, 16.122982025146},{2.2788772583008, -0.20000004768372, 11.702771186829},{0.46640777587891, -0.20000004768372, 10.900169372559},{0.0076980590820313, -0.20000004768372, 11.568461418152},{-1.1919479370117, -0.20000004768372, 12.842513084412},{-2.1664657592773, -0.20000004768372, 14.264897346497},{-2.9004135131836, -0.20000004768372, 14.865111351013},{-3.2896194458008, -0.20000004768372, 18.912231445313},{-11.397338867188, -0.20000004768372, 17.63888168335},{-11.16951751709, -0.20000004768372, 16.834197998047},{-11.459854125977, -0.20000004768372, 18.172805786133},{6.0276565551758, -0.20000004768372, 15.271523475647},{3.136360168457, -0.20000004768372, 12.450865745544},{4.5737075805664, -0.20000004768372, 14.06704044342},{3.8057861328125, -0.20000004768372, 13.221957206726},{-8.294319152832, -0.20000004768372, 9.6084413528442},{10.923583984375, -0.20000004768372, 9.7079391479492},{19.89412689209, -0.20000004768372, 16.224060058594},{15.195594787598, -0.20000004768372, 12.044283866882},{18.553802490234, -0.20000004768372, 14.389180183411},{17.488349914551, -0.20000004768372, 13.4161195755},{14.846946716309, -0.20000004768372, 11.813945770264},{18.172096252441, -0.20000004768372, 13.868195533752},{15.690391540527, -0.20000004768372, 12.275323867798},{-11.195091247559, -0.20000004768372, 16.292854309082},{-6.7707748413086, 0.2335889339447, 8.337963104248},{10.868286132813, -0.20000004768372, 9.213451385498},{10.120002746582, 0.18712997436523, 8.8662796020508},{13.307029724121, -0.20000004768372, 10.732169151306},{16.727928161621, -0.20000004768372, 12.961131095886},{-10.064270019531, -0.20000004768372, 13.463515281677},{-11.020896911621, -0.20000004768372, 16.203926086426},{-10.475791931152, -0.20000004768372, 14.383831977844},{-10.790153503418, -0.20000004768372, 15.388514518738},{18.941337585449, -0.20000004768372, 14.8338804245},{-10.319496154785, -0.20000004768372, 13.831780433655},{-9.5658645629883, -0.20000004768372, 12.348883628845},{19.543586730957, -0.20000004768372, 15.235878944397},{12.173263549805, -0.20000004768372, 10.164361953735},{13.993110656738, -0.20000004768372, 11.426391601563},{-7.4866104125977, -0.20000004768372, 8.9410877227783},{-8.4684829711914, -0.20000004768372, 9.8947172164917},{-9.3147659301758, -0.20000004768372, 11.787327766418},{-10.479804992676, -0.20000004768372, 14.291754722595},{11.609786987305, -0.20000004768372, 10.159443855286},{-9.062385559082, -0.20000004768372, 11.222915649414},{-8.723876953125, -0.20000004768372, 10.465881347656},{12.455856323242, -0.20000004768372, 10.185809135437},{-5.7509002685547, 0.046487092971802, -14.252346038818},{8.7344512939453, 0, 2.2793407440186},{-11.095504760742, 0, -12.862712860107},{-11.355827331543, 0, -11.093723297119},{7.0862350463867, 0, -9.0764083862305},{-7.6892623901367, 0.056061983108521, -8.4639053344727},{-11.39461517334, 0, -11.843960762024},{-8.3976516723633, 0, 0.77180647850037},{-3.9663162231445, 0.037671089172363, -7.2858924865723},{-5.7969589233398, 0.046714067459106, -7.5189423561096},{-6.2844848632813, 0, 7.837963104248},{10.582069396973, 0, -8.1188640594482},{9.8413925170898, 0, -2.6714663505554},{10.177604675293, 0, -5.2074546813965},{5.8488235473633, 0, -8.0022678375244},{-5.1266403198242, 0.043402910232544, -8.9358406066895},{5.9502868652344, 0, -12.753860473633},{9.3436050415039, 0, -1.2553133964539},{-7.3031692504883, 0, 5.4316835403442},{-9.6693954467773, 0, 2.185257434845},{9.837760925293, 0, -3.8676743507385},{-2.5617446899414, 0.030731916427612, -7.7241544723511},{-5.7499771118164, 0.046482086181641, -14.563590049744},{8.7101974487305, 0, 1.1783933639526},{-1.4501419067383, 0.025241136550903, -11.229446411133},{0.18563079833984, 0, 3.4004254341125},{10.491539001465, 0, -6.5762124061584},{6.529167175293, 0, -11.93067073822},{6.4241409301758, 0, -8.3771343231201},{0.73621368408203, 0, -8.9927158355713},{-7.9687957763672, 0, -2.3745384216309},{10.938896179199, 0, -14.129108428955},{-8.7822799682617, 0, 2.1542816162109},{-7.9578018188477, 0.0573890209198, -9.6814193725586},{10.763198852539, 0, -9.6031436920166},{1.4519500732422, 0, -8.2712249755859},{10.770988464355, 0, -10.747219085693},{0.43901824951172, 0, -9.3009223937988},{-7.3703308105469, 0.054486989974976, -11.93067073822},{-11.085182189941, 0, -10.355531692505},{10.931030273438, 0, -11.57833480835},{-6.8976821899414, 0, 5.9972352981567},{4.6021041870117, 0, -7.5774602890015},{-1.1090545654297, 0.023555994033813, -10.664577484131},{-6.7987289428711, 0, 6.4395551681519},{-9.3600082397461, 0, -5.6500883102417},{1.0458602905273, 0, -11.985550880432},{-7.8828811645508, 0, -0.28203630447388},{7.0858612060547, 0, -10.505779266357},{-8.0221405029297, 0, 4.5198035240173},{-8.9859237670898, 0, -4.9441223144531},{-8.3218536376953, 0, -2.7145805358887},{4.9087982177734, 0, -14.563590049744},{-8.4984359741211, 0, 3.6629405021667},{-7.9019546508789, 0, 4.7646217346191},{10.663948059082, 0, -8.0025501251221},{6.1209716796875, 0, -7.9173464775085},{4.9557800292969, 0, -7.5189423561096},{8.9482574462891, 0, -0.16100931167603},{9.3259963989258, 0, -2.0555543899536},{8.8117904663086, 0, 6.9667072296143},{-10.657447814941, 0, -8.7639503479004},{7.1166534423828, 0, -9.6814193725586},{-1.7791519165039, 0.02686595916748, -8.4056434631348},{-4.6943435668945, 0.041266918182373, -7.202410697937},{-7.2653045654297, 0.053967952728271, -8.3771343231201},{5.6585388183594, 0, -13.168725967407},{3.125114440918, 0, -7.2858924865723},{2.7066421508789, 0, -7.3765664100647},{9.2824325561523, 0, -0.87652134895325},{8.4809951782227, 0, 2.3820643424988},{-2.2931747436523, 0.029406070709229, -8.2712249755859},{-1.2802581787109, 0.024402141571045, -9.3009223937988},{10.291885375977, 0, -5.5415306091309},{-6.7914505004883, 0.051626920700073, -12.753860473633},{8.4991683959961, 0, 2.45667552948},{-8.7220993041992, 0, -4.1191205978394},{-10.173301696777, 0, -15.704810142517},{-7.9270095825195, 0.057236909866333, -10.505779266357},{-8.7721786499023, 0, 3.4086036682129},{8.3922958374023, 0, 5.4542617797852},{10.723709106445, 0, -12.184386253357},{0.60890960693359, 0, -11.229446411133},{-8.3367691040039, 0, -3.0673334598541},{-9.3600082397461, 0, -5.6500883102417},{-7.6574859619141, 0.055905103683472, -11.52232170105},{-8.1650772094727, 0, 0.99281740188599},{9.2806396484375, 0, -1.2297303676605},{-6.6273727416992, 0, 6.8291158676147},{-1.9314346313477, 0.027619123458862, -8.4702415466309},{9.9493026733398, 0, -4.8360786437988},{9.6159057617188, 0, -3.5780363082886},{5.6337509155273, 0, -13.448490142822},{-7.6201553344727, 0, 5.1564016342163},{-7.9273910522461, 0.057239055633545, -9.0764083862305},{-7.8876190185547, 0, -0.39745235443115},{9.7061157226563, 0, 8.3662796020508},{6.2907562255859, 0, -12.137302398682},{-9.1358261108398, 0, 1.7118067741394},{-6.9621353149414, 0.052469968795776, -7.9173464775085},{6.7336349487305, 0, -11.219547271729},{3.853141784668, 0, -7.202410697937},{6.8481063842773, 0, -8.4639053344727},{6.2173080444336, 0, -12.481684684753},{-9.5183639526367, 0, -6.6090655326843},{10.925498962402, 0, -9.7843894958496},{0.15782165527344, 0, 2.2082056999207},{-3.5478439331055, 0.035604000091553, -7.3765664100647},{9.4833908081055, 0, 8.0177297592163},{4.2854461669922, 0, -8.9358406066895},{-10.490898132324, 0, -14.921938896179},{9.7055969238281, 0, -2.6986503601074},{-7.0584716796875, 0.052946090698242, -12.481684684753},{10.52424621582, 0, -13.413928031921},{-10.246299743652, 0, -7.4330625534058},{10.35578918457, 0, -7.4083166122437},{0.17731475830078, 0, 3.0438313484192},{-7.1319198608398, 0.053308963775635, -12.137302398682},{-6.4749221801758, 0.050063133239746, -13.448490142822},{1.0902099609375, 0, -8.4702415466309},{8.9453048706055, 0, -0.62973642349243},{8.9641799926758, 0, -0.15543031692505},{-11.041122436523, 0, -9.4897575378418},{-6.1931762695313, 0, 7.359619140625},{-6.4997100830078, 0.050185918807983, -13.168725967407},{8.1326522827148, 0, 6.3872556686401},{-10.627059936523, 0, -8.1519432067871},{-1.5774459838867, 0.025870084762573, -8.9927158355713},{-8.8471298217773, 0, 2.2450885772705},{8.9807662963867, 0, 0.52523064613342},{-11.104141235352, 0, -10.728199005127},{0.2021484375, 0, -9.8486518859863},{6.8163299560547, 0, -11.52232170105},{-7.9256744384766, 0, -1.3243044614792},{-1.0433883666992, 0.023231983184814, -9.8486518859863},{-5.4432830810547, 0.04496693611145, -7.5774602890015},{9.7172164916992, 0, -14.91455078125},{8.5009536743164, 0, 3.731246471405},{4.9097213745117, 0, -14.252346038818},{-6.6899795532227, 0.051126003265381, -8.0022678375244},{10.586685180664, 0, -14.34517288208},{-8.7583465576172, 0, -4.9520711898804},{-1.8870849609375, 0.027400016784668, -11.985550880432},{-10.69409942627, 0, -9.5018768310547},{0.93791961669922, 0, -8.4056434631348},{0.26781463623047, 0, -10.664577484131},{-10.819366455078, 0, -14.398221969604},{-4.9480895996094, 0.042520999908447, -14.978549957275},{1.7205200195313, 0, -7.7241544723511},{-7.5747985839844, 0.05549693107605, -11.219547271729}}
  138.  }
  139.  
  140. Mouse.Button1Down:Connect(function()
  141.  if Building == true then
  142.   Building = false
  143.  end
  144. end)
  145. function sandbox(var,func)
  146.  local env = getfenv(func)
  147.  local newenv = setmetatable({},{
  148.   __index = function(self,k)
  149.    if k=="script" then
  150.     return var
  151.    else
  152.     return env[k]
  153.    end
  154.   end,
  155.  })
  156.  setfenv(func,newenv)
  157.  return func
  158. end
  159. cors = {}
  160. mas = Instance.new("Model",game:GetService("Lighting"))
  161. ScreenGui0 = Instance.new("ScreenGui")
  162. Frame1 = Instance.new("Frame")
  163. ScrollingFrame2 = Instance.new("ScrollingFrame")
  164. UIListLayout3 = Instance.new("UIListLayout")
  165. ScrollingFrame4 = Instance.new("ScrollingFrame")
  166. UIListLayout5 = Instance.new("UIListLayout")
  167. TextLabel6 = Instance.new("TextLabel")
  168. TextButton7 = Instance.new("TextButton")
  169. TextButton8 = Instance.new("TextButton")
  170. ScreenGui0.Name = "BuildHub"
  171. ScreenGui0.Parent = mas
  172. ScreenGui0.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  173. Frame1.Name = "MainFrame"
  174. Frame1.Parent = ScreenGui0
  175. Frame1.Position = UDim2.new(0.117294528, 0, 0.178631052, 0)
  176. Frame1.Size = UDim2.new(0.200000003, 0, 0.5, 0)
  177. Frame1.BackgroundColor = BrickColor.new("Institutional white")
  178. Frame1.BackgroundColor3 = Color3.new(1, 1, 1)
  179. Frame1.ClipsDescendants = true
  180. Frame1.Style = Enum.FrameStyle.RobloxRound
  181. ScrollingFrame2.Name = "Builds"
  182. ScrollingFrame2.Parent = Frame1
  183. ScrollingFrame2.Position = UDim2.new(0, 0, 0.300000012, 0)
  184. ScrollingFrame2.Size = UDim2.new(1, 0, 0.600000024, 0)
  185. ScrollingFrame2.Active = true
  186. ScrollingFrame2.BackgroundColor = BrickColor.new("Really black")
  187. ScrollingFrame2.BackgroundColor3 = Color3.new(0, 0, 0)
  188. ScrollingFrame2.BackgroundTransparency = 0.80000001192093
  189. ScrollingFrame2.CanvasSize = UDim2.new(0, 0, 999, 0)
  190. UIListLayout3.Name = "List"
  191. UIListLayout3.Parent = ScrollingFrame2
  192. UIListLayout3.SortOrder = Enum.SortOrder.LayoutOrder
  193. ScrollingFrame4.Name = "Settings"
  194. ScrollingFrame4.Parent = Frame1
  195. ScrollingFrame4.Position = UDim2.new(1.05999994, 0, 0.300000012, 0)
  196. ScrollingFrame4.Size = UDim2.new(1, 0, 0.600000024, 0)
  197. ScrollingFrame4.Active = true
  198. ScrollingFrame4.BackgroundColor = BrickColor.new("Really black")
  199. ScrollingFrame4.BackgroundColor3 = Color3.new(0, 0, 0)
  200. ScrollingFrame4.BackgroundTransparency = 0.80000001192093
  201. ScrollingFrame4.CanvasSize = UDim2.new(0, 0, 999, 0)
  202. UIListLayout5.Name = "List"
  203. UIListLayout5.Parent = ScrollingFrame4
  204. UIListLayout5.SortOrder = Enum.SortOrder.LayoutOrder
  205. TextLabel6.Name = "Title"
  206. TextLabel6.Parent = Frame1
  207. TextLabel6.Size = UDim2.new(1, 0, 0.300000012, 0)
  208. TextLabel6.BackgroundColor = BrickColor.new("Institutional white")
  209. TextLabel6.BackgroundColor3 = Color3.new(1, 1, 1)
  210. TextLabel6.BackgroundTransparency = 1
  211. TextLabel6.Font = Enum.Font.Arial
  212. TextLabel6.FontSize = Enum.FontSize.Size14
  213. TextLabel6.Text = "Build Hub"
  214. TextLabel6.TextColor = BrickColor.new("Institutional white")
  215. TextLabel6.TextColor3 = Color3.new(1, 1, 1)
  216. TextLabel6.TextScaled = true
  217. TextLabel6.TextSize = 14
  218. TextLabel6.TextStrokeTransparency = 0
  219. TextLabel6.TextWrap = true
  220. TextLabel6.TextWrapped = true
  221. TextButton7.Name = "BUILDSBUTTON"
  222. TextButton7.Parent = Frame1
  223. TextButton7.Position = UDim2.new(0, 0, 0.899999976, 0)
  224. TextButton7.Size = UDim2.new(0.5, 0, 0.100000001, 0)
  225. TextButton7.BackgroundColor = BrickColor.new("Institutional white")
  226. TextButton7.BackgroundColor3 = Color3.new(1, 1, 1)
  227. TextButton7.Style = Enum.ButtonStyle.RobloxRoundButton
  228. TextButton7.Font = Enum.Font.Cartoon
  229. TextButton7.FontSize = Enum.FontSize.Size14
  230. TextButton7.Text = "Builds"
  231. TextButton7.TextColor = BrickColor.new("Really black")
  232. TextButton7.TextColor3 = Color3.new(0, 0, 0)
  233. TextButton7.TextSize = 14
  234. TextButton8.Name = "SETTINGSBUTTON"
  235. TextButton8.Parent = Frame1
  236. TextButton8.Position = UDim2.new(0.5, 0, 0.899999976, 0)
  237. TextButton8.Size = UDim2.new(0.5, 0, 0.100000001, 0)
  238. TextButton8.BackgroundColor = BrickColor.new("Institutional white")
  239. TextButton8.BackgroundColor3 = Color3.new(1, 1, 1)
  240. TextButton8.Style = Enum.ButtonStyle.RobloxRoundButton
  241. TextButton8.Font = Enum.Font.Cartoon
  242. TextButton8.FontSize = Enum.FontSize.Size14
  243. TextButton8.Text = "Settings"
  244. TextButton8.TextColor = BrickColor.new("Really black")
  245. TextButton8.TextColor3 = Color3.new(0, 0, 0)
  246. TextButton8.TextSize = 14
  247. for i,v in pairs(mas:GetChildren()) do
  248.  v.Parent = script
  249.  pcall(function() v:MakeJoints() end)
  250. end
  251. mas:Destroy()
  252. for i,v in pairs(cors) do
  253.  spawn(function()
  254.   pcall(v)
  255.  end)
  256. end
  257. local AmountOfButtons = 0
  258. local MakeBuildButton = function()
  259.  function sandbox(var,func)
  260.   local env = getfenv(func)
  261.   local newenv = setmetatable({},{
  262.    __index = function(self,k)
  263.     if k=="script" then
  264.      return var
  265.     else
  266.      return env[k]
  267.     end
  268.    end,
  269.   })
  270.   setfenv(func,newenv)
  271.   return func
  272.  end
  273.  cors = {}
  274.  mas = Instance.new("Model",game:GetService("Lighting"))
  275.  TextButton0 = Instance.new("TextButton")
  276.  TextButton0.Name = "Build"
  277.  TextButton0.Parent = mas
  278.  TextButton0.Size = UDim2.new(1, 0, 0, 50)
  279.  TextButton0.BackgroundColor = BrickColor.new("Institutional white")
  280.  TextButton0.BackgroundColor3 = Color3.new(1, 1, 1)
  281.  TextButton0.Style = Enum.ButtonStyle.RobloxRoundButton
  282.  TextButton0.Font = Enum.Font.Cartoon
  283.  TextButton0.FontSize = Enum.FontSize.Size14
  284.  TextButton0.Text = ""
  285.  TextButton0.TextColor = BrickColor.new("Really black")
  286.  TextButton0.TextColor3 = Color3.new(0, 0, 0)
  287.  TextButton0.TextScaled = true
  288.  TextButton0.TextSize = 14
  289.  TextButton0.TextWrap = true
  290.  TextButton0.TextWrapped = true
  291.  TextButton0.TextXAlignment = Enum.TextXAlignment.Left
  292.  TextButton0.TextYAlignment = Enum.TextYAlignment.Bottom
  293.  for i,v in pairs(mas:GetChildren()) do
  294.   v.Parent = script
  295.   pcall(function() v:MakeJoints() end)
  296.  end
  297.  mas:Destroy()
  298.  for i,v in pairs(cors) do
  299.   spawn(function()
  300.    pcall(v)
  301.   end)
  302.  end
  303.  AmountOfButtons = AmountOfButtons + 1
  304.  return
  305.   TextButton0
  306. end
  307. local MakeNewSetting = function(SettingName,ActualSetting)
  308.  function sandbox(var,func)
  309.   local env = getfenv(func)
  310.   local newenv = setmetatable({},{
  311.    __index = function(self,k)
  312.     if k=="script" then
  313.      return var
  314.     else
  315.      return env[k]
  316.     end
  317.    end,
  318.   })
  319.   setfenv(func,newenv)
  320.   return func
  321.  end
  322.  cors = {}
  323.  mas = Instance.new("Model",game:GetService("Lighting"))
  324. local Frame0 = Instance.new("Frame")
  325.  local TextLabel1 = Instance.new("TextButton")
  326.  local Frame2 = Instance.new("Frame")
  327.  local Frame3 = Instance.new("Frame")
  328.  Frame0.Name = "Setting"
  329.  Frame0.Parent = mas
  330.  Frame0.Size = UDim2.new(1, 0, 0, 50)
  331.  Frame0.BackgroundColor = BrickColor.new("Institutional white")
  332.  Frame0.BackgroundColor3 = Color3.new(1, 1, 1)
  333.  Frame0.Style = Enum.FrameStyle.RobloxRound
  334.  TextLabel1.Name = "SettingName"
  335.  TextLabel1.Parent = Frame0
  336.  TextLabel1.Size = UDim2.new(0.5, 0, 1, 0)
  337.  TextLabel1.BackgroundColor = BrickColor.new("Institutional white")
  338.  TextLabel1.BackgroundColor3 = Color3.new(1, 1, 1)
  339.  TextLabel1.BackgroundTransparency = 1
  340.  TextLabel1.Font = Enum.Font.Cartoon
  341.  TextLabel1.FontSize = Enum.FontSize.Size14
  342.  TextLabel1.Text = "Setting"
  343.  TextLabel1.TextColor = BrickColor.new("Institutional white")
  344.  TextLabel1.TextColor3 = Color3.new(1, 1, 1)
  345.  TextLabel1.TextScaled = true
  346.  TextLabel1.TextSize = 14
  347.  TextLabel1.TextWrap = true
  348.  TextLabel1.TextWrapped = true
  349.  Frame2.Name = "SettingGui"
  350.  Frame2.Parent = Frame0
  351.  Frame2.Position = UDim2.new(0.5, 0, 0.25, 0)
  352.  Frame2.Size = UDim2.new(0.400000006, 0, 0.5, 0)
  353.  Frame2.BackgroundColor = BrickColor.new("Lime green")
  354.  Frame2.BackgroundColor3 = Color3.new(0, 1, 0.14902)
  355.  Frame3.Name = "Lock"
  356.  Frame3.Parent = Frame2
  357.  Frame3.Size = UDim2.new(0.5, 0, 1, 0)
  358.  Frame3.BackgroundColor = BrickColor.new("Dirt brown")
  359.  Frame3.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  360.  Frame3.Style = Enum.FrameStyle.RobloxRound
  361.  for i,v in pairs(mas:GetChildren()) do
  362.   v.Parent = script
  363.   pcall(function() v:MakeJoints() end)
  364.  end
  365.  mas:Destroy()
  366.  for i,v in pairs(cors) do
  367.   spawn(function()
  368.    pcall(v)
  369.   end)
  370.  end
  371.  if ScriptSettings[ActualSetting][2] == true then
  372.   Frame3.Position = UDim2.new(0.5,0,0,0)
  373.   Frame2.BackgroundColor3 = Color3.new(0,99,0)
  374.  end
  375.  if ScriptSettings[ActualSetting][2] == false then
  376.   Frame3.Position = UDim2.new(0,0,0,0)
  377.   Frame2.BackgroundColor3 = Color3.new(1,0,0)
  378.  end
  379.  TextLabel1.MouseButton1Click:Connect(function()
  380.   if ScriptSettings[ActualSetting][2] == false then
  381.    ScriptSettings[ActualSetting][2] = true
  382.    local tween = TweenService:Create(Frame3, twen, {Position = UDim2.new(0.5,0,0)})
  383.    local tween2 = TweenService:Create(Frame2, twen, {BackgroundColor3 = Color3.new(0,99,0)})
  384.    tween:Play()
  385.    tween2:Play()
  386.   elseif ScriptSettings[ActualSetting][2] == true then
  387.    ScriptSettings[ActualSetting][2]= false
  388.    local tween = TweenService:Create(Frame3, twen, {Position = UDim2.new(0,0,0)})
  389.    local tween2 = TweenService:Create(Frame2, twen, {BackgroundColor3 = Color3.new(1, 0, 0)})
  390.    tween:Play()
  391.    tween2:Play()
  392.   end
  393.  end)
  394.  TextLabel1.Text = tostring(SettingName)
  395.  
  396.  return Frame0
  397. end
  398. local GUI =ScreenGui0
  399. GUI.Parent = Player.PlayerGui
  400. spawn(function()
  401.  local mousedown = false
  402.  game.Players.LocalPlayer:GetMouse().Button1Down:Connect(function()
  403.   mousedown = true
  404.  end)
  405.  game.Players.LocalPlayer:GetMouse().Button1Up:Connect(function()
  406.   mousedown = false
  407.  end)
  408.  local relativeToFrame
  409.  local mouse = game.Players.LocalPlayer:GetMouse()
  410.  
  411.  while true do
  412.   game:GetService("RunService").Stepped:wait()
  413.   if game.Players.LocalPlayer:GetMouse().X > (Frame1.AbsolutePosition.X) and game.Players.LocalPlayer:GetMouse().X < (Frame1.AbsolutePosition.X + Frame1.AbsoluteSize.X) and game.Players.LocalPlayer:GetMouse().Y > (Frame1.AbsolutePosition.Y) and game.Players.LocalPlayer:GetMouse().Y < (Frame1.AbsolutePosition.Y + Frame1.AbsoluteSize.Y)  then
  414.  
  415.    if mousedown == true then
  416.     relativeToFrame = Vector2.new(Frame1.AbsolutePosition.X - mouse.X,Frame1.AbsolutePosition.Y - mouse.Y)
  417.     while mousedown do
  418.      game:GetService("RunService").Stepped:wait()
  419.      if not mousedown then break end
  420.      Frame1.Position = Frame1.Position:Lerp(UDim2.new(0,mouse.X + relativeToFrame.X,0, mouse.Y + relativeToFrame.Y),0.4)
  421.     end
  422.    end
  423.   else
  424.  
  425.   end
  426.  end
  427.  
  428. end)
  429.  
  430. for i=1,#Models do
  431.  local NewButton = MakeBuildButton()
  432.  NewButton.Text = Models[i][1][1]
  433.  NewButton.Parent = ScrollingFrame2
  434.  ScrollingFrame2.CanvasSize = UDim2.new(0, 0, 0, 50*AmountOfButtons)
  435.  NewButton.MouseButton1Click:Connect(function()
  436.   if Building == false and ActualBuilding == false then
  437.    MakeBuild(Models[i])
  438.   else
  439.    CancelledBuild = true
  440.    Building = false
  441.   end
  442.  end)
  443. end
  444. if SpecialCode == "NOTNSFWSTUFF" then
  445.  local NewButton = MakeBuildButton()
  446.  NewButton.TextColor3 = Color3.new(99,0,0)
  447.  NewButton.BackgroundColor3 = Color3.new(0,0,0)
  448.  NewButton.Text = "NSFW MODELS BELOW"
  449.  NewButton.Parent = ScrollingFrame2
  450.  for i=1,#NSFWMODELS do
  451.   local NewButton = MakeBuildButton()
  452.   NewButton.Text = NSFWMODELS[i][1][1]
  453.   NewButton.Parent = ScrollingFrame2
  454.   ScrollingFrame2.CanvasSize = UDim2.new(0, 0, 0, 50*AmountOfButtons)
  455.   NewButton.MouseButton1Click:Connect(function()
  456.    if Building == false and ActualBuilding == false then
  457.     MakeBuild(NSFWMODELS[i])
  458.    else
  459.     CancelledBuild = true
  460.     Building = false
  461.    end
  462.   end)
  463.  end
  464. end
  465. for i=1, #ScriptSettings do
  466.  local NewSetting = MakeNewSetting(ScriptSettings[i][1],i)
  467.  NewSetting.Parent = ScrollingFrame4
  468. end
  469. ScrollingFrame4.CanvasSize = UDim2.new(0, 0, 0, 50*#ScriptSettings)
  470. Mouse.KeyDown:Connect(function(key)
  471.  if key == "t" and Building == true then
  472.   ROT = ROT + Vector3.new(-90/2,0,0)
  473.  elseif key == "r" and Building == true then
  474.   ROT = ROT + Vector3.new(0,90/2,0)
  475.  elseif key == "e" and Building == true then
  476.   VEC = VEC + Vector3.new(0,0.5,0)
  477.  elseif key == "q" and Building == true then
  478.   VEC = VEC - Vector3.new(0,0.5,0)
  479.  end
  480. end)
  481. TextButton8.MouseButton1Click:Connect(function()
  482.  local tween = TweenService:Create(ScrollingFrame2, twen, {Position = UDim2.new(-1.1,0,0.3)})
  483.  local tween2 = TweenService:Create(ScrollingFrame4, twen, {Position = UDim2.new(0,0,0.3)})
  484.  tween:Play()
  485.  tween2:Play()
  486. end)
  487. TextButton7.MouseButton1Click:Connect(function()
  488.  local tween = TweenService:Create(ScrollingFrame2, twen, {Position = UDim2.new(0,0,0.3)})
  489.  local tween2 = TweenService:Create(ScrollingFrame4, twen, {Position = UDim2.new(1.05,0,0.3)})
  490.  tween:Play()
  491.  tween2:Play()
  492. end)
  493.  
  494.  
  495. Msgreq("Build Hub","Loaded!!! use R and T to tilt and rotate builds.",5)
  496. else
  497. Msgreq("Build Hub","This game does not support build hub, try a game like Life in paradise or Adopt and raise...",5)
  498. end



  • Recent Roblox Scripts