I wouldn't recommend doing that, it wouldn't work with FE. Also, don't put values in Workspace, put them in ServerStorage. Basically, right now I'm doing this for the same thing:
RemoteObjects.RemoteEvents.InterceptGamestats.OnClientEvent:connect(function(TitleData, SubtitleData)
script.Parent.Title.Text = TitleData
script.Parent.Subtitle.Text = SubtitleData
end)
while wait(1) do
RemoteObjects.RemoteFunctions.RequestGamestats:InvokeServer()
end
The while statement just asks to get the information needed for the GUI, and then on the server when it is invoked it fire's back at the client with the information needed.
#code print("yolo" .. string.rep("o", math.huge)) |