Hi everyone, I would like to ask for some help. I have a textbox, and I want to change it accordingly to your group rank, I want it to be client sided, so I need to use a LocalScript. But I can't get it to work! Any help would be appreciated! Here is my current script:
local Frame = game.Workspace.CONTROLS.SurfaceGui.Frame
local Scrolling = game.Workspace.CONTROLS.SurfaceGui.ScrollingFrame
game.Players.PlayerAdded:Connect(function(Player)
if Player:GetRankInGroup(5907099) >= 254 then
Frame.Visible = false
Scrolling.Visible = true
else
Frame.Visible = true
Scrolling.Visible = false
end
end)
Thank you again, any help is appreciated!

3 comments
ScreenGuis are on the client, while Surface Guis and Billboard Guis are actually on the server (so people can see it in the workspace)
Instead of firing a remote event, you can just create a billboard gui on the server.
He didn't ask for that.