This is the error: require(assetId) cannot be called from a client. assetId = 1936396537 And this is my code that tries to require the module so I can use the custom features such as :Get()

local DataStore2 = require(1936396537)

local player = game.Players.LocalPlayer

local yale = DataStore2("YaleBux", player)

script.Parent.Text = yale:Get()

5 comments

0

use server script

0

It's displaying my baalance tho

0

o

0

I used a waitforchild and it warned saying infinite yield

0

it could mean it's not there