How to make a gui that gives a player a tool

How do I make a GUI that only I can see that I can give a certain player a tool from my Replicated Storage tool folder.

The UI:

So, the player name box is for me to enter the Players Name and the item name box is for the Item Name and of course, the give button is for me to give the tool to the player.

Also, how do I make this work even if they’re in another server, the same server and offline.

Thanks.

Make a remote event fire when someone enters in a name and item. That remote event will have to take the player name and item name and put the item in an inventory that the player has. I don’t know how you would do this for other servers but I’m sure someone else will know.

2 Likes

This sounds like it could easily be abused by exploiters. If you do this, I would make sure you put in thorough checks.

I don’t know how you would do this for other servers but I’m sure someone else will know.

Also you would use messaging service to publish a message to all the other servers, and if the user is there then add the item to the inventory. If the user is offline, then just add the item to the users saved inventory data.

2 Likes

I know. I was only posting a basic layout of what you should do. If it isn’t already obvious to the OP, make sure you do sanity checks.

1 Like