So im trying to make a teleport script that teleports to another place and for whatever reason i keep geting errors :

local TeleportService = game:GetService("TeleportService")
local player = game.Players.LocalPlayer

script.Parent.MouseButton1Click:Connect(function()
	TeleportService:Teleport(6945240687, player)
end)

The local script is located in a text button named "PlayButton" I checked the id and its the right id, the place is created, i don't know whats wrong.