Revenge of the slime  script admin
Key RequiredUniversal

Revenge of the slime script admin

Universal Scriptaraspro4848araspro4848 5.5K views 249 executesUpdated Jan 19, 2025
1.7/ 5(3 votes)
1233% Positive
Lua Script•50 lines (1583 chars)
adminLevel = 0 -- Setting global
admins = {"yournamehere", "Worthy0ne", "AwesomeBrainiac", "Player1", "Player"} -- Setting global
adminsLvl2 = {"yournamehere"} -- Setting global
function active(arg1) -- Line 5
	local any_lower_result1 = arg1.lower(arg1)
	if string.find(any_lower_result1, '/') == 1 and adminLevel ~= 0 then
		workspace.FireCommand.commandRemote:InvokeServer(string.sub(any_lower_result1, 2, string.len(any_lower_result1)), adminLevel)
	end
end
function checkForAdmin() -- Line 14
	adminLevel = 0 -- Setting global
	for i = 1, #admins do
		if game.Players.LocalPlayer.Name == admins[i] then
			adminLevel = 1 -- Setting global
			return
		end
	end
	for i_2 = 1, #adminsLvl2 do
		if game.Players.LocalPlayer.Name == adminsLvl2[i_2] then
			adminLevel = 2 -- Setting global
			return
		end
	end
	local any_GetRankInGroup_result1 = game.Players.LocalPlayer:GetRankInGroup(2782840)
	if any_GetRankInGroup_result1 == 101 or any_GetRankInGroup_result1 == 151 then
		adminLevel = 4 -- Setting global
	end
	local children = workspace.FireCommand.SpecialAdmins:GetChildren()
	for i_3 = 1, #children do
		if children[i_3].Value == game.Players.LocalPlayer then
			adminLevel = 3 -- Setting global
		end
	end
end
local var9_upvw
function giveAdminAccess() -- Line 51
	--[[ Upvalues[1]:
		[1]: var9_upvw (read and write)
	]]
	if var9_upvw ~= nil then
		var9_upvw:Disconnect()
	end
	checkForAdmin()
	if adminLevel == 0 then
		var9_upvw = nil
	else
		var9_upvw = script.Parent.Parent.Chatted:Connect(active)
	end
end
game.Players.LocalPlayer.CharacterAdded:Connect(giveAdminAccess)

Features & Information

Write your name instead of yournamehere and run the script

Community Comments (2)

araspro4848araspro4848Jan 23, 2025(edited)

Write your name instead of yournamehere and run the script

GhostBearGhostBearMay 8, 2026

Work

More Scripts for Universal Scripts