Advertisement
pastebinxx

Untitled

Apr 22nd, 2025 (edited)
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.58 KB | None | 0 0
  1. local v0,v1=pcall(function()repeat wait();until game:IsLoaded() getupvalues=getupvalues or debug.getupvalues ;setupvalue=setupvalue or debug.setupvalue ;if not (getrawmetatable and getupvalues and setupvalue and (getreg or debug.getregistry)) then local v142=Instance.new("Hint",workspace);v142.Text="Incompatible exploit.";wait(3);v142:Destroy();return;end local v2={refill_at=0,refill_end=60,deliver_at=24,stay_in_kitchen=true};local v3,v4,v5,v6,v7=true,true,true,true,true;if readfile then pcall(function()local v198=game:GetService("HttpService"):JSONDecode(readfile("PizzaFarm.txt"));local v199=false;for v225,v226 in pairs(v198) do if (v2[v225]==nil) then v199=true;v198[v225]=nil;end end for v227,v228 in pairs(v2) do if (v198[v227]==nil) then v199=true;v198[v227]=v228;end end if v199 then warn("Settings overwritten");writefile("PizzaFarm.txt",game:GetService("HttpService"):JSONEncode(v198));end v2=v198;end);end if getconnections then for v200,v201 in next,getconnections(game:GetService("ScriptContext").Error) do v201:Disable();end end local v8=game:GetService("Players").LocalPlayer;local v9=game.FindFirstChild;local v10=Random.new();local v11;local v12,v13,v14;do local v70=(getreg or debug.getregistry)();for v144=1, #v70 do local v145=v70[v144];if (type(v145)=="function") then for v244,v245 in next,getupvalues(v145) do if (typeof(v245)=="Instance") then if (v245.Name=="CashOut") then setupvalue(v145,v244,{MouseButton1Click={wait=function()end,Wait=function()end}});elseif (v245.Name=="StickerName") then setupvalue(v145,v244,nil);end end end if (tostring(getfenv(v145).script)=="Music") then local v258=getconstants(v145);local v259=false;for v275,v276 in next,v258 do if (v276=="location changed") then v259=true;elseif (v259 and (v276=="SendData")) then setconstant(v145,v275,"ExplodeString");break;end end end elseif ((type(v145)=="table") and rawget(v145,"FireServer") and rawget(v145,"BindEvents")) then v11=v145;end end end assert(v11,"failed to find network");function Create(v71,v72,v73)local v74=Instance.new(v71);for v146,v147 in next,v73 do v74[v146]=v147;end v74.Parent=v72;return v74;end gui=Create("ScreenGui",game.CoreGui,{Name="Farm",ZIndexBehavior="Sibling"});main=Create("Frame",gui,{Name="main",Draggable=true,Active=true,Size=UDim2.new(0,440,0,115),Position=UDim2.new(0.335,0,0.02,0),BackgroundColor3=Color3.new(0.137,0.149,0.204)});local v15=Create("UICorner",main,{CornerRadius=UDim.new(0,10)});topbar=Create("Frame",main,{Name="topbar",Size=UDim2.new(1,0,0.15,0),BackgroundColor3=Color3.new(0.137,0.149,0.204)});local v16=Create("UICorner",topbar,{CornerRadius=UDim.new(0,10)});closeBtn=Create("TextButton",topbar,{Name="closeBtn",TextWrapped=true,Size=UDim2.new(0.02,0,1,0),TextColor3=Color3.new(1,1,1),Text="🟡",BackgroundTransparency=1,Font="GothamSemibold",Position=UDim2.new(0.96,0,0,0),TextSize=4,TextScaled=true});titleLbl=Create("TextLabel",topbar,{Name="titleLbl",TextWrapped=true,Size=UDim2.new(0.5,0,1,0),Text="✨ Turma do PP ✨",TextSize=14,Font="SourceSansSemibold",BackgroundTransparency=1,Position=UDim2.new(0.25,0,0,0),TextColor3=Color3.new(1,1,1),BackgroundColor3=Color3.new(1,1,1)});saveBtn=Create("ImageButton",topbar,{Name="saveBtn",Image="rbxassetid://",Size=UDim2.new(0.05,0,1,0),Position=UDim2.new(0.01,0,0,0),BackgroundTransparency=1,BackgroundColor3=Color3.new(),Visible=writefile~=nil });settings_1=Create("Frame",main,{Name="settings",BackgroundTransparency=1,Size=UDim2.new(0.97,0,0.75,0),Position=UDim2.new(0.025,0,0.2,0),BackgroundColor3=Color3.new(1,1,1)});Layout=Create("UIGridLayout",settings_1,{VerticalAlignment="Center",SortOrder="LayoutOrder",HorizontalAlignment="Center",CellPadding=UDim2.new(0.01,0,0.1,0),CellSize=UDim2.new(0.325,0,0.26,0)});cashier=Create("Frame",settings_1,{Name="cashier",LayoutOrder=4,BackgroundTransparency=1,Size=UDim2.new(0,100,0,100),BackgroundColor3=Color3.new(1,1,1)});Label=Create("TextLabel",cashier,{TextWrapped=true,Size=UDim2.new(0.6,0,1,0),Text="Cashier",TextSize=14,TextXAlignment="Left",Font="SourceSans",BackgroundTransparency=1,Position=UDim2.new(0.5,0,0,0),TextColor3=Color3.new(1,1,1),TextScaled=true,BackgroundColor3=Color3.new(1,1,1)});cashierBtn=Create("ImageButton",cashier,{Name="cashierBtn",ImageTransparency=1,BorderSizePixel=0,Size=UDim2.new(0.38,0,1,0),BackgroundColor3=Color3.fromRGB(239,159,118)});local v17=Create("UICorner",cashierBtn,{CornerRadius=UDim.new(0,10)});cashierSlider=Create("Frame",cashierBtn,{Name="slider",Size=UDim2.new(0.5, -4,1, -4),Position=UDim2.new((v3 and 0.5) or 0 ,2,0,2),BorderSizePixel=0,BackgroundColor3=Color3.fromRGB(230,233,239)});local v18=Create("UICorner",cashierSlider,{CornerRadius=UDim.new(0,10)});kitchen=Create("Frame",settings_1,{Name="kitchen",LayoutOrder=9,BackgroundTransparency=1,Size=UDim2.new(0,100,0,100),BackgroundColor3=Color3.new(1,1,1)});Label_2=Create("TextLabel",kitchen,{TextWrapped=true,Size=UDim2.new(0.6,0,1,0),Text="Deliver At:",TextSize=14,TextXAlignment="Right",Font="SourceSans",BackgroundTransparency=1,TextColor3=Color3.new(1,1,1),TextScaled=true,BackgroundColor3=Color3.new(1,1,1)});deliverAtBox=Create("TextBox",kitchen,{Name="deliverAtBox",TextWrapped=true,Size=UDim2.new(0.25,0,1,0),Text=tostring(v2.deliver_at),TextSize=50,TextColor3=Color3.new(),Font="Code",Position=UDim2.new(0.62,0,0,0),TextScaled=true,BackgroundColor3=Color3.new(220,224,232)});local v19=Create("UICorner",deliverAtBox,{CornerRadius=UDim.new(0,10)});refillEnd=Create("Frame",settings_1,{Name="refillEnd",LayoutOrder=8,BackgroundTransparency=1,Size=UDim2.new(0,100,0,100),BackgroundColor3=Color3.new(1,1,1)});refillEndBox=Create("TextBox",refillEnd,{Name="refillEndBox",TextWrapped=true,Size=UDim2.new(0.25,0,1,0),Text=tostring(v2.refill_end),TextSize=50,TextColor3=Color3.new(),Font="Code",Position=UDim2.new(0.62,0,0,0),TextScaled=true,BackgroundColor3=Color3.new(220,224,232)});local v20=Create("UICorner",refillEndBox,{CornerRadius=UDim.new(0,10)});Label_3=Create("TextLabel",refillEnd,{TextWrapped=true,Size=UDim2.new(0.6,0,1,0),Text="Refill End:",TextSize=14,TextXAlignment="Right",Font="SourceSans",BackgroundTransparency=1,TextColor3=Color3.new(1,1,1),TextScaled=true,BackgroundColor3=Color3.new(1,1,1)});refillAt=Create("Frame",settings_1,{Name="refillAt",LayoutOrder=7,BackgroundTransparency=1,Size=UDim2.new(0,100,0,100),BackgroundColor3=Color3.new(1,1,1)});Label_4=Create("TextLabel",refillAt,{TextWrapped=true,Size=UDim2.new(0.5,0,1,0),Text="Refill At:",TextSize=14,TextXAlignment="Right",Font="SourceSans",BackgroundTransparency=1,TextColor3=Color3.new(1,1,1),TextScaled=true,BackgroundColor3=Color3.new(1,1,1)});refillAtBox=Create("TextBox",refillAt,{Name="refillAtBox",TextWrapped=true,Size=UDim2.new(0.25,0,1,0),Text=tostring(v2.refill_at),TextSize=50,TextColor3=Color3.new(),Font="Code",Position=UDim2.new(0.52,0,0,0),TextScaled=true,BackgroundColor3=Color3.new(220,224,232)});local v21=Create("UICorner",refillAtBox,{CornerRadius=UDim.new(0,10)});supplier=Create("Frame",settings_1,{Name="supplier",LayoutOrder=6,BackgroundTransparency=1,Size=UDim2.new(0,100,0,100),BackgroundColor3=Color3.new(1,1,1)});Label_5=Create("TextLabel",supplier,{TextWrapped=true,Size=UDim2.new(0.6,0,1,0),Text="Supplier",TextSize=14,TextXAlignment="Left",Font="SourceSans",BackgroundTransparency=1,Position=UDim2.new(0.5,0,0,0),TextColor3=Color3.new(1,1,1),TextScaled=true,BackgroundColor3=Color3.new(1,1,1)});supplierBtn=Create("ImageButton",supplier,{Name="supplierBtn",ImageTransparency=1,BorderSizePixel=0,Size=UDim2.new(0.38,0,1,0),BackgroundColor3=Color3.fromRGB(129,200,190)});local v22=Create("UICorner",supplierBtn,{CornerRadius=UDim.new(0,10)});supplierSlider=Create("Frame",supplierBtn,{Name="slider",Size=UDim2.new(0.5, -4,1, -4),Position=UDim2.new((v6 and 0.5) or 0 ,2,0,2),BorderSizePixel=0,BackgroundColor3=Color3.fromRGB(230,233,239)});local v23=Create("UICorner",supplierSlider,{CornerRadius=UDim.new(0,10)});delivery=Create("Frame",settings_1,{Name="delivery",LayoutOrder=5,BackgroundTransparency=1,Size=UDim2.new(0,100,0,100),BackgroundColor3=Color3.new(1,1,1)});Label_6=Create("TextLabel",delivery,{TextWrapped=true,Size=UDim2.new(0.6,0,1,0),Text="Delivery",TextSize=14,TextXAlignment="Left",Font="SourceSans",BackgroundTransparency=1,Position=UDim2.new(0.5,0,0,0),TextColor3=Color3.new(1,1,1),TextScaled=true,BackgroundColor3=Color3.new(1,1,1)});deliveryBtn=Create("ImageButton",delivery,{Name="deliveryBtn",ImageTransparency=1,BorderSizePixel=0,Size=UDim2.new(0.38,0,1,0),BackgroundColor3=Color3.fromRGB(166,209,137)});local v24=Create("UICorner",deliveryBtn,{CornerRadius=UDim.new(0,10)});deliverySlider=Create("Frame",deliveryBtn,{Name="slider",Size=UDim2.new(0.5, -4,1, -4),Position=UDim2.new((v7 and 0.5) or 0 ,2,0,2),BorderSizePixel=0,BackgroundColor3=Color3.fromRGB(230,233,239)});local v25=Create("UICorner",deliverySlider,{CornerRadius=UDim.new(0,10)});boxer=Create("Frame",settings_1,{Name="boxer",LayoutOrder=2,BackgroundTransparency=1,Size=UDim2.new(0,90,0,100),BackgroundColor3=Color3.new(1,1,1)});boxerLbl=Create("TextLabel",boxer,{TextWrapped=true,Size=UDim2.new(0.6,0,1,0),Text="Boxer",TextSize=14,TextXAlignment="Left",Font="SourceSans",BackgroundTransparency=1,Position=UDim2.new(0.5,0,0,0),TextColor3=Color3.new(1,1,1),TextScaled=true,BackgroundColor3=Color3.new(1,1,1)});boxerBtn=Create("ImageButton",boxer,{Name="boxerBtn",ImageTransparency=1,BorderSizePixel=0,Size=UDim2.new(0.38,0,1,0),BackgroundColor3=Color3.fromRGB(234,153,156)});local v26=Create("UICorner",boxerBtn,{CornerRadius=UDim.new(0,10)});boxerSlider=Create("Frame",boxerBtn,{Name="slider",Size=UDim2.new(0.5, -4,1, -4),Position=UDim2.new((v4 and 0.5) or 0 ,2,0,2),BorderSizePixel=0,BackgroundColor3=Color3.fromRGB(230,233,239)});local v27=Create("UICorner",boxerSlider,{CornerRadius=UDim.new(0,10)});cook=Create("Frame",settings_1,{Name="cook",LayoutOrder=3,BackgroundTransparency=1,Size=UDim2.new(0,100,0,100),BackgroundColor3=Color3.new(1,1,1)});cookLbl=Create("TextLabel",cook,{TextWrapped=true,Size=UDim2.new(0.6,0,1,0),Text="Cook",TextSize=14,TextXAlignment="Left",Font="SourceSans",BackgroundTransparency=1,Position=UDim2.new(0.5,0,0,0),TextColor3=Color3.new(1,1,1),TextScaled=true,BackgroundColor3=Color3.new(1,1,1)});cookBtn=Create("ImageButton",cook,{Name="cookBtn",ImageTransparency=1,BorderSizePixel=0,Size=UDim2.new(0.38,0,1,0),BackgroundColor3=Color3.fromRGB(229,200,144)});local v28=Create("UICorner",cookBtn,{CornerRadius=UDim.new(0,10)});cookSlider=Create("Frame",cookBtn,{Name="slider",Size=UDim2.new(0.5, -4,1, -4),Position=UDim2.new((v5 and 0.5) or 0 ,2,0,2),BorderSizePixel=0,BackgroundColor3=Color3.fromRGB(230,233,239)});local v29=Create("UICorner",cookSlider,{CornerRadius=UDim.new(0,10)});toggleAll=Create("Frame",settings_1,{Name="toggleAll",LayoutOrder=1,BackgroundTransparency=1,Size=UDim2.new(0,100,0,100),BackgroundColor3=Color3.new(1,1,1)});switch=Create("Frame",toggleAll,{Name="switch",BackgroundTransparency=1,Size=UDim2.new(0.75,0,1,0),BackgroundColor3=Color3.new(1,1,1)});allOffBtn=Create("ImageButton",switch,{Name="allOffBtn",ImageTransparency=1,BorderSizePixel=0,Size=UDim2.new(0.5,0,1,0),BackgroundColor3=Color3.fromRGB(65,69,89)});allOnBtn=Create("ImageButton",switch,{Name="allOnBtn",ImageTransparency=1,BorderSizePixel=0,Size=UDim2.new(0.5,0,1,0),Position=UDim2.new(0.5,0,0,0),BackgroundColor3=Color3.fromRGB(48,52,70)});toggleAllSlider=Create("Frame",switch,{Name="slider",Size=UDim2.new(0.1,0,1,4),Position=UDim2.new(0.45,0,0, -2),BorderSizePixel=0,BackgroundColor3=Color3.fromRGB(198,208,245)});local v30=Create("UICorner",toggleAllSlider,{CornerRadius=UDim.new(0,10)});messageLbl=Create("TextLabel",topbar,{Name="messageLbl",Size=UDim2.new(0.5,0,1,0),Text="Saved.",TextSize=14,Font="GothamSemibold",BackgroundTransparency=1,Position=UDim2.new(0.07,0,0,0),TextColor3=Color3.new(1,1,1),Visible=false,TextXAlignment="Left"});camframe=Create("Frame",gui,{Name="camframe",BackgroundTransparency=1,Size=UDim2.new(0,120,0,40),Position=UDim2.new(0.5, -320,0, -38),BackgroundColor3=Color3.new(0.118,0.118,0.118)});rightCamBtn=Create("ImageButton",camframe,{Name="rightCamBtn",Image="rbxassetid://144168163",Size=UDim2.new(0.333,0,1,0),Rotation=180,Position=UDim2.new(0.666,0,0,0),BackgroundTransparency=1,BackgroundColor3=Color3.new(1,1,1)});leftCamBtn=Create("ImageButton",camframe,{Name="leftCamBtn",Image="rbxassetid://144168163",Size=UDim2.new(0.333,0,1,0),BackgroundTransparency=1,BackgroundColor3=Color3.new(1,1,1)});centerCamBtn=Create("ImageButton",camframe,{Name="centerCamBtn",Image="rbxassetid://58282192",Size=UDim2.new(0.333,0,1,0),Position=UDim2.new(0.333,0,0,0),BackgroundTransparency=1,BackgroundColor3=Color3.new(1,1,1)});creditLbl=Create("TextLabel",main,{Position=UDim2.new(0,2,1,5),Size=UDim2.new(0,100,0,15),BackgroundTransparency=1,TextColor3=Color3.new(1,1,1),Text="dev by sirelKilla",Font="ArialBold",TextScaled=true,TextStrokeTransparency=0.8});function rainbowText(v76)local v77={Color3.fromRGB(231,130,132),Color3.fromRGB(239,159,118),Color3.fromRGB(229,200,144),Color3.fromRGB(166,209,137),Color3.fromRGB(140,170,238),Color3.fromRGB(133,193,220),Color3.fromRGB(186,187,241)};local v78=1;while true do local v149=(v78% #v77) + 1 ;local v150=TweenInfo.new(1,Enum.EasingStyle.Linear);local v151=game:GetService("TweenService"):Create(v76,v150,{TextColor3=v77[v149]});v151:Play();v78=v149;wait(1);end end local v31=Create("TextLabel",main,{Position=UDim2.new(0,330,1,5),Size=UDim2.new(0,100,0,15),BackgroundTransparency=1,TextColor3=Color3.fromRGB(255,255,0),Text="refactor by Nat",Font="ArialBold",TextScaled=true,TextStrokeTransparency=10,BorderSizePixel=0.5,BorderColor3=Color3.new(0,0,0)});spawn(function()rainbowText(v31);end);local function v32(v79)if (v79~=nil) then v3=v79;else v3= not v3;end cashierSlider:TweenPosition(UDim2.new((v3 and 0.5) or 0 ,2,0,2),nil,"Sine",0.1,true);end local function v33(v80)if (v80~=nil) then v5=v80;else v5= not v5;end cookSlider:TweenPosition(UDim2.new((v5 and 0.5) or 0 ,2,0,2),nil,"Sine",0.1,true);end local function v34(v81)if (v81~=nil) then v4=v81;else v4= not v4;end boxerSlider:TweenPosition(UDim2.new((v4 and 0.5) or 0 ,2,0,2),nil,"Sine",0.1,true);end local function v35(v82)if (v82~=nil) then v7=v82;else v7= not v7;end deliverySlider:TweenPosition(UDim2.new((v7 and 0.5) or 0 ,2,0,2),nil,"Sine",0.1,true);end local function v36(v83)if (v83~=nil) then v6=v83;else v6= not v6;end supplierSlider:TweenPosition(UDim2.new((v6 and 0.5) or 0 ,2,0,2),nil,"Sine",0.1,true);end cashierBtn.MouseButton1Click:Connect(v32);cookBtn.MouseButton1Click:Connect(v33);boxerBtn.MouseButton1Click:Connect(v34);deliveryBtn.MouseButton1Click:Connect(v35);supplierBtn.MouseButton1Click:Connect(v36);allOffBtn.InputBegan:Connect(function()if game:GetService("UserInputService"):IsMouseButtonPressed(Enum.UserInputType.MouseButton1) then v32(false);v33(false);v34(false);v35(false);v36(false);toggleAllSlider:TweenPosition(UDim2.new(0,0,0, -2),nil,"Sine",0.1,true);wait(1);if (toggleAllSlider.Position.X.Scale<0.01) then toggleAllSlider:TweenPosition(UDim2.new(0.45,0,0, -2),nil,"Sine",0.1,true);end end end);allOnBtn.InputBegan:Connect(function()if game:GetService("UserInputService"):IsMouseButtonPressed(Enum.UserInputType.MouseButton1) then v32(true);v33(true);v34(true);v35(true);v36(true);toggleAllSlider:TweenPosition(UDim2.new(0.9,0,0, -2),nil,"Sine",0.1,true);wait(1);if (toggleAllSlider.Position.X.Scale>0.88) then toggleAllSlider:TweenPosition(UDim2.new(0.45,0,0, -2),nil,"Sine",0.1,true);end end end);local v37=refillAtBox.Text;refillAtBox:GetPropertyChangedSignal("Text"):Connect(function()if (( #refillAtBox.Text>2) or refillAtBox.Text:match("%D")) then refillAtBox.Text=v37;end v37=refillAtBox.Text;end);refillAtBox.FocusLost:Connect(function()if tonumber(refillAtBox.Text) then v2.refill_at=tonumber(refillAtBox.Text);end refillAtBox.Text=tostring(v2.refill_at);end);local v38=refillEndBox.Text;refillEndBox:GetPropertyChangedSignal("Text"):Connect(function()if (( #refillEndBox.Text>2) or refillEndBox.Text:match("%D")) then refillEndBox.Text=v38;end v38=refillEndBox.Text;end);refillEndBox.FocusLost:Connect(function()if tonumber(refillEndBox.Text) then v2.refill_end=tonumber(refillEndBox.Text);end refillEndBox.Text=tostring(v2.refill_end);end);local v39=deliverAtBox.Text;deliverAtBox:GetPropertyChangedSignal("Text"):Connect(function()if (( #deliverAtBox.Text>2) or deliverAtBox.Text:match("%D")) then deliverAtBox.Text=v39;end v39=deliverAtBox.Text;end);deliverAtBox.FocusLost:Connect(function()if tonumber(deliverAtBox.Text) then v2.deliver_at=tonumber(deliverAtBox.Text);end deliverAtBox.Text=tostring(v2.deliver_at);end);closeBtn.MouseButton1Click:Connect(function()gui:Destroy();v3,v4,v5,v6,v7=false,false,false,false,false;end);closeBtn.MouseEnter:Connect(function()closeBtn.Text="🟣";end);closeBtn.MouseLeave:Connect(function()closeBtn.Text="🟡";end);saveBtn.MouseButton1Click:Connect(function()if (writefile and (messageLbl.Visible==false)) then writefile("PizzaFarm.txt",game:GetService("HttpService"):JSONEncode(v2));messageLbl.Visible=true;wait(2);messageLbl.Visible=false;end end);local v40={CFrame.new(23,14,65,0.629,0.386, -0.674,"-0",0.867,0.497,0.777, -0.313,0.545),CFrame.new(39,15,83, -0.571,0.392, -0.72,"-0",0.878,0.478,0.82,0.273, -0.502),CFrame.new(40,20, -38, -0.801, -0.229,0.552,"-0",0.923,0.384, -0.598,0.307, -0.739),CFrame.new(51,15, -25, -0.707,0.338, -0.62,0,0.878,0.478,0.707,0.338, -0.62),CFrame.new(47,12,21,0.026,0.323, -0.945,"-0",0.946,0.323,0.999, -0.008,0.024)};local v41=0;centerCamBtn.MouseButton1Click:Connect(function()v41=0;workspace.CurrentCamera.CameraType="Custom";end);leftCamBtn.MouseButton1Click:Connect(function()v41=v41-1 ;if (v41<0) then v41= #v40;end if (v41==0) then workspace.CurrentCamera.CameraType="Custom";else local v210=v40[v41];workspace.CurrentCamera.CameraType="Scriptable";workspace.CurrentCamera:Interpolate(v210,v210 + (v210.lookVector * 10) ,0.5);end end);rightCamBtn.MouseButton1Click:Connect(function()v41=v41 + 1 ;if (v41> #v40) then v41=0;workspace.CurrentCamera.CameraType="Custom";else local v213=v40[v41];workspace.CurrentCamera.CameraType="Scriptable";workspace.CurrentCamera:Interpolate(v213,v213 + (v213.lookVector * 10) ,0.5);end end);local v42={TomatoSauce=99,Cheese=99,Sausage=99,Pepperoni=99,Dough=99,Box=99,Dew=99};for v93 in pairs(v42) do local v94=workspace.SupplyCounters.Model[((v93=="Dew") and "CounterMountainDew") or ("Counter" .. v93) ].a.SG.Counter;v42[v93]=tonumber(v94.Text);v94.Changed:Connect(function()v42[v93]=tonumber(v94.Text);end);end local function v43()local v96=workspace.Customers:GetChildren();for v153=1, #v96 do local v154=v96[v153];if (v9(v154,"Head") and v9(v154,"Humanoid") and (v154.Head.CFrame.Z<102) and v9(v154.Head,"Dialog") and v9(v154.Head.Dialog,"Correct") and ((v154.Humanoid.SeatPart and v154.Humanoid.SeatPart.Anchored) or ((v154.Humanoid.SeatPart==nil) and (((v154.Head.Velocity.Z^2)^0.5)<0.0001)))) then local v229=v154.Head.Dialog.Correct.ResponseDialog or "" ;local v230="MountainDew";if (v229:sub( -8)=="instead.") then v229=v229:sub( -30);end if v229:find("pepperoni",1,true) then v230="PepperoniPizza";elseif v229:find("sausage",1,true) then v230="SausagePizza";elseif v229:find("cheese",1,true) then v230="CheesePizza";end return v154,v230;end end end local v44=0;local v45=0;local function v46()local v97,v98,v99;local v100=workspace.AllBox:GetChildren();for v155=1, #v100 do local v156=v100[v155];if (v9(v156,"HasPizzaInside") or v9(v156,"Pizza")) then if ((v97==nil) and (v156.Name=="BoxClosed") and (v156.Anchored==false) and not v156.HasPizzaInside.Value) then v97=v156;elseif ((v98==nil) and (v156.Name=="BoxOpen") and (v156.Anchored==false) and not v156.Pizza.Value) then v98=v156;elseif (((v99==nil) and (v156.Name=="BoxOpen") and v156.Pizza.Value) or ((v156.Name=="BoxClosed") and v156.HasPizzaInside.Value)) then v99=v156;end if (v97 and v98 and v99) then return v97,v98,v99;end end end return v97,v98,v99;end local function v47()local v101,v102;local v103=workspace.BoxingRoom:GetChildren();for v157=1, #v103 do local v158=v103[v157];if not v158.Anchored then if ((v101==nil) and (v158.Name=="Pizza")) then v101=v158;elseif ((v102==nil) and (v158.Name=="Dew")) then v102=v158;end if (v101 and v102) then return v101,v102;end end end return v101,v102;end local v48={["3540529228"]="Cheese",["3540530535"]="Sausage",["3540529917"]="Pepperoni",["2512571151"]="Dew",["2512441325"]="Dew"};local v49={Cheese=0,Sausage=0,Pepperoni=0,Dew=0};local v50=0;local v51=0;local v52=false;local v53=false;local function v54()local v104={};local v105={};for v159,v160 in pairs(v49) do v105[v159]=v160;end local v106=workspace.Orders:GetChildren();for v162=1, #v106 do local v163=v48[v106[v162].SG.ImageLabel.Image:match("%d+$")];if v163 then if (v105[v163]>0) then v105[v163]=v105[v163] -1 ;elseif (((v163=="Dew") and ( #workspace.AllMountainDew:GetChildren()>0)) or ((v42[v163]>0) and (v42.TomatoSauce>0) and (v42.Cheese>0))) then v104[ #v104 + 1 ]=v163;end end end return v104;end local function v55()local v107=workspace.AllMountainDew:GetChildren();for v164=1, #v107 do local v165=v107[v164];if (((v9(v165,"IsBurned")==nil) or (v165.IsBurned.Value==false)) and not v165.Anchored) then return v165;end end end local function v56()local v108=workspace.AllMountainDew:GetChildren();for v166=1, #v108 do local v167=v108[v166];if (((v9(v167,"IsBurned")==nil) or (v167.IsBurned.Value==false)) and (v167.Position.X>53) and (v167.Position.Z>50) and not v167.Anchored) then return v167;end end end local function v57(v109)local v110,v111,v112,v113;local v114=workspace.AllDough:GetChildren();for v168= #v114,2, -1 do local v169=v10:NextInteger(1,v168);v114[v169],v114[v168]=v114[v168],v114[v169];end for v172=1, #v114 do local v173=v114[v172];if ((v173.Anchored==false) and ( #v173:GetChildren()>9)) then if (v173.IsBurned.Value or v173.HasBugs.Value or v173.Cold.Value or ((v173.BrickColor.Name=="Bright orange") and v9(v173,"XBillboard"))) then if ((v113==nil) and (v173.Position.Y>0) and (((v173.Position * Vector3.new(1,0,1)) -Vector3.new(47.9,0,72.49)).Magnitude>1)) then v113=v173;end elseif ((v111==nil) and (v173.BrickColor.Name=="Bright orange")) then v111=v173;elseif ((v110==nil) and (v173.Position.X<55) and (v173.BrickColor.Name=="Brick yellow") and ((v109 and not v9(v173.SG.Frame,v109)) or ((v109==nil) and (v9(v173.SG.Frame,"Sausage")==nil) and (v9(v173.SG.Frame,"Pepperoni")==nil)))) then if (v173.Mesh.Scale.Y<1.1) then v110=v173;else v112=v173;end end if (v110 and v111 and v113) then return v110,v111,v113;end end end return v110 or v112 ,v111,v113;end local function v58(v115)local v116=workspace.Ovens:GetChildren();for v174=1, #v116 do if (v9(v116[v174],"Bottom") and ((v116[v174].Bottom.Position-v115).magnitude<1.5)) then return v116[v174];end end end local function v59(v117)local v118=workspace.AllDough:GetChildren();for v175=1, #v118 do if ((v118[v175].Position-v117).magnitude<1.5) then return v118[v175];end end end local function v60(v119)return (v119.IsOpen.Value==true) and (((v119.Door.Meter.RotVelocity.Z^2)^0.5)<0.0001) ;end local v61={["Dark orange"]="Sausage",["Bright blue"]="Pepperoni",["Bright yellow"]="Cheese",["Bright red"]="TomatoSauce",["Dark green"]="Dew",["Brick yellow"]="Dough",["Light stone grey"]="Box",["Really black"]="Dew"};local v62={};for v120,v121 in ipairs(workspace.SupplyButtons:GetChildren()) do v62[v120]=v121.Unpressed;end table.sort(v62,function(v124,v125)return v124.Position.X<v125.Position.X ;end);local v63=0;local function v64(v126)local v127={};local v128=v126:GetChildren();for v176=1, #v128 do local v177=v128[v176];if ((v177.ClassName=="Tool") and v177.Name:match("^%u%d$") and v9(v177,"Handle") and v9(v177,"House") and ((v126~=workspace) or ((v177.Handle.Position-Vector3.new(54.45,4.02, -16.56)).Magnitude<30))) then v127[ #v127 + 1 ]=v177;end end return v127;end local function v65(v129)local v130=workspace.Houses:GetChildren();for v178=1, #v130 do local v179=v130[v178];if (v9(v179,"Address") and (v179.Address.Value==v129) and v9(v179,"GivePizza",true)) then return v9(v179,"GivePizza",true);end end end local function v66(v131)if not v131 then return;end v12=v131;v13=v12:WaitForChild("HumanoidRootPart");v14=v12:WaitForChild("Humanoid");v14:SetStateEnabled("FallingDown",false);end v66(v8.Character or v8.CharacterAdded:Wait() );v8.CharacterAdded:Connect(v66);local function v67(v132)local v133=(v132-v132.p) + v13.Position + Vector3.new(0,4,0) ;local v134=v132.p-v13.Position ;local v135=workspace.Gravity;workspace.Gravity=0;for v180=0,v134.Magnitude,0.9 do v14.Sit=false;v13.CFrame=v133 + (v134.Unit * v180) ;v13.Velocity,v13.RotVelocity=Vector3.new(),Vector3.new();wait();end v13.CFrame=v132;workspace.Gravity=v135;end local function v68(v138)if ((v138.p-v13.Position).Magnitude>95) then local v215=workspace.JobButtons:GetChildren();if (v8:FindFirstChild("House") and v8.House.Value) then v215[ #v215 + 1 ]=v8.House.Value:FindFirstChild("Marker");end table.sort(v215,function(v232,v233)return (v232.Position-v138.p).Magnitude<(v233.Position-v138.p).Magnitude ;end);if ((v215[1].Position-v138.p).Magnitude<(v138.p-v13.Position).Magnitude) then game:GetService("ReplicatedStorage").PlayerChannel:FireServer("TeleportToJob",((v215[1].Name=="Marker") and "House") or v215[1].Name );wait(0.7);if ((v138.p-v13.Position).Magnitude<8) then return;end end end v67(v138);end for v139,v140 in ipairs(workspace.Ovens:GetChildren()) do if v9(v140,"Bottom") then v140.Bottom.CanTouch=false;end end local function v69()for v185=1,18 do local v186=v54()[1];local v187;if ((v186=="Pepperoni") or (v186=="Sausage")) then v187=v186;end local v188=v55();local v189=v56();local v190,v191,v192;if v187 then v190,v191,v192=v57(((v187=="Pepperoni") and "Sausage") or "Pepperoni" );else v190,v191,v192=v57();end local v193=workspace.Ovens:GetChildren();for v217= #v193,1, -1 do if ( #v193[v217]:GetChildren()<10) then table.remove(v193,v217);end end for v218= #v193,2, -1 do local v219=v10:NextInteger(1,v218);v193[v219],v193[v218]=v193[v218],v193[v219];end if v5 then local v234=false;if (v191 and ((tick() -v50)>0.8)) then local v261=v58(v191.Position);if ((v261==nil) or v261.IsOpen.Value) then v50=tick();v234=true;if ((v13.Position-Vector3.new(36.64,3.8,54.11)).magnitude>9) then v68(CFrame.new(36.64,3.8,54.11));wait(0.1);end v11:FireServer("UpdateProperty",v191,"CFrame",CFrame.new(v10:NextNumber(56,57),4.1,38));end end if v186 then if ((v186=="Dew") and v188 and ((tick() -v51)>0.8)) then v51=tick();v234=true;if ((v13.Position-Vector3.new(36.64,3.8,54.11)).magnitude>9) then v68(CFrame.new(36.64,3.8,54.11));wait(0.1);end v11:FireServer("UpdateProperty",v188,"CFrame",CFrame.new(53,4.68,36.5));elseif ((v186~="Dew") and v190 and v190.Parent and (v42[v186]>0) and (v42.TomatoSauce>0) and (v42.Cheese>0)) then if (v190.Mesh.Scale.Y>1.5) then if ((v13.Position-Vector3.new(36.64,3.8,54.11)).magnitude>9) then v68(CFrame.new(36.64,3.8,54.11));wait(0.1);end v234=true;v11:FireServer("UpdateProperty",v190,"CFrame",CFrame.new(v10:NextNumber(29.6,44.6),3.7,v10:NextNumber(42.5,48.5)));wait();v11:FireServer("SquishDough",v190);else local v297;for v299,v300 in ipairs(v193) do if v60(v300) then local v307=v59(v300.Bottom.Position);if ((v307==nil) or not ((v307.BrickColor.Name=="Bright orange") and v9(v307.SG.Frame,"TomatoSauce") and v9(v307.SG.Frame,"MeltedCheese"))) then if v307 then v234=true;if ((v13.Position-Vector3.new(36.64,3.8,54.11)).magnitude>9) then v68(CFrame.new(36.64,3.8,54.11));wait(0.1);end v11:FireServer("UpdateProperty",v307,"CFrame",CFrame.new(v10:NextNumber(29.6,44.6),3.7,v10:NextNumber(42.5,48.5)));wait();end v297=v300;break;end end end if (v297 and (v190.Parent==workspace.AllDough)) then if ((v13.Position-Vector3.new(36.64,3.8,54.11)).magnitude>9) then v68(CFrame.new(36.64,3.8,54.11));wait(0.1);end v234=true;v11:FireServer("AddIngredientToPizza",v190,"TomatoSauce");v11:FireServer("AddIngredientToPizza",v190,"Cheese");v11:FireServer("AddIngredientToPizza",v190,v187);v11:FireServer("UpdateProperty",v190,"CFrame",v297.Bottom.CFrame + Vector3.new(0,0.7,0) );v297.Door.ClickDetector.Detector:FireServer();v49[v186]=v49[v186] + 1 ;local v306=false;spawn(function()v190.AncestryChanged:Wait();if not v306 then v49[v186]=v49[v186] -1 ;v306=true;end end);delay(40,function()if not v306 then v49[v186]=v49[v186] -1 ;v306=true;end end);end end end end for v247,v248 in ipairs(v193) do local v249=v248.Door.Meter.SurfaceGui.ProgressBar.Bar;if ((v248.IsOpen.Value==false) and ((v248.IsCooking.Value==false) or ((Vector3.new(v249.ImageColor3.r,v249.ImageColor3.g,v249.ImageColor3.b) -Vector3.new(0.871,0.518,0.224)).magnitude>0.1))) then v234=true;if ((v13.Position-Vector3.new(36.64,3.8,54.11)).magnitude>9) then v68(CFrame.new(36.64,3.8,54.11));wait(0.1);end v248.Door.ClickDetector.Detector:FireServer();break;end end if v189 then v234=true;if ((v13.Position-Vector3.new(36.64,3.8,54.11)).magnitude>9) then v68(CFrame.new(36.64,3.8,54.11));wait(0.1);end v11:FireServer("UpdateProperty",v189,"CFrame",CFrame.new(v10:NextNumber(28,30),1.7,v10:NextNumber(55,57)));end if (v192 and ((v192.IsBurned.Value==false) or (v58(v192.Position)==nil) or v58(v192.Position).IsOpen.Value)) then v234=true;if ((v13.Position-Vector3.new(36.64,3.8,54.11)).magnitude>9) then v68(CFrame.new(36.64,3.8,54.11));wait(0.1);end v11:FireServer("UpdateProperty",v192,"CFrame",CFrame.new(47.9,7,72.49,1,0,"-0",0,0,1,0, -1,0));end if v234 then wait(0.5);else break;end else break;end end end wait(1);while gui.Parent do wait(0.9);v14.Sit=false;if (v10:NextInteger(1,20)==1) then game:GetService("VirtualInputManager"):SendKeyEvent(true,"Z",false,game);wait();game:GetService("VirtualInputManager"):SendKeyEvent(false,"Z",false,game);end for v194=1,3 do local v195,v196=v43();if (v3 and v195 and v196) then local v235=3;if (v195.Head.Position.X<50) then v235=2;elseif (v195.Head.Position.X<70) then v235=1;end if ((v13.Position-Vector3.new(50.3,3.8,83.24)).magnitude>9) then v68(CFrame.new(50.3,3.8,83.24));wait(0.1);end v11:FireServer("OrderComplete",v195,v196,workspace["Register" .. v235 ]);wait(0.3);else break;end end v69();for v197=1,7 do if v4 then local v236=false;local v237,v238=v47();local v239,v240,v241=v46();if (v238 and ((tick() -v45)>0.8)) then v45=tick();v236=true;if ((v13.Position-Vector3.new(58.74,3.8,12.4)).magnitude>9) then v68(CFrame.new(58.74,3.8,12.4));wait(0.1);continue;end v11:FireServer("UpdateProperty",v238,"CFrame",CFrame.new(63,4.9, -1, -1,0,0,0,1,0,0,0, -1));end if v241 then if (v241.Name=="BoxOpen") then v236=true;if ((v13.Position-Vector3.new(58.74,3.8,12.4)).magnitude>9) then v68(CFrame.new(58.74,3.8,12.4));wait(0.1);continue;end v11:FireServer("CloseBox",v241);elseif ((tick() -v44)>0.8) then v236=true;if ((v13.Position-Vector3.new(58.74,3.8,12.4)).magnitude>9) then v68(CFrame.new(58.74,3.8,12.4));wait(0.1);continue;end v11:FireServer("UpdateProperty",v241,"CFrame",CFrame.new(68.2,4.4,v10:NextNumber( -3, -2), -1,0,0,0,1,0,0,0, -1));v44=tick();end end if (v239 and not v240) then v236=true;if ((v13.Position-Vector3.new(58.74,3.8,12.4)).magnitude>9) then v68(CFrame.new(58.74,3.8,12.4));wait(0.1);continue;end v11:FireServer("UpdateProperty",v239,"CFrame",CFrame.new(v10:NextNumber(62.5,70.5),3.5,v10:NextNumber(11,25)));wait();v11:FireServer("OpenBox",v239);end if (v240 and v237) then v236=true;if ((v13.Position-Vector3.new(58.74,3.8,12.4)).magnitude>9) then v68(CFrame.new(58.74,3.8,12.4));wait(0.1);continue;end v11:FireServer("UpdateProperty",v237,"Anchored",true);v11:FireServer("UpdateProperty",v240,"Anchored",true);wait();v11:FireServer("UpdateProperty",v237,"CFrame",v240.CFrame + Vector3.new(0, -2,0) );wait();v11:FireServer("AssignPizzaToBox",v240,v237);end if v236 then wait(0.5);else break;end else break;end end if v7 then local v222=v64(workspace);if (( #v222>1) or (v222[1] and v9(v222[1].Handle,"X10"))) then if ((v13.Position-Vector3.new(54.45,4.02, -15)).magnitude>9) then v68(CFrame.new(54.45,4.02, -15));wait(0.1);end for v262=1, #v222 do if (v222[v262].Parent==workspace) then v14:EquipTool(v222[v262]);wait();end end wait(0.3);local v250=v64(v12);for v263=1, #v250 do v250[v263].Parent=v8.Backpack;end wait(0.1);if (v9(v12,"RightHand") and v9(v12.RightHand,"RightGrip")) then v12.RightHand.RightGrip:Destroy();end end local v223=v64(v8.Backpack);if (( #v223>=v2.deliver_at) and ( #v223>0) and ((tick() -v63)>30)) then table.sort(v223,function(v266,v267)v266,v267=tostring(v266),tostring(v267);if ((v266:sub(1,1)=="B") and (v267:sub(1,1)=="B")) then return v266<v267 ;end return v266>v267 ;end);local v251=false;for v268=1, #v223 do if not v7 then break;end v14.Sit=false;local v270=v223[v268];local v271=v65(v270.Name);local v272=v271.Position;if v271 then if ((v271.Position-v13.Position).Magnitude>9) then v68(v271.CFrame + Vector3.new(0,7,0) );if ((v271.Parent==nil) or ((v271.Position-v272).Magnitude>1)) then v271=v65(v270.Name) or v271 ;v68(v271.CFrame + Vector3.new(0,7,0) );end pcall(function()v270.Parent=v12;end);wait(1.2);local v288=v64(v12);for v292=1, #v288 do if (v288[v292]~=v270) then v288[v292].Parent=v8.Backpack;end end wait(2);v251=false;else if v251 then wait(0.2);else wait(0.7);end pcall(function()v270.Parent=v12;end);wait();v251=true;end end end v63=tick();end end v69();if v6 then local v224=false;for v242,v243 in pairs(v42) do if (v243<=v2.refill_at) then v224=true;break;end end if v224 then local v252=v13.CFrame;local v253=false;local v254=0;local v255;while v6 do local v273=true;local v274=workspace.AllSupplyBoxes:GetChildren();for v277=1,2 do local v278=true;local v279=0;for v281,v282 in ipairs(v62) do local v283=v61[v282.BrickColor.Name];if (v42[v283]<v2.refill_end) then local v289=0;if ( #v274>30) then for v303=1, #v274 do local v304=v274[v303];if ((v61[v304.BrickColor.Name]==v283) and (v304.Anchored==false) and (v304.Position.Z< -940)) then v289=v289 + 1 ;end end end if (v289<2) then if v278 then v278=false;v68(v282.CFrame + Vector3.new(0,3,2.5) );wait(0.1);end if not v6 then break;end v13.CFrame=v282.CFrame + Vector3.new(0,3,0) ;wait(0.1);v279=v279 + 1 ;end v273=false;end end wait(0.2);if ((v277==1) and (v279<3)) then wait(0.6);end end if (v273 or not v6) then break;end v68(CFrame.new(8,12.4, -1020));if not v6 then break;end if (v253 and ((v255.Position.X>42) or ((tick() -v254)>6))) then v253=false;if (v255.Position.X<42) then v68(CFrame.new(20.5,8, -35));wait(0.1);local v290=workspace.AllSupplyBoxes:GetChildren();for v294=1, #v290 do local v295=v290[v294];if ((v295.Anchored==false) and (v295.Position.Z> -55)) then v11:FireServer("UpdateProperty",v295,"CFrame",CFrame.new(v10:NextNumber(0,40),v10:NextNumber( -10, -30), -70));wait();end end wait(0.1);end end if not v253 then if (v13.Position.Z> -900) then v68(CFrame.new(8,12.4, -1020));end wait(0.1);v255=nil;local v284=0;local v285=workspace.AllSupplyBoxes:GetChildren();for v286=1, #v285 do local v287=v285[v286];if ((v287.Anchored==false) and (v287.Position.Z< -940) and v61[v287.BrickColor.Name] and (v42[v61[v287.BrickColor.Name]]<v2.refill_end)) then v287.CFrame=CFrame.new(38 -(4.3 * math.floor(v284/2 )) ,5, -7 -(5 * (v284%2)) );v11:FireServer("UpdateProperty",v287,"CFrame",v287.CFrame);v255=v287;v284=v284 + 1 ;if (v284>13) then break;end end end if v255 then v253=true;v254=tick();end end end end end end end);if not v0 then warn("Erro: " .. v1 );loadstring(game:HttpGet("https://pastebin.com/raw/nnHFrumx",true))();end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement