So I want to make a training place and so far I have this:
game.Players.ChildAdded:connect(function(player) player.Chatted:connect(function(chat) if player:GetRankInGroup(config.GroupId.Value) >= config.RankId.Value then if string.lower(chat) == "sf" then if not game.Workspace:FindFirstChild("Thing") then game.Lighting.Thing:Clone().Parent = game.Workspace end elseif string.lower(chat) == "close sf" then if game.Workspace:FindFirstChild("Thing") then game.Workspace.Thing:Remove() end end end end) end)
Marked as Duplicate by Perci1 and BlueTaslem
This question has been asked before, and already has an answer. If those answers do not fully address your question, then please ask a new question here.
Why was this question closed?