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 10 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:

01game.Players.ChildAdded:connect(function(player)
02player.Chatted:connect(function(chat)
03if player:GetRankInGroup(config.GroupId.Value) >= config.RankId.Value then
04    if string.lower(chat) == "sf" then
05if not game.Workspace:FindFirstChild("Thing") then
06game.Lighting.Thing:Clone().Parent = game.Workspace
07end
08elseif string.lower(chat) == "close sf" then
09if game.Workspace:FindFirstChild("Thing") then
10game.Workspace.Thing:Remove()
11end
12end
13end
14end)
15end)

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?