Im making a supply drop that when it gets destroyed it drops the items. It drops the items and all but I want to items to be dropped where the supply drop was. I tryed every thing with CFrame and Position but nothing seems to work. (Moving the handle). I need help please. Code
local items = game.ReplicatedStorage.Loot
local stuff = game.ReplicatedStorage.Loot:GetChildren()
local randomItem = items:GetChildren()[math.random(1, #items:GetChildren())]
for i = 1, #stuff do
if stuff[i] == randomItem then
stuff[i]:Clone().Parent = workspace
stuff[i].Handle.CFrame = script.Parent.CFrame
print("You Got "..stuff[i].Name)
end
end
script.Parent:Destroy()