#i am new to scripting i was making ui and in serverscript service i was using a module script to

1 messages · Page 1 of 1 (latest)

sacred spruce
#

to project the money the player has to a ui text label and the script went wribg

#

local module = {}
local player = game:GetService("Players").LocalPlayer
local UI = player.Player.GuiWaitForChild("Indicator", 10)
function Simplify(number)
local value = nil
if number >= 1000 then
value = string.format("%1fk", number/1000)
local text = Textlabel.Text
end
return value
end
local visualNumber = Simplify(1599)
return module

signal cairn
#

looks like you're returning a blank table out of that module script

#

reason for that?

sacred spruce
#

im new

#

i wasnt trying to

sacred spruce
signal cairn
#

that's fine just try to evaluate what your code is doing

vale crane
#

dont use models if ur new

sacred spruce
sacred spruce
vale crane
frigid wyvern
#

💀

#

tell me what moddules do vro 😭

sour lance
sacred spruce
sacred spruce
#

he told me to read

#

a d i didnt

placid thunder
#

You just have to add a LocalScript under a TextLabel

#

Not sure your friend is the professional you think he is

sacred spruce
sour lance
sacred spruce
sour lance
sacred spruce
#

he is not noob