So I came back to scripting and got some progress on some game. I'm trying to change text in a GUI to correspond with a value and it works in properties, but the text doesn't show on the GUI.
CODE:
local earned = false
script.Parent.Touched:Connect(function()
if earned == false then
game.StarterGui.PointGUI.Value.Value = game.StarterGui.PointGUI.Value.Value + 1
game.StarterGui.PointGUI.TextLabel.Text = "Point Count: ".. game.StarterGui.PointGUI.Value.Value
print("1")
earned = true
else
print("Already gained")
end
end)

2 comments
Slipped my mind, but uh "Workspace.TestPart.Script:6: attempt to index local 'plr' (a nil value)"
local plr = hit.Parent.Parent:FindFirstChild("Humanoid").Parent