Pretty interesting one that has me scratching my head.
There seems to be some sort of delay or “snag” in my view and walking when in game.
It is only happening in this one particular place, I’ve tested it other places as well. It happens in both Studio’s “test” mode and an actual play.
It isn’t my PC as I work (and play) on a custom built desktop.
I don’t believe so. I’ve got a custom dialogue system that has been there since day 1 and never done this and then a simple database script that I’ve used in other places and that should be it.
This looks like frames skipping. Open the microprofiler. You’ll likely see giant spikes corresponding to each snag. There are options somewhere to see what’s taking the most time in these snags - renderstepped, stepped, or maybe even physics? Read a guide, because I haven’t read any guides on it, either.
You could also see if the issue persists when all scripts are gone. Don’t save your place after running this code!
Put this in the command bar to destroy every script (that roblox doesn’t add) in the game:
local function destroy(v)
if v:IsA("LuaSourceContainer") then
v:Destroy()
end
end
for _,v in ipairs(game:GetDescendants()) do
pcall(destroy, v)
end
If it still snags, then disable all plugins and try again.
Ha. I inserted one of those “building sets” awhile back that essentially just has a bunch of different parts and meshes so I can quickly clone and use them instead of having to re-make the object every time and the creator has some sort of strange animation script planted in one of the objects that was causing the glitch.
Appreciate your help. Just goes to show that free models are almost never worth it, even if you think its literally just bricks and meshes lol.
They are well worth using if you know how to filter them. It will do you good to have a plugin or snippet of command bar code that will select and open every script in your selection, so you can insert something and immediately inspect all the scripts. You’re not steve minecraft, you don’t have to make everything from scratch
Yes, there’s a function in the API to set the selection, and another to open a script in the editor. You can probably even skip selecting all the scripts so it’s easier to delete everything you inserted