Problem with one of my scripts

Had a issue with the code listed above, Unknown identifier CustomPlayer. was following a video to make a teleporter, video listed below not quite sure why it doesn’t work for me but worked for everyone else am i missing a class (using{…}). Thanks

@LiGreatNessBall See this in-depth tutorial by Wahlbeck. What you’re looking for starts around 17 minutes in.

In short, you have to create a custom_player class that you add all players to so that you can refer back to that player map you’ve created. In your code right now, you are referencing a map of players that doesn’t exist and no players are in.

1 Like

if you scrub to 3mins 20 of that tutorial he explains that he covers the custom player class in a previous tutorial

i think its this https://www.youtube.com/watch?v=eg2rK-hDXDo&t

greame bulls tutorials are some of the best on youtube

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.