Hello, I am trying to build a C++ compiler on ROBLOX, and before I write the actual coding, I write simple blocks of code that aren't part of the program just to test if everything is working ok. This is what I've done:
-- Script:
MainCompiler = require(script:WaitForChild("script.Parent.Parent.Parent.Parent.Workspace.MainCompiler.MainCompiler"))
script.Parent.MouseButton1Click:connect(function ()
MainCompiler:printtext("Hello World")
end)
-- ModuleScript:
local M = {}
function M:printtext(text)
print(text)
end
return M
When I debugged the code, I got this in orange: **14:19:05.086 - Infinite yield possible on 'Players.Firplius.PlayerGui.ScreenGui.Frame.TextButton.Script:WaitForChild("script.Parent.Parent.Parent.Parent.Workspace.MainCompiler.MainCompiler")'
What is an infinite yield, and what does it mean if I get blue, red, or orange as text in the output?
