Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I am making a Holo Training Place and I need some help,anyone please correct me? [closed]

Asked by 9 years ago

This question already has an answer here:

I am making a Holo and I need help,Can anyone correct me?

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?