Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I need help on Remote Functions please? [I need help!]

Asked by 5 years ago
Edited 5 years ago

So I have FE turned on and I need to access PlayerGui to get into an AdminPanel to find the "selected" player. How would I do this? I read the wiki and I don't really understand the wiki fully. I like someone helping me with their own words usually. I don't have a script because I don't really know where to start. I'm not requesting the script, I just wanna know how to use remote functions to do what I said.

More in-depth

So I have this admin panel in PlayerGui. I'll show a picture. https://gyazo.com/0dfa8aaf2287dee4a9fad9029f2e3418

You have to select the player to do said function to them. Because PlayerGui does not replicate to the server, I want to grab the selected player with a Remote Function and tell the server the selected player. I've never used a remote function, so how would I do this? The wiki didn't make much sense to me. So basically, use a remote function to get something from the player gui

0
Could you explain a little more about what you're trying to do? MachoPiggies 526 — 5y
0
@MachoPiggies There, I updated the topic with a better explanation under "More in-depth" Sharkeedub 179 — 5y

1 answer

Log in to vote
0
Answered by
Prestory 1395 Moderation Voter
5 years ago

To access PlayerGui you need to use a local script if filtering enabled is turned on a server sided script cannot access PlayerGui if filtering enabled is turned on.

Also if you wan't to access the PlayerGui heres how you do it (local script)

game.Players.LocalPlayer.PlayerGui:FindFirstChild(" ") -- Name of gui
0
Also if this is not what you wanted i still didn't understand. Prestory 1395 — 5y
0
I wanna know how to use a remote function to get info from the player gui and bring it back to the server Sharkeedub 179 — 5y
Ad

Answer this question