local bool = game.ReplicatedStorage.value.roun -- boolvalue
local zombw = game.Workspace["Drooling Zombie"] -- unimportant
local drool = game.ReplicatedStorage.objects["Drooling Zombie"] -- mob
local zombie = game.ReplicatedStorage.value.zombie -- zombie amount
local rounds = game.ReplicatedStorage.value.roundn -- round number
bool.Changed:Connect(function(newval) -- checking if true
if bool.Value == true then -- if value is true
zombw:Destroy() -- unimportant
rounds.Value = rounds.Value + 1 -- add value to round
local potato = zombie.Value -- just localizing zombie value
potato = rounds.Value *4 -- changing value to rounds x 4
for i = 1,potato do
local drools = drool:Clone()-- cloning desired amount of zombies
drools.Parent = game.Workspace -- zombies parent
end
end
end)
this is the code I have right now with explanations for what it is, I have been trying for a few hours on doing this. I just can't get it to work. The code works itself but anything I add to randomize the position won't. I've tried like 5 different methods. Any help would be appreciated
