Remote Event only printing player name, instead of player name AND instance

i’m trying to make a character customization menu, and my issue right now is related to remote events.

(LOCAL SCRIPT)
image
i tried to send over the button’s instance via the remote event, but when the server script has to print the things i sent it, it only prints the player name.

(SERVER SCRIPT)
image

(OUTPUT)
image

2 Likes

on the local do not add player to the args, roblox does it automatically

1 Like

i removed the player from the arguments, BUT the button still returns as my username. could it be related to the buttons being under folders in a screengui in player gui?

can i see the new scripts?
(chars limit)

in the local script, it is now PE:FireServer(v), for the server script, i removed “print(Player)”

oh no, you can still print player, what im saying is only do it in the local script

i’m trying to send the color names over to the server so i can make the colors seen by all players. the buttons are named the colors they have
image
testing ui of course

cool, anything in the console
(you gotta give me more to work with)

you mean output? it just prints my name (which is supposed to be the button’s name…) and no errors.

i think it may also have to be v in the serverscript so
player,v

tried that, nothing changed (i need to have 30! characters)

yeah idk man, I’ve never seen tables and remotevents being used together, maybe look around the dev forums for something like that

well im not putting an entire table in the remote event argument, its just the button’s instance

still experiencing this issue by the way. if anyone knows why that’d be useful

NEVERMIND… literally jsut fixxed it by randomly swapping up the arguments

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