Universal Script 📌
1.2k Views
9.2k Executions

Albert2844833

Universal Script 📌
Albert2844833
Albert2844833First script
5 months 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

Works good its FE and works for headadmin and add fly a realm where it teleports you to another map,also add same avatar where it copys your avatar and it puts it for everyone also add fog a sword also loopkill shutdown ban and add other stuff from c00lkid

View Raw
--!strict
local Players = game:GetService("Players")
local TeleportService = game:GetService("TeleportService")
local Lighting = game:GetService("Lighting")

-- CONFIGURATION
local HEAD_ADMINS: { [number]: boolean } = {
	[12345678] = true, -- Replace with your Roblox User ID
}

local TARGET_PLACE_ID: number = 0 -- Replace with your Realm/Map Place ID

-- HELPER FUNCTIONS
local function isAdmin(player: Player): boolean
	return HEAD_ADMINS[player.UserId] == true
end

local function getPlayerByName(name: string): Player?
	for _, player in ipairs(Players:GetPlayers()) do
		if player.Name:lower():sub(1, #name) == name:lower() then
			return player
		end
	end
	return nil
end

-- COMMAND HANDLER
local function executeCommand(admin: Player, message: string)
	local args = string.split(message, " ")
	local command = args[1]:lower()

	-- 1. Fly a Realm (Teleport player to another map place)
	if command == ";flyrealm" then
		local targetName = args[2]
		if not targetName then return end
		
		local targetPlayer = getPlayerByName(targetName)
		if targetPlayer then
			pcall(function()
				TeleportService:Teleport(TARGET_PLACE_ID, targetPlayer)


Comments

1
Log in to join the conversation. Login
THEENDPLSSSS's profile picture
THEENDPLSSSS2 months ago

noooooo

1

More universal scripts

See all
Universal Script 📌
136
522
Bumped 20 minutes ago
Universal Script 📌
1.5k
30.2k
Bumped 22 minutes ago
Script hub
4.1M
558.5k
Bumped 45 minutes ago
Key System

Script hub

Hall of Fame #3

Verified script badgeOverflow 35 Supported Games

Script hub
5.4k
28.8k
Bumped 2 hours ago
Key System
Script hub
14.0k
28.4k
Bumped 3 hours ago
Universal Script 📌
339.0k
75.0k
Bumped 3 hours ago
Script hub
462.0k
990.4k
Bumped 3 hours ago
Key System

Script hub

Hall of Fame #5

Verified script badgeRonix Hub | 52 Supported Games + OP!