if Players.leaderstats.Balloon.Value>=1 then
function addClick(hit)
script.Parent.Parent.Head_Stv.FaceFace.Transparency = 1
script.Parent.Parent.Head_Stv.HappyHappyFace.Transparency = 0
wait(5)
script.Parent.Parent.Head_Stv.FaceFace.Transparency = 0
script.Parent.Parent.Head_Stv.HappyHappyFace.Transparency = 1
end
script.Parent.Touched:Connect(addClick)
end
COMMUNITY QUESTION
The first line is not okay ,i need help, can you guys help me ?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
this is because "Players" variable does not exist, give a little context, what exactly do you want to achieve?
what do you mean , i didn't get that
make sure you define the Players variable. local Players = game:GetService("Players")