---
title: "Slap Battles Script for Roblox: Player AutoFarm - ScriptBlox"
description: "Slap Battles Roblox script: Player AutoFarm. yea yea you already know how i made this lol you best believe you better join this discord server..."
canonical_url: "https://scriptblox.com/script/UPDATE-Slap-Battles-Player-AutoFarm-7005"
meta:
  "og:description": "Slap Battles Roblox script: Player AutoFarm. yea yea you already know how i made this lol you best believe you better join this discord server..."
  "og:image": "https://scriptblox.com/images/script/6403373529-1691896443002.webp"
  "og:title": "Slap Battles Script for Roblox: Player AutoFarm - ScriptBlox"
  "twitter:description": "Slap Battles Roblox script: Player AutoFarm. yea yea you already know how i made this lol you best believe you better join this discord server..."
  "twitter:image": "https://scriptblox.com/images/script/6403373529-1691896443002.webp"
  "twitter:title": "Slap Battles Script for Roblox: Player AutoFarm - ScriptBlox"
---

> Index of every page on this site: [llms.txt](https://scriptblox.com/llms.txt)

![\[UPDATE🦑\] Slap Battles👏](https://scriptblox.com/images/script/6403373529-1691896443002.webp)

# **Player AutoFarm**

[**Slap Battles**](https://scriptblox.com/game/6403373529-slap-battles "[UPDATE🦑] Slap Battles👏")**![Aura](https://scriptblox.com/images/photo/64caa76229c6e48e1e6517b2-1755132982289.png) [Aura](https://scriptblox.com/u/Aura)Published 25**

3 years ago

[**Play game **](roblox://placeId=6403373529) [**Game Link **](https://roblox.com/games/6403373529)

[**Get an executor**](https://scriptblox.com/executors?kind=executor)

Please login to perform these actions:

Player AutoFarm is a Slap Battles script for Roblox, uploaded to ScriptBlox on Aug 13, 2023.

## **Does it work? **

**No reports yet **

No reports yet. Tried it? Be the first to say.

Also noticed:

## Description

yea yea you already know how i made this lol you best believe you better join this discord server: https://discord.gg/MpY7h3WqNh

## **Updates **

1. Mar 27, 2025

   ****Script edited:**** Update script
2. Aug 13, 2023

   ****Script edited:**** Create script

[View Raw](https://scriptblox.com/raw/UPDATE-Slap-Battles-Player-AutoFarm-7005)

```
       local player = game.Players.LocalPlayer
        local ReplicatedStorage = game:GetService("ReplicatedStorage")
        local remoteEvent = ReplicatedStorage:WaitForChild("b")
        local Workspace = game:GetService("Workspace")
        
        local detectionRange = 750 
        local heightUnderPlayer = 5
        local safeDistanceFromRock = 50 

        local function hasErrorTool(player)
            if player.Backpack:FindFirstChild("Error") or (player.Character and player.Character:FindFirstChild("Error")) then
                return true
            end
            return false
        end

        local function isTransparent(character)
            for _, part in pairs(character:GetChildren()) do
                if part:IsA("MeshPart") or part:IsA("Part") then
                    if part.Transparency == 0.5 then
                        return true
                    end
                end
            end
            return false
        end

        local function isWithinLobbyArea(character)
            return game:GetService("Workspace").Lobby:IsAncestorOf(character)
        end

        local function distanceFromRock(position)
            local rock = Workspace:FindFirstChild("rock")
            if rock then
                return (position - rock.Position).Magnitude
            end
            return math.huge
        end

        local function getClosestPlayer(character)


```

## **Comments **

**0**

Log in to join the conversation. [**Login **](https://scriptblox.com/login?redirect=/script/UPDATE-Slap-Battles-Player-AutoFarm-7005)

No comments yet. Be the first!

```json
{"@context":"https://schema.org","@type":"SoftwareSourceCode","@id":"https://scriptblox.com/script/UPDATE-Slap-Battles-Player-AutoFarm-7005#script","url":"https://scriptblox.com/script/UPDATE-Slap-Battles-Player-AutoFarm-7005","name":"Player AutoFarm","programmingLanguage":"Lua","runtimePlatform":"Roblox","author":{"@type":"Person","name":"Aura","url":"https://scriptblox.com/u/Aura"},"datePublished":"2023-08-13T03:14:03.044Z","image":"https://scriptblox.com/images/script/6403373529-1691896443002.webp","about":{"@type":"VideoGame","name":"Slap Battles","gamePlatform":"Roblox"}}
```

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://scriptblox.com/#website","@type":"WebSite","description":"Search free Roblox scripts uploaded by the community, with live status for every major executor. Browse by game, copy the loadstring and run it in your executor.","inLanguage":"en","name":"ScriptBlox","url":"https://scriptblox.com/"},{"@id":"https://scriptblox.com/script/UPDATE-Slap-Battles-Player-AutoFarm-7005#webpage","@type":"WebPage","description":"Slap Battles Roblox script: Player AutoFarm. yea yea you already know how i made this lol you best believe you better join this discord server...","name":"Slap Battles Script for Roblox: Player AutoFarm - ScriptBlox","url":"https://scriptblox.com/script/UPDATE-Slap-Battles-Player-AutoFarm-7005","breadcrumb":{"@id":"https://scriptblox.com/script/UPDATE-Slap-Battles-Player-AutoFarm-7005#breadcrumb"},"isPartOf":{"@id":"https://scriptblox.com/#website"},"mainEntity":{"@id":"https://scriptblox.com/script/UPDATE-Slap-Battles-Player-AutoFarm-7005#script"},"potentialAction":[{"@type":"ReadAction","target":["https://scriptblox.com/script/UPDATE-Slap-Battles-Player-AutoFarm-7005"]}]},{"@id":"https://scriptblox.com/script/UPDATE-Slap-Battles-Player-AutoFarm-7005#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://scriptblox.com","position":1},{"@type":"ListItem","name":"Slap Battles","item":"https://scriptblox.com/game/6403373529-slap-battles","position":2},{"@type":"ListItem","name":"Player AutoFarm","position":3}]}]}
```

## Sitemap

See the full [sitemap](https://scriptblox.com/sitemap.md) for all pages.
