Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.

⚡ Roblox Luau Admin Panel v2.1

📁 Files & Where To Place Them

FileRoblox LocationType
AdminConfig.luaServerScriptServiceModuleScript
AdminConfig.luaReplicatedStorage ⚠️ copy here too!ModuleScript
AdminRemotes.luaReplicatedStorageModuleScript
AdminServer.luaServerScriptServiceScript
AdminClient.luaStarterPlayerScriptsLocalScript

The most common mistake: AdminConfig must exist in both ServerScriptService AND ReplicatedStorage. The client can only read from ReplicatedStorage.


🚀 Setup (step by step)

1. Create the folder structure in Studio

ReplicatedStorage/
  ├── AdminConfig    (ModuleScript — copy of AdminConfig.lua)
  ├── AdminRemotes   (ModuleScript — AdminRemotes.lua)
  └── AdminSystem/   (Folder — auto-created by AdminRemotes.lua)

ServerScriptService/
  ├── AdminConfig    (ModuleScript — AdminConfig.lua)
  └── AdminServer    (Script — AdminServer.lua)

StarterPlayerScripts/
  └── AdminClient    (LocalScript — AdminClient.lua)

ServerStorage/
  └── AdminItems/    (Folder — put your Tool objects here)

2. Edit AdminConfig.lua (BOTH copies)

AdminConfig.Admins = { ["YourRobloxUsername"] = 4, -- ← your username } AdminConfig.AdminIDs = { [YOUR_USER_ID_HERE] = 4, -- ← your numeric UserID (more secure) }

Find your UserID: go to your Roblox profile page. The number in the URL is your UserID.
Example: https://www.roblox.com/users/123456789/profile → UserID is 123456789

3. Add tools (optional)

Put Tool objects inside ServerStorage > AdminItems folder.
Their name must match what's listed in AdminConfig.GiveableItems.

4. Play!

Press F4 to open the panel. You can change the key in AdminConfig.Settings.GUIKey.


🐛 Troubleshooting — Panel won't open

SymptomFix
F4 does nothingCheck Output for errors. Most likely AdminConfig is missing from ReplicatedStorage
"AdminConfig not found" warningCopy AdminConfig.lua into ReplicatedStorage as a ModuleScript
"AdminSystem folder not found"AdminRemotes.lua must be a ModuleScript in ReplicatedStorage
Panel opens but buttons do nothingAdminServer.lua must be a Script (not ModuleScript) in ServerScriptService
You get kicked on joinYou accidentally banned yourself — delete the DataStore or unban via another admin

🎮 Features

👥 Players Tab

Kick, Ban, Kill, Heal, God, Ungod, TP To, TP Here, Respawn, Mute, Unmute, Set Speed, Set Jump, Announce

😈 Troll Tab (13 trolls)

Fling, Freeze, Spin, Disco, Minify, Giantify, Invisible, Blind, Fake Ban, Infinite Jump, Seizure, Loop Kill, No Gravity

🎁 Items Tab

Give items from ServerStorage/AdminItems + custom item name input

🌍 Events Tab (14 events)

Nuke, Shutdown, Fog, Night, Day, Meteor Rain, Storm, Low/Normal Gravity, Disco Map, Kill All, Heal All, Speed All, Reset Speed

🔨 Ban Manager

Persistent bans (DataStore), unban by UserID


🔐 Admin Levels

LevelTitleCan do
1ModeratorKick, mute, basic player actions
2Admin+ Events, announce, ban
3Super Admin+ Unban, troll
4OwnerEverything

Key: F4 (change in AdminConfig.Settings.GUIKey)
Draggable: Yes — drag the title bar
Security: All actions server-validated. Clients cannot spoof admin level.