#How can I modify a value that was added with Instance.new (not in the same class)?

82 messages · Page 1 of 1 (latest)

fathom sorrel
#

So like what does this mean to a 📁

clear brook
#

well

#

it's a string value

#

but it should work with a 📁

#

or whatever that is lol

#

if you do have an idea in mind

fathom sorrel
#

I’m confused on the question since u said not the same class

clear brook
#

added values to this folder, now i need to be able to call them

#

but i can't even call them at all

#

can't even print the name of the new instance

clear brook
#

Script, Local script

#

i made a

#

instance.new system thingy in script

#

i wnt to call it in Local script

#

but idk how

#

(the StringValue)

fathom sorrel
#

So u want to call a String value from server to client

clear brook
#

well sure

hearty sigilBOT
#

studio** You are now Level 1! **studio

fathom sorrel
#

So where ever the String goes to like player or where

clear brook
#

i just wanna call the Instance.new("StringValue")

#

Replicated Storage

fathom sorrel
#

Why not just make the String in Replicated Storage

clear brook
#

it's alot of stuff, and im using https data to do it

#

for _, bla bla instance.new

#

it's faster and easier

#

so yes

#

like 60 stringvalues

fathom sorrel
#

Why not do a table like {{key=“Name”}}

clear brook
#

wat

fathom sorrel
#

Then do 60x that but inside the {}

clear brook
#

uh

#

how do i call it from local script tho

#

also just no

#

i spent like

#

1 hr and a half on this

fathom sorrel
#

I’ll get on and show u

clear brook
#

im not gonna change plans lmao

#

ok

fathom sorrel
#

I’m still going to help u know

clear brook
#

ok

#

lmk when ur on

clear brook
#

wait so is it possible tho or na

fathom sorrel
#

so what does that mean lol

clear brook
#

what

fathom sorrel
#

so many people asking for help lol but i can do it

clear brook
#

mb

#

take ur take

#

thank

fathom sorrel
#
local Keys = {
    {key = 'String1',Value = 'Name1'},
    {key = 'String2',Value = 'Name1'}
}
local Replicated = game.ReplicatedStorage
for i,v in pairs(Keys) do
    local String = Instance.new('StringValue',Replicated)
    String.Name = v.key
    String.Value = v.Value
end```
#

now u can do a Value in the after ''

clear brook
#

alr 1 sec

#

something is bugging my game bruh

#

maybe i need to use Continue

hearty sigilBOT
#

studio** You are now Level 2! **studio

clear brook
#

ik what it does

#

but ys

#

nop

fathom sorrel
#

so now its going to be fun doing this since u have to do 30x of what i showed
but to call a String in a local islua local Replicated = game.ReplicatedStorage local String1 = Replicated.Name1

#

but create a Folder to hold those strings

clear brook
#

bro

#

can you help rq

#

im getting mad

#

it was woking fine

#

now it isnt

fathom sorrel
#

so whats the problem

clear brook
#

nvm fixed it

#

python issue

fathom sorrel
#

lol python is more annoying than C#

clear brook
#

!!!!

#

yes

#

im not happy

#

FIXED

#

apparently

#

you can obtain the value

#

but i mae a stupid mistake

#

ty

#

andgood bye

#

!close