MatkoRBX
(Matko)
July 24, 2020, 6:02am
#21
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
Syclya
(zzz)
July 24, 2020, 6:03am
#22
Already answered, please do not paste duplicates as it leads to spam.
MatkoRBX
(Matko)
July 24, 2020, 6:04am
#23
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
MatkoRBX
(Matko)
July 24, 2020, 6:07am
#25
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
angrybino
(angrybino)
July 24, 2020, 6:11am
#27
Ipairs and pairs aren’t valid in this situation, using pairs is just fine.
1 Like