I am still working on a Holo and A LOT of people helped me,I want to thank them but I still need to finish the script. so heres what I got
a=Holo.config b=a.RankId c=a.GroupId game.Players.PlayerAdded:connect(function(plr) if player:GetRankInGroup(c.Value) >= b.Value then player.Chatted:connect(function(msg) if string.lower(chat) == "sf" game.Lighting.Thing:Clone().Parent = game.Workspace elseif string.lower(chat) == "close sf" then if game.Workspace:FindFirstChild("Thing") then game.Workspace.Thing:Remove() end end
I don't know if this helps but right here
if string.lower(chat) == "sf"
you don't have then on the if statement, Proper way of writing this would be
if string.lower(chat) == "sf" then -- code end
Probably just a typo or I could be missing something but that appears to be your first issue.