Forum > General >

my script isnt working can anyone help?

Posts: 1

Threads: 1

Joined: Nov, 2022

Reputation: 0

Posted

_G.AutoFarm = true
_G.AutoFarm2 = true
_G.AutoFarm3 = true
_G.AutoFarm4 = true
_G.AutoFarm5 = true
_G.AutoFarm6 = true
_G.AutoFarm7 = true
_G.AutoFarm8 = true

while _G.AutoFarm == true do
    game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-120.7723617553711, 30.29999542236328, 191.5056915283203)
wait(1)
end

while _G.AutoFarm == true do
spawn(function)
    local StarterGui = game:GetService("StarterGui") -- not sure why you used CoreGui
    local bindable = Instance.new("BindableFunction")
   
    function bindable.OnInvoke(response)
        print(response .. " chosen")
    end
   
    StarterGui:SetCore("SendNotification", {
        Title = "AutoFarm script",
        Text = "Thank you for using Shotx's AutoFarm use aat your own risk",
        Duration = 600,
        Callback = bindable,
        Button1 = "ok",
        Button2 = "copy link"
    })                              
    wait(1)
    end

    while _G.AutoFarm1 == true do
spawn(function)
    game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-116.29370880126953, 30.29999542236328, 181.15408325195312)
    wait(1)
    end

    while _G.AutoFarm2 == true do
    spawn(function)
        game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-108.95243072509766, 30.29999542236328, 180.7605743408203)
        wait(1)
        end

        while _G.AutoFarm3 == true do
        spawn(function)
            game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-116.81404876708984, 30.29999542236328, 190.74728393554688)
            wait(1)
            end

            while _G.AutoFarm4 == true do
            spawn(function)
                game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(128.7193145751953, 4.5905303955078125, 370.7568664550781)
                wait(1)
                end

                while _G.AutoFarm5 == true do
                spawn(function)
                    game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(127.87124633789062, 4.5905303955078125, 358.49627685546875)
                    wait(1)
                    end

                    while _G.AutoFarm6 == true do
                    spawn(function)
                        game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(126.34260559082031, 4.5905303955078125, 360.64569091796875)
                        wait(1)
                        end

                        while _G.AutoFarm7 == true do
                        spawn(function)
                            game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(128.9802703857422, 4.5905303955078125, 342.4974365234375)
                            wait(1)
                            end

                            while _G.AutoFarm8 == true do
                            spawn(function)
                                game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(126.09489440917969, 4.5905303955078125, 344.9375)
                                wait(1)
                                end
  • 0

Users viewing this thread:

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