I used this but I need help on rephasing it or finishing it for me.
admin = { "admin" } --put the names of the people you want to be able to do the commands here
game.Players.PlayerAdded:connect(function(nP)
for _,v in pairs(admin) do
if nP.Name == v then
nP.Chatted:connect(function(msg)
if msg == "computer load blah" then
x = game.Lighting.Random:Clone()
x.Parent = game.Workspace
wait(3)
end
end)
end
end
end)
admin = { "admin" } --put the names of the people you want to be able to do the commands here
game.Players.PlayerAdded:connect(function(nP)
for _,v in pairs(admin) do
if nP.Name == v then
nP.Chatted:connect(function(msg)
if msg == "computer exit blah" then
game.Workspace.Random:Remove()
wait(3)
end
end)
end
end
end)
