Hi! I’m trying to figure out how to refresh a player in BAE with the remoteEvent:FireClient() function.
Code is below:
local function pluginFunction(Args) -- keep the name of the function as "pluginFunction"
local Player: Player = Args[1]
if Player:GetRankInGroup(34102071) >= 12 then
Player.PlrStats.Host.Value = true
print('set plr stats')
remoteEvent:FireClient(Player,'PM','Server','You are now the host! Good luck.')
remoteEvent:FireClient(Player,'Refresh')
end
end