Slap Battle: Admin Script

-- Notify admin:SendNotification("Slapped " .. target.Name .. " with power " .. math.floor(power)) end

local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") -- Remote event for client -> server communication local AdminRemote = Instance.new("RemoteEvent") AdminRemote.Name = "AdminCommand" AdminRemote.Parent = ReplicatedStorage Slap battle admin script

local cmd = args[1] table.remove(args, 1) -- Notify admin:SendNotification("Slapped "

local player = Players.LocalPlayer

-- Remove prefix and split local args = {} for word in message:sub(2):gmatch("%S+") do table.insert(args, word) end Slap battle admin script