so im making a tele GUI but currently it is not working
local tele = workspace.Teleports.Test
local cords = tele.Position
function Click()
script.Parent.Parent.Parent.Parent.Character.Torso.CFrame = CFrame.new(cords)
script.Parent.MouseButton1Down:connect(Click)
end
it doesn't show a error in dev console so im not sure what is wrong

1 comment
In " local tele = workspace.Teleports.Test " It should be " local tele = game.Workspace.Teleports.Test "