function Drop()
local drops = {"something"}
local G = math.random(1, 1)
local Obj = game.Lighting:findFirstChild(drops[G]):Clone()
Obj.Parent = game.Workspace
Obj.Handle.CFrame = script.Parent.Head.CFrame + Vector3.new(5,2,0)
script:remove()
end
while true do
wait(.1)
if (script.Parent.Enemy.Health <1) then
Drop()
end
end
I want it to drop "something" as a 15% chance when you kill it, and it respawns, and you have to keep killing it, when it clones the "something" on drop, it is a 100% chance, can you fix this so it is a 15% chance. Please help.

1 comment
wow thx