Restaurant Tycoon CHIEF INSTANT COOK


SUBMITTED BY: samen

DATE: Aug. 3, 2021, 10:20 p.m.

FORMAT: Text only

SIZE: 565 Bytes

HITS: 9275

  1. local PS = game.Players.LocalPlayer.PlayerScripts
  2. local Worker = require(PS.CookingNew.WorkerComponents.WorkerDefault)
  3. local M1 = require(PS.ClientMain.Replications.Customers.GetNPCFolder)
  4. Worker.event = function(...)
  5. local args = {...}
  6. local npc = M1.GetNPCFolder(args[1]).ClientWorkers:FindFirstChild(args[2])
  7. local M2 = game.ReplicatedStorage.Resources.NewCookingResources.SharedCharacterComponents:FindFirstChild(args[4])
  8. if M2 then
  9. local Task = require(M2)
  10. Task.finishInteract(npc,args[3],args[4])
  11. end
  12. return
  13. end

comments powered by Disqus