#[] not working on adonis
1 messages · Page 1 of 1 (latest)
string?
what do you need [] then for lol
do you get an error if you try doing that trough the dev console in-game
remove []
also what do you mean by it requires []?
thats not how strings work
pretty sure
cant really help now as i dont have studio access
want what
no i meant like to startup studio
im on phone
gonna look on the devforum
yeah thats what i was thinking
no thats just not how you do that
??
Remove the []
using [ ] means youre setting the value as a table like thing which isnt a string
it needs a string
what are you trying to do 😂
Also [] is not an array as far as I am aware, {} is an array/dictionary
an example of [] would be game:GetService("Workspace")["Example Folder"]
you cannot assign [] as a variable
@woeful junco
You dont need Get service but you can if you want, it would be: game:GetService("ServerStorage").PlayerData.LOUDRAFAOTV.Skills.Value
or game.ServerStorage.PlayerData.LOUDRAFAOTV.Skills.Value
show me
if you dont use getservice you're a fake developer
change my mind
(outside of adonis that is.)
getservice is irrelevant in this context lol
what are you executing
send the script
okay
No i'm on about the script you executed which caused the error
I'm assuming it was with :s
What did you execute
because the string value cannot be assigned with []
wait
🤦♂️
I'll test it myself in roblox studio
if it's telling you you cant do that, I'm fairly certain that you can't do that
That value can only be one value, so just remove the []
show me
so what did you mean it didn't work at all 😂
you prbably did it wrong
a wrong mind wont admit its wrong.