I got a script from here and edited a bit but still doesn't work..
game.Players.PlayerAdded:Connect(function(player)
local command = "!add"
local intValue = path
local staff = {1139304898, 2, 3}
local value2 = player.leaderstats.Strength
player.Chatted:Connect(function(msg)
if staff[player.UserId] then
if msg:sub(1, command:len()):lower() == command then
local num = string.match(msg, "%d+")
if not num then
print"error"
else
value2.Value += num
end
end
end
end)
I'm trying ingame to do !add 124213131 or !add 1 and it doens't work
