Hey! My name is DivScripts.
Is there anyone who knows how I can get the UserId from someone in Discord from a roblox studio script? Or how to insert into a table a “value” with a string as name and not a number?
Hey! My name is DivScripts.
Is there anyone who knows how I can get the UserId from someone in Discord from a roblox studio script? Or how to insert into a table a “value” with a string as name and not a number?
This is easy. You can’t use the table.insert() method, you have to do this:
myTable["yes"] = "hi"
Do you mean the Roblox UserID or the Discord UserID?
So basiclly I mean how to insert a new “value” and give it a string name and not like 0,1 and so on.
And there i mean the Discord UserID. So how can I get it from someone in roblox?
you can insert elements to the table by:
table.insert(table,element)
to insert to the table discord UserId you should:
local element= "Tahabashar11#8668"
table.insert(table,element)
Oh my gosh. It worked. Sorry I was a bit lazy. XD . So yea. Thank you so much!
But do you know maybe how to get the Discord UserID about a script in roblox studio?
No, sorry. I only have experience with Roblox to Discord webhooks as I’m not able to use the platform.
Oh alright. But still thank you!