I am trying and trying, it just won't work. I'm not sure what is wrong. I have the lighting objects correct , it's the script that's failing
Why won't it work?
admin = { "FergotCheese","StargateOne" }
game.Players.PlayerAdded:connect(function(nP)
for _,v in pairs(admin) do
if nP.Name == v then
nP.Chatted:connect(function(msg)
if msg == "Run/Aim" then
x = game.Lighting.Aim:Clone()
M = Instance.new("Hint")
M.Parent = game.Workspace
M.Text = "Ran Aim"
wait(0.1)
x.Parent = game.Workspace
wait(3)
M:Remove()
end
end)
end
end
end)
if msg == "End/Aim" then
M = Instance.new("Hint")
M.Parent = game.Workspace
M.Text = "Ended Aim"
game.Workspace.Aim:Remove()
wait (1)
M:Remove()
end
end)
end
end
end)
