hi, im making a one piece game but need the df spawn script someone can tell me how is it?
✓ ANSWER ACCEPTED
Devil fruit spawn script?
1 answer
✓ Accepted answer
Assuming you want random things to spawn in random places, make a model named "Spawns" and place parts where you want things to spawn then use this script:
local Spawns = workspace:WaitForChild("Spawns")
local WaitTime = 5 -- Change 5 to the time between something spawning
local PartBeingSpawned = game.ReplicatedStorage:WaitForChild("ITEM") -- Change ITEM to what's being spawned
while wait(WaitTime) do
local Part = PartBeingSpawned:Clone()
local Spawn = Spawns:GetChildren()[math.random(1,#Spawns:GetChildren())]
Part.Position = Spawn.Position
Part.Parent = workspace
end
1 comment
0
thx it worked!!
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
you could try to clone the fruits from Replicated Storage, and make them spawn at random spawns in workspace.
This is a request. You should have some code for us to work with. However if your question was like how would I make a spawn script that would be better.