How do you refresh a player? | BAE

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

Not a possibility for client. Use Player:LoadCharacter()

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.