Roblox Augmented Money Farm Script

Roblox Augmented Money Farm Script

Script by Sinis

--> Farm cash money
local Remote = game.ReplicatedStorage["Package.Remote"]
local Player = game.Players.LocalPlayer
local Character = Player.Character

local PickupPoint = workspace.Interactions.NPCs.PackageJob["Interaction.Part"]

local WAIT_BEFORE_PROXIMITY_PROMPT = 0.1
local WAIT_BEFORE_TELEPORT = 0.2

function GetPickup()
   Character:SetPrimaryPartCFrame(PickupPoint.CFrame)
   wait(WAIT_BEFORE_PROXIMITY_PROMPT)
   local proximityPrompt = PickupPoint:FindFirstChildWhichIsA("ProximityPrompt")
   proximityPrompt:InputHoldBegin()
   proximityPrompt:InputHoldEnd()
   -- Remote:FireServer("Pickup")
end

function DeliverPickup()
   local deliverPoint = Player.PlayerGui["Indicator.Package"].Adornee
   if deliverPoint then
       Character:SetPrimaryPartCFrame(deliverPoint.CFrame)
       wait(WAIT_BEFORE_PROXIMITY_PROMPT)
       local proximityPrompt = deliverPoint:FindFirstChildWhichIsA("ProximityPrompt")
       proximityPrompt:InputHoldBegin()
       proximityPrompt:InputHoldEnd()
       Remote:FireServer("Deliver")
   end
end

while true do
   GetPickup()
   wait(WAIT_BEFORE_TELEPORT)
   DeliverPickup()
   wait(WAIT_BEFORE_TELEPORT)
end

Leave a Comment

Your email address will not be published.

%d bloggers like this: