You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? I want to get the UI to show for everyone in a certain group rank when a player below that group rank clicks the text button
-
What is the issue? When the Player clicks the Text button it’s only showing the Messages UI for them not the Clients in that admin rank
-
What solutions have you tried so far? i tried a remote event from client to server and it’s still only showing for the client
Client Sided Script
local called = false
local Player = game.Players.LocalPlayer
local Remote_Event = game.ReplicatedStorage.RemoteEvent
local Button = script.Parent
local Report_Menu = game.Players.LocalPlayer.PlayerGui.ScreenGui.Report_Menu
local Player_Gui = game.Players.LocalPlayer.PlayerGui.ScreenGui
local Messages = {
Player_Gui.Sucess,
Player_Gui.Submit.Error
}
local Ranks = {
Player:GetRankInGroup(10886396, 1),
Player:GetRankInGroup(10886396, 255)
}
Button.MouseButton1Click:Connect(function()
Remote_Event:FireServer()
wait(5)
Report_Menu.Visible = false
wait(5)
called = true
wait(5)
if Ranks[2] and called == true then
Messages[1].Visible = false
Messages[2].Visible = true
wait(30)
Messages[2].Visible = false
else
if Ranks[1] and called == true then
Messages[2].Visible = false
Messages[1].Visible = true
wait(30)
Messages[1].Visible = false
print("Made it to the end")
end
end
end)
Server Sided Script
local Remote_Event = game.ReplicatedStorage.RemoteEvent
Remote_Event.OnServerEvent:Connect(function(Player)
print("Thanks for submitting")
end)
Hello, I’m trying to get my UI message Report Menu to show for all players in the same group rank when a player under the group rank clicks a text button and reports i tired a remote event but the UI is still only showing for them why is that?