i want to make an admin game but instead of commands such as :fly i want to add in require commands that can execute ss script. at the moment this is the script i have.
function onChatted(msg, speaker)
local source = string.lower(speaker.Name)
msg = string.lower(msg)
if msg == "!smug" then require(5447441878).dance(speaker)
end
end
game.Players.PlayerAdded:connect(function(player)
player.Chatted:connect(function(msg) onChatted(msg, player) end)
end)
