local player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:Connect(function()
if player:WaitForChild("SETTINGS").TITTLE.Value == 0 then
script.Parent.Parent.Parent.EQUIP.Visible = true
script.Parent.Parent.Parent.EQUIP.TextLabel.Text = "Basic"
elseif player:WaitForChild("SETTINGS").TITTLE.Value == 1 then
script.Parent.Parent.Parent.EQUIP.Visible = true
script.Parent.Parent.Parent.EQUIP.equip.Visible = false
script.Parent.Parent.Parent.EQUIP.unequip.Visible = true
script.Parent.Parent.Parent.EQUIP.TextLabel.Text = "Basic"
end
end)
COMMUNITY QUESTION
i am making a shop and its say me nil with waitchildren any help?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
If this is NOT a local script you can't use game.players.localplayer (just incase that's the problem..)