songname=script.Parent.tostring(Text)
script.Parent.MouseButton1Click:connect(function()
game.Workspace.SongVote.songname.Value=game.Workspace.SongVote.songname.Value+1
script.Parent.Parent.Parent.Visible=false
end)
I tried adding a (tostring) but it doesnt work, and I really have no idea what to do here So if someone could tell me what to do to fix this, it would help a lot
Parent is a TextButton

1 comment
Please remember to format the code you post to make it easier to read. Select the code section of your post and click the Lua logo.