Advertisement
fddfdfssdf

Untitled

Feb 26th, 2025
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.29 KB | None | 0 0
  1. local folder = workspace.ConstructionStuff
  2. local player = game:GetService("Players").LocalPlayer
  3. local nam = player.Name
  4. local root = workspace:FindFirstChild(nam).Head
  5. local loop = 8
  6. local res = folder:FindFirstChild("Grab Wood").Prompt
  7. local backpack = player:FindFirstChild("Backpack")
  8. local fatfuck = folder:FindFirstChild("Start Job").Prompt
  9.  
  10. local function interacttime()
  11.     folder:FindFirstChild("Wall1 Prompt").Prompt.HoldDuration = 0.01
  12.     folder:FindFirstChild("Wall2 Prompt").Prompt.HoldDuration = 0.01
  13.     folder:FindFirstChild("Wall3 Prompt").Prompt.HoldDuration = 0.01
  14.     folder:FindFirstChild("Wall4 Prompt").Prompt.HoldDuration = 0.01
  15.     folder:FindFirstChild("Grab Wood").Prompt.HoldDuration = 0.01
  16.     fatfuck.Enabled = false
  17.     res.MaxActivationDistance = 10000
  18.     res.RequiresLineOfSight = false
  19. end
  20.  
  21. local function childremove ()
  22.     if child.Name == "Plywood" then return true end
  23.     return false
  24. end
  25.  
  26.  
  27. local function restock()
  28.     root.CFrame = CFrame.new(-1728.87634, 370.812317, -1177.80615, 0.0690508187, -9.15539573e-08, -0.997613132, -7.48516626e-09, 1, -9.22911028e-08, 0.997613132, 1.38400758e-08, 0.0690508187)
  29.     wait(0.5)
  30.     res:InputHoldBegin()
  31.     wait(0.3)
  32.     res:InputHoldEnd()
  33.     if backpack then
  34.         local pho = backpack:FindFirstChild("PlyWood")
  35.         if pho then
  36.             pho.Parent = player.Character
  37.     end end
  38. end
  39.  
  40.  
  41. local function check()
  42.     local w = true
  43.  
  44.     while w do
  45.         if folder:FindFirstChild("Wall1 Prompt") and folder["Wall1 Prompt"].Prompt.Enabled then
  46.             return "Wall1 Prompt"
  47.         elseif folder:FindFirstChild("Wall2 Prompt") and folder["Wall2 Prompt"].Prompt.Enabled then
  48.             return "Wall2 Prompt"
  49.         elseif folder:FindFirstChild("Wall3 Prompt") and folder["Wall3 Prompt"].Prompt.Enabled then
  50.             return "Wall3 Prompt"
  51.         elseif folder:FindFirstChild("Wall4 Prompt") and folder["Wall4 Prompt"].Prompt.Enabled then
  52.             return "Wall4 Prompt"
  53.         else
  54.             wait(10) -- Wait if no prompt is found
  55.         end
  56.     end
  57. end
  58.  
  59.  
  60. local function wallmake(wall)
  61.     local ris = folder:FindFirstChild(wall)
  62.     root.CFrame = ris.CFrame
  63.     wait(0.5)
  64.     for i = 1, loop do
  65.         ris.Prompt:InputHoldBegin()
  66.         wait(0.1)
  67.         ris.Prompt:InputHoldEnd()
  68. end end
  69.  
  70. interacttime()
  71. while true do
  72.     restock()
  73.     wait(1)
  74.     wallmake(check())
  75. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement