Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CreateGui=function()local b=Instance.new("ScreenGui")
- b.Parent=game.Players.LocalPlayer.PlayerGui;local c=Instance.new("Frame")c.Active=true
- c.BorderColor3=Color3.new(0.117647,0.117647,0.117647)c.BorderSizePixel=0;c.Name="Holder"
- c.Position=UDim2.new(0.0685640275,0,0.219626158,0)c.Selectable=true;c.Size=UDim2.new(0,298,0,328)c.Draggable=true
- c.Parent=b;c.BackgroundColor3=Color3.new(255,255,255)c.Visible = false
- local d=Instance.new("Frame")d.BackgroundColor3=Color3.new(0.32549,0.529412,1)
- d.BorderSizePixel=0;d.Name="Details"d.Size=UDim2.new(0,298,0,29)d.Parent=c
- local _a=Instance.new("TextLabel")_a.BackgroundColor3=Color3.new(0.32549,0.529412,1)
- _a.BorderColor3=Color3.new(0.235294,0.87451,1)_a.BorderSizePixel=4;_a.Name="Title"
- _a.Position=UDim2.new(0.164429531,0,0.167682931,0)_a.Size=UDim2.new(0,198,0,36)
- _a.Font=Enum.Font.SourceSansBold;_a.FontSize=Enum.FontSize.Size14;_a.Text="BLOXBURG GUI"
- _a.TextColor3=Color3.new(1,1,1)_a.TextScaled=true;_a.TextWrapped=true;_a.Parent=c
- local aa=Instance.new("Frame")aa.BackgroundColor3=Color3.new(0.235294,0.87451,1)
- aa.BorderSizePixel=0;aa.Name="Details"aa.Position=UDim2.new(0,0,0.0884146318,0)
- aa.Size=UDim2.new(0,298,0,6)aa.Parent=c;local ba=Instance.new("TextBox")
- ba.BackgroundColor3=Color3.new(0.32549,0.529412,1)ba.BorderColor3=Color3.new(0.235294,0.87451,1)
- ba.BorderSizePixel=4;ba.Name="User"
- ba.Position=UDim2.new(0.164429531,0,0.414634138,0)ba.Size=UDim2.new(0,200,0,24)
- ba.Font=Enum.Font.SourceSansBold;ba.FontSize=Enum.FontSize.Size14;ba.Text="Username"
- ba.TextColor3=Color3.new(1,1,1)ba.TextScaled=true;ba.TextWrapped=true
- ba.TextXAlignment=Enum.TextXAlignment.Left;ba.Parent=c;local ca=Instance.new("TextBox")
- ca.BackgroundColor3=Color3.new(0.32549,0.529412,1)ca.BorderColor3=Color3.new(0.235294,0.87451,1)
- ca.BorderSizePixel=4;ca.Name="Pass"
- ca.Position=UDim2.new(0.164429531,0,0.579268336,0)ca.Size=UDim2.new(0,200,0,24)
- ca.Font=Enum.Font.SourceSansBold;ca.FontSize=Enum.FontSize.Size14;ca.Text="Key"
- ca.TextColor3=Color3.new(1,1,1)ca.TextScaled=true;ca.TextWrapped=true
- ca.TextXAlignment=Enum.TextXAlignment.Left;ca.Parent=c;local da=Instance.new("TextButton")da.Active=true
- da.BackgroundColor3=Color3.new(0.32549,0.529412,1)da.BorderColor3=Color3.new(0.235294,0.87451,1)
- da.BorderSizePixel=4;da.Name="Login"da.Position=UDim2.new(0.28859058,0,0.75,0)
- da.Selectable=true;da.Size=UDim2.new(0,124,0,38)
- da.Style=Enum.ButtonStyle.Custom;da.Font=Enum.Font.SourceSansBold
- da.FontSize=Enum.FontSize.Size32;da.Text="Login"da.TextColor3=Color3.new(1,1,1)
- da.TextWrapped=true;da.Parent=c;local _b=Instance.new("TextLabel")
- _b.BackgroundColor3=Color3.new(0.32549,0.529412,1)_b.BorderColor3=Color3.new(0.235294,0.87451,1)
- _b.BorderSizePixel=4;_b.Name="Title"
- _b.Position=UDim2.new(0.164429531,0,0.167682931,0)_b.Size=UDim2.new(0,198,0,36)
- _b.Font=Enum.Font.SourceSansBold;_b.FontSize=Enum.FontSize.Size14;_b.Text="BLOXBURG GUI"
- _b.TextColor3=Color3.new(1,1,1)_b.TextScaled=true;_b.TextWrapped=true;_b.Parent=c
- local ab=Instance.new("Frame")ab.Active=true;ab.BorderSizePixel=0
- ab.Position=UDim2.new(0.37512055,0,0.219626173,0)ab.Size=UDim2.new(0,608,0,334)ab.Draggable=true;ab.Parent=b
- ab.BackgroundColor3=Color3.new(255,255,255)ab.Visible=true;local bb=Instance.new("TextButton")
- bb.Active=true;bb.BackgroundColor3=Color3.new(0.32549,0.529412,1)
- bb.BorderColor3=Color3.new(0.235294,0.87451,1)bb.BorderSizePixel=4;bb.Name="IceCreamSeller"
- bb.Position=UDim2.new(0.0447290093,0,0.246951222,0)bb.Selectable=true;bb.Size=UDim2.new(0,145,0,61)
- bb.Style=Enum.ButtonStyle.Custom;bb.Font=Enum.Font.SourceSansBold
- bb.FontSize=Enum.FontSize.Size32;bb.Text="Ice Cream Seller"bb.TextColor3=Color3.new(1,1,1)
- bb.TextWrapped=true;bb.Parent=ab;bb.TextSize=30;local cb=Instance.new("TextButton")
- cb.Active=true;cb.BackgroundColor3=Color3.new(0.32549,0.529412,1)
- cb.BorderColor3=Color3.new(0.235294,0.87451,1)cb.BorderSizePixel=4;cb.Name="PizzaBaker"
- cb.Position=UDim2.new(0.043906644,0,0.579268336,0)cb.Selectable=true;cb.Size=UDim2.new(0,145,0,62)
- cb.Style=Enum.ButtonStyle.Custom;cb.Font=Enum.Font.SourceSansBold
- cb.FontSize=Enum.FontSize.Size32;cb.Text="Pizza Baker"cb.TextColor3=Color3.new(1,1,1)
- cb.TextWrapped=true;cb.Parent=ab;cb.TextSize=30;local db=Instance.new("TextButton")
- db.Active=true;db.BackgroundColor3=Color3.new(0.32549,0.529412,1)
- db.BorderColor3=Color3.new(0.235294,0.87451,1)db.BorderSizePixel=4;db.Name="FixiceCream"
- db.Position=UDim2.new(0.414301395,0,0.246951222,0)db.Selectable=true;db.Size=UDim2.new(0,145,0,61)
- db.Style=Enum.ButtonStyle.Custom;db.Font=Enum.Font.SourceSansBold
- db.FontSize=Enum.FontSize.Size32;db.Text="Fix Ice Cream Seller"db.TextColor3=Color3.new(1,1,1)
- db.TextWrapped=true;db.Parent=ab;db.TextSize=30;local _c=Instance.new("TextButton")
- _c.Active=true;_c.BackgroundColor3=Color3.new(0.32549,0.529412,1)
- _c.BorderColor3=Color3.new(0.235294,0.87451,1)_c.BorderSizePixel=4;_c.Name="AFKFARM"
- _c.Position=UDim2.new(0.414301395,0,0.579268336,0)_c.Selectable=true;_c.Size=UDim2.new(0,145,0,62)
- _c.Style=Enum.ButtonStyle.Custom;_c.Font=Enum.Font.SourceSansBold
- _c.FontSize=Enum.FontSize.Size32;_c.Text="AFK FARM"_c.TextColor3=Color3.new(1,1,1)
- _c.TextWrapped=true;_c.Parent=ab;_c.TextSize=30;local ac=Instance.new("TextLabel")
- ac.BackgroundTransparency=1;ac.Name="Madeby"
- ac.Position=UDim2.new(-0.0456296988,0,0.905433059,0)ac.Size=UDim2.new(0,200,0,42)
- ac.Font=Enum.Font.SourceSansBold;ac.FontSize=Enum.FontSize.Size18;ac.Text="Made by Aa#6530"
- ac.TextColor3=Color3.new(0.32549,0.529412,1)ac.TextStrokeColor3=Color3.new(0.235294,0.87451,1)
- ac.TextStrokeTransparency=0;ac.TextWrapped=true;ac.Parent=ab;ac.TextSize=15
- local bc=Instance.new("TextButton")bc.Active=true;bc.BackgroundTransparency=1
- bc.Position=UDim2.new(0.970394731,0,0,0)bc.Selectable=true;bc.Size=UDim2.new(0,18,0,20)
- bc.Style=Enum.ButtonStyle.Custom;bc.Font=Enum.Font.SourceSansBold
- bc.FontSize=Enum.FontSize.Size24;bc.Text="X"bc.TextColor3=Color3.new(1,1,1)bc.TextWrapped=true
- bc.Parent=ab;local cc=Instance.new("ScrollingFrame")
- cc.BackgroundColor3=Color3.new(0.32549,0.529412,1)cc.BorderColor3=Color3.new(0.235294,0.87451,1)
- cc.BorderSizePixel=4;cc.Position=UDim2.new(0.712171078,0,0.185975611,0)
- cc.Selectable=true;cc.Size=UDim2.new(0,169,0,267)
- cc.CanvasSize=UDim2.new(0,0,1,0)cc.ScrollBarThickness=10;cc.ClipsDescendants=true;cc.Parent=ab
- local dc=Instance.new("TextLabel")dc.BackgroundTransparency=1;dc.Name="NewsTitle"
- dc.Position=UDim2.new(-0.00277331658,0,0.00100000016,0)dc.Size=UDim2.new(0,157,0,50)
- dc.Font=Enum.Font.SourceSansBold;dc.FontSize=Enum.FontSize.Size14;dc.Text="News"
- dc.TextColor3=Color3.new(1,1,1)dc.TextScaled=true
- dc.TextStrokeColor3=Color3.new(0.235294,0.87451,1)dc.TextStrokeTransparency=0;dc.TextWrapped=true;dc.Parent=cc
- local _d=Instance.new("Frame")_d.BorderColor3=Color3.new(0.235294,0.87451,1)
- _d.BorderSizePixel=3;_d.Name="Underline"
- _d.Position=UDim2.new(0.124982387,0,0.153558046,0)_d.Size=UDim2.new(0,117,0,9)_d.Parent=cc
- _d.BackgroundColor3=Color3.new(255,255,255)local ad=Instance.new("TextLabel")ad.BackgroundTransparency=1
- ad.Name="News"ad.Position=UDim2.new(0.020833334,0,0.228464425,0)
- ad.Size=UDim2.new(0,150,0,228)ad.Font=Enum.Font.SourceSansBold
- ad.FontSize=Enum.FontSize.Size14
- ad.Text="Updates for today is the new news log bringing every new update right onto the gui! expect more updates to the gui coming soon also a more secure whitelist has been put into the gui!"ad.TextColor3=Color3.new(1,1,1)ad.TextScaled=true
- ad.TextStrokeColor3=Color3.new(0.235294,0.87451,1)ad.TextStrokeTransparency=0;ad.TextWrapped=true;ad.Parent=cc
- local bd=Instance.new("TextLabel")bd.BorderColor3=Color3.new(0.333333,1,1)bd.BorderSizePixel=4
- bd.Name="Notify"bd.Position=UDim2.new(0.371710539,0,0.880239546,0)
- bd.Size=UDim2.new(0,191,0,35)bd.Font=Enum.Font.SourceSansBold
- bd.FontSize=Enum.FontSize.Size14;bd.Text=""bd.TextColor3=Color3.new(1,1,1)bd.TextScaled=true
- bd.TextStrokeColor3=Color3.new(0.32549,0.529412,1)bd.TextStrokeTransparency=0;bd.TextWrapped=true;bd.Parent=ab
- bd.BackgroundColor3=Color3.new(255,255,255)local cd=Instance.new("Frame")
- cd.BackgroundColor3=Color3.new(0.32549,0.529412,1)cd.BorderSizePixel=0;cd.Name="Top"cd.Selectable=true
- cd.Size=UDim2.new(0,608,0,42)cd.Parent=ab;local dd=Instance.new("Frame")dd.BorderSizePixel=0
- dd.Position=UDim2.new(0,0,1.14285719,0)dd.Size=UDim2.new(0,608,0,6)dd.Parent=cd
- dd.BackgroundColor3=Color3.new(255,255,255)local __a=Instance.new("Frame")
- __a.BackgroundColor3=Color3.new(0.235294,0.87451,1)__a.BorderSizePixel=0;__a.Name="Bottom"
- __a.Position=UDim2.new(0,0,1,0)__a.Size=UDim2.new(0,608,0,6)__a.Parent=cd
- local a_a=Instance.new("TextLabel")a_a.BackgroundTransparency=1;a_a.Size=UDim2.new(0,200,0,42)
- a_a.Font=Enum.Font.SourceSansBold;a_a.FontSize=Enum.FontSize.Size32;a_a.Text="BLOXBURG GUI"
- a_a.TextColor3=Color3.new(1,1,1)a_a.TextScaled=true;a_a.TextStrokeColor3=Color3.new(1,1,1)
- a_a.TextWrapped=true;a_a.Parent=cd;local b_a=Instance.new("TextButton")
- b_a.Active=true;b_a.BackgroundColor3=Color3.new(0.32549,0.529412,1)
- b_a.BorderColor3=Color3.new(0.235294,0.87451,1)b_a.BorderSizePixel=5;b_a.Name="Themes"
- b_a.Position=UDim2.new(0.372000009,0,0.163857147,0)b_a.Selectable=true;b_a.Size=UDim2.new(0,128,0,35)
- b_a.Style=Enum.ButtonStyle.Custom;b_a.Font=Enum.Font.SourceSansBold
- b_a.FontSize=Enum.FontSize.Size14;b_a.Text="Themes"b_a.TextColor3=Color3.new(1,1,1)
- b_a.TextScaled=true;b_a.TextWrapped=true;b_a.Parent=cd
- local c_a=Instance.new("TextButton")c_a.Active=true
- c_a.BackgroundColor3=Color3.new(0.32549,0.529412,1)c_a.BorderColor3=Color3.new(0.235294,0.87451,1)
- c_a.BorderSizePixel=5;c_a.Name="Back"
- c_a.Position=UDim2.new(0.372000009,0,0.163857147,0)c_a.Selectable=true;c_a.Size=UDim2.new(0,128,0,35)
- c_a.Style=Enum.ButtonStyle.Custom;c_a.Visible=false;c_a.Font=Enum.Font.SourceSansBold
- c_a.FontSize=Enum.FontSize.Size14;c_a.Text="Close Themes"c_a.TextColor3=Color3.new(1,1,1)
- c_a.TextScaled=true;c_a.TextWrapped=true;c_a.Parent=cd;local d_a=Instance.new("Frame")
- d_a.BorderSizePixel=0;d_a.Name="Themes"
- d_a.Position=UDim2.new(0,0,-0.317365259,0)d_a.Size=UDim2.new(0,608,0,106)d_a.Visible=false;d_a.Parent=ab
- d_a.BackgroundColor3=Color3.new(255,255,255)local _aa=Instance.new("TextButton")_aa.Active=true
- _aa.BackgroundColor3=Color3.new(0.32549,0.529412,1)_aa.BorderColor3=Color3.new(0.235294,0.87451,1)
- _aa.BorderSizePixel=4;_aa.Name="Default"
- _aa.Position=UDim2.new(0.0180921052,0,0.419783056,0)_aa.Selectable=true;_aa.Size=UDim2.new(0,105,0,40)
- _aa.Style=Enum.ButtonStyle.Custom;_aa.Font=Enum.Font.SourceSansBold
- _aa.FontSize=Enum.FontSize.Size32;_aa.Text="Default"_aa.TextColor3=Color3.new(1,1,1)
- _aa.TextWrapped=true;_aa.Parent=d_a;local aaa=Instance.new("TextButton")
- aaa.Active=true;aaa.BackgroundColor3=Color3.new(0.32549,0.529412,1)
- aaa.BorderColor3=Color3.new(0.235294,0.87451,1)aaa.BorderSizePixel=4;aaa.Name="Green"
- aaa.Position=UDim2.new(0.282072365,0,0.419783056,0)aaa.Selectable=true;aaa.Size=UDim2.new(0,105,0,40)
- aaa.Style=Enum.ButtonStyle.Custom;aaa.Font=Enum.Font.SourceSansBold
- aaa.FontSize=Enum.FontSize.Size32;aaa.Text="Green"aaa.TextColor3=Color3.new(1,1,1)
- aaa.TextWrapped=true;aaa.Parent=d_a;local baa=Instance.new("TextButton")
- baa.Active=true;baa.BackgroundColor3=Color3.new(0.32549,0.529412,1)
- baa.BorderColor3=Color3.new(0.235294,0.87451,1)baa.BorderSizePixel=4;baa.Name="Orange"
- baa.Position=UDim2.new(0.538651347,0,0.419783056,0)baa.Selectable=true;baa.Size=UDim2.new(0,105,0,40)
- baa.Style=Enum.ButtonStyle.Custom;baa.Font=Enum.Font.SourceSansBold
- baa.FontSize=Enum.FontSize.Size32;baa.Text="Orange"baa.TextColor3=Color3.new(1,1,1)
- baa.TextWrapped=true;baa.Parent=d_a;local caa=Instance.new("TextButton")
- caa.Active=true;caa.BackgroundColor3=Color3.new(0.32549,0.529412,1)
- caa.BorderColor3=Color3.new(0.235294,0.87451,1)caa.BorderSizePixel=4;caa.Name="Pink"
- caa.Position=UDim2.new(0.806743443,0,0.419783056,0)caa.Selectable=true;caa.Size=UDim2.new(0,105,0,40)
- caa.Style=Enum.ButtonStyle.Custom;caa.Font=Enum.Font.SourceSansBold
- caa.FontSize=Enum.FontSize.Size32;caa.Text="Pink"caa.TextColor3=Color3.new(1,1,1)
- caa.TextWrapped=true;caa.Parent=d_a;local daa=Instance.new("Frame")
- daa.BackgroundColor3=Color3.new(0.235294,0.87451,1)daa.BorderSizePixel=0
- daa.Position=UDim2.new(0,0,0.149982423,0)daa.Size=UDim2.new(0,608,0,5)daa.Parent=d_a
- local _ba=Instance.new("Frame")_ba.BackgroundColor3=Color3.new(0.32549,0.529412,1)
- _ba.BorderSizePixel=0;_ba.Position=UDim2.new(0,0,-0.194723755,0)
- _ba.Size=UDim2.new(0,608,0,38)_ba.Parent=d_a;local aba=Instance.new("TextLabel")
- aba.BackgroundTransparency=1;aba.Size=UDim2.new(0,200,0,42)
- aba.Font=Enum.Font.SourceSansBold;aba.FontSize=Enum.FontSize.Size32;aba.Text="Themes"
- aba.TextColor3=Color3.new(1,1,1)aba.TextScaled=true;aba.TextStrokeColor3=Color3.new(1,1,1)
- aba.TextWrapped=true;aba.TextXAlignment=Enum.TextXAlignment.Left;aba.Parent=_ba
- local bba=Instance.new("TextButton")bba.Active=true
- bba.BackgroundColor3=Color3.new(0.32549,0.529412,1)bba.BorderColor3=Color3.new(0.235294,0.87451,1)
- bba.BorderSizePixel=5;bba.Name="Back"
- bba.Position=UDim2.new(0.372000009,0,0.163857147,0)bba.Selectable=true;bba.Size=UDim2.new(0,128,0,35)
- bba.Style=Enum.ButtonStyle.Custom;bba.Visible=false;bba.Font=Enum.Font.SourceSansBold
- bba.FontSize=Enum.FontSize.Size14;bba.Text="Close Themes"bba.TextColor3=Color3.new(1,1,1)
- bba.TextScaled=true;bba.TextWrapped=true;bba.Parent=_ba
- da.MouseButton1Click:Connect(function()
- if
- ba.Text=="Prestory"and ca.Text=="596-812-291"then
- if
- game.Players.LocalPlayer.Name=="Prestory"then ab.Visible=true;c.Visible=false else
- game.Players.LocalPlayer:Kick('If You Want To Purchase This Gui Contact Prestory#4732 If You Tryed Use A Leaked Login Nice Try')end end end)
- da.MouseButton1Click:Connect(function()
- if ba.Text=="Bannity"and
- ca.Text=="1904-2346-9213-1276-04"then
- if
- game.Players.LocalPlayer.Name=="CharlieClaydo2"then _b.Visible=true;c.Visible=false else
- game.Players.LocalPlayer:Kick('If You Want To Purchase This Gui Contact Prestory#4732 If You Tryed Use A Leaked Login Nice Try')end end end)
- da.MouseButton1Click:Connect(function()
- if ba.Text=="Effable"and
- ca.Text=="0912-43368-20192-0129-5961-23106"then
- if
- game.Players.LocalPlayer.Name=="Eff_able"then _b.Visible=true;c.Visible=false else
- game.Players.LocalPlayer:Kick('If You Want To Purchase This Gui Contact Prestory#4732 If You Tryed Use A Leaked Login Nice Try')end end end)
- da.MouseButton1Click:Connect(function()
- if ba.Text=="Anthro"and
- ca.Text=="6782-12960-10257-2421-21"then
- if
- game.Players.LocalPlayer.Name=="AyeAustinn"then _b.Visible=true;c.Visible=false else
- game.Players.LocalPlayer:Kick('If You Want To Purchase This Gui Contact Prestory#4732 If You Tryed Use A Leaked Login Nice Try')end end end)
- da.MouseButton1Click:Connect(function()
- if ba.Text=="Amidic"and
- ca.Text=="91204-12041-2031-5012-129"then
- if
- game.Players.LocalPlayer.Name=="amidic"then _b.Visible=true;c.Visible=false else
- game.Players.LocalPlayer:Kick('If You Want To Purchase This Gui Contact Prestory#4732 If You Tryed Use A Leaked Login Nice Try')end end end)
- da.MouseButton1Click:Connect(function()
- if ba.Text=="Holoshed"and
- ca.Text=="1205-126-237-81924-692234"then
- if
- game.Players.LocalPlayer.Name=="amamamr"then _b.Visible=true;c.Visible=false else
- game.Players.LocalPlayer:Kick('If You Want To Purchase This Gui Contact Prestory#4732 If You Tryed Use A Leaked Login Nice Try')end end end)
- da.MouseButton1Click:Connect(function()
- if ba.Text=="Holoshed"and
- ca.Text=="1205-126-237-81924-69223"then
- if
- game.Players.LocalPlayer.Name=="holoshed"then _b.Visible=true;c.Visible=false else
- game.Players.LocalPlayer:Kick('If You Want To Purchase This Gui Contact Prestory#4732 If You Tryed Use A Leaked Login Nice Try')end end end)
- da.MouseButton1Click:Connect(function()
- if ba.Text=="SkullFace_XD"and
- ca.Text=="12623-72036-239660-2396"then
- if
- game.Players.LocalPlayer.Name=="SkullFace_XD"then _b.Visible=true;c.Visible=false else
- game.Players.LocalPlayer:Kick('If You Want To Purchase This Gui Contact Prestory#4732 If You Tryed Use A Leaked Login Nice Try')end end end)
- bb.MouseButton1Click:Connect(function()
- function handle()
- game.ReplicatedStorage.DataEvent:FireServer({Type='TakeIceCreamCup'})wait(.1)
- local cba=game:GetService'Players'.LocalPlayer.Name;local dba={'Vanilla','Chocolate','Strawberry'}
- local _ca={'Sprinkles','Nuts','Caramel'}local aca;local bca=game.ReplicatedStorage.DataEvent
- local cca=function()
- for _da,ada in next,
- workspace.BensIceCream.CustomerTargets:GetChildren()do if ada.Occupied.Value~=nil then return ada end end end
- for _da,ada in next,workspace.SpawnedCharacters:GetChildren()do
- if
- ada.Name:find('BensIceCream')then local bda=ada;local cda=cca()
- if
- cda.Occupied.Value:FindFirstChild('Order')then aca={}for dda,__b in next,cda.Occupied.Value.Order:GetChildren()do
- table.insert(aca,__b.Value)end end end end
- local dca=function()
- if
- workspace[cba]:FindFirstChild('Ice Cream Cup'):WaitForChild'Ball1'.Transparency==1 then return
- workspace[cba]:FindFirstChild('Ice Cream Cup').Ball1 elseif
- workspace[cba]:FindFirstChild('Ice Cream Cup'):WaitForChild'Ball2'.Transparency==1 then return
- workspace[cba]:FindFirstChild('Ice Cream Cup').Ball2 end end
- table.foreach(dba,function(_da,ada)
- for bda,cda in next,aca do
- if ada:lower()==cda:lower()then local dda=dca()
- bca:FireServer({Type="AddIceCreamScoop",Taste=cda,Ball=dda})dda.Transparency=0 end end end)
- table.foreach(_ca,function(_da,ada)
- for bda,cda in next,aca do if ada:lower()==cda:lower()then
- bca:FireServer({Type="AddIceCreamTopping",Taste=ada})end end end)wait()
- for _da,ada in next,
- workspace.BensIceCream.CustomerTargets:GetChildren()do if ada.Occupied.Value~=nil then
- game.ReplicatedStorage.DataEvent:FireServer({Type='FinishOrder',Workstation=ada})end end end
- for cba,dba in next,
- workspace.BensIceCream.CustomerTargets:GetChildren()do
- dba.Occupied:GetPropertyChangedSignal('Value'):Connect(function()
- handle()end)end;wait()
- function handle()
- game.ReplicatedStorage.DataEvent:FireServer({Type='TakeIceCreamCup'})
- local cba=game:GetService'Players'.LocalPlayer.Name;local dba={'Vanilla','Chocolate','Strawberry'}
- local _ca={'Sprinkles','Nuts','Caramel'}local aca;local bca=game.ReplicatedStorage.DataEvent
- local cca=function()
- for dca,_da in next,
- workspace.BensIceCream.CustomerTargets:GetChildren()do if _da.Occupied.Value~=nil then return _da end end end
- for dca,_da in next,workspace.SpawnedCharacters:GetChildren()do
- if
- _da.Name:find('BensIceCream')then local bda=_da
- local cda=workspace.BensIceCream.CustomerTargets:GetChildren()
- do
- if
- cda:WaitForChild("Occupied").Value:FindFirstChild('Order')then aca={}for dda,__b in next,cda.Occupied.Value.Order:GetChildren()do
- table.insert(aca,__b.Value)end end end end
- local ada=function()
- if
- workspace[cba]:FindFirstChild('Ice Cream Cup'):WaitForChild'Ball1'.Transparency==1 then return
- workspace[cba]:FindFirstChild('Ice Cream Cup').Ball1 elseif
- workspace[cba]:FindFirstChild('Ice Cream Cup'):WaitForChild'Ball2'.Transparency==1 then return
- workspace[cba]:FindFirstChild('Ice Cream Cup').Ball2 end end
- table.foreach(dba,function(bda,cda)
- for dda,__b in next,aca do
- if cda:lower()==__b:lower()then local a_b=ada()
- bca:FireServer({Type="AddIceCreamScoop",Taste=__b,Ball=a_b})a_b.Transparency=0 end end end)
- table.foreach(_ca,function(bda,cda)
- for dda,__b in next,aca do if cda:lower()==__b:lower()then
- bca:FireServer({Type="AddIceCreamTopping",Taste=cda})end end end)wait()
- for bda,cda in next,
- workspace.BensIceCream.CustomerTargets:GetChildren()do
- if cda.Occupied.Value~=nil then
- game.ReplicatedStorage.Modules.DataManager["047443B5874908392ABCBA658B8DCAAA"]:FireServer({})local dda=game.Players.LocalPlayer.Name
- game.Players.LocalPlayer.PlayerGui.MainGUI.Scripts.Inventory.UpdateEvent:Fire(Workspace.Stats.a.EquippedItem)wait()
- game.ReplicatedStorage.Modules.DataManager.B5AE480D6701B0731F460C88AD677A9C:FireServer({["Workstation"]=Workspace.BensIceCream.CustomerTargets.CustomerTarget})
- game.Players.LocalPlayer.PlayerGui.MainGUI.Scripts.Inventory.UpdateEvent:Fire(Workspace.Stats.a.Job.ShiftEarnings)
- game.ReplicatedStorage.DataEvent:FireServer({Type='FinishOrder',Workstation=cda})end end end
- for dca,_da in next,
- workspace.BensIceCream.CustomerTargets:GetChildren()do
- _da.Occupied:GetPropertyChangedSignal('Value'):Connect(function()
- handle()end)end end end)
- db.MouseButton1Click:Connect(function()
- function handle()
- game.ReplicatedStorage.DataEvent:FireServer({Type='TakeIceCreamCup'})wait(.1)
- local cba=game:GetService'Players'.LocalPlayer.Name;local dba={'Vanilla','Chocolate','Strawberry'}
- local _ca={'Sprinkles','Nuts','Caramel'}local aca;local bca=game.ReplicatedStorage.DataEvent
- local cca=function()
- for _da,ada in next,
- workspace.BensIceCream.CustomerTargets:GetChildren()do if ada.Occupied.Value~=nil then return ada end end end
- for _da,ada in next,workspace.SpawnedCharacters:GetChildren()do
- if
- ada.Name:find('BensIceCream')then local bda=ada;local cda=cca()
- if
- cda.Occupied.Value:FindFirstChild('Order')then aca={}for dda,__b in next,cda.Occupied.Value.Order:GetChildren()do
- table.insert(aca,__b.Value)end end end end
- local dca=function()
- if
- workspace[cba]:FindFirstChild('Ice Cream Cup'):WaitForChild'Ball1'.Transparency==1 then return
- workspace[cba]:FindFirstChild('Ice Cream Cup').Ball1 elseif
- workspace[cba]:FindFirstChild('Ice Cream Cup'):WaitForChild'Ball2'.Transparency==1 then return
- workspace[cba]:FindFirstChild('Ice Cream Cup').Ball2 end end
- table.foreach(dba,function(_da,ada)
- for bda,cda in next,aca do
- if ada:lower()==cda:lower()then local dda=dca()
- bca:FireServer({Type="AddIceCreamScoop",Taste=cda,Ball=dda})dda.Transparency=0 end end end)
- table.foreach(_ca,function(_da,ada)
- for bda,cda in next,aca do if ada:lower()==cda:lower()then
- bca:FireServer({Type="AddIceCreamTopping",Taste=ada})end end end)wait()
- for _da,ada in next,
- workspace.BensIceCream.CustomerTargets:GetChildren()do if ada.Occupied.Value~=nil then
- game.ReplicatedStorage.DataEvent:FireServer({Type='FinishOrder',Workstation=ada})end end end
- for cba,dba in next,
- workspace.BensIceCream.CustomerTargets:GetChildren()do
- dba.Occupied:GetPropertyChangedSignal('Value'):Connect(function()
- handle()end)end end)
- cb.MouseButton1Click:Connect(function()local cba=0
- local dba=Instance.new("TextLabel")local _ca=Instance.new("Frame")
- local aca=Instance.new("ScreenGui")local bca=game.CoreGui;aca.Enabled=false;aca.Name="Pizza Maker"aca.Parent=bca
- local cca=bca["Pizza Maker"]_ca.Name="Main3"_ca.Parent=aca
- _ca.BackgroundColor3=Color3.new(0.101961,0.101961,0.101961)
- _ca.BorderColor3=Color3.new(0.101961,0.101961,0.101961)_ca.Position=UDim2.new(0,500,0,500)
- _ca.Size=UDim2.new(0,117,0,65)_ca.Visible=true;_ca.Draggable=true;_ca.Active=true;dba.Name="Text3"
- dba.Parent=_ca;dba.BackgroundColor3=Color3.new(1,1,1)
- dba.BackgroundTransparency=1;dba.Position=UDim2.new(0,0,0,0)
- dba.Size=UDim2.new(0,20,0,35)dba.Font=Enum.Font.SourceSansBold
- dba.FontSize=Enum.FontSize.Size18;dba.Text="test"
- dba.TextColor3=Color3.new(0.901961,0.901961,0.901961)dba.TextSize=18;dba.TextXAlignment=Enum.TextXAlignment.Left
- function newbut(abb,bbb)
- newname=abb;buttontext=bbb;cba=cba+1;down=cba*33
- local cbb=Instance.new("TextButton")cbb.Name=(newname)cbb.Parent=_ca
- cbb.BackgroundColor3=Color3.new(0.780392,0.309804,0.341176)cbb.Position=UDim2.new(0,0,0,down)
- cbb.Size=UDim2.new(0,117,0,30)cbb.Font=Enum.Font.Cartoon
- cbb.FontSize=Enum.FontSize.Size14;cbb.Text=(buttontext)cbb.TextSize=14
- cbb.TextXAlignment=Enum.TextXAlignment.Left end
- function newbox(abb,bbb)boxname=abb;boxtext=bbb;cba=cba+1;down=cba*33
- local cbb=Instance.new("TextBox")cbb.Name=(boxname)cbb.Parent=_ca
- cbb.BackgroundColor3=Color3.new(0.780392,0.309804,0.341176)cbb.Position=UDim2.new(0,0,0,down)
- cbb.Size=UDim2.new(0,117,0,30)cbb.Font=Enum.Font.Cartoon
- cbb.FontSize=Enum.FontSize.Size14;cbb.Text=(boxtext)cbb.TextSize=14
- cbb.TextXAlignment=Enum.TextXAlignment.Left end;newbut("On","ON")
- cca.Main3.On.MouseButton1Down:connect(function()
- if
- cca.Main3.On.Text=="ON"then cca.Main3.On.Text="OFF"a=true
- while a==true do wait(0.1)
- for abb,bbb in
- pairs(game.Workspace.PizzaPlanet:GetChildren())do
- if bbb.Name=="BakerWorkstations"then
- for cbb,dbb in pairs(bbb:GetChildren())do
- game.ReplicatedStorage.DataEvent:FireServer({Order={true,true,true,"Ham"},Type="FinishOrder",Workstation=dbb})
- game.ReplicatedStorage.DataEvent:FireServer({Workstation=dbb,Type="RestockIngredients"})end end end end end
- if cca.Main3.On.Text=="OFF"then cca.Main3.On.Text="ON"a=false end end)wait()local dca=game.Players;local _da=dca['LocalPlayer']local ada=_da.Character or
- _da.CharacterAdded:wait()
- local bda=ada['HumanoidRootPart']local cda=workspace.Stats[_da.Name]
- local dda=game.ReplicatedStorage.DataEvent
- local __b=_da.PlayerGui.MainGUI.Scripts.Inventory.UpdateEvent;local a_b=workspace.PizzaPlanet;local b_b=a_b['BakerWorkstations']
- local c_b=a_b['IngredientCrates']local d_b,_ab=true
- cda.Job:GetPropertyChangedSignal('Value'):Connect(function()
- if
- cda.Job.Value=='PizzaPlanetBaker'then d_b=false else d_b=true end end)if cda.Job.Value=='PizzaPlanetBaker'then d_b=false end
- local aab={Cheese={true,true,true,false},Vegetable={true,true,true,'Vegetable'},Ham={true,true,true,'Ham'},Pepperoni={true,true,true,'Pepperoni'}}local bab=Vector3.new(1163.78955,13.5,258.54892)
- local cab={Vector3.new(1173.34778,13.5,226.585571),Vector3.new(1172.8501,13.5,238.183029),Vector3.new(1173.20837,13.5,250.465881),Vector3.new(1173.47266,13.5,259.170837)}
- local dab=coroutine.wrap(function()
- while wait()do
- for abb,bbb in next, (b_b:GetChildren())do if d_b then break end
- local cbb=bbb:FindFirstChild('CounterTop')if cbb then cbb.Parent=nil end;bbb.InUse.Value=_da;local dbb=cab[abb]
- ada.Humanoid.WalkToPoint=dbb;repeat wait()until
- (bda.Position-dbb).magnitude<2 or d_b;if d_b then break end
- local _cb=bbb['OrderDisplay']['DisplayMain']:FindFirstChild('NoIngredients',true)
- if _cb and _cb.Visible and not d_b then _ab=true;local bcb=bab
- ada.Humanoid.WalkToPoint=bcb;repeat wait()until
- (bda.Position-bcb).magnitude<2.75 or d_b;if d_b then break end;local ccb=c_b.Crate;for dcb,_db in next,
- (c_b:GetChildren())do
- if(_db.Position-bda.Position).magnitude<
- (ccb.Position-bda.Position).magnitude then ccb=_db end end
- ccb.Parent=game.Lighting.TempFolder;wait()
- dda:FireServer({Object=game.Lighting.TempFolder.Crate,Type='TakeIngredientCrate'})ccb.Parent=c_b;__b:Fire(cda.EquippedItem)wait()end;local acb=cab[abb]ada.Humanoid.WalkToPoint=acb;repeat wait()until
- (bda.Position-acb).magnitude<2 or d_b
- if d_b then break end;if _ab then
- dda:FireServer({Workstation=bbb,Type='RestockIngredients'})end;_ab=false end
- for i=#cab,1,-1 do local abb=b_b:GetChildren()[i]if d_b then break end
- local bbb=abb:FindFirstChild('CounterTop')if bbb then bbb.Parent=nil end;abb.InUse.Value=_da;local cbb=cab[i]
- ada.Humanoid.WalkToPoint=cbb;repeat wait()until
- (bda.Position-cbb).magnitude<2 or d_b;if d_b then break end
- local dbb=abb['OrderDisplay']['DisplayMain']:FindFirstChild('NoIngredients',true)
- if dbb and dbb.Visible and not d_b then _ab=true;local acb=bab
- ada.Humanoid.WalkToPoint=acb;repeat wait()until
- (bda.Position-acb).magnitude<2.75 or d_b;if d_b then break end;local bcb=c_b.Crate;for ccb,dcb in next,
- (c_b:GetChildren())do
- if(dcb.Position-bda.Position).magnitude<
- (bcb.Position-bda.Position).magnitude then bcb=dcb end end
- bcb.Parent=game.Lighting.TempFolder;wait()
- dda:FireServer({Object=game.Lighting.TempFolder.Crate,Type='TakeIngredientCrate'})bcb.Parent=c_b;__b:Fire(cda.EquippedItem)wait()end;local _cb=cab[i]ada.Humanoid.WalkToPoint=_cb;repeat wait()until
- (bda.Position-_cb).magnitude<2 or d_b
- if d_b then break end;if _ab then
- dda:FireServer({Workstation=abb,Type='RestockIngredients'})end;_ab=false end end end)
- local _bb=coroutine.wrap(function()
- while wait(1)do
- for abb,bbb in next, (b_b:GetChildren())do if d_b or _ab then break end
- local cbb=aab[bbb.Order.Value]local dbb=bbb.Order.IngredientsLeft.Value
- dda:FireServer({Workstation=bbb,Type='UseWorkstation'})if d_b or _ab then break end;if dbb>2 then dbb=dbb-1 end;for i=1,dbb do
- dda:FireServer({Workstation=bbb,Type='UseWorkstation'})end;if d_b or _ab then break end
- dda:FireServer({Order=cbb,Workstation=bbb,Type='FinishOrder'})__b:Fire(cda.Job.ShiftEarnings)end end end)dab()_bb()end)
- bc.MouseButton1Click:Connect(function()b:Remove()end)
- while wait(1)do dd.BackgroundColor3=Color3.new(math.random())
- bd.Text=
- "Welcome, "..game.Players.LocalPlayer.Name.."!"
- b_a.MouseButton1Click:Connect(function()c_a.Visible=true;b_a.Visible=false
- d_a.Visible=true end)
- c_a.MouseButton1Click:Connect(function()b_a.Visible=true;c_a.Visible=false
- d_a.Visible=false end)
- aaa.MouseButton1Click:Connect(function()cd.BackgroundColor3=Color3.new(0,1,0)
- __a.BackgroundColor3=Color3.new(0,0.666667,0)b_a.BackgroundColor3=Color3.new(0,1,0)
- b_a.BorderColor3=Color3.new(0,0.666667,0)bb.BackgroundColor3=Color3.new(0,1,0)
- bb.BorderColor3=Color3.new(0,0.666667,0)cb.BackgroundColor3=Color3.new(0,1,0)
- cb.BorderColor3=Color3.new(0,0.666667,0)db.BackgroundColor3=Color3.new(0,1,0)
- db.BorderColor3=Color3.new(0,0.666667,0)_c.BackgroundColor3=Color3.new(0,1,0)
- _c.BorderColor3=Color3.new(0,0.666667,0)c_a.BorderColor3=Color3.new(0,0.666667,0)
- c_a.BackgroundColor3=Color3.new(0,1,0)_d.BorderColor3=Color3.new(0,0.666667,0)
- dc.TextStrokeColor3=Color3.new(0,0.666667,0)ad.TextStrokeColor3=Color3.new(0,0.666667,0)
- cc.BackgroundColor3=Color3.new(0,1,0)cc.BorderColor3=Color3.new(0,0.666667,0)
- bd.TextStrokeColor3=Color3.new(0,0.666667,0)bd.BorderColor3=Color3.new(0,0.6666667,0)
- ac.TextStrokeColor3=Color3.new(0,0.666667,0)ac.TextColor3=Color3.new(0,1,0)end)
- caa.MouseButton1Click:Connect(function()
- cd.BackgroundColor3=Color3.new(1,0,0.498039)__a.BackgroundColor3=Color3.new(1,0.666667,1)
- b_a.BackgroundColor3=Color3.new(1,0,0.498039)b_a.BorderColor3=Color3.new(1,0.666667,1)
- bb.BackgroundColor3=Color3.new(1,0,0.498039)bb.BorderColor3=Color3.new(1,0.666667,1)
- cb.BackgroundColor3=Color3.new(1,0,0.498039)cb.BorderColor3=Color3.new(1,0.666667,1)
- db.BackgroundColor3=Color3.new(1,0,0.498039)db.BorderColor3=Color3.new(1,0.666667,1)
- _c.BackgroundColor3=Color3.new(1,0,0.498039)_c.BorderColor3=Color3.new(1,0.666667,1)
- c_a.BorderColor3=Color3.new(1,0.666667,1)c_a.BackgroundColor3=Color3.new(1,0,0.498039)
- _d.BorderColor3=Color3.new(1,0.666667,1)dc.TextStrokeColor3=Color3.new(1,0.666667,1)
- ad.TextStrokeColor3=Color3.new(1,0.666667,1)cc.BackgroundColor3=Color3.new(1,0,0.498039)
- cc.BorderColor3=Color3.new(1,0.666667,1)bd.TextStrokeColor3=Color3.new(1,0.666667,1)
- bd.BorderColor3=Color3.new(1,0.666667,1)ac.TextStrokeColor3=Color3.new(1,0.666667,1)
- ac.TextColor3=Color3.new(1,0,0.498039)end)
- baa.MouseButton1Click:Connect(function()
- cd.BackgroundColor3=Color3.new(1,0.666667,0)__a.BackgroundColor3=Color3.new(0.741176,0.494118,0)
- b_a.BackgroundColor3=Color3.new(1,0.666667,0)b_a.BorderColor3=Color3.new(0.741176,0.494118,0)
- bb.BackgroundColor3=Color3.new(1,0.666667,0)bb.BorderColor3=Color3.new(0.741176,0.494118,0)
- cb.BackgroundColor3=Color3.new(1,0.666667,0)cb.BorderColor3=Color3.new(0.741176,0.494118,0)
- db.BackgroundColor3=Color3.new(1,0.666667,0)db.BorderColor3=Color3.new(0.741176,0.494118,0)
- _c.BackgroundColor3=Color3.new(1,0.666667,0)_c.BorderColor3=Color3.new(0.741176,0.494118,0)
- c_a.BorderColor3=Color3.new(0.741176,0.494118,0)c_a.BackgroundColor3=Color3.new(1,0.666667,0)
- _d.BorderColor3=Color3.new(0.741176,0.494118,0)dc.TextStrokeColor3=Color3.new(0.741176,0.494118,0)
- ad.TextStrokeColor3=Color3.new(0.741176,0.494118,0)cc.BackgroundColor3=Color3.new(1,0.666667,0)
- cc.BorderColor3=Color3.new(0.741176,0.494118,0)bd.TextStrokeColor3=Color3.new(0.741176,0.494118,0)
- bd.BorderColor3=Color3.new(0.741176,0.494118,0)ac.TextStrokeColor3=Color3.new(0.741176,0.494118,0)
- ac.TextColor3=Color3.new(1,0.666667,0)end)
- _aa.MouseButton1Click:Connect(function()
- cd.BackgroundColor3=Color3.new(0.32549,0.529412,1)__a.BackgroundColor3=Color3.new(0.235294,0.87451,1)
- b_a.BackgroundColor3=Color3.new(0.32549,0.529412,1)b_a.BorderColor3=Color3.new(0.235294,0.87451,1)
- bb.BackgroundColor3=Color3.new(0.32549,0.529412,1)bb.BorderColor3=Color3.new(0.235294,0.87451,1)
- cb.BackgroundColor3=Color3.new(0.32549,0.529412,1)cb.BorderColor3=Color3.new(0.235294,0.87451,1)
- db.BackgroundColor3=Color3.new(0.32549,0.529412,1)db.BorderColor3=Color3.new(0.235294,0.87451,1)
- _c.BackgroundColor3=Color3.new(0.32549,0.529412,1)_c.BorderColor3=Color3.new(0.235294,0.87451,1)
- c_a.BorderColor3=Color3.new(0.235294,0.87451,1)c_a.BackgroundColor3=Color3.new(0.32549,0.529412,1)
- _d.BorderColor3=Color3.new(0.235294,0.87451,1)dc.TextStrokeColor3=Color3.new(0.235294,0.87451,1)
- ad.TextStrokeColor3=Color3.new(0.235294,0.87451,1)cc.BackgroundColor3=Color3.new(0.32549,0.529412,1)
- cc.BorderColor3=Color3.new(0.235294,0.87451,1)bd.TextStrokeColor3=Color3.new(0.235294,0.87451,1)
- bd.BorderColor3=Color3.new(0.235294,0.87451,1)ac.TextStrokeColor3=Color3.new(0.235294,0.87451,1)
- ac.TextColor3=Color3.new(0.32549,0.529412,1)end)end end;CreateGui()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement