base grabbing api via displayname
Key Required Verified

base grabbing api via displayname

Steal a BaddieTomatoTomato 103.1K views 1.2K executesUpdated Aug 23, 2025
5.0/ 5(4 votes)
40100% Positive
Lua Script•18 lines (589 chars)
local function NameToBase(TargetName)
	local Bases = workspace.Map.Bases:GetChildren()
	for i, Base in pairs(Bases) do
		local Interactables = Base.Interactables
		local Sign = Interactables.Sign
		local SignText = Sign:FindFirstChild("TextLabel", true).Text
		local OwnerName = string.match(SignText, "(.*)'s")
		if OwnerName == TargetName then
			return Base
		end
	end
end
-- Example Usage
local LocalPlayer = game:GetService("Players").LocalPlayer
local MyBase = NameToBase(LocalPlayer.DisplayName)
if MyBase then
	LocalPlayer.Character.PrimaryPart.CFrame = MyBase.SpawnPart.CFrame
end

Features & Information

This Script is intended for Developers. Base Grab API based on Username Use Player.DisplayName not Player.Name. NameToBase(TargetName) -> Target's Base Model Object

Community Comments (0)

No comments yet for this script.

More Scripts for Steal a Baddie