Corentin Cailleaud commited on
Commit
fea20a4
1 Parent(s): 6d004c6
Files changed (1) hide show
  1. cubzh.lua +2 -2
cubzh.lua CHANGED
@@ -377,12 +377,12 @@ if IsClient then
377
  })
378
 
379
  local text = Text()
380
- text.Text = string.upper(string.sub(name, 4, 4)) .. string.sub(name, 5, #name)
381
  text:SetParent(NPC.object)
382
  text.Type = TextType.Screen
383
  text.IsUnlit = true
384
  text.LocalPosition.Y = 36
385
- text.FontSize = 40
386
  text.Font = Font.Noto
387
 
388
  NPC.object.OnCollisionBegin = function(self, other)
 
377
  })
378
 
379
  local text = Text()
380
+ text.Text = " " .. string.upper(string.sub(name, 4, 4)) .. string.sub(name, 5, #name) .. " "
381
  text:SetParent(NPC.object)
382
  text.Type = TextType.Screen
383
  text.IsUnlit = true
384
  text.LocalPosition.Y = 36
385
+ text.FontSize = 30
386
  text.Font = Font.Noto
387
 
388
  NPC.object.OnCollisionBegin = function(self, other)