openUIView

--When a player enters the game, execute this function
local function player_enter(event)
local uin=event.eventobjid--The mini account of the player entering the game
local uiid="6986982063319417057"--The interface id to be opened, replace your UIid here
Player:openUIView(uin,uiid)--Open the interface for the player
end
ScriptSupportEvent:registerEvent([=[Game.AnyPlayer.EnterGame]=],player_enter)