Position is not a valid member of Player

When receiving an event on the server from the client, the first parameter you receive is always Player.

Instead of sending both Player and item,

copyKeyGUI:FireServer(Player, item)

remove the Player and only send item:

copyKeyGUI:FireServer(item)
1 Like

Already answered, please do not paste duplicates as it leads to spam.

My bad, I was typing it up before you sent your message.

2 Likes

Fortunately, everything works now! There are a few errors but then I can probably fix them on my own now. Thank you! I learned some valuable stuff due to all of you:]]

1 Like

You should take a look at these articles and read through them to get a better understanding of what you’re doing:

Roblox Client-Server Model
Remote Functions and Events

You’ll understand the exact ways to send data between client and server.

2 Likes

Thank you for the links. I’ll be checking them out later.

1 Like

Ipairs and pairs aren’t valid in this situation, using pairs is just fine.

1 Like