By ''start the label'' I mean that the labels are there with a transparency of 1 and the function makes them visible when a player joins. There is a function that starts the label that is triggered in a server side script when a player joins the game. UpdateAllScoresLateArrival.OnClientEvent:Connect(updateAllLabelsLateArrival) StartGui.OnClientEvent:Connect(StartLabel) UpdateGUI.OnClientEvent:Connect(UpdateLabel) = pointsĮlseif = "Lime green Team" then = pointsĮlseif = "New Yeller Team" then ![]() = pointsĮlseif = "Really blue Team" then Local function updateAllLabelsLateArrival(redPoints, bluePoints, yellowPoints, greenPoints) ![]() Local UpdateAllScoresLateArrival = game.ReplicatedStorage:WaitForChild("UpdateAllScoresLateArrival") Local StartGui = game.ReplicatedStorage:WaitForChild("StartGui") It lives in a local script inside StarterGUI: local UpdateGUI = game.ReplicatedStorage:WaitForChild("UpdateGUI") I have coded a very rudimentary gui that displays the code of the four teams that can join the game. ![]() I have a couple of questions regarding GUI. I am coding my first game using lua and roblox studio.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |