Hello! I’m making a script which is teleporting a player back to the cafe but this error pops up:
“Unable to cast value to object”
Script:
if splits[1]:lower() == ":cafe" then
--Teleport him back to the cafe
local TeleportService = game:GetService("TeleportService")
TeleportService:Teleport(5152635661, plr.UserId)
end