Plugin Parenting Not Working

Hello, I am working on a plugin and whenever I try to create or clone an instance and then parent it, it won’t show up…

Here’s some example code from my plugin

local package = Instance.new('Model')
package.Name = `Game_Package_{tick()}`
package.Parent = game:GetService('Workspace')
print(package.Name, package.Parent)

The print statement successfully prints the name and ‘Workspace’ and the parent, yet this new object isn’t visible under the workspace…

Even further, I have a part that clones things and puts them in sub-folders, and they also are not visible

if not serviceFolder:FindFirstChild(item.Name) then
				
	local newItem = item:Clone()
	newItem.Parent = serviceFolder
				
end

Any ideas how I would fix this for the plugin? Is it a studio bug or did I do something wrong?

image
Example of the printing

Forgot to mention, but I’d like to point out that it worked yesterday, and now it doesn’t…
I’ve still yet to fix it and need help :pray:

After some experimenting, I have fixed it. I changed how I handle the History Service thing, didn’t know that affected the whole thing.
Hopefully someone else may find this helpful :smiley: