local ID = script.Parent.Parent.IdHolder
local InsertService = game:GetService("InsertService")
local Model = InsertService:LoadAsset(ID)
local NewModel = Model:GetChildren()[1]
NewModel.Parent = workspace
Model:Destroy()
script.Parent.Parent.Display.Text = "Sucsess"
Its in a script in a gui how to fix this script my output error is
Unable to cast Instance to int64

3 comments
What is the type of IdHolder? Try using Parent.IdHolder.Value
Id holder is a textbox
I added .text but it still wont work