local value = nil local TeleportService = game:GetService("TeleportService") TeleportService.LocalPlayerArrivedFromTeleport:connect(function(LoadingGui) value = LoadingGui.Test.Value end) print(value)
When the script runs print it still outputs nil. How can I make it so it gets the proper value (10) from the custom loading gui?