Here is a little snippet of code which literally worked this morning that now results in an error:
--IS -> InsertService [The variables are all set, don't worry]
function update(asset,parent)
local SCRIPT = IS:LoadAsset(asset)
local SCRIPT1 = SCRIPT:GetChildren()[1]
if parent:FindFirstChild(SCRIPT1.Name) then
parent:FindFirstChild(SCRIPT1.Name):remove()
end
SCRIPT1.Parent = parent
print("Uploaded asset: " .. asset .. " to parent of " .. parent.Name)
end
update(219069070,PO) -- PoliceScript
I am getting 403 errors: (Model not Trusted). Did ROBLOX change insertservice?
~ Brickman2010, Developer of Heist ~ |