So I'm working on a GUI that teleports you to games I've made, although an "Unable to cast string to int" error always comes up in the output when I edit a particular line in my code:
function onClicked(mouse)
print("Teleport Script Loaded")
wait (1)
game:FindService("TeleportService"):Teleport("id")
wait (1)
print ("Teleport Script Successful")
wait (1)
end
script.Parent.MouseButton1Click:connect(onClicked)
I know it's something to do with line 4 because it manages to print "Teleport Script Loaded" but never gets past that, also it says that there's an issue with line 4 in the output.
Any ideas on what's going on?

2 comments
Remove the quotations around 'id'
I would suggest picking an answer to mark as an answer.