Help with admin panel

at the moment i am making a admin Gui panel. when i use the admin panel i can explode myself on my screen but not on friends so it seems to be a client side bug that I don’t know how to fix. any ideas on ho to fix. btw the scripts are in a local script would that have anything to do with it but when i move into a normal scripts it doesn’t work

2 Likes

This would be in #help-and-feedback:scripting-support

3 Likes

Use RemoteEvents to communicate from client → server → all clients

2 Likes

First off, it’s not a bug. If the script’s been specialised, made in/for, a local script, it’s bound to be client-sided. You just need to change a few variables so it suits a server script.

RemoteEvents are an option too but using them adds a risk factor, considering exploiters are still around.

3 Likes

Ok thanks!! i think i know how to fix it now!!!

2 Likes

Just do a check on the server.

— Group game
If player:GetRankInGroup(game.CreatorId) ~= 255 then return end
— Non group game
If player.UserId ~= game.CreatorId then return end