Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -------------------------------------------- chef instant cook ----------------------------------------------------
- local PS = game.Players.LocalPlayer.PlayerScripts
- local Worker = require(PS.CookingNew.WorkerComponents.WorkerDefault)
- local M1 = require(PS.ClientMain.Replications.Customers.GetNPCFolder)
- Worker.event = function(...)
- local args = {...}
- local npc = M1.GetNPCFolder(args[1]).ClientWorkers:FindFirstChild(args[2])
- local M2 = game.ReplicatedStorage.Resources.NewCookingResources.SharedCharacterComponents:FindFirstChild(args[4])
- if M2 then
- local Task = require(M2)
- Task.finishInteract(npc,args[3],args[4])
- end
- return
- end
- --------------------------------------- player instant cook ----------------------------------------
- local Cooking = game.Players.LocalPlayer.PlayerScripts.CookingNew
- local CookProgress = require(Cooking.CookProgress)
- local MultiClick = require(Cooking.InputDetectors.MultiClick)
- local MouseMovement = require(Cooking.InputDetectors.MouseMovement)
- local MouseSpin = require(Cooking.InputDetectors.MouseSpin)
- local run = CookProgress.run
- CookProgress.run = function(...)
- local ARGS = {...}
- ARGS[3] = 0
- return run(unpack(ARGS))
- end
- MultiClick.start = function(...)
- local ARGS = {...}
- ARGS[3]()
- end
- MouseMovement.start = function(...)
- local ARGS = {...}
- ARGS[3]()
- end
- MouseSpin.start = function(...)
- local ARGS = {...}
- ARGS[3]()
- end
- ------------------------------------- auto collect money -------------------------------------
- warn("Requiring API")do
- loadstring(game:HttpGet("https://pastebin.com/raw/KMc6aBky"))();
- end warn("API Loaded")
- local child = getgenv().object.child
- local descendant = getgenv().object.descendant
- local check = getgenv().object.check
- local Tycoon = game.Players.LocalPlayer.Tycoon.Value
- descendant.foreach(Tycoon.Items.OftenFiltered.Surface,"Bill",function(Bill)
- local Settings = {
- ["name"] = "CollectBill",
- ["model"] = Bill.Parent
- }
- game.ReplicatedStorage.Events.ClientTycoonInput:FireServer(Tycoon,Settings)
- end)
- local Connection,Code = descendant.on_add(Tycoon.Items.OftenFiltered.Surface,function(Bill)
- check.it(Bill.Name == "Bill",function()
- local Settings = {
- ["name"] = "CollectBill",
- ["model"] = Bill.Parent
- }
- game.ReplicatedStorage.Events.ClientTycoonInput:FireServer(Tycoon,Settings)
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement