It's been a while since I've done any scripting so I dont know what's going on. One of my old scripts isn't working, specifically the InsertService parts, how do I fix this?
local Wall local success, err = pcall(function() Wall = game:GetService("InsertService"):LoadAsset(2175621771) end) if success then Wall.Parent = workspace print("successfully inserted Wall") else warn("unable to insert Wall because " .. err) end wait() local wall = game.Workspace.Model.SmoothBlockModel wall.Parent = game.Workspace Wall:Destroy() wall.Transparency = 1 wall.Decal.Transparency = 1 wall.Decal1.Transparency = 1 wall.Decal2.Transparency = 1 wall.Decal3.Transparency = 1 wall.Decal4.Transparency = 1 local coin local success, err = pcall(function() coin = game:GetService("InsertService"):LoadAsset(2144222496) end) if success then coin.Parent = game.Workspace coin.Name = "Coin" coin.PrimaryPart = coin.HumanoidRootPart wait(0.1) print("successfully inserted Coin") else warn("unable to insert Coin because " .. err) end
game:GetService("InsertService"):LoadAsset(2175621771):GetChildren()[1]
(reposting as an answer)