Hiya! I want to make this choosing team GUI where it opens when the player joins.
Here is the code:
local RStorage = game.ReplicatedStorage
local Event = RStorage:FindFirstChild("GuiOpen")
local function OpenGui()
script.Parent.Enabled = true
end
Event:FireServer(game.Players.PlayerAdded:Connect(OpenGui))
I have never used RemoteEvents before. So I dont know what I can do with them.
This is a LocalScript and it is parented under the ScreenGui
