Universal Script 📌
24.9k Views
17 Executions

Dupe for most modded gag games cracked by Tervu open source

Universal Script 📌
4P_4P
4P_4PPublished 5
1 year ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

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

Also noticed:

Description

y

View Raw
if not game:IsLoaded() then game.Loaded:Wait() end

local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local Workspace = game:GetService("Workspace")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local MarketplaceService = game:GetService("MarketplaceService")
local Stats = game:GetService("Stats")

local LocalPlayer = Players.LocalPlayer
local placeInfo = MarketplaceService:GetProductInfo(game.PlaceId)
local blinkRemote = ReplicatedStorage:FindFirstChild("BLINK_UNRELIABLE_REMOTE")
if not blinkRemote then return LocalPlayer:Kick("Game not supported!") end

local farms = Workspace:FindFirstChild("Farm")
if not farms then return LocalPlayer:Kick("Farms folder not found") end

local plot = nil
for _, v in farms:GetDescendants() do
    if v.Name == "Owner" and v.Value == LocalPlayer.Name then
        plot = v.Parent.Parent
        break
    end
end
if not plot then return LocalPlayer:Kick("Plot not found") end

local plant_physical = plot:FindFirstChild("Plants_Physical")
if not plant_physical then return LocalPlayer:Kick("Plants_Physical not found") end

-- Get closest plant
local function closest_plant()
    local char = LocalPlayer.Character
    if not char or not char:GetPivot() then return nil end
    local closest, dist = nil, math.huge
    for _, v in plant_physical:GetDescendants() do
        if v:IsA("ProximityPrompt") and v.Parent and v.Parent.Parent and not v.Parent.Parent.Name:find("Egg") then
            local plant = v.Parent.Parent
            local d = (plant:GetPivot().Position - char:GetPivot().Position).Magnitude
            if d < dist then closest, dist = plant, d end
        end


Comments

2
Log in to join the conversation. Login
Komail's profile picture
Komail1 year ago

Bruh

2
zxcv's profile picture
zxcv1 year ago(edited)

diff thumnail

2

More universal scripts

See all
Script hub
47.4k
173.4k
Bumped 38 minutes ago
Key System

Script hub

#4 this month

Verified script badgeArcane Hub | 125+ Games & 4000+ Features

Script hub
173.1k
1.5M
Bumped 1 hour ago
Key System
Script hub
3.1M
734.0k
Bumped 1 hour ago
Key System

Script hub

Hall of Fame #10

Verified script badgeFlow Hub | 50 Games | Updated

Universal Script 📌
5.8k
20.9k
Bumped 3 hours ago
Key System
Script hub
27.1k
1.1k
Bumped 3 hours ago
Key System

Script hub

#1 today

Plak New