#tp chat command what am i doing wrong?

1 messages · Page 1 of 1 (latest)

abstract shell
#
script.Parent.Triggered:Connect(function(textSource, text)
    local name = text:split(" ")[2]
    game.Players.LocalPlayer.Character:PivotTo(workspace.Teleports[name].CFrame)
end)