I am making a game and I decided to make a system where you can give people thumbs ups. However, it is not working, as when you click the submit button, it look for the Path, and not the text, and I need a way to get the script to look for the text. Here is the script:
local playname = script.Parent.Parent.Player.Text
while true do
wait(1)
local Namez = script.Parent.Namez.Value
Namez = playname
end
script.Parent.MouseButton1Down:connect(function()
wait(0.5)
local value = game.Players.Namez.leaderstats["Thumbs Up"].Value
value = value + 1
end)
