thanks roblox very cool
okay after some slightly more testing something is VERY wrong. i dunno if its related to stepped or something but my character does not exist
using server authority workspace properties minus the server authority itself
thanks roblox very cool
okay after some slightly more testing something is VERY wrong. i dunno if its related to stepped or something but my character does not exist
using server authority workspace properties minus the server authority itself
okay so it turns out that it’s some stupid iterator that’s the problem. this problem also occurs for :GetChildren() and simply using a literal table.
okay its not even this something is so super wrong here it doesnt make any sense
I am having a similar issue. My model has a spinning mechanism that contains parts inside a barrel. When it exceeds a certain rpm it is supposed to weld all the objects in a table so they don’t glitch through the sides of the barrel. It works the first time, and I know the game has the parts because it’s able to print the table. When the barrel slows down the parts should unweld. When it spins up a second time it only welds some of the parts despite them all being in a table and being printed beforehand. Roblox has something internally broken with tables or iterators for sure. I don’t know what the problem is.
Hi, Could you please share a bit more of the code as well as the run context of it?
Also RunService.Stepped has been superseded by PreSimulation
Hi, Could you please share a bit more of the code as well as the run context of it?
no. there is no more code to be shared. i am iterating over a table and it does not recognize (seemingly) client-owned instances. that is the bug.
Also RunService.Stepped has been superseded by PreSimulation
literally who cares dude
You’re using pairs, that’s what’s wrong. In Luau you don’t need to use pairs or ipairs anymore when looping arrays, you can iterate them directly. ipairs is meant for arrays (index-based lists), while pairs is for dictionaries. GetChildren() and GetTagged() return arrays, so using pairs there is incorrect.
i don’t even know where to begin.
no. just… no.
Could you please file a new bug report taking into account this format: How to post a Bug Report? Thanks!