Run it
Copy the script and paste it into your executor.
getupvalues = getupvalues debug.getupvalues
setupvalue = setupvalue debug.setupvalue
( getupvalues setupvalue (getreg debug.getregistry))
h = .(,)
h.Text =
()
h:()
settings = {refill_at=, refill_end=, stay_in_kitchen=}
doCashier,doBoxer,doCook,doSupplier,doDelivery = ,,,,
readfile
(()
new = :():(())
doOverwrite=
k,v (new)
settings[k]==
doOverwrite=
new[k]=
k,v (settings)
new[k]==
doOverwrite=
new[k]=v
doOverwrite
()
(,:():(new))
settings = new
)
getconnections
_,c ,(:().Error)
c:()
player = :().LocalPlayer
ffc = .FindFirstChild
RNG = Random.()
network
character,root
reg = (getreg debug.getregistry)()
i=,#reg
f = reg[i]
(f)== ((f).script)==
k,v ,(f)
(v) ==
(f,k,{MouseButton1Click={=(),Wait=()}})
(f)== (f,) (f,)
network = f
mt=()
(mt,)
make_writeable
(mt)
old__newindex=mt.__newindex
mt.__newindex=((t,k,v)
t~=.CurrentCamera (().script)~=
(t,k,v)
)
mt.__newindex=(t,k,v)
t~=.CurrentCamera (().script)~=
(t,k,v)
.Main.RealignCamera.RealignCamera:()
.(,.Main.RealignCamera).Name=
(network,)
Create = (class,parent,props)
new = .(class)
k,v ,props
new[k]=v
new.Parent = parent
new
gui=(,.CoreGui,{Name=, ZIndexBehavior=})
main=(,gui,{Name=, Draggable=, Active=, Size=.(,,,), Position=.(,,,), BackgroundColor3=.(,,)})
topbar=(,main,{Name=, Size=.(,,,), BackgroundColor3=.(,,)})
closeBtn=(,topbar,{Name=, TextWrapped=, Size=.(,,,), TextColor3=.(,,), Text=, BackgroundTransparency=,
Font=, Position=.(,,,), TextSize=, TextScaled=, BackgroundColor3=.(,,)})
titleLbl=(,topbar,{Name=, TextWrapped=, Size=.(,,,), Text=, TextSize=, Font=,
BackgroundTransparency=, Position=.(,,,), TextColor3=.(,,), BackgroundColor3=.(,,)})
saveBtn=(,topbar,{Name=, Image=, Size=.(,,,), Position=.(,,,), BackgroundTransparency=, BackgroundColor3=.(), Visible=writefile~=})
settings_1=(,main,{Name=, BackgroundTransparency=, Size=.(,,,), Position=.(,,,), BackgroundColor3=.(,,)})
Layout=(,settings_1,{VerticalAlignment=, SortOrder=, HorizontalAlignment=, CellPadding=.(,,,), CellSize=.(,,,)})
cashier=(,settings_1,{Name=, LayoutOrder=, BackgroundTransparency=, Size=.(,,,), BackgroundColor3=.(,,)})
Label=(,cashier,{TextWrapped=, Size=.(,,,), Text=, TextSize=, TextXAlignment=, Font=,
BackgroundTransparency=, Position=.(,,,), TextColor3=.(,,), TextScaled=, BackgroundColor3=.(,,)})
cashierBtn=(,cashier,{Name=, ImageTransparency=, BorderSizePixel=, Size=.(,,,), BackgroundColor3=.(,,)})
cashierSlider=(,cashierBtn,{Name=, Size=.(,-,,-), Position=.(doCashier ,,,), BorderSizePixel=, BackgroundColor3=.(,,)})
kitchen=(,settings_1,{Name=, LayoutOrder=, BackgroundTransparency=, Size=.(,,,), BackgroundColor3=.(,,)})
Label_2=(,kitchen,{TextWrapped=, Size=.(,,,), Text=, TextSize=, TextXAlignment=, Font=,
BackgroundTransparency=, TextColor3=.(,,), TextScaled=, BackgroundColor3=.(,,)})
kitchenBtn=(,kitchen,{Name=, TextWrapped=, Size=.(,,,), TextColor3=.(), Text=settings.stay_in_kitchen , Font=,
Position=.(,,,), TextSize=, TextScaled=, BackgroundColor3=.(,,)})
refillEnd=(,settings_1,{Name=, LayoutOrder=, BackgroundTransparency=, Size=.(,,,), BackgroundColor3=.(,,)})
refillEndBox=(,refillEnd,{Name=, TextWrapped=, Size=.(,,,), Text=(settings.refill_end), TextSize=, TextColor3=.(),
Font=, Position=.(,,,), TextScaled=, BackgroundColor3=.(,,)})
Label_3=(,refillEnd,{TextWrapped=, Size=.(,,,), Text=, TextSize=, TextXAlignment=, Font=,
BackgroundTransparency=, TextColor3=.(,,), TextScaled=, BackgroundColor3=.(,,)})
refillAt=(,settings_1,{Name=, LayoutOrder=, BackgroundTransparency=, Size=.(,,,), BackgroundColor3=.(,,)})
Label_4=(,refillAt,{TextWrapped=, Size=.(,,,), Text=, TextSize=, TextXAlignment=, Font=,
BackgroundTransparency=, TextColor3=.(,,), TextScaled=, BackgroundColor3=.(,,)})
refillAtBox=(,refillAt,{Name=, TextWrapped=, Size=.(,,,), Text=(settings.refill_at), TextSize=, TextColor3=.(),
Font=, Position=.(,,,), TextScaled=, BackgroundColor3=.(,,)})
supplier=(,settings_1,{Name=, LayoutOrder=, BackgroundTransparency=, Size=.(,,,), BackgroundColor3=.(,,)})
Label_5=(,supplier,{TextWrapped=, Size=.(,,,), Text=, TextSize=, TextXAlignment=, Font=,
BackgroundTransparency=, Position=.(,,,), TextColor3=.(,,), TextScaled=, BackgroundColor3=.(,,)})
supplierBtn=(,supplier,{Name=, ImageTransparency=, BorderSizePixel=, Size=.(,,,), BackgroundColor3=.(,,)})
supplierSlider=(,supplierBtn,{Name=, Size=.(,-,,-), Position=.(doSupplier ,,,), BorderSizePixel=, BackgroundColor3=.(,,)})
delivery=(,settings_1,{Name=, LayoutOrder=, BackgroundTransparency=, Size=.(,,,), BackgroundColor3=.(,,)})
Label_6=(,delivery,{TextWrapped=, Size=.(,,,), Text=, TextSize=, TextXAlignment=, Font=,
BackgroundTransparency=, Position=.(,,,), TextColor3=.(,,), TextScaled=, BackgroundColor3=.(,,)})
deliveryBtn=(,delivery,{Name=, ImageTransparency=, BorderSizePixel=, Size=.(,,,), BackgroundColor3=.(,,)})
deliverySlider=(,deliveryBtn,{Name=, Size=.(,-,,-), Position=.(doDelivery ,,,), BorderSizePixel=, BackgroundColor3=.(,,)})
boxer=(,settings_1,{Name=, LayoutOrder=, BackgroundTransparency=, Size=.(,,,), BackgroundColor3=.(,,)})
boxerLbl=(,boxer,{TextWrapped=, Size=.(,,,), Text=, TextSize=, TextXAlignment=, Font=,
BackgroundTransparency=, Position=.(,,,), TextColor3=.(,,), TextScaled=, BackgroundColor3=.(,,)})
boxerBtn=(,boxer,{Name=, ImageTransparency=, BorderSizePixel=, Size=.(,,,), BackgroundColor3=.(,,)})
boxerSlider=(,boxerBtn,{Name=, Size=.(,-,,-), Position=.(doBoxer ,,,), BorderSizePixel=, BackgroundColor3=.(,,)})
cook=(,settings_1,{Name=, LayoutOrder=, BackgroundTransparency=, Size=.(,,,), BackgroundColor3=.(,,)})
cookLbl=(,cook,{TextWrapped=, Size=.(,,,), Text=, TextSize=, TextXAlignment=, Font=,
BackgroundTransparency=, Position=.(,,,), TextColor3=.(,,), TextScaled=, BackgroundColor3=.(,,)})
cookBtn=(,cook,{Name=, ImageTransparency=, BorderSizePixel=, Size=.(,,,), BackgroundColor3=.(,,)})
cookSlider=(,cookBtn,{Name=, Size=.(,-,,-), Position=.(doCook ,,,), BorderSizePixel=, BackgroundColor3=.(,,)})
toggleAll=(,settings_1,{Name=, LayoutOrder=, BackgroundTransparency=, Size=.(,,,), BackgroundColor3=.(,,)})
switch=(,toggleAll,{Name=, BackgroundTransparency=, Size=.(,,,), BackgroundColor3=.(,,)})
allOffBtn=(,switch,{Name=, ImageTransparency=, BorderSizePixel=, Size=.(,,,), BackgroundColor3=.(,,)})
allOnBtn=(,switch,{Name=, ImageTransparency=, BorderSizePixel=, Size=.(,,,), Position=.(,,,), BackgroundColor3=.(,,)})
toggleAllSlider=(,switch,{Name=, Size=.(,,,), Position=.(,,,-), BorderSizePixel=, BackgroundColor3=.(,,)})
messageLbl=(,topbar,{Name=, Size=.(,,,), Text=, TextSize=, Font=, BackgroundTransparency=,
Position=.(,,,), TextColor3=.(,,), Visible=, TextXAlignment=})
camframe=(,gui,{Name=, BackgroundTransparency=, Size=.(,,,), Position=.(,-,,-), BackgroundColor3=.(,,)})
rightCamBtn=(,camframe,{Name=, Image=, Size=.(,,,), Rotation=, Position=.(,,,), BackgroundTransparency=,
BackgroundColor3=.(,,)})
leftCamBtn=(,camframe,{Name=, Image=, Size=.(,,,), BackgroundTransparency=, BackgroundColor3=.(,,)})
centerCamBtn=(,camframe,{Name=, Image=, Size=.(,,,), Position=.(,,,), BackgroundTransparency=, BackgroundColor3=.(,,)})
creditLbl=(,main,{Position=.(,,,),Size=.(,,,),BackgroundTransparency=,TextColor3=.(,,),Text=,TextScaled=,TextStrokeTransparency=})
(bool)
bool~=
doCashier=bool
doCashier = doCashier
cashierSlider:(.(doCashier ,,,),,,,)
(bool)
bool~=
doCook=bool
doCook = doCook
cookSlider:(.(doCook ,,,),,,,)
(bool)
bool~=
doBoxer=bool
doBoxer = doBoxer
boxerSlider:(.(doBoxer ,,,),,,,)
(bool)
bool~=
doDelivery=bool
doDelivery = doDelivery
deliverySlider:(.(doDelivery ,,,),,,,)
(bool)
bool~=
doSupplier=bool
doSupplier = doSupplier
supplierSlider:(.(doSupplier ,,,),,,,)
cashierBtn.MouseButton1Click:(toggleCashier)
cookBtn.MouseButton1Click:(toggleCook)
boxerBtn.MouseButton1Click:(toggleBoxer)
deliveryBtn.MouseButton1Click:(toggleDelivery)
supplierBtn.MouseButton1Click:(toggleSupplier)
allOffBtn.InputBegan:(()
:():(.UserInputType.MouseButton1)
()
()
()
()
()
toggleAllSlider:(.(,,,-),,,,)
()
toggleAllSlider.Position.X.Scale<
toggleAllSlider:(.(,,,-),,,,)
)
allOnBtn.InputBegan:(()
:():(.UserInputType.MouseButton1)
()
()
()
()
()
toggleAllSlider:(.(,,,-),,,,)
()
toggleAllSlider.Position.X.Scale>
toggleAllSlider:(.(,,,-),,,,)
)
kitchenBtn.MouseButton1Click:(()
settings.stay_in_kitchen = settings.stay_in_kitchen
kitchenBtn.Text = settings.stay_in_kitchen
)
oldRefillAt=refillAtBox.Text
refillAtBox:():(()
#refillAtBox.Text> refillAtBox.Text:()
refillAtBox.Text = oldRefillAt
oldRefillAt = refillAtBox.Text
)
refillAtBox.FocusLost:(()
(refillAtBox.Text)
settings.refill_at=(refillAtBox.Text)
refillAtBox.Text=(settings.refill_at)
)
oldRefillEnd=refillEndBox.Text
refillEndBox:():(()
#refillEndBox.Text> refillEndBox.Text:()
refillEndBox.Text = oldRefillEnd
oldRefillEnd = refillEndBox.Text
)
refillEndBox.FocusLost:(()
(refillEndBox.Text)
settings.refill_end=(refillEndBox.Text)
refillEndBox.Text=(settings.refill_end)
)
closeBtn.MouseButton1Click:(() gui:() )
closeBtn.MouseEnter:(() closeBtn.TextColor3=.(,,) )
closeBtn.MouseLeave:(() closeBtn.TextColor3=.(,,) )
saveBtn.MouseButton1Click:(()
writefile messageLbl.Visible==
(,:():(settings))
messageLbl.Visible=
()
messageLbl.Visible=
)
cameraArray = {.(,,,,,-,-,,,,-,),.(,,,-,,-,-,,,,,-),.(,,-,-,-,,-,,,-,,-),.(,,-,-,,-,,,,,,-),.(,,,,,-,-,,,,-,)}
cameraIndex =
centerCamBtn.MouseButton1Click:(()
cameraIndex =
.CurrentCamera.CameraType =
)
leftCamBtn.MouseButton1Click:(()
cameraIndex = cameraIndex -
cameraIndex <
cameraIndex = #cameraArray
cameraIndex ==
.CurrentCamera.CameraType=
cf = cameraArray[cameraIndex]
.CurrentCamera.CameraType=
.CurrentCamera:(cf,cf+cf.lookVector*,)
)
rightCamBtn.MouseButton1Click:(()
cameraIndex = cameraIndex +
cameraIndex > #cameraArray
cameraIndex =
.CurrentCamera.CameraType=
cf = cameraArray[cameraIndex]
.CurrentCamera.CameraType=
.CurrentCamera:(cf,cf+cf.lookVector*,)
)
supplyCounts = {TomatoSauce=,Cheese=,Sausage=,Pepperoni=,Dough=,Box=,Dew=}
name (supplyCounts)
lbl = .SupplyCounters[name== ..name].a.SG.Counter
supplyCounts[name]=(lbl.Text)
lbl.Changed:(()
supplyCounts[name]=(lbl.Text)
)
()
children = .Customers:()
i=,#children
c = children[i]
(c,) (c,) c.Head.CFrame.Z< (c.Head,) (c.Head.Dialog,) ((c.Humanoid.SeatPart c.Humanoid.SeatPart.Anchored) (c.Humanoid.SeatPart== (c.Head.Velocity.Z^)^<))
c
boxPtick=
boxDtick=
()
c,o,f
children = .AllBox:()
i=,#children
b = children[i]
(b,) (b,)
c== b.Name== b.Anchored== b.HasPizzaInside.Value
c=b
o== b.Name== b.Anchored== b.Pizza.Value
o=b
f== (b.Name== b.Pizza.Value) (b.Name== b.HasPizzaInside.Value)
f=b
c o f
c,o,f
c,o,f
()
p,d
children = .BoxingRoom:()
i=,#children
f = children[i]
f.Anchored
p== f.Name==
p=f
d== f.Name==
d=f
p d
p,d
p,d
orderDict={[]=,[]=,[]=,[]=,[]=}
cookingDict = {Cheese=,Sausage=,Pepperoni=,Dew=}
cookPtick=
cookDtick=
cookWarned=
boxerWarned=
()
orders={}
tempCookingDict = {}
i,v (cookingDict) tempCookingDict[i]=v
children = .Orders:()
i=,#children
o = orderDict[children[i].SG.ImageLabel.Image:()]
o
tempCookingDict[o]>
tempCookingDict[o]=tempCookingDict[o]-
(o== #.AllMountainDew:()>) (supplyCounts[o]> supplyCounts.TomatoSauce> supplyCounts.Cheese>)
orders[#orders+]=o
orders
()
children = .AllMountainDew:()
i=,#children
children[i].Anchored
children[i]
(str)
goodraw,p,raw,trash
children = .AllDough:()
i = #children, , -
j = RNG:(, i)
children[j], children[i] = children[i], children[j]
i=,#children
d = children[i]
d.Anchored== #d:()>
d.IsBurned.Value d.HasBugs.Value d.Cold.Value (d.BrickColor.Name== (d,))
trash== d.Position.Y >
trash=d
p== d.BrickColor.Name==
p=d
goodraw== d.Position.X< d.BrickColor.Name== ((str (d.SG.Frame,str)) (str== (d.SG.Frame,)== (d.SG.Frame,)==))
d.Mesh.Scale.Y<
goodraw=d
raw=d
goodraw p trash
goodraw,p,trash
goodraw raw,p,trash
(pos)
children = .Ovens:()
i=,#children
(children[i].Bottom.Position-pos).magnitude <
children[i]
(pos)
children = .AllDough:()
i=,#children
(children[i].Position-pos).magnitude <
children[i]
(oven)
oven.IsOpen.Value== (oven.Door.Meter.RotVelocity.Z^)^<
bcolorToSupply = {[]=,[]=,[]=,[]=,[]=,[]=,[]=,[]=}
supplyButtons = {}
_,button (.SupplyButtons:())
supplyButtons[bcolorToSupply[button.Unpressed.BrickColor.Name]] = button.Unpressed
delTool
()
t
children = :()
i=,#children
v = children[i]
v.ClassName== v.Name:() (v,) (v,) (v,) v.Order.Value:()
(v.Handle,)
v
t = v
t
(address)
houses = .Houses:()
i=,#houses
h = houses[i]
(h,) h.Address.Value==address (h,) h.Upgrades:()[] (h.Upgrades:()[],)
h.Upgrades:()[].GivePizza
delTouched=
()
delTool
delTool.Parent==player.Backpack
delTool.Parent = character
delTool.Parent==character
()
delTool.Parent =
()
delTool=
delTouched=
(character,) (character.RightHand,)
character.RightHand.RightGrip:()
(char)
char
character=char
root = character:()
character:():():(()
delTool
character.Humanoid.WalkSpeed=
)
(player.Character player.CharacterAdded:())
player.CharacterAdded:(onCharacterAdded)
(part)
oldcc = part.CanCollide
oldcf = part.CFrame
part.CanCollide =
part.CFrame = root.CFrame
(,()
part.CFrame = oldcf
part.CanCollide = oldcc
)
gui.Parent
()
hum = character:()
hum hum.Sit hum.Jump =
doCashier
c = ()
c
dialog = c.Head.Dialog.Correct.ResponseDialog
rootMoved =
(root.Position-.(, , )).magnitude> rootMoved = root.CFrame = .(, , ) ()
order =
dialog:(-)==
dialog = dialog:(-)
dialog:(,,)
order =
dialog:(,,)
order =
dialog:(,,)
order =
network:(, c, order, .Register3)
rootMoved ()
doCook
order = ()[]
topping
order== order== topping=order
cookD = ()
raw,cookP,trash
topping
raw,cookP,trash = (topping== )
raw,cookP,trash = ()
rootMoved =
ovens = .Ovens:()
i = #ovens, , -
j = RNG:(, i)
ovens[j], ovens[i] = ovens[i], ovens[j]
cookP ()-cookPtick>
oven = (cookP.Position)
oven== oven.IsOpen.Value
cookPtick=()
(root.Position-.(, , )).magnitude> rootMoved = root.CFrame = .(, , ) ()
network:(, cookP, , .(,,))
order
order== cookD ()-cookDtick>
cookDtick=()
(root.Position-.(, , )).magnitude> rootMoved = root.CFrame = .(, , ) ()
network:(, cookD, , .(,,))
order~= raw raw.Parent supplyCounts[order]> supplyCounts.TomatoSauce> supplyCounts.Cheese>
raw.Mesh.Scale.Y>
(root.Position-.(, , )).magnitude> rootMoved = root.CFrame = .(, , ) ()
network:(, raw, , .(RNG:(,),,RNG:(,)))
()
network:(, raw)
oven
_,o (ovens)
(o)
other = (o.Bottom.Position)
other== (other.BrickColor.Name== (other.SG.Frame,) (other.SG.Frame,))
other
(root.Position-.(, , )).magnitude> rootMoved = root.CFrame = .(, , ) ()
network:(, other, , .(RNG:(,),,RNG:(,)))
()
oven=o
oven raw.Parent==.AllDough
(root.Position-.(, , )).magnitude> rootMoved = root.CFrame = .(, , ) ()
network:(, raw,)
network:(, raw,)
network:(, raw,topping)
network:(, raw, , oven.Bottom.CFrame+.(,,))
oven.Door.ClickDetector.Detector:()
cookingDict[order]=cookingDict[order]+
revoked=
(()
raw.AncestryChanged:()
revoked
cookingDict[order]=cookingDict[order]-
revoked=
)
(, ()
revoked
cookingDict[order]=cookingDict[order]-
revoked=
)
_,o (ovens)
bar = o.Door.Meter.SurfaceGui.ProgressBar.Bar
o.IsOpen.Value== (o.IsCooking.Value== (.(bar.ImageColor3.r,bar.ImageColor3.g,bar.ImageColor3.b)-.(,,)).magnitude>)
(root.Position-.(, , )).magnitude> rootMoved = root.CFrame = .(, , ) ()
o.Door.ClickDetector.Detector:()
trash (trash.IsBurned.Value== (trash.Position)== (trash.Position).IsOpen.Value)
(root.Position-.(, , )).magnitude> rootMoved = root.CFrame = .(, , ) ()
network:(, trash, , .(,RNG:(-,-),))
rootMoved ()
doBoxer
boxP,boxD = ()
closedBox,openBox,fullBox = ()
rootMoved =
boxD ()-boxDtick>
boxDtick=()
(root.Position-.(, , )).magnitude> rootMoved = root.CFrame = .(, , ) ()
network:(, boxD, , .(,,-,-,,,,,,,,-))
fullBox
fullBox.Name==
(root.Position-.(, , )).magnitude> rootMoved = root.CFrame = .(, , ) ()
network:(, fullBox)
()-boxPtick>
(root.Position-.(, , )).magnitude> rootMoved = root.CFrame = .(, , ) ()
network:(, fullBox, , .(,,-,-,,,,,,,,-))
boxPtick=()
closedBox openBox
(root.Position-.(, , )).magnitude> rootMoved = root.CFrame = .(, , ) ()
network:(, closedBox, , .(RNG:(,),,RNG:(,)))
()
network:(, closedBox)
openBox boxP
(root.Position-.(, , )).magnitude> rootMoved = root.CFrame = .(, , ) ()
network:(, boxP, , )
network:(, openBox, , )
()
network:(, boxP, , openBox.CFrame+.(,-,))
()
network:(, openBox, boxP)
rootMoved ()
doSupplier
refill=
s,c (supplyCounts)
c <= settings.refill_at
refill=
refill
oldcf = root.CFrame
alt=
waiting =
waitingTick =
lastBox
doSupplier
fulfilled=
boxes = .AllSupplyBoxes:()
s,c (supplyCounts)
c<settings.refill_end
fulfilled=
count =
#boxes >
i=,#boxes
box = boxes[i]
bcolorToSupply[box.BrickColor.Name]==s box.Anchored== box.Position.Z < -
count=count+
count <
(supplyButtons[s])
fulfilled
()
waiting (lastBox.Position.X> ()-waitingTick>)
waiting=
lastBox.Position.X<
root.CFrame=.(,,-)
()
boxes = .AllSupplyBoxes:()
i=,#boxes
box = boxes[i]
box.Anchored== box.Position.Z>-
network:(, box, , .(RNG:(,),RNG:(-,-),-))
()
()
waiting
root.CFrame=.(,,-)
()
alt=-alt
lastBox=
j=
boxes = .AllSupplyBoxes:()
i=,#boxes
box = boxes[i]
box.Anchored== box.Position.Z < - bcolorToSupply[box.BrickColor.Name] supplyCounts[bcolorToSupply[box.BrickColor.Name]]<settings.refill_end
box.CFrame = .(-*j,,--*alt)
network:(, box, , box.CFrame)
lastBox=box
j=j+
j>
alt== lastBox
waiting=
waitingTick=()
root.CFrame=oldcf
doDelivery
del = ()
delTool== del
delTool=del
(root.Position-delTool.Handle.Position).magnitude>
root.CFrame = .(delTool.Handle.Position+.(,,-))
delTool.Handle.CanCollide=
delTool.Handle.CFrame = root.CFrame
()
(,forgetDeliveryTool)
delTool delTool.Parent==character delTouched==
housePart = (delTool.Name)
housePart
delTouched=
root.CFrame = housePart.CFrame+.(,,)
()
This Script helps you to automatically finish the tasks provided by the game. Made by sireKilla

馃崟Work at a Pizza Place