Advertisement
_Thanh_Thy_Cute_

Restaurant Tycoon CHIEF INSTANT COOK

Aug 2nd, 2021
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  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.  
  5.  
  6. Worker.event = function(...)
  7. local args = {...}
  8. local npc = M1.GetNPCFolder(args[1]).ClientWorkers:FindFirstChild(args[2])
  9. local M2 = game.ReplicatedStorage.Resources.NewCookingResources.SharedCharacterComponents:FindFirstChild(args[4])
  10. if M2 then
  11. local Task = require(M2)
  12. Task.finishInteract(npc,args[3],args[4])
  13. end
  14. return
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement