Steal a Baddie
103.2k Views
1.5k Executions

Script Verified base grabbing api via displayname

Steal a Baddie
Tomato
Tomato
Verified Badge
Verified User
Hall of Fame10M views
1 year ago
Please login to perform these actions:

base grabbing api via displayname is a Steal a Baddie script for Roblox, uploaded to ScriptBlox on Aug 23, 2025.

Does it work?

No reports yet

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

Also noticed:

Description

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

View Raw
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


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More Steal a Baddie scripts

See all