local Debris = game:GetService("Debris")
debounce=false
while wait(math.random(0.7,1.5)) do
	if debounce==false then
		debounce=true
		drops = script.Parent:Clone()
		drops.Anchored=false
		drops.Size = Vector3.new(0.257, 0.78, 0.295)
		drops.Position = Vector3.new(script.Parent.Position.X-0.5+math.random(0.4,0.8),script.Parent.Position.Y,script.Parent.Position.Z-0.5+math.random(0.4,0.8)) 
		drops.Parent = workspace 
		debounce2=false
		drops.Touched:Connect(function(hit)	
				if debounce2==false then
					debounce2=true
					local x=game.ReplicatedStorage.Magma.ExplosionZX:Clone()
					x.Parent=workspace
					x.Position=Vector3.new(drops.Position.X,34.137,drops.Position.Z)
					Debris:AddItem(x, 1)
			end
		end)
		Debris:AddItem(drops, 1)
		debounce=false	
		debounce2=false
	end
end

Result: https://gyazo.com/ea65b70752f4c1c9193bb7118c5598cc

Goal: https://youtu.be/rBhr54nJeok

It's crappy, chalky, and laggy. I would love to develop for these up-coming anime games but I just don't seem to have the skills, I try really hard but it's not good enough.

1 comment

0

I don't know if this matters, but try setting the network ownership of the drops to the player that is doing the action. Put this after line 7. drops:SetNetworkOwner(player) But this means that you will have to have access to the player.