StringValue printing blank

This post has been closed by the user.

Can I see your hierarchy? As well when you print symbols[RandomNumber] what do you get?

what is hierarchy? Also when i print symbols[RandomNumber], it works but its printing blank when i print on another script

i have 4 of the same script
image
image

I am referring to the explorer, where are these scripts parented to?

image
When i try to print with the one in the textlabel it prints out but when i try to with the other script it comes out blank. Not definitely but 4/2 of them does.

Okay which scripts don’t print correctly can you show me the explorer of them?

It changes everytime let me explain what im trying to do
There is 4 stringValues and 4 random symbols on the values
and there is another stringvalue that combines them

Okay so when you print can I see the line that you call the print function?

local ValueMain = script.Parent

local BacaValue = script.Parent.TestBacaPart.Value.Value
local BoruValue = script.Parent.TestBoruPart.Value.Value
local SandalyeValue = script.Parent.TestSandalyePart.Value.Value
local AgacValue = script.Parent.TestAgacPart.Value.Value
wait(20)
print(BacaValue)
print(BoruValue)
print(SandalyeValue)
print(AgacValue)

ValueMain.Value = BoruValue.. SandalyeValue.. BacaValue.. AgacValue
print(ValueMain.Value)

image

I suppose the script you gave me is the CodeHouse.Script?

Which variables are printing empty?

yeah it is codehouse.script
everytime i run the game it changes

print(BacaValue)
print(BoruValue)
print(SandalyeValue)
print(AgacValue)

2 of them or 3 of them randomly comes out blank everytime i run the game

nvm, fixed it. ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.