ai-npcs / cubzh.lua
aduermael's picture
change lua script name
cb459e8
raw
history blame
308 Bytes
Client.OnStart = function()
Camera:SetParent(World)
local ui = require("uikit")
local text = ui:createText("hello world!", Color.Black)
text.parentDidResize = function(self)
self.pos = { Screen.Width * 0.5 - self.Width * 0.5, Screen.Height * 0.5 - self.Height * 0.5 }
end
text:parentDidResize()
end