It's in this script:
leader = game.Workspace:WaitForChild("LEADERBOARDS")
myname = leader:WaitForChild("5DistanceName")
myval = leader:WaitForChild("5Distance")
while wait(2) do
script.Parent.Text = (tostring(myname.Value)" :: "..tostring(myval.Value)) -- ERROR HERE
end
The value of myval is a number, the value of myname is a string and if not then it is "-".
What is wrong?? I get this: attempt to call a string value

4 comments
Ah god I'm such a moron!!!! Thanks!
Jw, when is the next contest?
You mean Ludum Dare?
I disagree Kenetec, this is not a syntax error. The expression " print "Hello!" " is valid - it basically calls print with argument "Hello". This is also what happens here. However, what TomsGames is doing here is calling " :: " on the result of tostring - a string - and is thus "calling a string value".