Basically, everything worked properly until dropper stopped dropping material. There are one error on output which is this following:
I didn’t touched the script listed on output (the script down below).
local crown = game.ReplicatedStorage:WaitForChild("Crown")
wait(2)
workspace:WaitForChild("PartStorage")
while true do
wait(script.WaitBetweenDrops.Value)
local part = crown:Clone()
part.Parent = workspace.PartStorage
local cash = Instance.new("IntValue",part)
cash.Name = "Cash"
cash.Value = script.ValueOfDrop.Value
part.CFrame = script.Parent.DropPart.CFrame - Vector3.new(0,1.4,0)
game.Debris:AddItem(part,20)
end
Check that Archivable is true, the object can only be cloned if it is true
local crown = game.ReplicatedStorage:WaitForChild("Crown")
crown.Archivable = true
task.wait(2)
workspace:WaitForChild("PartStorage")
while task.wait(script.WaitBetweenDrops.Value) do
local part = crown:Clone()
part.CFrame = script.Parent.DropPart.CFrame - Vector3.new(0,1.4,0)
local cash = Instance.new("IntValue")
cash.Name = "Cash"
cash.Value = script.ValueOfDrop.Value
cash.Parent = part
part.Parent = workspace.PartStorage
game:GetService("Debris"):AddItem(part, 20)
end
Maybe found something, it print the jamy1 (that mean the crown get cloned) but the part.Parent doesn’t want to change into workspace (jamy2 not printed)
The problem seems to be the parent, so I could just make the crown under the map (on workspace) and then cloning it and bring it, that’d work no?
Judging by the screenshot on the left it seems like the error is on line 9? Check the bottom of the script to see if there is a horizontal scrollbar. There’s a chance its some virus
There is nothing, I’ve checked, the game actually seems work so I think it’s just on studio where is not working. Thanks for trying to help by the way the game link is here: [NEW!] Robot Tycoon - Roblox