To create a script with Visual Basic Code on Windows 11 (or 10), use these steps: Click the File menu and select the "New ...
local script = ... script.Awake = function() -- create an instance from a Inspector assigned prefab script.go = Object.Instantiate(script.InspectorPrefab) end script.Update = function() -- make it ...