Here’s what I’ve done already:
plrst['chr'] = chr
---
for i,v in pairs(plrst['chr']) do
“chr” happening to be the player’s character.
The problem is that it keeps pushing this error out: '(table expected, got Instance) '
Here’s what I’ve done already:
plrst['chr'] = chr
---
for i,v in pairs(plrst['chr']) do
“chr” happening to be the player’s character.
The problem is that it keeps pushing this error out: '(table expected, got Instance) '
character:GetChildren()
or character:GetDescendants()
if you’re trying to iterate over it.
If you want the parts of the character and not the character itself use this:
for i,v in pairs(chr) do
I’ve found a solution and it turn out to be really easy. If you’re wondering what it is, all i had to do was: ` {}’ to “plrst[‘chr’]”. Thanks to everyone who helped.