Hey, So I tried making a piggy game by following the steps given in AlvinBlox’s “How To Make A Piggy Game” Video series.
I was in the process of scripting a part where the players get teleported to the selected map, in the parts called “PlayerSpawn” but when I tried to test it, the players were not getting teleported instead they would stay in the lobby!
It was also giving me this error saying “ServerScriptService.Game Logic:34:attempt to call a nil value”
Here’s the Game Logic Script, as well as a module script called “RoundModule”.
Game Logic Script:
RoundModule Script:
Please provide me a solution, or another possible syntax to teleport a player to the parts called “PlayerSpawn” (Also I changed the position of the parts and also deleted some them too, also the parts are in the folder called “PlayerSpawns”)
I’ve tried everything i can to solve this problem by re-writing the scripts and teleporting the players to different parts.