Forum > Scripts >

Could someone smart fix this script to work again

Posts: 12

Threads: 4

Joined: Jul, 2020

Reputation: 0

Posted

This script worked great till Friday then they patched the auto farm script....  someone got the auto farm script working again,  but I would like someone smart that knows how to make this one work for just the cashier that i used for over a year...

 

workspace.Customers.ChildAdded:connect(function(customer)

wait(0.2)

workspace.Dialog:FireServer("ClickedBubble",customer.Head)

wait(0.2)

workspace.TutorialService.PlayerAction:FireServer("ClickedBubble",true)

wait(0.2)

workspace.Dialog:FireServer("RespondSelected",customer.Head.Dialog.Correct, customer.Head)

wait(0.2)

workspace.GameService.OrderCompleted:FireServer(customer,false,workspace.Register1)

end)

 

I sure would appreciate it... Thanks

  • 0

Posts: 1372

Threads: 87

Joined: May, 2018

Reputation: 24

Replied

game? lol

....

 

 

coNTENt lENGht mUst be 3r9381-3478128c hats

  • 0

Hello there

#StayHome

 

Posts: 12

Threads: 4

Joined: Jul, 2020

Reputation: 0

Replied

work at a pizza place,  thank you

  • 0

Added

how this script works are use to work is you would remove the cashier floor and the parking lot , and then sit at a chair and then attach the scrpt then execute it...  when the customers got out of car and started into cashier area they would fall though the pavement or the cashier floor and it would take the orders quicker....    I use another script that works to take out the floors and pavement ,  J just need that script fixed to take orders......  here is one that a friend tried to fix but it onlyi takes ordres every once in a while ,  takes wrong orders most of the time....

 

game.Workspace.Customers.ChildAdded:Connect(function(customer)

repeat wait() until customer:FindFirstChild("Humanoid") ~= nil

customer:FindFirstChildOfClass("Humanoid").Running:Connect(function(speed)

if speed > 0 then

    wait()

    else

wait(0.2)

workspace.Dialog:FireServer("ClickedBubble",customer.Head)

wait(0.2)

workspace.TutorialService.PlayerAction:FireServer("ClickedBubble",true)

wait(0.2)

workspace.Dialog:FireServer("RespondSelected",customer.Head.DialogSimple.Correct, customer.Head)

wait(0.2)

local randomfood = math.random(1,4)

if randomfood == 1 then

workspace.GameService.OrderCompleted:FireServer(customer,"PepperoniPizza",workspace.Register1)

elseif randomfood == 2 then

workspace.GameService.OrderCompleted:FireServer(customer,"CheesePizza",workspace.Register1)

elseif randomfood == 3 then

    workspace.GameService.OrderCompleted:FireServer(customer,"MountainDew",workspace.Register1)

    elseif randomfood == 4 then

        workspace.GameService.OrderCompleted:FireServer(customer,"SausagePizza",workspace.Register1)

end

end

end)

end)

 

 

  • 0

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )