Help on a command

Player doesnt exist
You have player only

--!strict
--!optimize 2
local Players = game:GetService("Players")
local TeleportService = game:GetService("TeleportService")

Players.PlayerAdded:Connect(function(player:Player):()
	player.Chatted:Connect(function(message:string):()
		if message == "PLACEHOLDER" then
			TeleportService:Teleport(113490953932043,player)
		end
	end)
end)
1 Like