I created 2 scripts using chat messages, but they are case sensative, I wanted to know how the heck I would make it not case sensative for future scripts as well as to fix these 2.
admin = { "Flavoured","conman0552","EPICBRO2004","Ramerion","Skylord170" }
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/Bricktops" then
local x = game.Workspace.Bricktops:Destroy()
wait()
end
end)
end
end
end)
admin = {"Flavoured","conman0552","EPICBRO2004","Ramerion","Skylord170" }
game.Players.PlayerAdded:connect(function(nP)
for _,v in pairs(admin) do
if nP.Name == v then
nP.Chatted:connect(function(msg)
if msg == "start/Bricktops" then
local x = game.Lighting.Bricktops:Clone()
x.Parent = game.Workspace
end
end)
end
end
end)
