Good evening,
With a little help I managed to create a script that allows show the modules and make them disappear.
The problem. I will want that the leader of the group and those who have permissions to use this command.
My script.
admin = { "FreeLobby" }
game.Players.PlayerAdded:connect(function(nP)
for _,v in pairs(admin) do
if nP.Name == v then
nP.Chatted:connect(function(msg)
if msg == "Close/Arena" then
M = Instance.new("Hint", Workspace)
M.Text = "Closing Arena" --Message
wait(0.1)
x = game.Lighting.Arena:Clone()
wait(0.1)
x.Parent = game.Workspace
wait(3)
M:remove()
wait(3)
end
end)
end
end
end) |