Hello everyone. I have recently been trying to take on trying to fix all the gear in Roblox, but when I got up to the Turkey Friend, things went horribly wrong. The Turkey Friend requires that a model must be loaded from the Roblox library. However, when I join the game, I get a HTTP 409 (Conflict) error. The output says that error originates from Line 14 (shown in the below code) What is causing this?
local InsertService = game:GetService("InsertService")
local Tool = script.Parent
Tool.RequiresHandle = false
if Tool:FindFirstChild("Handle") then
Tool.Handle:Destroy()
end
if Tool:FindFirstChild("Display") then
Tool.Display:Destroy()
end
local Turkey = InsertService:LoadAsset(1159622229)
Turkey = Turkey:GetChildren()[1]:Clone()
local CurrentTurkey = nil
local Character = nil
function OnEquipped()
Character = Tool.Parent
CurrentTurkey = Turkey:Clone()
local Owner = Instance.new("ObjectValue")
Owner.Name = "Owner"
Owner.Value = Character.PrimaryPart
Owner.Parent = CurrentTurkey
CurrentTurkey.Name = Character.Name .. "'s_Turkey"
CurrentTurkey.Parent = workspace
CurrentTurkey:MakeJoints()
CurrentTurkey:MoveTo((Owner.Value.CFrame * CFrame.new(4, 0, 3)).p)
end
function OnUnequip()
if CurrentTurkey then
CurrentTurkey:Destroy()
end
CurrentTurkey = nil
Character = nil
end
Tool.Equipped:Connect(OnEquipped)
Tool.Unequipped:Connect(OnUnequip)
Many thanks in advance.

5 comments
maybe do "rbxassetid://1159622229" in some way
Okay, I'll try that.
Nope, didn't work... it must be because it doesn't take quoted strings as an input.
looks like this is from a local script?. things like this need to be server side not client then triggered through a remote function
No, this is from a server script.