Why doesn't this work? Here is how the GUI is setup; http://gyazo.com/064225118cd9ddbffe6fd573d6a61fe8
playerNameforPTS = script.Parent.Parent.TextBox.Text -- Takes the value from the TextBox
function Click(mouse) -- leave this
playerNameforPTS = script.Parent.Parent.TextBox.Text -- Updates the value
print(playerNameforPTS) -- Prints it
if game.Players:FindFirstChild(playerNameforPTS) then
game.Players.playerNameforPTS.leaderstats.Points.Value = game.Players.playerNameforPTS.leaderstats.Points.Value+1
end
end
script.Parent.MouseButton1Down:connect(Click)

2 comments
Um, thats just a copy of what I did lol
Um, I'm pretty sure it wasn't m8!