#just wanna know how to make a text update when i get 1 cash
325 messages · Page 1 of 1 (latest)
cash:GetPropertyChangedSignal("Value"):Connect(function()
UrText.Text = cash.Value
end)
** You are now Level 12! **
its indexing nil
Show code
TextLabel.Text = cash.Value
end)```
What’s the error?
attempt to index nil with GetPropertyChangedSignal
Maybe do
While true do UrText.text=cash.value
index nil with Value
Can u show code?
while true do
TextLabel.Text = cash.Value
end
i thought blud was updating a textlabel as
cash.Value += 1
wha
Add a wait
** You are now Level 7! **
why are you using
while true do
Textlabe.Text = cash.Value
end
still nil
Idk none of his things are working
print cash
maybe you can try
cash:GetPropertyChangedSignal(function()
TextLabel.Text = tostring(cash.Value)
end
this bru
this is the same
;-;
thats why it says nil ;-;
wdym
Cash.value
it has always been getpropertychangedsignal
cash:GetPropertyChangedSignal("Value"):Connect(function()
TextLabel.Text = tostring(cash.Value)
end
OH F
LMAO
NICE ONE
😭
@vocal phoenix
I FEEL DUMB
wha
its
cash:GetPropertyChangedSignal("Value"):Connect(function()
TextLabel.Text = tostring(cash.Value)
end
not
cash:GetPropertyChangedSignal:Connect(function()
TextLabel.Text = tostring(cash.Value)
end

show the whole script
TextLabel.Text = tostring(cash.Value)
end)```
Whole script
Even varibles
all of the scripts?
** You are now Level 5! **
Just this one
it said
LocalScript:1
thats the whole thing
the rest are in other scripts
yes
theres no variables
Um
and its just
cash:GetPropertyChangedSignal("Value"):Connect(function()
TextLabel.Text = tostring(cash.Value)
end)
No cash varible?
?
leaderstats
@feral bronze cash might be nil
yeah
cause its the first line
no variables at all
Define cash
local leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = player
local cash = Instance.new("IntValue")
cash.Name = "Cash"
cash.Value = 1
cash.Parent = leaderstats
end)```
That’s a different script
Has to be in one script
Varibles only work in one script
ohh
They don’t carry over
damn
so do i define cash in the local script
Yes
yes
Triple yes
TextLabel.Text = tostring(player.leaderstats.cash.Value)
end)```like this?
What about the first cash
Just define the varible
OH MY LORD
...

dead
i dont understand everything 😭
Local cash=game.players.local player.playergui.screengui.textlabel
I’m on mobile do retype that
WAIT
in the parantheses?
ITS IN LEADERSTATS
IM DUMB
OH MY GOD
in the parantheses?
No as it’s own line
At the top
It’s easier so we can use cash multiple times
Called a varible

local players = game:GetService("Players")
local lp = players:WaitForChild("LocalPlayers")
local cash = lp:WaitforChild("leaderstats"):WaitForChild("Cash")
local gui = whereevertheguiislocated
local frame = gui:WaitForChild("Frame") -- (assuming its inside a frame)
local TextLabel = Frame:WaitForChild("TextLabel")
cash:GetPropertyChangedSignal("Value"):Connect(function()
TextLabel.Text = tostring(cash.Value)
end)
i think i did something wrong here ngl
That’s better
but whatever
goodness
Those who Waits for Childs:
cash isnt Cash
nah mine is better
😄
WaitForChild has 2 meaning..
either would have worked
cuz while true will use script a lot
It waits for the child
waitforchild 😁
waitforchild 😫
Ik
so whats better
WaitForChild("")🗿
why
nah
Idc about stinky mobile
why do you use
while true do
TextLabel.Text = cash.Value
end
i am not talking abt mobiles
i mean overall
Why NOT
CUZ
its gon crash the game..ngl
right
Idc
BRO
Add a wait
no like overall low-end to high-end its gonna be laggy
WHT DU EVEN CARE IF BOTH WORK AND MINE IS BETTER FOR PERFORMANCE
infinite yield on LocalPlayers 💔
💔
Player*
oh wait
lemme see the script
still infinite yield
local players = game:GetService("Players")
local lp = players:WaitForChild("LocalPlayers")
local cash = lp:WaitforChild("leaderstats"):WaitForChild("Cash")
local gui = whereevertheguiislocated
local frame = gui:WaitForChild("Frame") -- (assuming its inside a frame)
local TextLabel = Frame:WaitForChild("TextLabel")
cash:GetPropertyChangedSignal("Value"):Connect(function()
TextLabel.Text = tostring(cash.Value)
end)
Show code
BRO ITS GONNA BE LAGGY FOR ALL IF U USE IT IN EVERYTHING
local lp = players:WaitForChild("LocalPlayer")
local cash = lp:WaitforChild("leaderstats"):WaitForChild("Cash")
local gui = whereevertheguiislocated
local frame = gui:WaitForChild("Frame") -- (assuming its inside a frame)
local TextLabel = Frame:WaitForChild("TextLabel")
cash:GetPropertyChangedSignal("Value"):Connect(function()
TextLabel.Text = tostring(cash.Value)
end)```
i tried this lol
local players = game.Players:WaitForChild("LocalPlayer") turns out this wont work
BRO THIS IS VERY WRONG
wait lemme replace the gui thing
sigh 💔
i did that for the button
Do game:GetService(“Players”)
its the same
patience 📉📉📉 
Most local scripts will always have that
bro i am leaving there is people that need real help
wait for child is not a valid member of Players
This guy needs help
this is killing me
in wht
show code
💔
just invite me to the studio atp
let me fix it
:brok
damn bro
or me
local lp = players.LocalPlayer
local cash = lp:WaitforChild("leaderstats"):WaitForChild("Cash")
local gui = script.Parent.Parent
local frame = gui:WaitForChild("Frame") -- (assuming its inside a frame)
local TextLabel = Frame:WaitForChild("TextLabel")
cash:GetPropertyChangedSignal("Value"):Connect(function()
TextLabel.Text = tostring(cash.Value)
end)```
i am good scripter
i didnt make the script ;-;
okay i dont see anything wrong
i will retype the code
tbh just scrap @feral bronze code
Let @deft sequoia do it
:p
bro is W
patient 📈📈📈
because of those WaitForChild
stonks
me when WaitForChild
bro its easy code r u kidding
🤑
silly little @feral bronze
you dont need waitforchild on replicated storage
r u tripping
RS.Modules.AdminManager
cool:)
Tbh I only really use it if I get an error
faster
Or a bug
BRO THIS IS DRIVING ME INSANE
don't spam it
nah. id wait forchild/.
fr
ok
its normal
hold on lemme show u how much i really spam it
thunk you :D
😭
a child waits for child which waits for child which is waiting for a child
yo can i have a question

indeed
Yes you can have one
waits for child
DANG
that is really aint that bad
how to get helper roll cuz i almost help in every thing i see @shy copper
on gui ok
Ig
Mod application
Its a staff role
But a low one
again???
I quit
nothing wrong
they took 4 days to gimme the scripter roll
too many child’s
They have million tickets to go through.
ok ve
You have to be patient.
Anyway guys, either help the guy or go to #💬︱general if you wanna have a talk
we finished rn
its already solved
we js waiting for child
waiot no
Then #💬︱general, please.
- i was alr healping

resl
:Sob
i am gonna do smth else
sheriff is coming
alr back to helping