oki doki 
`local plr = game.Players.LocalPlayer
StarterGui = game:GetService(“StarterGui”)
game:GetService(“ReplicatedStorage”).client_events.cafe.OnClientEvent:Connect(function()
for i,v in pairs (plr.PlayerGui:GetChildren()) do
if v:IsA(“ScreenGui”) then
v.Enabled = false
end
end
workspace.cafe_part.cd.MaxActivationDistance = 0
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
workspace.cafe_part.BillboardGui.Enabled = false
plr.PlayerGui.dia.Enabled = true
plr.PlayerGui.maingui.Enabled = false
local function shop()
plr.PlayerGui.dia.Enabled = false
plr.PlayerGui.cafe.Enabled = true
end
workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
workspace.CurrentCamera.CFrame = workspace.cameras_start.cafe.Value
local final
local guipart
local lines
local persons
local random = math.random(1,3)
if random == 1 then
guipart = 1
lines = {"Hey! Welcome","W-Welcome Guest","Riku don't be like that","Sorry sis I'm just s-shy","Anyways, welcome to our wonderful cafeteria","what w-would you like?"}
final = 7
persons = {"Mio","Riku","Mio","Riku","Mio","Riku"}
elseif random == 2 then
guipart = 1
lines = {"H-H-Hello","RIKU!","AAAAAAHHHH","Hello welcome to our shop","what can I help you with?"}
persons = {"Riku","Mio","Riku","Mio","Mio"}
final = 6
elseif random == 3 then
guipart = 1
lines = {"Hello welcome to our cafe!","W-we hope yo-u enjoy it","What would you like?"}
persons = {"Mio","Riku","Mio"}
final = 4
end
wait(3)
plr.PlayerGui.dia.next.Visible = false
plr.PlayerGui.dia.Mio.Visible = false
plr.PlayerGui.dia.Riku.Visible = false
plr.PlayerGui.dia:FindFirstChild(persons[guipart]).Visible = true
plr.PlayerGui.dia.TextLabel.Text = persons[guipart]
for ii = 1 , #lines[guipart] , 1 do
plr.PlayerGui.dia.txtline.Text = lines[guipart]:sub(1,ii)
wait(1/15)
wait(0.001)
end
plr.PlayerGui.dia.next.Visible = true
plr.PlayerGui.dia.next.MouseButton1Down:Connect(function()
print('guipart'..guipart)
print(persons[guipart])
guipart = guipart + 1
if guipart == final then
shop()
else
plr.PlayerGui.dia.next.Visible = false
plr.PlayerGui.dia.Mio.Visible = false
plr.PlayerGui.dia.Riku.Visible = false
plr.PlayerGui.dia:FindFirstChild(persons[guipart]).Visible = true
plr.PlayerGui.dia.TextLabel.Text = persons[guipart]
for ii = 1 , #lines[guipart] , 1 do
plr.PlayerGui.dia.txtline.Text = lines[guipart]:sub(1,ii)
wait(1/15)
wait(0.001)
end
plr.PlayerGui.dia.next.Visible = true
end
end)
--------------------------------------------------------
plr.PlayerGui.cafe.leave.MouseButton1Down:Connect(function()
plr.Character.Humanoid.WalkSpeed = 15
workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
local plrgui = plr.PlayerGui
plr.PlayerGui.cafe.Enabled = false
plr.PlayerGui.maingui.Enabled = true
workspace.cafe_part.cafe.cd.MaxActivationDistance = 15
workspace.cafe_part.cafe.BillboardGui.Enabled = true
if plrgui:FindFirstChild('HeadMasterGui') then
plrgui:FindFirstChild('HeadMasterGui').Enabled = true
end
if plrgui:FindFirstChild('PetGui') then
plrgui:FindFirstChild('PetGui').Enabled = true
end
if plr.PlayerGui:FindFirstChild('TouchGui') then
plr.PlayerGui:FindFirstChild('TouchGui') .Enabled = true
end
if plrgui:FindFirstChild('Chat') then
plrgui:FindFirstChild('Chat').Enabled = true
end
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, true)
script.Parent:Clone().Parent = plr.PlayerGui
script.Parent:Destroy()
end)
plr.PlayerGui.cafe.buying.no.MouseButton1Down:Connect(function()
plr.PlayerGui.cafe.buying:TweenPosition(UDim2.new(0.237, 0,1, 0), "Out", "Linear", 0.5,false)
end)
plr.PlayerGui.cafe.buying.yes.MouseButton1Down:Connect(function()
game:GetService("ReplicatedStorage").client_events.cafe_buy:FireServer(plr.PlayerGui.cafe.item.Value,plr.PlayerGui.cafe.money.Value)
plr.PlayerGui.cafe.buying.yes.Visible = false
spawn(function()
wait(3)
plr.PlayerGui.cafe.buying.yes.Visible = true
end)
plr.PlayerGui.cafe.buying:TweenPosition(UDim2.new(0.237, 0,1, 0), "Out", "Linear", 0.5,false)
end)
for i,v in pairs (plr.PlayerGui.cafe.main.items:GetChildren()) do
if v:IsA("TextButton") then
v.MouseButton1Down:Connect(function()
plr.PlayerGui.cafe.item.Value = v.Name
plr.PlayerGui.cafe.money.Value = v.Value.Value
plr.PlayerGui.cafe.buying.txt.Text = 'Would you like to buy '..v.Name.." for : "..v.Value.Value.." Star Gems?"
plr.PlayerGui.cafe.buying:TweenPosition(UDim2.new(0.237, 0,0.333, 0), "Out", "Linear", 0.5,false)
end)
end
end
end)
`