So i am Working on a startup Gui that When you click A play button (Gui) You will teleport to a random Part.
the thing is that i Can tp to the block but I dont know how To Teleport To a random block
heres the code:
Gui.MouseButton1Click:Connect(function()
game.Players.LocalPlayer.character.Torso.CFrame = CFrame.new(workspace.Game.TeleportRandom.Teleport1.Position) -- teleport
end
I have looked for help in Google But No Resluts for what i am looking for.
Do someone know How I can fix this?

2 comments
Works Well! Thank you
Please mark it as answered :)